JP6735385B2 - Communication adapter, communication method and program - Google Patents

Communication adapter, communication method and program Download PDF

Info

Publication number
JP6735385B2
JP6735385B2 JP2019074367A JP2019074367A JP6735385B2 JP 6735385 B2 JP6735385 B2 JP 6735385B2 JP 2019074367 A JP2019074367 A JP 2019074367A JP 2019074367 A JP2019074367 A JP 2019074367A JP 6735385 B2 JP6735385 B2 JP 6735385B2
Authority
JP
Japan
Prior art keywords
unit
setting
control unit
protocol control
controller
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.)
Active
Application number
JP2019074367A
Other languages
Japanese (ja)
Other versions
JP2019117661A (en
Inventor
圭祐 南
圭祐 南
大介 安次富
大介 安次富
宏治 田添
宏治 田添
会津 宏幸
宏幸 会津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2019074367A priority Critical patent/JP6735385B2/en
Publication of JP2019117661A publication Critical patent/JP2019117661A/en
Application granted granted Critical
Publication of JP6735385B2 publication Critical patent/JP6735385B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明の実施形態は、通信アダプタ、通信方法およびプログラムに関する。 Embodiments of the present invention relate to a communication adapter, a communication method, and a program.

通信アダプタは、通信機能を有さない機器に接続されることで、当該機器が通信を行うことを可能にする。従来の通信アダプタには、接続先の機器が変更された場合に、自動的に設定変更を行うものがあった。しかしながら、設定変更を行うために、接続先の機器から型番などの機器情報を取得する必要があり、取得できない場合には、その機器には適用できなかった。 The communication adapter enables the device to communicate by being connected to the device having no communication function. Some conventional communication adapters automatically change the settings when the connected device is changed. However, in order to change the setting, it is necessary to acquire the device information such as the model number from the device at the connection destination, and if it cannot be acquired, it cannot be applied to the device.

特開2006‐127432号公報JP, 2006-127432, A 特開2008−172570号公報JP, 2008-172570, A

本発明の実施形態は、接続先の機器に合わせて通信アダプタの設定を容易に行うことを目的とする。 An embodiment of the present invention aims to easily set a communication adapter according to a device to be connected.

本発明の実施形態としての通信アダプタは、機器と接続するインタフェース部と、前記インタフェース部を介して前記機器と通信するコントローラ部と、前記コントローラ部を介して前記機器を制御するプロトコル制御部と、前記コントローラ部の動作を検証することにより、前記コントローラ部の設定が前記機器に適合しているかを判断し、前記コントローラ部の設定が前記機器に適合していると判断された場合に、前記プロトコル制御部の動作を検証することにより、前記プロトコル制御部の設定が前記機器に適合しているかを判断する設定検証部と、前記コントローラ部または前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部または前記プロトコル制御部の設定が前記機器に適合していないことを示す情報を送信する通信部とを備える。 A communication adapter as an embodiment of the present invention includes an interface unit that is connected to a device, a controller unit that communicates with the device via the interface unit, and a protocol control unit that controls the device via the controller unit. By verifying the operation of the controller unit, it is determined whether the setting of the controller unit is suitable for the device, and when it is determined that the setting of the controller unit is suitable for the device, the protocol A setting verification unit that determines whether the setting of the protocol control unit is suitable for the device by verifying the operation of the control unit, and the setting of the controller unit or the protocol control unit is not compatible with the device. And a communication unit that transmits information indicating that the setting of the controller unit or the protocol control unit is not suitable for the device.

本発明の実施形態に係わる通信アダプタのブロック図。The block diagram of the communication adapter concerning the embodiment of the present invention. 通信アダプタの動作例を示すフローチャート。The flowchart which shows the operation example of a communication adapter. 初期設定用の画面の例を示す図。The figure which shows the example of the screen for initial settings. 初期設定用画面で設定項目を設定した例を示す図。The figure which shows the example which set the setting item on the screen for initial settings. コントローラ部の設定用の画面の例を示す図。The figure which shows the example of the screen for a setting of a controller part. プロトコル制御部の設定用の画面の例を示す図。The figure which shows the example of the screen for setting of a protocol control part. 接続先の機器が変更された可能性がある旨をユーザに通知する画面の例を示す図。The figure which shows the example of the screen which notifies a user that the apparatus of a connection point may be changed. 機器制御用画面の例を示す図。The figure which shows the example of a device control screen. 通信アダプタのハードウェア構成の一例を示すブロック図。The block diagram which shows an example of the hardware constitutions of a communication adapter. 本発明の実施形態に係るネットワークシステムを示す図。The figure which shows the network system which concerns on embodiment of this invention.

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

図1は、本発明の実施形態に係わる通信アダプタのブロック図である。 FIG. 1 is a block diagram of a communication adapter according to an embodiment of the present invention.

図1の通信アダプタは、通信部101、インタフェース部102、コントローラ部103、プログラム保持部104、プロトコル制御部105、設定検証部106、制御受付部107、設定受付部108および記憶部110を備える。 The communication adapter of FIG. 1 includes a communication unit 101, an interface unit 102, a controller unit 103, a program holding unit 104, a protocol control unit 105, a setting verification unit 106, a control reception unit 107, a setting reception unit 108, and a storage unit 110.

通信部101は、無線または有線のネットワークに接続され、ネットワークを介して、端末またはサーバ等、外部の装置と通信する。ネットワークは、無線LAN、有線LAN、PANなどがある。 The communication unit 101 is connected to a wireless or wired network and communicates with an external device such as a terminal or a server via the network. The network includes a wireless LAN, a wired LAN, a PAN and the like.

インタフェース部102は、家電等の機器と接続するインタフェースを備える。インタフェース部102は、コントローラ部103の制御に従って、接続先の機器と信号を送受信する。インタフェース部102と機器間の接続は有線でもよいし、無線でも良い。 The interface unit 102 includes an interface for connecting to devices such as home appliances. The interface unit 102 transmits/receives a signal to/from a connected device under the control of the controller unit 103. The connection between the interface unit 102 and the device may be wired or wireless.

コントローラ部103は、インタフェース部102を制御して、機器との通信(シリアル通信など)を行う。コントローラ部103は、一例として、1つまたは複数のコントローラ・チップ等(UART、SPI、I2C、GPIO、PWM等)によって構成されている。コントローラ部103の設定、すなわち、どのコントローラを使用するか、また各コントローラのパラメータ(ビットレートやマスター/スレーブなど)を、設定受付部108により設定できる。インタフェース部102に接続された機器と正常に通信するために、当該機器に適合したコントローラおよびパラメータを使用する必要がある。もし機器との通信が正常に動作していない場合、使用するコントローラまたはそのパラメータの変更が必要である。なお、各コントローラのパラメータが固定のときは、コントローラ部103の設定変更は、使用するコントローラの変更と等価である。以下の説明では、主として各コントローラのパラメータが固定であり、コントローラ部103の設定変更は、使用するコントローラの変更に対応する場合を想定するが、コントローラのパラメータの変更が可能な場合は、同じコントローラを使用しつつそのパラメータを変更する場合も、コントローラ部103の設定変更に含まれてもよい。 The controller unit 103 controls the interface unit 102 to perform communication (serial communication or the like) with a device. The controller unit 103 is configured by, for example, one or a plurality of controller chips (UART, SPI, I2C, GPIO, PWM, etc.). The setting of the controller unit 103, that is, which controller to use, and parameters (bit rate, master/slave, etc.) of each controller can be set by the setting receiving unit 108. In order to normally communicate with the device connected to the interface unit 102, it is necessary to use a controller and parameters suitable for the device. If the communication with the equipment is not working properly, it is necessary to change the controller used or its parameters. When the parameter of each controller is fixed, changing the setting of the controller unit 103 is equivalent to changing the controller used. In the following description, it is assumed that the parameters of each controller are mainly fixed and the setting change of the controller unit 103 corresponds to the change of the controller to be used. However, when the controller parameters can be changed, the same controller is used. Even if the parameter is changed while using, the setting change of the controller unit 103 may be included.

プログラム保持部104は、1つまたは複数の機器制御用のプロトコルを格納している。インタフェース部102に接続される機器が家電機器の場合は、機器制御用のプロトコルの例として、家電制御用のプロトコルが想定される。プログラム保持部104は、メモリまたはストレージ等により構成することができる。機器制御用プロトコルは、外部のネットワーク上のサーバから取得して、プログラム保持部104に格納してもよい。 The program holding unit 104 stores one or more device control protocols. When the device connected to the interface unit 102 is a home electric device, a home electric appliance control protocol is assumed as an example of the device control protocol. The program holding unit 104 can be configured by a memory, a storage, or the like. The device control protocol may be acquired from a server on an external network and stored in the program holding unit 104.

プロトコル制御部105は、プログラム保持部104に保持されているプロトコルのうちの1つを利用して、インタフェース部102に接続された機器を制御する。プロトコル制御部105の設定、すなわち、どのプロトコルを使用するか、またプロトコルのパラメータを、設定受付部108により設定できる。機器を正常に制御するために、当該機器に適合したプロトコルを使用する、または、当該機器に適合したパラメータをプロトコルに設定する必要がある。もし機器との間でプロトコルエラーが生じている場合、すなわち、機器を正常に制御できない場合、使用するプロトコルの変更、またはプロトコルのパラメータ設定の変更が必要である。なお、各プロトコルのパラメータが固定のときは、コントローラ部103の設定変更は、使用するプロトコルの変更に対応する。以下の説明では、各プロトコルのパラメータが固定であり、プロトコル制御部105の設定変更は、使用するプロトコルの変更に対応する場合を想定するが、プロトコルのパラメータの変更が可能な場合は、同じプロコトルを使用しつつそのパラメータを変更する場合も、プロトコル制御部105の設定変更に含まれてもよい。 The protocol control unit 105 uses one of the protocols stored in the program storage unit 104 to control the device connected to the interface unit 102. The setting of the protocol control unit 105, that is, which protocol to use, and the parameter of the protocol can be set by the setting reception unit 108. In order to control the device normally, it is necessary to use a protocol suitable for the device or set a parameter suitable for the device in the protocol. If a protocol error occurs with the device, that is, if the device cannot be controlled normally, it is necessary to change the protocol to be used or the parameter setting of the protocol. When the parameters of each protocol are fixed, the setting change of the controller unit 103 corresponds to the change of the protocol used. In the following description, it is assumed that the parameters of each protocol are fixed and the setting change of the protocol control unit 105 corresponds to the change of the protocol to be used. However, if the protocol parameters can be changed, the same protocol is used. Even when the parameter is changed while using, the setting change of the protocol control unit 105 may be included.

設定検証部106は、現在の設定(現在のプロトコル制御部の設定および現在のコントローラ部103の設定)の正否、すなわち、現在の設定が接続機器に適合したものかを検証する。より詳細に、設定検証部106は、現在の設定において、コントローラ部103が正常に動作しているかどうかを確認する。もし機器との通信が正常に動作していない場合、コントローラ部103の設定変更(ここでは、使用するコントローラの変更)が必要であるため、コントローラ部103の設定を可能にすべく、設定受付部108を有効にする。また、設定検証部106は、コントローラ部103が正常な場合に、プロトコル制御部105が正常に動作しているかどうかを確認する。もし機器との間でプロトコルエラーが生じている場合、プロトコル制御部105が正常に動作していないため、プロトコル制御部105の設定変更(ここでは、使用するプロトコルの変更)が必要であるとして、プロトコル制御部105の設定を可能にすべく、設定受付部108を有効にする。 The setting verification unit 106 verifies whether or not the current settings (the current settings of the protocol control unit and the current settings of the controller unit 103) are correct, that is, whether the current settings are suitable for the connected device. More specifically, the setting verification unit 106 confirms whether the controller unit 103 is operating normally in the current setting. If the communication with the device is not operating normally, it is necessary to change the setting of the controller unit 103 (here, change the controller to be used). Therefore, in order to enable the setting of the controller unit 103, the setting receiving unit Enable 108. In addition, the setting verification unit 106 confirms whether the protocol control unit 105 is operating normally when the controller unit 103 is operating normally. If a protocol error occurs with the device, the protocol control unit 105 is not operating normally, and it is necessary to change the setting of the protocol control unit 105 (here, change the protocol to be used). The setting reception unit 108 is enabled so that the protocol control unit 105 can be set.

記憶部110は、通信アダプタの設定情報を記憶する。通信アダプタに現在設定されているコントローラ部103およびプロトコル制御部105の設定情報を記憶する。また通信部101の設定情報を記憶する。通信部101の設定情報の例としては、無線LAN(WiFi)のパラメータ(暗号キー、SSID等)の情報があり得る。また通信アダプタにユーザアカウント等のユーザ情報の設定が必要な場合は、ユーザ情報を記憶する。また、記憶部110は、接続先機器の機器情報を記憶している。機器情報は、例えば機器種別、機器ID、型番、製造者、製造番号、またはこれらのうちの複数を含む。 The storage unit 110 stores the setting information of the communication adapter. The setting information of the controller unit 103 and the protocol control unit 105 currently set in the communication adapter is stored. The setting information of the communication unit 101 is also stored. As an example of the setting information of the communication unit 101, there may be information on parameters (encryption key, SSID, etc.) of a wireless LAN (WiFi). If user information such as a user account needs to be set in the communication adapter, the user information is stored. The storage unit 110 also stores device information of the connection destination device. The device information includes, for example, a device type, a device ID, a model number, a manufacturer, a manufacturing number, or a plurality of these.

設定検証部106は、プロトコル制御部105を通じて、機器の機器情報(機種IDまたは機器IDまたはこれらの両方等)を取得し、これらが、記憶部110に保存されているものと一致しているか、すなわち記憶部110に登録されているかを確認してもよい。
登録されていない場合、接続されている機器が交換された可能性があるため、設定検証部106は、設定受付部108を有効にして、ユーザに現在接続されている機器が、ユーザが想定している機器に一致するか確認させてもよい。一方、取得した機器情報が、記憶部110に登録されており、かつプロトコル制御部105およびコントローラ部103が正常である場合、通信アダプタの設定は正常であると判断し、制御受付部107を有効にする。なお、それらが一致していない場合であっても、コントローラ部103およびプロトコル制御部105が正常に動作していることが確認されているのであれば、制御受付部107を有効にしても良い。
The setting verification unit 106 acquires the device information of the device (model ID or device ID or both of them) through the protocol control unit 105, and whether these match with those stored in the storage unit 110, That is, it may be confirmed whether it is registered in the storage unit 110.
If the device is not registered, the connected device may have been exchanged. Therefore, the setting verification unit 106 enables the setting reception unit 108 so that the device currently connected to the user is assumed by the user. You may confirm whether it matches the device you are using. On the other hand, when the acquired device information is registered in the storage unit 110 and the protocol control unit 105 and the controller unit 103 are normal, the setting of the communication adapter is determined to be normal and the control reception unit 107 is enabled. To Even if they do not match, if it is confirmed that the controller unit 103 and the protocol control unit 105 are operating normally, the control reception unit 107 may be enabled.

制御受付部107は、通信部101を介して端末から機器の制御を指示する制御メッセージを受け付け、当該制御メッセージをプロトコル制御部105に出力する。プロトコル制御部105は、制御メッセージに基づきコントローラ部103を制御することで、コントローラ部103から当該制御メッセージに対応する制御命令を機器に出力させる。 The control accepting unit 107 accepts a control message for instructing device control from the terminal via the communication unit 101, and outputs the control message to the protocol control unit 105. The protocol control unit 105 controls the controller unit 103 based on the control message to cause the controller unit 103 to output a control command corresponding to the control message to the device.

設定受付部108は、端末から本通信アダプタへのアクセス時に、各種設定用の画面を端末に提供する。端末に提供する画面は、例えば設定検証部106により指示される。例えば、設定受付部108は、設定検証部106によりコントローラ部103の設定が機器に適合していないと判断された場合に、コントローラ部103の設定用の画面を提供することで、当該設定が機器に適合していない旨を通知する。設定受付部108は、当該端末からコントローラ部103に対する設定メッセージを受け付け、当該設定メッセージに基づきコントローラ部103の設定を行う。コントローラ部103の設定は、使用するコントローラの設定または変更、または現在使用しているコントローラのパラメータの変更を含む。 The setting reception unit 108 provides the terminal with various setting screens when the terminal accesses the communication adapter. The screen provided to the terminal is instructed by the setting verification unit 106, for example. For example, when the setting verification unit 106 determines that the setting of the controller unit 103 is not suitable for the device, the setting reception unit 108 provides a screen for the setting of the controller unit 103 so that the setting is performed. Notify that it does not conform to. The setting reception unit 108 receives a setting message for the controller unit 103 from the terminal and sets the controller unit 103 based on the setting message. The setting of the controller unit 103 includes setting or changing the controller to be used, or changing the parameter of the controller currently used.

また、設定受付部108は、設定検証部106によりプロトコル制御部105の設定が機器に適合していないと判断された場合に、プロトコル制御部105の設定用の画面を端末に提供することで、当該設定が機器に適合していない旨を通知する。設定受付部108は、通信部101を介して端末から、プロトコル制御部105に対する設定メッセージを受け付け、当該設定メッセージに基づき、プロトコル制御部105の設定を行う。プロトコル制御部105の設定は、使用するプロトコルの設定または変更、または現在使用しているプロトコルのパラメータの変更を含む。ここで述べた以外にも様々な設定画面がある。 Further, when the setting verification unit 106 determines that the setting of the protocol control unit 105 is not suitable for the device, the setting reception unit 108 provides the terminal with a screen for setting the protocol control unit 105, Notify that the setting is not compatible with the device. The setting reception unit 108 receives a setting message for the protocol control unit 105 from the terminal via the communication unit 101, and sets the protocol control unit 105 based on the setting message. The setting of the protocol control unit 105 includes setting or changing the protocol to be used, or changing the parameter of the protocol currently used. There are various setting screens other than those mentioned here.

図2は、図1の通信アダプタの動作例を示すフローチャートである。 FIG. 2 is a flowchart showing an operation example of the communication adapter of FIG.

設定検証部106は、通信アダプタの初期設定が完了しているか否かを確認する(ステップ201)。初期設定が完了とは、コントローラ部103およびプロトコル制御部105の設定がなされていることを意味する。また通信部101の設定、ユーザアカウントの設定がなされていることも含んでよい。これらの設定項目の中で、初期設定が完了していない項目があれば、初期設定が必要と判断し(ステップ202)、設定受付部108を有効にする(ステップ203)。設定受付部108は、この状態で端末からアクセスがあると、初期設定をユーザに促すための画面を端末に提示する。設定受付部108は、当該画面を介してユーザから入力された設定メッセージに基づき、初期設定を行う。図3に初期設定用の画面の例を示す。初期設定用画面において各設定項目を設定する例を図4に示す。 The setting verification unit 106 confirms whether the initial setting of the communication adapter is completed (step 201). The completion of the initial setting means that the controller unit 103 and the protocol control unit 105 have been set. The setting of the communication unit 101 and the setting of the user account may also be included. If some of these setting items have not been initialized, it is determined that initial setting is necessary (step 202) and the setting accepting unit 108 is enabled (step 203). When there is access from the terminal in this state, the setting reception unit 108 presents a screen for prompting the user for initial setting to the terminal. The setting reception unit 108 performs initial setting based on the setting message input by the user via the screen. FIG. 3 shows an example of a screen for initial setting. FIG. 4 shows an example of setting each setting item on the initial setting screen.

初期設定が完了している場合、設定検証部106は、接続されている機器との間でコントローラ部103が正常に動作しているかどうかを確認する(ステップ204)。例えばコントローラ部103から試験的に機器に対して制御命令を送信し、送信した制御命令に対し応答が返ってこない場合、または返ってきたデータを正常に復号できない場合(壊れたバイト列のデータが返される場合)など、コントローラ部103が正常していないと判断する。もしコントローラ部103が正常に動作していない場合、コントローラ部103の設定変更、すなわちコントローラ部103における現在使用しているコントローラを別のコントローラへ変更する必要があると判断する(ステップ205)。そして、設定受付部108を有効にする(ステップ203)。設定受付部106は、この状態で端末からアクセスがあると、コントローラ部103の設定をユーザに促すための画面を端末に提示する。設定受付部108は、ユーザから入力された設定メッセージに基づきコントローラ部103の設定変更を行う。図5にコントローラ部設定用の画面の例を示す。ユーザは変更ボタンをクリックして、コントローラ部103の設定変更(使用するコントローラの変更)を行うことができる。変更対象となるコントローラの候補が複数存在するときは、複数の候補を表示して、ユーザに選択させてもよい。図の例では、変更対象のコントローラの候補が1つ存在し、その候補の情報を表示している。 When the initial setting is completed, the setting verification unit 106 confirms whether or not the controller unit 103 normally operates with the connected device (step 204). For example, if a control command is sent from the controller unit 103 to a device on a trial basis and a response is not returned to the sent control command, or if the returned data cannot be decoded normally (data of a broken byte string is (When returned) etc., it is determined that the controller unit 103 is not operating normally. If the controller unit 103 is not operating normally, it is determined that the setting of the controller unit 103 needs to be changed, that is, the controller currently used in the controller unit 103 needs to be changed to another controller (step 205). Then, the setting acceptance unit 108 is validated (step 203). When there is access from the terminal in this state, the setting reception unit 106 presents a screen for prompting the user to set the controller unit 103 to the terminal. The setting reception unit 108 changes the setting of the controller unit 103 based on the setting message input by the user. FIG. 5 shows an example of a screen for setting the controller section. The user can change the setting of the controller unit 103 (change the controller to be used) by clicking the change button. When there are a plurality of candidates for the controller to be changed, the plurality of candidates may be displayed so that the user can select the candidate. In the example of the figure, there is one candidate for the controller to be changed, and information on the candidate is displayed.

コントローラ部103が正常に動作している場合、設定検証部106は、機器との間でプロトコル制御部105が正常に動作しているかどうかを確認する(ステップ206)。
例えば、設定検証部106は、試験的にプロトコル制御部105を動作させて、指示した動作通りの制御が行われたかを確認する。例えば機器に所定のプロトコルメッセージを送り、所望の応答メッセージが返るか否かで確認する。もし、プロトコル制御部105が正常に動作していない場合、すなわち、プロトコルエラーが生じている場合、使用するプロトコルの変更が必要であると判断し(ステップ207)、設定受付部108を有効にする(ステップ203)。設定受付部108は、この状態で端末から通信アダプタへのアクセスがあると、プロトコル制御部の設定(プロロトコルの変更)をユーザに促すための画面を端末に提示し、ユーザから入力された設定メッセージに基づきプロトコルの設定を行う。図6にプロトコル制御部設定用の画面の例を示す。ユーザは変更ボタンをクリックして、プロトコルの変更を行うことができる。変更対象となるプロトコルの候補が複数存在するときは、複数の候補を表示して、ユーザに選択させてもよい。図の例では、変更対象となるプロトコルの候補が1つ存在し、その候補の情報を表示している。
When the controller unit 103 is operating normally, the setting verification unit 106 confirms whether or not the protocol control unit 105 is operating normally with the device (step 206).
For example, the setting verification unit 106 operates the protocol control unit 105 on a trial basis and confirms whether the control according to the instructed operation is performed. For example, a predetermined protocol message is sent to the device, and it is confirmed whether or not a desired response message is returned. If the protocol control unit 105 is not operating normally, that is, if a protocol error has occurred, it is determined that the protocol to be used needs to be changed (step 207) and the setting reception unit 108 is enabled. (Step 203). When the terminal accesses the communication adapter in this state, the setting reception unit 108 presents a screen for prompting the user to set the protocol control unit (change protocol) to the terminal, and the setting message input by the user is displayed. Set the protocol based on. FIG. 6 shows an example of the screen for setting the protocol control unit. The user can click the change button to change the protocol. When there are a plurality of protocol candidates to be changed, the plurality of candidates may be displayed so that the user can select the candidates. In the example of the figure, there is one candidate for the protocol to be changed, and the information of the candidate is displayed.

プロトコル制御部105が正常に動作している場合、設定検証部106は、プロトコル制御部105を通じて得られる機器情報(機種IDまたは機器IDまたはこれらの両方等)が、記憶部110に登録されているものに一致するかを確認する(ステップ209)。
もし一致しない場合、接続先の機器が交換された可能性があると判断する(ステップ210)。そして、ユーザにその旨を通知させるため、あるいは設定を見直させるために、設定受付部108を有効にする(ステップ203)。設定受付部108は、この状態で端末から通信アダプタへのアクセスがあると、プロトコル制御部105を通じて検出された機器情報と、記憶部110に登録されている機器情報とを含む画面、すなわち、接続先の機器が変更された可能性がある旨をユーザに通知する画面をユーザに提示する。提示する画面の例を図7に示す。ユーザは、画面に基づき、現在の記憶部110の登録内容で問題ないかどうか確認し、問題ないときは、承認ボタンを選択(クリック)する。ユーザ承認を促すことで、機種・機器の変化に気付かずに機器を制御してしまうことを防ぐことができる。なお、取得された機器情報(機種情報・機器ID等)が記憶部110に登録されたものと異なる場合でも、プロトコル制御部105およびコントローラ部103が正常であれば、特に一部の機能(電源のオンオフなど)に関してなど、機器を正常に制御でき得る。
When the protocol control unit 105 is operating normally, the setting verification unit 106 has registered in the storage unit 110 the device information (model ID or device ID or both of them) obtained through the protocol control unit 105. It is confirmed whether they match (step 209).
If they do not match, it is determined that the connection destination device may have been replaced (step 210). Then, the setting accepting unit 108 is enabled in order to notify the user of that fact or to review the setting (step 203). When the terminal accesses the communication adapter in this state, the setting reception unit 108 displays a screen including the device information detected through the protocol control unit 105 and the device information registered in the storage unit 110, that is, the connection. Present the user with a screen notifying the user that the previous device may have been changed. An example of the presented screen is shown in FIG. Based on the screen, the user confirms whether or not there is any problem with the current registered contents of the storage unit 110, and if there is no problem, selects (clicks) the approval button. By urging the user to approve, it is possible to prevent the device from being controlled without noticing the change in the model/device. Even if the acquired device information (model information, device ID, etc.) is different from the one registered in the storage unit 110, if the protocol control unit 105 and the controller unit 103 are normal, some functions (power supply) The device can be controlled normally (for example, on and off).

一方、プロトコル制御部105を通じて検出された機器情報が、記憶部110に登録されているものに一致する場合、通信アダプタの設定は正常であると判断し(ステップ210)、制御受付部107を有効にする(ステップ211)。制御受付部107は、この状態で端末から通信アダプタへのアクセスがあると、機器の操作または制御を行う機器制御用画面を端末に提示する。機器制御用のタッチパネル画面の例を図8に示す。ユーザはこの画面で機器に対して制御の指示を入力することができる。端末はユーザの入力に応じた制御メッセージを通信アダプタへ送信する。プロトコル制御部105は、この制御メッセージを、通信部101および制御受付部107を介して受信する。プロトコル制御部105は、受信した制御メッセージに基づき、コントローラ部103を介して機器を制御する。 On the other hand, when the device information detected through the protocol control unit 105 matches the one registered in the storage unit 110, it is determined that the communication adapter setting is normal (step 210), and the control reception unit 107 is enabled. (Step 211). When there is access from the terminal to the communication adapter in this state, the control reception unit 107 presents a device control screen for operating or controlling the device to the terminal. An example of a touch panel screen for device control is shown in FIG. The user can input a control instruction to the device on this screen. The terminal sends a control message according to the user's input to the communication adapter. The protocol control unit 105 receives this control message via the communication unit 101 and the control reception unit 107. The protocol control unit 105 controls the device via the controller unit 103 based on the received control message.

以上の動作により、設定検証部は、現在どの部分の設定(初期設定、コントローラ部の設定、プロトコル制御部の設定、ユーザ承認など)が必要とされているかを検出することで、ユーザに対して現在必要とされている設定項目のみを応答することが可能である。 With the above operation, the setting verification unit detects to the user which part of the setting (initial setting, controller setting, protocol control setting, user approval, etc.) is currently required. It is possible to respond only to the setting items that are currently required.

例えば単にユーザに設定が正しくない旨を通知するのみである場合、コントローラ部およびプロトコル制御部等のうちどの箇所の設定を誤っているのかを判断するのかは難しい。本実施形態ではコントローラ部の設定を検証して、誤っていればその旨を通知するため、ユーザはコントローラ部の設定が誤っていることを正しく把握できる。またコントローラ部の設定が正しければ、次にプロトコル制御部の設定を検証して、誤っていればその旨を通知するため、ユーザはプロトコル制御部の設定が誤っていることを正しく把握できる。このように本実施形態では、通信アダプタの設定を行うユーザの負荷を低減できる。 For example, when only notifying the user that the settings are incorrect, it is difficult to determine which part of the controller unit, the protocol control unit, etc. is erroneously set. In this embodiment, the setting of the controller unit is verified, and if it is incorrect, the fact is notified, so that the user can correctly understand that the setting of the controller unit is incorrect. If the setting of the controller unit is correct, the setting of the protocol control unit is verified next, and if it is incorrect, the fact is notified, so that the user can correctly understand that the setting of the protocol control unit is incorrect. As described above, in the present embodiment, the load on the user who sets the communication adapter can be reduced.

上述した動作フローの例では、ステップ204でコントローラ部103の設定が誤っていると判断された場合に、ユーザに別のコントローラを選択させたが、エラーの内容から、正しいコントローラを自動で推定する方法も可能である。例えば、エラーデータ(壊れた情報)からコントローラを推定する識別モデルを用意しておき、設定検証部106が、当該識別モデルと、エラーデータとから正しいコントローラを推定して、設定受付部108を介してユーザに提案してもよい。または、当該推定した正しいコントローラ設定を、設定検証部106が自動的にコントローラ部103に設定してもよい。モデルの構築方法は機械学習により行えばよい。すなわち、エラーデータと正しいコントローラとの組データを多数用意し、これらを教師データとして機械学習によりモデルを構築する方法はよく知られている。ここでは、正しいコントローラを推定したが、同様の考え方で、正しいプロトコルを推定してもよい。モデルを用いた推定は通信アダプタ内で行わず、通信部101を介して通信可能な外部の推定装置またはサーバで行ってもよい。この場合、設定検証部106は、通信部101を介して当該外部の推定装置またはサーバに上記のエラーデータ等を送信し、当該外部の推定装置またはサーバで推定された正しいコントローラ設定の情報を受信すればよい。 In the example of the operation flow described above, when it is determined in step 204 that the setting of the controller unit 103 is incorrect, the user is allowed to select another controller, but the correct controller is automatically estimated from the content of the error. A method is also possible. For example, an identification model for estimating the controller from the error data (broken information) is prepared, the setting verification unit 106 estimates the correct controller from the identification model and the error data, and the setting acceptance unit 108 is used. You may propose to the user. Alternatively, the setting corrector 106 may automatically set the estimated correct controller setting in the controller 103. The model may be constructed by machine learning. That is, a method of preparing a large number of set data of error data and a correct controller and constructing a model by machine learning using these as teacher data is well known. Here, the correct controller is estimated, but the same protocol may be used to estimate the correct protocol. The estimation using the model may be performed not in the communication adapter but in an external estimation device or server that can communicate via the communication unit 101. In this case, the setting verification unit 106 transmits the above error data and the like to the external estimation device or server via the communication unit 101, and receives the correct controller setting information estimated by the external estimation device or server. do it.

上述した動作フローの例では、ステップ206でプロトコル制御部の設定が誤っていると判断された場合に、ユーザに別のプロトコルの候補を選択させたが、コントローラ部103の設定情報から、プロトコルの候補を絞り込める場合がある。例えば、一部のプロトコル仕様では、物理層(=コントローラ)の仕様まで規定している場合がある。現在のコントローラ部103の設定が、特定のプロトコル仕様のものとマッチしない場合、その特定のプロトコルは原則として候補から外すことができる。そこで、当該特定のプロトコル以外のプロトコルを候補としてユーザに提示してもよい。例えば、ある家電プロトコル(仮に家電プロトコルAとする)では、物理層の仕様としてUARTをベースにしたものを規定しているとき、「UART −> 家電プロトコルA」という対応関係をコントローラ・プロトコル対応表に設定しておく。コントローラ部103としてUARTが選択された場合、当該コントローラ・プロトコル対応表から、プロトコル制御部105の設定候補として「家電プロトコルA」をユーザに提示する。また、特定した候補をユーザに提示するのではなく、設定検証部106が、当該候補の設定を自動的にプロトコル制御部に対して適用してもよい。候補が複数存在するときは、そのうちの1つの設定を適用し、適用後の設定が正しくなかった場合は、再度別の候補を選択し、選択した候補を適用してもよい。 In the example of the operation flow described above, when it is determined in step 206 that the setting of the protocol control unit is incorrect, the user is allowed to select another candidate for the protocol. You may be able to narrow down the candidates. For example, some protocol specifications may specify even physical layer (=controller) specifications. If the current controller unit 103 settings do not match those of a particular protocol specification, that particular protocol can in principle be removed from the candidates. Therefore, a protocol other than the specific protocol may be presented to the user as a candidate. For example, in a certain home appliance protocol (probably home appliance protocol A), when the PHY-based specification is specified as the physical layer specification, the correspondence relation of "UART -> home appliance protocol A" is defined as the controller protocol correspondence table. Set to. When UART is selected as the controller unit 103, “home appliance protocol A” is presented to the user as a setting candidate of the protocol control unit 105 from the controller/protocol correspondence table. Instead of presenting the identified candidate to the user, the setting verification unit 106 may automatically apply the setting of the candidate to the protocol control unit. When there are a plurality of candidates, one of the settings may be applied, and if the applied setting is incorrect, another candidate may be selected again and the selected candidate may be applied.

図9は、本実施形態に係る通信アダプタのハードウェア構成の一例を示すブロック図である。図9の通信アダプタは、プロセッサ401、メモリ402、ネットワークインタフェース403、外部インタフェース404、ストレージ406を備え、これらがバス405を介して接続されている。各要素の数は1つに限定されず、複数設けられてもよい。ここでは1つのバスを介して各要素が接続されているが、複数のバスがブリッジ回路を介して接続され、これら複数のバスを介して、これらの要素が複数段で接続されていてもよい。 FIG. 9 is a block diagram showing an example of the hardware configuration of the communication adapter according to this embodiment. The communication adapter of FIG. 9 includes a processor 401, a memory 402, a network interface 403, an external interface 404, and a storage 406, which are connected via a bus 405. The number of each element is not limited to one, and a plurality of elements may be provided. Here, each element is connected via one bus, but a plurality of buses may be connected via a bridge circuit, and these elements may be connected in a plurality of stages via these plurality of buses. ..

ネットワークインタフェース403は、無線LAN等の通信インタフェースであり、図1の通信部101に対応する。ネットワークインタフェース403は、MAC層等のデータリンク層および物理層のヘッダ処理、変調および復調等を行うベースバンド集積回路、AD変換回路、DA変換回路、アナログ処理等を行うRF集積回路、およびアンテナ等を備えていてもよい。ネットワークインタフェース403に、CPU等のプロセッサを配置してもよい。TCP/IP等を用いる場合、TCP/IP等の処理を当該ネットワークインタフェース403上のCPUで行ってもよいし、バス405に接続されたプロセッサ401で行ってもよい。ここではネットワークインタフェースを1つのみ示しているが、複数のネットワークインタフェースが搭載されていてもよい。ネットワークインタフェース403が、DMA(ダイレクト・メモリ・アクセス)でメモリ402に直接、アクセスしてもよい。 The network interface 403 is a communication interface such as a wireless LAN and corresponds to the communication unit 101 in FIG. The network interface 403 is a baseband integrated circuit that performs header processing, modulation and demodulation, etc. on the data link layer and physical layer such as the MAC layer, an AD conversion circuit, a DA conversion circuit, an RF integrated circuit that performs analog processing, and an antenna. May be provided. A processor such as a CPU may be arranged in the network interface 403. When using TCP/IP or the like, processing such as TCP/IP may be performed by the CPU on the network interface 403, or may be performed by the processor 401 connected to the bus 405. Although only one network interface is shown here, a plurality of network interfaces may be installed. The network interface 403 may directly access the memory 402 by DMA (Direct Memory Access).

メモリ402は、プロセッサ401が実行する命令、およびプロセッサ401が利用する各種データ等を一時的に記憶する。メモリ402は、SRAM、DRAM等の揮発性メモリでも、NAND、MRAM等の不揮発性メモリでもよい。ストレージ406は、ハードディスク、光ディスク、SSD等のデータを永続的に記憶する記憶装置である。メモリ402およびストレージ406の少なくとも一方により、図1のプログラム保持部104および記憶部110が実現される。 The memory 402 temporarily stores instructions executed by the processor 401, various data used by the processor 401, and the like. The memory 402 may be a volatile memory such as SRAM or DRAM, or a non-volatile memory such as NAND or MRAM. The storage 406 is a storage device that permanently stores data such as a hard disk, an optical disk, and an SSD. At least one of the memory 402 and the storage 406 implements the program holding unit 104 and the storage unit 110 in FIG. 1.

プロセッサ401は、メモリ402からプログラムを読み出して、実行するなどすることで、図1のコントローラ部103、プロトコル制御部105、設定検証部106、制御受付部107、設定受付部108の一部または全部の機能が実現される。通信部101の一部の機能がプロセッサ401により実現され、残りの一部がネットワークインタフェース403によって実現されてもよい。 The processor 401 reads a program from the memory 402, executes the program, and the like, thereby performing a part or all of the controller unit 103, the protocol control unit 105, the setting verification unit 106, the control reception unit 107, and the setting reception unit 108 in FIG. 1. The function of is realized. A part of the functions of the communication unit 101 may be realized by the processor 401, and the remaining part may be realized by the network interface 403.

外部インタフェース404は、機器に接続するためのインタフェースであり、図1のインタフェース部102に対応する。 The external interface 404 is an interface for connecting to a device and corresponds to the interface unit 102 in FIG.

図10に本実施形態に係るネットワークシステムを示す。本実施形態に係る通信アダプタ301を接続した機器302が、通信アダプタ301の通信機能を利用して、無線でルータ303に接続されている。またユーザの操作する端末304が無線でルータ303に接続されている。端末304および機器302は、例えば同じ家屋内に配置されている。
ルータ303はインターネット306等のネットワークに接続されており、宅外のユーザが保持する端末306が、携帯電話網308を介してインターネット306に接続されている。端末304および端末306は、スマートフォン、携帯電話、タブレット、ノート型PCなどのユーザデバイスである。ここでは端末304および端末306は、無線通信を行うが、これらの少なくとも一方が有線通信を行う構成でもよい。インターネット306にはサーバ307が接続されている。サーバ307には、図1に示した通信アダプタの一部の機能が通信アダプタの代わりに搭載されている。すなわち、図1の通信アダプタの一部の機能をクラウド化している。具体的に、サーバ307には、設定受付部108および制御受付部107の機能が搭載されており、端末304、306は、図3〜図8に示したような各種の設定画面を、サーバ307から受信する。端末304、306でユーザが入力した情報は、サーバ307を介して通信アダプタ301に送られる。また通信アダプタから送信される情報もサーバ307を介して端末304、306に送信される。これにより通信アダプタ301に搭載する機能を低減できる。
FIG. 10 shows a network system according to this embodiment. The device 302 to which the communication adapter 301 according to this embodiment is connected is wirelessly connected to the router 303 using the communication function of the communication adapter 301. A terminal 304 operated by the user is wirelessly connected to the router 303. The terminal 304 and the device 302 are arranged in the same house, for example.
The router 303 is connected to a network such as the Internet 306, and a terminal 306 held by a user outside the home is connected to the Internet 306 via a mobile phone network 308. The terminals 304 and 306 are user devices such as smartphones, mobile phones, tablets, and notebook PCs. Here, the terminal 304 and the terminal 306 perform wireless communication, but at least one of them may perform wired communication. A server 307 is connected to the Internet 306. The server 307 is equipped with a part of the functions of the communication adapter shown in FIG. 1 instead of the communication adapter. That is, some functions of the communication adapter in FIG. Specifically, the server 307 is equipped with the functions of the setting reception unit 108 and the control reception unit 107, and the terminals 304 and 306 display various setting screens shown in FIGS. 3 to 8 on the server 307. To receive from. Information input by the user at the terminals 304 and 306 is sent to the communication adapter 301 via the server 307. Information transmitted from the communication adapter is also transmitted to the terminals 304 and 306 via the server 307. This can reduce the functions installed in the communication adapter 301.

なお、この通信アダプタは、例えば、汎用のコンピュータ装置を基本ハードウェアとして用いることでも実現することが可能である。すなわち、通信アダプタが備える各要素は、上記のコンピュータ装置に搭載されたプロセッサにプログラムを実行させることにより実現することができる。このとき、通信アダプタは、上記のプログラムをコンピュータ装置にあらかじめインストールすることで実現してもよいし、CD−ROMなどの記憶媒体に記憶して、あるいはネットワークを介して上記のプログラムを配布して、このプログラムをコンピュータ装置に適宜インストールすることで実現してもよい。また、記憶部およびプログラム保持部は、上記のコンピュータ装置に内蔵あるいは外付けされたメモリ、ハードディスクもしくはCD−R、CD−RW、DVD−RAM、DVD−Rなどの記憶媒体などを適宜利用して実現することができる。 The communication adapter can also be realized by using a general-purpose computer device as basic hardware. That is, each element included in the communication adapter can be realized by causing a processor mounted on the computer device to execute a program. At this time, the communication adapter may be realized by installing the above program in a computer device in advance, or by storing the program in a storage medium such as a CD-ROM or distributing the program through a network. Alternatively, this program may be realized by appropriately installing it in a computer device. In addition, the storage unit and the program storage unit appropriately use a memory, a hard disk or a storage medium such as a CD-R, a CD-RW, a DVD-RAM, a DVD-R, etc., which is built in or attached to the above computer device. Can be realized.

本実施形態で用いられる用語は、広く解釈されるべきである。例えば用語“プロセッサ”は、汎用目的プロセッサ、中央処理装置(CPU)、マイクロプロセッサ、デジタル信号プロセッサ(DSP)、コントローラ、マイクロコントローラ、状態マシンなどを包含してもよい。状況によって、“プロセッサ”は、特定用途向け集積回路、フィールドプログラマブルゲートアレイ(FPGA)、プログラム可能論理回路 (PLD)などを指してもよい。“プロセッサ”は、複数のマイクロプロセッサのような処理装置の組み合わせ、DSPおよびマイクロプロセッサの組み合わせ、DSPコアと協働する1つ以上のマイクロプロセッサを指してもよい。 The terms used in this embodiment should be broadly interpreted. For example, the term "processor" may include general purpose processors, central processing units (CPUs), microprocessors, digital signal processors (DSPs), controllers, microcontrollers, state machines, and the like. In some situations, "processor" may refer to an application specific integrated circuit, field programmable gate array (FPGA), programmable logic circuit (PLD), etc. "Processor" may refer to a combination of processing devices such as multiple microprocessors, a combination of DSP and microprocessor, one or more microprocessors cooperating with a DSP core.

別の例として、用語“メモリ”は、電子情報を格納可能な任意の電子部品を包含してもよい。“メモリ”は、ランダムアクセスメモリ(RAM)、読み出し専用メモリ(ROM)、プログラム可能読み出し専用メモリ(PROM)、消去可能プログラム可能読み出し専用メモリ(EPROM)、電気的消去可能PROM(EEPROM)、不揮発性ランダムアクセスメモリ(NVRAM)、フラッシュメモリ、磁気または光学データストレージを指してもよく、これらはプロセッサによって読み出し可能である。プロセッサがメモリに対して情報を読み出しまたは書き込みまたはこれらの両方を行うならば、メモリはプロセッサと電気的に通信すると言うことができる。メモリは、プロセッサに統合されてもよく、この場合も、メモリは、プロセッサと電気的に通信していると言うことができる。 As another example, the term "memory" may include any electronic component capable of storing electronic information. "Memory" is random access memory (RAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electrically erasable PROM (EEPROM), non-volatile It may refer to random access memory (NVRAM), flash memory, magnetic or optical data storage, which are readable by the processor. A memory may be said to be in electrical communication with a processor if the processor reads and/or writes information to the memory. The memory may be integral to the processor and again, the memory may be said to be in electrical communication with the processor.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。 It should be noted that the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements within a range not departing from the gist of the invention in an implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, the constituent elements of different embodiments may be combined appropriately.

以下に、特許査定時における特許請求の範囲の記載を付記する。
[1]
機器と接続するインタフェース部と、
前記インタフェース部を介して前記機器と通信するコントローラ部と、
前記コントローラ部を介して前記機器を制御するプロトコル制御部と、
前記コントローラ部の動作を検証することにより、前記コントローラ部の設定が前記機器に適合しているかを判断し、前記コントローラ部の設定が前記機器に適合していると判断した場合に、前記プロトコル制御部の動作を検証することにより、前記プロトコル制御部の設定が前記機器に適合しているかを判断する設定検証部と、
前記コントローラ部または前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部または前記プロトコル制御部の設定が前記機器に適合していないことを示す情報を送信する通信部と
を備えた通信アダプタ。
[2]
前記コントローラ部の設定が前記機器に適合していないと判断された場合に、前記通信部を介して前記コントローラ部の設定を受け付け、前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記通信部を介して前記プロトコル制御部の設定を受け付ける設定受付部
をさらに備えた[1]に記載の通信アダプタ。
[3]
前記通信部を介して前記機器に対する制御指示を受け付ける制御受付部を備え、
前記プロトコル制御部は、前記制御指示に基づき前記機器を制御し、
前記設定検証部は、前記コントローラ部および前記プロトコル制御部の設定が前記機器に適合していると判断したとき、前記制御受付部を有効化する
[1]または[2]に記載の通信アダプタ。
[4]
前記設定受付部は、前記コントローラ部の設定が前記機器に適合しており、前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部の設定と前記プロトコル制御部の設定間の可能な組み合わせを示す情報に基づいて、前記機器に適合する前記プロトコル制御部の設定の候補を特定し、特定した候補の情報を、前記通信部を介して送信する
[2]、または[2]を引用する[3]に記載の通信アダプタ。
[5]
前記設定受付部は、前記コントローラ部の設定が前記機器に適合しており、前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部の設定と前記プロトコル制御部の設定間の可能な組み合わせを示す情報に基づいて、前記機器に適合する前記プロトコル制御部の設定の候補を少なくとも1つ特定し、特定した少なくとも1つの候補のうちの1つを前記プロトコル制御部に適用する
[2]、または[2]を引用する[3]に記載の通信アダプタ。
[6]
前記設定検証部は、前記コントローラ部が前記機器から受信したデータに基づき、前記コントローラ部の設定が前記機器に適合しているかを判断し、前記コントローラ部の設定が前記機器に適合していないと判断した場合に、与えられたデータから前記コントローラ部の前記機器に適合する設定を推定するモデルを用いて、前記受信されたデータから、前記コントローラ部の前記機器に適合する設定を推定する
[1]ないし[3]のいずれか一項に記載の通信アダプタ。
[7]
前記設定検証部は、前記コントローラ部が前記機器から受信したデータに基づき、前記コントローラ部の設定を検証し、前記コントローラ部の設定が前記機器に適合していないと判断した場合に、前記受信されたデータを、前記通信部を介して推定装置に送信し、
前記設定受付部は、前記推定装置で推定された前記コントローラ部の前記機器に適合する設定に関する情報を前記推定装置から受信する
[2]、または[2]を引用する[3]に記載の通信アダプタ。
[8]
機器情報を記憶する記憶部を備え、
前記設定検証部は、前記プロトコル制御部の設定が前記機器に適合していると判断された場合に、前記プロトコル制御部を介して前記インタフェース部に接続された前記機器から機器情報を取得し、前記機器情報を前記記憶部に記憶された機器情報と比較することにより前記インタフェース部の接続先の機器が変更されたかを判断し、前記接続先の機器が変更されたと判断したときは、前記通信部を介して、前記接続先の機器が変更されたことを示す情報を送信する
[1]ないし[7]のいずれか一項に記載の通信アダプタ。
[9]
前記通信部を介して前記機器に対する制御指示を受け付ける制御受付部を備え、
前記プロトコル制御部は、前記制御指示に基づき前記機器を制御し、
前記制御受付部は無効化されており、
前記設定検証部は、前記通信部を介して前記接続先の機器が変更されたことに対し承認情報を受信したとき、前記制御受付部を有効化する
[8]に記載の通信アダプタ。
[10]
インタフェース部に接続された機器と通信するコントローラ部の動作を検証することにより、前記コントローラ部の設定が前記機器に適合しているかを判断する設定検証ステップと、
前記コントローラ部の設定が前記機器に適合していると判断された場合に、前記コントローラ部を介して前記機器を制御するプロトコル制御部の動作を検証することにより、前記プロトコル制御部の設定が前記機器に適合しているかを判断するステップと、
前記コントローラ部の設定または前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部または前記プロトコル制御部の設定が前記機器に適合していないことを通知する情報を送信するステップと、
を備えた通信方法。
[11]
インタフェース部に接続された機器と通信するコントローラ部の動作を検証することにより、前記コントローラ部の設定が前記機器に適合しているかを判断する設定検証ステップと、
前記コントローラ部の設定が前記機器に適合していると判断された場合に、前記コントローラ部を介して前記機器を制御するプロトコル制御部の動作を検証することにより、前記プロトコル制御部の設定が前記機器に適合しているかを判断するステップと、
前記コントローラ部の設定または前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部または前記プロトコル制御部の設定が前記機器に適合していないことを通知する情報を送信するステップと、
をコンピュータに実行させるためのプログラム。
The description of the scope of claims at the time of patent grant is additionally described below.
[1]
An interface part that connects to the device,
A controller unit that communicates with the device via the interface unit;
A protocol control unit for controlling the device via the controller unit,
By verifying the operation of the controller unit, it is determined whether the setting of the controller unit is compatible with the device, and when it is determined that the setting of the controller unit is compatible with the device, the protocol control is performed. A setting verification unit that determines whether the settings of the protocol control unit are compatible with the device by verifying the operation of the unit;
When it is determined that the setting of the controller unit or the protocol control unit is not suitable for the device, information indicating that the setting of the controller unit or the protocol control unit is not suitable for the device is transmitted. A communication adapter equipped with a communication unit.
[2]
When it is determined that the setting of the controller unit is not suitable for the device, the setting of the controller unit is accepted via the communication unit, and it is determined that the setting of the protocol control unit is not suitable for the device. The communication adapter according to [1], further including: a setting receiving unit that receives the setting of the protocol control unit via the communication unit.
[3]
A control receiving unit that receives a control instruction for the device via the communication unit,
The protocol control unit controls the device based on the control instruction,
The communication adapter according to [1] or [2], wherein the setting verification unit validates the control reception unit when it is determined that the settings of the controller unit and the protocol control unit are suitable for the device.
[4]
The setting accepting unit, when it is determined that the setting of the controller unit is compatible with the device and the setting of the protocol control unit is not compatible with the device, the setting of the controller unit and the protocol control. Based on the information indicating the possible combinations between the settings of the units, the setting candidates of the protocol control unit that match the device are identified, and the information of the identified candidates is transmitted via the communication unit [2]. Or the communication adapter according to [3], which cites [2].
[5]
The setting accepting unit, when it is determined that the setting of the controller unit is compatible with the device and the setting of the protocol control unit is not compatible with the device, the setting of the controller unit and the protocol control. At least one candidate for setting the protocol control unit that is suitable for the device is specified based on information indicating a possible combination between setting of the units, and one of the specified at least one candidate is used for the protocol control. The communication adapter according to [3], which applies to [2] or [2].
[6]
The setting verification unit determines whether the setting of the controller unit is compatible with the device based on the data received by the controller unit from the device, and determines that the setting of the controller unit is not compatible with the device. When it is determined, a setting of the controller unit suitable for the device is estimated from the received data, and a setting of the controller unit compatible with the device is estimated from the received data. ] Thru|or the communication adapter as described in any one of [3].
[7]
The setting verification unit verifies the setting of the controller unit based on the data received by the controller unit from the device, and if the setting of the controller unit is determined not to be compatible with the device, the received setting is received. Transmitted data to the estimation device via the communication unit,
The setting accepting unit receives, from the estimation device, information regarding the setting of the controller unit that is estimated by the estimation device and is compatible with the device [2], or the communication according to [3] quoting [2]. adapter.
[8]
A storage unit for storing device information is provided,
The setting verification unit acquires device information from the device connected to the interface unit via the protocol control unit when it is determined that the setting of the protocol control unit is suitable for the device, By comparing the device information with the device information stored in the storage unit, it is determined whether the connection destination device of the interface unit has been changed, and when it is determined that the connection destination device has been changed, the communication is performed. The communication adapter according to any one of [1] to [7], which transmits information indicating that the device of the connection destination has been changed via a unit.
[9]
A control receiving unit that receives a control instruction for the device via the communication unit,
The protocol control unit controls the device based on the control instruction,
The control reception unit is disabled,
The communication adapter according to [8], wherein the setting verification unit validates the control reception unit when receiving approval information for the change of the connection destination device via the communication unit.
[10]
A setting verification step of determining whether or not the setting of the controller unit is suitable for the device by verifying the operation of the controller unit communicating with the device connected to the interface unit;
When it is determined that the setting of the controller unit is suitable for the device, the operation of the protocol control unit that controls the device via the controller unit is verified, so that the setting of the protocol control unit is Determining if it is compatible with the device,
Information notifying that the setting of the controller unit or the protocol control unit is not compatible with the device when it is determined that the setting of the controller unit or the protocol control unit is not compatible with the device The step of sending
A communication method provided with.
[11]
A setting verification step of determining whether or not the setting of the controller unit is suitable for the device by verifying the operation of the controller unit communicating with the device connected to the interface unit;
When it is determined that the setting of the controller unit is suitable for the device, the setting of the protocol control unit is verified by verifying the operation of the protocol control unit that controls the device via the controller unit. Determining if it is compatible with the device,
Information notifying that the setting of the controller unit or the protocol control unit is not compatible with the device when it is determined that the setting of the controller unit or the protocol control unit is not compatible with the device The step of sending
A program that causes a computer to execute.

101:通信部
102:インタフェース部
103:コントローラ
104:プログラム保持部
105:プロトコル制御部
106:設定検証部
107:制御受付部
108:設定受付部
110:記憶部
301:通信アダプタ
302:機器
303:ルータ
304:端末
305:端末
306:インターネット
307:サーバ
308:携帯電話網
101: communication unit 102: interface unit 103: controller 104: program holding unit 105: protocol control unit 106: setting verification unit 107: control reception unit 108: setting reception unit 110: storage unit 301: communication adapter 302: device 303: router 304: Terminal 305: Terminal 306: Internet 307: Server 308: Mobile phone network

Claims (6)

機器と接続するインタフェース部と、
前記インタフェース部を介して前記機器と通信するコントローラ部と、
前記コントローラ部を介して前記機器を制御するプロトコル制御部と、
前記プロトコル制御部の動作を検証することにより、前記プロトコル制御部の設定が前記機器に適合しているかを判断する設定検証部と、を備え、
前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部の設定と前記プロトコル制御部の設定間の可能な組み合わせを示す情報に基づいて、前記機器に適合する前記プロトコル制御部の設定の候補を特定する通信アダプタ。
An interface part that connects to the device,
A controller unit that communicates with the device via the interface unit;
A protocol control unit for controlling the device via the controller unit,
By verifying the operation of the protocol control unit, a setting verification unit that determines whether the setting of the protocol control unit is compatible with the device ,
If it is determined that the protocol control unit settings are not suitable for the device, the protocol control unit settings are compatible with the device based on information indicating possible combinations between the controller unit settings and the protocol control unit settings. A communication adapter for identifying a setting candidate of the protocol control unit .
前記特定した候補の情報を端末に送信する、もしくは、前記特定した候補のうちの1つを前記プロトコル制御部に適用する
請求項1に記載の通信アダプタ。
The communication adapter according to claim 1 , wherein information on the identified candidate is transmitted to a terminal, or one of the identified candidates is applied to the protocol control unit .
機器と通信するコントローラ部を介して前記機器を制御するプロトコル制御部の動作を検証することにより、前記プロトコル制御部の設定が前記機器に適合しているかを判断
前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部の設定と前記プロトコル制御部の設定間の可能な組み合わせを示す情報に基づいて、前記機器に適合する前記プロトコル制御部の設定の候補を特定する
通信方法。
By verifying the operation of the protocol control unit for controlling the device via a controller unit that communicates with equipment, to determine settings of the protocol control section is adapted to the device,
If it is determined that the protocol control unit settings are not suitable for the device, the protocol control unit settings are compatible with the device based on information indicating possible combinations between the controller unit settings and the protocol control unit settings. Specify the setting candidates of the protocol control unit
Communication method.
前記特定した候補の情報を端末に送信する、もしくは、前記特定した候補のうちの1つを前記プロトコル制御部に適用する
請求項3に記載の通信方法。
The communication method according to claim 3 , wherein information on the identified candidate is transmitted to a terminal, or one of the identified candidates is applied to the protocol control unit .
機器と通信するコントローラ部を介して前記機器を制御するプロトコル制御部の動作を検証することにより、前記プロトコル制御部の設定が前記機器に適合しているかを判断するステップと、
前記プロトコル制御部の設定が前記機器に適合していないと判断された場合に、前記コントローラ部の設定と前記プロトコル制御部の設定間の可能な組み合わせを示す情報に基づいて、前記機器に適合する前記プロトコル制御部の設定の候補を特定するステップと、
をコンピュータに実行させるためのプログラム。
Verifying the operation of a protocol control unit that controls the device via a controller unit that communicates with the device, and determining whether the settings of the protocol control unit are compatible with the device;
If it is determined that the protocol control unit settings are not suitable for the device, the protocol control unit settings are compatible with the device based on information indicating possible combinations between the controller unit settings and the protocol control unit settings. Specifying a candidate for setting the protocol control unit,
A program that causes a computer to execute.
前記特定した候補の情報を端末に送信する、もしくは、前記特定した候補のうちの1つを前記プロトコル制御部に適用するステップ
さらに前記コンピュータに実行させるための請求項5に記載のプログラム。
The program according to claim 5, which further causes the computer to execute the step of transmitting the information of the identified candidate to the terminal or applying one of the identified candidates to the protocol control unit .
JP2019074367A 2019-04-09 2019-04-09 Communication adapter, communication method and program Active JP6735385B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019074367A JP6735385B2 (en) 2019-04-09 2019-04-09 Communication adapter, communication method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019074367A JP6735385B2 (en) 2019-04-09 2019-04-09 Communication adapter, communication method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015179661A Division JP6514075B2 (en) 2015-09-11 2015-09-11 Communication adapter, communication method and program

Publications (2)

Publication Number Publication Date
JP2019117661A JP2019117661A (en) 2019-07-18
JP6735385B2 true JP6735385B2 (en) 2020-08-05

Family

ID=67304582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019074367A Active JP6735385B2 (en) 2019-04-09 2019-04-09 Communication adapter, communication method and program

Country Status (1)

Country Link
JP (1) JP6735385B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3426171B2 (en) * 1999-11-29 2003-07-14 三菱電機株式会社 Communication protocol conversion system, monitor device
JP4120798B2 (en) * 2003-02-14 2008-07-16 三菱電機株式会社 Home network system and communication adapter and home controller used therefor
WO2010116488A1 (en) * 2009-04-07 2010-10-14 三菱電機株式会社 Communication adapter device

Also Published As

Publication number Publication date
JP2019117661A (en) 2019-07-18

Similar Documents

Publication Publication Date Title
JP4586089B2 (en) COMMUNICATION SYSTEM, HOST DEVICE, AND TERMINAL DEVICE
JP6527943B2 (en) Software upgrade method and device
JP4966393B2 (en) Terminal equipment
JP2009133549A (en) Communication adaptor for air conditioner and control program updating system for air conditioner
TWI524620B (en) Radiator control method
JP2016504641A (en) System and method for exchanging support data with a device without a physical user interface
JP5496393B1 (en) Home equipment and remote control system
CN105588266B (en) A kind of tele-control system and its configuration method of central air-conditioning
JP6514075B2 (en) Communication adapter, communication method and program
JP6707989B2 (en) Electrical equipment connection tool, set of electrical equipment connection tool and external control device, and remote monitoring management system
EP3669124B1 (en) Appliances and control method thereof
JP6735385B2 (en) Communication adapter, communication method and program
JP5868476B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP6320563B2 (en) Communication device, communication adapter, communication system, communication parameter response method, and program
WO2020114099A1 (en) Device upgrade method, apparatus, and system, storage medium, and terminal
JP6776164B2 (en) Management equipment, management methods and programs
TWI556171B (en) Motherboard and method for booting
JP5528603B1 (en) Communication adapter, control system, communication adapter control method, and program
JP6433870B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP2007148967A (en) Computer device batch management system
CN106101784B (en) A kind of repositioning method and device of smart television control Bluetooth chip
JP7267505B2 (en) Equipment, network equipment and command execution method
TWI709037B (en) Bios setting method
JP6291902B2 (en) Power measurement apparatus, power measurement system, communication control method, and communication control program
CN109450718B (en) Remote diagnosis method and device for wireless routing equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190409

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200306

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200519

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200713

R151 Written notification of patent or utility model registration

Ref document number: 6735385

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151