JP7399029B2 - Gateway device, communication method, and program - Google Patents
Gateway device, communication method, and program Download PDFInfo
- Publication number
- JP7399029B2 JP7399029B2 JP2020097091A JP2020097091A JP7399029B2 JP 7399029 B2 JP7399029 B2 JP 7399029B2 JP 2020097091 A JP2020097091 A JP 2020097091A JP 2020097091 A JP2020097091 A JP 2020097091A JP 7399029 B2 JP7399029 B2 JP 7399029B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- information
- network
- proxy response
- update
- 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
Links
- 238000004891 communication Methods 0.000 title claims description 64
- 238000000034 method Methods 0.000 title claims description 56
- 230000004044 response Effects 0.000 claims description 90
- 238000012545 processing Methods 0.000 description 16
- 238000006243 chemical reaction Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 238000004378 air conditioning Methods 0.000 description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Description
本開示は、ゲートウェイ装置、通信方法、及び、プログラムに関する。 The present disclosure relates to a gateway device, a communication method, and a program.
複数の機器をローカルなネットワークで接続したシステムが知られている。例えば空調システムでは複数の室内機、室外機、リモコンなどの機器をネットワークに接続し、ネットワークを介してそれぞれの機器を制御することができる。このようなシステムでのネットワークのプロトコルとしては、エコネットのような標準のプロトコル、メーカー独自のプロトコルなどがある。また、複数の異なるプロトコルを有するネットワークによってこのようなシステムが構成されているものも知られている。 A system in which multiple devices are connected via a local network is known. For example, in an air conditioning system, multiple indoor units, outdoor units, remote controllers, and other devices can be connected to a network and each device can be controlled via the network. Network protocols for such systems include standard protocols such as Econet and manufacturers' proprietary protocols. Furthermore, systems in which such a system is configured by a network having a plurality of different protocols are also known.
例えば、エコネットのプロトコル(以下、プロトコルA)を有するネットワークで通信を行う空調システムと、メーカー独自のプロトコル(以下、プロトコルB)を有するネットワークで通信を行う照明制御システムとで構成される通信システムにおいて、一方のシステムのリモコンから他方のシステムの機器を制御可能にし、利便性を上げることが考えられる。この場合、ネットワークA、Bの間にゲートウェイ装置が配置される。ゲートウェイ装置は、ネットワークA,B間で送受信される信号を送信先のプロトコルの形式の信号に変換する。これにより、ネットワークA,B間で通信することができる。 For example, a communication system consisting of an air conditioning system that communicates over a network that uses Econet's protocol (hereinafter referred to as protocol A) and a lighting control system that communicates over a network that uses a manufacturer's proprietary protocol (hereinafter referred to as protocol B). In this case, it is possible to improve convenience by allowing the remote control of one system to control equipment of the other system. In this case, a gateway device is placed between networks A and B. The gateway device converts signals sent and received between networks A and B into signals in the format of the destination protocol. This allows communication between networks A and B.
しかしながら、プロトコルAとBとで通信速度に大きな差があり、リモコンからの制御信号に対する応答が間に合わない場合がある。このような事態に対処するため、特許文献1、2には、ゲートウェイ装置に機器の状態を保持しておき、制御信号の送信元に代理応答する技術が開示されている。 However, there is a large difference in communication speed between protocols A and B, and responses to control signals from the remote controller may not be in time. In order to cope with such a situation, Patent Documents 1 and 2 disclose a technique in which a gateway device stores the state of the device and responds on behalf of the source of the control signal.
特許文献1、2に開示されている技術では、機器の状態取得を要求する信号のような場合は、代理応答の後、実際に機器側まで信号を通知する必要はない。一方、機器を操作する操作信号のような場合は、ゲートウェイ装置は代理応答した後、操作信号を送信先のプロトコルの形式に変換して、機器に送信する必要がある。しかしながら、プロトコルAとBとでデータのアサイン方式の違いなどがあり、プロトコルAにおける信号をプロトコルBにおける信号に確実に変換できるとは限らない。 In the techniques disclosed in Patent Documents 1 and 2, in the case of a signal requesting to obtain the status of a device, there is no need to actually notify the device side of the signal after the proxy response. On the other hand, in the case of an operation signal for operating a device, the gateway device needs to make a proxy response, convert the operation signal into the format of the destination protocol, and send it to the device. However, there are differences in data assignment methods between protocols A and B, and it is not always possible to reliably convert signals in protocol A to signals in protocol B.
本開示は、上記実情に鑑みてなされたものであり、プロトコルの差異によらずに代理応答と機器への信号の送信とを確実に実行できるゲートウェイ装置などを提供することを目的とする。 The present disclosure has been made in view of the above circumstances, and aims to provide a gateway device and the like that can reliably execute proxy responses and transmit signals to devices regardless of protocol differences.
上記目的を達成するため、本開示に係るゲートウェイ装置は、
操作端末が接続されている第1ネットワークと機器が接続されている第2ネットワークとの間で送受信される信号を中継するゲートウェイ装置であって、
前記第1ネットワークと通信を行う第1通信手段と、
前記第2ネットワークと通信を行う第2通信手段と、
前記機器の状態を示す機器情報を記憶する機器情報記憶手段と、
前記操作端末又は前記機器と送受信する信号の種類毎に、当該信号の動作を定義する信号動作情報を記憶する信号動作記憶手段と、
前記機器情報記憶手段に記憶されている機器情報の各項目と、当該項目の値を前記機器の状態に反映させるための状態更新信号の信号動作情報と、を関連付けるための関連付情報を記憶する信号関連記憶手段と、
前記第1通信手段が前記操作端末から受信した制御信号を前記信号動作記憶手段に記憶されている前記信号動作情報に基づいて解析し、前記機器情報を更新する必要があるか否か、及び、前記操作端末へ代理応答する必要があるか否かを判別する信号解析手段と、
前記信号解析手段が前記機器情報を更新する必要があると判別した場合に、前記機器情報を更新する更新手段と、
前記更新手段によって前記機器情報が更新された場合に、前記関連付情報に基づいて更新された前記機器情報を前記機器の状態に反映させるための前記状態更新信号を作成する状態更新信号作成手段と、
前記信号解析手段が代理応答する必要があると判別した場合に、前記制御信号に対する代理応答信号を作成する代理応答信号作成手段と、を備え、
前記第1通信手段は、前記代理応答信号を前記操作端末に送信し、
前記第2通信手段は、前記状態更新信号を前記機器に送信する。
In order to achieve the above objective, the gateway device according to the present disclosure includes:
A gateway device that relays signals transmitted and received between a first network to which an operating terminal is connected and a second network to which a device is connected,
a first communication means for communicating with the first network;
a second communication means for communicating with the second network;
equipment information storage means for storing equipment information indicating the state of the equipment;
Signal operation storage means for storing signal operation information that defines the operation of the signal for each type of signal transmitted and received with the operation terminal or the device;
Store association information for associating each item of equipment information stored in the equipment information storage means with signal operation information of a status update signal for reflecting the value of the item in the status of the equipment. signal-related storage means;
Whether or not it is necessary for the first communication means to analyze the control signal received from the operation terminal based on the signal operation information stored in the signal operation storage means and update the device information; and signal analysis means for determining whether or not it is necessary to make a proxy response to the operating terminal;
updating means for updating the device information when the signal analysis means determines that the device information needs to be updated;
a state update signal creating means for creating the state update signal for reflecting the updated device information based on the association information on the state of the device when the device information is updated by the updating means; ,
proxy response signal creation means for creating a proxy response signal to the control signal when the signal analysis means determines that a proxy response is necessary;
The first communication means transmits the proxy response signal to the operation terminal,
The second communication means transmits the status update signal to the device.
本開示によれば、プロトコルの差異によらずに代理応答と信号の送信を確実に実行できる。 According to the present disclosure, proxy responses and signal transmission can be reliably executed regardless of protocol differences.
以下、本開示の実施形態について、図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付す。 Embodiments of the present disclosure will be described in detail below with reference to the drawings. In addition, the same reference numerals are given to the same or corresponding parts in the figures.
図1は、本開示の実施形態に係るゲートウェイ装置100を含んだシステムの全体構成を示す図である。ゲートウェイ装置100は、操作端末21と機器31とが接続されている第1ネットワークN1と、操作端末22と機器32とが接続されている第1ネットワークN1とプロトコルが異なる第2ネットワークN2と、を相互通信可能に接続する装置である。なお、操作端末21、22は、ユーザによって操作されるPC、タブレット端末などである。機器31は、室内機、室外機、照明などの機器である。操作端末21、22は、ゲートウェイ装置100を経由することで、同じ第1、第2ネットワークN1、N2に接続されている機器31,32だけでなく、他方の第2、第1ネットワークN2、N1に接続されている機器32、31の状態を取得の取得、操作などを行うことができる。
FIG. 1 is a diagram showing the overall configuration of a system including a
(ゲートウェイ装置100の構成)
ゲートウェイ装置100の構成について説明する。ゲートウェイ装置100は、図2に示すように、第1通信部110と、第2通信部120と、記憶部130と、制御部140と、を備える。
(Configuration of gateway device 100)
The configuration of the
第1通信部110は、第1ネットワークN1と接続されている。第1通信部110は、第1ネットワークN1を介して、操作端末21、機器31と通信する。第1通信部110は、送信部111と受信部112とを有する。送信部111は、第1ネットワークN1を介して、操作端末21、機器31に各種の信号を送信する。受信部112は、第1ネットワークN1を介して、操作端末21、機器31から各種の信号を受信する。第1通信部110は、本開示の第1通信手段の一例である。
The
第2通信部120は、第2ネットワークN2と接続されている。第2通信部120は、第2ネットワークN2を介して、操作端末22、機器32と通信する。第2通信部120は、送信部121と受信部122とを有する。送信部121は、第2ネットワークN2を介して、操作端末22、機器32に各種の信号を送信する。受信部122は、第2ネットワークN2を介して、操作端末22、機器32から各種の信号を受信する。第2通信部120は、本開示の第2通信手段の一例である。
The
記憶部130は、EEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュメモリなどの読み書き可能な不揮発性の半導体メモリ又はHDDを含んで構成される。記憶部130は、第1信号動作DB1311と、第2信号動作DB1312と、第1機器情報DB1321と、第2機器情報DB1322と、第1信号関連DB1331と、第2信号関連DB1332と、機器情報フォーマットテーブル134を記憶する。
The
第1信号動作DB1311は、第1ネットワークN1との間で送受信されうる制御信号の種類毎に、当該制御信号の動作内容を定義する信号動作情報を記憶する。具体的には、第1信号動作DB1311は、図3に示す信号動作テーブルの形式で信号動作情報を記憶する。信号動作テーブルは、制御信号毎に設けられているテーブルであり、その制御信号の動作内容を規定する「コマンド」、「DB更新要否」、「DB読出要否」、「応答要求要否」、「応答コマンド」、「データ変換(受信時)」、「データ変換(送信時)」、「応答要否」、「応答待機時間」の各項目の値が登録されている。 The first signal operation DB 1311 stores, for each type of control signal that can be transmitted and received with the first network N1, signal operation information that defines the operation content of the control signal. Specifically, the first signal operation DB 1311 stores signal operation information in the format of a signal operation table shown in FIG. The signal operation table is a table provided for each control signal, and includes "command", "DB update necessity", "DB read necessity", and "response request necessity" that define the operation contents of the control signal. , "Response command", "Data conversion (when receiving)", "Data conversion (when sending)", "Response necessity", and "Response waiting time" are registered.
「コマンド」は、その制御信号に含まれているコマンドである。コマンドは、その制御信号による命令の内容を示す。 "Command" is a command included in the control signal. The command indicates the content of the instruction based on the control signal.
「DB更新要否」は、その制御信号によって第1機器情報DB1321又は第2機器情報DB1322を更新するか否かを示す。例えば、機器31,32の状態を変更する制御信号であれば、「DB更新要否」は要となっている。
“DB update necessity” indicates whether the first
「DB読出要否」は、その制御信号によって第1機器情報DB1321,第2機器情報DB1322から情報を読み出すか否かを示す。例えば、機器31,32の状態を取得する制御信号であれば、「DB読出要否」は要となっている。
“DB reading necessity” indicates whether information is to be read from the first
「応答要求要否」は、その制御信号の送信元に対して応答するか否かを示す。この応答は、送信先に代理してゲートウェイ装置100が行う代理応答に相当する。
「応答コマンド」は、「応答要求要否」が応答要と設定されている場合にその制御信号の送信元に応答として送信するためのコマンドである。
“Response request necessity” indicates whether or not to respond to the transmission source of the control signal. This response corresponds to a proxy response that the
The "response command" is a command to be sent as a response to the source of the control signal when the "response request necessity" is set to require a response.
「データ変換(受信時)」は、その制御信号のデータ部に格納されている第1ネットワークN1のプロトコル形式のデータを第1機器情報DB1321の機器情報テーブルへ格納するためのデータに変換するための変換式である。
"Data conversion (at the time of reception)" is for converting data in the protocol format of the first network N1 stored in the data part of the control signal into data to be stored in the device information table of the first
「データ変換(送信時)」は、第1機器情報DB1321に格納されているデータを、その制御信号のデータ部へ格納するための第1ネットワークN1のプロトコル形式のデータに変換するための変換式である。
"Data conversion (at the time of transmission)" is a conversion formula for converting the data stored in the first
「応答要否」は、その制御信号の送信先からの応答を待つか否かを示す。
「応答待機時間」は、「応答要否」で要と設定されている場合に、その制御信号の送信先からの応答を待つ最大待機時間を示す。
“Response necessity” indicates whether or not to wait for a response from the destination of the control signal.
"Response waiting time" indicates the maximum waiting time for waiting for a response from the destination of the control signal when "response necessity" is set to "required".
図2に戻り、第2信号動作DB1312は、第2ネットワークN2との間で送受信されうる制御信号の種類毎に、当該制御信号の動作内容を規定する信号動作情報を記憶する。具体的には、第2信号動作DB1312は、第1信号動作DB1311と同様に、制御信号毎に図3に示す信号動作テーブルの形式で信号動作情報を記憶する。
Returning to FIG. 2, the second
なお、以下の説明では、第1信号動作DB1311と第2信号動作DB1312とを区別しない場合は、信号動作DB131とも表記する。信号動作DB131は、本開示の信号動作記憶手段の一例である。
In addition, in the following description, when the first signal operation DB 1311 and the second
第1機器情報DB1321は、第1ネットワークN1に接続されている機器31の機器情報を記憶する。具体的には、第1機器情報DB1321は、機器31毎に、図4に示す機器情報テーブルの形式で機器情報を記憶する。図4は、室内機である機器31の機器情報テーブルを示しており、「電源状態」、「温度」、「湿度」、「運転モード」、「風向き」の値が記憶されている。「電源状態」、「温度」、「湿度」、「運転モード」、「風向き」の値は、機器31の状態を表す機器データであり、操作端末21,22からの操作によって値が変更される。「第1アドレス」は、第1ネットワークN1からその機器31にアクセスするためのアドレスを示す。「第2アドレス」は、第2ネットワークN2からその機器31にアクセスするためのアドレスを示す。
The first
第2機器情報DB1322は、第2ネットワークN2に接続されている機器32の機器情報を、第1機器情報DB1321と同様の形式で記憶している。なお、以下の説明では、第1機器情報DB1321と第2機器情報DB1322とを区別しない場合は、機器情報DB132とも表記する。機器情報DB132は、本開示の機器情報記憶手段の一例である。
The second device information DB 1322 stores device information of the
第1信号関連DB1331は、第1ネットワークN1に接続されている機器31の機器情報テーブルに登録されている各機器データと、その機器データの値が更新された場合に、実際の機器31の状態に当該更新を反映させるための状態更新信号の信号動作情報と、を関連付けるための関連付情報を記憶する。具体的には、第1信号関連DB1331は、図5に示す信号関連テーブルの形式で関連付情報を記憶する。信号関連テーブルには、第1ネットワークN1に接続されている機器31の機器データの各項目と、そのデータ項目の値の更新があった場合に機器31に送信する状態更新信号に含まれる状態更新コマンドと、が対応付けて記憶されている。なお、同じ機種の機器31であれば機器データの項目は共通しているため、信号関連テーブルは、機器31の機種毎に設けられている。図5に示す信号関連テーブルは、機種が空調室内機である場合の構成例を示している。
The first signal related
第2信号関連DB1332は、第2ネットワークN2に接続されている機器32の機器情報テーブルに登録されている各機器データと、その機器データの値が更新された場合に、実際の機器32の状態に当該更新を反映させるための状態更新信号の信号動作情報と、を関連付けるための関連付情報を、第1信号関連DB1331と同様の形式で記憶する。なお、以下の説明では、第1信号関連DB1331と第2信号関連DB1332とを区別しない場合は、信号関連DB133とも表記する。信号関連DB133は、本開示の信号関連記憶手段の一例である。
The second signal related
機器情報フォーマットテーブル134は、図6に示すように、機種毎に、その機種の機器31、32の各データ項目とデータ形式を規定するテーブルである。機器情報フォーマットテーブル134は、第1ネットワークN1及び第2ネットワークN2に新たに接続された機器31,31の機器情報テーブルを作成するときに参照される。
As shown in FIG. 6, the device information format table 134 is a table that defines, for each model, each data item and data format of the
図2に戻り、制御部140は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)を備える。制御部140は、CPUがROMに記憶されたプログラムを読み出してRAM上で実行することにより、ゲートウェイ装置100の各部を制御する。また、制御部140は、機能的な構成として、信号解析部141と、信号作成部142と、機器監視部143と、を備える。
Returning to FIG. 2, the
信号解析部141は、操作端末21,22から受信した制御信号を解析する。具体的には、信号解析部141は、受信した制御信号に含まれるコマンドを有する信号動作テーブルを信号動作DB131から取得し、当該信号動作テーブルの各項目の値を読み出すことで、制御信号の動作を解析する。例えば、信号解析部141は、操作端末21,22から受信した制御信号を解析することにより、機器情報DB132の機器情報テーブルに格納されている機器データを更新するか否か、及び代理応答する必要があるか否かを判別する。信号解析部141は、本開示の信号解析手段の一例である。
The
信号作成部142は、ゲートウェイ装置100から操作端末21,22、機器31,32に送信する信号を生成する。具体的には、信号作成部142は、機器情報DB132の機器情報テーブルに登録されている機器データが更新された場合に、信号関連DBから対応する状態更新コマンドを読み出して、更新された機器データを反映した状態になるように対象の機器31,32の状態を更新する状態更新信号を作成し、当該機器31,32が接続されている第1通信部110、第2通信部120に出力する。また、信号作成部142は、操作端末21,22から受信した制御信号に対して代理応答する必要がある場合に代理応答信号を作成し、制御信号を受信した第1通信部110、第2通信部120に出力する。信号作成部142は、本開示の状態更新信号作成手段、代理応答信号作成手段の一例である。
The
機器監視部143は、機器情報DB132に格納されている機器情報テーブルを監視して、機器データの更新を検知する処理、操作端末21,22から受信した制御信号に基づいて機器情報テーブルを更新する処理を実行する。機器監視部143は、本開示の更新手段の一例である。
The
(機器登録処理)
続いて、ゲートウェイ装置100が実行する処理の動作について説明する。始めに、第2機器情報DB1322に機器情報テーブルを登録する機器登録処理について説明する。例えば、第2ネットワークN2に機器32が初めて接続され、この機器32からその旨を示す信号がブロードキャストでゲートウェイ装置100に通知された場合、ゲートウェイ装置100は、図7のフローチャートに示す機器登録処理を開始する。なお、ゲートウェイ装置100は、起動時、若しくは定期的に、第2ネットワークN2に対して接続機器確認信号を同報送信し、機器情報テーブルが未作成の機器32からの応答信号があった場合に機器登録処理を開始してもよい。
(Device registration process)
Next, the operation of the process executed by the
まず、第2通信部120は、機器32から受信した通知信号、又は応答信号に基づいて、第2ネットワークN2に新たに接続された機器32を検知する(ステップS101)。
First, the
続いて、第2通信部120は、検知した機器32の種別を判別する(ステップS102)。具体的には、第2通信部120は、第2ネットワークN2のプロトコルの仕様に基づいて機器32の種別を判別する。例えば、第2通信部120は、機器32からの通知信号、応答信号に含まれる機種を表すコードから、機器の種別を判別すればよい。
Subsequently, the
続いて、制御部140は、機器情報フォーマットテーブル134を参照して、判別した種別の機器32の機器情報フォーマットを特定する(ステップS103)。
Next, the
続いて、制御部140は、特定した機器情報フォーマットを用いて、新たに機器情報テーブルを作成し、第2機器情報DB1322に格納する(ステップS104)。このとき、制御部140は、作成した機器情報テーブルの項目「第2アドレス」の値には、ステップS101で機器から受信した通知信号、又は応答信号のヘッダ部分に含まれるアドレスを登録する。なお、項目「第1アドレス」の値はこの時点では未定である。
Subsequently, the
続いて、制御部140は、機器32が第2ネットワークN2に接続されたことを、ブロードキャストで第1ネットワークN1側に通知する(ステップS105)。この通知を受信した操作端末21は、応答として、第1ネットワークN1から当該機器32に接続するためのアドレスを通知する。
Next, the
続いて、制御部140は、操作端末21から通知されたアドレスをステップS104で作成した機器情報テーブルの項目「第1アドレス」の値として登録する(ステップS106)。以上で機器登録処理は終了する。なお、上記説明では、第2ネットワークN2に接続された機器32を登録する例を説明したが、第1ネットワークN1に接続された機器31を登録する場合も同様の処理を実行すればよい。
Subsequently, the
(信号受信処理)
続いて、操作端末21,22若しくは機器31,32から制御信号を受信した場合にゲートウェイ装置100で実行される信号受信処理の動作について図8のフローチャートを用いて説明する。なお、以下説明する信号受信処理は、第1ネットワークN1に接続されている操作端末21若しく機器31から制御信号を受信した場合に実行される処理である。
(Signal reception processing)
Next, the operation of the signal reception process executed by the
なお、この信号受信処理でゲートウェイ装置100が受信する制御信号の種類は、代表的なものとして以下に示す3つの信号が考えられる。なお、信号受信処理で受信する制御信号はこれらに限定されるものではない。
Note that the following three typical types of control signals that the
・操作信号:操作端末21から送信され、第2ネットワークN2に接続されている機器32を操作するための制御信号。
・状態取得信号:操作端末21から送信され、第2ネットワークN2に接続されている機器32の状態を取得するための制御信号。
・状態通知信号:機器31の状態が変化した場合、予めスケジューリングされているタイミングに達した場合などに、機器31の状態を通知するために機器31から自発的に送信される制御信号。
- Operation signal: A control signal transmitted from the
- Status acquisition signal: A control signal transmitted from the
- Status notification signal: A control signal that is spontaneously transmitted from the
操作信号には、送信先のアドレスとして操作対象とする機器32のアドレスが含まれている。また、操作信号のデータ部には、どのような状態に機器32を操作するかを規定するデータが含まれている。例えば、機器32が室内機であれば、室内機をどのような設定温度、運転モードに操作したいかを示すデータが操作信号のデータ部に含まれている。
The operation signal includes the address of the
状態取得信号には、送信先のアドレスとして状態取得の対象とする機器32のアドレスが含まれている。状態取得信号は、機器32の状態を更新するための信号ではないため、通常は状態取得信号のデータ部にはデータは格納されていない。
The status acquisition signal includes the address of the
状態通知信号は、操作信号及び状態取得信号と異なり、対向する第2ネットワークN2側に送信される信号ではなく、送信先のアドレスはゲートウェイ装置100のアドレスである。また、状態通知信号のデータ部には、通知する機器31の状態を示すデータが格納されている。
Unlike the operation signal and the status acquisition signal, the status notification signal is not a signal sent to the opposing second network N2 side, and the destination address is the address of the
信号受信処理が開始されると、まず、第1通信部110は、操作端末21又は機器31から受信した制御信号を汎用フレーム構造の制御信号に変換し、変換した制御信号を信号解析部141に渡す(ステップS201)。これにより、操作端末21又は機器31から受信した第1ネットワークN1のプロトコルの制御信号は、プロトコルに依存せずに汎用的に扱うことが可能となる。図9に示すように汎用フレーム構造に変換された制御信号は、コマンド、送信元アドレス、送信先アドレス、データ数、複数のデータ[1]~データ[n]を含む。データ数は、制御信号の種類によって異なる。例えば、肯定応答信号(ACK)のような信号であればデータ数は0であり、操作信号であれば操作対象とする機器の機種に応じたデータ数となる。なお、図9に示す汎用フレーム構造は一例であり、他のデータ形式の汎用フレーム構造に変換してもよい。
When the signal reception process is started, the
図8に戻り、続いて、信号解析部141は、渡された制御信号に含まれるコマンドを有する信号動作テーブルを第1信号動作DB1311から取得する(ステップS202)。
Returning to FIG. 8, the
続いて、信号解析部141は、取得した信号動作テーブルの項目「DB更新要否」の値を参照して、機器情報DB132を更新する必要あるか否かを判別する(ステップS203)。なお、操作信号及び状態通知信号の信号動作テーブルであれば、一般的に項目「DB更新要否」の値は更新必要有りに設定されている。一方、状態取得信号の信号動作テーブルであれば、一般的に項目「DB更新要否」の値は更新必要無しに設定されている。
Next, the
機器情報DB132を更新する必要がない場合(ステップS203;No)、後述するステップS204~207はスキップされて処理はステップS208に移る。一方、機器情報DB132を更新する必要がある場合(ステップS203;Yes)、信号解析部141は、ステップS202で取得した信号動作テーブルの項目「データ変換(受信時)」が示す変換式に基づいて、ステップS201で汎用フレーム構造に変換した制御信号の各データの値を機器情報テーブル格納用の形式に変換する(ステップS204)。
If there is no need to update the device information DB 132 (step S203; No), steps S204 to S207, which will be described later, are skipped and the process moves to step S208. On the other hand, if it is necessary to update the device information DB 132 (step S203; Yes), the
続いて、信号解析部141は、ステップS201で汎用フレーム構造に変換した制御信号に含まれる送信元アドレスと項目「第1通信アドレス」の値が一致する機器情報テーブルが、第1機器情報DB1321に格納されているか否かを判別する(ステップS205)。
Subsequently, the
制御信号の送信元アドレスと項目「第1通信アドレス」の値が一致する機器情報テーブルが第1機器情報DB1321に格納されている場合(ステップS205;Yes)、受信した制御信号は機器31から送信された状態通知信号であることがわかる。そのため、信号解析部141は、一致した機器情報テーブルの機器データを、ステップS204で変換したデータに更新する(ステップS206)。これにより、状態通知信号で通知された機器31の状態が機器情報テーブルに反映されたことになる。そして処理は、ステップS208に移る。
If a device information table in which the source address of the control signal matches the value of the item “first communication address” is stored in the first device information DB 1321 (step S205; Yes), the received control signal is transmitted from the
一方、制御信号の送信元アドレスと項目「第1通信アドレス」の値とが一致する機器情報テーブルが第1機器情報DB1321に格納されていない場合(ステップS205;No)、受信した制御信号は操作端末21から送信された操作信号であることがわかる。そのため、信号解析部141は、ステップS201で汎用フレーム構造に変換した制御信号に含まれる送信先アドレスと、項目「第2アドレス」の値が一致する機器情報テーブルを第2機器情報DB1322から取得し、取得した機器情報テーブルの機器データの値を、ステップS204で変換したデータの値に更新する(ステップS207)。なお、ステップS207でのデータの更新が完了すると、ゲートウェイ装置100では後述する機器データ更新処理が別スレッドで信号受信処理とは独立して実行される。機器データ更新処理については後述する。続いて、処理は、ステップS208に移る。
On the other hand, if the device information table in which the source address of the control signal matches the value of the item "first communication address" is not stored in the first device information DB 1321 (step S205; No), the received control signal is It can be seen that this is an operation signal transmitted from the terminal 21. Therefore, the
ステップS208において、信号解析部141は、ステップS202で取得した信号動作テーブルの項目「応答要否」の値を参照して、受信した制御信号に対して応答する必要があるか否かを判別する。
In step S208, the
応答する必要がない場合(ステップS208;No)、信号受信処理は終了する。受信した制御信号が機器31からの状態通知信号である場合、基本的に機器31に応答する必要はないので、ステップS208はNoと判定される。一方、応答する必要がある場合(ステップS208;Yes)、信号作成部142は、第1信号動作DB1311のなかから、ステップS202で取得した信号動作テーブルの項目「応答コマンド」の値を項目「コマンド」の値に有する信号動作テーブルを特定する(ステップS209)。ここで特定した信号動作テーブルは、ステップS201で操作端末21から受信した制御信号に対する代理応答信号の信号動作テーブルに相当する。
If there is no need to respond (step S208; No), the signal reception process ends. If the received control signal is a status notification signal from the
続いて、信号作成部142は、ステップS209で特定した代理応答信号の信号動作テーブルの項目「DB読出要否」の値を参照して、第2機器情報DB1322からデータを読み出すか否かを判別する(ステップS210)。
Subsequently, the
第2機器情報DB1322からデータを読み出す必要がない場合(ステップS210;No)、信号作成部142は、ステップS209で特定した信号動作テーブルの項目「コマンド」を第1通信部110に渡す。第1通信部110は、渡された「コマンド」から、第1プロトコルの形式の代理応答信号を作成する(ステップS211)。この代理応答信号は、受信した制御信号の送信元の操作端末21に代理応答として返信するだけの信号であり、内部に機器データは含まれていない。そして、処理はステップS214に移る。
If there is no need to read data from the second device information DB 1322 (step S210; No), the
一方、第2機器情報DB1322からデータを読み出す必要がある場合(ステップS210;Yes)、信号作成部142は、ステップS209で特定した代理応答信号の信号動作テーブルの項目「データ変換(送信時)」の変換式で、ステップS207で更新した第2機器情報テーブル1322の各データの値を第1プロトコルの形式のデータに変換する(ステップS212)。
On the other hand, if it is necessary to read data from the second device information DB 1322 (step S210; Yes), the
続いて、信号作成部142は、ステップS209で特定した信号動作テーブルの項目「コマンド」の値と、ステップS212で変換したデータとを第1通信部110に渡す。第1通信部110は、渡されたコマンドとデータから、第1プロトコルの形式の代理応答信号を作成する(ステップS213)。この代理応答信号は、受信した制御信号に代理応答として返信するとともに、制御信号による制御によって変更された若しくは取得した機器32の機器データを通知する信号である。そして、処理はステップS214に移る。
Subsequently, the
ステップS214において、第1通信部110は、ステップS211若しくはステップS213で作成した代理応答信号を、第1ネットワークN1を介して、制御信号の送信元である操作端末21に送信する。以上で信号受信処理は終了する。
In step S214, the
このように、操作端末21又は機器31から制御信号を受信した場合、制御信号の種類ごとに設けられている信号動作テーブルによって処理内容を変えることができ、操作信号、状態取得信号、状態通知信号などの信号の種別やゲートウェイ装置100による代理応答の要否などを一元して処理できる。さらに、操作と状態取得を要求するような制御信号の場合でも、適切な信号動作テーブルを作成しておくことで対応することができる。
In this way, when a control signal is received from the
なお、信号動作テーブルに応答待ち時間、再送回数などの項目を設け、ステップS208でYesの判定された場合、コマンドごとに適切な時間で代理応答信号を送信し、予め定めた条件に応じて再送処理など行ってもよい。即ち、この場合、ステップS214において、ステップS209で特定した信号動作テーブルに含まれる応答待ち時間だけ待機してから代理応答信号を送信し、その後、予め定めた条件に応じて当該信号動作テーブルに含まれる再送回数を限度に代理応答信号を複数回送信してもよい。プロトコル又はコマンドごとによって応答時間、再送回数などが異なる場合でも、このように信号動作テーブルに登録しておく手法によって一元して処理することができる。 Note that items such as response waiting time and number of retransmissions are provided in the signal operation table, and if the determination is Yes in step S208, a proxy response signal is transmitted at an appropriate time for each command, and retransmission is performed according to predetermined conditions. You may also perform processing. That is, in this case, in step S214, the proxy response signal is transmitted after waiting for the response waiting time included in the signal operation table specified in step S209, and then the proxy response signal is transmitted according to predetermined conditions. The proxy response signal may be transmitted multiple times up to the number of retransmissions. Even if the response time, number of retransmissions, etc. differ depending on the protocol or command, it can be processed in a unified manner by registering them in the signal operation table like this.
(機器状態更新処理)
上述した信号受信処理でステップS207が実行されると、第2機器情報DB1322の対象となる機器情報テーブルの機器データは制御信号に基づいて更新されるが、第2ネットワークN2に接続されている制御対象の機器32の状態はまだ更新されていない。そのため、ゲートウェイ装置100は、機器監視部143が信号受信処理のステップS207での機器情報テーブルの更新を検知すると、図10のフローチャートに示す機器状態更新処理を開始する。機器状態更新処理は、上述した信号受信処理と並行して実行することが可能な処理である。
(Device status update processing)
When step S207 is executed in the signal reception process described above, the device data in the target device information table of the second device information DB 1322 is updated based on the control signal. The status of the
まず、信号作成部142は、更新された機器データの項目名又は項目IDに対応付けられている状態更新コマンドを、第2信号関連DB1332に格納されている機器データが更新された機器32の機種の信号関連テーブルから取得する(ステップS301)。
First, the
続いて、信号作成部142は、取得した状態更新コマンドを項目「コマンド」に有する信号動作テーブルを、第2信号動作DB1312から取得する(ステップS302)。
Subsequently, the
続いて、信号作成部142は、取得した信号動作テーブルの項目「DB読出要否」の値を参照して、第2機器情報DB1322から情報を読み出すか否かを判別する(ステップS303)。
Subsequently, the
ここでは、状態更新コマンドの信号動作テーブルを参照しており、更新された機器データの値を読み出す必要があるため、ステップS303ではほぼ確実にYesと判別される。なお、第2機器情報DB1322から情報を読み出さないと判別された場合(ステップS303;No)は、後述するステップS304はスキップされて、処理はステップS305に移る。 Here, the signal operation table of the status update command is referred to, and since it is necessary to read the updated device data value, the determination in step S303 is almost certainly Yes. Note that if it is determined that information is not to be read from the second device information DB 1322 (step S303; No), step S304, which will be described later, is skipped and the process moves to step S305.
第2機器情報DB1322から情報を読み出す必要があると判別すると(ステップS303;Yes)、信号作成部142は、ステップS302で取得した信号動作テーブルの項目「データ変換(送信時)」で規定されている変換式を用いて、更新された機器データの値を状態更新コマンドで扱える送信用のデータに変換する(ステップS304)。更新された機器データが複数ある場合は、信号作成部142は、これらをデータ部にまとめた1つのデータに変換する。
If it is determined that information needs to be read from the second device information DB 1322 (step S303; Yes), the
続いて、信号作成部142は、ステップS301で取得した状態更新コマンドと、ステップS304で変換したデータとを第2通信部120に渡す。第2通信部120は、渡された状態更新コマンドとデータを、を第2プロトコルに則った形式のフレームデータに変換する(ステップS305)。
Subsequently, the
そして、第2通信部120は、変換したフレームデータを機器情報が更新された機器32に送信する(ステップS306)。なお、ここでのフレームデータの送信先アドレスは、更新された機器情報テーブルの項目「第2アドレス」から取得すればよい。
Then, the
フレームデータを受信した機器32は、フレームデータに含まれる状態更新コマンドを実行して、機器32の状態をフレームデータに含まれるデータの値になるように状態を更新する処理を実行する。当該処理が成功すると、機器情報テーブルの機器データと機器32の状態とが一致する。機器32は、状態の更新が終了すると、ゲートウェイ装置100に更新結果を通知する応答信号を送信する。
The
続いて、ゲートウェイ装置100の信号解析部141は、ステップS302で取得した信号動作テーブルの項目「応答要否」を参照して、ステップS306で送信したフレームデータに対する応答を機器32から待つか否かを判別する(ステップS307)。
Next, the
機器32からの応答を待たない場合(ステップS307;No)、機器状態更新処理は終了する。一方、機器32からの応答を待つ場合(ステップS307;Yes)、信号解析部141は、ステップS302で取得した信号動作テーブルの項目「応答待ち時間」の時間だけ待機する。応答待ち時間が経過する前に(ステップS308;No)、機器32から応答があり(ステップS309;Yes)、その応答が機器32の状態の更新に成功したことを示している場合(ステップS310;成功)、機器状態更新処理は終了する。
When not waiting for a response from the device 32 (step S307; No), the device status update process ends. On the other hand, when waiting for a response from the device 32 (step S307; Yes), the
一方、応答待ち時間が経過するまでに機器32からの応答がなかった場合(ステップS308;Yes)、若しくは、応答待ち時間が経過する前に(ステップS308;No)、機器32から応答があり(ステップS309;Yes)、その応答が機器32の状態の更新に失敗したことを示している場合(ステップS310;失敗)、機器32の状態の更新は失敗、若しくは行われなかったことになる。そのため、機器監視部143は、この機器状態更新処理のトリガとなった更新された機器情報テーブルを更新前の状態に戻す(ステップS311)。これにより、機器情報テーブルの機器データと機器32の状態とが一致することになる。以上で機器状態更新処理は終了する。
On the other hand, if there is no response from the
このように、本実施形態では、代理応答の送信と、機器への信号の送信とが非連続で独立して実行される。そのため、プロトコル間で通信速度やデータアサイン方法などの差異があっても、代理応答と機器への信号の送信とを確実に実行することができる。 In this manner, in this embodiment, the transmission of the proxy response and the transmission of the signal to the device are performed discontinuously and independently. Therefore, even if there are differences in communication speed, data assignment method, etc. between protocols, proxy responses and signal transmission to devices can be reliably executed.
具体的には、本実施形態では、ゲートウェイ装置100が第1ネットワークN1の操作端末21から送信された制御信号に対して必要であれば代理応答する図8に示す信号受信処理が行われる。この信号受信処理は、第1ネットワークN1とゲートウェイ装置100との間の通信のみで実現される。一方、信号受信処理で機器情報が更新された場合は、状態更新信号を作成、送信して機器情報を第2ネットワークN2の機器32の状態に反映させる図10に示す機器状態更新処理が別途実行される。この機器状態更新処理は、第2ネットワークN2とゲートウェイ装置100との間の通信のみで実現される。即ち、本実施形態では、第1ネットワークN1に接続されている操作端末21から送信された制御信号に対して、代理応答する処理と、第2ネットワークN2に接続されている機器32へ信号を送信する処理とは、非連続且つ独立した処理となる。また、この両処理を行うに当たって、制御信号のプロトコルを変換する必要もない。従って、本実施形態によれば、第1ネットワークN1と第2ネットワークN2でのプロトコルの差異を意識せずに、第1ネットワークN1と第2ネットワークN2との間で通信されるデータを中継することができる。
Specifically, in this embodiment, the signal reception process shown in FIG. 8 is performed in which the
また、本実施形態では、機器情報DB132は、両ネットワークN1,N2のプロトコルに依存しない汎用的な設計とすることで、第2ネットワークN2に接続されている機器32の開発者は、第1ネットワークN1の仕様について知る必要がなく、機器32とゲートウェイ装置100との間の通信、および、第2信号動作DB1312、第2信号関連DB1332の設計、開発のみを行うだけでよい。
Furthermore, in this embodiment, the
(変形例)
なお、本開示は、上記実施形態に限定されず、本開示の要旨を逸脱しない範囲での種々の変更は勿論可能である。
(Modified example)
Note that the present disclosure is not limited to the above-described embodiments, and various changes can of course be made without departing from the gist of the present disclosure.
例えば、図1では、第1ネットワークN1と第2ネットワークN2に1つずつの操作端末21、22、及び機器31、32が接続されているが、複数の操作端末21、22、及び機器31、32が接続されていてもよい。
For example, in FIG. 1, one operating
例えば、上記実施形態では、第1ネットワークN1に接続されている操作端末21、機器31から送信された制御信号を受信した場合の信号受信処理について説明したが、第2ネットワークN2に接続されている操作端末22、機器32から送信された制御信号を受信した場合も同様に信号受信処理が実行されるのは勿論である。
For example, in the above embodiment, the signal reception process was explained when a control signal transmitted from the operating
また、実施形態においてゲートウェイ装置100の制御部140が実行するプログラムを、既存のコンピュータに適用することで、当該コンピュータを本開示に係るゲートウェイ装置100として機能させることも可能である。
Further, by applying the program executed by the
このようなプログラムの配布方法は任意であり、例えば、CD-ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical Disk)、メモリカードなどのコンピュータ読み取り可能な記録媒体に格納して配布してもよいし、インターネットなどの通信ネットワークを介して配布してもよい。 The distribution method of such programs is arbitrary, and for example, computer-readable recording media such as CD-ROM (Compact Disk Read-Only Memory), DVD (Digital Versatile Disk), MO (Magneto Optical Disk), memory card, etc. It may be stored in a computer and distributed, or it may be distributed via a communication network such as the Internet.
本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本開示の範囲内とみなされる。 The present disclosure is capable of various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Further, the embodiments described above are for explaining the present disclosure, and do not limit the scope of the present disclosure. That is, the scope of the present disclosure is indicated by the claims rather than the embodiments. Various modifications made within the scope of the claims and the meaning of the invention equivalent thereto are considered to be within the scope of the present disclosure.
100 ゲートウェイ装置、21,22 操作端末、31,32 機器、N1 第1ネットワーク、N2 第2ネットワーク、110 第1通信部、120 第2通信部、111,121 送信部、112,122 受信部、130 記憶部、131 信号動作DB、1311 第1信号動作DB、1312 第2信号動作DB、132 機器情報DB、1321 第1機器情報DB、1322 第2機器情報DB、133 信号関連DB、1331 第1信号関連DB、1332 第2信号関連DB、134 機器情報フォーマットテーブル、140 制御部、141 信号解析部、142 信号作成部、143 機器監視部 100 gateway device, 21, 22 operating terminal, 31, 32 equipment, N1 first network, N2 second network, 110 first communication unit, 120 second communication unit, 111, 121 transmitting unit, 112, 122 receiving unit, 130 Storage unit, 131 signal operation DB, 1311 first signal operation DB, 1312 second signal operation DB, 132 equipment information DB, 1321 first equipment information DB, 1322 second equipment information DB, 133 signal related DB, 1331 first signal Related DB, 1332 Second signal related DB, 134 Device information format table, 140 Control unit, 141 Signal analysis unit, 142 Signal creation unit, 143 Device monitoring unit
Claims (4)
前記第1ネットワークと通信を行う第1通信手段と、
前記第2ネットワークと通信を行う第2通信手段と、
前記機器の状態を示す機器情報を記憶する機器情報記憶手段と、
前記操作端末又は前記機器と送受信する信号の種類毎に、当該信号の動作を定義する信号動作情報を記憶する信号動作記憶手段と、
前記機器情報記憶手段に記憶されている機器情報の各項目と、当該項目の値を前記機器の状態に反映させるための状態更新信号の信号動作情報と、を関連付けるための関連付情報を記憶する信号関連記憶手段と、
前記第1通信手段が前記操作端末から受信した制御信号を前記信号動作記憶手段に記憶されている前記信号動作情報に基づいて解析し、前記機器情報を更新する必要があるか否か、及び、前記操作端末へ代理応答する必要があるか否かを判別する信号解析手段と、
前記信号解析手段が前記機器情報を更新する必要があると判別した場合に、前記機器情報を更新する更新手段と、
前記更新手段によって前記機器情報が更新された場合に、前記関連付情報に基づいて更新された前記機器情報を前記機器の状態に反映させるための前記状態更新信号を作成する状態更新信号作成手段と、
前記信号解析手段が代理応答する必要があると判別した場合に、前記制御信号に対する代理応答信号を作成する代理応答信号作成手段と、を備え、
前記第1通信手段は、前記代理応答信号を前記操作端末に送信し、
前記第2通信手段は、前記状態更新信号を前記機器に送信する、
ゲートウェイ装置。 A gateway device that relays signals transmitted and received between a first network to which an operating terminal is connected and a second network to which a device is connected,
a first communication means for communicating with the first network;
a second communication means for communicating with the second network;
equipment information storage means for storing equipment information indicating the state of the equipment;
Signal operation storage means for storing signal operation information that defines the operation of the signal for each type of signal transmitted and received with the operation terminal or the device;
Store association information for associating each item of equipment information stored in the equipment information storage means with signal operation information of a status update signal for reflecting the value of the item in the status of the equipment. signal-related storage means;
Whether or not it is necessary for the first communication means to analyze the control signal received from the operation terminal based on the signal operation information stored in the signal operation storage means and update the device information; and signal analysis means for determining whether or not it is necessary to make a proxy response to the operating terminal;
updating means for updating the device information when the signal analysis means determines that the device information needs to be updated;
a state update signal creating means for creating the state update signal for reflecting the updated device information based on the association information on the state of the device when the device information is updated by the updating means; ,
proxy response signal creation means for creating a proxy response signal to the control signal when the signal analysis means determines that a proxy response is necessary;
The first communication means transmits the proxy response signal to the operating terminal,
the second communication means transmits the status update signal to the device;
Gateway device.
前記第1通信手段は、前記代理応答信号を前記信号動作記憶手段で定義されている応答待ち時間と再送回数とのうちの少なくとも一方に基づいて送信する、
請求項1に記載のゲートウェイ装置。 The signal operation information defines at least one of a response waiting time and a number of retransmissions as an operation of the proxy response signal,
The first communication means transmits the proxy response signal based on at least one of a response waiting time and a number of retransmissions defined in the signal operation storage means.
The gateway device according to claim 1.
前記操作端末又は前記機器と送受信する信号の種類毎に、当該信号の動作を定義する信号動作情報を記憶し、
前記操作端末から受信した制御信号を前記信号動作情報に基づいて、前記機器の機器情報を更新する必要があるか否か、及び、前記操作端末へ代理応答する必要があるか否かを判別し、
前記機器情報を更新する必要があると判別した場合に、前記機器情報を更新し、
代理応答する必要があると判別した場合に、前記制御信号に対する代理応答信号を作成し、
前記機器情報が更新された場合に、前記機器情報を前記機器の状態に反映させるための状態更新信号を作成し、
第1通信手段から、前記代理応答信号を前記操作端末に送信し、
第2通信手段から、前記状態更新信号を前記機器に送信する、
通信方法。 A signal relay method performed by a gateway device that relays signals transmitted and received between a first network to which an operating terminal is connected and a second network to which a device is connected, the method comprising:
storing signal operation information that defines the operation of the signal for each type of signal transmitted and received with the operation terminal or the device;
Based on the signal operation information, the control signal received from the operating terminal determines whether it is necessary to update device information of the device and whether it is necessary to make a proxy response to the operating terminal. ,
If it is determined that the device information needs to be updated, updating the device information;
If it is determined that a proxy response is necessary, create a proxy response signal for the control signal,
creating a state update signal for reflecting the device information in the state of the device when the device information is updated;
transmitting the proxy response signal from a first communication means to the operating terminal;
transmitting the status update signal to the device from a second communication means;
Communication method.
前記第1ネットワークと通信を行う第1通信手段、
前記第2ネットワークと通信を行う第2通信手段、
前記機器の状態を示す機器情報を記憶する機器情報記憶手段、
前記操作端末又は前記機器と送受信する信号の種類毎に、当該信号の動作を定義する信号動作情報を記憶する信号動作記憶手段、
前記機器情報記憶手段に記憶されている機器情報の各項目と、当該項目の値を前記機器の状態に反映させるための状態更新信号の信号動作情報と、を関連付けるための関連付情報を記憶する信号関連記憶手段、
前記第1通信手段が前記操作端末から受信した制御信号を前記信号動作記憶手段に記憶されている前記信号動作情報に基づいて解析し、前記機器情報を更新する必要があるか否か、及び、前記操作端末へ代理応答する必要があるか否かを判別する信号解析手段、
前記信号解析手段が前記機器情報を更新する必要があると判別した場合に、前記機器情報を更新する更新手段、
前記更新手段によって前記機器情報が更新された場合に、前記関連付情報に基づいて更新された前記機器情報を前記機器の状態に反映させるための前記状態更新信号を作成する状態更新信号作成手段、
前記信号解析手段が代理応答する必要があると判別した場合に、前記制御信号に対する代理応答信号を作成する代理応答信号作成手段、として機能させ、
前記第1通信手段は、前記代理応答信号を前記操作端末に送信し、
前記第2通信手段は、前記状態更新信号を前記機器に送信する、
プログラム。 A computer that relays signals sent and received between a first network to which the operating terminal is connected and a second network to which the device is connected,
a first communication means for communicating with the first network;
a second communication means for communicating with the second network;
equipment information storage means for storing equipment information indicating the state of the equipment;
signal operation storage means for storing signal operation information that defines the operation of the signal for each type of signal transmitted and received with the operation terminal or the device;
Store association information for associating each item of equipment information stored in the equipment information storage means with signal operation information of a status update signal for reflecting the value of the item in the status of the equipment. signal-related storage means;
Whether or not it is necessary for the first communication means to analyze the control signal received from the operation terminal based on the signal operation information stored in the signal operation storage means and update the device information; and signal analysis means for determining whether or not it is necessary to make a proxy response to the operating terminal;
updating means for updating the device information when the signal analysis means determines that the device information needs to be updated;
a state update signal creation means for creating the state update signal for reflecting the updated equipment information based on the association information on the state of the equipment when the equipment information is updated by the updating means;
functioning as a proxy response signal creation unit that creates a proxy response signal for the control signal when the signal analysis unit determines that a proxy response is necessary;
The first communication means transmits the proxy response signal to the operating terminal,
the second communication means transmits the status update signal to the device;
program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020097091A JP7399029B2 (en) | 2020-06-03 | 2020-06-03 | Gateway device, communication method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020097091A JP7399029B2 (en) | 2020-06-03 | 2020-06-03 | Gateway device, communication method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021190944A JP2021190944A (en) | 2021-12-13 |
JP7399029B2 true JP7399029B2 (en) | 2023-12-15 |
Family
ID=78847685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020097091A Active JP7399029B2 (en) | 2020-06-03 | 2020-06-03 | Gateway device, communication method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7399029B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3823585B2 (en) | 1999-02-22 | 2006-09-20 | 株式会社日立製作所 | Device network connection method and router device |
-
2020
- 2020-06-03 JP JP2020097091A patent/JP7399029B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3823585B2 (en) | 1999-02-22 | 2006-09-20 | 株式会社日立製作所 | Device network connection method and router device |
Also Published As
Publication number | Publication date |
---|---|
JP2021190944A (en) | 2021-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7539488B2 (en) | Over-the-air download (OAD) methods and apparatus for use in facilitating application programming in wireless network devices of ad hoc wireless communication networks | |
US20130086195A1 (en) | DEVICE AND METHOD FOR ENABLING BACnet COMMUNICATION FOR WIRED AND WIRELESS DEVICES OPERABLE WITHIN A BUILDING AUTOMATION SYSTEM | |
US20070169080A1 (en) | Methods and apparatus for use in updating application programs in memory of a network device | |
JP2007251637A (en) | Radio communication apparatus, individual information writer, and individual information setting method | |
US20060106912A1 (en) | Outdoor-unit software upgrade system and method | |
EP3139376B1 (en) | Voice recognition method and device | |
WO2019037458A1 (en) | Communication method and apparatus | |
JP2014194309A (en) | Air conditioning system | |
JP3823585B2 (en) | Device network connection method and router device | |
JP7399029B2 (en) | Gateway device, communication method, and program | |
JP6273878B2 (en) | Control system and control method | |
AU2021230848B2 (en) | Communication apparatus, program, communication method, information processing method, information processing apparatus, and communication system | |
KR102402853B1 (en) | Apparatus for providing standalone automatic execution service and standalone simultaneous execution service, and method thereof | |
US20220026090A1 (en) | Air conditioning system | |
JP5714067B2 (en) | COMMUNICATION SYSTEM, SERVER DEVICE, CONTROL METHOD, AND PROGRAM | |
CN112241280A (en) | Firmware update of components of a modular node | |
WO2006030697A1 (en) | Communication device, communication control method, communication control program, and computer-readable recording medium containing the communication control program | |
CN110542179A (en) | control method and device of air conditioner | |
WO2021189207A1 (en) | Information sending method, apparatus and device, and storage medium | |
WO2023132033A1 (en) | Relay device, relay method, and program | |
US11824676B2 (en) | Apparatus, method, and program for home device management | |
JP2002278902A (en) | Device control system by using electronic mail | |
US20190089767A1 (en) | File uploading and downloading method based on a smart device | |
TWI685272B (en) | Connection method of wireless system | |
JP2017005444A (en) | Communication device, communication system and communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230324 |
|
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: 20231107 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231205 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7399029 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |