JP7399029B2 - Gateway device, communication method, and program - Google Patents

Gateway device, communication method, and program Download PDF

Info

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
Application number
JP2020097091A
Other languages
Japanese (ja)
Other versions
JP2021190944A (en
Inventor
香 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2020097091A priority Critical patent/JP7399029B2/en
Publication of JP2021190944A publication Critical patent/JP2021190944A/en
Application granted granted Critical
Publication of JP7399029B2 publication Critical patent/JP7399029B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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.

特開2009-021939号公報Japanese Patent Application Publication No. 2009-021939 特許第3823585号Patent No. 3823585

特許文献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.

実施形態に係るゲートウェイ装置を備えたシステムの全体構成を示す図A diagram showing the overall configuration of a system including a gateway device according to an embodiment. 実施形態に係るゲートウェイ装置の構成を示すブロック図Block diagram showing the configuration of a gateway device according to an embodiment 信号動作テーブルの構成例を示す図Diagram showing an example of the configuration of a signal operation table 機器情報テーブルの構成例を示す図Diagram showing an example of the configuration of a device information table 信号関連テーブルの構成例を示す図Diagram showing an example of the configuration of a signal-related table 機器情報フォーマットテーブルの構成例を示す図Diagram showing an example of the configuration of a device information format table 実施形態の機器登録処理の手順を示すフローチャートFlowchart showing the procedure of device registration processing according to the embodiment 実施形態の信号受信処理の手順を示すフローチャートFlowchart showing the procedure of signal reception processing according to the embodiment 汎用フレーム構造の例を示す図Diagram showing an example of a general-purpose frame structure 実施形態の機器状態更新処理の手順を示すフローチャートFlowchart showing the procedure of device status update processing according to the embodiment

以下、本開示の実施形態について、図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付す。 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 gateway device 100 according to an embodiment of the present disclosure. The gateway device 100 connects a first network N1 to which the operating terminal 21 and the device 31 are connected, and a second network N2 which has a different protocol from the first network N1 to which the operating terminal 22 and the device 32 are connected. It is a device that is connected to enable mutual communication. Note that the operating terminals 21 and 22 are a PC, a tablet terminal, or the like operated by a user. The equipment 31 is equipment such as an indoor unit, an outdoor unit, and lighting. The operation terminals 21 and 22 can connect not only the devices 31 and 32 connected to the same first and second networks N1 and N2 but also the other second and first networks N2 and N1 via the gateway device 100. It is possible to obtain and operate the status of the devices 32 and 31 connected to the device.

(ゲートウェイ装置100の構成)
ゲートウェイ装置100の構成について説明する。ゲートウェイ装置100は、図2に示すように、第1通信部110と、第2通信部120と、記憶部130と、制御部140と、を備える。
(Configuration of gateway device 100)
The configuration of the gateway device 100 will be explained. As shown in FIG. 2, the gateway device 100 includes a first communication section 110, a second communication section 120, a storage section 130, and a control section 140.

第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 first communication unit 110 is connected to the first network N1. The first communication unit 110 communicates with the operation terminal 21 and the device 31 via the first network N1. The first communication section 110 includes a transmitting section 111 and a receiving section 112. The transmitter 111 transmits various signals to the operating terminal 21 and the device 31 via the first network N1. The receiving unit 112 receives various signals from the operating terminal 21 and the device 31 via the first network N1. The first communication unit 110 is an example of a first communication means of the present disclosure.

第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 second communication unit 120 is connected to the second network N2. The second communication unit 120 communicates with the operation terminal 22 and the device 32 via the second network N2. The second communication section 120 includes a transmitting section 121 and a receiving section 122. The transmitter 121 transmits various signals to the operating terminal 22 and the device 32 via the second network N2. The receiving unit 122 receives various signals from the operating terminal 22 and the device 32 via the second network N2. The second communication unit 120 is an example of a second communication means of the present disclosure.

記憶部130は、EEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュメモリなどの読み書き可能な不揮発性の半導体メモリ又はHDDを含んで構成される。記憶部130は、第1信号動作DB1311と、第2信号動作DB1312と、第1機器情報DB1321と、第2機器情報DB1322と、第1信号関連DB1331と、第2信号関連DB1332と、機器情報フォーマットテーブル134を記憶する。 The storage unit 130 includes an EEPROM (Electrically Erasable Programmable Read-Only Memory), a read/write nonvolatile semiconductor memory such as a flash memory, or an HDD. The storage unit 130 stores a first signal operation DB 1311, a second signal operation DB 1312, a first device information DB 1321, a second device information DB 1322, a first signal related DB 1331, a second signal related DB 1332, and a device information format. Store table 134.

第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 device information DB 1321 or the second device information DB 1322 is updated by the control signal. For example, in the case of a control signal that changes the status of the devices 31 and 32, "DB update necessity" is essential.

「DB読出要否」は、その制御信号によって第1機器情報DB1321,第2機器情報DB1322から情報を読み出すか否かを示す。例えば、機器31,32の状態を取得する制御信号であれば、「DB読出要否」は要となっている。 “DB reading necessity” indicates whether information is to be read from the first device information DB 1321 and the second device information DB 1322 using the control signal. For example, in the case of a control signal for acquiring the status of the devices 31 and 32, "DB reading necessity" is essential.

「応答要求要否」は、その制御信号の送信元に対して応答するか否かを示す。この応答は、送信先に代理してゲートウェイ装置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 gateway device 100 makes on behalf of the destination.
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 device information DB 1321. This is the conversion formula.

「データ変換(送信時)」は、第1機器情報DB1321に格納されているデータを、その制御信号のデータ部へ格納するための第1ネットワークN1のプロトコル形式のデータに変換するための変換式である。 "Data conversion (at the time of transmission)" is a conversion formula for converting the data stored in the first device information DB 1321 into data in the protocol format of the first network N1 to be stored in the data section of the control signal. It is.

「応答要否」は、その制御信号の送信先からの応答を待つか否かを示す。
「応答待機時間」は、「応答要否」で要と設定されている場合に、その制御信号の送信先からの応答を待つ最大待機時間を示す。
“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 signal operation DB 1312 stores, for each type of control signal that can be transmitted and received with the second network N2, signal operation information that defines the operation content of the control signal. Specifically, like the first signal operation DB 1311, the second signal operation DB 1312 stores signal operation information in the form of a signal operation table shown in FIG. 3 for each control signal.

なお、以下の説明では、第1信号動作DB1311と第2信号動作DB1312とを区別しない場合は、信号動作DB131とも表記する。信号動作DB131は、本開示の信号動作記憶手段の一例である。 In addition, in the following description, when the first signal operation DB 1311 and the second signal operation DB 1312 are not distinguished, they are also referred to as signal operation DB 131. The signal operation DB 131 is an example of a signal operation storage means of the present disclosure.

第1機器情報DB1321は、第1ネットワークN1に接続されている機器31の機器情報を記憶する。具体的には、第1機器情報DB1321は、機器31毎に、図4に示す機器情報テーブルの形式で機器情報を記憶する。図4は、室内機である機器31の機器情報テーブルを示しており、「電源状態」、「温度」、「湿度」、「運転モード」、「風向き」の値が記憶されている。「電源状態」、「温度」、「湿度」、「運転モード」、「風向き」の値は、機器31の状態を表す機器データであり、操作端末21,22からの操作によって値が変更される。「第1アドレス」は、第1ネットワークN1からその機器31にアクセスするためのアドレスを示す。「第2アドレス」は、第2ネットワークN2からその機器31にアクセスするためのアドレスを示す。 The first device information DB 1321 stores device information of the devices 31 connected to the first network N1. Specifically, the first device information DB 1321 stores device information for each device 31 in the format of a device information table shown in FIG. FIG. 4 shows a device information table for the device 31, which is an indoor unit, and stores the values of "power state", "temperature", "humidity", "operating mode", and "wind direction". The values of "power state", "temperature", "humidity", "operating mode", and "wind direction" are device data that represents the state of the device 31, and the values are changed by operations from the operation terminals 21 and 22. . The "first address" indicates an address for accessing the device 31 from the first network N1. The "second address" indicates an address for accessing the device 31 from the second network N2.

第2機器情報DB1322は、第2ネットワークN2に接続されている機器32の機器情報を、第1機器情報DB1321と同様の形式で記憶している。なお、以下の説明では、第1機器情報DB1321と第2機器情報DB1322とを区別しない場合は、機器情報DB132とも表記する。機器情報DB132は、本開示の機器情報記憶手段の一例である。 The second device information DB 1322 stores device information of the devices 32 connected to the second network N2 in the same format as the first device information DB 1321. In addition, in the following description, when the first device information DB 1321 and the second device information DB 1322 are not distinguished, they are also referred to as the device information DB 132. The device information DB 132 is an example of device information storage means of the present disclosure.

第1信号関連DB1331は、第1ネットワークN1に接続されている機器31の機器情報テーブルに登録されている各機器データと、その機器データの値が更新された場合に、実際の機器31の状態に当該更新を反映させるための状態更新信号の信号動作情報と、を関連付けるための関連付情報を記憶する。具体的には、第1信号関連DB1331は、図5に示す信号関連テーブルの形式で関連付情報を記憶する。信号関連テーブルには、第1ネットワークN1に接続されている機器31の機器データの各項目と、そのデータ項目の値の更新があった場合に機器31に送信する状態更新信号に含まれる状態更新コマンドと、が対応付けて記憶されている。なお、同じ機種の機器31であれば機器データの項目は共通しているため、信号関連テーブルは、機器31の機種毎に設けられている。図5に示す信号関連テーブルは、機種が空調室内機である場合の構成例を示している。 The first signal related DB 1331 stores each device data registered in the device information table of the device 31 connected to the first network N1 and the actual state of the device 31 when the value of the device data is updated. and signal operation information of a status update signal for reflecting the update. Specifically, the first signal-related DB 1331 stores association information in the form of a signal-related table shown in FIG. 5 . The signal related table includes each item of device data of the device 31 connected to the first network N1, and the status update included in the status update signal sent to the device 31 when the value of the data item is updated. Commands and are stored in association with each other. It should be noted that since devices 31 of the same model have the same device data items, a signal related table is provided for each model of the device 31. The signal related table shown in FIG. 5 shows a configuration example when the model is an air conditioning indoor unit.

第2信号関連DB1332は、第2ネットワークN2に接続されている機器32の機器情報テーブルに登録されている各機器データと、その機器データの値が更新された場合に、実際の機器32の状態に当該更新を反映させるための状態更新信号の信号動作情報と、を関連付けるための関連付情報を、第1信号関連DB1331と同様の形式で記憶する。なお、以下の説明では、第1信号関連DB1331と第2信号関連DB1332とを区別しない場合は、信号関連DB133とも表記する。信号関連DB133は、本開示の信号関連記憶手段の一例である。 The second signal related DB 1332 stores each device data registered in the device information table of the device 32 connected to the second network N2 and the actual state of the device 32 when the value of the device data is updated. The signal operation information of the status update signal for reflecting the update, and association information for associating the state update signal with the signal operation information for reflecting the update are stored in the same format as the first signal related DB 1331. In addition, in the following description, when the 1st signal related DB1331 and 2nd signal related DB1332 are not distinguished, it is also written as signal related DB133. The signal-related DB 133 is an example of a signal-related storage means of the present disclosure.

機器情報フォーマットテーブル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 devices 31 and 32 of that model. The device information format table 134 is referred to when creating device information tables for the devices 31, 31 newly connected to the first network N1 and the second network N2.

図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 control unit 140 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The control unit 140 controls each unit of the gateway device 100 by causing the CPU to read a program stored in the ROM and execute it on the RAM. Further, the control unit 140 includes a signal analysis unit 141, a signal creation unit 142, and a device monitoring unit 143 as functional components.

信号解析部141は、操作端末21,22から受信した制御信号を解析する。具体的には、信号解析部141は、受信した制御信号に含まれるコマンドを有する信号動作テーブルを信号動作DB131から取得し、当該信号動作テーブルの各項目の値を読み出すことで、制御信号の動作を解析する。例えば、信号解析部141は、操作端末21,22から受信した制御信号を解析することにより、機器情報DB132の機器情報テーブルに格納されている機器データを更新するか否か、及び代理応答する必要があるか否かを判別する。信号解析部141は、本開示の信号解析手段の一例である。 The signal analysis unit 141 analyzes control signals received from the operating terminals 21 and 22. Specifically, the signal analysis unit 141 acquires a signal operation table having commands included in the received control signal from the signal operation DB 131, reads out the value of each item in the signal operation table, and determines the operation of the control signal. Analyze. For example, by analyzing control signals received from the operating terminals 21 and 22, the signal analysis unit 141 determines whether or not to update the device data stored in the device information table of the device information DB 132, and whether or not to make a proxy response. Determine whether or not there is. The signal analysis unit 141 is an example of a signal analysis means of the present disclosure.

信号作成部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 signal generation unit 142 generates a signal to be transmitted from the gateway device 100 to the operating terminals 21 and 22 and the devices 31 and 32. Specifically, when the device data registered in the device information table of the device information DB 132 is updated, the signal creation unit 142 reads the corresponding status update command from the signal-related DB and updates the updated device data. Creates a status update signal that updates the status of the target devices 31 and 32 to reflect the state, and outputs it to the first communication unit 110 and second communication unit 120 to which the devices 31 and 32 are connected. . Further, the signal creation unit 142 creates a proxy response signal when it is necessary to make a proxy response to the control signal received from the operating terminals 21 and 22, and the first communication unit 110 that received the control signal and the second communication 120. The signal creation unit 142 is an example of a status update signal creation means and a proxy response signal creation means of the present disclosure.

機器監視部143は、機器情報DB132に格納されている機器情報テーブルを監視して、機器データの更新を検知する処理、操作端末21,22から受信した制御信号に基づいて機器情報テーブルを更新する処理を実行する。機器監視部143は、本開示の更新手段の一例である。 The device monitoring unit 143 monitors the device information table stored in the device information DB 132, performs processing to detect updates of device data, and updates the device information table based on control signals received from the operation terminals 21 and 22. Execute processing. The device monitoring unit 143 is an example of an updating unit of the present disclosure.

(機器登録処理)
続いて、ゲートウェイ装置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 gateway device 100 will be explained. First, a device registration process for registering a device information table in the second device information DB 1322 will be described. For example, when the device 32 is connected to the second network N2 for the first time and the gateway device 100 is notified by broadcast of a signal indicating this, the gateway device 100 performs the device registration process shown in the flowchart of FIG. Start. Note that the gateway device 100 broadcasts a connected device confirmation signal to the second network N2 at startup or periodically, and when there is a response signal from the device 32 for which the device information table has not been created, Device registration processing may be started.

まず、第2通信部120は、機器32から受信した通知信号、又は応答信号に基づいて、第2ネットワークN2に新たに接続された機器32を検知する(ステップS101)。 First, the second communication unit 120 detects the device 32 newly connected to the second network N2 based on the notification signal or response signal received from the device 32 (step S101).

続いて、第2通信部120は、検知した機器32の種別を判別する(ステップS102)。具体的には、第2通信部120は、第2ネットワークN2のプロトコルの仕様に基づいて機器32の種別を判別する。例えば、第2通信部120は、機器32からの通知信号、応答信号に含まれる機種を表すコードから、機器の種別を判別すればよい。 Subsequently, the second communication unit 120 determines the type of the detected device 32 (step S102). Specifically, the second communication unit 120 determines the type of the device 32 based on the protocol specifications of the second network N2. For example, the second communication unit 120 may determine the type of device from the code representing the model included in the notification signal and response signal from the device 32.

続いて、制御部140は、機器情報フォーマットテーブル134を参照して、判別した種別の機器32の機器情報フォーマットを特定する(ステップS103)。 Next, the control unit 140 refers to the device information format table 134 and specifies the device information format of the device 32 of the determined type (step S103).

続いて、制御部140は、特定した機器情報フォーマットを用いて、新たに機器情報テーブルを作成し、第2機器情報DB1322に格納する(ステップS104)。このとき、制御部140は、作成した機器情報テーブルの項目「第2アドレス」の値には、ステップS101で機器から受信した通知信号、又は応答信号のヘッダ部分に含まれるアドレスを登録する。なお、項目「第1アドレス」の値はこの時点では未定である。 Subsequently, the control unit 140 creates a new device information table using the specified device information format, and stores it in the second device information DB 1322 (step S104). At this time, the control unit 140 registers the address included in the header portion of the notification signal or response signal received from the device in step S101 as the value of the item "second address" in the created device information table. Note that the value of the item "first address" is undetermined at this point.

続いて、制御部140は、機器32が第2ネットワークN2に接続されたことを、ブロードキャストで第1ネットワークN1側に通知する(ステップS105)。この通知を受信した操作端末21は、応答として、第1ネットワークN1から当該機器32に接続するためのアドレスを通知する。 Next, the control unit 140 broadcasts to notify the first network N1 that the device 32 is connected to the second network N2 (step S105). The operation terminal 21 that has received this notification notifies the address for connecting to the device 32 from the first network N1 as a response.

続いて、制御部140は、操作端末21から通知されたアドレスをステップS104で作成した機器情報テーブルの項目「第1アドレス」の値として登録する(ステップS106)。以上で機器登録処理は終了する。なお、上記説明では、第2ネットワークN2に接続された機器32を登録する例を説明したが、第1ネットワークN1に接続された機器31を登録する場合も同様の処理を実行すればよい。 Subsequently, the control unit 140 registers the address notified from the operating terminal 21 as the value of the item "first address" in the device information table created in step S104 (step S106). This completes the device registration process. In the above description, an example has been described in which the device 32 connected to the second network N2 is registered, but the same process may be performed when registering the device 31 connected to the first network N1.

(信号受信処理)
続いて、操作端末21,22若しくは機器31,32から制御信号を受信した場合にゲートウェイ装置100で実行される信号受信処理の動作について図8のフローチャートを用いて説明する。なお、以下説明する信号受信処理は、第1ネットワークN1に接続されている操作端末21若しく機器31から制御信号を受信した場合に実行される処理である。
(Signal reception processing)
Next, the operation of the signal reception process executed by the gateway device 100 when a control signal is received from the operating terminals 21, 22 or the devices 31, 32 will be explained using the flowchart of FIG. Note that the signal reception process described below is a process that is executed when a control signal is received from the operating terminal 21 or device 31 connected to the first network N1.

なお、この信号受信処理でゲートウェイ装置100が受信する制御信号の種類は、代表的なものとして以下に示す3つの信号が考えられる。なお、信号受信処理で受信する制御信号はこれらに限定されるものではない。 Note that the following three typical types of control signals that the gateway device 100 receives in this signal reception process are considered. Note that the control signals received in the signal reception process are not limited to these.

・操作信号:操作端末21から送信され、第2ネットワークN2に接続されている機器32を操作するための制御信号。
・状態取得信号:操作端末21から送信され、第2ネットワークN2に接続されている機器32の状態を取得するための制御信号。
・状態通知信号:機器31の状態が変化した場合、予めスケジューリングされているタイミングに達した場合などに、機器31の状態を通知するために機器31から自発的に送信される制御信号。
- Operation signal: A control signal transmitted from the operation terminal 21 and used to operate the device 32 connected to the second network N2.
- Status acquisition signal: A control signal transmitted from the operation terminal 21 and used to acquire the status of the device 32 connected to the second network N2.
- Status notification signal: A control signal that is spontaneously transmitted from the device 31 to notify the status of the device 31 when the status of the device 31 changes or when a pre-scheduled timing is reached.

操作信号には、送信先のアドレスとして操作対象とする機器32のアドレスが含まれている。また、操作信号のデータ部には、どのような状態に機器32を操作するかを規定するデータが含まれている。例えば、機器32が室内機であれば、室内機をどのような設定温度、運転モードに操作したいかを示すデータが操作信号のデータ部に含まれている。 The operation signal includes the address of the device 32 to be operated as the destination address. Furthermore, the data portion of the operation signal includes data that defines in what state the device 32 is to be operated. For example, if the device 32 is an indoor unit, the data portion of the operation signal includes data indicating what temperature setting and operation mode the indoor unit is desired to operate at.

状態取得信号には、送信先のアドレスとして状態取得の対象とする機器32のアドレスが含まれている。状態取得信号は、機器32の状態を更新するための信号ではないため、通常は状態取得信号のデータ部にはデータは格納されていない。 The status acquisition signal includes the address of the device 32 whose status is to be acquired as the destination address. Since the status acquisition signal is not a signal for updating the status of the device 32, normally no data is stored in the data portion of the status acquisition signal.

状態通知信号は、操作信号及び状態取得信号と異なり、対向する第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 gateway device 100. Furthermore, data indicating the status of the device 31 to be notified is stored in the data portion of the status notification signal.

信号受信処理が開始されると、まず、第1通信部110は、操作端末21又は機器31から受信した制御信号を汎用フレーム構造の制御信号に変換し、変換した制御信号を信号解析部141に渡す(ステップS201)。これにより、操作端末21又は機器31から受信した第1ネットワークN1のプロトコルの制御信号は、プロトコルに依存せずに汎用的に扱うことが可能となる。図9に示すように汎用フレーム構造に変換された制御信号は、コマンド、送信元アドレス、送信先アドレス、データ数、複数のデータ[1]~データ[n]を含む。データ数は、制御信号の種類によって異なる。例えば、肯定応答信号(ACK)のような信号であればデータ数は0であり、操作信号であれば操作対象とする機器の機種に応じたデータ数となる。なお、図9に示す汎用フレーム構造は一例であり、他のデータ形式の汎用フレーム構造に変換してもよい。 When the signal reception process is started, the first communication unit 110 first converts the control signal received from the operation terminal 21 or the device 31 into a control signal with a general-purpose frame structure, and sends the converted control signal to the signal analysis unit 141. It is delivered (step S201). Thereby, the control signal of the protocol of the first network N1 received from the operation terminal 21 or the device 31 can be handled in a general-purpose manner without depending on the protocol. As shown in FIG. 9, the control signal converted into a general-purpose frame structure includes a command, a source address, a destination address, the number of data, and a plurality of data [1] to data [n]. The number of data varies depending on the type of control signal. For example, if the signal is an acknowledgment signal (ACK), the number of data is 0, and if it is an operation signal, the number of data is determined according to the model of the device to be operated. Note that the general-purpose frame structure shown in FIG. 9 is an example, and may be converted to a general-purpose frame structure of other data formats.

図8に戻り、続いて、信号解析部141は、渡された制御信号に含まれるコマンドを有する信号動作テーブルを第1信号動作DB1311から取得する(ステップS202)。 Returning to FIG. 8, the signal analysis unit 141 subsequently acquires a signal operation table having commands included in the passed control signal from the first signal operation DB 1311 (step S202).

続いて、信号解析部141は、取得した信号動作テーブルの項目「DB更新要否」の値を参照して、機器情報DB132を更新する必要あるか否かを判別する(ステップS203)。なお、操作信号及び状態通知信号の信号動作テーブルであれば、一般的に項目「DB更新要否」の値は更新必要有りに設定されている。一方、状態取得信号の信号動作テーブルであれば、一般的に項目「DB更新要否」の値は更新必要無しに設定されている。 Next, the signal analysis unit 141 refers to the value of the item "DB update necessity" in the acquired signal operation table and determines whether it is necessary to update the device information DB 132 (step S203). Note that in the case of a signal operation table for operation signals and status notification signals, the value of the item "DB update necessity" is generally set to "need to update". On the other hand, in the case of a signal operation table for a status acquisition signal, the value of the item "DB update necessity" is generally set to not require updating.

機器情報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 signal analysis unit 141 uses the conversion formula indicated by the item "data conversion (at reception)" in the signal operation table acquired in step S202. , the values of each data of the control signal converted into the general-purpose frame structure in step S201 are converted into a format for storing the device information table (step S204).

続いて、信号解析部141は、ステップS201で汎用フレーム構造に変換した制御信号に含まれる送信元アドレスと項目「第1通信アドレス」の値が一致する機器情報テーブルが、第1機器情報DB1321に格納されているか否かを判別する(ステップS205)。 Subsequently, the signal analysis unit 141 stores in the first device information DB 1321 the device information table in which the source address included in the control signal converted into the general-purpose frame structure in step S201 matches the value of the item "first communication address." It is determined whether or not it is stored (step S205).

制御信号の送信元アドレスと項目「第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 device 31. It can be seen that this is a status notification signal. Therefore, the signal analysis unit 141 updates the matched device data in the device information table to the data converted in step S204 (step S206). As a result, the status of the device 31 notified by the status notification signal is reflected in the device information table. The process then moves to step S208.

一方、制御信号の送信元アドレスと項目「第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 signal analysis unit 141 obtains from the second device information DB 1322 a device information table in which the value of the item "second address" matches the destination address included in the control signal converted into the general-purpose frame structure in step S201. , updates the value of the device data in the acquired device information table to the value of the data converted in step S204 (step S207). Note that when the data update in step S207 is completed, the gateway device 100 executes a device data update process, which will be described later, in a separate thread, independently of the signal reception process. The device data update process will be described later. The process then moves to step S208.

ステップS208において、信号解析部141は、ステップS202で取得した信号動作テーブルの項目「応答要否」の値を参照して、受信した制御信号に対して応答する必要があるか否かを判別する。 In step S208, the signal analysis unit 141 refers to the value of the item "response necessity" in the signal operation table acquired in step S202, and determines whether or not it is necessary to respond to the received control signal. .

応答する必要がない場合(ステップ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 device 31, there is basically no need to respond to the device 31, so step S208 is determined to be No. On the other hand, if it is necessary to respond (step S208; Yes), the signal creation unit 142 changes the value of the item "response command" of the signal operation table acquired in step S202 from the first signal operation DB 1311 to the item "command". ” is specified (step S209). The signal operation table specified here corresponds to the signal operation table of the proxy response signal for the control signal received from the operation terminal 21 in step S201.

続いて、信号作成部142は、ステップS209で特定した代理応答信号の信号動作テーブルの項目「DB読出要否」の値を参照して、第2機器情報DB1322からデータを読み出すか否かを判別する(ステップS210)。 Subsequently, the signal creation unit 142 refers to the value of the item "DB read necessity" in the signal operation table of the proxy response signal identified in step S209, and determines whether or not to read data from the second device information DB 1322. (Step S210).

第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 signal creation unit 142 passes the item “command” of the signal operation table specified in step S209 to the first communication unit 110. The first communication unit 110 creates a proxy response signal in the first protocol format from the passed "command" (step S211). This proxy response signal is a signal that is simply sent back as a proxy response to the operating terminal 21 that is the source of the received control signal, and does not contain any device data. The process then moves to step S214.

一方、第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 signal creation unit 142 selects the item "data conversion (when sending)" in the signal operation table of the proxy response signal identified in step S209. The value of each data in the second device information table 1322 updated in step S207 is converted into data in the first protocol format using the conversion formula (step S212).

続いて、信号作成部142は、ステップS209で特定した信号動作テーブルの項目「コマンド」の値と、ステップS212で変換したデータとを第1通信部110に渡す。第1通信部110は、渡されたコマンドとデータから、第1プロトコルの形式の代理応答信号を作成する(ステップS213)。この代理応答信号は、受信した制御信号に代理応答として返信するとともに、制御信号による制御によって変更された若しくは取得した機器32の機器データを通知する信号である。そして、処理はステップS214に移る。 Subsequently, the signal generation unit 142 passes the value of the item “command” of the signal operation table specified in step S209 and the data converted in step S212 to the first communication unit 110. The first communication unit 110 creates a proxy response signal in the first protocol format from the passed command and data (step S213). This proxy response signal is a signal that not only replies to the received control signal as a proxy response, but also notifies the device data of the device 32 that has been changed or acquired under control by the control signal. The process then moves to step S214.

ステップS214において、第1通信部110は、ステップS211若しくはステップS213で作成した代理応答信号を、第1ネットワークN1を介して、制御信号の送信元である操作端末21に送信する。以上で信号受信処理は終了する。 In step S214, the first communication unit 110 transmits the proxy response signal created in step S211 or step S213 to the operating terminal 21, which is the source of the control signal, via the first network N1. This completes the signal reception process.

このように、操作端末21又は機器31から制御信号を受信した場合、制御信号の種類ごとに設けられている信号動作テーブルによって処理内容を変えることができ、操作信号、状態取得信号、状態通知信号などの信号の種別やゲートウェイ装置100による代理応答の要否などを一元して処理できる。さらに、操作と状態取得を要求するような制御信号の場合でも、適切な信号動作テーブルを作成しておくことで対応することができる。 In this way, when a control signal is received from the operation terminal 21 or the device 31, the processing content can be changed depending on the signal operation table provided for each type of control signal, and the processing content can be changed depending on the signal operation table provided for each type of control signal, such as operation signal, status acquisition signal, status notification signal. It is possible to centrally process the type of signal such as the above, the necessity of a proxy response by the gateway device 100, etc. Furthermore, even in the case of a control signal that requests operation and status acquisition, it can be handled by creating an appropriate signal operation table.

なお、信号動作テーブルに応答待ち時間、再送回数などの項目を設け、ステップ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 target device 32 has not yet been updated. Therefore, when the device monitoring unit 143 detects the update of the device information table in step S207 of the signal reception process, the gateway device 100 starts the device status update process shown in the flowchart of FIG. The device status update process is a process that can be executed in parallel with the signal reception process described above.

まず、信号作成部142は、更新された機器データの項目名又は項目IDに対応付けられている状態更新コマンドを、第2信号関連DB1332に格納されている機器データが更新された機器32の機種の信号関連テーブルから取得する(ステップS301)。 First, the signal creation unit 142 transmits the status update command associated with the item name or item ID of the updated device data to the model of the device 32 whose device data stored in the second signal-related DB 1332 has been updated. from the signal related table (step S301).

続いて、信号作成部142は、取得した状態更新コマンドを項目「コマンド」に有する信号動作テーブルを、第2信号動作DB1312から取得する(ステップS302)。 Subsequently, the signal creation unit 142 acquires a signal operation table having the acquired status update command in the item "command" from the second signal operation DB 1312 (step S302).

続いて、信号作成部142は、取得した信号動作テーブルの項目「DB読出要否」の値を参照して、第2機器情報DB1322から情報を読み出すか否かを判別する(ステップS303)。 Subsequently, the signal creation unit 142 refers to the value of the item "DB reading necessity" in the acquired signal operation table and determines whether or not to read information from the second device information DB 1322 (step S303).

ここでは、状態更新コマンドの信号動作テーブルを参照しており、更新された機器データの値を読み出す必要があるため、ステップ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 signal creation unit 142 performs a process based on the information specified by the item "data conversion (at the time of transmission)" in the signal operation table acquired in step S302. Using the conversion formula, the updated device data value is converted into data for transmission that can be handled by the status update command (step S304). If there is a plurality of updated device data, the signal creation unit 142 converts them into one data section.

続いて、信号作成部142は、ステップS301で取得した状態更新コマンドと、ステップS304で変換したデータとを第2通信部120に渡す。第2通信部120は、渡された状態更新コマンドとデータを、を第2プロトコルに則った形式のフレームデータに変換する(ステップS305)。 Subsequently, the signal generation unit 142 passes the status update command acquired in step S301 and the data converted in step S304 to the second communication unit 120. The second communication unit 120 converts the passed status update command and data into frame data in a format conforming to the second protocol (step S305).

そして、第2通信部120は、変換したフレームデータを機器情報が更新された機器32に送信する(ステップS306)。なお、ここでのフレームデータの送信先アドレスは、更新された機器情報テーブルの項目「第2アドレス」から取得すればよい。 Then, the second communication unit 120 transmits the converted frame data to the device 32 whose device information has been updated (step S306). Note that the destination address of the frame data here may be obtained from the item "second address" of the updated device information table.

フレームデータを受信した機器32は、フレームデータに含まれる状態更新コマンドを実行して、機器32の状態をフレームデータに含まれるデータの値になるように状態を更新する処理を実行する。当該処理が成功すると、機器情報テーブルの機器データと機器32の状態とが一致する。機器32は、状態の更新が終了すると、ゲートウェイ装置100に更新結果を通知する応答信号を送信する。 The device 32 that has received the frame data executes a status update command included in the frame data to update the status of the device 32 to the value of the data included in the frame data. If the process is successful, the device data in the device information table and the state of the device 32 match. When the device 32 finishes updating the status, it transmits a response signal to notify the gateway device 100 of the update result.

続いて、ゲートウェイ装置100の信号解析部141は、ステップS302で取得した信号動作テーブルの項目「応答要否」を参照して、ステップS306で送信したフレームデータに対する応答を機器32から待つか否かを判別する(ステップS307)。 Next, the signal analysis unit 141 of the gateway device 100 refers to the item "response necessity" in the signal operation table acquired in step S302, and determines whether to wait for a response from the device 32 to the frame data transmitted in step S306. (Step S307).

機器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 signal analysis unit 141 waits for the time period corresponding to the item "response waiting time" in the signal operation table acquired in step S302. Before the response waiting time elapses (step S308; No), there is a response from the device 32 (step S309; Yes), and the response indicates that the status of the device 32 has been successfully updated (step S310; success), the device status update process ends.

一方、応答待ち時間が経過するまでに機器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 device 32 before the response waiting time elapses (step S308; Yes), or if there is a response from the device 32 before the response waiting time elapses (step S308; No), If the response indicates that the update of the state of the device 32 has failed (Step S309; Yes) (Step S310; Failure), it means that the update of the state of the device 32 has failed or has not been performed. Therefore, the device monitoring unit 143 returns the updated device information table that triggered this device status update process to the state before the update (step S311). As a result, the device data in the device information table and the state of the device 32 match. This completes the device status update process.

このように、本実施形態では、代理応答の送信と、機器への信号の送信とが非連続で独立して実行される。そのため、プロトコル間で通信速度やデータアサイン方法などの差異があっても、代理応答と機器への信号の送信とを確実に実行することができる。 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 gateway device 100 makes a proxy response to a control signal transmitted from the operation terminal 21 of the first network N1, if necessary. This signal reception processing is realized only by communication between the first network N1 and the gateway device 100. On the other hand, if the device information is updated in the signal reception process, the device status update process shown in FIG. 10 is separately executed to create and transmit a status update signal to reflect the device information in the status of the device 32 on the second network N2. be done. This device status update process is realized only by communication between the second network N2 and the gateway device 100. That is, in the present embodiment, processing is performed to respond by proxy to a control signal transmitted from the operating terminal 21 connected to the first network N1, and to send a signal to the device 32 connected to the second network N2. The processing to do so is discontinuous and independent processing. Further, in performing both of these processes, there is no need to convert the protocol of the control signal. Therefore, according to the present embodiment, data communicated between the first network N1 and the second network N2 can be relayed without being aware of the difference in protocols between the first network N1 and the second network N2. I can do it.

また、本実施形態では、機器情報DB132は、両ネットワークN1,N2のプロトコルに依存しない汎用的な設計とすることで、第2ネットワークN2に接続されている機器32の開発者は、第1ネットワークN1の仕様について知る必要がなく、機器32とゲートウェイ装置100との間の通信、および、第2信号動作DB1312、第2信号関連DB1332の設計、開発のみを行うだけでよい。 Furthermore, in this embodiment, the device information DB 132 has a general-purpose design that does not depend on the protocols of both networks N1 and N2, so that the developer of the device 32 connected to the second network N2 can There is no need to know the specifications of N1, and only the communication between the device 32 and the gateway device 100, and the design and development of the second signal operation DB 1312 and the second signal related DB 1332 are required.

(変形例)
なお、本開示は、上記実施形態に限定されず、本開示の要旨を逸脱しない範囲での種々の変更は勿論可能である。
(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 terminal 21, 22 and one device 31, 32 are connected to the first network N1 and the second network N2, but a plurality of operating terminals 21, 22 and one device 31, 32 may be connected.

例えば、上記実施形態では、第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 terminal 21 and the device 31 connected to the first network N1 was received. Of course, the signal reception process is similarly executed when a control signal transmitted from the operating terminal 22 or the device 32 is received.

また、実施形態においてゲートウェイ装置100の制御部140が実行するプログラムを、既存のコンピュータに適用することで、当該コンピュータを本開示に係るゲートウェイ装置100として機能させることも可能である。 Further, by applying the program executed by the control unit 140 of the gateway device 100 in the embodiment to an existing computer, it is also possible to cause the computer to function as the gateway device 100 according to the present disclosure.

このようなプログラムの配布方法は任意であり、例えば、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ネットワークと機器が接続されている第2ネットワークとの間で送受信される信号を中継するゲートウェイ装置であって、
前記第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ネットワークとの間で送受信される信号を中継するゲートウェイ装置が実行する信号中継方法であって、
前記操作端末又は前記機器と送受信する信号の種類毎に、当該信号の動作を定義する信号動作情報を記憶し、
前記操作端末から受信した制御信号を前記信号動作情報に基づいて、前記機器の機器情報を更新する必要があるか否か、及び、前記操作端末へ代理応答する必要があるか否かを判別し、
前記機器情報を更新する必要があると判別した場合に、前記機器情報を更新し、
代理応答する必要があると判別した場合に、前記制御信号に対する代理応答信号を作成し、
前記機器情報が更新された場合に、前記機器情報を前記機器の状態に反映させるための状態更新信号を作成し、
第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ネットワークと機器が接続されている第2ネットワークとの間で送受信される信号を中継するコンピュータを、
前記第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.
JP2020097091A 2020-06-03 2020-06-03 Gateway device, communication method, and program Active JP7399029B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3823585B2 (en) 1999-02-22 2006-09-20 株式会社日立製作所 Device network connection method and router device

Patent Citations (1)

* Cited by examiner, † Cited by third party
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