JP4945788B2 - Communication adapter - Google Patents

Communication adapter Download PDF

Info

Publication number
JP4945788B2
JP4945788B2 JP2007310793A JP2007310793A JP4945788B2 JP 4945788 B2 JP4945788 B2 JP 4945788B2 JP 2007310793 A JP2007310793 A JP 2007310793A JP 2007310793 A JP2007310793 A JP 2007310793A JP 4945788 B2 JP4945788 B2 JP 4945788B2
Authority
JP
Japan
Prior art keywords
file
update
update file
storage area
area
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.)
Expired - Fee Related
Application number
JP2007310793A
Other languages
Japanese (ja)
Other versions
JP2009134563A (en
Inventor
修一 久間
達也 中川
高章 山本
信行 門間
茂利夫 平原
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.)
Toshiba Corp
Toshiba Lifestyle Products and Services Corp
Original Assignee
Toshiba Corp
Toshiba Consumer Electronics Holdings Corp
Toshiba Home Appliances Corp
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 Toshiba Corp, Toshiba Consumer Electronics Holdings Corp, Toshiba Home Appliances Corp filed Critical Toshiba Corp
Priority to JP2007310793A priority Critical patent/JP4945788B2/en
Publication of JP2009134563A publication Critical patent/JP2009134563A/en
Application granted granted Critical
Publication of JP4945788B2 publication Critical patent/JP4945788B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、家電機器をネットワークに接続するために用いられる通信アダプタに関するものである。   The present invention relates to a communication adapter used for connecting a home appliance to a network.

最近、エアコンや照明、冷蔵庫などの家電機器を家庭内ネットワークを介して通信制御装置と接続し、パソコンや、外部のインターネットを介した携帯電話などから、家電機器の動作を制御したり、家電機器の状態を外部に知らせたりする技術の開発が盛んになっている。   Recently, home appliances such as air conditioners, lighting, and refrigerators are connected to a communication control device via a home network, and the operation of the home appliances can be controlled from a personal computer or a mobile phone via the external Internet. The development of technology to inform the outside of the situation to the outside has become active.

家電機器をこのようなネットワークに接続するために、家電機器には通信アダプタが接続され、該通信アダプタを介してネットワーク側の通信制御装置と通信可能に接続されている。そして、ネットワーク側の通信制御装置からの信号を通信アダプタで受信して、該信号に基づき家電機器を制御するのである。   In order to connect the home appliance to such a network, a communication adapter is connected to the home appliance and is connected to the communication control device on the network side via the communication adapter. Then, a signal from the network-side communication control device is received by the communication adapter, and the home appliance is controlled based on the signal.

かかる通信アダプタにおいては、新たに機能を追加したり、プログラムミスを修正したりするために、その動作プログラムを更新する必要が生じる。従来、動作プログラムの更新のため、次のような構成が提案されている。すなわち、通信アダプタにフラッシュメモリ(フラッシュROM)を2個実装して、一方のフラッシュメモリに記憶させた動作プログラムで通信アダプタを動作させるようにしておき、更新に際しては、もう一方のフラッシュメモリに更新ファイルを書き込んだ後、動作させるフラッシュメモリを切り替えるというものである。   In such a communication adapter, it is necessary to update the operation program in order to newly add a function or correct a program mistake. Conventionally, the following configuration has been proposed for updating an operation program. In other words, two flash memories (flash ROM) are mounted on the communication adapter, and the communication adapter is operated with the operation program stored in one flash memory. When updating, the other flash memory is updated. After writing the file, the flash memory to be operated is switched.

しかしながら、この構成では、不揮発メモリとしてのフラッシュメモリを2個実装するものであるため、通信アダプタ自体がリッチな構成になってしまう。家電機器のための通信アダプタとしては、よりシンプルな構造が求められる。   However, in this configuration, since two flash memories as nonvolatile memories are mounted, the communication adapter itself becomes a rich configuration. A simpler structure is required as a communication adapter for home appliances.

一方で、下記特許文献1には、ルータ等の通信制御装置におけるシステムファイルの更新方法として、メモリカード等の外部記憶媒体装着スロットを設けておき、更新に際し、該スロットに外部記憶媒体を装着して更新前のファイルをバックアップした後、フラッシュメモリに更新ファイルを書き込んで更新し、更新が失敗した場合には外部記憶媒体にバックアップした更新前のファイルで立ち上げるようにして再度更新を実施することが提案されている。しかしながら、この更新方法では、通信アダプタに外部記憶媒体装着スロットを設ける必要があり、また、更新に際し、該スロットに外部記憶媒体を装着する必要があるので、家電機器のための通信アダプタとしては、リッチな構成となり、また更新手順も煩雑であるため、実用的とは言えない。   On the other hand, in Patent Document 1 below, as an update method of a system file in a communication control device such as a router, an external storage medium mounting slot such as a memory card is provided, and when updating, an external storage medium is mounted in the slot. After updating the file before update, write the update file in the flash memory and update it. If the update fails, update again by starting up the file before update backed up to the external storage medium. Has been proposed. However, in this update method, it is necessary to provide an external storage medium mounting slot in the communication adapter, and it is necessary to mount an external storage medium in the slot at the time of update, so as a communication adapter for home appliances, Since the configuration is rich and the update procedure is complicated, it is not practical.

また、下記特許文献2には、高インテリジェントな通信端末装置における主プログラムの更新方法として、通信回線から更新ファイルを受信したときに、まず、そのファイルをRAM(ランダムアクセスメモリ)に取り込み、次いで、RAMに取り込んだ更新ファイルをフラッシュメモリのバックアップ領域に書き込み、その後、バックアップ領域の更新ファイルをフラッシュメモリの主プログラム用領域に書き込むことが提案されている。しかしながら、このように更新ファイルを一旦RAMに取り込んで展開する構成では、RAMの容量が大きくなければならず、揮発メモリとしてのRAMの容量が小さい家電機器のための通信アダプタでは、採用し難い構成である。
特開平10−97426号公報 特開平8−55068号公報
Further, in Patent Document 2 below, when an update file is received from a communication line as a method for updating a main program in a highly intelligent communication terminal device, first, the file is taken into a RAM (Random Access Memory), and then It has been proposed to write the update file taken into the RAM into the backup area of the flash memory and then write the update file of the backup area into the main program area of the flash memory. However, in the configuration in which the update file is once taken into the RAM and expanded in this way, the capacity of the RAM must be large, and the communication adapter for home appliances having a small capacity of the RAM as the volatile memory is difficult to employ. It is.
JP-A-10-97426 JP-A-8-55068

本発明は、以上の点に鑑みてなされたものであり、RAM等の揮発メモリの容量を大きくすることなく、1つの不揮発メモリを用いて動作プログラムの更新を行うことができる通信アダプタを提供することを目的とする。   The present invention has been made in view of the above points, and provides a communication adapter capable of updating an operation program using one nonvolatile memory without increasing the capacity of a volatile memory such as a RAM. For the purpose.

本発明に係る通信アダプタは、家電機器をネットワークに接続するための通信アダプタであって、家電機器に接続されて当該家電機器との間での通信を可能とする家電機器インタフェース部と、ネットワーク側の通信制御装置に接続されて当該通信制御装置との間での通信を可能とする物理メディア用送受信部と、ランダムアクセス可能な揮発メモリからなる第1メモリと、通信アダプタの動作プログラムを記憶する動作ファイル領域、記動作プログラムを更新するための更新ファイルを記憶する更新ファイル格納領域、前記第2メモリが、ブートローダを格納するブートローダ領域と、前記更新ファイル格納領域への更新ファイルの展開の成否及び展開した前記更新ファイルの前記動作ファイル領域への書き込みの成否に関する情報を保存するフラグ格納領域とを有し、記憶情報の書き換えが可能な不揮発メモリからなる第2メモリと、を備えてなり、前記家電機器インタフェース部又は前記物理メディア用送受信部を介してファイルを受信したときに、当該ファイルが前記動作プログラムを更新するための更新ファイルか否かを判定し、前記ファイルが更新ファイルでなければ、当該ファイルを前記第1メモリに送って該第1メモリに展開し、前記ファイルが更新ファイルであれば、当該ファイルを前記第2メモリに送って前記更新ファイル格納領域に展開し、前記更新ファイル格納領域に展開した前記更新ファイルを前記動作ファイル領域に書き込んで保存することにより、前記動作プログラムを更新するよう構成され、前記第2メモリの前記更新ファイル格納領域への前記更新ファイルの展開が完了したときに、前記フラグ格納領域に、前記更新ファイルの誤り検出符号と前記更新ファイルの展開が完了したことを示す情報を保存し、再起動により前記ブートローダ領域に格納された前記ブートローダが起動したときに、前記フラグ格納領域に保存した前記誤り検出符号と前記情報を確認して前記更新ファイル格納領域に前記更新ファイルが格納されていれば、前記動作ファイル領域への前記更新ファイルの書き込みを実行するよう構成されている。 A communication adapter according to the present invention is a communication adapter for connecting a home appliance to a network, and is connected to the home appliance and enables communication with the home appliance, and the network side A physical media transmission / reception unit that is connected to the communication control device and enables communication with the communication control device, a first memory that includes a randomly accessible volatile memory, and a communication adapter operation program. operation file area, the update file storage area for storing an update file for updating the previous SL operation program, said second memory, and a boot loader area for storing a boot loader, the success or failure of deployment of the update file to the update file storage area And information regarding the success or failure of writing the expanded update file to the operation file area. And a flag storage area for, it comprises a second memory rewriting of stored information consists of the non-volatile memory capable, and when receiving the file via the home appliance interface unit or the physical media transceiver unit Determining whether or not the file is an update file for updating the operation program. If the file is not an update file, the file is sent to the first memory and expanded in the first memory, If the file is an update file, the file is sent to the second memory and expanded in the update file storage area, and the update file expanded in the update file storage area is written and stored in the operation file area , the operation program is configured to update the previous to the update file storage area of the second memory When update file expansion is completed, the error storage code of the update file and information indicating that the update file expansion has been completed are stored in the flag storage area, and stored in the boot loader area upon restart When the boot loader is activated, if the error detection code and the information stored in the flag storage area are confirmed and the update file is stored in the update file storage area, the update to the operation file area is performed. Configured to perform file writing .

上記通信アダプタでは、受信したファイルが更新ファイルか否かを予め判定してから、更新ファイルである場合に、第1メモリには展開することなく、第2メモリの更新ファイル格納領域に展開し、その後、展開した更新ファイルを第2メモリの動作ファイル領域に書き込む。このように、更新ファイルを揮発メモリである第1メモリには展開しないので、揮発メモリの容量を小さく抑えることができる。また、不揮発メモリである第2メモリに更新ファイル格納領域と動作ファイル領域を設け、受信した更新ファイルを更新ファイル格納領域に展開してから、動作ファイル領域に書き込むようにしたので、1つの不揮発メモリで動作プログラムの更新を実施することができる。   In the communication adapter, after determining in advance whether or not the received file is an update file, if it is an update file, it is expanded in the update file storage area of the second memory without being expanded in the first memory, Thereafter, the expanded update file is written in the operation file area of the second memory. As described above, since the update file is not expanded in the first memory, which is a volatile memory, the capacity of the volatile memory can be reduced. In addition, an update file storage area and an operation file area are provided in the second memory, which is a nonvolatile memory, and the received update file is expanded into the update file storage area and then written to the operation file area. The operation program can be updated with this.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、実施形態に係る通信アダプタ10を組み込んだホームネットワークの構成例を示したものである。図示するように、通信アダプタ10は、家電機器12に対して通信インタフェース14を介して接続され、また、ネットワーク20側の通信制御装置であるホームゲートウェイ16に物理メディア18を介して接続されている。これにより、家電機器12は通信アダプタ10を介してホームネットワークに参加している。   FIG. 1 shows a configuration example of a home network in which a communication adapter 10 according to the embodiment is incorporated. As shown in the figure, the communication adapter 10 is connected to the home appliance 12 via a communication interface 14 and is connected to a home gateway 16 which is a communication control device on the network 20 side via a physical medium 18. . As a result, the home appliance 12 participates in the home network via the communication adapter 10.

制御対象となる家電機器12としては、特に限定されず、例えば、エアコン、給湯器、照明器具、冷蔵庫、洗濯乾燥機、電子レンジの他、ビデオ、オーディオなどのAV機器など、各種の家電機器が挙げられる。   The home appliance 12 to be controlled is not particularly limited. For example, various home appliances such as an air conditioner, a water heater, a lighting fixture, a refrigerator, a washing and drying machine, a microwave oven, and an AV device such as a video and an audio. Can be mentioned.

ネットワーク20側のホームゲートウェイ16は、ネットワーク20に接続されて、物理メディア18を介して通信アダプタ10に所定のコマンドを与え、それによって家電機器12を制御する通信制御装置である。ネットワーク20は、インターネットなどの外部ネットワークに接続されてもよく、その場合、携帯電話などを用いて外部ネットワークを介した制御が可能となる。なお、ホームゲートウェイ16とネットワーク20との接続は、有線又は無線のいずれでもよいが、図では有線の例を示している。   The home gateway 16 on the network 20 side is a communication control device that is connected to the network 20 and gives a predetermined command to the communication adapter 10 via the physical medium 18, thereby controlling the home appliance 12. The network 20 may be connected to an external network such as the Internet. In that case, control via the external network is possible using a mobile phone or the like. Note that the connection between the home gateway 16 and the network 20 may be either wired or wireless, but a wired example is shown in the figure.

通信アダプタ10は、図2に示すように、家電機器12と接続して通信するための家電機器インタフェース部30と、ホームゲートウェイ16と接続して通信するための物理メディア用送受信部32と、ファイル更新データを受け取ったときに格納するための記憶装置34と、これら家電機器インタフェース部30、物理メディア用送受信部32及び記憶装置34を使用して通信を実施したり、更新ファイルのデータを受け取ったりする等、各装置の制御を行うための演算装置36とを備えてなる。   As shown in FIG. 2, the communication adapter 10 includes a home appliance interface 30 for connecting and communicating with the home appliance 12, a physical media transmitting / receiving unit 32 for communicating with the home gateway 16, and a file Communication is performed using the storage device 34 for storing update data when received, the home appliance interface unit 30, the physical media transmission / reception unit 32, and the storage device 34, and update file data is received. And an arithmetic device 36 for controlling each device.

家電機器インタフェース部30は、この例では、シリアル通信(UART)をベースとしたオープンコレクタであり、従って、通信アダプタ10と家電機器12とは、シリアル転送可能な通信インタフェース14によって通信可能に接続される。   In this example, the home appliance interface unit 30 is an open collector based on serial communication (UART). Therefore, the communication adapter 10 and the home appliance 12 are communicably connected by a communication interface 14 capable of serial transfer. The

物理メディア用送受信部32は、通信用の伝送媒体である物理メディア18を介して、ホームゲートウェイ16と通信を行う装置である。物理メディア18としては、Ethernet(登録商標)、Bluetooth(登録商標)、赤外線、小電力無線など、有線・無線を問わない。図1では、無線の例が示されており、一例としてBluetoothを用いる。   The physical media transmission / reception unit 32 is a device that communicates with the home gateway 16 via the physical media 18 that is a communication transmission medium. The physical medium 18 may be wired or wireless, such as Ethernet (registered trademark), Bluetooth (registered trademark), infrared, and low-power wireless. In FIG. 1, a wireless example is shown, and Bluetooth is used as an example.

記憶装置34は、ランダムアクセス可能な揮発メモリからなる第1メモリとしてのRAM(ランダムアクセスメモリ)38と、記憶情報の書き換えが可能な不揮発メモリからなる第2メモリとしてのフラッシュメモリ(フラッシュROM)40とで構成されている。   The storage device 34 includes a RAM (random access memory) 38 as a first memory composed of a volatile memory that can be randomly accessed, and a flash memory (flash ROM) 40 as a second memory composed of a nonvolatile memory capable of rewriting stored information. It consists of and.

RAM38は、一時的にデータを格納しておく記憶部であり、図3に示すように、RAM38の内部には、受信したデータを展開するためのデータ展開領域42が設けられている。   The RAM 38 is a storage unit for temporarily storing data. As shown in FIG. 3, the RAM 38 is provided with a data expansion area 42 for expanding received data.

フラッシュメモリ40は、通信アダプタ10の動作プログラムを格納する記憶部であり、図3に示すように、フラッシュメモリ40の内部には、動作ファイル領域44と、更新ファイル格納領域46と、ブートローダ領域48と、フラグ格納領域50が設けられている。   The flash memory 40 is a storage unit that stores an operation program of the communication adapter 10. As shown in FIG. 3, the flash memory 40 includes an operation file area 44, an update file storage area 46, and a boot loader area 48. A flag storage area 50 is provided.

動作ファイル領域44は、通信アダプタ10を動作させるための主プログラムである動作プログラムを記憶する領域である。   The operation file area 44 is an area for storing an operation program that is a main program for operating the communication adapter 10.

更新ファイル格納領域46は、該動作プログラムを更新するための更新ファイルを展開して記憶する領域である。   The update file storage area 46 is an area for expanding and storing an update file for updating the operation program.

ブートローダ領域48は、通信アダプタ10の電源が入ったときに最初に実行されるプログラムであるブートローダを格納する領域である。   The boot loader area 48 is an area for storing a boot loader that is a program executed first when the communication adapter 10 is powered on.

フラグ格納領域50は、更新ファイル格納領域46への更新ファイルの展開の成否に関する情報や、展開した更新ファイルの動作ファイル領域44への書き込みの成否に関する情報としてのフラグを保存する領域である。フラグ格納領域50には、また、更新ファイルの誤り検出符号としてのチェックサムも格納される。このように、フラグ格納領域50に、更新ファイルのチェックサムと更新ファイルの格納状況に関するフラグを記憶させることにより、ファイル更新が途中で失敗したときのリカバリー処理が容易となる。   The flag storage area 50 is an area for storing a flag as information on the success / failure of expansion of the update file to the update file storage area 46 and information on the success / failure of writing of the expanded update file to the operation file area 44. The flag storage area 50 also stores a checksum as an error detection code of the update file. As described above, by storing the checksum of the update file and the flag regarding the storage status of the update file in the flag storage area 50, the recovery process when the file update fails in the middle is facilitated.

次に、上記通信アダプタ10の動作プログラムを更新する際の動作について説明する。この通信アダプタ10は、家電機器インタフェース部30を介した更新ファイルの受信と、物理メディア用送受信部32を介した更新ファイルの受信との双方が可能に構成されている。すなわち、通信アダプタ10は、通常時に家電機器12と接続するための通信インタフェース14を利用したファイル更新と、ホームネットワーク側の物理メディア18を利用したファイル更新との、2通りの更新が可能である。   Next, an operation when the operation program of the communication adapter 10 is updated will be described. The communication adapter 10 is configured to be capable of both receiving an update file via the home appliance interface unit 30 and receiving an update file via the physical media transmission / reception unit 32. That is, the communication adapter 10 can perform two types of updates, that is, file update using the communication interface 14 for connecting to the home appliance 12 at normal times and file update using the physical media 18 on the home network side. .

図4は、通信インタフェース14を利用してファイル更新を実行するための構成例を示したものであり、通信アダプタ10は、更新ファイルを送信するパソコン22に対し、家電機器12を接続するための通信インタフェース14を用いて直接接続されている。この構成は、動作プログラムにより動作する物理メディア用送受信部32を用いないので、動作プログラムが格納されていない初期設定時において、通信アダプタ10に動作プログラムのためのファイルを格納させるときに有利に利用される。   FIG. 4 shows a configuration example for executing file update using the communication interface 14. The communication adapter 10 is used for connecting the home appliance 12 to the personal computer 22 that transmits the update file. The communication interface 14 is used for direct connection. Since this configuration does not use the physical media transmission / reception unit 32 operated by the operation program, it is advantageously used when the communication adapter 10 stores a file for the operation program at the time of initial setting in which the operation program is not stored. Is done.

図5は、物理メディア18を利用してファイル更新を実行するための構成例を示したものであり、更新ファイルを送信するパソコン22がネットワーク20を介してホームゲートウェイ16に接続されており、これにより、通信アダプタ10は、パソコン22に対し、物理メディア18及びホームゲートウェイ16を介して接続されている。なお、ネットワーク20からインターネットを介して外部のコンピュータに接続し、該コンピュータから更新ファイルを送信するようにしてもよい。図5の構成例では、物理メディア18をそのまま利用するので、ネットワークの構成を変えることなく、ファイル更新を実施することができる。   FIG. 5 shows an example of a configuration for executing a file update using the physical medium 18. A personal computer 22 that transmits an update file is connected to the home gateway 16 via the network 20. Thus, the communication adapter 10 is connected to the personal computer 22 via the physical medium 18 and the home gateway 16. The network 20 may be connected to an external computer via the Internet, and the update file may be transmitted from the computer. In the configuration example of FIG. 5, the physical media 18 is used as it is, so that the file update can be performed without changing the network configuration.

図6は、動作プログラムの更新時における通信アダプタ10での処理の流れを示した図である。   FIG. 6 is a diagram showing a flow of processing in the communication adapter 10 when the operation program is updated.

パソコン22から更新ファイルが送信されると、通信アダプタ10は、家電機器インタフェース部30又は物理メディア用送受信部32でファイルを受信する(ステップ100)。   When the update file is transmitted from the personal computer 22, the communication adapter 10 receives the file at the home appliance interface unit 30 or the physical media transmission / reception unit 32 (step 100).

ファイルの受信は、上記図4に示す構成例では、まず、通信速度(ボーレート)を調整した後、更新ファイルを一括又は分割して送信する。通信速度の調整は、パソコン22から特定のデータを特定の速度で送信し、通信アダプタ10がその速度をセンシングして求め、前記特定のデータをパソコン22に応答することによりなされる。一方、上記図5に示す構成例では、パソコン22から例えばHTTPにて通信アダプタ10にアクセスし、テキストファイルとしてデータを転送する。   In the configuration example shown in FIG. 4 above, the file is received by first adjusting the communication speed (baud rate) and then transmitting the update file in a batch or divided. The communication speed is adjusted by transmitting specific data from the personal computer 22 at a specific speed, the communication adapter 10 sensing the speed and obtaining the specific data to the personal computer 22. On the other hand, in the configuration example shown in FIG. 5, the communication adapter 10 is accessed from the personal computer 22 by, for example, HTTP, and data is transferred as a text file.

ファイルを受信すると、演算装置36は、そのファイルが動作プログラムを更新するための更新ファイルか否かの判定を実施する(ステップ101)。受信したファイルをRAM38で展開することなく上記判定が実施できるように、パソコン22から送信するデータには、更新ファイルかどうかの判別を可能とする判別手段が組み込まれている。例えば、上記図4に示す構成例の場合、通信インタフェース14を介して送信するパケットの先頭に特定のパラメータを付して、該パラメータによりその後に続くファイルの内容を判別できるようにしたり、あるいはパソコン22側で付与するファイル名で判別できるようにすることができる。また、上記図5に示す構成例の場合、パソコン22側で付与するテキストデータのファイル名でファイルの内容を判別できるようにすることができる。   When the file is received, the arithmetic unit 36 determines whether or not the file is an update file for updating the operation program (step 101). The data transmitted from the personal computer 22 incorporates a determination unit that can determine whether the file is an update file so that the above determination can be performed without developing the received file in the RAM 38. For example, in the case of the configuration example shown in FIG. 4, a specific parameter is attached to the head of a packet transmitted via the communication interface 14 so that the content of the subsequent file can be determined by the parameter, or a personal computer It can be discriminated by the file name given on the 22nd side. In the case of the configuration example shown in FIG. 5, the file contents can be determined by the file name of the text data provided on the personal computer 22 side.

上記判定の結果、受信したファイルが更新ファイルでなければ、当該ファイルをRAM38に送って、RAM38のデータ展開領域42で該ファイルを展開する(ステップ102)。このようなファイルとしては、通信アダプタ10の試験運転用のプログラムなどが挙げられる。演算装置36は、展開したファイルに従って、試運転などの通信アダプタ10の動作を実行させる。   If the received file is not an update file as a result of the determination, the file is sent to the RAM 38, and the file is expanded in the data expansion area 42 of the RAM 38 (step 102). An example of such a file is a program for a test operation of the communication adapter 10. The computing device 36 causes the operation of the communication adapter 10 such as a test run according to the developed file.

一方、判定の結果、受信したファイルが更新ファイルであれば、当該ファイルをフラッシュメモリ40に送って、その中の更新ファイル格納領域46に該ファイルを展開する(ステップ103)。   On the other hand, if the received file is an update file as a result of the determination, the file is sent to the flash memory 40, and the file is expanded in the update file storage area 46 therein (step 103).

そして、更新ファイル格納領域46への更新ファイルの展開が正常に完了したときには、更新ファイル格納領域46に更新ファイルが展開されていることを示す展開フラグと、更新ファイルのチェックサムを、フラグ格納領域50に保存する(ステップ104)。   When the expansion of the update file to the update file storage area 46 is normally completed, an expansion flag indicating that the update file is expanded in the update file storage area 46 and a checksum of the update file are displayed in the flag storage area. 50 (step 104).

なお、上記ステップ101〜104の各動作は、図4に示す構成例の場合、事前に動作プログラムが存在しないことがあるので、例えば、ブートローダ領域48に予め格納されたプログラムに従って実施することができる。一方、図5に示す構成例の場合、更新前の動作プログラムを利用できるので、動作ファイル領域44内に格納されたプログラムに従って実施することができる。   Note that in the case of the configuration example shown in FIG. 4, the operations in steps 101 to 104 may not be performed in advance in accordance with a program stored in advance in the boot loader area 48, for example. . On the other hand, in the case of the configuration example shown in FIG. 5, the operation program before update can be used.

上記のようにして更新ファイル格納領域46に更新ファイルを格納した後、通信アダプタ10は自身をリセットして再起動する(ステップ105)。そうすると、まず、ブートローダ領域48に格納されたブートローダが起動する。   After storing the update file in the update file storage area 46 as described above, the communication adapter 10 resets itself and restarts (step 105). Then, first, the boot loader stored in the boot loader area 48 is activated.

演算装置36は、該ブートローダに従い、フラグ格納領域50を参照して動作を決定する(ステップ106)。すなわち、フラグ格納領域50に保存した上記展開フラグとチェックサムを確認して、更新ファイル格納領域46に更新ファイルが格納されていれば、更新ファイル格納領域46に展開した更新ファイルを動作ファイル領域44に書き込んで(コピーして)保存する(ステップ108)。一方、フラグ格納領域50を参照して、更新ファイルが正常に展開されていないときには、更新をやり直す(ステップ107)。すなわち、ステップ100のファイルの受信からやり直す。   The computing device 36 determines the operation with reference to the flag storage area 50 according to the boot loader (step 106). That is, the expansion flag and checksum stored in the flag storage area 50 are confirmed, and if an update file is stored in the update file storage area 46, the update file expanded in the update file storage area 46 is stored in the operation file area 44. Is written (copied) and stored (step 108). On the other hand, referring to the flag storage area 50, when the update file is not normally expanded, the update is performed again (step 107). That is, the process starts again from the reception of the file in step 100.

ここで、フラグ格納領域50の参照による動作決定は、詳細には図7に示すように行うことができる。まず、ステップ200において、フラグ格納領域50に後述する書込フラグが立っているかどうかを確認する。書込フラグが立っていなければ、ステップ201において、フラグ格納領域50に展開フラグが立っているかどうかを確認する。展開フラグが立っていなければ、更新ファイル格納領域46への展開が完了せずに異常終了したことと判断し、ステップ107に進んで更新をやり直す。一方、展開フラグが立っていれば、ステップ202において、フラグ格納領域50に保存されたチェックサムが更新ファイルとともに送信されたチェックサムと一致するかどうかを確認し、一致しなければステップ107に進んで更新をやり直し、一致していればステップ108へ進んで更新処理を継続する。   Here, the operation determination by referring to the flag storage area 50 can be performed in detail as shown in FIG. First, in step 200, it is confirmed whether or not a write flag (to be described later) is set in the flag storage area 50. If the write flag is not set, it is checked in step 201 whether or not a development flag is set in the flag storage area 50. If the expansion flag is not set, it is determined that the expansion to the update file storage area 46 has not been completed and the process has ended abnormally, and the process proceeds to step 107 and the update is performed again. On the other hand, if the expansion flag is set, it is checked in step 202 whether or not the checksum stored in the flag storage area 50 matches the checksum transmitted together with the update file. The update is performed again, and if they match, the process proceeds to step 108 and the update process is continued.

ステップ108において動作ファイル領域44への更新ファイルの書き込みが完了すると、フラグ格納領域50に、更新ファイルのチェックサムと、更新ファイルの書き込みが完了したことを示す書込フラグを保存する(ステップ109)。   When writing of the update file to the operation file area 44 is completed in step 108, a checksum of the update file and a write flag indicating completion of writing of the update file are stored in the flag storage area 50 (step 109). .

その後、通信アダプタ10は自身をリセットして再起動する(ステップ110)。そうすると、ブートローダ領域48に格納されたブートローダが起動し、演算装置36は、該ブートローダに従い、フラグ格納領域50を参照して動作を決定する(ステップ111)。詳細には、フラグ格納領域50に保存した上記書込フラグとチェックサムを確認して、動作ファイル領域44に更新ファイルが正常に書き込まれていれば、更新された動作プログラムによる通常動作状態に移行し、すなわち、動作ファイル領域44に格納された動作プログラムを実行することで通常のプログラム動作を開始する(ステップ112)。   Thereafter, the communication adapter 10 resets itself and restarts (step 110). Then, the boot loader stored in the boot loader area 48 is activated, and the computing device 36 determines an operation with reference to the flag storage area 50 according to the boot loader (step 111). Specifically, the write flag and checksum stored in the flag storage area 50 are confirmed, and if the update file is normally written in the operation file area 44, the normal operation state by the updated operation program is entered. That is, the normal program operation is started by executing the operation program stored in the operation file area 44 (step 112).

一方、フラグ格納領域50を参照して、更新ファイルが正常に書き込まれていないときには、ステップ108に戻り、動作ファイル領域44への書き込みを再度実施する。   On the other hand, referring to the flag storage area 50, when the update file is not normally written, the process returns to step 108, and writing to the operation file area 44 is performed again.

ここでのフラグ格納領域50の参照による動作決定も図7に示す通りであり、ステップ200において、フラグ格納領域50に書込フラグが立っているかどうかを確認する。書込フラグが立っていれば、ステップ203において、フラグ格納領域50に保存されたチェックサムが更新ファイルとともに送信されたチェックサムと一致するかどうか確認し、一致していればステップ112に進んで通常動作状態に移行する。一致していなければステップ108に戻って再度書き込みを実施する。一方、ステップ200において、書込フラグが立っていなければ、この場合、前段階のステップ106で確認したように展開フラグが立っており、かつチェックサムも一致するので、ステップ108に戻って再度書き込みを実施する。   The operation determination by referring to the flag storage area 50 here is also as shown in FIG. 7, and it is confirmed in step 200 whether or not a write flag is set in the flag storage area 50. If the write flag is set, it is checked in step 203 whether the checksum stored in the flag storage area 50 matches the checksum transmitted together with the update file. Transition to normal operating state. If they do not match, the process returns to step 108 and writing is performed again. On the other hand, if the write flag is not set in step 200, in this case, the expansion flag is set as confirmed in step 106 in the previous stage and the checksums match, so the process returns to step 108 and the write is performed again. To implement.

以上のようにして、動作プログラムが更新された後、通常動作状態となるが、通常動作状態では、演算装置36が、RAM38を使って、動作ファイル領域44に格納された動作プログラムに従い動作し、ホームゲートウェイ16からの信号に基づいて家電機器12に対する制御を実施する。   As described above, after the operation program is updated, the normal operation state is set. In the normal operation state, the arithmetic unit 36 operates according to the operation program stored in the operation file area 44 using the RAM 38. Based on the signal from the home gateway 16, the home appliance 12 is controlled.

例えば、ホームゲートウェイ16と通信アダプタ10との間でエコーネット(登録商標)プロトコルによる通信を行うものである場合、ホームゲートウェイ16から、UDPで、宛先のIPアドレス、エコーネットプロトコルによるアドレス、家電機器オブジェクト及び制御プロパティを指定したパケットが送信される。通信アダプタ10は、これを物理メディア用送受信部32で受信し、該パケットをRAMで展開して、対象となる家電機器12を制御する。   For example, when communication is performed between the home gateway 16 and the communication adapter 10 using the Echonet (registered trademark) protocol, the destination gateway IP address, the address using the Echonet protocol, and the home appliance from the home gateway 16 A packet specifying the object and the control property is transmitted. The communication adapter 10 receives this by the physical media transmission / reception unit 32, expands the packet in the RAM, and controls the target home appliance 12.

以上よりなる本実施形態であると、動作プログラムを更新する際に、パソコン22から送られてきたファイルが更新ファイルか否かを判定し、更新ファイルである場合に、RAM38に展開することなく、フラッシュメモリ40の更新ファイル格納領域46に展開するので、RAM38の容量が小さくても更新を実施することができる。また、該更新ファイルを一旦更新ファイル格納領域46に展開してから、動作ファイル領域44に書き込むようにしたので、1つのフラッシュメモリ40で動作プログラムの更新を安全に実施することができる。   In the present embodiment configured as described above, when updating the operation program, it is determined whether or not the file sent from the personal computer 22 is an update file. Since the update file is stored in the update file storage area 46 of the flash memory 40, the update can be performed even if the capacity of the RAM 38 is small. In addition, since the update file is once expanded in the update file storage area 46 and then written in the operation file area 44, the operation program can be updated safely in one flash memory 40.

また、フラッシュメモリ40にフラグ格納領域50を設けて、チェックサムとファイルの有り無しに関するフラグを格納することにより、ファイル更新が失敗したときのリカバリー処理が可能となり、無駄な更新処理の重複を回避することができる。特に、正常展開時のみに展開フラグを立てるようにしたので、更新ファイルが正常に展開しているかどうかを確認することができる。また、チェックサムを書き込むようにしたので、展開したファイルを正常に書き込むことができたかどうかの判定も可能である。   In addition, by providing a flag storage area 50 in the flash memory 40 and storing a flag relating to the presence / absence of a checksum and file, recovery processing can be performed when file update fails, and duplication of unnecessary update processing is avoided. can do. In particular, since the expansion flag is set only during normal expansion, it is possible to check whether the update file is normally expanded. Further, since the checksum is written, it is possible to determine whether or not the expanded file can be normally written.

また、本実施形態では、動作プログラムのファイル更新のためのデータの受け渡しを、家電機器12との接続用の通信インタフェース14からの受信と、物理メディア18からの受信との2通りが可能なので、通信アダプタ10の製造時や設置作業時、更には家庭内での通常動作時などの状況に応じ、適切な受け渡し方法を選択して動作プログラムの更新を行うことができ、利便性に優れる。   Further, in the present embodiment, the data exchange for updating the operation program file can be performed in two ways: reception from the communication interface 14 for connection with the home appliance 12 and reception from the physical medium 18. The operation program can be updated by selecting an appropriate delivery method in accordance with the situation such as during manufacture or installation of the communication adapter 10 or during normal operation at home, which is excellent in convenience.

実施形態におけるホームネットワークの構成例を示すブロック図である。It is a block diagram which shows the structural example of the home network in embodiment. 通信アダプタの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a communication adapter. 記憶装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a memory | storage device. 通信インタフェースを利用してファイル更新を実行するための構成例を示すブロック図である。It is a block diagram which shows the structural example for performing a file update using a communication interface. 物理メディアを利用してファイル更新を実行するための構成例を示すブロック図である。It is a block diagram which shows the structural example for performing a file update using a physical medium. 動作プログラムの更新時における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process at the time of the update of an operation program. フラグ格納領域を参照する際の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process at the time of referring a flag storage area.

符号の説明Explanation of symbols

10…通信アダプタ
12…家電機器
16…ホームゲートウェイ(通信制御装置)
30…家電機器インタフェース部
32…物理メディア用送受信部
38…RAM(第1メモリ)
40…フラッシュメモリ(第2メモリ)
44…動作ファイル領域
46…更新ファイル格納領域
48…ブートローダ領域
50…フラグ格納領域
DESCRIPTION OF SYMBOLS 10 ... Communication adapter 12 ... Home appliance 16 ... Home gateway (communication control apparatus)
30 ... Home appliance interface unit 32 ... Transmitting / receiving unit for physical media 38 ... RAM (first memory)
40: Flash memory (second memory)
44 ... Operation file area 46 ... Update file storage area 48 ... Boot loader area 50 ... Flag storage area

Claims (3)

家電機器をネットワークに接続するための通信アダプタであって、
家電機器に接続されて当該家電機器との間での通信を可能とする家電機器インタフェース部と、
ネットワーク側の通信制御装置に接続されて当該通信制御装置との間での通信を可能とする物理メディア用送受信部と、
ランダムアクセス可能な揮発メモリからなる第1メモリと、
通信アダプタの動作プログラムを記憶する動作ファイル領域、記動作プログラムを更新するための更新ファイルを記憶する更新ファイル格納領域、ブートローダを格納するブートローダ領域と、前記更新ファイル格納領域への更新ファイルの展開の成否及び展開した前記更新ファイルの前記動作ファイル領域への書き込みの成否に関する情報を保存するフラグ格納領域とを有し、記憶情報の書き換えが可能な不揮発メモリからなる第2メモリと、
を備えてなり、
前記家電機器インタフェース部又は前記物理メディア用送受信部を介してファイルを受信したときに、当該ファイルが前記動作プログラムを更新するための更新ファイルか否かを判定し、前記ファイルが更新ファイルでなければ、当該ファイルを前記第1メモリに送って該第1メモリに展開し、前記ファイルが更新ファイルであれば、当該ファイルを前記第2メモリに送って前記更新ファイル格納領域に展開し、前記更新ファイル格納領域に展開した前記更新ファイルを前記動作ファイル領域に書き込んで保存することにより、前記動作プログラムを更新するよう構成され
前記第2メモリの前記更新ファイル格納領域への前記更新ファイルの展開が完了したときに、前記フラグ格納領域に、前記更新ファイルの誤り検出符号と前記更新ファイルの展開が完了したことを示す情報を保存し、再起動により前記ブートローダ領域に格納された前記ブートローダが起動したときに、前記フラグ格納領域に保存した前記誤り検出符号と前記情報を確認して前記更新ファイル格納領域に前記更新ファイルが格納されていれば、前記動作ファイル領域への前記更新ファイルの書き込みを実行するよう構成された、
通信アダプタ。
A communication adapter for connecting home appliances to a network,
A home appliance interface unit that is connected to the home appliance and enables communication with the home appliance;
A physical media transmission / reception unit connected to a communication control device on the network side and enabling communication with the communication control device;
A first memory composed of a random accessible volatile memory;
Operation file area for storing the operation program of the communication adapter, the update file storage area for storing an update file for updating the previous SL operating program, and a boot loader area for storing a boot loader, deploy updates to the update file storage area A second storage memory comprising a non-volatile memory capable of rewriting stored information, and a flag storage area for storing information on success or failure of the development and success or failure of writing of the updated update file to the operation file area ;
With
When a file is received via the home appliance interface unit or the physical media transmission / reception unit, it is determined whether the file is an update file for updating the operation program, and the file is not an update file. The file is sent to the first memory and expanded in the first memory. If the file is an update file, the file is sent to the second memory and expanded in the update file storage area. The update program expanded in the storage area is configured to update the operation program by writing and storing the update file in the operation file area ,
When the expansion of the update file to the update file storage area of the second memory is completed, information indicating that the error detection code of the update file and the expansion of the update file are completed in the flag storage area When the boot loader stored in the boot loader area is saved and restarted, the error detection code and the information stored in the flag storage area are confirmed, and the update file is stored in the update file storage area. If configured to write the update file to the action file area,
Communication adapter.
前記動作ファイル領域への前記更新ファイルの書き込みが完了したときに、前記フラグ格納領域に、前記更新ファイルの誤り検出符号と前記更新ファイルの書き込みが完了したことを示す情報を保存し、再起動により前記ブートローダが起動したときに、前記フラグ格納領域に保存された前記誤り検出符号と前記情報を確認して前記動作ファイル領域に前記更新ファイルが書き込まれていれば、更新された前記動作プログラムによる通常動作状態に移行するよう構成された、
請求項1記載の通信アダプタ。
When writing of the update file to the operation file area is completed, an error detection code of the update file and information indicating completion of writing of the update file are stored in the flag storage area, When the boot loader is started, if the error detection code and the information stored in the flag storage area are confirmed and the update file is written in the operation file area, the updated operation program normally Configured to transition to operational state,
The communication adapter according to claim 1.
前記家電機器インタフェース部を介した更新ファイルの受信と、前記物理メディア用送受信部を介した更新ファイルの受信の双方が可能である、
請求項1記載の通信アダプタ。
Both reception of the update file through the home appliance interface unit and reception of the update file through the physical media transmission / reception unit are possible.
The communication adapter according to claim 1.
JP2007310793A 2007-11-30 2007-11-30 Communication adapter Expired - Fee Related JP4945788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007310793A JP4945788B2 (en) 2007-11-30 2007-11-30 Communication adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007310793A JP4945788B2 (en) 2007-11-30 2007-11-30 Communication adapter

Publications (2)

Publication Number Publication Date
JP2009134563A JP2009134563A (en) 2009-06-18
JP4945788B2 true JP4945788B2 (en) 2012-06-06

Family

ID=40866382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007310793A Expired - Fee Related JP4945788B2 (en) 2007-11-30 2007-11-30 Communication adapter

Country Status (1)

Country Link
JP (1) JP4945788B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5439400B2 (en) * 2011-01-31 2014-03-12 京セラドキュメントソリューションズ株式会社 Image forming apparatus
JP5857927B2 (en) * 2012-09-21 2016-02-10 東芝ライテック株式会社 Communication adapter and restart program
JP2014143513A (en) * 2013-01-23 2014-08-07 Mitsubishi Electric Corp Communication adapter, setting method of communication apparatus, program, and network system
TWI518595B (en) * 2014-03-17 2016-01-21 廣達電腦股份有限公司 Method and system of software update and mobile device
JP2016143318A (en) * 2015-02-04 2016-08-08 三菱電機株式会社 Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program
US11442720B2 (en) 2017-10-26 2022-09-13 Noritz Corporation Communication adapter and program update method for communication adapter
US11080039B2 (en) * 2019-11-25 2021-08-03 Micron Technology, Inc. Resilient software updates in secure storage devices
JP7477328B2 (en) * 2020-03-16 2024-05-01 Fdk株式会社 Control device and control program rewriting method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003228490A (en) * 2002-02-04 2003-08-15 Sanyo Electric Co Ltd Terminal equipment connected to network, and network system using the same
JP2005202518A (en) * 2004-01-13 2005-07-28 Sanyo Electric Co Ltd Adaptor
JP2006011906A (en) * 2004-06-28 2006-01-12 Yamaha Corp Software installation method
JP4561331B2 (en) * 2004-09-30 2010-10-13 三菱電機株式会社 Home appliance adapter and software development device
JP2007179487A (en) * 2005-12-28 2007-07-12 Brother Ind Ltd Content delivery system, software update method, terminal device and program

Also Published As

Publication number Publication date
JP2009134563A (en) 2009-06-18

Similar Documents

Publication Publication Date Title
JP4945788B2 (en) Communication adapter
JP6390644B2 (en) Program update system, program update method, and computer program
US8762666B2 (en) Backup and restoration of operation control data in a heating, ventilation and air conditioning network
CN106020875B (en) Firmware update management method and device of embedded terminal
US20050278518A1 (en) Electronic system capable of using universal plug and play (upnp) protocol to update software program and method thereof
KR101256547B1 (en) Air conditioner, method for controlling outdoor units of the air conditioner, and central control system having the same
US20160070562A1 (en) System and method for over the air programming
US20160085538A1 (en) Over-the-air updates for ble devices
CN105407475B (en) configuration file enables processing method and eUICC
WO2015154578A1 (en) Remote upgrade method, device and system of boot program of single board
JP2006244269A (en) Facility managing device, program update system, facility management program updating method, starting program and facility management program
WO2012097570A1 (en) Method and device for implementing software version synchronization
WO2023198056A1 (en) Firmware update method for embedded device, and embedded device
JP2002189609A (en) System and method for updating software adapted to accident
JP2007316800A (en) Onboard program rewriting controller
JP2019214353A (en) Communication device and control method
CN115509812A (en) Data backup method and server based on Keepalive dual-computer hot standby
JP2015129994A (en) Transmission program, transmission method, and transmission apparatus
CN112905206A (en) Circuit upgrading method based on serial port
EP3349117A1 (en) Control method and communication device employing same
WO2019082738A1 (en) Communication adaptor and program updating method for communication adaptor
JP2010079382A (en) Software update method
WO2022230256A1 (en) Communication device and firmware update system
JP5156405B2 (en) Control terminal
JP5016604B2 (en) Information processing apparatus and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090917

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120116

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: 20120207

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120305

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4945788

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150316

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees