Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5079036B2 - Home appliance adapter - Google Patents
[go: Go Back, main page]

JP5079036B2 - Home appliance adapter - Google Patents

Home appliance adapter Download PDF

Info

Publication number
JP5079036B2
JP5079036B2 JP2010037000A JP2010037000A JP5079036B2 JP 5079036 B2 JP5079036 B2 JP 5079036B2 JP 2010037000 A JP2010037000 A JP 2010037000A JP 2010037000 A JP2010037000 A JP 2010037000A JP 5079036 B2 JP5079036 B2 JP 5079036B2
Authority
JP
Japan
Prior art keywords
home appliance
control software
adapter
display
download
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010037000A
Other languages
Japanese (ja)
Other versions
JP2010187380A (en
Inventor
淑子 落合
紀之 久代
繁樹 鈴木
山彦 伊藤
吉秋 小泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2010037000A priority Critical patent/JP5079036B2/en
Publication of JP2010187380A publication Critical patent/JP2010187380A/en
Application granted granted Critical
Publication of JP5079036B2 publication Critical patent/JP5079036B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Stored Programmes (AREA)

Description

本発明は、家電機器をインターネットやホームネットワーク等のネットワークに接続するために該家電機器と該ネットワークとの間に配置される家電機器アダプタに関する。   The present invention relates to a home appliance adapter that is disposed between a home appliance and the network in order to connect the home appliance to a network such as the Internet or a home network.

家電機器ネットワークシステムにおいて、家電機器に接続後、該家電機器から機器情報を取得し、その機器情報に基づいて対応するソフトウェアをネットワーク上のサーバからダウンロードして取得するタイプの家電機器アダプタが知られている。また、家電機器とネットワークとの間に配置される家電機器アダプタに、その動作状態を表示する表示部を備えた技術が知られている(例えば、特許文献1参照)。   In a home appliance network system, a home appliance adapter of a type that acquires device information from the home appliance after connecting to the home appliance and downloads and obtains corresponding software from a server on the network based on the device information is known. ing. Moreover, the technique provided with the display part which displays the operation state in the household appliance adapter arrange | positioned between a household appliance and a network is known (for example, refer patent document 1).

特開2004−229266号公報(段落[0038]、図2等)JP 2004-229266 A (paragraph [0038], FIG. 2 etc.)

しかしながら、上記従来の技術は、ネットワーク上のサーバからのみアダプタ用ソフトウェアのダウンロードを予定しており、ダウンロードのためのインタフェースは1つを前提としている。そのため、そのインタフェースに不具合が生じた場合には、ソフトウェアのダウンロードが簡単にはできなくなる。
また、上記従来の技術は、家電機器アダプタの動作状態を表示部に表示してはいるものの、その表示部は家電機器アダプタにダウンロードされたソフトウェアのデバッグコードまで表示するものではなかったため、家電機器アダプタ上でのソフトウェアのデバッグは難しいものがあった。
本発明は、上記課題に対応してなされたもので、ダウンロードインタフェースを複数備え、それらの利用状態を表示することで、たとえネットワークを介してのソフトウェアのダウンロードができない場合にも、設定者に利用可能な他のダウンロードインタフェースを認識させて、遅滞なくダウンロードを可能とする家電機器アダプタを提案するものである。
そして特に、ダウンロードされた制御ソフトウェアのデバッグが容易に実施できる家電機器アダプタを提供するものである。
However, in the above conventional technique, the adapter software is scheduled to be downloaded only from a server on the network, and it is assumed that there is one interface for downloading. Therefore, if a problem occurs in the interface, software cannot be easily downloaded.
In addition, although the above conventional technique displays the operating state of the home appliance adapter on the display unit, the display unit does not display the debug code of the software downloaded to the home appliance adapter. Debugging software on the adapter was difficult.
The present invention has been made in response to the above-described problems, and includes a plurality of download interfaces, and displays the usage status of the interfaces, so that it can be used by a setter even when software cannot be downloaded via a network. It proposes a home appliance adapter that allows other download interfaces to be recognized and downloads without delay.
In particular, the present invention provides a home appliance adapter that can easily debug downloaded control software.

本発明の家電機器アダプタは、家電機器と接続する機器インタフェース部と、ネットワーク上のコントローラ又は他機器と接続するネットワークインタフェース部と、パソコン若しくはワークステーションと接続することで制御ソフトウェアのダウンロードが可能な汎用インタフェース部と、前記家電機器、前記ネットワーク上の機器、又は前記パソコン若しくはワークステーションから前記家電機器の制御に使用する制御ソフトウェアをダウンロードするダウンロード管理部と、ダウンロードされた前記制御ソフトウェアのデバッグ用データを記憶するデバッグ用データ記憶部と、前記デバッグ用データ記憶部に記憶されたデータを表示する表示部とを備え、前記デバック用データ記憶部に記憶されたデバック用データを、人間が読み取ることが可能な時間持続して前記表示部に表示させるようにした家電機器アダプタにおいて、前記制御ソフトウェアの各ダウンロード先にそれぞれ対応した複数のLEDランプをさらに備え、各LEDランプの点灯によって前記制御ソフトウェアのダウンロード先を表示し、前記制御ソフトウェアのダウンロードが完了して初期化処理中の場合は、前記複数のLEDランプの全てを第1の速度で点滅させ、前記機器インタフェース部及び前記ネットワークインタフェース部を介しての前記制御ソフトウェアのダウンロードが不調に終わった場合は、前記複数のLEDランプの全てを前記第1の速度より速い第2の速度で点滅させる。 Appliances adapter of the present invention includes a device interface portion for connecting with the home appliance, a network interface unit to be connected to the controller or another device on the network, capable of downloading control software by connecting to a PC or workstation A general-purpose interface unit, a download management unit that downloads control software used to control the home appliance from the home appliance , the device on the network, or the personal computer or workstation; and the debug data of the downloaded control software and debug data storage unit for storing, e Bei and a display unit for displaying the data stored in the debugging data storage unit, the debugging data stored before Symbol debugging data storage unit, humans read It in home appliance adapter which is adapted to be displayed on the display unit of duration to allow further comprises a plurality of LED lamps respectively corresponding to each download destination of the control software, said control software by lighting of the LED lamps When the download of the control software is completed and the initialization process is in progress, all of the plurality of LED lamps blink at a first speed, and the device interface unit and the network interface unit are When the download of the control software via the network is unsuccessful, all of the plurality of LED lamps are blinked at a second speed higher than the first speed.

本発明の家電機器アダプタは、家電機器と接続する機器インタフェース部と、ネットワーク上のコントローラや他機器と接続するネットワークインタフェース部と、前記家電機器又は他の機器から前記家電機器の制御に使用する制御ソフトウェアをダウンロードするダウンロード管理部と、ダウンロードされた前記制御ソフトウェアのデバッグ用データを記憶するデバッグ用データ記憶部と、前記デバッグ用データ記憶部に記憶されたデータを表示する表示部とを備える。このため、ダウンロードされた制御ソフトウェアの家電機器アダプタ上でのデバッグが容易に可能となる。   The home appliance adapter of the present invention includes a device interface unit connected to the home appliance, a network interface unit connected to a controller on the network and other devices, and a control used for controlling the home appliance from the home appliances or other devices. A download management unit that downloads software, a debug data storage unit that stores the debug data of the downloaded control software, and a display unit that displays data stored in the debug data storage unit. For this reason, it is possible to easily debug the downloaded control software on the home appliance adapter.

本発明の実施形態に係る家電機器アダプタの構成図。The block diagram of the household appliance adapter which concerns on embodiment of this invention. 図1の家電機器アダプタを構成するマイコンの論理構成図。The logical block diagram of the microcomputer which comprises the household appliance adapter of FIG. 本発明の実施形態に係る家電機器アダプタの作用の一例を示す動作シーケンス図。The operation | movement sequence diagram which shows an example of an effect | action of the household appliances adapter which concerns on embodiment of this invention. 本発明の実施形態に係る家電機器アダプタの作用の一例を示す動作フローチャート。The operation | movement flowchart which shows an example of an effect | action of the household appliances adapter which concerns on embodiment of this invention. 図4のフローチャートの所定のステップにおける表示装置の表示態様図。The display mode figure of the display apparatus in the predetermined step of the flowchart of FIG. 本発明の実施形態に係る家電機器アダプタの基本作用の一例を示す動作フローチャート。The operation | movement flowchart which shows an example of the basic effect | action of the household appliance adapter which concerns on embodiment of this invention. 本発明の実施形態に係る家電機器アダプタのデバッグメモリ領域に記憶されるデータの例示図。The illustration figure of the data memorize | stored in the debug memory area | region of the household appliance adapter which concerns on embodiment of this invention.

実施形態
図1は本発明の実施形態に係る家電機器アダプタの構成図である。この家電機器アダプタ100は、家電機器200と通信を行うためのシリアル通信インタフェース102、ネットワーク300と通信を行うためのネットワーク通信インタフェース103、パソコン(ワークステーションも含む)400と通信を行うための汎用インタフェース104、発光体である3個のLEDランプ111〜113と1個の7セグメントLED表示体114を有した表示装置110、各インタフェース部102,103,104及び表示装置110を制御するとともに、外部からダウンロードされた制御ソフトウェアに基づいて、家電機器200とネットワーク300との間でコマンド及びデータの変換を行うマイコン120を備える。マイコン120は、演算制御装置であるCPU121、各インタフェース部102,103,104及び表示装置110を制御するプログラムや外部機器からダウンロードされたソフトウェアやデータを格納しているROM122、制御処理のためにROM122から呼び出された各種データが保持されるRAM123を含んでいる。
Embodiment FIG. 1 is a configuration diagram of a home appliance adapter according to an embodiment of the present invention. The home appliance adapter 100 includes a serial communication interface 102 for communicating with the home appliance 200, a network communication interface 103 for communicating with the network 300, and a general-purpose interface for communicating with a personal computer (including a workstation) 400. 104, controls the display device 110 having three LED lamps 111 to 113 as a light emitter and one 7-segment LED display 114, each interface unit 102, 103, 104, and the display device 110, and externally. A microcomputer 120 that converts commands and data between the home appliance 200 and the network 300 based on the downloaded control software is provided. The microcomputer 120 includes a CPU 121, which is an arithmetic control device, a ROM 122 that stores programs for controlling the interface units 102, 103, and 104 and the display device 110, software and data downloaded from external devices, and a ROM 122 for control processing. It includes a RAM 123 in which various data called from is held.

シリアル通信インタフェース102にはUART(Universal Asynchronous Receiver Transmitter)等が、ネットワーク通信インタフェース103にはイーサーネット等の有線媒体や無線LAN等が、汎用インタフェース104にはUSB、シリアル通信、パラレル通信等が採用できる。このうちのネットワーク通信インタフェース103は、ネットワーク300を介して家電機器200を操作するためのコントローラ(後述)やネットワークの他の機器やサーバに接続される。なお、家電機器アダプタ100の電源は、通常、家電機器200より給電される。   UART (Universal Asynchronous Receiver Transmitter) or the like can be used for the serial communication interface 102, wired media such as Ethernet or wireless LAN can be used for the network communication interface 103, and USB, serial communication, parallel communication, or the like can be used for the general-purpose interface 104. . Among these, the network communication interface 103 is connected to a controller (described later) for operating the home appliance 200 through the network 300 and other devices and servers in the network. Note that the home appliance adapter 100 is usually supplied with power from the home appliance 200.

図2は上記マイコン120をその作用に注目して作用毎にブロック化したマイコン120の論理構成図である。図2における、機器インタフェース部102Aは図1のシリアル通信インタフェース102に、ネットワークインタフェース部103Aは図1のネットワーク通信インタフェース103に、汎用インタフェース部104Aは図1の汎用インタフェース104に、表示部110Aは図1の表示装置110にそれぞれ対応している。   FIG. 2 is a logical configuration diagram of the microcomputer 120 in which the microcomputer 120 is divided into blocks for each action, paying attention to the action. 2, the device interface unit 102A is the serial communication interface 102 of FIG. 1, the network interface unit 103A is the network communication interface 103 of FIG. 1, the general purpose interface unit 104A is the general purpose interface 104 of FIG. 1, and the display unit 110A is the diagram. 1 corresponding to one display device 110.

アダプタ制御部120Aは、接続する家電機器に依存しない共通の処理を行う基本制御ソフトウェアと、家電機器毎に異なる機器個別制御ソフトウェアを備え、それらのソフトウェアプログラムに従った制御動作を行う。なお、本明細書では機器個別制御ソフトウェアを単に制御ソフトウェアと呼ぶこととする。この制御ソフトウェアは、通常、インタプリタコードで記述され、アダプタ制御部120Aに搭載されたインタプリタ実行環境(基本制御ソフトウェア)によって実行される。
ダウンロード管理部120Bは、各インタフェース部102A,103A,104Aに対する予め定められたプログラム(ダウンロードのタイミングやプロトコルが含まれている)に従って、制御ソフトウェアを家電機器アダプタ200内にダウンロードする制御を行う。
アダプタ状態管理部120Cは、家電機器アダプタ100の動作状態を監視して、その状態を表示部110A(具体的にはLEDランプ111〜113)に表示させる作用を果たす部分である。従って、ここから表示部110Aへその表示態様を制御する信号が送られる。
120 A of adapter control parts are equipped with the basic control software which performs the common process which does not depend on the household appliances to connect, and the apparatus separate control software which changes for every household appliances, and performs control operation according to those software programs. In this specification, the device individual control software is simply referred to as control software. This control software is usually written in an interpreter code, and is executed by an interpreter execution environment (basic control software) installed in the adapter control unit 120A.
The download management unit 120B performs control to download the control software into the home appliance adapter 200 according to a predetermined program (including download timing and protocol) for each of the interface units 102A, 103A, and 104A.
120 C of adapter state management parts are the parts which perform the effect | action which monitors the operation state of the household appliance adapter 100, and displays the state on 110 A (specifically LED lamps 111-113). Accordingly, a signal for controlling the display mode is sent from here to the display unit 110A.

また、アダプタ制御部120Aによる制御処理に際しては、外部からダウンロードされた、家電機器オブジェクトデータと、機器インタフェース部102Aとネットワークインタフェース部103Aとで扱うコマンド及びデータを変換するコマンド変換テーブルと、制御ソフトウェアのデバッグデータが、データメモリ領域120Dに記憶される。   Further, in the control processing by the adapter control unit 120A, the home appliance device object data downloaded from the outside, the command conversion table for converting the commands and data handled by the device interface unit 102A and the network interface unit 103A, the control software Debug data is stored in the data memory area 120D.

次に、上記家電機器アダプタ100の動作を説明する。ここでは、アダプタ状態管理部120Cの作用とともに家電機器アダプタ100の動作例を示す図3の動作シーケンス図に基づいて説明する。なお、図3は家電機器200から制御ソフトウェアをダウンロードする場合の例である。
まず、家電機器アダプタ100がONされると(S1)、アダプタ制御部120Aは家電機器200に対して家電機器情報(機器種別等)を要求してそれを取得する(S2,S3)。アダプタ制御部120Aは機種種別に対応する制御ソフトウェアの家電機器アダプタ100内における有無を判断し(S4)、それがない場合にはアダプタ状態管理部120Cにおいて、「制御ソフトウェア未インストール」の状態出力を行うとともに(S5)、ダウンロード管理部120Bに制御ソフトウェアのダウンロード要求を行う(S6)。このときアダプタ状態管理部120Cにおいては、「制御ソフトウェアダウンロード中」の状態出力を行う(S7)。制御ソフトウェアのダウンロードが完了すると(S8)、アダプタ制御部120Aはダウンロードされた制御ソフトウェアをインストールし、オブジェクトデータ登録等の家電機器アダプタの初期化処理を行う(S9)。このときアダプタ状態管理部120Cにおいては、「初期化処理中」の状態出力を行う(S10)。この初期化が終了すると家電機器アダプタの通常動作が開始し(S11)、アダプタ状態管理部120Cにおいて、「通常動作中」の状態出力を行う(S12)。
Next, the operation of the home appliance adapter 100 will be described. Here, it demonstrates based on the operation | movement sequence diagram of FIG. 3 which shows the operation example of the household appliances adapter 100 with the effect | action of the adapter state management part 120C. FIG. 3 shows an example of downloading control software from the home appliance 200.
First, when the home appliance adapter 100 is turned on (S1), the adapter control unit 120A requests home appliance information (device type or the like) from the home appliance 200 and acquires it (S2, S3). The adapter control unit 120A determines whether the control software corresponding to the model type is present in the home appliance adapter 100 (S4). If there is no control software, the adapter status management unit 120C outputs a status output of “control software not installed”. (S5) and a download request for control software is made to the download management unit 120B (S6). At this time, the adapter status management unit 120C outputs a status of “downloading control software” (S7). When the download of the control software is completed (S8), the adapter control unit 120A installs the downloaded control software and performs initialization processing of the home appliance adapter such as object data registration (S9). At this time, the adapter state management unit 120C outputs a status of “in initialization process” (S10). When this initialization is completed, normal operation of the home appliance adapter starts (S11), and the adapter state management unit 120C outputs a status of “normal operation” (S12).

その後、家電機器200との間でデータ取得要求及びそれに対する取得応答の交換が行われる(S13,S14)。途中、家電機器200の状態に対する変化が、データ取得要求及びそれに対する取得応答の通信により家電機器アダプタ100に取り込まれ(S15,S16)、その状態変化の通知がネットワーク300上のコントローラ500に送られる(S17)。一方、コントローラ500から家電機器200に対して設定要求が出されると(S18)、それが家電機器アダプタ100を介して家電機器200に送られ(S19)、家電機器200がその設定に更新される。なお、これらの動作中に通信エラーが発生した場合には、アダプタ状態管理部120Cにおいて、「異常状態」の状態出力を行う(S20)。   Thereafter, a data acquisition request and an acquisition response corresponding to the data acquisition request are exchanged with the home appliance 200 (S13, S14). On the way, a change in the state of the home appliance 200 is captured in the home appliance adapter 100 by communication of a data acquisition request and an acquisition response thereto (S15, S16), and a notification of the change in state is sent to the controller 500 on the network 300. (S17). On the other hand, when a setting request is issued from the controller 500 to the home appliance 200 (S18), it is sent to the home appliance 200 via the home appliance adapter 100 (S19), and the home appliance 200 is updated to the setting. . When a communication error occurs during these operations, the adapter state management unit 120C outputs a status of “abnormal state” (S20).

次に、家電機器アダプタ100のアダプタ状態管理部120C及び表示装置110の作用について、図4及び図5を参照しながら説明する。図4はアダプタ状態管理部120Cに関連する家電機器アダプタの作用の一例を示す動作フローチャート、そして図5は図4のフローチャートの所定のステップにおける表示装置110の表示態様図である。
家電機器アダプタ100に電源が投入されると、家電機器アダプタ100は家電機器200から機器情報を取得する(図4、S31)。次に、家電機器アダプタ100内での制御ソフトウェアの有無を判断する(図4、S32)。制御ソフトウェアがないと判断されると、LEDランプ111〜113の全ては消灯状態のままとなる(図5、(1))。これにより、制御ソフトウェアのダウンロードが必要か否かが直ちに判断できる。
次に、まず家電機器200に対して制御ソフトウェアのダウンロード要求を行う(図4、S33)。この制御ソフトウェアのダウンロード中、LEDランプ111のみがゆっくり点滅する(図5、(2))。家電機器200からの制御ソフトウェアのダウンロードができなかった場合には、ネットワーク300に対して制御ソフトウェアのダウンロード要求を行う(図4、S34,S35)。この制御ソフトウェアのダウンロード中、LEDランプ112のみがゆっくり点滅する(図5、(3))。この際、家電機器200からの制御ソフトウェアのダウンロードが出来なかったことがわかるように例えば、LEDランプ111をダウンロード中とは異なる速度で点滅させておいてもよい。
Next, operations of the adapter state management unit 120C and the display device 110 of the home appliance adapter 100 will be described with reference to FIGS. FIG. 4 is an operation flowchart showing an example of the operation of the home appliance adapter related to the adapter state management unit 120C, and FIG. 5 is a display mode diagram of the display device 110 in a predetermined step of the flowchart of FIG.
When the home appliance adapter 100 is powered on, the home appliance adapter 100 acquires device information from the home appliance 200 (FIG. 4, S31). Next, the presence / absence of control software in the home appliance adapter 100 is determined (FIG. 4, S32). If it is determined that there is no control software, all of the LED lamps 111 to 113 remain off (FIG. 5, (1)). Thereby, it can be immediately determined whether or not the control software needs to be downloaded.
Next, first, a control software download request is made to the home appliance 200 (FIG. 4, S33). While the control software is being downloaded, only the LED lamp 111 blinks slowly (FIG. 5, (2)). When the control software cannot be downloaded from the home appliance 200, a request for downloading the control software is made to the network 300 (FIG. 4, S34, S35). During the download of the control software, only the LED lamp 112 blinks slowly (FIG. 5, (3)). At this time, for example, the LED lamp 111 may be blinked at a speed different from that during downloading so that it can be understood that the control software cannot be downloaded from the home appliance 200.

ネットワーク300からのダウンロードも不調に終わった場合には、家電機器アダプタ200のエラー処理に移行する(図4、S36,S37)。このエラー処理中、LEDランプ111〜113の全てが速く点滅する(図5、(4))。従って、この速い点滅表示が、汎用インタフェース104を介して制御ソフトウェアをダウンロードすることを促すものであることを予め説明等してあれば、この表示に基づいて、パソコン等から汎用インタフェース104を素早くダウンロードすることが可能となる。なお、汎用インタフェース104を介しての制御ソフトウェアダウンロード中は、LEDランプ113のみをゆっくり点滅させる。   When the download from the network 300 is also unsuccessful, the process proceeds to error processing of the home appliance adapter 200 (FIG. 4, S36, S37). During this error processing, all of the LED lamps 111 to 113 blink rapidly (FIG. 5, (4)). Therefore, if it is explained in advance that this fast flashing display prompts downloading of control software via the general-purpose interface 104, the general-purpose interface 104 is quickly downloaded from a personal computer or the like based on this display. It becomes possible to do. Note that only the LED lamp 113 blinks slowly while the control software is being downloaded via the general-purpose interface 104.

一方、制御ソフトウェアのダウンロードが成功した場合には(図4、S34又はS36)、家電機器アダプタ100の初期化処理を行う(図4、S38)。この初期化処理には、家電機器のオブジェクト、プロパティの登録、家電機器インタフェース仕様とネットワークインタフェース仕様のマッピングデータの設定などが含まれる。この初期化処理中は、LEDランプ111〜113の全てがゆっくり点滅する(図5、(5))。初期化処理が終了すると、家電機器アダプタ100は通常動作に移る(図4、S39)。家電機器アダプタ100は、その通常動作中、現在使用されている制御ソフトウェアのダウンロード先に対応したLEDランプのみ(この例では機器インタフェース部102Aに対応したLEDランプ111のみ)を点灯状態にしている。
また、図示はしていないが、上記の初期化処理や通常動作において異常が発生したときに、ダウンロード先に対応したLEDランプを速く点滅させると、そのインタフェースを介してダウンロードされた制御ソフトウェアによる動作中に異常状態となったことも認識できる。また、電源投入時にすでに家電機器アダプタ100に制御ソフトウェアがある場合には、前回ダウンロードしたダウンロード先のLEDを一旦点灯させることにより、ダウンロードの必要がないことも認識出来る。
On the other hand, when the download of the control software is successful (FIG. 4, S34 or S36), the home appliance adapter 100 is initialized (FIG. 4, S38). This initialization processing includes registration of objects and properties of home appliances, mapping data of home appliance interface specifications and network interface specifications, and the like. During this initialization process, all of the LED lamps 111 to 113 blink slowly (FIG. 5, (5)). When the initialization process ends, the home appliance adapter 100 moves to a normal operation (S39 in FIG. 4). During the normal operation of the home appliance adapter 100, only the LED lamp corresponding to the currently used download destination of the control software (only the LED lamp 111 corresponding to the device interface unit 102A in this example) is turned on.
Although not shown, when an abnormality occurs in the above initialization process or normal operation, if the LED lamp corresponding to the download destination blinks quickly, the operation by the control software downloaded via the interface It is also possible to recognize that an abnormal state has occurred. In addition, when the home appliance adapter 100 already has control software when the power is turned on, it is possible to recognize that there is no need for downloading by turning on the LED of the download destination downloaded last time.

上記フローにおいて、ネットワーク300に対するダウンロードを先に実施し、家電機器200に対するそれを後から実施するようにしても良い。また、家電機器200またはネットワーク300だけからのダウンロードが不調に終わった場合に、直ちに汎用インタフェース104を介してのダウンロードを促す表示を行うように設定してもよい。
以上のような家電機器アダプタ100によれば、1つのインタフェース部を介しての制御ソフトウェアのダウンロードが失敗した場合や、ダウンロードした制御ソフトウェアでの動作中にエラーが発生した場合に、どのインタフェースからのダウンロードが不調におわったか、あるいはどのインタフェースからダウンロードした制御ソフトウェアが適切に動作しなかったが認識できるので、他のインタフェース部を利用してダウンロードの再試行を行うことが容易に可能となる。また、上記例では、複数のLEDランプの消灯、点灯、点滅等を組合わせたことで、少ないランプで多くの表示が可能となっている。
In the above flow, the download to the network 300 may be performed first, and the home appliance 200 may be downloaded later. In addition, when the download from only the home appliance 200 or the network 300 is unsuccessful, it may be set so that a display prompting the download via the general-purpose interface 104 is immediately performed.
According to the home appliance adapter 100 as described above, when downloading of control software through one interface unit fails or when an error occurs during operation with the downloaded control software, from which interface Since it can be recognized that the download has failed or the control software downloaded from which interface did not operate properly, it is possible to easily retry the download using another interface unit. In the above example, a combination of turning off, lighting, blinking, and the like of a plurality of LED lamps enables many displays with a small number of lamps.

ここでは、外部からダウンロードされた制御ソフトウェアのデバッグが容易に行える構成を提案する。この前提として、まず上記制御ソフトウェアに、デバッグ用に予め定められたメモリ領域にデバッグコード用データを出力するコマンドを組み入れておく。例えば、制御ソフトウェアにインタプリタ言語を使用している場合、コマンドが実行される各処理ステップ毎に、処理ステップ番号を出力する”DebugPrint”という関数を、インタプリタ言語のワードとして定義しておく。なお、デバッグコードは必ずしもコマンド実行の度に出力させる必要はないが、コマンド実行の度に出力させれば、それだけデバッグの精度が向上する。
一方、家電機器アダプタ100側にも、出力されたデバッグコード用データを格納するデバッグ用メモリ領域(図2の「デバッグデータ」が格納されている領域)を確保しておく。このメモリ領域は20ないし30ステップのデバッグコード用データを格納できるようにし、格納データがメモリ領域サイズを超えた場合には、古いものから削除していくものとする。
Here, we propose a configuration that can easily debug control software downloaded from outside. As a premise of this, first, a command for outputting debug code data in a memory area predetermined for debugging is incorporated in the control software. For example, when an interpreter language is used for the control software, a function “DebugPrint” that outputs a processing step number is defined as an interpreted language word for each processing step in which a command is executed. The debug code does not necessarily have to be output every time the command is executed, but if it is output every time the command is executed, the debugging accuracy is improved accordingly.
On the other hand, a debugging memory area for storing the output debug code data (an area storing “debug data” in FIG. 2) is also secured on the home appliance adapter 100 side. In this memory area, debug code data of 20 to 30 steps can be stored, and when the stored data exceeds the memory area size, the oldest one is deleted.

家電機器アダプタ100内にダウンロードされた制御ソフトウェアは、所定のメモリ領域にインストールされて、ハードウェアのマイコン120と一体にアダプタ制御部120Aを構成する。図6はそのアダプタ制御部120Aの作用による家電機器アダプタ100の基本作用の一例を示す動作フローチャートである。この図6のフローに沿って、デバッグコード用データのデバッグ用メモリ領域への格納を説明する。
まず、家電機器アダプタ100は、制御ソフトウェアとともにダウンロードされた家電機器オブジェクト及びプロパティの登録を行う(S61)。これを処理ステップ番号「1」に対応させ、その番号「1」をデバッグコード用データとしてデバッグ用メモリ領域に格納する。
続いて、家電機器アダプタ100は、家電機器200との通信設定を行う(S62)。これを処理ステップ番号「2」に対応させ、その番号「2」をデバッグコード用データとしてデバッグ用メモリ領域に格納する。
以上で、家電機器アダプタ100の初期設定が終了し、その後は通常動作に移行する。
The control software downloaded into the home appliance adapter 100 is installed in a predetermined memory area, and configures the adapter control unit 120A together with the hardware microcomputer 120. FIG. 6 is an operation flowchart showing an example of a basic operation of the home appliance adapter 100 by the operation of the adapter control unit 120A. The storing of the debug code data in the debug memory area will be described along the flow of FIG.
First, the home appliance adapter 100 registers the home appliance object and property downloaded together with the control software (S61). This is made to correspond to the processing step number “1”, and the number “1” is stored in the debug memory area as debug code data.
Subsequently, the home appliance adapter 100 performs communication settings with the home appliance 200 (S62). This is associated with the processing step number “2”, and the number “2” is stored in the debug memory area as debug code data.
Thus, the initial setting of the home appliance adapter 100 is completed, and thereafter, the normal operation is performed.

通常動作では、家電機器アダプタ100は、まずネットワーク300からデータを受信する(S63)。これを処理ステップ番号「3」に対応させ、その番号「3」をデバッグコード用データとしてデバッグ用メモリ領域に格納する。
続いて、家電機器アダプタ100は、ネットワーク300から受信したデータを基に家電機器200への送信データを作成してそれを送信する(S64)。これを処理ステップ番号「4」に対応させ、その番号「4」をデバッグコード用データとしてデバッグ用メモリ領域に格納する。
続いて、家電機器アダプタ100は、家電機器200からその動作状態等を示すデータを受信する(S65)。これを処理ステップ番号「5」に対応させ、その番号「5」をデバッグコード用データとしてデバッグ用メモリ領域に格納する。
続いて、家電機器アダプタ100は、家電機器200から受信したデータをネットワークに送信する(S66)。これを処理ステップ番号「6」に対応させ、その番号「6」をデバッグコード用データとしてデバッグ用メモリ領域に格納する。
通常動作では、以上のS63〜S66のステップが繰り返される。従って、家電機器アダプタ100のデバッグメモリ領域に記憶されたデータの状態は、図7に例示したように格納される。
In normal operation, the home appliance adapter 100 first receives data from the network 300 (S63). This is associated with the processing step number “3”, and the number “3” is stored in the debugging memory area as debug code data.
Subsequently, the home appliance adapter 100 creates transmission data to the home appliance 200 based on the data received from the network 300 and transmits it (S64). This is associated with the processing step number “4”, and the number “4” is stored in the debugging memory area as debug code data.
Subsequently, the home appliance adapter 100 receives data indicating the operation state and the like from the home appliance 200 (S65). This is made to correspond to the processing step number “5”, and the number “5” is stored in the debug memory area as debug code data.
Subsequently, the home appliance adapter 100 transmits the data received from the home appliance 200 to the network (S66). This is made to correspond to the processing step number “6”, and the number “6” is stored in the debug memory area as debug code data.
In the normal operation, the above steps S63 to S66 are repeated. Therefore, the state of data stored in the debug memory area of the home appliance adapter 100 is stored as illustrated in FIG.

さらに、以上のようにしてデバッグ用メモリ領域に格納されたデバッグコード用データを、表示装置110の7セグメント表示体114に表示する。ただし、実際の処理ステップと同じタイミングでは人間が見ることはできないので、タイマ割り込み等を利用して、人間が読み取ることが可能な時間(数100m秒程度)、7セグメント表示体114に表示を持続させるようにし、その時間間隔で順に各処理ステップ毎のデバッグコード用データを表示させる。これにより、ダウンロードにより外部から取得した制御ソフトウェアのデバッグを家電機器アダプタ100上で容易に実施することが可能となる。   Further, the debug code data stored in the debug memory area as described above is displayed on the 7-segment display 114 of the display device 110. However, since it cannot be seen by humans at the same timing as the actual processing steps, the display can be continued on the 7-segment display 114 for a time that can be read by humans (approximately several hundred milliseconds) using a timer interrupt or the like. The debug code data for each processing step is displayed in order at the time interval. As a result, it is possible to easily debug the control software acquired from the outside by downloading on the home appliance adapter 100.

なお、家電機器アダプタ100に、7セグメント表示体114でのデバッグ表示/デバッグ非表示を選択する切換スイッチ(デップスイッチ等)を備えておき、デバッグ表示モードが選択された場合のみ7セグメント表示体114での表示を行うようにしてもよい。   The home appliance adapter 100 is provided with a changeover switch (such as a dip switch) for selecting debug display / debug non-display on the 7-segment display body 114, and the 7-segment display body 114 only when the debug display mode is selected. You may make it display with.

以上、本発明をその実施形態に即して説明したが、本発明は、ネットワークに接続し、ネットワークに接続されたコントローラ又は他の機器からの操作や動作状態の監視を行おうとするあらゆる家電機器のアダプタに適用できる。
また、実施形態を組み合わせれば、家電機器アダプタ100への制御ソフトウェアのダウンロードから、家電機器アダプタ100の通常動作中まで、家電機器アダプタ100上でその動作を監視することが可能となる。
As mentioned above, although this invention was demonstrated according to the embodiment, this invention is connected to a network, All the household appliances which are going to perform the operation from the controller or other apparatus connected to the network, or the monitoring of an operation state Applicable to any adapter.
Further, by combining the embodiments, it is possible to monitor the operation on the home appliance adapter 100 from the download of the control software to the home appliance adapter 100 to the normal operation of the home appliance adapter 100.

さらに、実施形態では3個のLEDランプ111〜113を用いて状態表示を行ったが、スペースが許すのであれば、LEDランプを3個以上用いて各状態を表示させても良い。また、LEDランプに代えて他の発光体を利用してもよい。さらに、7セグメント表示体114を利用して各状態を数字で表示しても良い。要するに、図5に示した各状態が区別できる表示が可能な表示体であればよく、その表示態様も多様に設定してよい。
また、実施形態で利用した7セグメント表示体114を他の表示装置に置き換えても良い。なお、デバッグコード用データは各ステップの区別がつくものであれば良いので、数字に限らずアルファベットや各種記号を用いることもできる。
また、実施形態では、各処理ステップ毎に“Debug Print”関数を利用して、デバッグコードを出力する構成としたが、インタプリンタ処理中のあるタイミング(例えば、処理スタックがオーバーした時など)に、実行中の処理ステップをデバッグコードとして出力するような構成としても良い。
Furthermore, in the embodiment, the state display is performed using the three LED lamps 111 to 113. However, if the space allows, each state may be displayed using three or more LED lamps. In addition, other light emitters may be used in place of the LED lamps. Furthermore, each state may be displayed as a number using the 7-segment display body 114. In short, any display body capable of displaying each state shown in FIG. 5 can be used, and various display modes may be set.
Further, the 7-segment display body 114 used in the embodiment may be replaced with another display device. It should be noted that the debug code data may be any data that can be distinguished from each step. Therefore, not only numbers but also alphabets and various symbols can be used.
In the embodiment, the debug code is output using the “Debug Print” function for each processing step. However, at a certain timing during the interpreter processing (for example, when the processing stack is over). The configuration may be such that the processing step being executed is output as a debug code.

100 家電機器アダプタ、102 シリアル通信インタフェース、102A 機器インタフェース部、103 ネットワーク通信インタフェース、103A ネットワークインタフェース部、104 汎用インタフェース、104A 汎用インタフェース部、110 表示装置、110A 表示部、111〜113 LEDランプ、114 7セグメントLED表示体、120 マイコン、120A アダプタ制御部、120B ダウンロード管理部、120C アダプタ状態管理部、120D データメモリ領域、121 CPU、122 ROM、123 RAM、200 家電機器、300 ホームネットワーク、400 パソコン、500 コントローラ。   100 Home Appliance Adapter, 102 Serial Communication Interface, 102A Device Interface Unit, 103 Network Communication Interface, 103A Network Interface Unit, 104 General Purpose Interface, 104A General Purpose Interface Unit, 110 Display Device, 110A Display Unit, 111-113 LED Lamp, 114 7 Segment LED display unit, 120 microcomputer, 120A adapter control unit, 120B download management unit, 120C adapter state management unit, 120D data memory area, 121 CPU, 122 ROM, 123 RAM, 200 home appliance, 300 home network, 400 personal computer, 500 controller.

Claims (5)

家電機器と接続する機器インタフェース部と、ネットワーク上のコントローラ又は他機器と接続するネットワークインタフェース部と、パソコン若しくはワークステーションと接続することで制御ソフトウェアのダウンロードが可能な汎用インタフェース部と、前記家電機器、前記ネットワーク上の機器、又は前記パソコン若しくはワークステーションから前記家電機器の制御に使用する制御ソフトウェアをダウンロードするダウンロード管理部と、ダウンロードされた前記制御ソフトウェアのデバッグ用データを記憶するデバッグ用データ記憶部と、前記デバッグ用データ記憶部に記憶されたデータを表示する表示部とを備え、前記デバック用データ記憶部に記憶されたデバック用データを、人間が読み取ることが可能な時間持続して前記表示部に表示させるようにした家電機器アダプタにおいて、
前記制御ソフトウェアの各ダウンロード先にそれぞれ対応した複数のLEDランプをさらに備え、
各LEDランプの点灯によって前記制御ソフトウェアのダウンロード先を表示し、
前記制御ソフトウェアのダウンロードが完了して初期化処理中の場合は、前記複数のLEDランプの全てを第1の速度で点滅させ、
前記機器インタフェース部及び前記ネットワークインタフェース部を介しての前記制御ソフトウェアのダウンロードが不調に終わった場合は、前記複数のLEDランプの全てを前記第1の速度より速い第2の速度で点滅させることを特徴とする家電機器アダプタ。
A device interface unit to be connected to the home appliance, a network interface unit to be connected to the controller or another device on the network, a general-purpose interface unit capable of downloading control software by connecting to a PC or workstation, the home appliance A download management unit that downloads control software used to control the home appliance from the device on the network or the personal computer or workstation, and a debug data storage unit that stores the debug data of the downloaded control software If, e Bei and a display unit for displaying the data stored in the debugging data storage unit, before Symbol debugging data stored in the debugging data storage unit, humans and sustained possible time to read Previous In home appliances adapter so as to be displayed on the display unit,
A plurality of LED lamps corresponding to the respective download destinations of the control software;
Display the download destination of the control software by lighting each LED lamp,
When the download of the control software is completed and the initialization process is in progress, all of the plurality of LED lamps blink at a first speed,
When the download of the control software via the device interface unit and the network interface unit is unsuccessful, all of the plurality of LED lamps are blinked at a second speed higher than the first speed. Features home appliance adapter.
前記デバッグ用データの記憶が、前記家電機器アダプタでコマンドが実行される毎に行われることを特徴とする請求項1記載の家電機器アダプタ。   2. The home appliance adapter according to claim 1, wherein the debugging data is stored each time a command is executed by the home appliance adapter. コマンドが実行される毎に記憶された前記デバッグ用データを、前記表示部に所定の時間保持して、順に表示することを特徴とする請求項2記載の家電機器アダプタ。   3. The home appliance adapter according to claim 2, wherein the debugging data stored every time a command is executed is held in the display unit for a predetermined time and displayed in order. 前記表示部を7セグメントのLED表示器から構成し、該LED表示器に前記デバッグ用データを数字表示することを特徴とする請求項1ないし3のいずれか一項に記載の家電機器アダプタ。   The home appliance adapter according to any one of claims 1 to 3, wherein the display unit is configured by a 7-segment LED display, and the debugging data is numerically displayed on the LED display. 前記データの前記表示部への表示をON/OFFするスイッチを備えたことを特徴とする請求項1ないし4のいずれか一項に記載の家電機器アダプタ。   The home appliance adapter according to any one of claims 1 to 4, further comprising a switch for turning ON / OFF the display of the data on the display unit.
JP2010037000A 2010-02-23 2010-02-23 Home appliance adapter Expired - Fee Related JP5079036B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010037000A JP5079036B2 (en) 2010-02-23 2010-02-23 Home appliance adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010037000A JP5079036B2 (en) 2010-02-23 2010-02-23 Home appliance adapter

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005029093A Division JP4578258B2 (en) 2005-02-04 2005-02-04 Home appliance adapter

Publications (2)

Publication Number Publication Date
JP2010187380A JP2010187380A (en) 2010-08-26
JP5079036B2 true JP5079036B2 (en) 2012-11-21

Family

ID=42767713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010037000A Expired - Fee Related JP5079036B2 (en) 2010-02-23 2010-02-23 Home appliance adapter

Country Status (1)

Country Link
JP (1) JP5079036B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6345568B2 (en) * 2014-10-16 2018-06-20 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Network-compatible home appliances

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0517738U (en) * 1991-08-20 1993-03-05 三菱電機株式会社 Simple real-time tracer
JP3205713B2 (en) * 1997-01-10 2001-09-04 シャープ株式会社 Network home appliances and network systems
JP2000156792A (en) * 1998-11-20 2000-06-06 Fujitsu General Ltd Individual device identification control device
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
JP2005025379A (en) * 2003-06-30 2005-01-27 Toshiba Corp COMMUNICATION DEVICE, ELECTRIC APPARATUS, AND DEVICE CONTROL INFORMATION OBTAINING METHOD

Also Published As

Publication number Publication date
JP2010187380A (en) 2010-08-26

Similar Documents

Publication Publication Date Title
US10715602B2 (en) Adaptive internet-of-things service system using detachable/attachable hardware module
JP4888718B2 (en) Distributed control system
CN104750016B (en) Communication control unit and communication control method
CN102792237A (en) PLC CPU unit, system program for PLC, and storage medium having system program for PLC stored therein
JP2006285758A (en) Control unit display system
US20140236997A1 (en) Controller, information processing apparatus, and recording medium
JP2002007299A (en) Device control program development means and execution means
US11165745B2 (en) Control system, controller, and control method
JP6299064B2 (en) Control device, control method, and program
JP4120798B2 (en) Home network system and communication adapter and home controller used therefor
US10805262B1 (en) Modbus system having actual and virtual slave addresses and slave sensors
CN109839890B (en) Control device, control method, and computer-readable storage medium
JP2015176191A (en) controller
JP2016194831A (en) Controller
JPWO2012077704A1 (en) Debug stub server, debugging method and program
JP4578258B2 (en) Home appliance adapter
US20220166678A1 (en) Network management device, management method, and recording medium
JP5079036B2 (en) Home appliance adapter
CN104790128A (en) Sewing-device upgrading device
CN204644604U (en) A kind of sewing device update device
JP5938832B2 (en) Wireless communication system, power monitoring system, and base unit selection method for wireless communication system
CN114731306A (en) Remote activation of a wireless service interface of a control device via a bus system
CN114546446A (en) Control system upgrading method, device, equipment and storage medium
US20220173974A1 (en) Network management device, management method, and recording medium
JP5951123B2 (en) Control device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120112

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120522

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120711

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120725

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

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

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

Free format text: PAYMENT UNTIL: 20150907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5079036

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

LAPS Cancellation because of no payment of annual fees