JP6532604B2 - AIR CONDITIONER SYSTEM, REWRITE CONTROL METHOD, AND REWRITE CONTROL PROGRAM - Google Patents
AIR CONDITIONER SYSTEM, REWRITE CONTROL METHOD, AND REWRITE CONTROL PROGRAM Download PDFInfo
- Publication number
- JP6532604B2 JP6532604B2 JP2018517964A JP2018517964A JP6532604B2 JP 6532604 B2 JP6532604 B2 JP 6532604B2 JP 2018517964 A JP2018517964 A JP 2018517964A JP 2018517964 A JP2018517964 A JP 2018517964A JP 6532604 B2 JP6532604 B2 JP 6532604B2
- Authority
- JP
- Japan
- Prior art keywords
- air conditioner
- control program
- unit
- program
- control
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/89—Arrangement or mounting of control or safety devices
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Air Conditioning Control Device (AREA)
- Stored Programmes (AREA)
Description
本発明は、空気調和機の制御プログラムを書き換え可能な空気調和機システム、書き換え制御方法及び書き換え制御プログラムに関する。 The present invention relates to an air conditioner system capable of rewriting a control program of an air conditioner, a rewriting control method, and a rewriting control program.
特許文献1には、空気調和機と通信可能な制御装置であって、記憶部に空気調和機のための更新用の制御プログラムを格納し、ネットワークを介した書き換え指示によって、空気調和機に更新用の制御プログラムを送信し、空気調和機の制御プログラムの書き換えを行わせる制御装置が開示されている。
しかしながら、上記従来の技術によれば、制御装置が空気調和機の制御プログラムの書き換えが正常に完了したことを判断することができなかった。そのため、制御装置は記憶部に格納された空気調和機のための更新用の制御プログラムをどのタイミングで削除すればよいのか判断できず、更新用の制御プログラムを記憶部に保持しておくことになり、記憶部の記憶領域を有効に活用することができないという問題があった。 However, according to the above-mentioned prior art, it was not possible for the control device to judge that rewriting of the control program of the air conditioner was completed normally. Therefore, the control device can not determine at which timing the control program for updating the air conditioner stored in the storage unit should be deleted, and holds the control program for updating in the storage unit. And there is a problem that the storage area of the storage unit can not be used effectively.
本発明は、上記に鑑みてなされたものであって、制御装置の記憶部の記憶領域を有効に活用することができる空気調和機システムを得ることを目的とする。 This invention is made in view of the above, Comprising: It aims at obtaining the air conditioner system which can utilize the storage area of the memory | storage part of a control apparatus effectively.
上述した課題を解決し、目的を達成するために、本発明に係る空気調和機システムは、空気調和機と、空気調和機と通信可能な制御装置とを備える。空気調和機は、制御装置から空気調和機のための更新用の制御プログラムを受信すると、空気調和機が用いる制御プログラムを、更新用の制御プログラムに書き換える書換部と、書換部による更新用の制御プログラムへの書き換えが完了すると、制御装置に完了通知を送信する通知送信部とを備える。制御装置は、更新用の制御プログラムが格納される記憶部と、更新用の制御プログラムを一定のバイト数分、受信するプログラム受信部と、記憶部に一定のバイト数分の更新用の制御プログラムを格納させる格納制御部と、一定のバイト数分の更新用の制御プログラムを空気調和機に送信するプログラム送信部と、空気調和機から、完了通知を受信すると、更新用の制御プログラムを記憶部から削除する削除部とを備える。 In order to solve the problems described above and to achieve the object, an air conditioner system according to the present invention includes an air conditioner and a control device capable of communicating with the air conditioner. When the air conditioner receives a control program for updating the air conditioner from the control device, the air conditioner uses a rewriting unit that rewrites the control program used by the air conditioner into a control program for updating, and control for updating by the rewriting unit. And a notification transmitting unit that transmits a completion notification to the control device when the rewriting to the program is completed. The control device includes a storage unit in which a control program for updating is stored , a program receiving unit for receiving a control program for updating by a fixed number of bytes, and a control program for updating a fixed number of bytes in the storage unit. Storage control unit for storing the program, a program transmission unit for transmitting a control program for updating a certain number of bytes to the air conditioner , and a storage unit for the control program for updating when the completion notification is received from the air conditioner And a deletion unit to delete from.
本発明に係る空気調和機システムは、制御装置の記憶部の記憶領域を有効に活用することができるという効果を奏する。 ADVANTAGE OF THE INVENTION The air conditioner system which concerns on this invention has an effect that the storage area of the memory | storage part of a control apparatus can be used effectively.
以下に、本発明の実施の形態に係る空気調和機システムを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, an air conditioner system according to an embodiment of the present invention will be described in detail based on the drawings. The present invention is not limited by the embodiment.
実施の形態1.
まず、本発明の実施の形態1に係る空気調和機システムについて説明する。図1は、本発明の実施の形態1に係る空気調和機システムの一例を示す概略図である。
First, an air conditioner system according to
図1において、空気調和機システム100は、空気調和機1と、空気調和機1と通信線6によって接続された無線アダプタ2とを備える。図1では、空気調和機1の空調制御に関する構成、例えば圧縮機、インバータの図示は省略されている。空気調和機1と無線アダプタ2とは無線によって通信可能とされていてもよい。この場合、無線アダプタ2は、後述する更新用の制御プログラムとともに、当該更新用の制御プログラムの宛先を特定する情報、すなわち後述する空気調和機1の室内機10又は室外機20のいずれかを特定する情報を送信するようにする。無線アダプタ2は、ネットワーク3と無線により接続され、ネットワーク3を介して携帯端末4及びサーバ5へ接続される。ネットワーク3はインターネットであるが、これに限定されない。サーバ5には、空気調和機1のための更新用の制御プログラムが格納されている。ここで、空気調和機1のための更新用の制御プログラムとは、空気調和機1の制御プログラムの新しいバージョンの制御プログラムを意味する。また、制御プログラムの更新とは、古いバージョンの制御プログラムを新しいバージョンの制御プログラムに書き換えることを意味する。無線アダプタ2は、実施の形態1に係る制御装置の一例である。
In FIG. 1, an
次に、本発明の実施の形態1に係る空気調和機システムにおける空気調和機及び無線アダプタの機能構成について説明する。図2は、本発明の実施の形態1に係る空気調和機システムにおける空気調和機及び無線アダプタの機能構成の一例を示すブロック図である。
Next, functional configurations of the air conditioner and the wireless adapter in the air conditioner system according to
図2において、空気調和機1は、室内に設置される室内機10と、室外に設置される室外機20とを備える。
In FIG. 2, the
室内機10は、室内機10の全体の動作を制御する制御部101と、無線アダプタ2と接続することによって無線アダプタ2と通信を行う通信部102と、室外機20と接続することによって室外機20と通信を行う通信部103とを備える。
The
制御部101は、無線アダプタ2から送信された空気調和機1のための更新用の制御プログラムを受信するプログラム受信部104と、空気調和機1が用いる制御プログラムを、プログラム受信部104が受信した更新用の制御プログラムに書き換える書換部105と、書換部105による更新用の制御プログラムへの書き換えが正常に完了し、空気調和機1のリセット処理が行われて、空気調和機1の運転が正常に再開した際に、空気調和機1のリセットが完了した旨の更新完了通知を通信部102を介して無線アダプタ2に送信する通知送信部106とを備える。通知送信部106による制御プログラムの書き換えが正常に完了したか否かの判断は、例えば制御プログラムの書き換えを開始してからエラーが発生することなく全ての制御プログラムの書き換えが終了したか否かによって行う。空気調和機1のリセット処理は、空気調和機1の再起動といった空気調和機1の運転を再開させるために必要な処理のことである。通知送信部106による空気調和機1の運転が正常に再開したか否かの判断は、例えば空気調和機1の運転が再開してから一定時間経過後においてもエラーが発生することなく運転が行われているか否かによって行う。
The
図2では、室内機10と無線アダプタ2との接続例を示しているが、室外機20と無線アダプタ2とは室外機20の通信部112が無線アダプタ2の通信部121と接続することによって相互に通信可能である。室外機20は、室外機20の全体の動作を制御する制御部111と、無線アダプタ2と接続する場合には無線アダプタ2と通信を行う通信部112と、室内機10と接続することによって室内機10と通信を行う通信部113とを備える。制御部111は、制御部101と同様に、プログラム受信部114、書換部115及び通知送信部116を備える。プログラム受信部114はプログラム受信部104と同様の機能を有し、書換部115は書換部105と同様の機能を有し、通知送信部116は通知送信部106と同様の機能を有するため、これらの説明は省略する。
Although FIG. 2 shows an example of connection between the
無線アダプタ2は、空気調和機1と接続することによって空気調和機1と通信を行う通信部121と、無線アダプタ2の全体の動作を制御する制御部122と、ネットワーク3と無線により接続することによってネットワーク3に接続された携帯端末4、及び空気調和機1のための更新用の制御プログラムが格納されたサーバ5と無線通信を行う通信部123と、ネットワーク3を介してサーバ5から通信部123が受信した空気調和機1のための更新用の制御プログラムが格納される記憶部124とを備える。
The
制御部122は、記憶部124に格納された空気調和機1のための更新用の制御プログラムを空気調和機1に送信するプログラム送信部125と、空気調和機1から送信された更新完了通知を受信する通知受信部126と、通知受信部126が更新完了通知を受信した際に、記憶部124に格納された空気調和機1のための更新用の制御プログラムを記憶部124から削除する削除部127とを備える。
The
また、携帯端末4が、運転/停止モード、温度決定、風量、及び風向の設定といった空気調和機1の操作のための情報である操作情報の入力を受け付けると、携帯端末4は、受け付けた操作情報を無線アダプタ2に送信する。無線アダプタ2は、受信した操作情報を空気調和機1に送信する。このようにして、携帯端末4に入力された操作情報に基づく空気調和機1の設定が行われる。
In addition, when the portable terminal 4 receives an input of operation information that is information for operating the
次に、室内機10、室外機20及び無線アダプタ2のハードウェア構成について説明する。図3は、本発明の実施の形態1の室内機10、室外機20及び無線アダプタ2の制御回路200,300,400を示す図である。室内機10は、通信部102の一部、通信部103の一部及び制御部101を実現するハードウェアである制御回路200を備える。室外機20は、通信部112の一部、通信部113の一部及び制御部111を実現するハードウェアである制御回路300を備える。無線アダプタ2は、通信部121の一部、通信部123の一部、制御部122及び記憶部124を実現するハードウェアである制御回路400を備える。
Next, the hardware configuration of the
制御回路200は、制御回路200の外部からの情報が入力される入力回路及び情報を制御回路200の外部へ出力する出力回路を含む入出力インターフェース回路201と、プロセッサ202と、メモリ203とを備える。入出力インターフェース回路201は、外部から受信した情報をメモリ203に送る。メモリ203は、入出力インターフェース回路201から受け取った情報を記憶する。また、メモリ203にはコンピュータプログラムが記憶されている。プロセッサ202は、メモリ203に記憶されているコンピュータプログラムを読み出し、メモリ203に記憶されている情報に基づいて演算処理を行う。プロセッサ202による演算結果を示す演算結果情報は、メモリ203に送られる。入出力インターフェース回路201は、メモリ203に記憶されている情報を外部に送る。制御回路300,400は制御回路200と同様であるため、これらの説明は省略する。 The control circuit 200 includes an input / output interface circuit 201 including an input circuit to which information from the outside of the control circuit 200 is input and an output circuit for outputting information to the outside of the control circuit 200, a processor 202, and a memory 203. . The input / output interface circuit 201 sends information received from the outside to the memory 203. The memory 203 stores the information received from the input / output interface circuit 201. The memory 203 also stores a computer program. The processor 202 reads a computer program stored in the memory 203 and performs arithmetic processing based on the information stored in the memory 203. Operation result information indicating the operation result of the processor 202 is sent to the memory 203. The input / output interface circuit 201 sends the information stored in the memory 203 to the outside. The control circuits 300 and 400 are similar to the control circuit 200, and thus the description thereof is omitted.
室内機10の入出力インターフェース回路201は、通信部102及び通信部103を含む。室内機10のプロセッサ202は、制御部101を含む。室内機10のメモリ203は、記憶部を含む。
The input / output interface circuit 201 of the
室外機20の入出力インターフェース回路301は、通信部112及び通信部113を含む。室外機20のプロセッサ302は、制御部111を含む。室外機20のメモリ303は、記憶部を含む。
The input / output interface circuit 301 of the
無線アダプタ2の入出力インターフェース回路401は、通信部121及び通信部123を含む。無線アダプタ2のプロセッサ402は、制御部122を含む。無線アダプタ2のメモリ403は、記憶部124を含む。
The input / output interface circuit 401 of the
次に、図2における空気調和機システム100が実行する制御プログラムの書き換え処理について説明する。図4は、図2における空気調和機1の室内機10が実行する制御プログラムの書き換え処理のフローチャートである。
Next, the process of rewriting the control program executed by the
図4において、まず、室内機10の制御部101は、通信部102を介して無線アダプタ2から空気調和機1のための更新用の制御プログラム(更新プログラム)が有る旨の情報を受信すると(ステップS101)、空気調和機1の制御プログラムの書き換えの準備ができているときは、通信部102を介して書き換えの準備ができている旨の情報を無線アダプタ2に送信する(ステップS102)。制御部101は、空気調和機1の制御プログラムの書き換えの準備ができていないときは、無線アダプタ2に対して何らの応答もしない。
In FIG. 4, first, when the
次いで、プログラム受信部104が、無線アダプタ2から送信された空気調和機1のための更新用の制御プログラムを通信部102を介して受信すると(ステップS103)、制御部101は、空気調和機1のための更新用の制御プログラムの全ての受信が完了したか否かを判別する(ステップS104)。空気調和機1のための更新用の制御プログラムの全ての受信が完了していないときは(ステップS104でNo)、ステップS104の処理に戻る。空気調和機1のための更新用の制御プログラムの全ての受信が完了したときは(ステップS104でYes)、制御部101は、空気調和機1のための更新用の制御プログラムの全ての受信が完了した旨の情報を通信部102を介して無線アダプタ2に送信する(ステップS105)。
Next, when the program reception unit 104 receives the control program for updating for the
次いで、書換部105は、空気調和機1が用いる制御プログラムを、受信した更新用の制御プログラムに書き換える(ステップS106)。そして、制御部101は、制御プログラムの書き換えが正常に完了したときは、空気調和機1のリセット処理を行う(ステップS107)。ここで、制御部101は、制御プログラムの書き換えが正常に完了しないときは、空気調和機1のリセット処理は行わない。
Next, the rewrite unit 105 rewrites the control program used by the
次いで、通知送信部106は、制御プログラムの書き換えが正常に完了し、空気調和機1のリセット処理が行われて、空気調和機1の運転が正常に再開した際に、空気調和機1のリセットが完了した旨の更新完了通知を通信部102を介して無線アダプタ2に送信する(ステップS108)。そして、本処理を終了する。
Next, the notification transmission unit 106 resets the
図5は、図2における無線アダプタ2が実行する制御プログラムの書き換え処理のフローチャートである。無線アダプタ2の記憶部124としてのメモリ403は不揮発性メモリであり、記憶部124にはサーバ5からネットワーク3を介して通信部123が受信した空気調和機1のための更新用の制御プログラムの全てが既に格納されているものとする。
FIG. 5 is a flowchart of the process of rewriting the control program executed by the
図5において、まず、無線アダプタ2において、空気調和機1の保守者によるネットワーク3を介した空気調和機1の制御プログラムの書き換え指示が通信部123に入力されると、制御部122は、通信部121を介して空気調和機1に対して更新用の制御プログラムが有る旨の情報を送信する(ステップS201)。
In FIG. 5, first, in the
次いで、無線アダプタ2において、空気調和機1からの更新用の制御プログラムの書き換えの準備ができている旨の情報を通信部121が受信すると(ステップS202)、プログラム送信部125は、通信部121を介して記憶部124に格納されている空気調和機1のための更新用の制御プログラムを空気調和機1に対して送信する(ステップS203)。
Next, when the communication unit 121 receives information from the
次いで、無線アダプタ2において、空気調和機1に対しての更新用の制御プログラムの全ての送信が完了した後に(ステップS204)、空気調和機1からの更新用の制御プログラムの全ての受信が完了した旨の情報を通信部121が受信すると(ステップS205)、制御部122は、空気調和機1のリセットが完了した旨の更新完了通知を通知受信部126が受信したか否かを判別する(ステップS206)。
Then, after all transmission of the control program for updating to the
ステップS206での判別の結果、空気調和機1のリセットが完了した旨の更新完了通知を通知受信部126が受信していないときは(ステップS206でNo)、制御部122は、空気調和機1のリセットが完了した旨の更新完了通知を受信できなかった状態でのタイマのカウントアップの回数がN回未満であるか否かを判別する(ステップS207)。具体的には、制御部122は、ステップS205での空気調和機1からの更新用の制御プログラムの全ての受信が完了した旨の情報を受信してからタイマを稼働させ、ある一定時間経過後からのタイマのカウントアップの回数がN回未満であるか否かを判別する。
As a result of the determination in step S206, when the notification reception unit 126 has not received the update completion notification that the reset of the
ステップS207での判別の結果、タイマのカウントアップの回数がN回未満であるときは(ステップS207でYes)、ステップS206の処理に戻る。 If it is determined in step S207 that the timer count-up count is less than N (Yes in step S207), the process returns to step S206.
ステップS207での判別の結果、タイマのカウントアップの回数がN回未満でない、すなわちN回以上であるときは(ステップS207でNo)、制御部122は、空気調和機1が制御プログラムを何らかの原因で正常に更新できなかったと判断し、再度、空気調和機1のための更新用の制御プログラムの送信を行うために、ステップS201の処理に戻る。
If it is determined in step S207 that the timer count-up count is not less than N, that is, N or more (No in step S207), the
ステップS206での判別の結果、空気調和機1のリセットが完了した旨の更新完了通知を通知受信部126が受信したときは(ステップS206でYes)、削除部127は、記憶部124に格納されている空気調和機1のための更新用の制御プログラムを記憶部124から削除する(ステップS208)。そして、本処理を終了する。
As a result of the determination in step S206, when the notification reception unit 126 receives an update completion notification that the reset of the
実施の形態1における図4及び図5の制御プログラムの書き換え処理によれば、無線アダプタ2の通知受信部126が空気調和機1のリセットが完了した旨の更新完了通知を受信したときに、無線アダプタ2の削除部127が記憶部124に格納されている空気調和機1のための更新用の制御プログラムを記憶部124から削除する。これにより、不要となった空気調和機1のための更新用の制御プログラムを記憶部124から削除することができるため、記憶部124の記憶領域を有効に活用することができるようになる。また、無線アダプタ2が空気調和機1の制御プログラムの更新が正常に完了したことを判断した上で、無線アダプタ2の記憶部124に格納されている更新用の制御プログラムを削除しているため、空気調和機1が制御プログラムを何らかの原因で正常に更新できなかった場合に、無線アダプタ2の記憶部124から更新用の制御プログラムが削除されてしまうことを防止することができる。その結果、無線アダプタ2が更新用の制御プログラムを再度受信する必要性をなくすことができる。さらに、無線アダプタ2の制御部122は空気調和機1が制御プログラムを何らかの原因で正常に更新できなかったと判断したときは、再度、空気調和機1に対して更新用の制御プログラムの送信を行うため、空気調和機1の制御プログラムの書き換えを確実に行わせることができる。室外機20が実行する制御プログラムの書き換え処理は、室外機10が実行する制御プログラムの書き換え処理と同様であるため、説明を省略する。
According to the rewriting process of the control program of FIG. 4 and FIG. 5 in the first embodiment, when the notification receiving unit 126 of the
実施の形態2.
次に、本発明の実施の形態2に係る空気調和機システムについて説明する。図6は、本発明の実施の形態2に係る空気調和機システムにおける空気調和機及び無線アダプタの機能構成の一例を示すブロック図である。本発明の実施の形態2に係る空気調和機システムにおける空気調和機及び無線アダプタは、無線アダプタ2の制御部122が、プログラム受信部128及び格納制御部129を備えている点が、上述した実施の形態1と異なるのみであるので、重複した構成、作用については説明を省略し、以下に異なる構成、作用についての説明を行う。Second Embodiment
Next, an air conditioner system according to
図6において、空気調和機システム100Aにおける無線アダプタ2の制御部122は、ネットワーク3を介してサーバ5から空気調和機1のための更新用の制御プログラムのX(Xは1以上の整数)バイト(byte)数分、受信するプログラム受信部128と、記憶部124に空気調和機1のための更新用の制御プログラムをXバイト数分、格納させる格納制御部129とを備える。プログラム受信部128は、空気調和機1のための更新用の制御プログラムを一定のバイト数分(Xバイト数分)、受信してもよく、受信するバイト数を変更可能としてもよい。例えば、受信するバイト数を徐々に増やしてもよいし、徐々に減らしてもよい。格納制御部129は、空気調和機1のための更新用の制御プログラムを一定のバイト数分(Xバイト数分)、格納させてもよく、格納させるバイト数を変更可能としてもよい。例えば、格納させるバイト数を徐々に増やしてもよいし、徐々に減らしてもよい。無線アダプタ2のプログラム送信部125は、記憶部124に格納されたXバイト数分の空気調和機1のための更新用の制御プログラムを通信部121を介して空気調和機1に送信する。
In FIG. 6, the
次に、図6における空気調和機システム100Aが実行する制御プログラムの書き換え処理について説明する。空気調和機システム100Aにおける空気調和機1の室内機10が実行する制御プログラムの書き換え処理については、上述した図4の処理と同様であるため、説明を省略する。
Next, the process of rewriting the control program executed by the
図7は、図6における無線アダプタ2が実行する制御プログラムの書き換え処理のフローチャートである。本処理では、無線アダプタ2の記憶部124には、空気調和機1のための更新用の制御プログラムは未だ格納されていないものとする。
FIG. 7 is a flowchart of control program rewriting processing executed by the
図7において、まず、無線アダプタ2において、空気調和機1の保守者によるネットワーク3を介した空気調和機1の制御プログラムの書き換え指示が通信部123に入力されると、プログラム受信部128は、ネットワーク3を介してサーバ5から空気調和機1のための更新用の制御プログラムのXバイトを通信部123を介して受信し、格納制御部129は、受信した制御プログラムを記憶部124に格納させる(ステップS301)。
In FIG. 7, first, in the
次いで、無線アダプタ2において、制御部122は、通信部121を介して空気調和機1に対して更新用の制御プログラムが有る旨の情報を送信する(ステップS302)。
Next, in the
次いで、無線アダプタ2において、空気調和機1からの更新用の制御プログラムの書き換えの準備ができている旨の情報を通信部121が受信すると(ステップS303)、プログラム送信部125は、通信部121を介して記憶部124に格納されているXバイト数分の、空気調和機1のための更新用の制御プログラムを空気調和機1に対して送信する(ステップS304)。
Next, when the communication unit 121 receives, in the
次いで、無線アダプタ2において、プログラム受信部128は、ネットワーク3を介してサーバ5から空気調和機1のための更新用の制御プログラムの残りをXバイト数分、通信部123を介して受信し、制御部122は、空気調和機1のための更新用の制御プログラムの全ての受信が完了したか否かを判別する(ステップS305)。
Next, in the
ステップS305での判別の結果、空気調和機1のための更新用の制御プログラムの全ての受信が完了していないときは(ステップS305でNo)、格納制御部129は、受信したXバイト数分の制御プログラムを記憶部124に格納させる(ステップS306)。
As a result of the determination in step S305, when all the reception of the update control program for the
次いで、プログラム送信部125は、通信部121を介して記憶部124に格納されているXバイト数分の、空気調和機1のための更新用の制御プログラムを空気調和機1に対して送信して(ステップS307)、ステップS305の処理へ戻る。
Next, the program transmission unit 125 transmits, to the
ステップS305での判別の結果、空気調和機1のための更新用の制御プログラムの全ての受信が完了しているときは(ステップS305でYes)、格納制御部129は、受信した制御プログラムの残りを記憶部124に格納させる(ステップS308)。ステップS308で格納させる制御プログラムの残りは、Xバイト以下となる。
As a result of the determination in step S305, when all reception of the control program for updating for the
次いで、プログラム送信部125は、通信部121を介して記憶部124に格納されている残りの空気調和機1のための更新用の制御プログラムを空気調和機1に対して送信する(ステップS309)。
Next, the program transmission unit 125 transmits the control program for updating the remaining
次いで、無線アダプタ2において、空気調和機1に対しての更新用の制御プログラムの全ての送信が完了した後に(ステップS310)、空気調和機1からの更新用の制御プログラムの全ての受信が完了した旨の情報を通信部121が受信すると(ステップS311)、制御部122は、空気調和機1のリセットが完了した旨の更新完了通知を通知受信部126が受信したか否かを判別する(ステップS312)。
Next, after all transmission of the control program for updating to the
ステップS312での判別の結果、空気調和機1のリセットが完了した旨の更新完了通知を通知受信部126が受信していないときは(ステップS312でNo)、制御部122は、空気調和機1のリセットが完了した旨の更新完了通知を受信できなかった状態でのタイマのカウントアップの回数がN回未満であるか否かを判別する(ステップS313)。
As a result of the determination in step S312, when the notification receiving unit 126 has not received the update completion notification that the reset of the
ステップS313での判別の結果、タイマのカウントアップの回数がN回未満であるときは(ステップS313でYes)、ステップS312の処理に戻る。 If it is determined in step S313 that the timer count-up count is less than N (Yes in step S313), the process returns to step S312.
ステップS313での判別の結果、タイマのカウントアップの回数がN回未満でない、すなわちN回以上であるときは(ステップS313でNo)、制御部122は、空気調和機1が制御プログラムを何らかの原因で正常に更新できなかったと判断し、再度、空気調和機1のための更新用の制御プログラムの送信を行うために、上述した図5の制御プログラムの書き換え処理と同様の処理を行う。
As a result of the determination in step S313, when the count-up number of the timer is not less than N times, that is, N times or more (No in step S313), the
ステップS312での判別の結果、空気調和機1のリセットが完了した旨の更新完了通知を通知受信部126が受信したときは(ステップS312でYes)、削除部127は、記憶部124に格納されている空気調和機1のための更新用の制御プログラムを記憶部124から削除する(ステップS314)。そして、本処理を終了する。
As a result of the determination in step S312, when the notification reception unit 126 receives an update completion notification that the reset of the
実施の形態2における図7の制御プログラムの書き換え処理によれば、上述した実施の形態1における図4及び図5の制御プログラムの書き換え処理と同様の効果を奏することができる。さらに、実施の形態2における図7の制御プログラムの書き換え処理によれば、空気調和機1のための更新用の制御プログラムをXバイト数分、記憶部124に格納し、当該記憶部124に格納されたXバイト数分の更新用の制御プログラムを空気調和機1に送信しているため、更新用の制御プログラムの全てを無線アダプタ2の記憶部124に格納してからその全てを空気調和機1に送信する場合と比較して、高速且つ確実に更新用の制御プログラムの受信及び送信を行うことができるようになる。
According to the rewriting process of the control program of FIG. 7 in the second embodiment, the same effect as the rewriting process of the control program of FIGS. 4 and 5 in the first embodiment can be obtained. Furthermore, according to the control program rewriting process of FIG. 7 in the second embodiment, the control program for updating for the
空気調和機システムの機能は、上述した各実施の形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システム又は装置に供給し、そのシステム又は装置のコンピュータ(またはCPU(Central Processing Unit)及びMPU(Micro Processing Unit))が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。 A function of the air conditioner system supplies a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and a computer (or CPU (Central Processing Unit) of the system or apparatus). And MPU (Micro Processing Unit) can also be achieved by reading and executing the program code stored in the storage medium.
この場合、記憶媒体から読み出されたプログラムコード自体が上述した各実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium implements the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention. .
また、プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM(Read Only Memory)、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW等の光ディスク、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。または、プログラムコードを、ネットワークを介してダウンロードしてもよい。 Further, as a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, a CD-ROM (Read Only Memory), a CD-R, a CD-RW, a DVD-ROM, An optical disk such as a DVD-RAM, a DVD-RW, a DVD + RW, a magnetic tape, a non-volatile memory card, a ROM, or the like can be used. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードを実行することにより、上述した各実施の形態の機能が実現されるだけではなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって上述した各実施の形態の機能が実現される場合も含まれる。 Moreover, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) operating on the computer based on an instruction of the program code. And the like perform part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その拡張機能を拡張ボードや拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって上述した各実施の形態の機能が実現される場合も含まれる。 Furthermore, after the program code read out from the storage medium is written to a memory provided to a function expansion board inserted into the computer or a function expansion unit connected to the computer, the expansion function is based on the instruction of the program code. Also included is the case where the CPU or the like provided in the expansion board or the expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略及び変更することも可能である。 The configuration shown in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and one of the configurations is possible within the scope of the present invention. It is also possible to omit and change parts.
1 空気調和機、2 無線アダプタ、3 ネットワーク、4 携帯端末、5 サーバ、10 室内機、20 室外機、100,100A 空気調和機システム、101,111,122 制御部、102,103,112,113,121,123 通信部、104,114,128 プログラム受信部、105,115 書換部、106,116 通知送信部、124 記憶部、125 プログラム送信部、126 通知受信部、127 削除部、129 格納制御部。 1 Air Conditioner, 2 Wireless Adapter, 3 Network, 4 Portable Terminal, 5 Server, 10 Indoor Unit, 20 Outdoor Unit, 100, 100A Air Conditioner System, 101, 111, 122 Control Unit, 102, 103, 112, 113 , 121, 123 communication unit, 104, 114, 128 program reception unit, 105, 115 rewrite unit, 106, 116 notification transmission unit, 124 storage unit, 125 program transmission unit, 126 notification reception unit, 127 deletion unit, 129 storage control Department.
Claims (3)
前記空気調和機は、
前記制御装置から前記空気調和機のための更新用の制御プログラムを受信すると、前記空気調和機が用いる制御プログラムを、前記更新用の制御プログラムに書き換える書換部と、
前記書換部による前記更新用の制御プログラムへの書き換えが完了すると、前記制御装置に完了通知を送信する通知送信部とを備え、
前記制御装置は、
前記更新用の制御プログラムが格納される記憶部と、
前記更新用の制御プログラムを一定のバイト数分、受信するプログラム受信部と、
前記記憶部に前記一定のバイト数分の前記更新用の制御プログラムを格納させる格納制御部と、
前記一定のバイト数分の前記更新用の制御プログラムを前記空気調和機に送信するプログラム送信部と、
前記空気調和機から、前記完了通知を受信すると、前記更新用の制御プログラムを前記記憶部から削除する削除部と、
を備えることを特徴とする空気調和機システム。 An air conditioner system comprising: an air conditioner; and a control device capable of communicating with the air conditioner.
The air conditioner is
A rewrite unit that rewrites the control program used by the air conditioner into the control program for update when receiving a control program for update for the air conditioner from the control device;
And a notification transmitting unit that transmits a completion notification to the control device when the rewriting to the control program for update by the rewriting unit is completed,
The controller is
A storage unit in which the control program for updating is stored;
A program receiving unit that receives the control program for updating by a fixed number of bytes;
A storage control unit for storing the control program for the update for the fixed number of bytes in the storage unit;
A program transmission unit for transmitting the control program for the update for the fixed number of bytes to the air conditioner;
A deletion unit that deletes the control program for updating from the storage unit when the completion notification is received from the air conditioner;
An air conditioner system comprising:
前記制御装置が、前記空気調和機のための更新用の制御プログラムを一定のバイト数分、受信する第1のプログラム受信ステップと、
前記制御装置が、前記制御装置の記憶部に前記一定のバイト数分の前記更新用の制御プログラムを格納する格納ステップと、
前記制御装置が、前記記憶部に格納された前記一定のバイト数分の前記更新用の制御プログラムを前記空気調和機に送信するプログラム送信ステップと、
前記空気調和機が、前記一定のバイト数分の前記更新用の制御プログラムを受信する第2のプログラム受信ステップと、
前記空気調和機が、前記空気調和機が用いる制御プログラムを前記更新用の制御プログラムに書き換える書換ステップと、
前記空気調和機が、前記書換ステップが完了すると、前記制御装置に完了通知を送信する通知送信ステップと、
前記制御装置が、前記完了通知を受信する通知受信ステップと、
前記制御装置が、前記完了通知を受信すると、前記更新用の制御プログラムを前記記憶部から削除する削除ステップとを含む、
ことを特徴とする書き換え制御方法。 In an air conditioner system comprising an air conditioner and a control device capable of communicating with the air conditioner, a control method of rewriting the control program of the air conditioner,
A first program receiving step in which the control device receives an update control program for the air conditioner by a fixed number of bytes;
A storage step in which the control device stores the control program for the update for the fixed number of bytes in a storage unit of the control device;
A program transmitting step of transmitting the control program for updating the predetermined number of bytes stored in the storage unit to the air conditioner;
A second program receiving step in which the air conditioner receives the control program for the update for the fixed number of bytes;
A rewriting step in which the air conditioner rewrites a control program used by the air conditioner into the control program for updating;
A notification transmitting step of transmitting a completion notification to the control device when the air conditioner completes the rewriting step;
A notification receiving step of the control device receiving the completion notification;
And a deletion step of deleting the control program for update from the storage unit when the control device receives the completion notification.
A rewrite control method characterized in that.
前記制御装置が、前記空気調和機のための更新用の制御プログラムを一定のバイト数分、受信する第1のプログラム受信ステップと、
前記制御装置が、前記制御装置の記憶部に前記一定のバイト数分の前記更新用の制御プログラムを格納する格納ステップと、
前記制御装置が、前記記憶部に格納された前記一定のバイト数分の前記更新用の制御プログラムを前記空気調和機に送信するプログラム送信ステップと、
前記空気調和機が、前記一定のバイト数分の前記更新用の制御プログラムを受信する第2のプログラム受信ステップと、
前記空気調和機が、前記空気調和機が用いる制御プログラムを前記更新用の制御プログラムに書き換える書換ステップと、
前記空気調和機が、前記書換ステップが完了すると、前記制御装置に完了通知を送信する通知送信ステップと、
前記制御装置が、前記完了通知を受信する通知受信ステップと、
前記制御装置が、前記完了通知を受信すると、前記更新用の制御プログラムを前記記憶部から削除する削除ステップと、
をコンピュータに実行させることを特徴とする書き換え制御プログラム。 An air conditioner system comprising: an air conditioner; and a control device capable of communicating with the air conditioner.
A first program receiving step in which the control device receives an update control program for the air conditioner by a fixed number of bytes;
A storage step in which the control device stores the control program for the update for the fixed number of bytes in a storage unit of the control device;
A program transmitting step of transmitting the control program for updating the predetermined number of bytes stored in the storage unit to the air conditioner;
A second program receiving step in which the air conditioner receives the control program for the update for the fixed number of bytes;
A rewriting step in which the air conditioner rewrites a control program used by the air conditioner into the control program for updating;
A notification transmitting step of transmitting a completion notification to the control device when the air conditioner completes the rewriting step;
A notification receiving step of the control device receiving the completion notification;
A deletion step of deleting the control program for update from the storage unit when the control device receives the completion notification;
A rewriting control program characterized by causing a computer to execute.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2016/064589 WO2017199331A1 (en) | 2016-05-17 | 2016-05-17 | Air conditioner system, overwrite control method, and overwrite control program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2017199331A1 JPWO2017199331A1 (en) | 2018-09-13 |
| JP6532604B2 true JP6532604B2 (en) | 2019-06-19 |
Family
ID=60324975
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018517964A Active JP6532604B2 (en) | 2016-05-17 | 2016-05-17 | AIR CONDITIONER SYSTEM, REWRITE CONTROL METHOD, AND REWRITE CONTROL PROGRAM |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6532604B2 (en) |
| WO (1) | WO2017199331A1 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019096097A (en) * | 2017-11-24 | 2019-06-20 | クラリオン株式会社 | Server device, on-vehicle machine, and data communication method |
| JP7095359B2 (en) * | 2018-03-29 | 2022-07-05 | 株式会社富士通ゼネラル | Air conditioning system |
| JP6699764B1 (en) * | 2019-01-16 | 2020-05-27 | 株式会社富士通ゼネラル | Air conditioning system |
| JP7243217B2 (en) * | 2019-01-25 | 2023-03-22 | 株式会社富士通ゼネラル | Air conditioners and air conditioning systems |
| JP2021005274A (en) * | 2019-06-27 | 2021-01-14 | 日置電機株式会社 | Wireless communication equipment for measuring instrument, measuring instrument, measuring system, and program for measuring system |
| CN113932383A (en) * | 2020-07-13 | 2022-01-14 | 海信(山东)空调有限公司 | Air conditioner and upgrading method |
| CN111998510B (en) * | 2020-08-28 | 2022-02-18 | 海信(山东)空调有限公司 | Air conditioner and control method thereof |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3895029B2 (en) * | 1998-01-06 | 2007-03-22 | 三菱電機株式会社 | Air conditioner control program rewriting device |
| JP3567216B2 (en) * | 1999-07-29 | 2004-09-22 | 株式会社日立製作所 | Air conditioner remote monitoring system |
| JP4815782B2 (en) * | 2004-10-22 | 2011-11-16 | ソニー株式会社 | Program update method, information processing apparatus, and program |
| KR20080072400A (en) * | 2007-02-02 | 2008-08-06 | 삼성전자주식회사 | Air conditioner system and program update method |
| JP2008281231A (en) * | 2007-05-08 | 2008-11-20 | Sharp Corp | Electric equipment, air conditioner, outdoor unit and indoor unit |
| JP2009133549A (en) * | 2007-11-30 | 2009-06-18 | Hitachi Appliances Inc | Communication adapter for air conditioner and control program update system for air conditioner |
| JP5527146B2 (en) * | 2010-09-30 | 2014-06-18 | ブラザー工業株式会社 | Terminal device and program |
-
2016
- 2016-05-17 WO PCT/JP2016/064589 patent/WO2017199331A1/en not_active Ceased
- 2016-05-17 JP JP2018517964A patent/JP6532604B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2017199331A1 (en) | 2018-09-13 |
| WO2017199331A1 (en) | 2017-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6532604B2 (en) | AIR CONDITIONER SYSTEM, REWRITE CONTROL METHOD, AND REWRITE CONTROL PROGRAM | |
| TWI685786B (en) | Firmware updating method for fpga | |
| JP5278222B2 (en) | Wireless communication apparatus, wireless communication method, and wireless communication program | |
| JP6203087B2 (en) | Air conditioner, air conditioner system, and rewrite control program | |
| CN106020875B (en) | Firmware update management method and device of embedded terminal | |
| TWI569604B (en) | Network switch system and its operation method | |
| CN107491328A (en) | Updating firmware program method, system and electric equipment | |
| JP4945788B2 (en) | Communication adapter | |
| US11828479B2 (en) | Server based air conditioning system adaptor for updating control program | |
| TWI679384B (en) | Air cleaner and network system | |
| CN105659217A (en) | Communication system, communication device, communication adapter, communication method, and program | |
| JP7821041B2 (en) | air conditioner | |
| CN107249208B (en) | Non-volatile network node data storage method | |
| JP2007264697A (en) | Processing system, projector, program and information storage medium | |
| WO2021210186A1 (en) | Air conditioner operating system, air conditioner, and server | |
| US12621645B2 (en) | Apparatus and method for transmitting or receiving message by using Bluetooth low energy advertising | |
| CN110209404B (en) | A serial number burning method and terminal equipment | |
| EP4730113A2 (en) | Upgradable electronic device, server for upgrdading electronic device, and method for upgrading electronic device | |
| JPWO2019058571A1 (en) | Network systems, servers, and air purifiers | |
| KR20240019631A (en) | Air conditioner and control method thereof | |
| KR20240019630A (en) | Air conditioner and control method thereof | |
| JPH11201533A (en) | Air conditioner control program rewriting device | |
| JP2022175536A (en) | Data integration device, communication system, integrated data generation method, and program | |
| JP2010258594A (en) | Path optimization device, mobile terminal and communication system using the same, path optimizing method, and path optimization program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180507 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180507 |
|
| 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: 20190423 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190521 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6532604 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |