JP2010205152A - Network system and network adapter - Google Patents
Network system and network adapter Download PDFInfo
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Stored Programmes (AREA)
Abstract
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).
上記のようなネットワークアダプタに用いる処理部は、ネットワーク通信を制御する主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.
以下、本発明の実施の形態を図面に基づいて説明する。 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
設備機器1は、照明器具や空調機器あるいは種々のセキュリティ機器などの機能を有して、通信線W1を介してネットワークアダプタ2と通信可能に構成されており、ユニークなID情報(例えば、MACアドレス)を割り付けられて、ネットワークアダプタ2によって各機能を監視・制御されている。
The
ネットアダプタ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
主処理部2aは、そのパフォーマンスが高く、メモリ(ROM2e、RAM2f)のリソースも大きいので、宅内ネットワークNT1、インターネットNT2のネットワーク通信を高速で行う能力を具備しており、センターサーバ5との通信において大きなデータサイズを扱うことができる。そして、ROM2eには、センターサーバ5との間で宅内ネットワークNT1、インターネットNT2を介した通信処理を行うための主ソフトウェアを格納しており、主処理部2aは、主ソフトウェアを実行することによって、通信部2cを介したネットワーク通信を行う。主ソフトウェアには、バージョン情報が付与されており、主処理部2aによって管理されている。
The
副処理部2bは、設備機器1との間で低速の通信を行う能力があればよいので、そのパフォーマンスが低く、メモリ(ROM2g、RAM2h)のリソースも小さいものが用いられている。そして、ROM2gには、設備機器1との間で通信を行い、設備機器1の監視・制御のためのポート制御処理を行う副ソフトウェアを格納しており、副処理部2bは、副ソフトウェアを実行することによって、機器I/F部2dを介した機器監視・制御を行う。副ソフトウェアには、バージョン情報が付与されており、副処理部2bによって管理されている。
Since the
そして、主処理部2a−副処理部2b間の通信インターフェースは少量のデータ通信しか想定しておらず、主処理部2aと副処理部2bとの間は速度の遅いシリアル通信を行うため、大きなデータサイズを扱うことができない。
The communication interface between the
また、主処理部2aは、ネットワークアダプタ2の配下にある設備機器1の名称並びに動作状態を文字や記号で表示するための多数のウェブページ群を保持しており、操作端末3等の端末装置からのアクセスに応じてウェブページ群の中から対応するウェブページのデータを通信部2cより端末装置に提供(配信)するウェブサーバ機能を有している。
The
操作端末3は、図2に示すように、マイコンからなる制御部3aと、宅内ネットワークNT1が接続されて制御部3aと宅内ネットワークNT1とのインターフェースを行うLAN用の通信手段たる通信部3bと、液晶ディスプレイやドライブ回路からなる表示手段たる表示部3cと、押釦スイッチや表示部3cの画面上に配設されるタッチパネルを有し、ユーザの操作入力の情報を取り込む操作部3dと、スピーカとスピーカの駆動回路を有するスピーカ部3eとを備えている。
As shown in FIG. 2, the
制御部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
また、制御部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
ルータ4は、従来周知であるから詳細な構成についての図示並びに説明は省略する。
Since the
センターサーバ5は、バージョン毎の主ソフトウェアおよび副ソフトウェア、および各ソフトウェアに関する情報を格納しており、端末装置からインターネットNT2を介した要求を受け取ることによって、主ソフトウェアおよび副ソフトウェアの各バージョンアップ情報を端末装置へ提供する。さらに、操作端末3等の端末装置に提供する多数のウェブページ群を保持しており、端末装置からのアクセスに応じてウェブページ群の中から対応するウェブページのデータを通信部3bより端末装置に提供(配信)するウェブサーバ機能を有している。
The
ここで、主ソフトウェアおよび副ソフトウェアのバージョン情報は、各ソフトウェアコードの変更が発生した場合に、リリース毎に割り付けられる管理用情報であり、「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
次に、ネットワークアダプタ2が副ソフトウェアを更新するバージョンアップ時の動作について説明する。
Next, the operation at the time of version upgrade in which the
まず、図3に示すように、操作端末3において、操作部3dの操作によって副ソフトウェアのバージョン確認ボタンが押下されると、制御部3aはバージョンアップ確認要求をセンターサーバ5へ送信し(S1)、センターサーバ5は、副処理部バージョンプロパティ要求をネットワークアダプタ2へ送信する(S2)。
First, as shown in FIG. 3, in the
ネットワークアダプタ2では、主処理部2aが副処理部バージョンプロパティ要求を受信し、副処理部2bへバージョン取得要求を出力する(S3)。副処理部2bは、バージョン取得要求に対する応答として、ROM2gに格納している副ソフトウェアのバージョン情報を含むバージョン応答を主処理部2aへ送信する(S4)。主処理部2aは、副処理部バージョンプロパティ要求に対する応答として、副ソフトウェアのバージョン情報を含む副処理部バージョンプロパティ応答をセンターサーバ5へ送信する(S5)。
In the
センターサーバ5では、ネットワークアダプタ2から取得した副ソフトウェアのバージョン情報が、最新のバージョン情報であるか否かを判定する(S6)。ネットワークアダプタ2から取得した副ソフトウェアのバージョン情報が、最新のバージョンでなければ、バージョンアップ確認要求に対する応答として、副ソフトウェアのバージョンアップの必要性を報知するためのウェブページを含むバージョンアップ確認応答を操作端末3へ送信し、最新のバージョンであれば、バージョンアップ確認要求に対する応答として、副ソフトウェアのバージョンアップは必要ないことを報知するためのウェブページを含むバージョンアップ確認応答を操作端末3へ送信する(S7)。
The
操作端末3では、制御部3aが、バージョンアップ確認応答に含まれているウェブページを表示部3cに表示するとともに、スピーカ部3eからブザー音または人の音声を出力することによって、副ソフトウェアのバージョンアップの必要があること、または副ソフトウェアのバージョンアップの必要がないことをユーザに報知する。
In the
したがって、ユーザは、宅内の操作端末3を操作するのみで、ネットワークアダプタ2の副ソフトウェアのバージョンアップの必要性の有無を確認できる。すなわち、ネットワークアダプタ2の副処理部2bのソフトウェアのバージョンを容易に確認でき、バージョンアップの必要性を簡便に判断できるネットワークシステムとなる。
Therefore, the user can confirm whether or not the version upgrade of the sub software of the
また、本実施形態では、主処理部2aが、センターサーバ5から副処理部バージョンプロパティ要求を受信したときに副処理部2bからバージョン情報を取得している。しかし、主処理部2aは、起動時や一定時間毎にバージョン取得要求を副処理部2bへ出力して、副処理部2bから副ソフトウェアのバージョン情報を予め取得、保持しておき、センターサーバ5から副処理部バージョンプロパティ要求を受信した場合には、この予め保持している副ソフトウェアのバージョン情報を含む副処理部バージョンプロパティ応答をセンターサーバ5へ送信してもよい。
In the present embodiment, when the
さらに、バージョンアップの必要性の有無を報知する報知手段は、ネットワークアダプタ2にも設けてもよく、センターサーバ5から送信されるバージョンアップ確認応答によって、ネットワークアダプタ2で報知動作を行ってもよい。あるいは、センターサーバ5からインターネットNT2経由で携帯端末6へバージョンアップ確認応答を送信し、携帯端末6でバージョンアップの必要性の有無を報知してもよい。
Further, a notification means for notifying whether the upgrade is necessary may be provided also in the
次に、操作端末3によって副ソフトウェアのバージョンアップの必要があることを報知された場合には、図4に示すバージョンアップ処理を行う。
Next, when the
まず、操作端末3において、操作部3dの操作によって副ソフトウェアのバージョンアップ開始ボタンが押下されると、制御部3aはバージョンアップ開始要求をセンターサーバ5へ送信し(開始要求送信手段)(S11)、センターサーバ5は、操作端末3へバージョンアップ開始応答を返信した後に(S12)、副処理部バージョンメソッド要求をネットワークアダプタ2へ送信する(S13)。
First, in the
ネットワークアダプタ2では、主処理部2aが副処理部バージョンメソッド要求を受信し、センターサーバ5へ副処理部バージョンアップメソッド応答を返信した後に(S14)、副処理部2bへバージョンアップモード移行要求を出力する(S15)。
In the
この時点までの副処理部2bは、主処理部2aとの間で行われるシリアル通信の速度を9600bpsに設定しており、主処理部2aとの通信速度を抑えて、設備機器1の監視・制御を実行する通常処理を行っている(通常モード)。しかし、バージョンアップモード移行要求を受信すると、バージョンアップモード移行応答を主処理部2aへ返信するとともに(S16)、設備機器1との通信を停止し(すなわち、設備機器1の監視・制御処理を停止し)、主処理部2aとの間で行われるシリアル通信の速度を19200bpsに上げて、主処理部2aとの通信速度を速くする。すなわち副処理部2bは、主処理部2aとの間のシリアル通信に最大限のパフォーマンスおよびリソースを使用して、主処理部2aとの通信速度を最大限まで上げたバージョンアップモードに移行する(S17)。
The
そして、主処理部2aは、センターサーバ5へバージョンアップモード移行応答を転送し、センターサーバ5は、最新バージョンの副ソフトウェアにバージョンアップするためのバージョンアップ情報をネットワークアダプタ2へ送信する。ネットワークアダプタ2では、主処理部2aがバージョンアップ情報を副処理部2bへ出力する。このとき、副処理部2bは、通信速度の速いバージョンアップモードで動作しているので、主処理部2aからバージョンアップ情報を受け取るための通信時間は短縮され、ダウンロード時間が短縮される。そして、副処理部2bは、受信したバージョンアップ情報に基づいて、ROM2gに格納している副ソフトウェアを最新バージョンに書き換え、副ソフトウェアのバージョンアップ情報を更新する(S18)。
Then, the
副処理部2bは、副ソフトウェアのバージョンアップ処理を完了すると、バージョンアップモードから通常モードに戻って、主処理部2aとの間で行われるシリアル通信の速度を19200bpsから9600bpsに切り替えて、設備機器1の監視・制御処理を再開する(S19)。
Upon completion of the upgrade process of the sub software, the
このように、バージョンアップの必要性があることを通知された場合、ユーザは操作端末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
(実施形態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
まず、図5に示すように、操作端末3において、操作部3dの操作によって副ソフトウェアのバージョンアップ開始ボタンが押下されると、制御部3aはバージョンアップ開始要求をセンターサーバ5へ送信し(S21)、センターサーバ5は、副処理部バージョンプロパティ要求をネットワークアダプタ2へ送信する(S22)。
First, as shown in FIG. 5, in the
ネットワークアダプタ2では、主処理部2aが副処理部バージョンプロパティ要求を受信し、副処理部2bへバージョン取得要求を出力する(S23)。副処理部2bは、バージョン取得要求に対する応答として、ROM2gに格納している副ソフトウェアのバージョン情報を含むバージョン応答を主処理部2aへ送信する(S24)。主処理部2aは、副処理部バージョンプロパティ要求に対する応答として、副ソフトウェアのバージョン情報を含む副処理部バージョンプロパティ応答をセンターサーバ5へ送信する(S25)。
In the
センターサーバ5では、ネットワークアダプタから取得したバージョン情報を設定された副ソフトウェア(以降、旧:副ソフトウェアと称す)と、最新バージョンの副ソフトウェア(以降、新:副ソフトウェアと称す)とを比較して、旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する(差異抽出手段)(S26)。すなわち、変更エリアは、旧:副ソフトウェアのソフトウェアコードの中でバージョンアップのために変更すべき部分である。そして、センターサーバ5は、この変更エリアのソフトウェアコードや、書き込み先頭アドレスおよびデータ長等の書き込み情報を含むバージョンアップ情報を生成し(S27)、当該バージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信する(S28)。
The
ネットワークアダプタ2では、主処理部2aがバージョンアップ情報を含む書き込み要求を副処理部2bへ出力する(S29)。そして、副処理部2bは、受信したバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、変更エリアのみを最新バージョンに書き換え、副ソフトウェアのバージョンアップ情報を更新する(S30)。
In the
したがって、主処理部2aから副処理部2bへ出力されるバージョンアップ情報は、旧:副ソフトウェアと新:副ソフトウェアとの変更エリア(差異)だけであり、新:副ソフトウェアの全コードを含むバージョンアップ情報をダウンロードする場合と比べて、ダウンロード時間の短縮、および副処理部2bの負荷低減が可能となる。
Therefore, the upgrade information output from the
(実施形態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
まず、図6において、操作端末3の制御部3aからセンターサーバ5へバージョンアップ開始要求を送信する処理(S21)から、センターサーバ5が旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する処理(S26)までは実施形態2と同様であり、説明は省略する。
First, in FIG. 6, the
そして、変更エリアがソフトウェアコードの複数領域に存在する場合、センターサーバ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
ネットワークアダプタ2では、主処理部2aが、バージョンアップ情報をRAM2fに格納した後に(S44)、モジュール数[3モジュール]を通知するためのモジュール数通知を副処理部2bへ送信し(S45)、副処理部2bは、受信予定のモジュールが3つあることを認識する。
In the
そして、主処理部2aは、モジュールM1を含む書き込み要求を副処理部2bへ出力する(S46)。そして、副処理部2bは、受信したモジュールM1のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM1の変更エリアのみを最新バージョンに書き換える(S47)。
Then, the
次に、主処理部2aは、モジュールM2を含む書き込み要求を副処理部2bへ出力する(S48)。そして、副処理部2bは、受信したモジュールM2のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM2の変更エリアのみを最新バージョンに書き換える(S49)。
Next, the
次に、主処理部2aは、モジュールM3を含む書き込み要求を副処理部2bへ出力する(S50)。そして、副処理部2bは、受信したモジュールM3のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM3の変更エリアのみを最新バージョンに書き換える(S51)。
Next, the
そして、副処理部2bは、モジュールによる副ソフトウェアの書き換え残回数をカウントするカウンタ手段を構成した手段更新カウンタ2i(図1中の破線参照)を内部に具備しており、S45のモジュール数通知を受信した時点でカウント値「3」をセットする。そして、各モジュールによる副ソフトウェアの書き換えを完了する度にカウント値をデクリメントし、カウント値が「0」になった時点で、副ソフトウェアのバージョンアップ情報を更新して本処理を終了する。
The
このように、センターサーバ5から送信された複数モジュールのバージョンアップ情報を、主処理部2aのRAM2fに一旦保存するので、センターサーバ5は、主処理部2aから副処理部2bへの通信速度が遅いことによる送信待ちを行う必要はなく、センターサーバ5の負荷を低減することができ、センターサーバ5が他の端末装置と通信可能な時間が増える。
As described above, since the upgrade information of the plurality of modules transmitted from the
(実施形態4)
本実施形態では、実施形態3において、ネットワークアダプタ2の主処理部2aが、バージョンアップ情報をRAM2fに格納し(S44)、モジュール数[3モジュール]を通知するためのモジュール数通知を副処理部2bへ送信した後(S45)の処理について、図7を用いて説明する。
(Embodiment 4)
In this embodiment, in the third embodiment, the
まず、副処理部2bは、モジュールによる副ソフトウェアの書き換え残回数をカウントし、カウント値を不揮発性メモリによって保持する更新カウンタ2i(図1中の破線参照)を内部に具備しており、モジュール数通知[3モジュール]を受信すると、更新カウンタ2iの値を「3」にセットする(S61)。すなわち、副ソフトウェアを書き換えるべきモジュールの残数が「3」ということを示している。
First, the
そして、主処理部2aは、モジュールM1を含む書き込み要求を副処理部2bへ出力する(S62)。そして、副処理部2bは、受信したモジュールM1のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM1の変更エリアのみを最新バージョンに書き換えるとともに(S63)、更新カウンタ2iの値をデクリメントして「2」にセットする(S64)。
Then, the
しかしこの時点で、停電等による電源断、ユーザによるリセット操作、主ソフトウェアのバグ等が発生すると、主処理部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
そこで副処理部2bは、再起動時にカウント値を読み出して、1以上の値がセットされていれば、まだ書き換えを行っていないバージョンアップ情報のモジュールがあると判断して(S67)、バージョンアップ再開要求を主処理部2aへ送信する(S68)。バージョンアップ再開要求には、書き換え残回数である更新カウンタ2iの値「2」と、ROM2gに格納している旧:副ソフトウェアのバージョン情報(モジュールM1の書き換えは完了しているが、モジュールM2,M3の書き換えは完了していないので、バージョン情報は更新されていない)とが含まれる。主処理部2aは、バージョンアップ再開要求をセンターサーバ5へ転送する(S69)。
Therefore, the
そして、センターサーバ5は、旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する処理(S70)を行い、変更エリアがソフトウェアコードの複数領域に存在する場合、センターサーバ5は、変更エリアを領域毎の複数モジュールに分割する。この場合、モジュールM1,M2,M3に分割されるのであるが、バージョンアップ再開要求に含まれる書き換え残回数「2」を参照して、モジュールM1は書き換え済であると判断して、2つのモジュールM2,M3からなるバージョンアップ情報を生成する(S71)。次に、このモジュール数[2モジュール]を含む副処理部バージョンアップ要求をネットワークアダプタ2へ送信する(S72)。次に、センターサーバ5は、2つのモジュールM2,M3から構成されたバージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信する(S73)。
Then, the
ネットワークアダプタ2では、主処理部2aが、バージョンアップ情報をRAM2fに格納した後に(S74)、モジュール数[2モジュール]を通知するためのモジュール数通知を副処理部2bへ送信し(S75)、副処理部2bは、更新カウンタ2iの値を「2」にセットする(S76)。
In the
そして、主処理部2aは、モジュールM2を含む書き込み要求を副処理部2bへ出力する(S77)。そして、副処理部2bは、受信したモジュールM2のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM2の変更エリアのみを最新バージョンに書き換えるとともに(S78)、更新カウンタ2iの値をデクリメントして「1」にセットする(S79)。
Then, the
次に、主処理部2aは、モジュールM3を含む書き込み要求を副処理部2bへ出力する(S80)。そして、副処理部2bは、受信したモジュールM3のバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、モジュールM3の変更エリアのみを最新バージョンに書き換えるとともに(S81)、更新カウンタ2iの値をデクリメントして「0」にセットする(S82)。そして、副処理部2bは、更新カウンタの値が「0」になった時点でバージョンアップ完了と判断し、副ソフトウェアのバージョンアップ情報を更新して本処理を終了する。
Next, the
このように、停電等による電源断、ユーザによるリセット操作、主ソフトウェアのバグ等で、バージョンアップ情報のダウンロードが中断された場合でも、再起動後に、書き換え未完了部分よりダウンロードを再開するため、バージョンアップ処理の復旧を効率よく行うことができる。 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
(実施形態5)
本実施形態では、実施形態2において、センターサーバ5が、バージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信した後(S28)の処理について、図8を用いて説明する。
(Embodiment 5)
In this embodiment, the processing after the
まずセンターサーバ5では、ネットワークアダプタ2から取得したバージョン情報を設定された旧:副ソフトウェアと、最新バージョンの新:副ソフトウェアとを比較して、旧:副ソフトウェアと新:副ソフトウェアとの差異を変更エリアとして抽出する(差異抽出手段)。そして、センターサーバ5は、この変更エリアのソフトウェアコードや、書き込み先頭アドレスおよびデータ長等の書き込み情報を含むバージョンアップ情報を生成し、当該バージョンアップ情報を含む書き込み要求をネットワークアダプタ2へ送信する(S28)。
First, the
ネットワークアダプタ2では、主処理部2aが、受信した書き込み要求に含まれるバージョンアップ情報に基づいてソフトウェアコード中の変更エリアを特定し、当該変更エリアのコード要求を副処理部2bへ送信する(S91)。副処理部2bは、ROM2gに格納している旧:副ソフトウェアのコードにおける当該変更エリアを抽出して、旧コード情報として主処理部2aへ送信する(S92)。主処理部2aは、旧コード情報を不揮発性のフラッシュメモリ2j(図1中の破線参照)に格納した後に(S93)、バージョンアップ情報を含む書き込み要求を副処理部2bへ出力する(S94)。そして、副処理部2bは、受信したバージョンアップ情報に基づいて、ROM2gに格納している旧:副ソフトウェアのうち、変更エリアのみを最新バージョンに書き換え、副ソフトウェアのバージョンアップ情報を更新する(S95)。
In the
しかし、副ソフトウェアをバージョンアップしたことによって不具合が発生した場合、ネットワークアダプタ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
したがって、宅内ネットワーク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
また、上記実施形態では、センターサーバ5が、ネットワークアダプタ2の副ソフトウェアをバージョンアップする必要有りと判断した場合、操作端末3等の端末装置へバージョンアップの必要性を報知した後に、センターサーバ5からネットワークアダプタ2へ副ソフトウェアのバージョンアップ情報をダウンロードして、最新バージョンに書き換えている。しかし、センターサーバ5が、ネットワークアダプタ2の副ソフトウェアをバージョンアップする必要有りと判断した場合、操作端末3等の端末装置へバージョンアップの必要性を報知するのみの構成や、ネットワークアダプタ2の副ソフトウェアをバージョンアップする必要有りと判断した場合、ユーザに報知することなく、センターサーバ5からネットワークアダプタ2へ副ソフトウェアのバージョンアップ情報をダウンロードして、最新バージョンに書き換える構成でもよい。
In the above-described embodiment, when the
また、実施形態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
2f, 2h RAM
3
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.
ネットワークアダプタの副処理部は、バージョンアップ情報に基づいて、副記憶部に格納している副ソフトウェアのうち前記差異部分のみを書き換える
ことを特徴とする請求項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.
ネットワークを介したセンターサーバとの通信処理を行うための主ソフトウェアを格納した主記憶部と、主ソフトウェアを実行することによってネットワークを介した通信を行う主処理部と、バージョン情報を付与されて設備機器との通信処理を行うための副ソフトウェアを格納した副記憶部と、主処理部との間でデータ授受可能であるとともに、副ソフトウェアを実行することによって設備機器と通信を行う副処理部とを備え、主処理部は、副処理部から副ソフトウェアのバージョン情報を取得する手段を具備しており、ネットワークを介して副ソフトウェアのバージョン情報の問合せ要求を受信すると、副ソフトウェアのバージョン情報に基づいて副ソフトウェアのバージョンアップが必要か否かを判定してバージョンアップが必要であると判定した場合にはバージョンアップに関する情報をネットワークに送信するセンターサーバへ、副ソフトウェアのバージョン情報を送信する
ことを特徴とするネットワークアダプタ。 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.
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)
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)
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 |
-
2009
- 2009-03-05 JP JP2009052373A patent/JP5174718B2/en not_active Expired - Fee Related
Patent Citations (7)
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)
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 |