JP2006127432A - Household electric appliance adapter and software development device - Google Patents

Household electric appliance adapter and software development device Download PDF

Info

Publication number
JP2006127432A
JP2006127432A JP2004338759A JP2004338759A JP2006127432A JP 2006127432 A JP2006127432 A JP 2006127432A JP 2004338759 A JP2004338759 A JP 2004338759A JP 2004338759 A JP2004338759 A JP 2004338759A JP 2006127432 A JP2006127432 A JP 2006127432A
Authority
JP
Japan
Prior art keywords
command
home appliance
adapter
network
command conversion
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
JP2004338759A
Other languages
Japanese (ja)
Other versions
JP4561331B2 (en
Inventor
Shigeki Suzuki
繁樹 鈴木
Noriyuki Kushiro
紀之 久代
Yoshiaki Koizumi
吉秋 小泉
Yoshiko Ochiai
淑子 落合
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2004338759A priority Critical patent/JP4561331B2/en
Publication of JP2006127432A publication Critical patent/JP2006127432A/en
Application granted granted Critical
Publication of JP4561331B2 publication Critical patent/JP4561331B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a household electric appliance adapter by which software can be downloaded even when there is no Internet connection environment or when a household electric appliance is not operated. <P>SOLUTION: The household electric appliance adapter has: an appliance interface part to be connected with the household electric appliance; a network interface part to be connected with a controller and other appliances on a network; a general interface part to be connected with a personal computer and a work station and a download control part which downloads control software of the household electric appliance adapter from the three interface parts according to predetermined procedures. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、制御ソフトウェアをダウンロード・実行する方式を採用した、家電機器をネットワークに接続するための家電機器アダプタおよびソフトウェア開発装置に関するものである。   The present invention relates to a home appliance adapter and a software development apparatus for connecting a home appliance to a network, which employs a method of downloading and executing control software.

家電機器をインターネットやホームネットワークなどのネットワークに接続する際には、家電機器のコストアップを避けるために、家電機器アダプタを使用する形態を取っている。従来の家電機器アダプタは、家電機器とのインタフェース仕様がメーカ毎、機種毎に異なるために、特定機種専用のアダプタとして開発されていた。しかし、在庫や流通のコストアップとなるために、機種専用のソフトウェアをあとから家電機器アダプタへダウンロードする方式が提案されている。主に家電機器より機種情報を取得し、機種情報に基づきインターネット上に公開されたサーバより機種に対応した専用ソフトウェアをダウンロードするようにしている。(例えば、特許文献1)。また、家電機器内に予め専用ソフトウェアを搭載しておき、家電機器アダプタが家電機器よりダウンロードする方式も提案されている。(例えば、非特許文献1)   When connecting a home appliance to a network such as the Internet or a home network, a home appliance adapter is used in order to avoid an increase in the cost of the home appliance. Conventional home appliance adapters have been developed as adapters for specific models because interface specifications with home appliances differ from manufacturer to manufacturer and from model to model. However, in order to increase the cost of inventory and distribution, a method of downloading software dedicated to the model to the home appliance adapter later has been proposed. Model information is acquired mainly from home appliances, and dedicated software corresponding to the model is downloaded from a server published on the Internet based on the model information. (For example, patent document 1). There has also been proposed a method in which dedicated software is installed in the home appliance in advance and the home appliance adapter downloads from the home appliance. (For example, Non-Patent Document 1)

特開2004−229266号公報(第1―11頁、第1図)JP 2004-229266 A (pages 1-11, FIG. 1) 「エコーネット規格書ver3.20」エコーネットコンソーシアム,2004年1月8日,第7部ECHONET通信装置仕様 第8章ECHONETミドルウェアアダプタ p8-4"Echonet Standard ver3.20" Echonet Consortium, January 8, 2004, Part 7 ECHONET Communication Equipment Specifications Chapter 8 ECHONET Middleware Adapter p8-4

インターネット接続環境が無い場合や、工事の都合上で家電機器の電源を入れられない場合など、家電機器アダプタにソフトウェアをダウンロードすることができない。
また、家電機器の故障時には、ソフトウェアを入れ替える必要がある。
また、実行可能なソフトウェアは、アドレス解決(関数や変数のアドレス決定)がされているため呼び出しが可能であるが、家電機器アダプタにダウンロードされたソフトウェアと既に組み込まれているソフトウェアとが分割されているため、お互いに呼び出しあうための仕組みが必要である。
また、ソフトウェア開発において、関数呼び出しの引数、及び戻り値の数、及び型チェックはコンパイラやリンカが通常実施している。ダウンロード型のプログラムでは、分割されるためにこれらのチェックは開発者に任されることになる。誤った引数、戻り値のソフトウェアをダウンロードした場合、家電機器アダプタは暴走し、実行不可能な状態に陥る。
さらに、ダウンロードするソフトウェアは、家電機器アダプタのCPUや、構成に依存したものとなるため、1台の家電機器に対して、家電機器アダプタの種類分だけソフトウェアを開発しなければならない。
また、ダウンロードするソフトウェアにネットワークに依存したコードが入っていると、ネットワークを変更した場合にダウンロードソフトウェアも変更しなければならず、同じ家電機器に対してネットワークの種類に応じた数だけダウンロードソフトウェアを作成する必要がある。
また、新しい家電機器を開発する度に、ダウンロードソフトウェアを作成するには、開発の労力を要する。
Software cannot be downloaded to the home appliance adapter when there is no Internet connection environment or when the home appliance cannot be turned on due to construction work.
In addition, it is necessary to replace software when a home appliance fails.
Executable software can be called because address resolution (function and variable address determination) has been performed, but the software downloaded to the home appliance adapter and the software already incorporated are divided. Therefore, a mechanism for calling each other is necessary.
In software development, compilers and linkers normally perform function call arguments, the number of return values, and type checks. In a download-type program, these checks are left to the developer to be split. If you download software with an incorrect argument or return value, the home appliance adapter will run out of control and become inoperable.
Furthermore, since the software to be downloaded depends on the CPU and configuration of the home appliance adapter, software for each type of home appliance adapter must be developed for one home appliance.
Also, if the software to be downloaded contains code that depends on the network, the download software must also be changed when the network is changed. Need to create.
In addition, every time a new home appliance is developed, development effort is required to create download software.

この発明は、上記のような課題を解決するためになされたもので、インターネット接続環境がない場合や家電機器が動作していない場合にも、ソフトウェアをダウンロード可能な家電機器アダプタを得ることを目的とする。
また、故障などで家電機器を交換した場合にも対応したソフトウェアをダウンロードする家電機器アダプタを得ることを目的とする。
また、ダウンロードソフトウェアと既に組み込まれたソフトウェアの間で呼び出しが可能で、ダウンロードソフトウェアの引数、戻り値の数、型チェックを行える家電機器アダプタを得ることを目的とする。
さらに、家電機器アダプタのCPUや構成に依存しないソフトウェアを実行可能な家電機器アダプタを得ることを目的とする。
また、ネットワークが変更になっても、ダウンロードソフトウェアの変更の必要がない家電機器アダプタを得ることを目的とする。
さらに、新しい家電機器を開発した際に、ダウンロードソフトウェアを自動生成するソフトウェア開発装置を得ることを目的とする。
The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain a home appliance adapter that can download software even when there is no Internet connection environment or when the home appliance is not operating. And
It is another object of the present invention to obtain a home appliance adapter that downloads software corresponding to a case where a home appliance is replaced due to a failure or the like.
It is another object of the present invention to obtain a home appliance adapter that can be called between downloaded software and already installed software and can check arguments, number of return values, and type of downloaded software.
It is another object of the present invention to obtain a home appliance adapter that can execute software independent of the CPU and configuration of the home appliance adapter.
Another object of the present invention is to obtain a home appliance adapter that does not require a change in download software even when the network changes.
Another object of the present invention is to obtain a software development device that automatically generates download software when a new home appliance is developed.

この発明に係る家電機器アダプタは、家電機器と接続する機器インタフェース部と、ネットワーク上のコントローラや他機器と接続するネットワークインタフェース部と、パソコンやワークステーションと接続する汎用インタフェース部と、予め決められた手順に従い、前記3つのインタフェース部から家電機器アダプタの制御ソフトウェアをダウンロードするダウンロード制御部とを備えたものである。 The home appliance adapter according to the present invention includes a device interface unit connected to the home appliance, a network interface unit connected to a controller and other devices on the network, a general-purpose interface unit connected to a personal computer and a workstation, and predetermined. According to the procedure, a download control unit that downloads control software for the home appliance adapter from the three interface units is provided.

この発明の家電機器アダプタは、家電機器と接続する機器インタフェース、ネットワークと接続するネットワークインタフェース、パソコンと接続する汎用インタフェースを備え、予め決められた手順に従い、3つのインタフェースのいずれかからソフトウェアをダウンロードするように構成したため、インターネット接続環境がない場合や、家電機器がない場合にも汎用インタフェースを介してパソコンなどから家電機器アダプタのソフトウェアをダウンロードが行えるという効果がある。
また、動作開始時に、家電機器よりメーカ名、機種名、型名、シリアル番号などの機器固有情報を取得し、これらの情報が変更されていた場合にダウンロードを実行するようにしたため、故障などが原因で家電機器を交換した場合にもダウンロードが行えるという効果がある。
また、ダウンロードソフトウェアと既に組み込まれているソフトウェアのそれぞれが所有する関数とその格納アドレスをアクセス可能な共有メモリに保持しているため、お互いに呼び出しを行えるという効果がある。
また、引数、戻り値を、少なくともデータ数、データ型、データ長、データ値の情報を含むデータ構造記述言語で記述するため、これらの数、型のチェックを行えるという効果がある。
さらに、家電機器アダプタに既に組み込まれているソフトウェアを利用するためのAPIを備えたインタプリタを搭載し、ダウンロードソフトウェアはインタプリタ上で動作するインタプリタコードで記述したため、CPUや構成に依存しないソフトウェアの実行を行えるという効果がある。
また、ネットワークを介してネットワークインタフェース部で受信したネットワーク固有のコマンドは、コマンド変換部によって、当該コマンドの体系に依存しない仮想オブジェクトモデルに変換されると共に、機器インタフェース部で受信した家電機器固有のコマンドは、ダウンロードされたアダプタ制御ソフトウェアによって、仮想オブジェクトモデルに変換される。このため、コマンド変換部とアダプタ制御ソフトウェアとの間では、ネットワークを伝送するコマンドの体系に依存しない仮想オブジェクトモデルを用いてコマンドの受け渡しを行うことができる。その結果、ダウンロードソフトウェアであるアダプタ制御ソフトウェアは、現在接続中のネットワークの種類を意識することなく、コマンドの送受信が行えるという効果がある。
また、ダウンロードソフトウェア上で、家電機器との通信処理と、ネットワークコマンドへの変換処理を全て行う構成をとることができ、ダウンロードソフトウェアを容易に開発することが可能であるという効果がある。
また、家電機器との通信コマンドとネットワーク通信コマンドとの変換処理を全て家電機器アダプタに組み込まれたソフトウェアとして実現する構成をとることができ、ダウンロードソフトウェアのコード量を最小限に押さえることができるという効果がある。
また、変換処理で使用する変換テーブルや変換関数ルーチンをダウンロードソフトウェアから設定できるようにしたため、家電機器アダプタに組み込まれたソフトウェアで変換処理を実行する際にも家電機器アダプタの組み込みソフトウェアに変更の必要がないという効果がある。
また、変換関数ルーチンを使用した変換処理は、ダウンロードソフトウェア側で実行する構成をとることができ、家電機器アダプタの組み込みソフトウェア側に関数を登録して実行するような複雑な仕組みが不要であるという効果がある。
また、変換処理に必要な変換関数ルーチンはダウンロードソフトウェア側に保持し、家電機器アダプタの組み込みソフトウェアで変換処理を実行する際には、ダウンロードソフトウェアに保持されている変換関数ルーチンを使用できるような構成にしたため、家電機器アダプタの組み込みソフトウェア側に関数を登録して実行するような複雑な仕組みが不要であるという効果がある。
The home appliance adapter of the present invention includes a device interface for connecting to a home appliance, a network interface for connecting to a network, and a general-purpose interface for connecting to a personal computer, and downloads software from one of three interfaces according to a predetermined procedure. With this configuration, the home appliance adapter software can be downloaded from a personal computer or the like via the general-purpose interface even when there is no Internet connection environment or when there is no home appliance.
In addition, when starting operation, device specific information such as manufacturer name, model name, model name, serial number, etc. was acquired from home appliances, and if such information was changed, the download was executed. This also has the effect of being able to download even when household appliances are replaced due to the cause.
In addition, since the functions owned by each of the downloaded software and the already installed software and their storage addresses are held in the accessible shared memory, there is an effect that they can be called to each other.
In addition, since the argument and the return value are described in a data structure description language including at least the number of data, data type, data length, and data value information, the number and type can be checked.
In addition, an interpreter equipped with an API for using software already installed in the home appliance adapter is installed, and the download software is written in interpreter code that runs on the interpreter. There is an effect that can be done.
In addition, the network-specific command received by the network interface unit via the network is converted into a virtual object model that does not depend on the command system by the command conversion unit, and the home appliance-specific command received by the device interface unit Is converted into a virtual object model by the downloaded adapter control software. For this reason, it is possible to exchange commands between the command conversion unit and the adapter control software using a virtual object model that does not depend on the system of commands transmitted over the network. As a result, the adapter control software, which is download software, has the effect of being able to send and receive commands without being conscious of the type of network that is currently connected.
In addition, the download software can be configured to perform all communication processing with home appliances and conversion processing to network commands, and the download software can be easily developed.
In addition, it is possible to take a configuration that realizes all conversion processing between communication commands with home appliances and network communication commands as software embedded in home appliance adapters, which can minimize the amount of code of downloaded software effective.
In addition, since the conversion table and conversion function routine used in the conversion process can be set from the download software, it is necessary to change the embedded software of the home appliance adapter when executing the conversion process with the software embedded in the home appliance adapter. There is an effect that there is no.
Also, the conversion process using the conversion function routine can be configured to be executed on the download software side, and there is no need for a complicated mechanism for registering and executing the function on the embedded software side of the home appliance adapter. effective.
In addition, the conversion function routine necessary for the conversion process is held on the download software side, and the conversion function routine stored in the download software can be used when executing the conversion process with the embedded software of the home appliance adapter. Therefore, there is an effect that a complicated mechanism for registering and executing a function on the embedded software side of the home appliance adapter is unnecessary.

実施の形態1.
図1はこの発明の実施の形態における家電機器アダプタの機能ブロック図を示すものである。
図において、家電機器アダプタ1は、UART(Universal Asynchronous Receiver Transmitter)等で実現される機器インタフェース5を介して家電機器2と、ホームネットワークのネットワーク6を介してコントローラ3と、USBで実現する汎用インタフェース7を介してパソコン4と接続されている。
家電機器アダプタ1内には、前記3つのインタフェースのそれぞれの送受信動作を行う、機器インタフェース部1a、ネットワークインタフェース部1b、汎用インタフェース部1cがあり、これらは、ソフトウェアをダウンロードするタイミング、プロトコルを含むダウンロード制御部1dに接続されている。
アドレステーブル1eには、家電機器アダプタ1に搭載されている、機器インタフェース部1a、ネットワークインタフェース部1b、ダウンロード制御部1dなどのソフトウェアが公開するアプリケーションプログラムインタフェース(API)の格納アドレスが登録されている。
アダプタ制御ソフトウェア1fは、ダウンロード制御部1dにより機器インタフェース5、ネットワーク6、汎用インタフェース7のいずれからダウンロードされ追加されるソフトウェアである。
Embodiment 1 FIG.
FIG. 1 shows a functional block diagram of a home appliance adapter according to an embodiment of the present invention.
In the figure, a home appliance adapter 1 includes a home appliance 2 via a device interface 5 realized by a UART (Universal Asynchronous Receiver Transmitter), a controller 3 via a network 6 of a home network, and a general-purpose interface realized by USB. 7 is connected to the personal computer 4 through 7.
The home appliance adapter 1 includes a device interface unit 1a, a network interface unit 1b, and a general-purpose interface unit 1c that perform transmission / reception operations of the three interfaces. These include a download timing and a protocol for downloading software. It is connected to the control unit 1d.
In the address table 1e, the storage address of an application program interface (API) that is installed in the home appliance adapter 1 and published by software such as the device interface unit 1a, the network interface unit 1b, and the download control unit 1d is registered. .
The adapter control software 1 f is software that is downloaded and added from any of the device interface 5, the network 6, and the general-purpose interface 7 by the download control unit 1 d.

汎用インタフェース7は、USBの他に、LAN、RS-232Cなどのシリアル通信、パラレル通信などを利用しても同様に構成することができる。ネットワーク6はホームネットワークの他に、構内LANやインターネットであっても同じように構成することができる。 The general-purpose interface 7 can be similarly configured by using serial communication such as LAN and RS-232C, parallel communication, etc. in addition to USB. The network 6 can be configured in the same manner even if it is a local LAN or the Internet in addition to the home network.

図2は、ダウンロード制御部1dの動作フローチャート図である。家電機器アダプタ1に電源が投入されると、ステップS21から実行される。ステップS21では、家電機器より型名を取得し、前回取得した型名から変更があったかを判定する。初回の電源投入時には型名は記憶されていないので、変更されたと判断する。変更されていない場合は、既に制御ソフトウェアはダウンロード済みなので、ステップS28で、ダウンロードされているアダプタ制御ソフトウェアへジャンプする。   FIG. 2 is an operation flowchart of the download control unit 1d. When the home appliance adapter 1 is turned on, the process is executed from step S21. In step S21, the model name is acquired from the home appliance, and it is determined whether there is a change from the previously acquired model name. When the power is turned on for the first time, the model name is not stored, so it is determined that it has been changed. If it has not been changed, the control software has already been downloaded. In step S28, the process jumps to the downloaded adapter control software.

型名に変更があった場合は、ステップS22へ進み、家電機器2に対してダウンロードソフトウェアを保持しているかを問い合わせる。ECHONET規格書に記載されている”機器インタフェース情報認識シーケンス”を用いて保持の有無を確認する。保持している場合には、家電機器2より制御ソフトウェアのダウンロードを行い、所定のメモリ領域に格納する。ステップS28へ進み、ダウンロードしたアダプタ制御ソフトウェアへジャンプする。   If there is a change in the model name, the process proceeds to step S22, and the home appliance 2 is inquired as to whether download software is held. Use the “Device Interface Information Recognition Sequence” described in the ECHONET standard document to check for retention. If it is held, the control software is downloaded from the home appliance 2 and stored in a predetermined memory area. The process proceeds to step S28, and jumps to the downloaded adapter control software.

図3は本実施例における家電機器アダプタのメモリマップを示す。アドレス0x3000からがアダプタ制御ソフトウェア用に割り当てられており、ダウンロードしたアダプタ制御ソフトウェアは、ここに格納される。   FIG. 3 shows a memory map of the home appliance adapter in this embodiment. The address 0x3000 is assigned for the adapter control software, and the downloaded adapter control software is stored here.

図2に戻り、ステップS22にて家電機器にダウンロードソフトウェアがなかった場合には、ステップS21にて家電機器に問い合わせた型名を用いて、ネットワーク6上のコントローラ3に対してダウンロードソフトウェアを保持しているかを問い合わせる。(ステップS23)保持している場合は、ステップS26にて制御ソフトウェアをダウンロードし、所定のメモリ領域へ格納する。ステップS28へ進み、ダウンロードしたアダプタ制御ソフトウェアへジャンプする。   Returning to FIG. 2, if there is no download software in the home appliance in step S22, the download software is held for the controller 3 on the network 6 using the model name inquired to the home appliance in step S21. Ask if they are. (Step S23) If held, the control software is downloaded in step S26 and stored in a predetermined memory area. The process proceeds to step S28, and jumps to the downloaded adapter control software.

ネットワーク6が構内LANやインターネットの場合には、予めアダプタ内に保持しているメーカ毎のインターネットアドレス(URL)にアクセスして制御ソフトウェアの保持を確認するような構成をとることもできる。   In the case where the network 6 is a local LAN or the Internet, it is possible to access the Internet address (URL) of each manufacturer that is held in advance in the adapter and confirm the holding of the control software.

ステップS23にて制御ソフトウェアを保持していない場合には、ステップS24へ進み、汎用インタフェース7を介してパソコンに制御ソフトウェアの保持を確認する。保持している場合には、ステップS27にてダウンロードし、所定のメモリ領域へ格納する。ステップS28へ進み、ダウンロードしたアダプタ制御ソフトウェアへジャンプする。   If the control software is not held in step S23, the process proceeds to step S24, and the holding of the control software is confirmed in the personal computer via the general-purpose interface 7. If it is held, it is downloaded in step S27 and stored in a predetermined memory area. The process proceeds to step S28, and jumps to the downloaded adapter control software.

パソコン4にソフトウェアがない場合、または汎用インタフェース7にパソコン4が接続されていない場合には、ダウンロード可能となるまで、ステップS24を実行する。   If there is no software in the personal computer 4 or if the personal computer 4 is not connected to the general-purpose interface 7, step S24 is executed until downloading is possible.

図4は、ダウンロードされた制御ソフトウェアの機能ブロック図である。機器インタフェース制御ソフトウェア1f−1は、機器インタフェース部1aへの通信パラメータ設定および機器インタフェース部1aを用いたプロトコルのソフトウェアである。コマンド変換ソフトウェア1f−2は、機器インタフェース5とネットワーク6を流れるコマンドの変換を実行するソフトウェアである。アダプタ制御ソフトウェアアドレステーブル1f−3は、本制御ソフトウェアが公開するアプリケーションプログラムインタフェース(API)の格納アドレスを示す関数アドレスの一覧である。   FIG. 4 is a functional block diagram of the downloaded control software. The device interface control software 1f-1 is software of a protocol using the communication parameter setting for the device interface unit 1a and the device interface unit 1a. The command conversion software 1 f-2 is software that executes conversion of commands flowing through the device interface 5 and the network 6. The adapter control software address table 1f-3 is a list of function addresses indicating storage addresses of application program interfaces (APIs) disclosed by the control software.

図3に戻り、制御ソフトウェアは、アドレス0x3000番地から格納される。アダプタ制御ソフトウェアアドレステーブルから格納されるため、アダプタに既に組み込まれているソフトウェアからは、0x3000から始まるアドレステーブルから呼び出したいアドレスの格納アドレスを検索し、ジャンプすることができる。   Returning to FIG. 3, the control software is stored from address 0x3000. Since it is stored from the adapter control software address table, the storage address of the address to be called can be searched from the address table starting from 0x3000 and jumped from the software already incorporated in the adapter.

図5は、0x2000番地から格納されているソフトウェアのアドレステーブルの例である。本テーブルは、アダプタに既に組み込まれているソフトウェアが公開する関数に関するものである。メソッド名をキーとして、格納アドレスを検索できるテーブルとなっている。native_net_set メソッドは、ネットワークインタフェース部から設定コマンドを送信するための関数であり、その格納アドレスは、0x1030 であることを示している。ダウンロードされた制御ソフトウェアは、メソッド名からアドレスを検索し、該当番地にジャンプする。   FIG. 5 is an example of the software address table stored from address 0x2000. This table relates to functions published by software already installed in the adapter. It is a table that can search the storage address using the method name as a key. The native_net_set method is a function for sending a setting command from the network interface part, and its storage address is 0x1030. The downloaded control software retrieves the address from the method name and jumps to the corresponding address.

関数を呼び合う場合の引数及び戻り値は、データ構造定義言語である、ASN.1(Abstract Syntax Notation One)を使用して表現する。図6は、アダプタ制御ソフトウェア1fからネットワークインタフェース部1bに対して、家電機器の運転状態を操作する場合に渡される引数のデータ構造を表す図である。引数(Arg)は、objectID, propertyID, status の3つのオブジェクトの集合(SEQUENCE)で表され、objectID は、INTEGER 型のデータ、propertyID は、家電機器の属性を表すINTEGER型のデータ、status は、運転状態を表す BOOLEAN 型のデータである。
機種を表す classID と、インスタンスを表す instanceID から構成される
Arguments and return values when calling functions are expressed using ASN.1 (Abstract Syntax Notation One), which is a data structure definition language. FIG. 6 is a diagram illustrating a data structure of an argument passed when the operation status of the home appliance is operated from the adapter control software 1f to the network interface unit 1b. The argument (Arg) is represented by a set of three objects (SEQUENCE): objectID, propertyID, and status, where objectID is INTEGER type data, propertyID is INTEGER type data that represents the attributes of home appliances, and status is driving BOOLEAN type data representing the state.
Consists of classID representing the model and instanceID representing the instance

objectID が機種を表す classID と、インスタンスを表す instanceID から構成され、
エアコンの classID が、0x50、instanceID が 0x02、運転状態の propertyID が 0x05、運転中の statusが 0x10 である場合の引数の実態を図7に示す。呼び出し元プログラムは、図7に示すバイト列をスタックに積み、関数を呼び出す。呼び出し先関数は、スタックからバイト列を取り出し、ASN.1の変換規則によりデータ構造とデータの値を確認し、関数を実行する。
ダウンロードされたアダプタ制御ソフトウェアは、このように機器インタフェース部1a、ネットワークインタフェース部1bのメソッドを呼び出しながら、コマンドを変換し、アダプタとしての動作を行う。
objectID consists of a classID that represents the model and an instanceID that represents the instance.
Figure 7 shows the actual parameters when the air conditioner class ID is 0x50, the instance ID is 0x02, the operation propertyID is 0x05, and the operating status is 0x10. The calling program loads the byte sequence shown in FIG. 7 on the stack and calls the function. The called function extracts the byte sequence from the stack, checks the data structure and data value according to the conversion rules of ASN.1, and executes the function.
The downloaded adapter control software converts the command while calling the method of the device interface unit 1a and the network interface unit 1b, and operates as an adapter.

本実施の形態では、データ構造定義言語として、ASN.1を使用したが、XML(eXtensible Markup Language)で引数、戻り値のデータ構造を表現しても同様に構成することが可能である。   In the present embodiment, ASN.1 is used as the data structure definition language, but it can be similarly configured by expressing the data structure of the argument and the return value in XML (eXtensible Markup Language).

実施の形態2.
次に、家電機器アダプタにインタプリタを搭載し、インタプリタコードで記述されたアダプタ制御ソフトウェアをダウンロード、実行する場合の実施の形態を示す。
図8は、インタプリタを搭載した家電機器アダプタの機能ブロック図である。図1と比較して、インタプリタ1gがコードを解析し、メソッド呼び出しを行うため、アドレステーブル1eがなくなっている。また、CPU依存のマシン語で構成されるアダプタ制御ソフトウェア1fは、インタプリタコードで構成されるアダプタ制御ソフトウェア1hとなっている。インタプリタ1gは、機器インタフェース部1aのメソッドを機器API1iとして、ネットワークインタフェース部1bのメソッドをネットワークAPI1jとして、アダプタ制御ソフトウェア1hに公開している。アダプタ制御ソフトウェア1hは、機器API1i、ネットワークAPI1jを利用して記述されたコードとなる。
Embodiment 2. FIG.
Next, an embodiment in which an interpreter is mounted on a home appliance adapter and adapter control software described in an interpreter code is downloaded and executed will be described.
FIG. 8 is a functional block diagram of a home appliance adapter equipped with an interpreter. Compared with FIG. 1, the interpreter 1g analyzes the code and makes a method call, so the address table 1e is eliminated. Further, the adapter control software 1f composed of CPU-dependent machine language is adapter control software 1h composed of an interpreter code. The interpreter 1g discloses the method of the device interface unit 1a as the device API 1i and the method of the network interface unit 1b as the network API 1j to the adapter control software 1h. The adapter control software 1h is a code described using the device API 1i and the network API 1j.

図9は、インタプリタを搭載した場合のダウンロード制御部1dの動作フローを表す図である。ステップS91からステップS97までは図2のステップS21からステップS27までと同一である。家電機器より取得した型名に変更があれば、家電機器2、ネットワーク6、パソコン4の順にダウンロードを行い、ソフトウェアを所定のアドレスへ格納する。ダウンロード、メモリへの格納を行ったあとは、ステップS98にてインタプリタへジャンプし、実行権を移す。   FIG. 9 is a diagram illustrating an operation flow of the download control unit 1d when an interpreter is installed. Steps S91 to S97 are the same as steps S21 to S27 in FIG. If there is a change in the model name acquired from the home appliance, the home appliance 2, the network 6 and the personal computer 4 are downloaded in this order, and the software is stored at a predetermined address. After downloading and storing in the memory, jump to the interpreter in step S98 and transfer the execution right.

図10は本実施例における家電機器アダプタのメモリマップを示す。アドレス0x3000からがアダプタ制御ソフトウェア用に割り当てられており、ダウンロードしたアダプタ制御ソフトウェアは、ここに格納される。   FIG. 10 shows a memory map of the home appliance adapter in this embodiment. The address 0x3000 is assigned for the adapter control software, and the downloaded adapter control software is stored here.

図9のステップS98が実行されると、家電機器アダプタは 0x2000 番地から格納されているインタプリタへジャンプする。本実施例では、小型で、拡張実装が可能であるインタプリタFORTH を使用している。FORTHはスタックを利用したインタプリタで、コードは逆ポーランド記法で記述するため、構文解析はプログラマが行う。そのため、インタプリタの小型実装が可能である。また、ワード拡張機能を有しているため、機器API、ネットワークAPIの拡張も可能である。 When step S98 of FIG. 9 is executed, the home appliance adapter jumps from the address 0x2000 to the stored interpreter. In this embodiment, an interpreter FORTH which is small and can be expanded is used. FORTH is an interpreter that uses a stack, and the code is written in reverse Polish notation, so the syntax analysis is performed by the programmer. Therefore, the interpreter can be mounted in a small size. In addition, since it has a word expansion function, it is possible to expand the device API and the network API.

図11は、FORTHインタプリタのワード拡張機能を使用したネットワークAPIの例である。net_set メソッドは、ネットワーク上の機器のプロパティを設定するAPI、net_get メソッドは、ネットワーク上の機器のプロパティを取得するAPIである。括弧内の"--"より前に記述されているものが引数、"--"より後ろに記述されているものが戻り値となる。引数は関数の呼び出し元が呼び出し前にスタックに積む順番に記載されている。また、戻り値は、呼び出し元に戻ってきたときのスタックの内容を示している。例えば、net_set メソッドを呼び出す場合は、設定値 value 、プロパティID propertyID、オブジェクトID objectIDを順にスタックに積み、net_setメソッドを呼び出す。net_set メソッドでは、引数に指定された情報を用いて、送信電文を作成し、ネットワークインタフェース部1bの設定メソッドを呼び出し、送信する。net_set メソッドは実行結果をスタックに積んで呼び出し元に戻る。呼び出し元では、スタックからstatusを取り出し、結果に応じた処理を行う。 FIG. 11 shows an example of a network API that uses the word extension function of the FORTH interpreter. The net_set method is an API for setting the properties of devices on the network, and the net_get method is an API for acquiring properties of devices on the network. The argument before "-" in parentheses is the argument, and the one after "-" is the return value. The arguments are listed in the order in which the function caller is stacked on the stack before the call. The return value indicates the contents of the stack when returning to the caller. For example, when calling the net_set method, the setting value value, the property ID propertyID, and the object ID objectID are sequentially stacked on the stack and the net_set method is called. In the net_set method, a transmission message is created using information specified as an argument, and the setting method of the network interface unit 1b is called and transmitted. The net_set method puts the execution result on the stack and returns to the caller. The caller extracts status from the stack and performs processing according to the result.

インタプリタコードで記述されたアダプタ制御ソフトウェアは、このように機器API、ネットワークAPIのメソッドを呼び出しながら、コマンドを変換し、アダプタとしての動作を行う。 The adapter control software described in the interpreter code converts the command while calling the method of the device API and the network API, and operates as an adapter.

実施の形態3.
図12は、仮想オブジェクトモデルをインタフェースとして用いた家電機器アダプタの機能を示すブロック図である。図8と比較して、仮想オブジェクトモデルをネットワークインタフェースのコマンドに変換するコマンド変換部1kが追加されている。インタプリタ1gは、コマンド変換部1kのメソッドをコマンド変換API1lとしてアダプタ制御ソフトウェア1hに公開している。アダプタ制御ソフトウェア1hは、機器API1i、コマンド変換API1lを利用して記述されたコードとなる。
Embodiment 3 FIG.
FIG. 12 is a block diagram illustrating functions of a home appliance adapter that uses a virtual object model as an interface. Compared with FIG. 8, a command conversion unit 1k for converting a virtual object model into a command of a network interface is added. The interpreter 1g discloses the method of the command conversion unit 1k to the adapter control software 1h as a command conversion API 1l. The adapter control software 1h is a code described using the device API 1i and the command conversion API 1l.

図13は、アダプタ制御ソフトウェア1hと、コマンド変換部1kの機能を示すブロック図である。アダプタ制御ソフトウェア1hは、機器インタフェース1aを介して家電機器2と通信コマンド(家電機器2のコマンド体系に依存)を送受信する機器インタフェース送受信部1h−1と、家電機器2との通信コマンドと仮想オブジェクト(家電機器2およびネットワーク6のコマンド体系に非依存)とを変換する仮想オブジェクト変換部1h−2から構成される。コマンド変換部1kは、ネットワークインタフェース1bを介してコントローラ3と通信コマンド(ネットワーク6のコマンド体系に依存)を送受信するネットワークインタフェース送受信部1k−2と、コントローラ3の通信コマンドと仮想オブジェクトとを変換するネットワークコマンド変換部1k−1とから構成される。仮想オブジェクト変換部1h−2と、ネットワークコマンド変換部1k−1とは、コマンド変換API1lを介して接続され、仮想オブジェクトを用いてアクセスされる。   FIG. 13 is a block diagram illustrating functions of the adapter control software 1h and the command conversion unit 1k. The adapter control software 1h includes a device interface transmission / reception unit 1h-1 that transmits and receives a communication command (depending on a command system of the home appliance 2) via the device interface 1a, a communication command and a virtual object with the home appliance 2 The virtual object conversion unit 1h-2 is configured to convert (independent of the command system of the home appliance 2 and the network 6). The command conversion unit 1k converts the network interface transmission / reception unit 1k-2 that transmits / receives a communication command (depending on the command system of the network 6) with the controller 3 via the network interface 1b, and the communication command and virtual object of the controller 3. And a network command conversion unit 1k-1. The virtual object conversion unit 1h-2 and the network command conversion unit 1k-1 are connected via a command conversion API 11 and are accessed using a virtual object.

図14は、アダプタ制御ソフトウェア1hと、コマンド変換部1kの機能を示すブロック図である。アダプタ制御ソフトウェア1hの仮想オブジェクト変換部1h−2には、変換処理を実行するコマンド変換処理部と、処理の際に使用されるコマンド変換テーブルと、コマンド変換関数ルーチンが搭載される。同様に、コマンド変換部1kのネットワークコマンド変換部1k−1には、変換処理を実行するコマンド変換処理部と、処理の際に使用されるコマンド変換テーブルと、コマンド変換関数ルーチンが搭載される。   FIG. 14 is a block diagram illustrating functions of the adapter control software 1h and the command conversion unit 1k. The virtual object conversion unit 1h-2 of the adapter control software 1h includes a command conversion processing unit that executes conversion processing, a command conversion table that is used in the processing, and a command conversion function routine. Similarly, the network command conversion unit 1k-1 of the command conversion unit 1k includes a command conversion processing unit that executes conversion processing, a command conversion table that is used during the processing, and a command conversion function routine.

図15は、家電機器2と家電機器アダプタ1間で通信される通信コマンド(家電機器固有のコマンド)、およびコントローラ3と家電機器アダプタ1間で通信される通信コマンド(ネットワーク固有のコマンド)の体系を示す図である。通信コマンドは1バイトで構成され、上位4ビットと下位4ビットに分けられている。上位4ビットは、データの種類を表し、エアコンの場合、図に示すように、運転状態、運転モード、設定温度などが割り当てられる。また、下位4ビットは、データの種類毎に意味が異なり、上位4ビットが運転状態の場合は、0x0が停止を、0x1が運転の状態を表す。同様に、運転モードの場合には、0x0が冷房、0x1が暖房を、設定温度の場合には、0x0が20℃、以後プラス1されると1℃ずつプラスし、0xaが30℃を意味する。   FIG. 15 shows a system of communication commands (commands unique to home appliances) communicated between the home appliance 2 and the home appliance adapter 1 and communication commands (commands specific to networks) communicated between the controller 3 and the home appliance adapter 1. FIG. The communication command is composed of 1 byte, and is divided into upper 4 bits and lower 4 bits. The upper 4 bits represent the type of data, and in the case of an air conditioner, as shown in the figure, an operation state, an operation mode, a set temperature, and the like are assigned. The lower 4 bits have different meanings for each type of data. When the upper 4 bits are in an operating state, 0x0 indicates a stop and 0x1 indicates an operating state. Similarly, in the case of the operation mode, 0x0 is cooling, 0x1 is heating, and in the case of the set temperature, 0x0 is 20 ° C, and if it is incremented by 1 thereafter, it is incremented by 1 ° C, and 0xa means 30 ° C. .

図16は、コマンド変換部1kとアダプタ制御ソフトウェア1hとの間で通信される仮想オブジェクトモデル(家電機器2およびネットワーク6を伝送する通信コマンドの体系に依存しない仮想オブジェクトモデル)の体系を示す図である。通信コマンドは3バイトのオブジェクトモデルで構成され、1バイト目がアクセス機器を表すオブジェクト、2バイト目がデータの種類を表すプロパティ、3バイト目がデータの値を表すプロパティ値となっている。エアコンの場合には、1バイト目は0x40固定、2バイト目は、運転状態が0x30、運転モードが0x40、設定温度が0x50となっている。3バイト目は、プロパティによって異なり、運転状態では、0x11が停止、0x22が運転、運転モードでは、0x10が冷房、0x20が暖房、設定温度では、0x14が20℃から始まり、0x1Eが30℃を表している。   FIG. 16 is a diagram illustrating a system of a virtual object model (a virtual object model that does not depend on a system of communication commands transmitted through the home appliance 2 and the network 6) communicated between the command conversion unit 1k and the adapter control software 1h. is there. The communication command is composed of a 3-byte object model, in which the first byte is an object representing an access device, the second byte is a property representing a data type, and the third byte is a property value representing a data value. In the case of an air conditioner, the first byte is fixed at 0x40, and the second byte is the operation state 0x30, the operation mode 0x40, and the set temperature 0x50. The third byte varies depending on the property. In the operating state, 0x11 is stopped, 0x22 is operating, in the operating mode, 0x10 is cooling, 0x20 is heating, and at the set temperature, 0x14 starts from 20 ° C and 0x1E indicates 30 ° C ing.

コマンド変換処理部(図14参照)の処理に使用されるコマンド変換テーブルは、図17のようになる。例えば、機器インタフェース側の通信コマンドが、0x21の場合、仮想オブジェクトモデルは、オブジェクトx040(エアコン)、プロパティ0x40(運転モード)、データ0x20(暖房)のように変換に使用される。   The command conversion table used for the processing of the command conversion processing unit (see FIG. 14) is as shown in FIG. For example, when the communication command on the device interface side is 0x21, the virtual object model is used for conversion as object x040 (air conditioner), property 0x40 (operation mode), and data 0x20 (heating).

コマンド変換関数ルーチン(図14参照)は、設定温度のように変換は同じ規則で行われているが、1対1で変換テーブルを作成するとテーブルが大きくなってしまう場合に使用する。本実施の形態における設定温度の場合の変換関数ルーチンを図18に記す。(1)はC言語で記述した例、(2)は逆ポーランド記法を用いたFORTH言語で記述した例である。それぞれ機器インタフェース側の通信コマンドの値0x30を入力すると、ネットワークインタフェース側の通信コマンドの0x14(10進数の20)が出力されるようになっている。   The command conversion function routine (see FIG. 14) is used when the conversion is performed according to the same rule as the set temperature, but if the conversion table is created one-on-one, the table becomes large. A conversion function routine in the case of the set temperature in this embodiment is shown in FIG. (1) is an example described in C language, and (2) is an example described in FORTH language using reverse Polish notation. When the device interface side communication command value 0x30 is input, the network interface side communication command 0x14 (decimal number 20) is output.

図19は、家電機器2から送信され機器インタフェース部1aで受信した通信コマンドを、アダプタ制御ソフトウェア1hのコマンド変換処理部(図14参照)で仮想オブジェクトモデルに変換する際のフローチャートを示す図である。機器インタフェース送受信部1h−1から通信コマンドが渡されて処理は開始する。ステップS191では、コマンド変換テーブルを用いて受信した通信コマンドを、仮想オブジェクトのオブジェクトとプロパティに変換する。例えば、通信コマンドが0x21の場合、オブジェクトは0x40、プロパティは0x40となり、通信コマンドが0x31の場合、オブジェクトは0x40、プロパティは0x50となる。   FIG. 19 is a diagram illustrating a flowchart when a communication command transmitted from the home appliance 2 and received by the device interface unit 1a is converted into a virtual object model by the command conversion processing unit (see FIG. 14) of the adapter control software 1h. . The processing starts when a communication command is passed from the device interface transmission / reception unit 1h-1. In step S191, the communication command received using the command conversion table is converted into the object and property of the virtual object. For example, when the communication command is 0x21, the object is 0x40 and the property is 0x40, and when the communication command is 0x31, the object is 0x40 and the property is 0x50.

ステップS192で、通信コマンドが0x30未満か、以上かで処理が分かれる。0x30未満の場合、コマンド変換テーブルにより値の変換を行い(ステップS193)、0x30以上の場合は、設定温度なのでコマンド変換関数ルーチンによる変換を行う(ステップS194)。例えば、通信コマンドが0x21の場合、値はコマンド変換テーブルより0x20となり、通信コマンドが0x31の場合、値はコマンド変換関数ルーチンにより、0x15となる。   In step S192, the process is divided depending on whether the communication command is less than 0x30 or more. If the value is less than 0x30, the value is converted by the command conversion table (step S193). If the value is 0x30 or more, the set temperature is set, and conversion is performed by the command conversion function routine (step S194). For example, when the communication command is 0x21, the value is 0x20 from the command conversion table, and when the communication command is 0x31, the value is 0x15 by the command conversion function routine.

以上の変換処理によって、機器インタフェース部1aで受信した家電機器2固有の通信コマンドが、家電機器2で送受信される通信コマンドの体系に依存しない仮想オブジェクトモデルに変換される。同様に、ネットワーク6を介してネットワークインタフェース部1bで受信したネットワーク固有の通信コマンドが、コマンド変換部1kによって、ネットワーク6で伝送されるコマンドの体系に依存しない仮想オブジェクトモデルに変換される。このため、コマンド変換部1kとアダプタ制御ソフトウェア1hとの間では、家電機器2で送受信される通信コマンドおよびネットワーク6を伝送するコマンドの体系に依存しない仮想オブジェクトモデルを用いてコマンドの受け渡しを行うことができる。その結果、ダウンロードソフトウェアであるアダプタ制御ソフトウェア1hは、現在接続中のネットワーク6の種類を意識することなく、コマンドの送受信が行えるという効果が発揮される。
特に、図15に示した通信コマンドは、家電機器2或いはネットワーク6に固有の体系を有しているため、別の家電機器2或いはネットワーク6と接続を変更した場合には、通信コマンドの体系が大きく異なる(例えば、上位2ビットがデータの種類を表し、下位6ビットが運転状態を表すなど)。これに対し、図16に示した仮想オブジェクトモデルは、図15の通信コマンドの体系に依存しない中間的なコマンド体系を有しているため、一旦、仮想オブジェクトモデルに変換して、アダプタ制御ソフトウェア1hとコマンド変換部1kとの間で受け渡すことにより、別の家電機器2或いはネットワーク6と接続を変更した場合であっても、新たなアダプタ制御ソフトウェア1hをダウンロードすることなしに、継続してコマンドの送受信を行うことが可能となる。
なお、通信コマンドから仮想オブジェクトモデルへの変換は、以下の事情により、容易に行える。すなわち、アダプタ制御ソフトウェア1hは、家電機器2からダウンロードされるソフトウェアであるため、アダプタ制御ソフトウェア1hの中に、家電機器2固有のコマンド体系についての情報を有している。このため、家電機器2から送信されるコマンドを仮想オブジェクトモデルに変換するのは、アダプタ制御ソフトウェア1hにとっては容易である。また、家電機器アダプタ1自体がネットワーク6に依存しているため、家電機器アダプタ1内のコマンド変換部1kは、ネットワーク6固有のコマンド体系についての情報を有している。このため、ネットワーク6を介して送信されるコマンドを仮想オブジェクトモデルに変換するのは、コマンド変換部1kにとっては容易である。
以上の基本的な技術思想は、以下説明する各実施の形態についても同様である。
Through the above conversion processing, the communication command specific to the home appliance 2 received by the device interface unit 1a is converted into a virtual object model that does not depend on the communication command system transmitted and received by the home appliance 2. Similarly, a network-specific communication command received by the network interface unit 1b via the network 6 is converted by the command conversion unit 1k into a virtual object model that does not depend on the system of commands transmitted on the network 6. For this reason, between the command conversion unit 1k and the adapter control software 1h, a command is exchanged using a virtual object model that does not depend on a communication command transmitted / received by the home appliance 2 and a command system transmitted on the network 6. Can do. As a result, the adapter control software 1h, which is download software, exhibits an effect that commands can be transmitted and received without being conscious of the type of the currently connected network 6.
In particular, since the communication command shown in FIG. 15 has a system unique to the home appliance 2 or the network 6, when the connection with another home appliance 2 or the network 6 is changed, the communication command system is changed. They are very different (for example, the upper 2 bits represent the type of data and the lower 6 bits represent the operating state). On the other hand, since the virtual object model shown in FIG. 16 has an intermediate command system that does not depend on the communication command system shown in FIG. 15, the virtual object model is temporarily converted into a virtual object model and the adapter control software 1h. Even if the connection with another home appliance 2 or the network 6 is changed by passing between the command conversion unit 1k and the command conversion unit 1k, the command can be continuously executed without downloading the new adapter control software 1h. Can be transmitted and received.
The conversion from the communication command to the virtual object model can be easily performed due to the following circumstances. That is, since the adapter control software 1h is software downloaded from the home appliance 2, the adapter control software 1h has information about a command system unique to the home appliance 2. For this reason, it is easy for the adapter control software 1h to convert the command transmitted from the home appliance 2 into the virtual object model. In addition, since the home appliance adapter 1 itself depends on the network 6, the command conversion unit 1 k in the home appliance adapter 1 has information on a command system unique to the network 6. Therefore, it is easy for the command conversion unit 1k to convert a command transmitted via the network 6 into a virtual object model.
The basic technical idea described above is the same for each embodiment described below.

実施の形態4.
図20は、ネットワークインタフェース1bのコマンドがオブジェクトモデルに基づいていて、仮想オブジェクトモデルにネットワークインタフェースのオブジェクトモデルを適用した場合のアダプタ制御ソフトウェア1hと、コマンド変換部1kの機能を示すブロック図である。オブジェクトモデルが等しいために、コマンド変換部1kにはネットワークコマンド変換部1k−1はなく、ネットワークインタフェース送受信部1k−2のみとなっている。また、アダプタ制御ソフトウェアの仮想オブジェクト変換部1h−2には、変換処理を実行するコマンド変換処理部と、処理の際に使用されるコマンド変換テーブルと、コマンド変換関数ルーチンが搭載される。
Embodiment 4 FIG.
FIG. 20 is a block diagram illustrating the functions of the adapter control software 1h and the command conversion unit 1k when the network interface 1b command is based on the object model and the network interface object model is applied to the virtual object model. Since the object models are equal, the command conversion unit 1k does not have the network command conversion unit 1k-1, but only the network interface transmission / reception unit 1k-2. The virtual object conversion unit 1h-2 of the adapter control software includes a command conversion processing unit that executes conversion processing, a command conversion table that is used in the processing, and a command conversion function routine.

図21は、家電機器2と家電機器アダプタ1間で通信される通信コマンドの体系を示す図である。通信コマンドは1バイトで構成され、上位4ビットと下位4ビットに分けられている。上位4ビットは、データの種類を表し、エアコンの場合、図に示すように、運転状態、運転モード、設定温度などが割り当てられる。また、下位4ビットは、データの種類毎に意味が異なり、上位4ビットが運転状態の場合は、0x0が停止を、0x1が運転の状態を表す。同様に、運転モードの場合には、0x0が冷房、0x1が暖房を、設定温度の場合には、0x0が20℃、以後プラス1されると1℃ずつプラスし、0xaが30℃を意味する。   FIG. 21 is a diagram illustrating a communication command system communicated between the home appliance 2 and the home appliance adapter 1. The communication command is composed of 1 byte, and is divided into upper 4 bits and lower 4 bits. The upper 4 bits represent the type of data, and in the case of an air conditioner, as shown in the figure, an operation state, an operation mode, a set temperature, and the like are assigned. The lower 4 bits have different meanings for each type of data. When the upper 4 bits are in an operating state, 0x0 indicates a stop and 0x1 indicates an operating state. Similarly, in the case of the operation mode, 0x0 is cooling, 0x1 is heating, and in the case of the set temperature, 0x0 is 20 ° C, and if it is incremented by 1 thereafter, it is incremented by 1 ° C, and 0xa means 30 ° C. .

図22は、コントローラ3と家電機器アダプタ1間で通信される通信コマンドの体系を示す図である。通信コマンドは3バイトのオブジェクトモデルで構成され、1バイト目がアクセス機器を表すオブジェクト、2バイト目がデータの種類を表すプロパティ、3バイト目がデータの値を表すプロパティ値となっている。エアコンの場合には、1バイト目は0x40固定、2バイト目は、運転状態が0x30、運転モードが0x40、設定温度が0x50となっている。3バイト目は、プロパティによって異なり、運転状態では、0x11が停止、0x22が運転、運転モードでは、0x10が冷房、0x20が暖房、設定温度では、0x14が20℃から始まり、0x1Eが30℃を表している。   FIG. 22 is a diagram showing a system of communication commands communicated between the controller 3 and the home appliance adapter 1. The communication command is composed of a 3-byte object model, in which the first byte is an object representing an access device, the second byte is a property representing a data type, and the third byte is a property value representing a data value. In the case of an air conditioner, the first byte is fixed at 0x40, and the second byte is the operation state 0x30, the operation mode 0x40, and the set temperature 0x50. The third byte varies depending on the property. In the operating state, 0x11 is stopped, 0x22 is operating, in the operating mode, 0x10 is cooling, 0x20 is heating, and at the set temperature, 0x14 starts from 20 ° C and 0x1E indicates 30 ° C ing.

コマンド変換処理部(図20参照)の処理に使用されるコマンド変換テーブルは、図23のようになる。例えば、機器インタフェース側の通信コマンドが、0x21の場合、ネットワークインタフェース側のオブジェクトモデルは、オブジェクトx040(エアコン)、プロパティ0x40(運転モード)、データ0x20(暖房)のように変換に使用される。   The command conversion table used for the process of the command conversion processing unit (see FIG. 20) is as shown in FIG. For example, when the communication command on the device interface side is 0x21, the object model on the network interface side is used for conversion as object x040 (air conditioner), property 0x40 (operation mode), and data 0x20 (heating).

コマンド変換関数ルーチン(図20参照)は、設定温度のように変換は同じ規則で行われているが、1対1で変換テーブルを作成するとテーブルが大きくなってしまう場合に使用する。本実施の形態における設定温度の場合の変換関数ルーチンを図24に記す。(1)はC言語で記述した例、(2)は逆ポーランド記法を用いたFORTH言語で記述した例である。それぞれ機器インタフェース側の通信コマンドの値0x30を入力すると、ネットワークインタフェース側の通信コマンドの0x14(10進数の20)が出力されるようになっている。   The command conversion function routine (see FIG. 20) is used when the conversion is performed according to the same rule as in the set temperature, but if the conversion table is created one-on-one, the table becomes large. A conversion function routine in the case of the set temperature in this embodiment is shown in FIG. (1) is an example described in C language, and (2) is an example described in FORTH language using reverse Polish notation. When the device interface side communication command value 0x30 is input, the network interface side communication command 0x14 (decimal number 20) is output.

図25は、家電機器2から送信され機器インタフェース部1aで受信した通信コマンドを、アダプタ制御ソフトウェア1hのコマンド変換処理部(図20参照)で仮想オブジェクトモデルに変換する際のフローチャートを示す図である。機器インタフェース送受信部1h−1から通信コマンドが渡されて処理は開始する。ステップS191では、コマンド変換テーブルを用いて受信した通信コマンドを、仮想オブジェクトのオブジェクトとプロパティに変換する。例えば、通信コマンドが0x21の場合、オブジェクトは0x40、プロパティは0x40となり、通信コマンドが0x31の場合、オブジェクトは0x40、プロパティは0x50となる。   FIG. 25 is a diagram illustrating a flowchart when the communication command transmitted from the home appliance 2 and received by the device interface unit 1a is converted into a virtual object model by the command conversion processing unit (see FIG. 20) of the adapter control software 1h. . The processing starts when a communication command is passed from the device interface transmission / reception unit 1h-1. In step S191, the communication command received using the command conversion table is converted into the object and property of the virtual object. For example, when the communication command is 0x21, the object is 0x40 and the property is 0x40, and when the communication command is 0x31, the object is 0x40 and the property is 0x50.

ステップS192で、通信コマンドが0x30未満か、以上かで処理が分かれる。0x30未満の場合、コマンド変換テーブルにより値の変換を行い(ステップS193)、0x30以上の場合は、設定温度なのでコマンド変換関数ルーチンによる変換を行う(ステップS194)。例えば、通信コマンドが0x21の場合、値はコマンド変換テーブルより0x20となり、通信コマンドが0x31の場合、値はコマンド変換関数ルーチンにより、0x15となる。   In step S192, the process is divided depending on whether the communication command is less than 0x30 or more. If the value is less than 0x30, the value is converted by the command conversion table (step S193). If the value is 0x30 or more, the set temperature is set, and conversion is performed by the command conversion function routine (step S194). For example, when the communication command is 0x21, the value is 0x20 from the command conversion table, and when the communication command is 0x31, the value is 0x15 by the command conversion function routine.

以上の変換処理によって、機器インタフェース部1aで受信した家電機器2固有の通信コマンドが、当該通信コマンドの体系に依存しない仮想オブジェクトモデルに変換される。このため、コマンド変換部1kとアダプタ制御ソフトウェア1hとの間では、家電機器2で送受信される通信コマンドの体系に依存しない仮想オブジェクトモデルを用いて通信コマンドの受け渡しを行うことができる。その結果、コマンド変換部1kは、現在接続中の家電機器2の種類を意識することなく、通信コマンドの送受信が行えるという効果が発揮される。   Through the above conversion process, the communication command specific to the home appliance 2 received by the device interface unit 1a is converted into a virtual object model that does not depend on the system of the communication command. Therefore, communication commands can be exchanged between the command conversion unit 1k and the adapter control software 1h using a virtual object model that does not depend on the communication command system transmitted and received by the home appliance 2. As a result, the effect that the command conversion unit 1k can transmit and receive communication commands without being conscious of the type of the currently connected home appliance 2 is exhibited.

実施の形態5.
図26は、機器インタフェース1aのコマンドがオブジェクトモデルに基づいていて、仮想オブジェクトに機器インタフェースのオブジェクトモデルを適用した場合のアダプタ制御ソフトウェア1hと、コマンド変換部1kの機能を示すブロック図である。オブジェクトモデルが等しいために、アダプタ制御ソフトウェア1hには仮想オブジェクト変換部1h−2はなく、機器インタフェース送受信部1h−1のみとなっている。また、コマンド変換部1kのネットワークコマンド変換部1k−1には、変換処理を実行するコマンド変換処理部と、処理の際に使用されるコマンド変換テーブルと、コマンド変換関数ルーチンが搭載されている。
Embodiment 5. FIG.
FIG. 26 is a block diagram illustrating the functions of the adapter control software 1h and the command conversion unit 1k when the command of the device interface 1a is based on an object model and the object model of the device interface is applied to a virtual object. Since the object models are equal, the adapter control software 1h does not have the virtual object conversion unit 1h-2 but only the device interface transmission / reception unit 1h-1. The network command conversion unit 1k-1 of the command conversion unit 1k includes a command conversion processing unit that executes conversion processing, a command conversion table that is used in the processing, and a command conversion function routine.

図27は、家電機器と家電機器アダプタ間で通信されるコマンドの体系を示す図である。コマンドは3バイトのオブジェクトモデルで構成され、1バイト目がアクセス機器を表すオブジェクトを、2バイト目がデータの種類を表すプロパティ、3バイト目がデータの値を表すプロパティ値となっている。エアコンの場合には、1バイト目は0x40固定、2バイト目は、運転状態が0x30、運転モードが0x40、設定温度が0x50となっている。3バイト目は、プロパティによって異なり、運転状態では、0x11が停止、0x22が運転、運転モードでは、0x10が冷房、0x20が暖房、設定温度では、0x14が20℃から始まり、0x1Eが30℃を表している。   FIG. 27 is a diagram illustrating a system of commands communicated between the home appliance and the home appliance adapter. The command is composed of a 3-byte object model, in which the first byte is an object representing an access device, the second byte is a property representing a data type, and the third byte is a property value representing a data value. In the case of an air conditioner, the first byte is fixed to 0x40, and the second byte is an operation state of 0x30, an operation mode of 0x40, and a set temperature of 0x50. The third byte varies depending on the property. In the operating state, 0x11 is stopped, 0x22 is operating, in the operating mode, 0x10 is cooling, 0x20 is heating, and at the set temperature, 0x14 starts from 20 ° C and 0x1E represents 30 ° C ing.

図28は、コントローラと家電機器アダプタ間で通信される通信コマンドの体系を示す図である。通信コマンドは1バイトで構成され、上位4ビットと下位4ビットに分けられている。上位4ビットは、データの種類を表し、エアコンの場合、図に示すように、運転状態、運転モード、設定温度などが割り当てられる。また、下位4ビットは、データの種類毎に意味が異なり、上位4ビットが運転状態の場合は、0x0が停止を、0x1が運転の状態を表す。同様に、運転モードの場合には、0x0が冷房、0x1が暖房を、設定温度の場合には、0x0が20℃、以後プラス1されると1℃ずつプラスし、0xaが30℃を意味する。   FIG. 28 is a diagram illustrating a system of communication commands communicated between the controller and the home appliance adapter. The communication command is composed of 1 byte, and is divided into upper 4 bits and lower 4 bits. The upper 4 bits represent the type of data, and in the case of an air conditioner, as shown in the figure, an operation state, an operation mode, a set temperature, and the like are assigned. The lower 4 bits have different meanings for each type of data. When the upper 4 bits are in an operating state, 0x0 indicates a stop and 0x1 indicates an operating state. Similarly, in the case of the operation mode, 0x0 means cooling, 0x1 means heating, and in the case of the set temperature, 0x0 means 20 ° C, and if it is incremented by 1 thereafter, 1 ° C is added, and 0xa means 30 ° C. .

コマンド変換処理部(図26参照)に使用されるコマンド変換テーブルおよびコマンド変換関数ルーチンは、図29のように表される。例えば、機器インタフェース側のオブジェクトモデルが、オブジェクトx040(エアコン)、プロパティ0x40(運転モード)、データ0x20(暖房)の場合、ネットワークインタフェース側の通信コマンドは、0x21のように変換に使用される。また、設定温度のように変換関数ルーチンを使用したほうがよい場合、プロパティ0x50の行のように、値には、式を代入し変換関数ルーチンを表す。この場合の式は、0x14(10進数の20)が0x30に変換されるような関数となっている。家電機器アダプタには予め、プラス(+)、マイナス(−)などの四則演算の計算ルーチンは組み込まれており、上記関数式を評価し、実行する。   The command conversion table and command conversion function routine used in the command conversion processing unit (see FIG. 26) are expressed as shown in FIG. For example, when the object model on the device interface side is object x040 (air conditioner), property 0x40 (operation mode), and data 0x20 (heating), the communication command on the network interface side is used for conversion as 0x21. If it is better to use a conversion function routine such as the set temperature, an expression is substituted for the value to represent the conversion function routine as in the row of property 0x50. The expression in this case is a function that converts 0x14 (decimal number 20) to 0x30. The home appliance adapter includes a calculation routine for four arithmetic operations such as plus (+) and minus (−) in advance, and evaluates and executes the above function expression.

図30は、仮想オブジェクトモデルからネットワークインタフェースコマンドへ変換する場合のコマンド変換部1kのフローチャートを表す図である。コマンドAPI1lを介してアダプタ制御ソフトウェア1hから、仮想オブジェクトデータを受け取ると処理を開始し、ステップS241では、プロパティが0x50未満かを判断する。0x50未満の場合は、コマンド変換テーブルによる変換を行い、0x50以上なら、コマンド変換テーブルと、変換関数ルーチンを用いて、変換を行う。例えば、オブジェクト0x40、プロパティ0x30、値0x22の場合は、変換テーブルにより、1バイト目を0x11に変換する。また、オブジェクト0x40、プロパティ0x50、値0x15の場合は、変換関数ルーチンにより、1バイト目を0x31(0x15−0x14+0x30)に変換する。   FIG. 30 is a diagram illustrating a flowchart of the command conversion unit 1k when converting from a virtual object model to a network interface command. When virtual object data is received from the adapter control software 1h via the command API 1l, processing is started. In step S241, it is determined whether the property is less than 0x50. If it is less than 0x50, conversion is performed using a command conversion table. If it is 0x50 or more, conversion is performed using a command conversion table and a conversion function routine. For example, in the case of object 0x40, property 0x30, and value 0x22, the first byte is converted to 0x11 by the conversion table. In the case of object 0x40, property 0x50, and value 0x15, the first byte is converted to 0x31 (0x15-0x14 + 0x30) by the conversion function routine.

コマンド変換部1kは、家電機器アダプタに予め組み込まれたソフトウェアであるために変更はできない。変換規則を変えられるように、コマンド変換テーブル、コマンド変換関数ルーチンは、コマンド変換API1lを介してダウンロードされるアダプタ制御ソフトウェア1hから設定することが可能となっている。図31は、コマンド変換APIを使用して、コマンド変換テーブル、コマンド変換関数ルーチンを設定する例を示す図である。(1)がC言語を使用した場合、(2)が逆ポーランド記法を用いたFORTH言語を使用した場合の例である。図29のコマンド変換テーブルの1行ずつを、コマンド変換APIを介して登録している。   The command conversion unit 1k cannot be changed because it is software pre-installed in the home appliance adapter. The command conversion table and the command conversion function routine can be set from the adapter control software 1h downloaded via the command conversion API 11 so that the conversion rule can be changed. FIG. 31 is a diagram illustrating an example of setting a command conversion table and a command conversion function routine using the command conversion API. When (1) uses the C language, (2) is an example when the FORTH language using reverse Polish notation is used. Each line of the command conversion table of FIG. 29 is registered via the command conversion API.

以上の変換処理によって、ネットワーク6で伝送される通信コマンドの体系に依存しない仮想オブジェクトモデルが、コマンド変換部1kによって、ネットワーク固有の通信コマンド(ネットワークインタフェース側の通信コマンド)に変換される。このため、コマンド変換部1kとアダプタ制御ソフトウェア1hとの間では、ネットワーク6を伝送する通信コマンドの体系に依存しない仮想オブジェクトモデルを用いてコマンドの受け渡しを行うことができる。その結果、ダウンロードソフトウェアであるアダプタ制御ソフトウェア1hは、現在接続中のネットワーク6の種類を意識することなく、コマンドの送受信が行えるという効果が発揮される。   Through the above conversion processing, the virtual object model that does not depend on the communication command system transmitted on the network 6 is converted into a network-specific communication command (network interface side communication command) by the command conversion unit 1k. Therefore, commands can be exchanged between the command conversion unit 1k and the adapter control software 1h by using a virtual object model that does not depend on the communication command system transmitted through the network 6. As a result, the adapter control software 1h, which is download software, exhibits an effect that commands can be transmitted and received without being conscious of the type of the currently connected network 6.

実施の形態6.
図32は、アダプタ制御ソフトウェア1hと、コマンド変換部1kの機能を示すブロック図である。アダプタ制御ソフトウェア1hの仮想オブジェクト変換部1h−2には、コマンド変換関数ルーチンと、それを用いて機器インタフェースのコマンドを仮想オブジェクトに変換するコマンド変換処理部があり、コマンド変換部1kのネットワークコマンド変換部1k−1には、コマンド変換テーブルと、それを用いて仮想オブジェクトをネットワークインタフェースコマンドに変換するコマンド変換処理部がある。
Embodiment 6 FIG.
FIG. 32 is a block diagram illustrating functions of the adapter control software 1h and the command conversion unit 1k. The virtual object conversion unit 1h-2 of the adapter control software 1h includes a command conversion function routine and a command conversion processing unit that converts the command of the device interface into a virtual object using the command conversion function routine, and the network command conversion of the command conversion unit 1k The unit 1k-1 includes a command conversion table and a command conversion processing unit that converts a virtual object into a network interface command using the command conversion table.

本実施の形態における機器インタフェースのコマンド体系、およびネットワークインタフェースのコマンド体系は、図15および図16に示すものと同じである。
また、仮想オブジェクト変換部1h−2の中の、コマンド変換関数ルーチンも、図18と同様である。
The command system of the device interface and the command system of the network interface in the present embodiment are the same as those shown in FIGS.
The command conversion function routine in the virtual object conversion unit 1h-2 is the same as that shown in FIG.

図33は、仮想オブジェクト変換部1h−2のコマンド変換処理部のフローチャートを示す図である。機器インタフェース送受信部1h−1を介して機器インタフェースの通信コマンドを受信すると処理を開始する。ステップS271で、受信した機器インタフェースのコマンドが0x30未満の場合には、値の変換は行わない(ステップS272)。通信コマンドが0x30以上の場合は、ステップS273で、データが設定温度のため、コマンド変換関数ルーチンを用いて値の変換を行う。たとえば、通信コマンドが0x30の場合は、変換後の値は0x14となる。ステップS274では、受信した機器インタフェース側の通信コマンドを仮想オブジェクトモデルに変換する。ここでは、オブジェクトを0x40に、プロパティを通信コマンドの上位4ビットを符号なし1バイトコードに読み替えたものに、値を通信コマンドの下位4ビットを符号なし1バイトコードに読み替えたものに変換する。例えば、通信コマンドが0x21の場合は、オブジェクトが0x40、プロパティが0x02、値が0x01となる。   FIG. 33 is a diagram illustrating a flowchart of the command conversion processing unit of the virtual object conversion unit 1h-2. When a device interface communication command is received via the device interface transceiver 1h-1, processing is started. If the received device interface command is less than 0x30 in step S271, no value conversion is performed (step S272). If the communication command is greater than or equal to 0x30, in step S273, since the data is the set temperature, the value is converted using the command conversion function routine. For example, when the communication command is 0x30, the converted value is 0x14. In step S274, the received communication command on the device interface side is converted into a virtual object model. Here, the object is converted to 0x40, the property is converted to the one obtained by replacing the upper 4 bits of the communication command with an unsigned 1-byte code, and the value is converted to the one obtained by replacing the lower 4 bits of the communication command with an unsigned 1-byte code. For example, when the communication command is 0x21, the object is 0x40, the property is 0x02, and the value is 0x01.

図34は、ネットワークコマンド変換部1k−1のコマンド変換テーブルを表す図である。仮想オブジェクトのオブジェクト、プロパティ、値と、ネットワークインタフェース側の通信コマンドのオブジェクト、プロパティ、値の対応を表している。例えば、仮想オブジェクトのオブジェクトが0x40、プロパティが0x02、値が0x01は、ネットワークインタフェース側の通信コマンドのオブジェクトが0x40、プロパティが0x40、値が0x20に変換される。   FIG. 34 is a diagram illustrating a command conversion table of the network command conversion unit 1k-1. It shows the correspondence between the objects, properties, and values of virtual objects and the objects, properties, and values of communication commands on the network interface side. For example, when the virtual object is 0x40, the property is 0x02, and the value is 0x01, the communication command object on the network interface side is converted to 0x40, the property is 0x40, and the value is 0x20.

図35は、コマンド変換APIを使用して、コマンド変換テーブルを設定する例を示す図である。(1)がC言語を使用した場合、(2)が逆ポーランド記法を用いたFORTH言語を使用した場合の例である。図34のコマンド変換テーブルの1行ずつを、コマンド変換APIを介して登録している。   FIG. 35 is a diagram illustrating an example of setting a command conversion table using the command conversion API. When (1) uses the C language, (2) is an example when the FORTH language using reverse Polish notation is used. Each line of the command conversion table in FIG. 34 is registered via the command conversion API.

以上の変換処理によって、機器インタフェース部1aで受信した家電機器2固有の通信コマンドが、家電機器2で送受信される通信コマンドの体系に依存しない仮想オブジェクトモデルに変換される。同様に、ネットワーク6を介してネットワークインタフェース部1bで受信したネットワーク固有の通信コマンドが、コマンド変換部1kによって、ネットワーク6で伝送される通信コマンドの体系に依存しない仮想オブジェクトモデルに変換される。このため、コマンド変換部1kとアダプタ制御ソフトウェア1hとの間では、家電機器2で送受信される通信コマンドおよびネットワーク6を伝送する通信コマンドの体系に依存しない仮想オブジェクトモデルを用いてコマンドの受け渡しを行うことができる。その結果、ダウンロードソフトウェアであるアダプタ制御ソフトウェア1hは、現在接続中のネットワーク6の種類を意識することなく、コマンドの送受信が行えるという効果が発揮される。   Through the above conversion processing, the communication command specific to the home appliance 2 received by the device interface unit 1a is converted into a virtual object model that does not depend on the communication command system transmitted and received by the home appliance 2. Similarly, a network-specific communication command received by the network interface unit 1b via the network 6 is converted by the command conversion unit 1k into a virtual object model that does not depend on the system of communication commands transmitted on the network 6. For this reason, between the command conversion unit 1k and the adapter control software 1h, a command is exchanged using a virtual object model that does not depend on a communication command transmitted / received by the home appliance 2 and a communication command system transmitted through the network 6. be able to. As a result, the adapter control software 1h, which is download software, exhibits an effect that commands can be transmitted and received without being conscious of the type of the currently connected network 6.

実施の形態7.
図36は、機器インタフェース1aのコマンドがオブジェクトモデルに基づいていて、仮想オブジェクトに機器インタフェースのオブジェクトモデルを適用した場合のアダプタ制御ソフトウェア1hと、コマンド変換部1kの機能を示すブロック図である。オブジェクトモデルが等しいために、アダプタ制御ソフトウェア1hには仮想オブジェクト変換部1h−2はなく、コマンド変換関数ルーチンのみがある。また、コマンド変換部のネットワークコマンド変換部1k−1には、変換処理を実行するコマンド変換処理部と、処理の際に使用されるコマンド変換テーブルと、コマンド変換関数ルーチンを検索するためのコマンド変換関数テーブルが搭載されている。
Embodiment 7 FIG.
FIG. 36 is a block diagram illustrating the functions of the adapter control software 1h and the command conversion unit 1k when the command of the device interface 1a is based on an object model and the object model of the device interface is applied to a virtual object. Since the object models are equal, the adapter control software 1h has no virtual object conversion unit 1h-2 and only a command conversion function routine. The network command conversion unit 1k-1 of the command conversion unit includes a command conversion processing unit that executes conversion processing, a command conversion table that is used in the processing, and command conversion for searching for a command conversion function routine. A function table is installed.

本実施の形態における機器インタフェースコマンドの体系および、ネットワークインタフェースコマンドの体系は、図27および図28と同じである。仮想オブジェクト変換部1h−2のコマンド変換関数ルーチンも図33と同じ構成となる。   The system of device interface commands and the system of network interface commands in the present embodiment are the same as those in FIGS. The command conversion function routine of the virtual object conversion unit 1h-2 has the same configuration as that shown in FIG.

図37は、本実施の形態におけるネットワークコマンド変換部1k−1のコマンド変換テーブルおよびコマンド変換関数テーブルを示す図である。コマンド変換テーブルは、これまでの実施例と同じ構成である。仮想オブジェクトモデルのプロパティが0x50の場合は、値の欄に“FUNC1”の文字が入っていて、FUNC1という変換関数ルーチンを使用することを表している。
また、図38はコマンド変換関数テーブルを示し、FUNC1という変換関数ルーチンは、アダプタ制御ソフトウェアの127行目、1例から始まるコードであることを示している。
FIG. 37 is a diagram showing a command conversion table and a command conversion function table of the network command conversion unit 1k-1 in the present embodiment. The command conversion table has the same configuration as the previous embodiments. When the property of the virtual object model is 0x50, “FUNC1” is entered in the value column, indicating that the conversion function routine of FUNC1 is used.
FIG. 38 shows a command conversion function table. The conversion function routine FUNC1 is a code starting from the first example on the 127th line of the adapter control software.

これらにより、ネットワークコマンド変換部1k−1のコマンド変換処理部は、プロパティが0x50であった場合には、アダプタ制御ソフトウェアの127行、1列目からのコードを利用して変換処理を行う。例えば、機器インタフェース側の通信コマンドのオブジェクトが0x40、プロパティが0x50、値が0x16の場合は、コマンド変換テーブルと、コマンド変換関数ルーチンを用いて、ネットワークコマンドが0x32に変換される。   Accordingly, when the property is 0x50, the command conversion processing unit of the network command conversion unit 1k-1 performs conversion processing using the code from the 127th row and the first column of the adapter control software. For example, when the communication command object on the device interface side is 0x40, the property is 0x50, and the value is 0x16, the network command is converted to 0x32 using the command conversion table and the command conversion function routine.

コマンド変換部1kのコマンド変換テーブルおよびコマンド変換関数テーブルは、これまでの実施の形態と同様に、コマンド変換APIを使用して設定が可能である。   The command conversion table and command conversion function table of the command conversion unit 1k can be set using the command conversion API as in the previous embodiments.

図39は、本実施の形態における家電機器アダプタへダウンロードするアダプタ制御ソフトウェアを自動生成する開発ソフトウェアの入力画面の例を示す図である。図26に示すアダプタ制御ソフトウェア1hを生成する場合について説明する。
画面では、機器インタフェースコマンドと、仮想オブジェクト(ネットワークインタフェースコマンド)の対応を入力している。例えば、1行目は、機器インタフェースコマンドの1バイト目が0x10の時は、ネットワーク印フェースコマンドのオブジェクトはx0x40、プロパティは0x30、値は0x11という対応付けを行っている。
FIG. 39 is a diagram illustrating an example of an input screen of development software for automatically generating adapter control software to be downloaded to the home appliance adapter according to the present embodiment. A case where the adapter control software 1h shown in FIG. 26 is generated will be described.
On the screen, the correspondence between device interface commands and virtual objects (network interface commands) is entered. For example, in the first line, when the first byte of the device interface command is 0x10, the network mark command object is associated with x0x40, the property is 0x30, and the value is 0x11.

図40は、アダプタ制御ソフトウェア生成ソフトウェアの機能ブロックを示す図である。
図39の入力画面で入力が完了すると、図40のアダプタ制御ソフトウェア生成ソフトウェアが起動され、始めに初期化モジュール生成部により、入力されたコマンド対応表から、コマンド対応表を初期化するモジュールを生成する。コマンド対応表の1列ずつを取り出し、左の列から順番に、コマンド対応表を初期化するサブルーチンの引数に入れていく。生成されたコマンド対応表初期化モジュールは、図35のようになる。
FIG. 40 is a diagram illustrating functional blocks of the adapter control software generation software.
When the input on the input screen of FIG. 39 is completed, the adapter control software generation software of FIG. 40 is started, and first, the initialization module generation unit generates a module for initializing the command correspondence table from the input command correspondence table. To do. One column of the command correspondence table is taken out and put in the argument of the subroutine for initializing the command correspondence table in order from the left column. The generated command correspondence table initialization module is as shown in FIG.

図40に戻り、モジュール結合部が、機器インタフェース部とのインタフェースモジュール、コマンド変換部とのインタフェースモジュールと、前記コマンド対応表初期化モジュールを結合して、アダプタ制御ソフトウェアを生成する。機器インタフェース部とのインタフェースモジュールは家電機器に依存したモジュールとなっているためアダプタ制御ソフトウェアを生成する際に変更する必要はない。また、コマンド変換部とのインタフェースモジュールも予め決められているため変更する必要はない。これらの変更が不要なモジュールは、アダプタ制御ソフトウェア生成部に予めテンプレートとして登録されていて、アダプタ制御ソフトウェア生成時に、モジュール結合部により利用される。   Returning to FIG. 40, the module combining unit combines the interface module with the device interface unit, the interface module with the command conversion unit, and the command correspondence table initialization module to generate adapter control software. Since the interface module with the device interface unit is a module that depends on the home appliance, there is no need to change it when generating the adapter control software. Further, since the interface module with the command conversion unit is also determined in advance, it does not need to be changed. These modules that do not need to be changed are registered in advance in the adapter control software generation unit as templates, and are used by the module combination unit when generating the adapter control software.

この発明の実施の形態1を示す家電機器アダプタの機能ブロック図である。It is a functional block diagram of the household appliance adapter which shows Embodiment 1 of this invention. この発明の実施の形態1を示す家電機器アダプタのダウンロード制御部のフローチャートである。It is a flowchart of the download control part of the household appliance adapter which shows Embodiment 1 of this invention. この発明の実施の形態1を示す家電機器アダプタのメモリマップを示す図である。It is a figure which shows the memory map of the household appliance adapter which shows Embodiment 1 of this invention. この発明の実施の形態1を示す家電機器アダプタのアダプタ制御ソフトウェアの機能ブロック図である。It is a functional block diagram of the adapter control software of the household appliance adapter which shows Embodiment 1 of this invention. この発明の実施の形態1を示す家電機器アダプタのアドレステーブルを示す図である。It is a figure which shows the address table of the household appliance adapter which shows Embodiment 1 of this invention. この発明の実施の形態1を示す家電機器アダプタによる引数の構造表現を示す図である。It is a figure which shows the structure expression of the argument by the household appliances adapter which shows Embodiment 1 of this invention. この発明の実施の形態1を示す家電機器アダプタの引数の実態を示す図である。It is a figure which shows the actual condition of the argument of the household appliance adapter which shows Embodiment 1 of this invention. この発明の実施の形態2を示す家電機器アダプタの機能ブロック図である。It is a functional block diagram of the household appliance adapter which shows Embodiment 2 of this invention. この発明の実施の形態2を示す家電機器アダプタのダウンロード制御部のフローチャートである。It is a flowchart of the download control part of the household appliance adapter which shows Embodiment 2 of this invention. この発明の実施の形態2を示す家電機器アダプタのメモリマップを示す図である。It is a figure which shows the memory map of the household appliance adapter which shows Embodiment 2 of this invention. この発明の実施の形態2を示す家電機器アダプタのインタプリタAPIの一例を示す図である。It is a figure which shows an example of the interpreter API of the household appliance adapter which shows Embodiment 2 of this invention. この発明の実施の形態3を示す家電機器アダプタの機能を示すブロック図である。It is a block diagram which shows the function of the household appliance adapter which shows Embodiment 3 of this invention. アダプタ制御ソフトウェアとコマンド変換部の機能を示すブロック図である。It is a block diagram which shows the function of adapter control software and a command conversion part. アダプタ制御ソフトウェアとコマンド変換部の機能を示すブロック図である。It is a block diagram which shows the function of adapter control software and a command conversion part. 家電機器と家電機器アダプタ間で通信されるコマンドおよびコントローラと家電機器アダプタ間で通信されるコマンドの体系を示す図である。It is a figure which shows the system of the command communicated between a household appliance and a household appliance adapter, and the command communicated between a controller and a household appliance adapter. コマンド変換部とアダプタ制御ソフトウェアとの間で通信される仮想オブジェクトモデルの体系を示す図である。It is a figure which shows the system | strain of the virtual object model communicated between a command conversion part and adapter control software. コマンド変換テーブルの構成を示す図である。It is a figure which shows the structure of a command conversion table. 変換関数ルーチンの構成を示す図である。It is a figure which shows the structure of a conversion function routine. 機器インタフェース部で受信したコマンドを仮想オブジェクトモデルに変換する際のフローチャートを示す図である。It is a figure which shows the flowchart at the time of converting the command received in the apparatus interface part into a virtual object model. アダプタ制御ソフトウェアとコマンド変換部の機能を示すブロック図である。It is a block diagram which shows the function of adapter control software and a command conversion part. 家電機器と家電機器アダプタ間で通信されるコマンドの体系を示す図である。It is a figure which shows the system of the command communicated between household appliances and household appliance adapters. コントローラと家電機器アダプタ間で通信されるコマンドの体系を示す図である。It is a figure which shows the system of the command communicated between a controller and a household appliance adapter. コマンド変換テーブルの構成を示す図である。It is a figure which shows the structure of a command conversion table. 変換関数ルーチンの構成を示す図である。It is a figure which shows the structure of a conversion function routine. 機器インタフェース部で受信したコマンドを仮想オブジェクトモデルに変換する際のフローチャートを示す図である。It is a figure which shows the flowchart at the time of converting the command received in the apparatus interface part into a virtual object model. アダプタ制御ソフトウェアとコマンド変換部の機能を示すブロック図である。It is a block diagram which shows the function of adapter control software and a command conversion part. 家電機器と家電機器アダプタ間で通信されるコマンドの体系を示す図である。It is a figure which shows the system of the command communicated between household appliances and household appliance adapters. コントローラと家電機器アダプタ間で通信されるコマンドの体系を示す図である。It is a figure which shows the system of the command communicated between a controller and a household appliance adapter. コマンド変換テーブルおよびコマンド変換関数ルーチンを示す図である。It is a figure which shows a command conversion table and a command conversion function routine. 仮想オブジェクトモデルからネットワークインタフェースコマンドへ変換する場合のコマンド変換部のフローチャートを表す図である。It is a figure showing the flowchart of the command conversion part in the case of converting into a network interface command from a virtual object model. コマンド変換APIを使用して、コマンド変換テーブル、コマンド変換関数ルーチンを設定する例を示す図である。It is a figure which shows the example which sets a command conversion table and a command conversion function routine using command conversion API. アダプタ制御ソフトウェアとコマンド変換部の機能を示すブロック図である。It is a block diagram which shows the function of adapter control software and a command conversion part. 仮想オブジェクト変換部のコマンド変換処理部のフローチャートを示す図である。It is a figure which shows the flowchart of the command conversion process part of a virtual object conversion part. ネットワークコマンド変換部のコマンド変換テーブルを表す図である。It is a figure showing the command conversion table of a network command conversion part. コマンド変換APIを使用して、コマンド変換テーブルを設定する例を示す図である。It is a figure which shows the example which sets a command conversion table using command conversion API. アダプタ制御ソフトウェアとコマンド変換部の機能を示すブロック図である。It is a block diagram which shows the function of adapter control software and a command conversion part. コマンド変換テーブルおよびコマンド変換関数テーブルを示す図である。It is a figure which shows a command conversion table and a command conversion function table. コマンド変換関数テーブルを示す図である。It is a figure which shows a command conversion function table. 家電機器アダプタへダウンロードするアダプタ制御ソフトウェアを自動生成する開発ソフトウェアの入力画面の例を示す図である。It is a figure which shows the example of the input screen of the development software which automatically produces | generates the adapter control software downloaded to a household appliance adapter. アダプタ制御ソフトウェア生成ソフトウェアの機能ブロックを示す図である。It is a figure which shows the functional block of adapter control software production | generation software.

符号の説明Explanation of symbols

1 家電機器アダプタ、 1a 機器インタフェース部、 1b ネットワークインタフェース部、 1c 汎用インタフェース部、 1d ダウンロード制御部、 1e アドレステーブル、 1f アダプタ制御ソフトウェア、 1f−1 機器インタフェース制御ソフトウェア、 1f−2 コマンド変換ソフトウェア、 1f−3 アダプタ制御ソフトウェアアドレステーブル、 1g インタプリタ、 1h アダプタ制御ソフトウェア(インタプリタコード)、 1h−1 機器インタフェース送受信部、 1h−2 仮想オブジェクト変換部、 1i 機器API、 1j ネットワークAPI、 1k コマンド変換部、 1k−1 ネットワークコマンド変換部、1k−2 ネットワークインタフェース送受信部、 2 家電機器、 3 コントローラ、 4 パソコン。   1 home appliance adapter, 1a device interface unit, 1b network interface unit, 1c general-purpose interface unit, 1d download control unit, 1e address table, 1f adapter control software, 1f-1 device interface control software, 1f-2 command conversion software, 1f -3 adapter control software address table, 1g interpreter, 1h adapter control software (interpreter code), 1h-1 device interface transmission / reception unit, 1h-2 virtual object conversion unit, 1i device API, 1j network API, 1k command conversion unit, 1k -1 Network command conversion unit, 1k-2 network interface transmission / reception unit, 2 home appliances, 3 controller , 4 personal computer.

Claims (16)

家電機器と接続する機器インタフェース部と、ネットワーク上のコントローラや他機器と接続するネットワークインタフェース部と、パソコンやワークステーションと接続する汎用インタフェース部と、予め決められた手順に従い、前記3つのインタフェース部から家電機器アダプタの制御ソフトウェアをダウンロードするダウンロード制御部とを備えたことを特徴とする家電機器アダプタ。 From the three interface units according to a predetermined procedure, a device interface unit connected to home appliances, a network interface unit connected to a controller or other device on the network, a general-purpose interface unit connected to a personal computer or workstation A home appliance adapter, comprising: a download control unit that downloads control software for the home appliance adapter. 前記ダウンロード制御部は、制御ソフトウェアをダウンロードする場合には、家電機器より固有情報を取得し、前記固有情報に変更があった場合にのみダウンロードを実行することを特徴とする請求項1記載の家電機器アダプタ。 2. The home appliance according to claim 1, wherein, when the control software is downloaded, the download control unit acquires unique information from the home appliance, and executes the download only when the unique information is changed. Equipment adapter. 前記家電機器アダプタに予め組み込まれているソフトウェアと、ダウンロードされる家電機器アダプタ制御ソフトウェアは、それぞれが所有する関数の識別子とその格納アドレスの組を記述したアドレステーブルをお互いにアクセス可能な共有メモリ上に保持することを特徴とする請求項1記載の家電機器アダプタ。 The software pre-installed in the home appliance adapter and the home appliance adapter control software to be downloaded are on a shared memory that can mutually access an address table that describes a set of function identifiers and storage addresses of the respective functions. The home appliance adapter according to claim 1, wherein the home appliance adapter is held in the housing. 前記家電機器アダプタに予め組み込まれているソフトウェアと、ダウンロードされる家電機器アダプタ制御ソフトウェアがお互いに呼び合う関数の引数と、返り値は、少なくともデータ数、データ長、データ型、データ値の情報を含むデータ構造記述言語で記載されていることを特徴とする請求項1記載の家電機器アダプタ。 The argument of the function that the software pre-installed in the home appliance adapter and the downloaded home appliance adapter control software call each other, and the return value are at least the number of data, data length, data type, data value information The home appliance adapter according to claim 1, wherein the home appliance adapter is described in a data structure description language. 前記家電機器アダプタに予め組み込まれているソフトウェアとのインタフェース(API)を公開するインタプリタを搭載し、ダウンロード制御部はインタプリタコードをダウンロード後にインタプリタへ実行権を移すことを特徴とする請求項1記載の家電機器アダプタ。 2. The interpreter according to claim 1, further comprising an interpreter that publishes an interface (API) with software preliminarily incorporated in the home appliance adapter, wherein the download control unit transfers the execution right to the interpreter after downloading the interpreter code. Home appliance adapter. 家電機器と接続する機器インタフェース部と、
ネットワーク上のコントローラや他機器と接続するネットワークインタフェース部と、
前記機器インタフェース部から家電機器アダプタの制御ソフトウェアをダウンロードするダウンロード制御部と、
ネットワークを介して前記ネットワークインタフェース部で受信したネットワーク固有のコマンドを当該コマンドの体系に依存しない仮想オブジェクトモデルに変換すると共に、前記仮想オブジェクトモデルを前記ネットワーク固有のコマンドに変換して前記ネットワークインタフェース部に送信するコマンド変換部とを備え、
ダウンロードされた前記アダプタ制御ソフトウェアは、前記機器インタフェース部で受信した家電機器固有のコマンドを前記仮想オブジェクトモデルに変換して前記コマンド変換部に送信すると共に、前記コマンド変換部から送信された前記仮想オブジェクトモデルを家電機器固有のコマンドに変換して前記機器インタフェース部に送信し、
前記アダプタ制御ソフトウェアと前記コマンド変換部との間では、前記仮想オブジェクトモデルを受け渡すことを特徴とする家電機器アダプタ。
A device interface unit connected to the home appliance;
A network interface that connects to controllers and other devices on the network;
A download control unit that downloads control software for the home appliance adapter from the device interface unit;
A network-specific command received by the network interface unit via a network is converted into a virtual object model that does not depend on the command system, and the virtual object model is converted into the network-specific command to the network interface unit. A command conversion unit to transmit,
The downloaded adapter control software converts the command specific to the home appliance received by the device interface unit into the virtual object model and transmits the command to the command conversion unit, and the virtual object transmitted from the command conversion unit Convert the model into a home appliance specific command and send it to the device interface,
The home appliance adapter, wherein the virtual object model is transferred between the adapter control software and the command conversion unit.
前記仮想オブジェクトモデルは、家電機器で送受信されるコマンドの体系にも依存しないことを特徴とする請求項6記載の家電機器アダプタ。 The home appliance adapter according to claim 6, wherein the virtual object model does not depend on a command system transmitted and received by the home appliance. 前記コマンド変換部と前記アダプタ制御ソフトウェアとは、それぞれコマンド変換処理部を有すると共に、
前記コマンド変換部と前記アダプタ制御ソフトウェアとの少なくとも一方は、コマンド変換テーブルを有し、
前記コマンド変換部と前記アダプタ制御ソフトウェアとの少なくとも一方は、コマンド変換関数ルーチンを有することを特徴とする請求項6又は請求項7に記載の家電機器アダプタ。
The command conversion unit and the adapter control software each have a command conversion processing unit,
At least one of the command conversion unit and the adapter control software has a command conversion table,
8. The home appliance adapter according to claim 6, wherein at least one of the command conversion unit and the adapter control software includes a command conversion function routine.
家電機器と接続する機器インタフェース部と、
ネットワーク上のコントローラや他機器と接続するネットワークインタフェース部と、
前記機器インタフェース部から家電機器アダプタの制御ソフトウェアをダウンロードするダウンロード制御部とを備え、
ダウンロードされた前記アダプタ制御ソフトウェアは、前記機器インタフェース部で受信した家電機器固有のコマンドを当該コマンドの体系に依存しない仮想オブジェクトモデルに変換して前記ネットワークインタフェース部に送信すると共に、ネットワークを介して前記ネットワークインタフェース部で受信した仮想オブジェクトモデルを家電機器固有のコマンドに変換して前記機器インタフェース部に送信し、
前記アダプタ制御ソフトウェアと前記ネットワークインタフェース部との間では、前記仮想オブジェクトモデルを受け渡すことを特徴とする家電機器アダプタ。
A device interface unit connected to the home appliance;
A network interface that connects to controllers and other devices on the network;
A download control unit that downloads control software for the home appliance adapter from the device interface unit,
The downloaded adapter control software converts the command specific to the home appliance received by the device interface unit into a virtual object model that does not depend on the system of the command and transmits it to the network interface unit. The virtual object model received by the network interface unit is converted into a command unique to home appliances and transmitted to the device interface unit,
The home appliance adapter, wherein the virtual object model is transferred between the adapter control software and the network interface unit.
前記アダプタ制御ソフトウェアは、コマンド変換処理部と、コマンド変換テーブルと、コマンド変換関数ルーチンとを有することを特徴とする請求項9記載の家電機器アダプタ。 The home appliance adapter according to claim 9, wherein the adapter control software includes a command conversion processing unit, a command conversion table, and a command conversion function routine. 家電機器と接続する機器インタフェース部と、
ネットワーク上のコントローラや他機器と接続するネットワークインタフェース部と、
前記機器インタフェース部から家電機器アダプタの制御ソフトウェアをダウンロードするダウンロード制御部と、
ネットワークを介して前記ネットワークインタフェース部で受信したネットワーク固有のコマンドを当該コマンドの体系に依存しない仮想オブジェクトモデルに変換すると共に、前記仮想オブジェクトモデルを前記ネットワーク固有のコマンドに変換して前記ネットワークインタフェース部に送信するコマンド変換部とを備え、
ダウンロードされた前記アダプタ制御ソフトウェアは、前記機器インタフェース部で受信した前記仮想オブジェクトモデルを前記コマンド変換部に送信すると共に、前記コマンド変換部から送信された前記仮想オブジェクトモデルを前記機器インタフェース部に送信し、
前記アダプタ制御ソフトウェアと前記コマンド変換部との間では、前記仮想オブジェクトモデルを受け渡すことを特徴とする家電機器アダプタ。
A device interface unit connected to the home appliance;
A network interface that connects to controllers and other devices on the network;
A download control unit that downloads control software for the home appliance adapter from the device interface unit;
A network-specific command received by the network interface unit via a network is converted into a virtual object model that does not depend on the command system, and the virtual object model is converted into the network-specific command to the network interface unit. A command conversion unit to transmit,
The downloaded adapter control software transmits the virtual object model received by the device interface unit to the command conversion unit, and transmits the virtual object model transmitted from the command conversion unit to the device interface unit. ,
The home appliance adapter, wherein the virtual object model is transferred between the adapter control software and the command conversion unit.
前記コマンド変換部は、コマンド変換処理部と、コマンド変換テーブルと、コマンド変換関数ルーチンとを有することを特徴とする請求項11記載の家電機器アダプタ。 The home appliance adapter according to claim 11, wherein the command conversion unit includes a command conversion processing unit, a command conversion table, and a command conversion function routine. 前記コマンド変換部が有する前記コマンド変換テーブルおよびコマンド変換関数ルーチンは、前記アダプタ制御ソフトウェアによって設定されることを特徴とする請求項8又は請求項12に記載の家電機器アダプタ。 The home appliance adapter according to claim 8 or 12, wherein the command conversion table and the command conversion function routine of the command conversion unit are set by the adapter control software. 家電機器と接続する機器インタフェース部と、
ネットワーク上のコントローラや他機器と接続するネットワークインタフェース部とを備え、
前記機器インタフェース部で受信する家電機器固有のコマンドと、前記ネットワークインタフェース部で受信するネットワーク固有のコマンドとを、これらのコマンドの体系に依存しない仮想オブジェクトモデルにそれぞれ変換して、相互に受け渡すことを特徴とする家電機器アダプタ。
A device interface unit connected to the home appliance;
It has a network interface unit that connects to controllers and other devices on the network,
The home appliance specific command received by the device interface unit and the network specific command received by the network interface unit are converted into virtual object models that do not depend on the system of these commands, and passed to each other. Home appliance adapter characterized by.
仮想オブジェクトモデルのコマンド体系は、アクセス機器を特定する識別子と、データの種類と、データの値とから構成されることを特徴とする請求項6から請求項14のいずれか一項に記載の家電機器アダプタ。 15. The home appliance according to claim 6, wherein the command system of the virtual object model includes an identifier that specifies an access device, a data type, and a data value. Equipment adapter. 機器インタフェース部のコマンドとネットワークインタフェース部のコマンドの対応を入力し、入力された対応の組から前記コマンド変換テーブルを初期化するソースコードを含むアダプタ制御ソフトウェアのソースコードを自動生成する家電機器アダプタのソフトウェア開発装置。 The home appliance adapter that automatically generates the source code of the adapter control software including the source code for initializing the command conversion table from the input correspondence set, by inputting the correspondence between the command of the device interface unit and the command of the network interface unit Software development equipment.
JP2004338759A 2004-09-30 2004-11-24 Home appliance adapter and software development device Active JP4561331B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004338759A JP4561331B2 (en) 2004-09-30 2004-11-24 Home appliance adapter and software development device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004286086 2004-09-30
JP2004338759A JP4561331B2 (en) 2004-09-30 2004-11-24 Home appliance adapter and software development device

Publications (2)

Publication Number Publication Date
JP2006127432A true JP2006127432A (en) 2006-05-18
JP4561331B2 JP4561331B2 (en) 2010-10-13

Family

ID=36722091

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004338759A Active JP4561331B2 (en) 2004-09-30 2004-11-24 Home appliance adapter and software development device

Country Status (1)

Country Link
JP (1) JP4561331B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008113119A (en) * 2006-10-30 2008-05-15 Sharp Corp Household appliance communication control system
JP2008172570A (en) * 2007-01-12 2008-07-24 Sharp Corp Home network system
JP2009134563A (en) * 2007-11-30 2009-06-18 Toshiba Corp Communication adapter
JP2013191917A (en) * 2012-03-12 2013-09-26 Aplix Ip Holdings Corp Communication system lsi
WO2014016968A1 (en) 2012-07-27 2014-01-30 三菱電機株式会社 Communication adaptor, controller, and network system
WO2014050991A1 (en) 2012-09-26 2014-04-03 三菱電機株式会社 Communication adapter, identification code generation method, program, and network system
JP2016143318A (en) * 2015-02-04 2016-08-08 三菱電機株式会社 Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332675A (en) * 1993-05-20 1994-12-02 Mitsubishi Electric Corp Shared library management mechanism
JP2000020319A (en) * 1998-06-30 2000-01-21 Canon Inc Program executing device, control method thereof and storage medium
JP2000172604A (en) * 1998-12-10 2000-06-23 Nec Corp Asn.1 data handling processor
JP2002366365A (en) * 2001-03-30 2002-12-20 Matsushita Electric Ind Co Ltd Data acquisition apparatus, downloading server, and trigger server
JP2003202989A (en) * 2002-01-08 2003-07-18 Fuji Photo Film Co Ltd Method for updating function of electronic equipment
JP2004229266A (en) * 2002-11-29 2004-08-12 Sanyo Electric Co Ltd 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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06332675A (en) * 1993-05-20 1994-12-02 Mitsubishi Electric Corp Shared library management mechanism
JP2000020319A (en) * 1998-06-30 2000-01-21 Canon Inc Program executing device, control method thereof and storage medium
JP2000172604A (en) * 1998-12-10 2000-06-23 Nec Corp Asn.1 data handling processor
JP2002366365A (en) * 2001-03-30 2002-12-20 Matsushita Electric Ind Co Ltd Data acquisition apparatus, downloading server, and trigger server
JP2003202989A (en) * 2002-01-08 2003-07-18 Fuji Photo Film Co Ltd Method for updating function of electronic equipment
JP2004229266A (en) * 2002-11-29 2004-08-12 Sanyo Electric Co Ltd 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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008113119A (en) * 2006-10-30 2008-05-15 Sharp Corp Household appliance communication control system
JP2008172570A (en) * 2007-01-12 2008-07-24 Sharp Corp Home network system
JP2009134563A (en) * 2007-11-30 2009-06-18 Toshiba Corp Communication adapter
JP2013191917A (en) * 2012-03-12 2013-09-26 Aplix Ip Holdings Corp Communication system lsi
WO2014016968A1 (en) 2012-07-27 2014-01-30 三菱電機株式会社 Communication adaptor, controller, and network system
WO2014050991A1 (en) 2012-09-26 2014-04-03 三菱電機株式会社 Communication adapter, identification code generation method, program, and network system
JP2016143318A (en) * 2015-02-04 2016-08-08 三菱電機株式会社 Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program

Also Published As

Publication number Publication date
JP4561331B2 (en) 2010-10-13

Similar Documents

Publication Publication Date Title
US6629128B1 (en) System and method for distributed processing in a computer network
US6931455B1 (en) System and method for communications between a CORBA object request broker and a non-CORBA object request broker
CN110716510B (en) Abstraction layer for automation applications
US6951021B1 (en) System and method for server-side communication support in a distributed computing environment
US6947965B2 (en) System and method for communications in a distributed computing environment
US6993774B1 (en) System and method for remote enabling classes without interfaces
US7562352B2 (en) Data format conversion method and equipment, and controller management system using data format conversion equipment
JP2002223211A (en) Communication system for controller based on soap protocol
CN101763043B (en) For the method and system of automation collaborative framework
JP2013161106A (en) Support device and support program
CN113039498A (en) Method for commissioning field devices in an industrial system network
WO1999045464A2 (en) Method for distributed object communications based on dynamically acquired and assembled software components
JP4561331B2 (en) Home appliance adapter and software development device
KR20050108519A (en) Integrated service method of distribution software for robot development based on open internet network
CN111026439A (en) Application program compatibility method, device, equipment and computer storage medium
JP5808922B2 (en) Air conditioner control interface device, air conditioner and air conditioner control system
KR20070038532A (en) Method, device and software module for a software-engineered reproduction of the behaviour of an actual domestic appliance in a model
JP2002259126A (en) Software constituent for distributed control system, and method for designing control system
CN115328679A (en) Automatic integration method of heterogeneous function library, computing equipment and system thereof
CN115373354A (en) Device control method, device, terminal device and storage medium
JP4776602B2 (en) Programming device for controller, controller and controller management system
CN112639730A (en) Method, device and system for writing and running processing of program file
KR101888792B1 (en) Method for data communication and system comprising the same
WO2021057351A1 (en) Apparatus and method for controlling android bluetooth in glibc environment, and terminal device
CN101145953B (en) Method and system for dynamic debugging of network device management software

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100416

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100706

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100719

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4561331

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250