JP2010205152A - Network system and network adapter - Google Patents

Network system and network adapter Download PDF

Info

Publication number
JP2010205152A
JP2010205152A JP2009052373A JP2009052373A JP2010205152A JP 2010205152 A JP2010205152 A JP 2010205152A JP 2009052373 A JP2009052373 A JP 2009052373A JP 2009052373 A JP2009052373 A JP 2009052373A JP 2010205152 A JP2010205152 A JP 2010205152A
Authority
JP
Japan
Prior art keywords
sub
processing unit
software
upgrade
information
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
JP2009052373A
Other languages
Japanese (ja)
Other versions
JP5174718B2 (en
Inventor
Yoshihisa Honma
義久 本間
Yasuhiro Yanagi
康裕 柳
Hideaki Yamaguchi
英亮 山口
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Electric Works Co 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 Panasonic Electric Works Co Ltd filed Critical Panasonic Electric Works Co Ltd
Priority to JP2009052373A priority Critical patent/JP5174718B2/en
Publication of JP2010205152A publication Critical patent/JP2010205152A/en
Application granted granted Critical
Publication of JP5174718B2 publication Critical patent/JP5174718B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a network system and a network adapter for easily confirming information on software upgrade for a sub processing unit of the network adapter, and for simply determining the necessity for the upgrade. <P>SOLUTION: The network adapter 2 includes: a ROM 2e for storing main software; a main processing unit 2a for executing the main software; a sub storage 2g for storing sub software; and a sub processing unit 2b for executing the sub software. When receiving a request for inquiring sub software version information from an operation terminal 3, the main processing unit 2a obtains the version information from the sub processing unit 2b to transmit the same to a center server 5. The center server 5 determines whether the sub software need be upgraded, when receiving the version information, and transmits the information on the upgrade to a network, when determining that the upgrade is required. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ネットワークアダプタを用いて設備機器の監視・制御を行うネットワークシステム、およびネットワークアダプタに関するものである。   The present invention relates to a network system that monitors and controls equipment using a network adapter, and a network adapter.

従来より、エアコンや照明器具や種々のセキュリティ機器などの設備機器の監視・制御を行うネットワークシステムが提供されている(設備機器の監視と制御のいずれか一方のみを行うシステムでもよい)。   2. Description of the Related Art Conventionally, network systems that monitor and control equipment such as air conditioners, lighting fixtures, and various security devices have been provided (systems that perform only one of monitoring and controlling equipment).

このようなネットワークシステムでは、宅内ネットワークに接続されたネットワークアダプタが、配下の宅内の設備機器と通信を行って監視・制御を行う。さらに、ネットワークアダプタが接続している宅内ネットワークは、ルータを介して外部ネットワークであるインターネットと通信可能に接続しており、ネットワークアダプタは、インターネット上のセンターサーバとも通信を行うことができる。   In such a network system, a network adapter connected to a home network performs monitoring and control by communicating with the equipment in the home under the home. Further, the home network to which the network adapter is connected is communicably connected to the Internet, which is an external network, via a router, and the network adapter can also communicate with a center server on the Internet.

このネットワークアダプタは、CPUを含む処理部を搭載し、さらに当該処理部で実行するソフトウェアをROM等のメモリに格納しており、この処理部がソフトウェアを実行することによって、設備機器の監視・制御処理、およびネットワーク通信処理を行う。   This network adapter includes a processing unit including a CPU, and further stores software executed by the processing unit in a memory such as a ROM. The processing unit executes software to monitor and control the equipment. Processing and network communication processing.

このネットワークアダプタのソフトウェアの更新は、処理部がインターネット上のセンターサーバから最新のソフトウェアを取得することで行われていた(例えば、特許文献1参照)。   The network adapter software has been updated by the processing unit acquiring the latest software from a center server on the Internet (see, for example, Patent Document 1).

特開2000−259538号公報JP 2000-259538 A

上記のようなネットワークアダプタに用いる処理部は、ネットワーク通信を制御する主CPUを含む主処理部と、設備機器との通信を制御して設備機器の監視・制御を行う副CPUを含む副処理部とで構成されている。   The processing unit used for the network adapter as described above includes a main processing unit including a main CPU that controls network communication, and a sub processing unit including a sub CPU that controls communication with the facility device and monitors and controls the facility device. It consists of and.

主処理部は、そのパフォーマンスが高く、メモリのリソースも大きいので、宅内ネットワーク、インターネットのネットワーク通信を高速で行う能力を具備しており、例えばセンターサーバとの通信において大きなデータサイズを扱うことができる。したがって、主処理部が実行するソフトウェア(主ソフトウェア)を更新するバージョンアップ時には、センターサーバからネットワークを介して最新の主ソフトウェアを取得することに問題はなかった。   The main processing unit has high performance and large memory resources, so it has the ability to perform network communication on the home network and the Internet at high speed, and can handle large data sizes in communication with the center server, for example. . Therefore, when updating the software (main software) executed by the main processing unit, there is no problem in obtaining the latest main software from the center server via the network.

一方、副処理部は、設備機器との間で低速の通信を行う能力があればよいので、そのパフォーマンスが低く、メモリのリソースも小さいものが用いられている。故に、ネットワークアダプタ内ではシリアルインターフェースを介して主処理部に接続しており、主処理部との間で、通信速度の遅いシリアル通信でデータ授受を行っている。また、副処理部が実行するソフトウェア(副ソフトウェア)を更新するバージョンアップ時には、主処理部がセンターサーバからネットワークを介して最新の副ソフトウェアを取得し、さらに主処理部が副処理部へ最新の副ソフトウェアを引き渡す必要がある。   On the other hand, the sub-processing unit only needs to have the capability of performing low-speed communication with the facility equipment, and therefore, the sub-processing unit has a low performance and a small memory resource. Therefore, the network adapter is connected to the main processing unit via a serial interface, and exchanges data with the main processing unit by serial communication with a low communication speed. When updating the software (sub software) executed by the sub processing unit, the main processing unit acquires the latest sub software from the center server via the network, and the main processing unit updates the sub processing unit to the latest version. You need to hand over the secondary software.

しかし、主処理部−副処理部間の通信インターフェースが少量のデータ通信しか想定しておらず、主処理部と副処理部との間は速度の遅いシリアル通信を行うため、大きなデータサイズを扱うことができず、主処理部から副処理部へ副ソフトウェアを引き渡す処理を行うことは困難であった。   However, the communication interface between the main processing unit and the sub processing unit assumes only a small amount of data communication, and serial communication with a low speed is performed between the main processing unit and the sub processing unit, so a large data size is handled. Therefore, it has been difficult to transfer the sub software from the main processing unit to the sub processing unit.

そこで、従来、ネットワークアダプタに副処理部書込インターフェースを設けて、この副処理部書込インターフェースに直接接続した専用の書き換え端末から、副ソフトウェアを副処理部のメモリに書き込んでバージョンアップを行っていた。したがって、ネットワークアダプタを出荷した後に副ソフトウェアのバージョンアップが必要になった場合には、ネットワークアダプタの設置場所に赴いて、専用の書き換え端末を用いて書き換え作業を行う必要があった。   Therefore, conventionally, the network adapter is provided with a sub-processing unit writing interface, and the version is upgraded by writing the sub-software into the memory of the sub-processing unit from a dedicated rewriting terminal directly connected to the sub-processing unit writing interface. It was. Therefore, when it is necessary to upgrade the sub software after the network adapter is shipped, it is necessary to go to the installation location of the network adapter and perform rewriting work using a dedicated rewriting terminal.

このとき、実際に使用しているネットワークアダプタの副ソフトウェアのバージョンが旧バージョンであれば新バージョンに書き換える必要があり、既に新バージョンであれば書き換える必要はない。しかし、上記のように、ネットワークアダプタの設置場所に赴いて書き換え端末を接続するまでは、現在の副ソフトウェアが旧バージョン、新バージョンのいずれであるか判らないため、バージョンアップの必要がない場合であっても設置場所に赴く必要があり、手間が掛かっていた。   At this time, if the version of the sub-software of the network adapter actually used is an old version, it is necessary to rewrite to a new version, and if it is already a new version, there is no need to rewrite. However, as mentioned above, until the network adapter is installed and the rewrite terminal is connected, it is not known whether the current sub-software is the old version or the new version. Even if it was, it was necessary to go to the installation site, and it took time and effort.

本発明は、上記事由に鑑みてなされたものであり、その目的は、ネットワークアダプタの副処理部のソフトウェアのバージョンアップに関する情報を容易に確認でき、バージョンアップの必要性を簡便に判断できるネットワークシステムおよびネットワークアダプタを提供することにある。   The present invention has been made in view of the above reasons, and its purpose is a network system capable of easily confirming information regarding software upgrade of a sub-processing unit of a network adapter and easily determining the necessity of version upgrade. And to provide a network adapter.

請求項1の発明は、設備機器と通信を行うネットワークアダプタと、ネットワークアダプタと通信を行うセンターサーバとがネットワークに接続され、ネットワークアダプタは、ネットワークを介したセンターサーバとの通信処理を行うための主ソフトウェアを格納した主記憶部と、主ソフトウェアを実行することによってネットワークを介した通信を行う主処理部と、バージョン情報を付与されて設備機器との通信処理を行うための副ソフトウェアを格納した副記憶部と、主処理部との間でデータ授受可能であるとともに、副ソフトウェアを実行することによって設備機器と通信を行う副処理部とを備え、主処理部は、副処理部から副ソフトウェアのバージョン情報を取得する手段を具備しており、ネットワークを介して副ソフトウェアのバージョン情報の問合せ要求を受信すると、副ソフトウェアのバージョン情報をセンターサーバへ送信し、センターサーバは、ネットワークアダプタから副ソフトウェアのバージョン情報を受信すると、当該バージョン情報に基づいて、ネットワークアダプタにおいて副ソフトウェアのバージョンアップが必要か否かを判定し、バージョンアップが必要であると判定した場合には、バージョンアップに関する情報をネットワークに送信することを特徴とする。   According to the first aspect of the present invention, a network adapter that communicates with equipment and a center server that communicates with the network adapter are connected to the network, and the network adapter performs communication processing with the center server via the network. Stored main storage unit that stores main software, main processing unit that performs communication via the network by executing main software, and sub software that performs version processing and communication processing with equipment The secondary processing unit includes a secondary processing unit that can exchange data between the secondary processing unit and the main processing unit, and that communicates with the equipment by executing the secondary software. Means for acquiring the version information of the sub-software via the network. When the version information inquiry request is received, the version information of the sub software is transmitted to the center server. Upon receiving the version information of the sub software from the network adapter, the center server receives the version information of the sub software in the network adapter based on the version information. It is characterized in that it is determined whether the upgrade is necessary, and when it is determined that the upgrade is necessary, information regarding the upgrade is transmitted to the network.

この発明によれば、ネットワークシステムにおいて、ネットワークアダプタの副処理部のソフトウェアのバージョンアップに関する情報を容易に確認でき、バージョンアップの必要性を簡便に判断できる。   According to the present invention, in the network system, it is possible to easily confirm the information related to the software upgrade of the sub-processing unit of the network adapter, and the necessity for the upgrade can be easily determined.

請求項2の発明は、請求項1において、前記センターサーバが送信するバージョンアップに関する情報は、バージョンアップの必要を報知する報知信号であり、報知信号を受信したときにバージョンアップの必要を報知する報知手段と、当該報知手段による報知動作があった後に、副ソフトウェアのバージョンアップ開始要求をセンターサーバへ送信する開始要求送信手段とをネットワーク上に備え、バージョンアップ開始要求を受信したセンターサーバは、ネットワークアダプタから受信したバージョン情報より新しいバージョン情報を付与された副ソフトウェアにバージョンアップするためのバージョンアップ情報をネットワークアダプタへ送信し、ネットワークアダプタは、主処理部がバージョンアップ情報を受信して副処理部へ出力し、副処理部は、バージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアを書き換えることを特徴とする。   According to a second aspect of the present invention, in the first aspect, the information related to the upgrade transmitted by the center server is a notification signal that notifies the necessity of the upgrade, and notifies the necessity of the upgrade when the notification signal is received. The center server having the notification means and the start request transmission means for transmitting the sub-software upgrade start request to the center server after the notification operation by the notification means is received on the network. Version upgrade information for upgrading to secondary software with version information newer than the version information received from the network adapter is sent to the network adapter. The network adapter receives the upgrade information from the main processing unit and performs secondary processing. Output to , Sub-processing unit, based on the upgrade information, characterized by rewriting the sub software stored in the secondary storage unit.

この発明によれば、ネットワークアダプタの副ソフトウェアのバージョンを容易に確認でき、バージョンアップの必要性を簡便に判断できるとともに、副ソフトウェアのバージョンアップの必要性があることを通知された場合、センターサーバから副ソフトウェアのバージョンアップ情報をダウンロードして、最新バージョンに容易に書き換えることができる。   According to the present invention, the version of the secondary software of the network adapter can be easily confirmed, the necessity for version upgrade can be easily determined, and the center server is notified when there is a need for version upgrade of the secondary software. Sub-software version upgrade information can be downloaded from and easily rewritten to the latest version.

請求項3の発明は、請求項1において、前記センターサーバが送信するバージョンアップに関する情報は、ネットワークアダプタから受信したバージョン情報より新しいバージョン情報を付与された副ソフトウェアにバージョンアップするためのバージョンアップ情報であり、ネットワークアダプタは、前記主処理部がバージョンアップ情報を受信して副処理部へ出力し、副処理部は、バージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアを書き換えることを特徴とする。   According to a third aspect of the present invention, in the first aspect, the upgrade information transmitted by the center server is version upgrade information for upgrading to sub-software to which version information newer than the version information received from the network adapter is assigned. In the network adapter, the main processing unit receives the upgrade information and outputs it to the secondary processing unit, and the secondary processing unit rewrites the secondary software stored in the secondary storage unit based on the upgrade information. It is characterized by that.

この発明によれば、副ソフトウェアのバージョンアップの必要性がある場合には、センターサーバから副ソフトウェアのバージョンアップ情報をダウンロードして、最新バージョンに容易に書き換えることができる。   According to the present invention, when there is a need to upgrade the sub software, the sub software upgrade information can be downloaded from the center server and easily rewritten to the latest version.

請求項4の発明は、請求項2または3において、前記ネットワークアダプタは、前記主処理部がバージョンアップ情報を前記副処理部へ出力する間、副処理部は前記設備機器との通信を停止して、バージョンアップ情報を受信することを特徴とする。   According to a fourth aspect of the present invention, in the network adapter according to the second or third aspect, the sub processing unit stops communication with the facility device while the main processing unit outputs the upgrade information to the sub processing unit. Receiving upgrade information.

この発明によれば、副処理部は、副ソフトウェアのバージョンアップ情報のダウンロード時に、通信速度の速いバージョンアップモードで動作しているので、主処理部からバージョンアップ情報を受け取るための通信時間は短縮され、ダウンロード時間が短縮される。   According to the present invention, the sub-processing unit operates in the upgrade mode with a high communication speed when the sub-software upgrade information is downloaded, so the communication time for receiving the upgrade information from the main processing unit is shortened. Download time is reduced.

請求項5の発明は、請求項2乃至4いずれかにおいて、前記センターサーバは、前記ネットワークアダプタから受信したバージョン情報を付与された副ソフトウェアと、当該副ソフトウェアより新しいバージョン情報を付与された副ソフトウェアとの差異を抽出する差異抽出手段を備えて、当該差異部分のみを書き換えるためのバージョンアップ情報をネットワークアダプタへ送信し、ネットワークアダプタの副処理部は、バージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアのうち前記差異部分のみを書き換えることを特徴とする。   According to a fifth aspect of the present invention, in any one of the second to fourth aspects, the center server includes sub software to which version information received from the network adapter is assigned, and sub software to which version information newer than the sub software is assigned. And a difference extraction means for extracting the difference between and the upgrade information for rewriting only the difference portion to the network adapter, and the sub-processing unit of the network adapter stores the upgrade information in the secondary storage unit based on the upgrade information. Of the sub software stored, only the difference is rewritten.

この発明によれば、主処理部から副処理部へ出力されるバージョンアップ情報は、旧:副ソフトウェアと新:副ソフトウェアとの変更エリア(差異)だけであり、新:副ソフトウェアの全コードを含むバージョンアップ情報をダウンロードする場合と比べて、ダウンロード時間の短縮、および副処理部の負荷低減が可能となる。   According to the present invention, the upgrade information output from the main processing unit to the sub processing unit is only the change area (difference) between the old: sub software and the new: sub software. Compared with the case of downloading the upgrade information that includes it, it is possible to shorten the download time and reduce the load on the sub processor.

請求項6の発明は、請求項5において、前記センターサーバは、前記差異部分を複数モジュールに分割したバージョンアップ情報を前記ネットワークアダプタへ送信し、ネットワークアダプタの主処理部は、複数モジュールからなるバージョンアップ情報を記憶して、バージョンアップ情報をモジュール毎に副処理部へ順次出力し、副処理部は、モジュール毎のバージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアをモジュール毎に書き換えることを特徴とする。   According to a sixth aspect of the present invention, in the fifth aspect, the center server transmits upgrade information obtained by dividing the difference portion into a plurality of modules to the network adapter, and a main processing unit of the network adapter is a version composed of a plurality of modules. The upgrade information is stored, and the upgrade information is sequentially output to the sub-processing unit for each module. The sub-processing unit converts the sub-software stored in the sub-storage unit for each module based on the upgrade information for each module. It is characterized by rewriting.

この発明によれば、センターサーバから送信された複数モジュールのバージョンアップ情報を、主処理部が一旦保存するので、センターサーバは、主処理部から副処理部への通信速度が遅いことによる送信待ちを行う必要はなく、センターサーバの負荷を低減することができ、センターサーバが他の端末装置と通信可能な時間が増える。   According to the present invention, since the main processing unit temporarily stores upgrade information of a plurality of modules transmitted from the center server, the center server waits for transmission due to a slow communication speed from the main processing unit to the sub processing unit. The load on the center server can be reduced, and the time during which the center server can communicate with other terminal devices increases.

請求項7の発明は、請求項6において、前記ネットワークアダプタの主処理部は、副処理部へバージョンアップ情報のモジュール数を通知し、前記ネットワークアダプタの副処理部は、主処理部から通知されたバージョンアップ情報のモジュール数に基づいて、書き換えていない残モジュール数を管理するカウンタ手段を備え、再起動時に、カウンタ手段を参照して書き換えていない残モジュールがある場合には、書き換えていない残モジュールに関する情報とともにバージョンアップ再開要求を主処理部から前記センターサーバへ送信し、センターサーバは、複数モジュールに分割した前記差異部分のうち、書き換えていない残モジュールを前記ネットワークアダプタへ送信することを特徴とする。   According to a seventh aspect of the present invention, in the sixth aspect, the main processing unit of the network adapter notifies the sub processing unit of the number of modules of the upgrade information, and the sub processing unit of the network adapter is notified from the main processing unit. Counter means for managing the number of remaining modules that have not been rewritten based on the number of modules in the version upgrade information, and if there are remaining modules that have not been rewritten by referring to the counter means at the time of restart, A version upgrade restart request is transmitted from the main processing unit to the center server together with information on the module, and the center server transmits the remaining modules not rewritten to the network adapter among the different parts divided into a plurality of modules. And

この発明によれば、停電等による電源断、ユーザによるリセット操作、主ソフトウェアのバグ等で、バージョンアップ情報のダウンロードが中断された場合でも、再起動後に、書き換え未完了部分よりダウンロードを再開するため、バージョンアップ処理の復旧を効率よく行うことができる。   According to the present invention, even when the download of the upgrade information is interrupted due to a power failure due to a power failure, a reset operation by the user, a bug in the main software, etc. Thus, the upgrade process can be efficiently restored.

請求項8の発明は、請求項1乃至7いずれかにおいて、前記ネットワークアダプタの主処理部は、バージョンアップ情報を副処理部へ出力する前に、副記憶部に格納している副ソフトウェアを副処理部から取得して保存し、バージョンアップ情報を副処理部へ出力した後に復帰要求が発生した場合、保存している副ソフトウェアを副処理部へ出力し、副処理部は当該副ソフトウェアを副記憶部に書き込むことを特徴とする。   According to an eighth aspect of the present invention, in any one of the first to seventh aspects, the main processing unit of the network adapter stores the secondary software stored in the secondary storage unit before the upgrade information is output to the secondary processing unit. If a restoration request occurs after the version information is output to the secondary processing unit and saved, the saved secondary software is output to the secondary processing unit, and the secondary processing unit outputs the secondary software to the secondary processing unit. It writes in a memory | storage part, It is characterized by the above-mentioned.

この発明によれば、ネットワークが不通状態となっても、副ソフトウェアを元のバージョンに戻してバージョンアップによる不具合を解消することができる。   According to the present invention, even when the network is disconnected, the sub software can be returned to the original version to solve the problem caused by the version upgrade.

請求項9の発明は、ネットワークを介してセンターサーバに接続されるとともに設備機器と通信を行うネットワークアダプタであって、ネットワークを介したセンターサーバとの通信処理を行うための主ソフトウェアを格納した主記憶部と、主ソフトウェアを実行することによってネットワークを介した通信を行う主処理部と、バージョン情報を付与されて設備機器との通信処理を行うための副ソフトウェアを格納した副記憶部と、主処理部との間でデータ授受可能であるとともに、副ソフトウェアを実行することによって設備機器と通信を行う副処理部とを備え、主処理部は、副処理部から副ソフトウェアのバージョン情報を取得する手段を具備しており、ネットワークを介して副ソフトウェアのバージョン情報の問合せ要求を受信すると、副ソフトウェアのバージョン情報に基づいて副ソフトウェアのバージョンアップが必要か否かを判定してバージョンアップが必要であると判定した場合にはバージョンアップに関する情報をネットワークに送信するセンターサーバへ、副ソフトウェアのバージョン情報を送信することを特徴とする。   The invention of claim 9 is a network adapter that is connected to the center server via the network and communicates with the equipment, and that stores main software for performing communication processing with the center server via the network. A storage unit, a main processing unit that performs communication via a network by executing the main software, a sub storage unit that stores sub software for performing communication processing with facility equipment to which version information is attached, A sub-processing unit that can exchange data with the processing unit and communicate with the equipment by executing the sub-software, and the main processing unit acquires version information of the sub-software from the sub-processing unit Means for receiving a sub-software version information inquiry request via the network. If it is determined that the secondary software needs to be upgraded based on the secondary software version information, it is determined that the secondary software needs to be upgraded. Version information is transmitted.

この発明によれば、ネットワークアダプタの副処理部のソフトウェアのバージョンアップに関する情報を容易に確認でき、バージョンアップの必要性を簡便に判断できる。   According to the present invention, it is possible to easily confirm information related to software upgrade of the sub-processing unit of the network adapter, and it is possible to easily determine the necessity of upgrading.

以上説明したように、本発明では、ネットワークアダプタの副処理部のソフトウェアのバージョンアップに関する情報を容易に確認でき、バージョンアップの必要性を簡便に判断できるという効果がある。   As described above, according to the present invention, it is possible to easily confirm information related to the software upgrade of the sub-processing unit of the network adapter, and to determine the necessity for the upgrade easily.

実施形態1のネットワークシステムのブロック構成を示す図である。It is a figure which shows the block configuration of the network system of Embodiment 1. 同上の操作端末のブロック構成を示す図である。It is a figure which shows the block configuration of an operation terminal same as the above. 同上のバージョン情報の確認シーケンスを示す図である。It is a figure which shows the confirmation sequence of version information same as the above. 同上のバージョンアップ処理のシーケンスを示す図である。It is a figure which shows the sequence of the upgrade process same as the above. 実施形態2のバージョンアップ処理のシーケンスを示す図である。FIG. 10 is a diagram illustrating a sequence of version upgrade processing according to the second embodiment. 実施形態3のバージョンアップ処理のシーケンスを示す図である。FIG. 10 is a diagram illustrating a sequence of version upgrade processing according to the third embodiment. 実施形態4のバージョンアップ処理のシーケンスを示す図である。FIG. 10 is a diagram illustrating a sequence of version upgrade processing according to the fourth embodiment. 実施形態5のバージョンアップ処理のシーケンスを示す図である。FIG. 10 is a diagram illustrating a sequence of version upgrade processing according to the fifth embodiment.

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

(実施形態1)
図1は、本実施形態のネットワークシステムの構成を示し、ネットワークアダプタ2、操作端末3等の端末装置が戸建住宅や集合住宅等の宅内に配置されて、宅内ネットワークNT1を介して互いに通信可能に接続しており、さらにネットワークアダプタ2には複数の設備機器1が通信線W1を介して接続されている。さらに、宅内にはルータ4が配置されており、宅内ネットワークNT1はルータ4を介してインターネットNT2に通信可能に接続し、インターネットNT2上にはセンターサーバ5や、携帯電話等の携帯端末6が設けられている。
(Embodiment 1)
FIG. 1 shows a configuration of a network system according to the present embodiment, in which terminal devices such as a network adapter 2 and an operation terminal 3 are arranged in a home such as a detached house or an apartment house and can communicate with each other via a home network NT1. Furthermore, a plurality of equipment devices 1 are connected to the network adapter 2 via the communication line W1. Further, a router 4 is arranged in the home, and the home network NT1 is communicably connected to the Internet NT2 via the router 4, and a center server 5 and a mobile terminal 6 such as a mobile phone are provided on the Internet NT2. It has been.

設備機器1は、照明器具や空調機器あるいは種々のセキュリティ機器などの機能を有して、通信線W1を介してネットワークアダプタ2と通信可能に構成されており、ユニークなID情報(例えば、MACアドレス)を割り付けられて、ネットワークアダプタ2によって各機能を監視・制御されている。   The equipment 1 has functions such as lighting equipment, air-conditioning equipment, and various security equipments, and is configured to be able to communicate with the network adapter 2 via the communication line W1, and has unique ID information (for example, a MAC address). The network adapter 2 monitors and controls each function.

ネットアダプタ2は、図1に示すように、ネットワーク通信を制御する主CPUを含む主処理部2aと、設備機器1との通信を制御して設備機器1の監視・制御を行う副CPUを含む副処理部2bと、宅内ネットワークNT1が接続されて主処理部2aと宅内ネットワークNT1とのインターフェースを行うLAN用の通信手段たる通信部2cと、設備機器1と副処理部2bとのインターフェースを行う機器インターフェース部(機器I/F部)2dと、主処理部2aで実行する主ソフトウェアを格納するROM2e(主記憶部)と、主処理部2aの動作に用いる各種データを一時格納するRAM2fと、副処理部2gで実行する副ソフトウェアを格納するROM2g(副記憶部)と、設備機器1の動作状態などの制御情報及び監視情報を格納するRAM2hとを備えている。   As shown in FIG. 1, the net adapter 2 includes a main processing unit 2 a including a main CPU that controls network communication, and a sub CPU that controls communication with the facility device 1 to monitor and control the facility device 1. Interfaces the sub-processing unit 2b, the communication unit 2c, which is a communication means for LAN for interfacing between the main processing unit 2a and the home network NT1, to which the home network NT1 is connected, and the equipment 1 and the sub-processing unit 2b. A device interface unit (device I / F unit) 2d, a ROM 2e (main storage unit) for storing main software executed by the main processing unit 2a, a RAM 2f for temporarily storing various data used for the operation of the main processing unit 2a, The ROM 2g (secondary storage unit) that stores the secondary software executed by the secondary processing unit 2g and the control information such as the operating state of the equipment 1 and the monitoring information are stored. And a RAM2h to.

主処理部2aは、そのパフォーマンスが高く、メモリ(ROM2e、RAM2f)のリソースも大きいので、宅内ネットワークNT1、インターネットNT2のネットワーク通信を高速で行う能力を具備しており、センターサーバ5との通信において大きなデータサイズを扱うことができる。そして、ROM2eには、センターサーバ5との間で宅内ネットワークNT1、インターネットNT2を介した通信処理を行うための主ソフトウェアを格納しており、主処理部2aは、主ソフトウェアを実行することによって、通信部2cを介したネットワーク通信を行う。主ソフトウェアには、バージョン情報が付与されており、主処理部2aによって管理されている。   The main processing unit 2a has high performance and large memory (ROM 2e, RAM 2f) resources, and therefore has the ability to perform network communication of the home network NT1 and the Internet NT2 at high speed. Can handle large data sizes. The ROM 2e stores main software for performing communication processing with the center server 5 via the home network NT1 and the Internet NT2, and the main processing unit 2a executes the main software, Network communication is performed via the communication unit 2c. Version information is assigned to the main software and is managed by the main processing unit 2a.

副処理部2bは、設備機器1との間で低速の通信を行う能力があればよいので、そのパフォーマンスが低く、メモリ(ROM2g、RAM2h)のリソースも小さいものが用いられている。そして、ROM2gには、設備機器1との間で通信を行い、設備機器1の監視・制御のためのポート制御処理を行う副ソフトウェアを格納しており、副処理部2bは、副ソフトウェアを実行することによって、機器I/F部2dを介した機器監視・制御を行う。副ソフトウェアには、バージョン情報が付与されており、副処理部2bによって管理されている。   Since the sub processor 2b only needs to be capable of performing low-speed communication with the facility device 1, the sub processor 2b has a low performance and a small memory (ROM 2g, RAM 2h). The ROM 2g stores sub software that communicates with the equipment 1 and performs port control processing for monitoring and controlling the equipment 1 and the sub processor 2b executes the sub software. As a result, device monitoring / control is performed via the device I / F unit 2d. Version information is assigned to the secondary software and is managed by the secondary processing unit 2b.

そして、主処理部2a−副処理部2b間の通信インターフェースは少量のデータ通信しか想定しておらず、主処理部2aと副処理部2bとの間は速度の遅いシリアル通信を行うため、大きなデータサイズを扱うことができない。   The communication interface between the main processing unit 2a and the sub processing unit 2b assumes only a small amount of data communication, and the main processing unit 2a and the sub processing unit 2b perform serial communication at a low speed. The data size cannot be handled.

また、主処理部2aは、ネットワークアダプタ2の配下にある設備機器1の名称並びに動作状態を文字や記号で表示するための多数のウェブページ群を保持しており、操作端末3等の端末装置からのアクセスに応じてウェブページ群の中から対応するウェブページのデータを通信部2cより端末装置に提供(配信)するウェブサーバ機能を有している。   The main processing unit 2a holds a large number of web page groups for displaying the names and operation states of the equipment 1 under the network adapter 2 with characters and symbols, and a terminal device such as the operation terminal 3 The web server function of providing (distributing) the data of the corresponding web page from the web page group to the terminal device from the communication unit 2c according to the access from.

操作端末3は、図2に示すように、マイコンからなる制御部3aと、宅内ネットワークNT1が接続されて制御部3aと宅内ネットワークNT1とのインターフェースを行うLAN用の通信手段たる通信部3bと、液晶ディスプレイやドライブ回路からなる表示手段たる表示部3cと、押釦スイッチや表示部3cの画面上に配設されるタッチパネルを有し、ユーザの操作入力の情報を取り込む操作部3dと、スピーカとスピーカの駆動回路を有するスピーカ部3eとを備えている。   As shown in FIG. 2, the operation terminal 3 includes a control unit 3a composed of a microcomputer, a communication unit 3b serving as a LAN communication unit to which the home network NT1 is connected to interface the control unit 3a and the home network NT1, An operation unit 3d having a display unit 3c, which is a display means including a liquid crystal display and a drive circuit, a push button switch and a touch panel disposed on the screen of the display unit 3c, for capturing user operation input information, a speaker and a speaker And a speaker unit 3e having the driving circuit.

制御部3aには、ウェブブラウザが実装され、さらには予め記憶しているウェブページをウェブブラウザに提供(配信)するウェブサーバ機能を有している。そして、ネットワークアダプタ2等から提供されるコンテンツを搭載したウェブページ並びに予め記憶している内蔵ウェブページをウェブブラウザで再生して表示部3cに表示するとともに、操作部3dのタッチパネルが操作された位置と表示部3cに表示されているアイコン等との位置関係に応じた操作入力情報を取り込む。   The control unit 3a is equipped with a web browser and further has a web server function for providing (distributing) a web page stored in advance to the web browser. Then, the web page loaded with the content provided from the network adapter 2 or the like and the internal web page stored in advance are reproduced by the web browser and displayed on the display unit 3c, and the touch panel of the operation unit 3d is operated. And operation input information corresponding to the positional relationship between the icon and the like displayed on the display unit 3c.

また、制御部3aには予め警報音や音声メッセージの音データが圧縮して格納されており、制御部3aが必要に応じて読み出した音データを伸長してスピーカ部3eに出力すれば、前記警報音や音声メッセージがスピーカから鳴動される。   Further, the sound data of the alarm sound and the voice message is compressed and stored in the control unit 3a in advance, and if the sound data read out by the control unit 3a as necessary is output to the speaker unit 3e, An alarm sound or voice message sounds from the speaker.

ルータ4は、従来周知であるから詳細な構成についての図示並びに説明は省略する。   Since the router 4 is well known in the art, detailed illustration and description thereof will be omitted.

センターサーバ5は、バージョン毎の主ソフトウェアおよび副ソフトウェア、および各ソフトウェアに関する情報を格納しており、端末装置からインターネットNT2を介した要求を受け取ることによって、主ソフトウェアおよび副ソフトウェアの各バージョンアップ情報を端末装置へ提供する。さらに、操作端末3等の端末装置に提供する多数のウェブページ群を保持しており、端末装置からのアクセスに応じてウェブページ群の中から対応するウェブページのデータを通信部3bより端末装置に提供(配信)するウェブサーバ機能を有している。   The center server 5 stores main software and sub software for each version, and information about each software, and receives each version upgrade information of the main software and sub software by receiving a request from the terminal device via the Internet NT2. Provide to the terminal device. Furthermore, it holds a large number of web page groups to be provided to the terminal device such as the operation terminal 3, and the corresponding web page data from the web page group is received from the communication unit 3b according to the access from the terminal device. It has a web server function to provide (distribute).

ここで、主ソフトウェアおよび副ソフトウェアのバージョン情報は、各ソフトウェアコードの変更が発生した場合に、リリース毎に割り付けられる管理用情報であり、「1.00a」等の文字情報である。   Here, the version information of the main software and the sub software is management information assigned for each release when each software code is changed, and is character information such as “1.00a”.

そして、ネットワークアダプタ2が主ソフトウェアを更新するバージョンアップ時には、高パフォーマンスの主処理部2aが、宅内ネットワークNT1、インターネットNT2を介してセンターサーバ5から最新バージョンの主ソフトウェアを取得して、ROM2e内の主ソフトウェアを最新のバージョンに書き換える。   When the network adapter 2 updates the main software, the high-performance main processing unit 2a acquires the latest version of the main software from the center server 5 via the home network NT1 and the Internet NT2, and stores it in the ROM 2e. Rewrite the main software to the latest version.

次に、ネットワークアダプタ2が副ソフトウェアを更新するバージョンアップ時の動作について説明する。   Next, the operation at the time of version upgrade in which the network adapter 2 updates the sub software will be described.

まず、図3に示すように、操作端末3において、操作部3dの操作によって副ソフトウェアのバージョン確認ボタンが押下されると、制御部3aはバージョンアップ確認要求をセンターサーバ5へ送信し(S1)、センターサーバ5は、副処理部バージョンプロパティ要求をネットワークアダプタ2へ送信する(S2)。   First, as shown in FIG. 3, in the operation terminal 3, when the sub software version confirmation button is pressed by the operation of the operation unit 3d, the control unit 3a transmits an upgrade confirmation request to the center server 5 (S1). The center server 5 transmits a sub-processing unit version property request to the network adapter 2 (S2).

ネットワークアダプタ2では、主処理部2aが副処理部バージョンプロパティ要求を受信し、副処理部2bへバージョン取得要求を出力する(S3)。副処理部2bは、バージョン取得要求に対する応答として、ROM2gに格納している副ソフトウェアのバージョン情報を含むバージョン応答を主処理部2aへ送信する(S4)。主処理部2aは、副処理部バージョンプロパティ要求に対する応答として、副ソフトウェアのバージョン情報を含む副処理部バージョンプロパティ応答をセンターサーバ5へ送信する(S5)。   In the network adapter 2, the main processing unit 2a receives the sub processing unit version property request and outputs a version acquisition request to the sub processing unit 2b (S3). As a response to the version acquisition request, the sub processing unit 2b transmits a version response including the version information of the sub software stored in the ROM 2g to the main processing unit 2a (S4). The main processing unit 2a transmits a sub processing unit version property response including version information of the sub software to the center server 5 as a response to the sub processing unit version property request (S5).

センターサーバ5では、ネットワークアダプタ2から取得した副ソフトウェアのバージョン情報が、最新のバージョン情報であるか否かを判定する(S6)。ネットワークアダプタ2から取得した副ソフトウェアのバージョン情報が、最新のバージョンでなければ、バージョンアップ確認要求に対する応答として、副ソフトウェアのバージョンアップの必要性を報知するためのウェブページを含むバージョンアップ確認応答を操作端末3へ送信し、最新のバージョンであれば、バージョンアップ確認要求に対する応答として、副ソフトウェアのバージョンアップは必要ないことを報知するためのウェブページを含むバージョンアップ確認応答を操作端末3へ送信する(S7)。   The center server 5 determines whether the version information of the sub software acquired from the network adapter 2 is the latest version information (S6). If the version information of the secondary software acquired from the network adapter 2 is not the latest version, a version upgrade confirmation response including a web page for notifying the necessity of the version upgrade of the secondary software is sent as a response to the version upgrade confirmation request. If it is the latest version, it is transmitted to the operation terminal 3, and as a response to the upgrade confirmation request, an upgrade confirmation response including a web page for notifying that the version upgrade of the sub software is not necessary is transmitted to the operation terminal 3. (S7).

操作端末3では、制御部3aが、バージョンアップ確認応答に含まれているウェブページを表示部3cに表示するとともに、スピーカ部3eからブザー音または人の音声を出力することによって、副ソフトウェアのバージョンアップの必要があること、または副ソフトウェアのバージョンアップの必要がないことをユーザに報知する。   In the operation terminal 3, the control unit 3a displays the web page included in the upgrade confirmation response on the display unit 3c, and outputs a buzzer sound or a human voice from the speaker unit 3e, whereby the version of the sub software is displayed. The user is notified that there is a need to upgrade or that there is no need to upgrade the sub software.

したがって、ユーザは、宅内の操作端末3を操作するのみで、ネットワークアダプタ2の副ソフトウェアのバージョンアップの必要性の有無を確認できる。すなわち、ネットワークアダプタ2の副処理部2bのソフトウェアのバージョンを容易に確認でき、バージョンアップの必要性を簡便に判断できるネットワークシステムとなる。   Therefore, the user can confirm whether or not the version upgrade of the sub software of the network adapter 2 is necessary only by operating the operation terminal 3 in the home. That is, the network system can easily check the software version of the sub-processing unit 2b of the network adapter 2 and can easily determine the necessity of upgrading.

また、本実施形態では、主処理部2aが、センターサーバ5から副処理部バージョンプロパティ要求を受信したときに副処理部2bからバージョン情報を取得している。しかし、主処理部2aは、起動時や一定時間毎にバージョン取得要求を副処理部2bへ出力して、副処理部2bから副ソフトウェアのバージョン情報を予め取得、保持しておき、センターサーバ5から副処理部バージョンプロパティ要求を受信した場合には、この予め保持している副ソフトウェアのバージョン情報を含む副処理部バージョンプロパティ応答をセンターサーバ5へ送信してもよい。   In the present embodiment, when the main processing unit 2a receives a sub-processing unit version property request from the center server 5, the main processing unit 2a acquires version information from the sub-processing unit 2b. However, the main processing unit 2a outputs a version acquisition request to the sub-processing unit 2b at the time of startup or at regular intervals, acquires and holds version information of the sub-software from the sub-processing unit 2b in advance, and stores the center server 5 When the sub-processing unit version property request is received from the sub-processing unit, the sub-processing unit version property response including the pre-held version information of the sub-software may be transmitted to the center server 5.

さらに、バージョンアップの必要性の有無を報知する報知手段は、ネットワークアダプタ2にも設けてもよく、センターサーバ5から送信されるバージョンアップ確認応答によって、ネットワークアダプタ2で報知動作を行ってもよい。あるいは、センターサーバ5からインターネットNT2経由で携帯端末6へバージョンアップ確認応答を送信し、携帯端末6でバージョンアップの必要性の有無を報知してもよい。   Further, a notification means for notifying whether the upgrade is necessary may be provided also in the network adapter 2, and the notification operation may be performed in the network adapter 2 by a version upgrade confirmation response transmitted from the center server 5. . Alternatively, an upgrade confirmation response may be transmitted from the center server 5 to the mobile terminal 6 via the Internet NT2, and the mobile terminal 6 may notify the necessity of the upgrade.

次に、操作端末3によって副ソフトウェアのバージョンアップの必要があることを報知された場合には、図4に示すバージョンアップ処理を行う。   Next, when the operation terminal 3 informs that it is necessary to upgrade the sub software, the upgrade process shown in FIG. 4 is performed.

まず、操作端末3において、操作部3dの操作によって副ソフトウェアのバージョンアップ開始ボタンが押下されると、制御部3aはバージョンアップ開始要求をセンターサーバ5へ送信し(開始要求送信手段)(S11)、センターサーバ5は、操作端末3へバージョンアップ開始応答を返信した後に(S12)、副処理部バージョンメソッド要求をネットワークアダプタ2へ送信する(S13)。   First, in the operation terminal 3, when the sub software upgrade start button is pressed by operating the operation unit 3d, the control unit 3a transmits a version upgrade start request to the center server 5 (start request transmitting means) (S11). The center server 5 returns a version upgrade start response to the operation terminal 3 (S12), and then transmits a sub-processing unit version method request to the network adapter 2 (S13).

ネットワークアダプタ2では、主処理部2aが副処理部バージョンメソッド要求を受信し、センターサーバ5へ副処理部バージョンアップメソッド応答を返信した後に(S14)、副処理部2bへバージョンアップモード移行要求を出力する(S15)。   In the network adapter 2, after the main processing unit 2a receives the sub processing unit version method request and returns the sub processing unit version upgrade method response to the center server 5 (S14), the main processing unit 2a sends a request for transition to the upgrade mode to the sub processing unit 2b. Output (S15).

この時点までの副処理部2bは、主処理部2aとの間で行われるシリアル通信の速度を9600bpsに設定しており、主処理部2aとの通信速度を抑えて、設備機器1の監視・制御を実行する通常処理を行っている(通常モード)。しかし、バージョンアップモード移行要求を受信すると、バージョンアップモード移行応答を主処理部2aへ返信するとともに(S16)、設備機器1との通信を停止し(すなわち、設備機器1の監視・制御処理を停止し)、主処理部2aとの間で行われるシリアル通信の速度を19200bpsに上げて、主処理部2aとの通信速度を速くする。すなわち副処理部2bは、主処理部2aとの間のシリアル通信に最大限のパフォーマンスおよびリソースを使用して、主処理部2aとの通信速度を最大限まで上げたバージョンアップモードに移行する(S17)。   The sub-processing unit 2b up to this point sets the speed of serial communication performed with the main processing unit 2a to 9600 bps, suppresses the communication speed with the main processing unit 2a, and monitors the equipment 1 Normal processing for executing control is performed (normal mode). However, when the upgrade mode transition request is received, an upgrade mode transition response is returned to the main processing unit 2a (S16), and communication with the facility device 1 is stopped (that is, the monitoring / control processing of the facility device 1 is performed). And the speed of serial communication performed with the main processing unit 2a is increased to 19200 bps to increase the communication speed with the main processing unit 2a. That is, the sub processing unit 2b uses the maximum performance and resources for serial communication with the main processing unit 2a, and shifts to the upgrade mode in which the communication speed with the main processing unit 2a is increased to the maximum ( S17).

そして、主処理部2aは、センターサーバ5へバージョンアップモード移行応答を転送し、センターサーバ5は、最新バージョンの副ソフトウェアにバージョンアップするためのバージョンアップ情報をネットワークアダプタ2へ送信する。ネットワークアダプタ2では、主処理部2aがバージョンアップ情報を副処理部2bへ出力する。このとき、副処理部2bは、通信速度の速いバージョンアップモードで動作しているので、主処理部2aからバージョンアップ情報を受け取るための通信時間は短縮され、ダウンロード時間が短縮される。そして、副処理部2bは、受信したバージョンアップ情報に基づいて、ROM2gに格納している副ソフトウェアを最新バージョンに書き換え、副ソフトウェアのバージョンアップ情報を更新する(S18)。   Then, the main processing unit 2a transfers an upgrade mode transition response to the center server 5, and the center server 5 transmits upgrade information for upgrading to the latest version of the sub software to the network adapter 2. In the network adapter 2, the main processing unit 2a outputs upgrade information to the sub-processing unit 2b. At this time, since the sub processor 2b operates in the upgrade mode with a high communication speed, the communication time for receiving the upgrade information from the main processor 2a is shortened, and the download time is shortened. Then, the sub processor 2b rewrites the sub software stored in the ROM 2g to the latest version based on the received version upgrade information, and updates the sub software upgrade information (S18).

副処理部2bは、副ソフトウェアのバージョンアップ処理を完了すると、バージョンアップモードから通常モードに戻って、主処理部2aとの間で行われるシリアル通信の速度を19200bpsから9600bpsに切り替えて、設備機器1の監視・制御処理を再開する(S19)。   Upon completion of the upgrade process of the sub software, the sub processor 2b returns from the upgrade mode to the normal mode, switches the speed of serial communication performed between the main processor 2a from 1920 bps to 9600 bps, 1 is resumed (S19).

このように、バージョンアップの必要性があることを通知された場合、ユーザは操作端末3を操作するのみで、センターサーバ5から副ソフトウェアのバージョンアップ情報をダウンロードして、最新バージョンに容易に書き換えることができる。さらに、ネットワークアダプタ2の副処理部2bは、バージョンアップ情報のダウンロード時には、主処理部との間の通信速度を最大限まで上げたバージョンアップモードに移行するので、ダウンロード時間を短縮できる。   In this way, when notified that there is a need for version upgrade, the user simply downloads the version upgrade information of the sub-software from the center server 5 and rewrites it to the latest version simply by operating the operation terminal 3. be able to. Further, the sub-processing unit 2b of the network adapter 2 shifts to the upgrade mode in which the communication speed with the main processing unit is maximized when downloading the upgrade information, so that the download time can be shortened.

(実施形態2)
本実施形態では、実施形態1における図3のシーケンスを行った後、操作端末3によって副ソフトウェアのバージョンアップの必要があることを報知された場合には、図5に示すバージョンアップ処理を行う。なお、本実施形態のネットワークシステムの構成は実施形態1と同様であり、説明は省略する。
(Embodiment 2)
In the present embodiment, after performing the sequence of FIG. 3 in the first embodiment, when the operation terminal 3 informs that it is necessary to upgrade the sub software, the upgrade process shown in FIG. 5 is performed. Note that the configuration of the network system of this embodiment is the same as that of the first embodiment, and a description thereof will be omitted.

まず、図5に示すように、操作端末3において、操作部3dの操作によって副ソフトウェアのバージョンアップ開始ボタンが押下されると、制御部3aはバージョンアップ開始要求をセンターサーバ5へ送信し(S21)、センターサーバ5は、副処理部バージョンプロパティ要求をネットワークアダプタ2へ送信する(S22)。   First, as shown in FIG. 5, in the operation terminal 3, when the sub software upgrade start button is pressed by the operation of the operation unit 3d, the control unit 3a transmits a version upgrade start request to the center server 5 (S21). ), The center server 5 transmits a sub-processing unit version property request to the network adapter 2 (S22).

ネットワークアダプタ2では、主処理部2aが副処理部バージョンプロパティ要求を受信し、副処理部2bへバージョン取得要求を出力する(S23)。副処理部2bは、バージョン取得要求に対する応答として、ROM2gに格納している副ソフトウェアのバージョン情報を含むバージョン応答を主処理部2aへ送信する(S24)。主処理部2aは、副処理部バージョンプロパティ要求に対する応答として、副ソフトウェアのバージョン情報を含む副処理部バージョンプロパティ応答をセンターサーバ5へ送信する(S25)。   In the network adapter 2, the main processing unit 2a receives the sub processing unit version property request and outputs a version acquisition request to the sub processing unit 2b (S23). As a response to the version acquisition request, the sub processing unit 2b transmits a version response including the version information of the sub software stored in the ROM 2g to the main processing unit 2a (S24). The main processing unit 2a transmits a sub processing unit version property response including version information of the sub software to the center server 5 as a response to the sub processing unit version property request (S25).

センターサーバ5では、ネットワークアダプタから取得したバージョン情報を設定された副ソフトウェア(以降、旧:副ソフトウェアと称す)と、最新バージョンの副ソフトウェア(以降、新:副ソフトウェアと称す)とを比較して、旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する(差異抽出手段)(S26)。すなわち、変更エリアは、旧:副ソフトウェアのソフトウェアコードの中でバージョンアップのために変更すべき部分である。そして、センターサーバ5は、この変更エリアのソフトウェアコードや、書き込み先頭アドレスおよびデータ長等の書き込み情報を含むバージョンアップ情報を生成し(S27)、当該バージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信する(S28)。   The center server 5 compares the sub software set with the version information acquired from the network adapter (hereinafter referred to as old: sub software) with the latest version of the sub software (hereinafter referred to as new: sub software). The difference between the old: secondary software and the new: secondary software is extracted as a change area (difference extraction means) (S26). That is, the change area is a part to be changed for version upgrade in the software code of the old: secondary software. Then, the center server 5 generates upgrade information including the software code of the change area, and write information such as the write start address and data length (S27), and sends a write request including the upgrade information to the network adapter 2. Transmit (S28).

ネットワークアダプタ2では、主処理部2aがバージョンアップ情報を含む書き込み要求を副処理部2bへ出力する(S29)。そして、副処理部2bは、受信したバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、変更エリアのみを最新バージョンに書き換え、副ソフトウェアのバージョンアップ情報を更新する(S30)。   In the network adapter 2, the main processing unit 2a outputs a write request including upgrade information to the sub-processing unit 2b (S29). Then, based on the received upgrade information, the secondary processing unit 2b rewrites only the changed area of the old: secondary software stored in the ROM 2g to the latest version, and updates the upgrade information of the secondary software (S30). ).

したがって、主処理部2aから副処理部2bへ出力されるバージョンアップ情報は、旧:副ソフトウェアと新:副ソフトウェアとの変更エリア(差異)だけであり、新:副ソフトウェアの全コードを含むバージョンアップ情報をダウンロードする場合と比べて、ダウンロード時間の短縮、および副処理部2bの負荷低減が可能となる。   Therefore, the upgrade information output from the main processing unit 2a to the sub processing unit 2b is only the change area (difference) between the old: sub software and the new: sub software, and the new: version including all codes of the sub software. Compared to downloading up information, the download time can be shortened and the load on the sub-processing unit 2b can be reduced.

(実施形態3)
本実施形態では、実施形態1における図3のシーケンスを行った後に、操作端末3によって副ソフトウェアのバージョンアップの必要があることを報知された場合には、図6に示すバージョンアップ処理を行う。なお、本実施形態のネットワークシステムの構成は実施形態1と同様であり、説明は省略する。
(Embodiment 3)
In the present embodiment, after performing the sequence of FIG. 3 in the first embodiment, when the operation terminal 3 informs that it is necessary to upgrade the sub software, the upgrade process shown in FIG. 6 is performed. Note that the configuration of the network system of this embodiment is the same as that of the first embodiment, and a description thereof will be omitted.

まず、図6において、操作端末3の制御部3aからセンターサーバ5へバージョンアップ開始要求を送信する処理(S21)から、センターサーバ5が旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する処理(S26)までは実施形態2と同様であり、説明は省略する。   First, in FIG. 6, the center server 5 changes the difference between the old: secondary software and the new: secondary software from the process (S 21) of transmitting a version upgrade start request from the control unit 3 a of the operation terminal 3 to the center server 5. The process up to the extraction (S26) is the same as in the second embodiment, and a description thereof will be omitted.

そして、変更エリアがソフトウェアコードの複数領域に存在する場合、センターサーバ5は、変更エリアを領域毎の複数モジュールに分割し、複数モジュール(ここでは、モジュールM1,M2,M3の3つ)からなるバージョンアップ情報を生成する(S41)。次に、このモジュール数[3モジュール]を含む副処理部バージョンアップ要求をネットワークアダプタ2へ送信する(S42)。次に、センターサーバ5は、3つのモジュールM1,M2,M3から構成されたバージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信する(S43)。   When the change area exists in a plurality of areas of the software code, the center server 5 divides the change area into a plurality of modules for each area, and includes a plurality of modules (here, modules M1, M2, and M3). Version upgrade information is generated (S41). Next, a sub-processor upgrade request including the number of modules [3 modules] is transmitted to the network adapter 2 (S42). Next, the center server 5 transmits a write request including upgrade information composed of the three modules M1, M2, and M3 to the network adapter 2 (S43).

ネットワークアダプタ2では、主処理部2aが、バージョンアップ情報をRAM2fに格納した後に(S44)、モジュール数[3モジュール]を通知するためのモジュール数通知を副処理部2bへ送信し(S45)、副処理部2bは、受信予定のモジュールが3つあることを認識する。   In the network adapter 2, after the main processing unit 2a stores the upgrade information in the RAM 2f (S44), it sends a module number notification for notifying the number of modules [3 modules] to the sub-processing unit 2b (S45). The sub processor 2b recognizes that there are three modules scheduled to be received.

そして、主処理部2aは、モジュールM1を含む書き込み要求を副処理部2bへ出力する(S46)。そして、副処理部2bは、受信したモジュールM1のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM1の変更エリアのみを最新バージョンに書き換える(S47)。   Then, the main processing unit 2a outputs a write request including the module M1 to the sub processing unit 2b (S46). Then, the sub-processing unit 2b rewrites only the changed area of the module M1 in the old: sub-software stored in the ROM 2g based on the received version upgrade information of the module M1 (S47).

次に、主処理部2aは、モジュールM2を含む書き込み要求を副処理部2bへ出力する(S48)。そして、副処理部2bは、受信したモジュールM2のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM2の変更エリアのみを最新バージョンに書き換える(S49)。   Next, the main processing unit 2a outputs a write request including the module M2 to the sub processing unit 2b (S48). Then, the sub-processing unit 2b rewrites only the changed area of the module M2 in the old: sub-software stored in the ROM 2g based on the received version upgrade information of the module M2 (S49).

次に、主処理部2aは、モジュールM3を含む書き込み要求を副処理部2bへ出力する(S50)。そして、副処理部2bは、受信したモジュールM3のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM3の変更エリアのみを最新バージョンに書き換える(S51)。   Next, the main processing unit 2a outputs a write request including the module M3 to the sub processing unit 2b (S50). Then, the sub-processing unit 2b rewrites only the change area of the module M3 in the old: sub-software stored in the ROM 2g based on the received version upgrade information of the module M3 (S51).

そして、副処理部2bは、モジュールによる副ソフトウェアの書き換え残回数をカウントするカウンタ手段を構成した手段更新カウンタ2i(図1中の破線参照)を内部に具備しており、S45のモジュール数通知を受信した時点でカウント値「3」をセットする。そして、各モジュールによる副ソフトウェアの書き換えを完了する度にカウント値をデクリメントし、カウント値が「0」になった時点で、副ソフトウェアのバージョンアップ情報を更新して本処理を終了する。   The sub-processing unit 2b includes a means update counter 2i (refer to the broken line in FIG. 1) that constitutes counter means for counting the number of remaining rewrites of sub-software by the module, and notifies the number of modules in S45. At the time of reception, the count value “3” is set. The count value is decremented each time the rewriting of the sub software by each module is completed, and when the count value becomes “0”, the version upgrade information of the sub software is updated and this processing is terminated.

このように、センターサーバ5から送信された複数モジュールのバージョンアップ情報を、主処理部2aのRAM2fに一旦保存するので、センターサーバ5は、主処理部2aから副処理部2bへの通信速度が遅いことによる送信待ちを行う必要はなく、センターサーバ5の負荷を低減することができ、センターサーバ5が他の端末装置と通信可能な時間が増える。   As described above, since the upgrade information of the plurality of modules transmitted from the center server 5 is temporarily stored in the RAM 2f of the main processing unit 2a, the center server 5 has a communication speed from the main processing unit 2a to the sub processing unit 2b. There is no need to wait for transmission due to slowness, the load on the center server 5 can be reduced, and the time during which the center server 5 can communicate with other terminal devices increases.

(実施形態4)
本実施形態では、実施形態3において、ネットワークアダプタ2の主処理部2aが、バージョンアップ情報をRAM2fに格納し(S44)、モジュール数[3モジュール]を通知するためのモジュール数通知を副処理部2bへ送信した後(S45)の処理について、図7を用いて説明する。
(Embodiment 4)
In this embodiment, in the third embodiment, the main processing unit 2a of the network adapter 2 stores the upgrade information in the RAM 2f (S44), and notifies the sub-processing unit of the number of modules for notifying the number of modules [3 modules]. The processing after transmission to 2b (S45) will be described with reference to FIG.

まず、副処理部2bは、モジュールによる副ソフトウェアの書き換え残回数をカウントし、カウント値を不揮発性メモリによって保持する更新カウンタ2i(図1中の破線参照)を内部に具備しており、モジュール数通知[3モジュール]を受信すると、更新カウンタ2iの値を「3」にセットする(S61)。すなわち、副ソフトウェアを書き換えるべきモジュールの残数が「3」ということを示している。   First, the sub-processing unit 2b includes an update counter 2i (see a broken line in FIG. 1) that counts the remaining number of times the sub-software is rewritten by the module and holds the count value in a nonvolatile memory. When the notification [3 modules] is received, the value of the update counter 2i is set to “3” (S61). That is, the remaining number of modules whose sub-software should be rewritten is “3”.

そして、主処理部2aは、モジュールM1を含む書き込み要求を副処理部2bへ出力する(S62)。そして、副処理部2bは、受信したモジュールM1のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM1の変更エリアのみを最新バージョンに書き換えるとともに(S63)、更新カウンタ2iの値をデクリメントして「2」にセットする(S64)。   Then, the main processing unit 2a outputs a write request including the module M1 to the sub processing unit 2b (S62). Then, the sub-processing unit 2b rewrites only the changed area of the module M1 in the old: sub-software stored in the ROM 2g based on the received version upgrade information of the module M1 (S63), and updates The value of the counter 2i is decremented and set to “2” (S64).

しかしこの時点で、停電等による電源断、ユーザによるリセット操作、主ソフトウェアのバグ等が発生すると、主処理部2aがRAM2fに格納しているバージョンアップ情報が消えてしまう(S65)。しかし、更新カウンタ2iの値は不揮発性メモリによって保持されているので、再起動時(S66)にもカウント値「2」を保持している。   However, at this time, if a power interruption due to a power failure or the like, a reset operation by the user, a bug in the main software, etc. occurs, the upgrade information stored in the RAM 2f by the main processing unit 2a is erased (S65). However, since the value of the update counter 2i is held by the nonvolatile memory, the count value “2” is also held at the time of restart (S66).

そこで副処理部2bは、再起動時にカウント値を読み出して、1以上の値がセットされていれば、まだ書き換えを行っていないバージョンアップ情報のモジュールがあると判断して(S67)、バージョンアップ再開要求を主処理部2aへ送信する(S68)。バージョンアップ再開要求には、書き換え残回数である更新カウンタ2iの値「2」と、ROM2gに格納している旧:副ソフトウェアのバージョン情報(モジュールM1の書き換えは完了しているが、モジュールM2,M3の書き換えは完了していないので、バージョン情報は更新されていない)とが含まれる。主処理部2aは、バージョンアップ再開要求をセンターサーバ5へ転送する(S69)。   Therefore, the sub-processing unit 2b reads the count value at the time of restart, and if a value of 1 or more is set, the sub-processing unit 2b determines that there is a module of upgrade information that has not been rewritten yet (S67). A restart request is transmitted to the main processing unit 2a (S68). In the version upgrade restart request, the value “2” of the update counter 2i that is the remaining number of rewrites and the old: sub-software version information stored in the ROM 2g (although rewriting of the module M1 has been completed, the module M2, Since the rewriting of M3 has not been completed, the version information has not been updated). The main processing unit 2a transfers a version upgrade restart request to the center server 5 (S69).

そして、センターサーバ5は、旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する処理(S70)を行い、変更エリアがソフトウェアコードの複数領域に存在する場合、センターサーバ5は、変更エリアを領域毎の複数モジュールに分割する。この場合、モジュールM1,M2,M3に分割されるのであるが、バージョンアップ再開要求に含まれる書き換え残回数「2」を参照して、モジュールM1は書き換え済であると判断して、2つのモジュールM2,M3からなるバージョンアップ情報を生成する(S71)。次に、このモジュール数[2モジュール]を含む副処理部バージョンアップ要求をネットワークアダプタ2へ送信する(S72)。次に、センターサーバ5は、2つのモジュールM2,M3から構成されたバージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信する(S73)。   Then, the center server 5 performs a process (S70) of extracting a difference between the old: secondary software and the new: secondary software as a change area. When the change area exists in a plurality of areas of the software code, the center server 5 Divide the change area into multiple modules for each area. In this case, although it is divided into modules M1, M2, and M3, it is determined that the module M1 has been rewritten with reference to the remaining number of rewrites “2” included in the upgrade restart request, and the two modules The upgrade information consisting of M2 and M3 is generated (S71). Next, a sub processor version upgrade request including the number of modules [2 modules] is transmitted to the network adapter 2 (S72). Next, the center server 5 transmits a write request including upgrade information composed of the two modules M2 and M3 to the network adapter 2 (S73).

ネットワークアダプタ2では、主処理部2aが、バージョンアップ情報をRAM2fに格納した後に(S74)、モジュール数[2モジュール]を通知するためのモジュール数通知を副処理部2bへ送信し(S75)、副処理部2bは、更新カウンタ2iの値を「2」にセットする(S76)。   In the network adapter 2, after the main processing unit 2a stores the upgrade information in the RAM 2f (S74), the main processing unit 2a transmits a module number notification for notifying the number of modules [2 modules] to the sub-processing unit 2b (S75). The sub processing unit 2b sets the value of the update counter 2i to “2” (S76).

そして、主処理部2aは、モジュールM2を含む書き込み要求を副処理部2bへ出力する(S77)。そして、副処理部2bは、受信したモジュールM2のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM2の変更エリアのみを最新バージョンに書き換えるとともに(S78)、更新カウンタ2iの値をデクリメントして「1」にセットする(S79)。   Then, the main processing unit 2a outputs a write request including the module M2 to the sub processing unit 2b (S77). Then, the sub processing unit 2b rewrites only the changed area of the module M2 in the old: sub software stored in the ROM 2g based on the received version upgrade information of the module M2 (S78), and updates The value of the counter 2i is decremented and set to “1” (S79).

次に、主処理部2aは、モジュールM3を含む書き込み要求を副処理部2bへ出力する(S80)。そして、副処理部2bは、受信したモジュールM3のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM3の変更エリアのみを最新バージョンに書き換えるとともに(S81)、更新カウンタ2iの値をデクリメントして「0」にセットする(S82)。そして、副処理部2bは、更新カウンタの値が「0」になった時点でバージョンアップ完了と判断し、副ソフトウェアのバージョンアップ情報を更新して本処理を終了する。   Next, the main processing unit 2a outputs a write request including the module M3 to the sub processing unit 2b (S80). Then, the sub-processing unit 2b rewrites only the changed area of the module M3 in the old: sub-software stored in the ROM 2g based on the received version upgrade information of the module M3 (S81), and updates it. The value of the counter 2i is decremented and set to “0” (S82). Then, the sub-processing unit 2b determines that the upgrade has been completed when the value of the update counter reaches “0”, updates the version-up information of the sub-software, and ends this process.

このように、停電等による電源断、ユーザによるリセット操作、主ソフトウェアのバグ等で、バージョンアップ情報のダウンロードが中断された場合でも、再起動後に、書き換え未完了部分よりダウンロードを再開するため、バージョンアップ処理の復旧を効率よく行うことができる。   In this way, even if the download of the upgrade information is interrupted due to a power failure due to a power failure, a reset operation by the user, a bug in the main software, etc. It is possible to efficiently restore the up process.

なお、上述のネットワークアダプタ2では、主処理部2aが、センターサーバ5からのバージョンアップ情報を揮発性のRAM2fに格納しているが、RAM2fを不揮発性のメモリで構成してもよい。この場合、再起動後に副処理部2bからバージョンアップ再開要求を受信した主処理部2aは、バージョンアップ再開要求に含まれる書き換え残回数「2」を参照して、モジュールM1は書き換え済であると判断する。そして、不揮発性のRAM2fの保持内容を参照してモジュールM2,M3を含む書き込み要求を副処理部2bへ順次出力する。すなわち、RAM2fを不揮発性のメモリで構成することによって再起動時にセンターサーバ5との通信が不要となり、通信処理を簡略化できる。   In the network adapter 2 described above, the main processing unit 2a stores the upgrade information from the center server 5 in the volatile RAM 2f. However, the RAM 2f may be configured by a nonvolatile memory. In this case, the main processing unit 2a that has received the upgrade resumption request from the sub-processing unit 2b after the restart refers to the remaining number of rewrites “2” included in the upgrade upgrade restart request, and the module M1 has been rewritten. to decide. Then, the write request including the modules M2 and M3 is sequentially output to the sub-processing unit 2b with reference to the contents held in the nonvolatile RAM 2f. That is, by configuring the RAM 2f with a non-volatile memory, communication with the center server 5 becomes unnecessary at the time of restart, and communication processing can be simplified.

(実施形態5)
本実施形態では、実施形態2において、センターサーバ5が、バージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信した後(S28)の処理について、図8を用いて説明する。
(Embodiment 5)
In this embodiment, the processing after the center server 5 transmits a write request including upgrade information to the network adapter 2 (S28) in the second embodiment will be described with reference to FIG.

まずセンターサーバ5では、ネットワークアダプタ2から取得したバージョン情報を設定された旧:副ソフトウェアと、最新バージョンの新:副ソフトウェアとを比較して、旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する(差異抽出手段)。そして、センターサーバ5は、この変更エリアのソフトウェアコードや、書き込み先頭アドレスおよびデータ長等の書き込み情報を含むバージョンアップ情報を生成し、当該バージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信する(S28)。   First, the center server 5 compares the old: secondary software set with the version information acquired from the network adapter 2 with the latest: new: secondary software, and compares the difference between the old: secondary software and the new: secondary software. Extract as a change area (difference extraction means). Then, the center server 5 generates upgrade information including software information of the change area, write information such as a write head address and data length, and transmits a write request including the upgrade information to the network adapter 2 ( S28).

ネットワークアダプタ2では、主処理部2aが、受信した書き込み要求に含まれるバージョンアップ情報に基づいてソフトウェアコード中の変更エリアを特定し、当該変更エリアのコード要求を副処理部2bへ送信する(S91)。副処理部2bは、ROM2gに格納している旧:副ソフトウェアのコードにおける当該変更エリアを抽出して、旧コード情報として主処理部2aへ送信する(S92)。主処理部2aは、旧コード情報を不揮発性のフラッシュメモリ2j(図1中の破線参照)に格納した後に(S93)、バージョンアップ情報を含む書き込み要求を副処理部2bへ出力する(S94)。そして、副処理部2bは、受信したバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、変更エリアのみを最新バージョンに書き換え、副ソフトウェアのバージョンアップ情報を更新する(S95)。   In the network adapter 2, the main processing unit 2a identifies a change area in the software code based on the upgrade information included in the received write request, and transmits the code request for the change area to the sub-processing unit 2b (S91). ). The sub-processing unit 2b extracts the change area in the old: sub-software code stored in the ROM 2g, and transmits it to the main processing unit 2a as old code information (S92). The main processing unit 2a stores the old code information in the nonvolatile flash memory 2j (see the broken line in FIG. 1) (S93), and then outputs a write request including upgrade information to the sub processing unit 2b (S94). . Then, based on the received upgrade information, the secondary processing unit 2b rewrites only the changed area of the old: secondary software stored in the ROM 2g to the latest version, and updates the upgrade information of the secondary software (S95). ).

しかし、副ソフトウェアをバージョンアップしたことによって不具合が発生した場合、ネットワークアダプタ2に設けた図示しない復帰スイッチをユーザが操作することによって、主処理部2aに復帰要求トリガが発生し(S96)、主処理部2aは、旧コード情報をフラッシュメモリ2jから読み出して、旧コード情報を含む書き込み要求を副処理部2bへ出力する(S97)。そして、副処理部2bは、受信した旧コード情報に基づいて、ROM2gに格納している新:副ソフトウェアのうち、変更エリアを旧コード情報に書き換え、副ソフトウェアのバージョンを前のバージョンに戻す(S98)。   However, when a problem occurs due to the version upgrade of the sub software, a user operates a return switch (not shown) provided in the network adapter 2 to generate a return request trigger in the main processing unit 2a (S96). The processing unit 2a reads the old code information from the flash memory 2j, and outputs a write request including the old code information to the sub-processing unit 2b (S97). Then, based on the received old code information, the sub-processing unit 2b rewrites the changed area of the new: sub-software stored in the ROM 2g with the old code information, and returns the version of the sub-software to the previous version ( S98).

したがって、宅内ネットワークNT1やインターネットNT2が不通状態となっても、副ソフトウェアを元のバージョンに戻してバージョンアップによる不具合を解消することができる。   Therefore, even if the in-home network NT1 and the Internet NT2 are disconnected, the sub software can be returned to the original version to solve the problem caused by the version upgrade.

勿論、操作端末3の操作部3dの操作によって、ネットワーク経由で復帰要求トリガをネットワークアダプタ2へ送信してもよい。   Of course, the return request trigger may be transmitted to the network adapter 2 via the network by operating the operation unit 3d of the operation terminal 3.

また、上記実施形態では、センターサーバ5が、ネットワークアダプタ2の副ソフトウェアをバージョンアップする必要有りと判断した場合、操作端末3等の端末装置へバージョンアップの必要性を報知した後に、センターサーバ5からネットワークアダプタ2へ副ソフトウェアのバージョンアップ情報をダウンロードして、最新バージョンに書き換えている。しかし、センターサーバ5が、ネットワークアダプタ2の副ソフトウェアをバージョンアップする必要有りと判断した場合、操作端末3等の端末装置へバージョンアップの必要性を報知するのみの構成や、ネットワークアダプタ2の副ソフトウェアをバージョンアップする必要有りと判断した場合、ユーザに報知することなく、センターサーバ5からネットワークアダプタ2へ副ソフトウェアのバージョンアップ情報をダウンロードして、最新バージョンに書き換える構成でもよい。   In the above-described embodiment, when the center server 5 determines that the sub software of the network adapter 2 needs to be upgraded, the center server 5 notifies the terminal device such as the operation terminal 3 of the necessity for the upgrade. The upgrade information of the sub software is downloaded to the network adapter 2 and rewritten to the latest version. However, when the center server 5 determines that the sub software of the network adapter 2 needs to be upgraded, the center server 5 only needs to notify the terminal device such as the operation terminal 3 of the necessity of version upgrade, If it is determined that the software needs to be upgraded, the sub software upgrade information may be downloaded from the center server 5 to the network adapter 2 and rewritten to the latest version without notifying the user.

また、実施形態1に記載したバージョンアップモードと通常モードとを切替可能にした構成を他の実施形態に適用してもよく、この場合も実施形態1と同様の効果を得ることができる。   Further, the configuration in which the upgrade mode and the normal mode described in the first embodiment can be switched may be applied to other embodiments, and in this case, the same effect as the first embodiment can be obtained.

1 設備機器
2 ネットワークアダプタ
2a 主処理部
2b 副処理部
2e,2g ROM
2f,2h RAM
3 操作端末
5 センターサーバ
NT1 宅内ネットワーク
NT2 インターネット
1 Equipment 2 Network adapter 2a Main processing unit 2b Sub processing unit 2e, 2g ROM
2f, 2h RAM
3 Operation terminal 5 Center server NT1 Residential network NT2 Internet

Claims (9)

設備機器と通信を行うネットワークアダプタと、ネットワークアダプタと通信を行うセンターサーバとがネットワークに接続され、
ネットワークアダプタは、ネットワークを介したセンターサーバとの通信処理を行うための主ソフトウェアを格納した主記憶部と、主ソフトウェアを実行することによってネットワークを介した通信を行う主処理部と、バージョン情報を付与されて設備機器との通信処理を行うための副ソフトウェアを格納した副記憶部と、主処理部との間でデータ授受可能であるとともに、副ソフトウェアを実行することによって設備機器と通信を行う副処理部とを備え、主処理部は、副処理部から副ソフトウェアのバージョン情報を取得する手段を具備しており、ネットワークを介して副ソフトウェアのバージョン情報の問合せ要求を受信すると、副ソフトウェアのバージョン情報をセンターサーバへ送信し、
センターサーバは、ネットワークアダプタから副ソフトウェアのバージョン情報を受信すると、当該バージョン情報に基づいて、ネットワークアダプタにおいて副ソフトウェアのバージョンアップが必要か否かを判定し、バージョンアップが必要であると判定した場合には、バージョンアップに関する情報をネットワークに送信する
ことを特徴とするネットワークシステム。
The network adapter that communicates with the equipment and the center server that communicates with the network adapter are connected to the network,
The network adapter includes a main storage unit that stores main software for performing communication processing with the center server via the network, a main processing unit that performs communication via the network by executing the main software, and version information. Data can be exchanged between the main processing unit and the secondary storage unit that stores the secondary software for performing communication processing with the equipment device, and communicates with the equipment device by executing the secondary software. A sub-processing unit, and the main processing unit includes means for acquiring sub-software version information from the sub-processing unit, and upon receiving a sub-software version information inquiry request via the network, Send version information to the center server,
When the center server receives the version information of the secondary software from the network adapter, the center server determines whether the version upgrade of the secondary software is necessary in the network adapter based on the version information. A network system characterized by sending information about version upgrades to the network.
前記センターサーバが送信するバージョンアップに関する情報は、バージョンアップの必要を報知する報知信号であり、報知信号を受信したときにバージョンアップの必要を報知する報知手段と、当該報知手段による報知動作があった後に、副ソフトウェアのバージョンアップ開始要求をセンターサーバへ送信する開始要求送信手段とをネットワーク上に備え、
バージョンアップ開始要求を受信したセンターサーバは、ネットワークアダプタから受信したバージョン情報より新しいバージョン情報を付与された副ソフトウェアにバージョンアップするためのバージョンアップ情報をネットワークアダプタへ送信し、
ネットワークアダプタは、主処理部がバージョンアップ情報を受信して副処理部へ出力し、副処理部は、バージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアを書き換えることを特徴とする請求項1記載のネットワークシステム。
The information related to version upgrade transmitted by the center server is a notification signal for notifying the necessity of version upgrade, and there is a notification means for notifying the necessity for version upgrade when receiving the notification signal, and a notification operation by the notification means. After that, the network is provided with a start request transmission means for transmitting a sub-software version upgrade start request to the center server,
The center server that has received the upgrade start request sends upgrade information to the network adapter for upgrading to the sub-software to which version information that is newer than the version information received from the network adapter is provided.
The network adapter is characterized in that the main processing unit receives the upgrade information and outputs it to the sub-processing unit, and the sub-processing unit rewrites the sub-software stored in the sub-storage unit based on the upgrade information. The network system according to claim 1.
前記センターサーバが送信するバージョンアップに関する情報は、ネットワークアダプタから受信したバージョン情報より新しいバージョン情報を付与された副ソフトウェアにバージョンアップするためのバージョンアップ情報であり、ネットワークアダプタは、前記主処理部がバージョンアップ情報を受信して副処理部へ出力し、副処理部は、バージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアを書き換えることを特徴とする請求項1記載のネットワークシステム。   The information related to version upgrade transmitted by the center server is version upgrade information for upgrading to sub-software to which version information newer than the version information received from the network adapter is assigned. The network system according to claim 1, wherein the upgrade information is received and output to the sub-processing unit, and the sub-processing unit rewrites the sub-software stored in the sub-storage unit based on the upgrade information. . 前記ネットワークアダプタは、前記主処理部がバージョンアップ情報を前記副処理部へ出力する間、副処理部は前記設備機器との通信を停止して、バージョンアップ情報を受信することを特徴とする請求項2または3記載のネットワークシステム。   The network adapter is characterized in that, while the main processing unit outputs upgrade information to the sub-processing unit, the sub-processing unit stops communication with the equipment and receives the upgrade information. Item 4. The network system according to Item 2 or 3. 前記センターサーバは、前記ネットワークアダプタから受信したバージョン情報を付与された副ソフトウェアと、当該副ソフトウェアより新しいバージョン情報を付与された副ソフトウェアとの差異を抽出する差異抽出手段を備えて、当該差異部分のみを書き換えるためのバージョンアップ情報をネットワークアダプタへ送信し、
ネットワークアダプタの副処理部は、バージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアのうち前記差異部分のみを書き換える
ことを特徴とする請求項2乃至4いずれか記載のネットワークシステム。
The center server includes a difference extraction unit that extracts a difference between the sub software to which the version information received from the network adapter is assigned and the sub software to which the version information is newer than the sub software. Send upgrade information for rewriting only to the network adapter,
The network system according to any one of claims 2 to 4, wherein the sub-processing unit of the network adapter rewrites only the difference portion of the sub-software stored in the sub-storage unit based on the upgrade information.
前記センターサーバは、前記差異部分を複数モジュールに分割したバージョンアップ情報を前記ネットワークアダプタへ送信し、
ネットワークアダプタの主処理部は、複数モジュールからなるバージョンアップ情報を記憶して、バージョンアップ情報をモジュール毎に副処理部へ順次出力し、副処理部は、モジュール毎のバージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアをモジュール毎に書き換える
ことを特徴とする請求項5記載のネットワークシステム。
The center server transmits upgrade information obtained by dividing the difference portion into a plurality of modules to the network adapter,
The main processing unit of the network adapter stores the upgrade information composed of a plurality of modules, and sequentially outputs the upgrade information to the sub-processing unit for each module.The sub-processing unit is based on the upgrade information for each module. The network system according to claim 5, wherein the sub software stored in the sub storage unit is rewritten for each module.
前記ネットワークアダプタの主処理部は、副処理部へバージョンアップ情報のモジュール数を通知し、前記ネットワークアダプタの副処理部は、主処理部から通知されたバージョンアップ情報のモジュール数に基づいて、書き換えていない残モジュール数を管理するカウンタ手段を備え、再起動時に、カウンタ手段を参照して書き換えていない残モジュールがある場合には、書き換えていない残モジュールに関する情報とともにバージョンアップ再開要求を主処理部から前記センターサーバへ送信し、センターサーバは、複数モジュールに分割した前記差異部分のうち、書き換えていない残モジュールを前記ネットワークアダプタへ送信することを特徴とする請求項6記載のネットワークシステム。   The main processing unit of the network adapter notifies the sub-processing unit of the number of modules of the upgrade information, and the sub-processing unit of the network adapter rewrites based on the number of modules of the upgrade information notified from the main processing unit. When there is a remaining module that has not been rewritten with reference to the counter means at the time of restart, the main processing unit issues a version upgrade restart request together with information on the remaining module that has not been rewritten. The network system according to claim 6, wherein the center server transmits to the network adapter the remaining module that has not been rewritten among the difference portions divided into a plurality of modules. 前記ネットワークアダプタの主処理部は、バージョンアップ情報を副処理部へ出力する前に、副記憶部に格納している副ソフトウェアを副処理部から取得して保存し、バージョンアップ情報を副処理部へ出力した後に復帰要求が発生した場合、保存している副ソフトウェアを副処理部へ出力し、副処理部は当該副ソフトウェアを副記憶部に書き込むことを特徴とする請求項1乃至7いずれか記載のネットワークシステム。   Before outputting the upgrade information to the secondary processing unit, the main processing unit of the network adapter acquires and saves the secondary software stored in the secondary storage unit from the secondary processing unit, and stores the upgrade information in the secondary processing unit. 8. If a return request is generated after the data is output to the sub processor, the stored sub software is output to the sub processor, and the sub processor writes the sub software in the sub memory. The network system described. ネットワークを介してセンターサーバに接続されるとともに設備機器と通信を行うネットワークアダプタであって、
ネットワークを介したセンターサーバとの通信処理を行うための主ソフトウェアを格納した主記憶部と、主ソフトウェアを実行することによってネットワークを介した通信を行う主処理部と、バージョン情報を付与されて設備機器との通信処理を行うための副ソフトウェアを格納した副記憶部と、主処理部との間でデータ授受可能であるとともに、副ソフトウェアを実行することによって設備機器と通信を行う副処理部とを備え、主処理部は、副処理部から副ソフトウェアのバージョン情報を取得する手段を具備しており、ネットワークを介して副ソフトウェアのバージョン情報の問合せ要求を受信すると、副ソフトウェアのバージョン情報に基づいて副ソフトウェアのバージョンアップが必要か否かを判定してバージョンアップが必要であると判定した場合にはバージョンアップに関する情報をネットワークに送信するセンターサーバへ、副ソフトウェアのバージョン情報を送信する
ことを特徴とするネットワークアダプタ。
A network adapter that is connected to a center server via a network and communicates with equipment.
A main storage unit that stores main software for performing communication processing with the center server via the network, a main processing unit that performs communication via the network by executing the main software, and facilities that are given version information A sub-storage unit that stores sub-software for performing communication processing with the device, and a sub-processing unit that can exchange data with the main processing unit, and communicate with the equipment by executing the sub-software. And the main processing unit includes means for acquiring version information of the sub software from the sub processing unit, and upon receiving an inquiry request for the version information of the sub software via the network, the main processing unit is based on the version information of the sub software. Therefore, it is necessary to determine whether or not the secondary software needs to be upgraded. And to the center server to send the information about upgrading to the network if it is determined, the network adapter and transmits the version information of the sub software.
JP2009052373A 2009-03-05 2009-03-05 Network system and network adapter Expired - Fee Related JP5174718B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009052373A JP5174718B2 (en) 2009-03-05 2009-03-05 Network system and network adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009052373A JP5174718B2 (en) 2009-03-05 2009-03-05 Network system and network adapter

Publications (2)

Publication Number Publication Date
JP2010205152A true JP2010205152A (en) 2010-09-16
JP5174718B2 JP5174718B2 (en) 2013-04-03

Family

ID=42966537

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009052373A Expired - Fee Related JP5174718B2 (en) 2009-03-05 2009-03-05 Network system and network adapter

Country Status (1)

Country Link
JP (1) JP5174718B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013065658A1 (en) * 2011-11-04 2013-05-10 シャープ株式会社 Information processing terminal, method for updating software, and program for causing information processing terminal to update software
JPWO2014181472A1 (en) * 2013-05-10 2017-02-23 三菱電機株式会社 Air conditioning system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000284948A (en) * 1999-03-31 2000-10-13 Fuji Photo Optical Co Ltd Multiple microcomputer system
JP2001216147A (en) * 2000-01-31 2001-08-10 Matsushita Electric Works Ltd Method for rewriting non-volatile memory and monitor and control system using the method
JP2002352154A (en) * 2001-05-29 2002-12-06 Nec Soft Ltd Rental system for home information appliance, rental shop server, and method and program for rental service
JP2005346190A (en) * 2004-05-31 2005-12-15 Toshiba Corp Home electric appliance information communication system
JP2006164030A (en) * 2004-12-09 2006-06-22 Canon Inc Firmware update method of multi-function device
JP2006298261A (en) * 2005-04-22 2006-11-02 Denso Corp Control unit for automobile
JP2007281810A (en) * 2006-04-05 2007-10-25 Sharp Corp Image processor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000284948A (en) * 1999-03-31 2000-10-13 Fuji Photo Optical Co Ltd Multiple microcomputer system
JP2001216147A (en) * 2000-01-31 2001-08-10 Matsushita Electric Works Ltd Method for rewriting non-volatile memory and monitor and control system using the method
JP2002352154A (en) * 2001-05-29 2002-12-06 Nec Soft Ltd Rental system for home information appliance, rental shop server, and method and program for rental service
JP2005346190A (en) * 2004-05-31 2005-12-15 Toshiba Corp Home electric appliance information communication system
JP2006164030A (en) * 2004-12-09 2006-06-22 Canon Inc Firmware update method of multi-function device
JP2006298261A (en) * 2005-04-22 2006-11-02 Denso Corp Control unit for automobile
JP2007281810A (en) * 2006-04-05 2007-10-25 Sharp Corp Image processor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013065658A1 (en) * 2011-11-04 2013-05-10 シャープ株式会社 Information processing terminal, method for updating software, and program for causing information processing terminal to update software
JP2013097711A (en) * 2011-11-04 2013-05-20 Sharp Corp Information processing terminal, method to updating software and program to cause information processing terminal to update software
JPWO2014181472A1 (en) * 2013-05-10 2017-02-23 三菱電機株式会社 Air conditioning system
US9870222B2 (en) 2013-05-10 2018-01-16 Mitsubishi Electric Corporation Air-conditioning system

Also Published As

Publication number Publication date
JP5174718B2 (en) 2013-04-03

Similar Documents

Publication Publication Date Title
JP6057392B2 (en) Control device, display device, firmware update method, and firmware update program
JP4888718B2 (en) Distributed control system
US20110302574A1 (en) Update management server, electronic apparatus, update management system, and method therefor
KR20050034409A (en) Home network system and its operating method
JP2004192602A (en) Home network system and its application method
KR100350506B1 (en) Time information management method and system for embed system
JP2004229266A (en) House electric appliance network system, house electric appliance network adapter, index server, house electric appliance network connection method, house electric appliance network adapter control method, and index server operating method
JP2009053920A (en) Program management system for on-vehicle electronic control unit
JP2005242691A (en) Program downloading/switching method and device for it
CN110532077B (en) Task processing method and device and storage medium
CN104346198A (en) Information processing apparatus, server apparatus, information processing method, and program
US20040024878A1 (en) Network device and automatic program update technique
CN102855149B (en) A kind of chip operating system upgrade method, device and system
JP5174718B2 (en) Network system and network adapter
CN112486733B (en) System restoration method, device, terminal and storage medium
JP4637140B2 (en) Computer system
JP2001296911A (en) Controller
JP4982388B2 (en) Computer system, server, computer terminal and program
JP2006113754A (en) Software update device and method
JP2005202518A (en) Adaptor
JP2006259849A (en) Portable terminal device
JP2003186645A (en) Data updating method of image forming apparatus, image forming apparatus, and image forming system
JP2007042038A (en) Device and method for controlling terminal equipment
JP2009032241A (en) Computer system, computer control method, and storage medium storing control programs
KR100724830B1 (en) Method for controlling remote display in remote control system

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100714

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110915

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121128

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121228

LAPS Cancellation because of no payment of annual fees