JP2009077194A - Gateway device, and gateway method of gateway device - Google Patents

Gateway device, and gateway method of gateway device Download PDF

Info

Publication number
JP2009077194A
JP2009077194A JP2007244683A JP2007244683A JP2009077194A JP 2009077194 A JP2009077194 A JP 2009077194A JP 2007244683 A JP2007244683 A JP 2007244683A JP 2007244683 A JP2007244683 A JP 2007244683A JP 2009077194 A JP2009077194 A JP 2009077194A
Authority
JP
Japan
Prior art keywords
control
unique
unit
information
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007244683A
Other languages
Japanese (ja)
Other versions
JP5014040B2 (en
Inventor
Akihisa Yasuda
晃久 安田
Hitoshi Kamasaka
等 釜坂
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 JP2007244683A priority Critical patent/JP5014040B2/en
Publication of JP2009077194A publication Critical patent/JP2009077194A/en
Application granted granted Critical
Publication of JP5014040B2 publication Critical patent/JP5014040B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To simultaneously obtain control results of all devices for control only by transmitting one control instruction from a terminal to a plurality of devices for control, which perform different non-IP communications. <P>SOLUTION: In this gateway device 400, a communication part 410 receives control information by IP communication from the terminal 100, a control instruction distribution part 421 inputs the control information from the communication part 410 to be analyzed, outputs the control information to a unique control part 430 connected to the devices 52 for control, the unique control part 430 transmits a control instruction to the devices 52 for control by unique non-IP communication 50 provided to itself to control the devices 52 for control, receives the control results from the devices 52 for control by the unique non-IP communication 50 provided to itself to be output to a control result collection part, the control result collection part 422 collects the control results, generates control result information to be a response to the control information to be output to the communication part, and the communication part transmits the input control result information to the terminal by the IP communication. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、例えば、端末装置から、通信プロトコルの異なる複数の制御対象機器を制御するためのゲートウェイ装置及びゲートウェイ装置のゲートウェイ方法に関する。   The present invention relates to a gateway device and a gateway method of a gateway device for controlling, for example, a plurality of control target devices having different communication protocols from a terminal device.

従来の機器制御システムでは、建物内に設置されたCC−Link(Control & Communication Link)やBACnet(A Data Communication Protocol for Building Automation and Control Networks)などのIP(Internet Protocol:インターネットプロトコル)通信以外の規格のネットワーク通信プロトコルを持つ機器(以下、非IP機器と呼ぶ)を、建物外から遠隔制御する場合に、IP通信とIP通信以外の規格のネットワーク通信プロトコルによる通信(以下、非IP通信と呼ぶ)との両方の通信機能を有するゲートウェイ装置を建物内に設置し、建物外のIP通信を可能とする端末から送信されてきた制御命令をゲートウェイ装置が受信すると、ゲートウェイ装置はその制御命令を解析・処理し、非IP通信を通じて非IP機器へ送信することによって非IP機器の遠隔制御を実現している(特許文献1)。また、建物内の複数の非IP機器が各々個別の非IP通信によって接続されているネットワークシステムにおいて、各非IP機器にアダプタ装置(非IP通信を吸収し、相互接続を可能とする機能を提供する)を取り付け、集中制御用のゲートウェイ装置が制御命令を各非IP機器に振り分けることによって非IP機器の追加や変更に対応可能とする方法も提案されている(特許文献2)。
特開2003−046657号公報 特開2005−086282号公報 特開2006−268190号公報
In the conventional device control system, IP (Internet: Protocol: Internet Protocol other than Protocol: Internet and Communication Protocol for Building Networks) such as CC-Link (Control & Communication Link) and BACnet (A Data Communication Protocol for Building Networks) installed in a building. When a device having a network communication protocol (hereinafter referred to as non-IP device) is remotely controlled from outside the building, communication using a network communication protocol of a standard other than IP communication and IP communication (hereinafter referred to as non-IP communication) A gateway device having both communication functions is installed in the building, and a control command transmitted from a terminal that enables IP communication outside the building is transmitted. When the gateway device receives it, the gateway device analyzes and processes the control command, and transmits it to the non-IP device through non-IP communication to realize remote control of the non-IP device (Patent Document 1). Also, in a network system in which a plurality of non-IP devices in a building are connected to each other by individual non-IP communication, each non-IP device is provided with an adapter device (a function that absorbs non-IP communication and enables interconnection) In addition, a method is proposed in which a gateway device for central control distributes a control command to each non-IP device so that it can cope with addition or change of the non-IP device (Patent Document 2).
JP 2003-046657 A Japanese Patent Laying-Open No. 2005-086282 JP 2006-268190 A

本発明では、例えば、ビル等の建物内に設置された数百台規模の非IP機器(異種の非IP通信を持つ)の稼働状況を監視するため、遠隔地から全ての非IP機器を制御して全ての非IP機器の運転データを取得することを想定している。   In the present invention, for example, in order to monitor the operating status of hundreds of non-IP devices (with different types of non-IP communication) installed in a building such as a building, all non-IP devices are controlled from a remote location. It is assumed that operation data of all non-IP devices is acquired.

上記のような状況に対して従来技術を用いた機器制御システムで対処すると、制御命令実行者の操作する端末と建物内のゲートウェイ装置とはIP通信で接続し、建物内の非IP機器とゲートウェイ装置とは非IP通信によって接続しているため、端末から制御命令が送信されるとゲートウェイ装置がそれを受信し、解析・処理して目的とする非IP機器へ非IP通信を介して制御命令を届けることによって遠隔制御が可能となる。   When the device control system using the conventional technology is used to deal with the above situation, the terminal operated by the control command executor and the gateway device in the building are connected by IP communication, and the non-IP device in the building and the gateway Since it is connected to the device by non-IP communication, when a control command is transmitted from the terminal, the gateway device receives it, analyzes and processes it, and sends the control command to the target non-IP device via non-IP communication. Remote control becomes possible by delivering

しかし、従来技術を用いた機器制御システムで対処する場合には以下に示す課題があった。
(1)異種非IP通信を跨いで全ての非IP機器を同時に制御する方法が無いため、制御実行者の端末と数百台の非IP機器との間で、各々個別に制御命令送信・制御結果受信の通信データのやり取りが発生し、それによって端末とゲートウェイ装置との間のIP通信における通信トラヒックが増大してしまう。
(2)(1)のように、個別に制御を実行するため、全ての非IP機器から1つの運転データを取得するのに時間がかかり、次の運転データを取得するまでの時間間隔が長くなってしまって機器障害発生の検知が遅れてしまう。したがって、例えば、機器障害検知によるビル管理サービス等の実現が困難となる。
However, when dealing with a device control system using a conventional technique, there are the following problems.
(1) Since there is no method for simultaneously controlling all non-IP devices across different types of non-IP communication, control command transmission and control are individually performed between the control executor's terminal and several hundred non-IP devices. As a result, communication of received communication data occurs, which increases communication traffic in IP communication between the terminal and the gateway device.
(2) As in (1), since control is performed individually, it takes time to acquire one operation data from all non-IP devices, and the time interval until the next operation data is acquired is long. This will delay the detection of equipment failure. Therefore, for example, it is difficult to realize a building management service or the like by detecting a device failure.

この発明は、例えば、上記のような課題を解決するためになされたもので、以下を目的とするものである。
(1)複数種類の非IP通信を含む複数台の非IP機器に対し、制御実行者の端末から1回の制御命令を送信するだけで全ての非IP機器の制御結果を同時に得ることを可能とする仕組みを提供し、通信トラヒックの軽減を実現する。
(2)各々異なる非IP通信を持つ非IP機器によって構成されたネットワークシステムにおいても、1つの制御命令で全ての非IP機器の同時制御を可能とする仕組みを提供し、即時性の確保を実現する。
The present invention has been made, for example, in order to solve the above-described problems, and has the following objects.
(1) It is possible to obtain control results for all non-IP devices simultaneously by sending a single control command from the control executor terminal to multiple non-IP devices including multiple types of non-IP communication. To reduce communication traffic.
(2) Even in a network system composed of non-IP devices each having different non-IP communication, it provides a mechanism that enables simultaneous control of all non-IP devices with a single control command, thereby ensuring immediacy. To do.

本発明に係るゲートウェイ装置は、
端末装置と通信プロトコルの異なる複数の機器とに接続されたゲートウェイ装置であって、
上記端末装置から複数の機器を制御するための制御命令を含む制御情報を受信する通信部と、
それぞれが通信プロトコルの異なる固有の通信手段を備え、それぞれが固有の通信手段により通信ができる機器と接続されている複数の固有制御部と、
上記通信部により受信された上記制御情報を入力して、入力した上記制御情報に基づいて、上記複数の機器のうち制御対象となる制御対象機器と接続されている固有制御部を上記複数の固有制御部から判別して、判別した固有制御部へ上記制御情報を出力する制御命令分配部と
を備え、
上記複数の固有制御部は、
上記制御命令分配部から上記制御情報を入力した場合、自己の備える固有の通信手段により上記制御対象機器に上記制御命令を送信して上記制御対象機器の制御を行う
ことを特徴とする。
The gateway device according to the present invention is:
A gateway device connected to a terminal device and a plurality of devices having different communication protocols,
A communication unit that receives control information including a control command for controlling a plurality of devices from the terminal device;
A plurality of unique control units, each having a unique communication means with a different communication protocol, each connected to a device capable of communicating with the unique communication means;
The control information received by the communication unit is input, and based on the input control information, the unique control unit connected to the control target device to be controlled among the plurality of devices A control command distribution unit that determines from the control unit and outputs the control information to the determined unique control unit;
The plurality of unique control units are
When the control information is input from the control command distribution unit, the control command is transmitted to the control target device by its own communication means to control the control target device.

上記複数の固有制御部は、
上記制御対象機器に送信した上記制御命令に対する制御結果を、上記制御対象機器から自己の備える固有の通信手段により受信して、受信した上記制御結果を出力し、
上記ゲートウェイ装置は、さらに、
上記複数の固有制御部より入力した上記制御結果を収集して、上記制御情報に対する応答となる制御結果情報を生成して、生成した制御結果情報を上記通信部へ出力する制御結果収集部を備え、
上記通信部は、
上記制御結果収集部より入力した上記制御結果情報を、上記端末装置へ送信することを特徴とする。
The plurality of unique control units are
The control result for the control command transmitted to the control target device is received from the control target device by its own unique communication means, and the received control result is output.
The gateway device further includes:
A control result collection unit that collects the control results input from the plurality of unique control units, generates control result information as a response to the control information, and outputs the generated control result information to the communication unit; ,
The communication part
The control result information input from the control result collection unit is transmitted to the terminal device.

本発明によれば、通信部が端末装置から制御情報を受信し、制御命令分配部が入力した制御情報を解析して制御対象機器と接続されている固有制御部を判別し、判別した固有制御部へ制御情報を出力し、固有制御部が制御命令を自己の備える固有の通信手段により制御対象機器に送信して制御対象機器の制御を行うので、各々が異なる非IP通信を持つ非IP機器によって構成された機器制御システムにおいても、1つの制御情報で全ての非IP機器の同時制御を可能とすることができ、機器制御システムの通信トラヒックを軽減することができるという効果を奏する。   According to the present invention, the communication unit receives control information from the terminal device, analyzes the control information input by the control command distribution unit, determines the specific control unit connected to the control target device, and determines the determined specific control. Control information is output to the control unit, and the specific control unit transmits the control command to the control target device by its own communication means, and controls the control target device, so that each non-IP device has different non-IP communication Even in the device control system configured by the above, it is possible to simultaneously control all the non-IP devices with one control information, and it is possible to reduce the communication traffic of the device control system.

図1は、以下に示す実施の形態に係るゲートウェイ装置400のハードウェア資源の一例を示す図である。   FIG. 1 is a diagram illustrating an example of hardware resources of a gateway device 400 according to the embodiment described below.

図1において、ゲートウェイ装置400は、プログラムを実行するCPU911(Central・Processing・Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサともいう)を備えている。CPU911は、バス912を介してROM913、RAM914、通信ボード915、CRT(Cathode・Ray・Tube)やLCD(液晶)の表示画面を有する表示装置901、キーボード902、FDD904、CDD905、磁気ディスク装置920と接続され、これらのハードウェアデバイスを制御する。磁気ディスク装置920の代わりに、光ディスク装置、メモリカード読み書き装置などの記憶装置でもよい。   In FIG. 1, the gateway device 400 includes a CPU 911 (also referred to as a central processing unit, a central processing unit, a processing unit, a processing unit, a microprocessor, a microcomputer, or a processor) that executes a program. The CPU 911 includes a ROM 913, a RAM 914, a communication board 915, a display device 901 having a CRT (Cathode / Ray / Tube) or LCD (liquid crystal) display screen, a keyboard 902, an FDD 904, a CDD 905, and a magnetic disk device 920 via a bus 912. Connected and controls these hardware devices. Instead of the magnetic disk device 920, a storage device such as an optical disk device or a memory card read / write device may be used.

RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置あるいは記憶部の一例である。   The RAM 914 is an example of a volatile memory. The storage media of the ROM 913, the FDD 904, the CDD 905, and the magnetic disk device 920 are an example of a nonvolatile memory. These are examples of a storage device or a storage unit.

通信ボード915、キーボード902、FDD904などは、入力部、入力装置の一例である。   The communication board 915, the keyboard 902, the FDD 904, and the like are examples of an input unit and an input device.

また、通信ボード915、表示装置901、などは、出力部、出力装置の一例である。   The communication board 915, the display device 901, and the like are examples of an output unit and an output device.

通信ボード915は、ファクシミリ機、電話器、LAN等に接続されている。通信ボード915は、LAN942に限らず、インターネット200、ISDN等のWAN(ワイドエリアネットワーク)などに接続されていても構わない。   The communication board 915 is connected to a facsimile machine, a telephone, a LAN, and the like. The communication board 915 is not limited to the LAN 942, and may be connected to the Internet 200, a WAN (wide area network) such as ISDN, or the like.

磁気ディスク装置920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923のプログラムは、CPU911、オペレーティングシステム921、ウィンドウシステム922により実行される。   The magnetic disk device 920 stores an operating system 921 (OS), a window system 922, a program group 923, and a file group 924. The programs in the program group 923 are executed by the CPU 911, the operating system 921, and the window system 922.

上記プログラム群923には、以下に述べる実施の形態の説明において「通信部」、「制御命令分配部」、「制御結果収集部」、「固有開始情報記憶部」、「固有制御部(固有制御部A、固有制御部B、固有制御部C)」、「機器アドレス記憶部(機器アドレス記憶部A、機器アドレス記憶部B、機器アドレス記憶部C)」等として説明する機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。   The program group 923 includes “communication unit”, “control command distribution unit”, “control result collection unit”, “unique start information storage unit”, “unique control unit (unique control unit (unique control unit)” in the following description of the embodiment. Part A, unique control part B, unique control part C) "," equipment address storage part (equipment address storage part A, equipment address storage part B, equipment address storage part C) ", etc. It is remembered. The program is read and executed by the CPU 911.

ファイル群924には、以下に述べる実施の形態の説明において、「〜の判定結果」、「〜の計算結果」、「〜の処理結果」として説明する情報やデータや信号値や変数値やパラメータが、「〜ファイル」、「〜データベース」、「〜データ」の各項目として記憶されている。例えば、「機器アドレス情報」、「固有開始情報ファイル」は、ディスクやメモリなどの記録媒体に記憶される。ディスクやメモリになどの記憶媒体に記憶された情報やデータや信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出・検索・参照・比較・演算・計算・処理・出力・印刷・表示などのCPUの動作に用いられる。抽出・検索・参照・比較・演算・計算・処理・出力・印刷・表示のCPUの動作の間、情報やデータや信号値や変数値やパラメータは、メインメモリやキャッシュメモリやバッファメモリに一時的に記憶される。   The file group 924 includes information, data, signal values, variable values, and parameters that are described as “determination results of”, “calculation results of”, and “processing results of” in the description of the embodiments described below. Are stored as items “˜file”, “˜database”, and “˜data”. For example, “device address information” and “unique start information file” are stored in a recording medium such as a disk or a memory. Information, data, signal values, variable values, and parameters stored in a storage medium such as a disk or memory are read out to the main memory or cache memory by the CPU 911 via a read / write circuit, and extracted, searched, referenced, compared, Used for CPU operations such as calculation, calculation, processing, output, printing, and display. Information, data, signal values, variable values, and parameters are temporarily stored in the main memory, cache memory, and buffer memory during the CPU operations of extraction, search, reference, comparison, operation, calculation, processing, output, printing, and display. Is remembered.

また、以下に述べる実施の形態の説明において説明するフローチャートの矢印の部分は主としてデータや信号の入出力を示し、データや信号値は、RAM914のメモリ、FDD904のフレキシブルディスク、CDD905のコンパクトディスク、磁気ディスク装置920の磁気ディスク、その他光ディスク、ミニディスク、DVD(Digital・Versatile・Disk)等の記録媒体に記録される。また、データや信号は、バス912や信号線やケーブルその他の伝送媒体によりオンライン伝送される。   In addition, the arrows in the flowcharts described in the following description of the embodiments mainly indicate input / output of data and signals. The data and signal values are the RAM 914 memory, the FDD 904 flexible disk, the CDD 905 compact disk, and the magnetic field. The data is recorded on a recording medium such as a magnetic disk of the disk device 920, another optical disk, a mini disk, or a DVD (Digital Versatile Disk). Data and signals are transmitted online via a bus 912, signal lines, cables, or other transmission media.

また、以下に述べる実施の形態の説明において「〜部」として説明するものは、「〜回路」、「〜装置」、「〜機器」、「手段」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」であってもよい。すなわち、「〜部」として説明するものは、ROM913に記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェアのみ、或いは、素子・デバイス・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD等の記録媒体に記憶される。プログラムはCPU911により読み出され、CPU911により実行される。すなわち、プログラムは、以下に述べる「〜部」としてコンピュータを機能させるものである。あるいは、以下に述べる「〜部」の手順や方法をコンピュータに実行させるものである。   In addition, what is described as “to part” in the description of the embodiment described below may be “to circuit”, “to device”, “to device”, “means”, and “to step”. ”,“ ˜procedure ”, or“ ˜processing ”. That is, what is described as “˜unit” may be realized by firmware stored in the ROM 913. Alternatively, it may be implemented only by software, only hardware such as elements, devices, substrates, wirings, etc., or a combination of software and hardware, and further a combination of firmware. Firmware and software are stored as programs in a recording medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, and a DVD. The program is read by the CPU 911 and executed by the CPU 911. That is, the program causes the computer to function as “to part” described below. Alternatively, the procedure or method of “to part” described below is executed by a computer.

実施の形態1.
本実施の形態では、ゲートウェイ装置400及びゲートウェイ装置のゲートウェイ方法を用いた機器制御システム900について説明する。
Embodiment 1 FIG.
In the present embodiment, a device control system 900 using the gateway device 400 and the gateway method of the gateway device will be described.

図2は、実施の形態1に係るゲートウェイ装置400を用いた機器制御システム900のシステム構成図である。図2を用いて、各構成ブロックの主な機能について説明する。   FIG. 2 is a system configuration diagram of a device control system 900 using the gateway device 400 according to the first embodiment. The main functions of each component block will be described with reference to FIG.

本実施の形態に係るゲートウェイ装置400を用いた機器制御システム900は、端末装置100と、端末装置100の遠隔にある建物300内に設置されたゲートウェイ装置400と、ゲートウェイ装置400に接続された複数の機器52(52a,52b,52c)とから構成されたネットワークシステムである。端末装置100とゲートウェイ装置400とは、IP(Internet Protocol:インターネットプロトコル)アドレスを用いた通信手段(IP通信)によって相互通信可能である。また、ゲートウェイ装置400と複数の機器52とは、IPアドレスを持たない任意の通信手段(非IP通信50)によって通信可能であり、各機器52は、それぞれが異なる通信プロトコルによる通信手段を備えている。各機器52は、全てがひとつひとつ異なる非IP通信である必要はなく、同じ種類の非IP通信を行う機器52が複数あっても構わない。本実施の形態では、例えば、機器52aと52bとは非IP通信A50aにより通信可能であり、また、機器52cは非IP通信B50bにより通信可能であるとする。   Device control system 900 using gateway device 400 according to the present embodiment includes terminal device 100, gateway device 400 installed in building 300 remote from terminal device 100, and a plurality of devices connected to gateway device 400. Network device (52a, 52b, 52c). The terminal device 100 and the gateway device 400 can communicate with each other by communication means (IP communication) using an IP (Internet Protocol) address. The gateway device 400 and the plurality of devices 52 can communicate with each other by any communication means (non-IP communication 50) that does not have an IP address, and each device 52 includes a communication means using a different communication protocol. Yes. Each device 52 does not have to be different from each other in non-IP communication, and there may be a plurality of devices 52 that perform the same type of non-IP communication. In the present embodiment, for example, it is assumed that the devices 52a and 52b can communicate with each other by the non-IP communication A 50a, and the device 52c can communicate with the non-IP communication B 50b.

端末装置100は、インターネット200を介して行うIP通信が可能な装置である。例えば、制御実行装置や制御実行者等が、端末装置100から遠隔の建物300の内部に設置された通信プロトコルの異なる複数の機器を制御するための制御命令メッセージ70を送信する。   The terminal device 100 is a device capable of IP communication performed via the Internet 200. For example, a control execution device, a control performer, or the like transmits a control command message 70 for controlling a plurality of devices with different communication protocols installed in a remote building 300 from the terminal device 100.

ゲートウェイ装置400は、建物300の内部に設置されており、端末装置100と複数の機器52(52a,52b,52c)とに接続されている。複数の機器52(52a,52b,52c)は、それぞれ異なる通信手段(異なる通信プロトコル)を備えている。ゲートウェイ装置400は、端末装置100とインターネット200を介して接続され、複数の機器52(52a、52b、52c)とは各々の機器52(52a、52b、52c)が通信できる通信手段(通信プロトコル)により接続されている。例えば、図2では、機器52aと52bとは非IP通信A50aによりゲートウェイ装置400と通信可能であり、また、機器52cは非IP通信B50bによりゲートウェイ装置400と通信可能である。ここで、機器制御システム900制御の対象となる機器を制御対象機器と呼ぶものとし、本実施の形態では、ゲートウェイ装置400と接続されている機器52(52a、52b、52c)はすべて制御の対象であるものとし、制御対象機器52(52a、52b、52c)とする。   The gateway device 400 is installed in the building 300, and is connected to the terminal device 100 and the plurality of devices 52 (52a, 52b, 52c). The plurality of devices 52 (52a, 52b, 52c) are provided with different communication means (different communication protocols). The gateway device 400 is connected to the terminal device 100 via the Internet 200, and a communication means (communication protocol) capable of communicating with each of the devices 52 (52a, 52b, 52c) with the plurality of devices 52 (52a, 52b, 52c). Connected by. For example, in FIG. 2, the devices 52a and 52b can communicate with the gateway device 400 by non-IP communication A 50a, and the device 52c can communicate with the gateway device 400 by non-IP communication B 50b. Here, it is assumed that a device to be controlled by the device control system 900 is called a control target device, and in this embodiment, all the devices 52 (52a, 52b, 52c) connected to the gateway device 400 are to be controlled. It is assumed that the device to be controlled 52 (52a, 52b, 52c).

制御対象機器52a,52bは、非IP通信A50aによりゲートウェイ装置400と接続され、制御対象機器52cは非IP通信B50bによりゲートウェイ装置400と接続されている。ここで、非IP通信A50aと50bはそれぞれ異なる通信プロトコルに則った通信方式(通信手段)であり、制御対象機器52(52a、52b、52c)は、固有の通信手段でなければ通信できないものとする。また、制御対象機器52(52a、52b、52c)には、機器制御システム900固有のユニークな識別子情報51が付されている。すなわち、制御対象機器52a、52b、52cに対して、それぞれ識別子情報51a(「id=a」),51b(「id=b」),51c(「id=c」)が付与されている。   The control target devices 52a and 52b are connected to the gateway device 400 by non-IP communication A50a, and the control target device 52c is connected to the gateway device 400 by non-IP communication B50b. Here, the non-IP communication A 50a and 50b are communication methods (communication means) according to different communication protocols, respectively, and the control target device 52 (52a, 52b, 52c) can communicate only with its own communication means. To do. Further, unique identifier information 51 unique to the device control system 900 is attached to the control target device 52 (52a, 52b, 52c). That is, identifier information 51a (“id = a”), 51b (“id = b”), and 51c (“id = c”) are assigned to the control target devices 52a, 52b, and 52c, respectively.

実施の形態1〜2の説明において、「制御対象機器52」との記載は、制御対象機器52a,52b,52c,52dの全てあるいは一部の制御対象機器を示すものとする。また、「固有制御部430」との記載は、固有制御部A430a,固有制御部B430b,固有制御部C430cの全てあるいは一部の固有制御部を示すものとする。「非IP通信50」、「識別子情報51」、「固有制御タイプ701」、「機器アドレス記憶部440」、「機器アドレス情報80」等の記載に関しても、同様とする。   In the description of the first and second embodiments, the description “control target device 52” indicates all or part of the control target devices 52a, 52b, 52c, and 52d. The description of “unique control unit 430” indicates all or a part of the unique control unit of the unique control unit A 430a, the unique control unit B 430b, and the unique control unit C 430c. The same applies to the description of “non-IP communication 50”, “identifier information 51”, “unique control type 701”, “device address storage unit 440”, “device address information 80”, and the like.

ゲートウェイ装置400は、通信部410、制御命令分配・収集部420、複数の固有制御部430(430a,430b)を備えている。   The gateway device 400 includes a communication unit 410, a control command distribution / collection unit 420, and a plurality of unique control units 430 (430a, 430b).

通信部410は、端末装置100から、ゲートウェイ装置400に接続された複数の制御対象機器52(52a、52b、52c)を制御するための制御命令を含む制御命令メッセージ70(制御情報の一例)を受信する。通信部410は、IP通信(第1の通信手段の一例)が可能であり、インターネット200を介して端末装置100より制御命令メッセージ70を受信する。また、後述する制御結果収集部422より入力した制御結果メッセージ90(制御結果情報の一例)を、端末装置100へインターネット200を介して送信する。通信部410は、端末装置100から受信した1つの制御命令メッセージ70に対する応答として、1つの制御結果メッセージ90を端末装置100に送信する。   The communication unit 410 sends a control command message 70 (an example of control information) including a control command for controlling a plurality of control target devices 52 (52a, 52b, 52c) connected to the gateway device 400 from the terminal device 100. Receive. The communication unit 410 is capable of IP communication (an example of a first communication unit) and receives the control command message 70 from the terminal device 100 via the Internet 200. In addition, a control result message 90 (an example of control result information) input from a control result collection unit 422 described later is transmitted to the terminal device 100 via the Internet 200. The communication unit 410 transmits one control result message 90 to the terminal device 100 as a response to one control command message 70 received from the terminal device 100.

複数の固有制御部430(430a,430b)は、各々が通信プロトコルの異なる固有の通信手段を備え、各々が固有の通信手段により通信ができる機器と接続されている。本実施の形態では、固有制御部A430aは、非IP通信A50a(固有の通信手段の一例)により制御対象機器52a,52bと接続され、固有制御部B430bは、非IP通信B50b(固有の通信手段の一例)により制御対象機器52cと接続されている。   Each of the plurality of unique control units 430 (430a, 430b) includes unique communication means having different communication protocols, and each is connected to a device that can communicate with the unique communication means. In the present embodiment, the unique control unit A 430a is connected to the control target devices 52a and 52b by the non-IP communication A 50a (an example of the unique communication unit), and the unique control unit B 430b is connected to the non-IP communication B 50b (the unique communication unit). Is connected to the control target device 52c.

制御命令分配・収集部420は、制御命令分配部421と制御結果収集部422とを備えている。   The control command distribution / collection unit 420 includes a control command distribution unit 421 and a control result collection unit 422.

制御命令分配部421は、通信部410により受信された制御命令メッセージ70を入力して、入力した制御命令メッセージ70に基づいて、制御対象となる制御対象機器52(52a、52b、52c)と接続されている固有制御部430(430a,430b)を複数の固有制御部430から判別して、判別した固有制御部430(430a,430b)へ制御命令メッセージ70を出力する。つまり、制御命令分配部421は、インターネット200を介して遠隔より送信されてきた制御命令メッセージ70を解析する機能を持つ。   The control command distribution unit 421 inputs the control command message 70 received by the communication unit 410 and connects to the control target device 52 (52a, 52b, 52c) to be controlled based on the input control command message 70. The specific control unit 430 (430a, 430b) that has been determined is determined from the plurality of specific control units 430, and the control command message 70 is output to the determined specific control unit 430 (430a, 430b). That is, the control command distribution unit 421 has a function of analyzing the control command message 70 transmitted from the remote side via the Internet 200.

制御結果収集部422は、固有制御部430(430a,430b)が制御対象機器52へ送信した制御命令71に対する応答として受信する制御結果91を入力する。制御結果収集部422は、全ての固有制御部430(430a,430b)から制御結果91を収集して、制御命令メッセージ70に対する応答となる制御結果メッセージ90を生成して、生成した制御結果メッセージ90を通信部410へ出力する。制御結果収集部422は、制御命令分配部421が入力した1つの制御命令メッセージ70に対する応答として、収集した制御結果91を1つの制御結果メッセージ90にまとめて生成する。   The control result collection unit 422 inputs a control result 91 received as a response to the control command 71 transmitted from the specific control unit 430 (430a, 430b) to the control target device 52. The control result collection unit 422 collects the control results 91 from all the unique control units 430 (430a, 430b), generates a control result message 90 as a response to the control command message 70, and generates the generated control result message 90. Is output to the communication unit 410. The control result collection unit 422 collectively generates the collected control results 91 as one control result message 90 as a response to one control command message 70 input by the control command distribution unit 421.

複数の固有制御部430(430a,430b)は、制御命令分配部421から制御命令メッセージ70あるいは制御命令71を入力した場合、自己の備える固有の非IP通信A50a、非IP通信B50bにより各々に接続された制御対象機器52に制御命令71を送信して制御対象機器52の制御を行う。また、複数の固有制御部430(430a,430b)は、制御対象機器に送信した上記制御命令71に対する制御結果91を、上記制御対象機器52から自己の備える固有の非IP通信A50a、非IP通信B50bにより受信して、受信した上記制御結果を制御結果収集部422へ出力する。   When the control command message 70 or the control command 71 is input from the control command distribution unit 421, the plurality of specific control units 430 (430a and 430b) are connected to each other by their own non-IP communication A50a and non-IP communication B50b. The control target device 52 is controlled by transmitting a control command 71 to the control target device 52. Further, the plurality of unique control units 430 (430a, 430b) sends the control result 91 for the control command 71 transmitted to the control target device from the control target device 52 to the specific non-IP communication A50a, non-IP communication The control result received by B50b is output to the control result collection unit 422.

また、複数の固有制御部430は、接続されている機器52の識別子情報51に対応付けて機器52の機器アドレス81(アドレス情報の一例)を記憶する機器アドレス記憶部440を各々備えている。複数の固有制御部430は、制御命令分配部421から制御命令71と制御対象機器52の識別子情報51とを入力して、制御対象機器52の識別子情報51に対応する機器アドレス81を機器アドレス記憶部440が記憶装置に記憶した機器アドレス情報80から取得して、取得した機器アドレス81を利用して制御命令71を送信する。   Each of the plurality of unique control units 430 includes a device address storage unit 440 that stores a device address 81 (an example of address information) of the device 52 in association with the identifier information 51 of the connected device 52. The plurality of unique control units 430 receives the control command 71 and the identifier information 51 of the control target device 52 from the control command distribution unit 421, and stores the device address 81 corresponding to the identifier information 51 of the control target device 52 as a device address. The unit 440 acquires the device address information 80 stored in the storage device, and transmits the control command 71 using the acquired device address 81.

言い換えると、複数の固有制御部430(430a,430b)は、それぞれが機器アドレス記憶部440(440a,440b)を備えている。機器アドレス記憶部440(440a,440b)は、固有制御部430(430a,430b)の各々に接続されている制御対象機器52(52a,52b,52c)の識別子情報51(51a,51b,51c)と制御対象機器の機器アドレス81(81a,81b,81c)とを関連付けている機器アドレス情報80(80a、80b)を記憶装置に記憶する。   In other words, each of the plurality of unique control units 430 (430a, 430b) includes a device address storage unit 440 (440a, 440b). The device address storage unit 440 (440a, 440b) includes identifier information 51 (51a, 51b, 51c) of the control target device 52 (52a, 52b, 52c) connected to each of the unique control unit 430 (430a, 430b). And device address information 80 (80a, 80b) in which the device address 81 (81a, 81b, 81c) of the control target device is associated is stored in the storage device.

図3は、機器アドレス記憶部440が記憶する機器アドレス情報80の内部構造の一例を示す図である。図3では、例として、固有制御部A430aの備える機器アドレス記憶部A440aが記憶する機器アドレス情報A80aの内部構造を示している。固有制御部A430aに接続されている制御対象機器52a,52bの識別子情報51a,51bに対して、それぞれ制御対象機器52a,52bの機器アドレス81a,81bが紐付けされている。   FIG. 3 is a diagram illustrating an example of the internal structure of the device address information 80 stored in the device address storage unit 440. FIG. 3 shows, as an example, the internal structure of the device address information A80a stored in the device address storage unit A440a included in the unique control unit A430a. The device addresses 81a and 81b of the control target devices 52a and 52b are associated with the identifier information 51a and 51b of the control target devices 52a and 52b connected to the unique control unit A 430a, respectively.

図4は、実施の形態1に係るゲートウェイ装置400の処理動作を示すフロー図である。図5は、実施の形態1に係る制御命令メッセージ70の内部構造を示す図である。図6は、実施の形態1に係る制御結果メッセージ90の内部構造を示す図である。図4〜図6を用いて、本実施の形態におけるゲートウェイ装置400のゲートウェイ方法について説明する。   FIG. 4 is a flowchart showing the processing operation of the gateway device 400 according to the first embodiment. FIG. 5 is a diagram showing an internal structure of the control command message 70 according to the first embodiment. FIG. 6 is a diagram showing an internal structure of the control result message 90 according to the first embodiment. The gateway method of gateway apparatus 400 in the present embodiment will be described with reference to FIGS.

<制御情報受信ステップ:S11>
まず、制御実行者等は、端末装置100に遠隔地の建物300内の制御対象機器52を制御するための制御命令メッセージ70を入力する。端末装置100は、入力された制御命令メッセージ70をインターネット200経由で遠隔地の建物300内のゲートウェイ装置400に送信する。通信部410は、端末装置100から送信された制御命令メッセージ70を通信装置などにより受信する。通信部410は、受信した制御命令メッセージ70を制御命令分配部421へ出力する。
<Control information receiving step: S11>
First, a control performer or the like inputs a control command message 70 for controlling the control target device 52 in the remote building 300 to the terminal device 100. The terminal device 100 transmits the input control command message 70 to the gateway device 400 in the remote building 300 via the Internet 200. The communication unit 410 receives the control command message 70 transmitted from the terminal device 100 by a communication device or the like. The communication unit 410 outputs the received control command message 70 to the control command distribution unit 421.

ここで、図5を用いて制御命令メッセージ70の内部構造について説明する。制御命令メッセージ70には、制御対象機器52(52a,52b,52c)を制御するための各制御対象機器固有の制御命令71(71a,71b,71c)が含まれている。制御命令71(71a,71b,71c)は、当該制御命令を送信するべき制御対象機器52(52a,52b,52c)の識別子情報51(51a,51b,51c)に関連付けられている。また、制御命令71(71a,71b,71c)と識別子情報51(51a,51b,51c)の組は、各制御対象機器52が接続する固有制御部430を示す固有制御タイプ701(固有制御情報の一例)に関連付けられている。例えば、固有制御部A430aに接続されている制御対象機器52a,52bの識別子情報51a(<rpc id=a>),51b(<rpc id=b>)は、制御対象機器52a,52bを制御するための制御命令71a,71bに関連付けられており、それぞれの組(識別子情報51aと制御命令71aの組、識別子情報51bと制御命令71bの組)は、固有制御部A430aを示す固有制御タイプ701a(<device type=1>)に関連付けられている。   Here, the internal structure of the control command message 70 will be described with reference to FIG. The control command message 70 includes a control command 71 (71a, 71b, 71c) unique to each control target device for controlling the control target device 52 (52a, 52b, 52c). The control command 71 (71a, 71b, 71c) is associated with the identifier information 51 (51a, 51b, 51c) of the control target device 52 (52a, 52b, 52c) to which the control command is to be transmitted. A set of the control command 71 (71a, 71b, 71c) and the identifier information 51 (51a, 51b, 51c) is a unique control type 701 (specific control information of the unique control information) indicating the unique control unit 430 to which each control target device 52 is connected. Example). For example, the identifier information 51a (<rpc id = a>) and 51b (<rpc id = b>) of the control target devices 52a and 52b connected to the unique control unit A 430a controls the control target devices 52a and 52b. Are associated with control commands 71a and 71b for each of them, and each set (a set of identifier information 51a and control command 71a, a set of identifier information 51b and control command 71b) is a specific control type 701a (specific control unit A 430a). <Device type = 1>).

<制御命令分配ステップ:S12>
図4に戻り、制御命令分配ステップ(S12)について説明する。
<Control command distribution step: S12>
Returning to FIG. 4, the control command distribution step (S12) will be described.

制御命令分配部421は、通信部410から制御命令メッセージ70を入力して記憶装置などに記憶する。制御命令分配部421は、制御命令メッセージ70を処理装置等により解析して、制御命令メッセージ70の内部に含まれた制御命令71(71a,71b,71c)とその宛先(制御の対象)となる制御対象機器52(52a,52b,52c)の識別子情報51(51a,51b,51c)を抽出する。さらに、制御命令分配部421は、識別子情報51が属する固有制御部430(430a,430b)を示す固有制御タイプ701(701a,701b)を抽出する。そして、制御命令分配部421は、固有制御タイプ701(701a,701b)が示す固有制御部430(430a,430b)へ、対応する制御命令71と制御対象機器52の識別子情報51とを出力する。例えば、制御命令分配部421は、識別子情報51aと制御命令71aの組と、識別子情報51bと制御命令71bの組とを固有制御部A430aへ出力し、識別子情報51cと制御命令71cの組を固有制御部B430bへ出力する。   The control command distribution unit 421 receives the control command message 70 from the communication unit 410 and stores it in a storage device or the like. The control command distribution unit 421 analyzes the control command message 70 by a processing device or the like, and becomes a control command 71 (71a, 71b, 71c) included in the control command message 70 and its destination (control target). The identifier information 51 (51a, 51b, 51c) of the control target device 52 (52a, 52b, 52c) is extracted. Further, the control command distribution unit 421 extracts a unique control type 701 (701a, 701b) indicating the unique control unit 430 (430a, 430b) to which the identifier information 51 belongs. Then, the control command distribution unit 421 outputs the corresponding control command 71 and the identifier information 51 of the control target device 52 to the unique control unit 430 (430a, 430b) indicated by the unique control type 701 (701a, 701b). For example, the control command distribution unit 421 outputs the set of the identifier information 51a and the control command 71a and the set of the identifier information 51b and the control command 71b to the unique control unit A 430a, and sets the set of the identifier information 51c and the control command 71c as unique. It outputs to control part B430b.

<固有制御ステップ:S13〜S15、固有制御結果出力ステップ:S16〜S17>
以下、識別子情報51と制御命令71を入力した場合に、各固有制御部430(430a、430b)が、自己に接続されている制御対象機器52と制御命令71及び制御結果91の送受信を行う際の動作について説明する。簡単のため、固有制御部A430aの動作について説明するが、固有制御部B430bについても同様の動作によって制御を実行する。また、ゲートウェイ装置400が固有制御部430a,430b以外にも固有制御部430を備えている場合であっても、固有制御部430は同様の動作によって制御を実行する。
<Unique control steps: S13 to S15, unique control result output steps: S16 to S17>
Hereinafter, when the identifier information 51 and the control command 71 are input, each unique control unit 430 (430a, 430b) transmits and receives the control command 71 and the control result 91 with the control target device 52 connected to itself. Will be described. For the sake of simplicity, the operation of the unique control unit A 430a will be described. However, the unique control unit B 430b is also controlled by the same operation. Even if the gateway device 400 includes the unique control unit 430 in addition to the unique control units 430a and 430b, the unique control unit 430 performs control by the same operation.

固有制御部430は、識別子情報51と制御命令71とを渡されると、機器アドレス情報80を参照し、制御命令71に付随した制御対象機器52の識別子情報51から機器アドレス81を取得する(S13)。固有制御部A430aは、識別子情報51aと制御命令71aの情報の組と、識別子情報51bと制御命令71bの情報の組とを入力すると、識別子情報51a,51bをもとに機器アドレス情報80aを参照して、識別子情報51a,51bが示す制御対象機器52a,52bの機器アドレス81a,81bを取得する。   When the identifier information 51 and the control command 71 are passed, the unique control unit 430 refers to the device address information 80, and acquires the device address 81 from the identifier information 51 of the control target device 52 attached to the control command 71 (S13). ). When the unique control unit A430a inputs the identifier information 51a and the control instruction 71a information set and the identifier information 51b and the control instruction 71b information pair, the unique control unit A430a refers to the device address information 80a based on the identifier information 51a and 51b. Then, the device addresses 81a and 81b of the control target devices 52a and 52b indicated by the identifier information 51a and 51b are acquired.

この際、上述したように、機器アドレス情報A80aには、予め制御対象機器52a,52bの識別子情報51a,51bと対応した機器アドレス81a,81bが記憶装置に格納されているものとする。つまり、機器アドレス記憶部A440aは、予め制御対象機器52a,52bの識別子情報51a,51bと対応する機器アドレス81a,81bとを対応付けて機器アドレス情報A80aとして記憶装置に記憶する。このため、新たに非IP通信A50aにより通信可能な機器をゲートウェイ装置400に接続する場合には、機器アドレス記憶部A440aが、新たな機器の識別子情報51と機器アドレス81とを機器アドレス情報80aに追加することで、新たな機器を機器制御システム900に追加することができる。   At this time, as described above, it is assumed that device addresses 81a and 81b corresponding to the identifier information 51a and 51b of the control target devices 52a and 52b are stored in the storage device in the device address information A80a in advance. That is, the device address storage unit A440a associates the identifier information 51a, 51b of the control target devices 52a, 52b with the corresponding device addresses 81a, 81b and stores them in the storage device as device address information A80a in advance. For this reason, when a device that can newly communicate with the non-IP communication A50a is connected to the gateway device 400, the device address storage unit A440a converts the new device identifier information 51 and the device address 81 into the device address information 80a. By adding, a new device can be added to the device control system 900.

固有制御部A430aは、制御命令71a,71bを対応する制御対象機器52a,52bの機器アドレス81a,81bに非IP通信A50aにより各々送信し、送信した制御命令71a,71bに対応する制御結果91a,91bを非IP通信A50aにより各々受信するまでの送受信処理を実行する。S14において、固有制御部A430aは、入力した全ての制御命令71を送信したか否かを処理装置により判断する(S14)。固有制御部A430aが全ての制御命令71を送信したと判断した場合は、S17へ進む。固有制御部A430aが未送信の制御命令があると判断した場合は、S15へ進む。   The unique control unit A 430a transmits the control commands 71a and 71b to the device addresses 81a and 81b of the corresponding control target devices 52a and 52b by the non-IP communication A 50a, respectively, and the control results 91a and 71b corresponding to the transmitted control commands 71a and 71b. Transmission / reception processing is performed until each of 91b is received by the non-IP communication A 50a. In S14, the unique control unit A430a determines whether or not all input control commands 71 have been transmitted by the processing device (S14). When it is determined that the unique control unit A 430a has transmitted all the control commands 71, the process proceeds to S17. If the unique control unit A 430a determines that there is an untransmitted control command, the process proceeds to S15.

S15において、固有制御部A430aは、未送信の制御命令71を制御対象機器52へ送信する。固有制御部A430aが、制御命令71aを制御対象機器52aへ送信する場合について説明する。固有制御部A430aは、制御命令71aを対応する制御対象機器52aの機器アドレス81aへ、非IP通信A50aにより送信する。そして、固有制御部A430aは、送信した制御命令71aの制御結果として送信されてくる制御結果91aを、制御対象機器52aから非IP通信A50aにより受信する(S16)。また、固有制御部A430aが、制御命令71bを制御対象機器52bへ送信する場合は、固有制御部A430aは、制御命令71bを、対応する制御対象機器52bの機器アドレス81bへ向けて、非IP通信A50aにより送信する。そして、固有制御部A430aは、送信した制御命令71bの制御結果として送信されてくる制御結果91bを、制御対象機器52bから非IP通信A50aにより受信する。   In S <b> 15, the unique control unit A 430 a transmits an untransmitted control command 71 to the control target device 52. A case where the unique control unit A 430a transmits the control command 71a to the control target device 52a will be described. The unique control unit A430a transmits the control command 71a to the device address 81a of the corresponding control target device 52a by the non-IP communication A50a. Then, the unique control unit A430a receives the control result 91a transmitted as the control result of the transmitted control command 71a from the control target device 52a by the non-IP communication A50a (S16). When the unique control unit A430a transmits the control command 71b to the control target device 52b, the unique control unit A430a sends the control command 71b to the device address 81b of the corresponding control target device 52b and performs non-IP communication. Transmit by A50a. Then, the unique control unit A430a receives the control result 91b transmitted as the control result of the transmitted control command 71b from the control target device 52b by the non-IP communication A50a.

固有制御部A430aは、全ての制御命令(71a,71b)に対する全ての制御結果(91a,91b)を受け取る(受信する)と、受け取った(受信した)制御結果91a,91bを制御結果収集部422へ渡す(出力する)(S17)。すなわち、固有制御部A430aは、全ての制御命令71a,71bを制御対象機器52a、52bに対して送信して制御を実行し、制御結果91a、91bを取得するとそれらを制御結果収集部422に渡す(S17)。   When the unique control unit A430a receives (receives) all the control results (91a, 91b) for all the control commands (71a, 71b), the control result collection unit 422 receives (receives) the control results 91a, 91b. To (output) to (S17). That is, the unique control unit A 430a transmits all the control commands 71a and 71b to the control target devices 52a and 52b, executes control, and acquires the control results 91a and 91b, and passes them to the control result collection unit 422. (S17).

S13からS16で説明した固有制御部430の処理は、複数の固有制御部430のうち制御命令分配部421から制御命令71と識別子情報51と入力した全ての固有制御部430が行う処理である。すなわち、本実施の形態では、固有制御部A430aと固有制御部B430bとが、S13からS16までの制御命令71及び制御結果91の送受信処理を行い、S17で制御対象機器52(52a,52b,52c)からの制御結果91(91a,91b,91c)を制御結果収集部422へ出力する。   The processing of the unique control unit 430 described in S13 to S16 is processing performed by all the unique control units 430 that have received the control command 71 and the identifier information 51 from the control command distribution unit 421 among the plurality of unique control units 430. That is, in the present embodiment, the unique control unit A 430a and the unique control unit B 430b perform transmission / reception processing of the control command 71 and the control result 91 from S13 to S16, and in S17, the control target device 52 (52a, 52b, 52c). ) From the control result 91 (91a, 91b, 91c) is output to the control result collection unit 422.

ここで、ゲートウェイ装置400内の複数の固有制御部430(430a、430b)が制御対象機器52との間で制御命令71及び制御結果91の送受信処理を実行する際に、各固有制御部430が並列に送受信処理を実行することによって制御実行時間を短縮することが可能となる。すなわち、固有制御部A430aと固有制御部B430bとが、S13からS17までの制御命令71及び制御結果91の送受信処理を並列に実行することにより制御実行時間を短縮することが可能となる。   Here, when the plurality of unique control units 430 (430a, 430b) in the gateway device 400 execute transmission / reception processing of the control command 71 and the control result 91 with the control target device 52, each unique control unit 430 It is possible to shorten the control execution time by executing transmission / reception processing in parallel. That is, it is possible to reduce the control execution time by performing the transmission / reception processing of the control command 71 and the control result 91 from S13 to S17 in parallel by the unique control unit A 430a and the unique control unit B 430b.

さらに、各固有制御部430が備える機器アドレス記憶部440が記憶装置に記憶する機器アドレス情報80内に、制御対象機器毎の送受信処理待ち時間を追加設定することができる。これにより、各固有制御部430は、追加設定された制御対象機器52の送受信待ち時間を参照して非IP通信動作に反映することができる。例えば、固有制御部430は、送受信処理の際に、送受信待ち時間を越えた制御対象機器がある場合は、制御結果91の受信を待たずにタイムアウトエラーとすることができる。これにより、制御実行装置あるいは制御実行者等は、機器制御システム900(遠隔制御システム)として端末装置100から見た最大の通信待ち時間(最大待ち時間)を見積もることが可能となる。なお、上記最大待ち時間には各手段(プログラム)の処理時間、及びインターネットを介したIP通信時間は含まれない。   Furthermore, the transmission / reception processing waiting time for each control target device can be additionally set in the device address information 80 stored in the storage device by the device address storage unit 440 included in each unique control unit 430. Thereby, each unique control unit 430 can reflect the newly set transmission / reception waiting time of the control target device 52 in the non-IP communication operation. For example, when there is a control target device that exceeds the transmission / reception waiting time during the transmission / reception process, the unique control unit 430 can set a timeout error without waiting for the reception of the control result 91. Thereby, the control execution device or the control person can estimate the maximum communication waiting time (maximum waiting time) as viewed from the terminal device 100 as the device control system 900 (remote control system). The maximum waiting time does not include processing time of each means (program) and IP communication time via the Internet.

<制御結果収集ステップ:S18>
制御結果収集部422は、全ての制御結果91(91a,91b,91c)を収集すると、制御命令分配部421が入力した制御命令メッセージ70に対する応答として制御結果メッセージ90を生成する。制御命令メッセージ7と同様のフォーマットを持つ制御結果メッセージ90において、制御命令71が内包されていた箇所に各制御命令71に対する制御結果91a,91b,91cを格納し、制御結果メッセージ90を作成する。全ての制御結果91を格納し終えると制御結果メッセージ90を通信部410に渡す(S18)。
<Control result collection step: S18>
When all the control results 91 (91a, 91b, 91c) are collected, the control result collection unit 422 generates a control result message 90 as a response to the control command message 70 input by the control command distribution unit 421. In the control result message 90 having the same format as that of the control command message 7, the control results 91a, 91b, 91c for the control commands 71 are stored in the locations where the control commands 71 are included, and the control result message 90 is created. When all the control results 91 have been stored, the control result message 90 is passed to the communication unit 410 (S18).

図6は、制御結果収集部422が生成する制御結果メッセージ90(制御結果情報の一例)の内部構造を示す図である。図6に示すように、制御結果メッセージ90は、制御命令メッセージ70と同様のフォーマットを備えている。制御結果収集部422は、制御命令メッセージ70の制御命令71(71a,71b,71c)の記録箇所に、各制御命令71a,71b,71cに対応する制御結果91a,91b,91cを格納することにより、制御結果メッセージ90を生成する。制御結果収集部422は、S12において制御命令分配部421が記憶装置に記憶した制御命令メッセージ70を取り出して、取り出した制御命令メッセージ70の制御命令71(71a,71b,71c)の記録箇所に各制御命令71a,71b,71cに対応する制御結果91a,91b,91cを格納することにより制御結果メッセージ90を生成することができる。また、制御結果収集部422は、新たに制御命令メッセージ70と同様のフォーマットのメッセージを作成して、制御命令メッセージ70に対する応答である制御結果メッセージ90を生成してもよい。   FIG. 6 is a diagram illustrating an internal structure of a control result message 90 (an example of control result information) generated by the control result collection unit 422. As shown in FIG. 6, the control result message 90 has the same format as the control command message 70. The control result collection unit 422 stores the control results 91a, 91b, 91c corresponding to the control commands 71a, 71b, 71c in the recording location of the control command 71 (71a, 71b, 71c) of the control command message 70. The control result message 90 is generated. The control result collection unit 422 takes out the control command message 70 stored in the storage device by the control command distribution unit 421 in S12, and stores each control command 71 (71a, 71b, 71c) of the taken control command message 70 in the recording location. By storing the control results 91a, 91b, 91c corresponding to the control commands 71a, 71b, 71c, the control result message 90 can be generated. Further, the control result collection unit 422 may newly create a message having the same format as the control command message 70 and generate a control result message 90 that is a response to the control command message 70.

<制御結果情報送信ステップ:S19>
通信部410は、制御結果収集部422より入力した制御結果メッセージ90を、インターネット200を介して端末装置100へ送信する。制御実行者等は、端末装置100上で制御結果メッセージ90を参照し、目的とする制御対象機器毎の結果を得ることができる。
<Control result information transmission step: S19>
The communication unit 410 transmits the control result message 90 input from the control result collection unit 422 to the terminal device 100 via the Internet 200. A control performer or the like can refer to the control result message 90 on the terminal device 100 and obtain a result for each target control target device.

このように、制御実行者等は、端末装置100の操作を通じて遠隔にある建物300内の非IP通信で接続された制御対象機器52a,52b,52cの制御を、端末装置100とゲートウェイ装置400間の1回のIP通信送受信で実行することが可能となる。   Thus, the control performer or the like controls the control target devices 52a, 52b, and 52c connected by non-IP communication in the remote building 300 through the operation of the terminal device 100 between the terminal device 100 and the gateway device 400. It is possible to execute by one transmission / reception of IP communication.

以上のように、本実施の形態に係るゲートウェイ装置400を用いた機器制御システム900は、端末装置100からゲートウェイ装置400へ複数の制御命令を内包した制御命令メッセージ70を送信すると、ゲートウェイ装置400は受信した制御命令メッセージ70を分解し、各制御対象機器52(52a,52b,52c)の通信手段(非IP通信A50a、非IP通信B50b)で送信可能な固有制御部430a,430b(内部システムともいう)を介して制御命令を送信し、各制御対象機器52(52a,52b,52c)を制御した後、全ての制御結果を1つの制御結果メッセージ90にまとめて端末装置100へ送信することにより、遠隔からの制御実行を1回の応答で可能とする通信方式である。   As described above, when the device control system 900 using the gateway device 400 according to the present embodiment transmits the control command message 70 including a plurality of control commands from the terminal device 100 to the gateway device 400, the gateway device 400 The received control command message 70 is disassembled and unique control units 430a and 430b (both internal systems) that can be transmitted by the communication means (non-IP communication A50a and non-IP communication B50b) of each control target device 52 (52a, 52b, 52c). A control command is transmitted to the terminal device 100 by controlling all the control target devices 52 (52a, 52b, 52c), and then transmitting all the control results into one control result message 90. This is a communication method that enables remote control execution with a single response.

実施の形態2.
本実施の形態では、例えば、機器制御システム900において、ゲートウェイ装置400に接続されている制御対象機器52の構成に変更が生じた場合でも、ゲートウェイ装置400の動作を止めること無く、動的に対処可能とする機器制御システム900について説明する。
Embodiment 2. FIG.
In the present embodiment, for example, in the device control system 900, even when the configuration of the control target device 52 connected to the gateway device 400 is changed, the gateway device 400 is dynamically handled without stopping the operation. The device control system 900 that is enabled will be described.

図7は、実施の形態2に係るゲートウェイ装置400を用いた機器制御システム900のシステム構成図である。図7において、実施に形態1の図2で説明した構成ブロックと同一の機能を有する構成ブロックには同一の符号を付し、その説明を省略する。   FIG. 7 is a system configuration diagram of a device control system 900 using the gateway device 400 according to the second embodiment. In FIG. 7, the same reference numerals are given to the constituent blocks having the same functions as the constituent blocks described in FIG. 2 of the first embodiment, and the description thereof is omitted.

本実施の形態では、ゲートウェイ装置400には、機器52a,52b,52cに加えて、新たに非IP通信C50cにより通信が可能である機器52d(制御対象機器52d)が追加されている。また、非IP通信C50cにより機器52dと通信を行う固有制御部C430cが追加されており、制御対象機器52dの識別子情報51dと機器アドレス81dとを関連付けた機器対象アドレス情報Cを記憶装置に記憶する機器アドレス記憶部C440cが追加されている。また、制御命令分配・収集部420は、さらに、後述する固有開始情報ファイル470を記憶装置に記憶する固有開始情報記憶部423を備えている。   In the present embodiment, in addition to the devices 52a, 52b, and 52c, the gateway device 400 is newly added with a device 52d (control target device 52d) that can communicate with the non-IP communication C50c. Also, a unique control unit C430c that communicates with the device 52d through the non-IP communication C50c is added, and device target address information C that associates the identifier information 51d of the control target device 52d with the device address 81d is stored in the storage device. A device address storage unit C440c is added. The control command distribution / collection unit 420 further includes a unique start information storage unit 423 that stores a unique start information file 470 described later in a storage device.

本実施の形態では、ゲートウェイ装置400の備える複数の固有制御部430は、プログラムとして事前に起動されることなく、停止状態(スリープモード)であるものとする。複数の固有制御部430は、例えば、固有の通信手段により通信を開始するために利用する情報である固有開始情報101を制御命令分配部421から入力することにより起動する。また、例えば、制御命令分配部421が、複数のうちから起動すべき固有制御部430を処理装置により判別して、判別した固有制御部430に対して起動命令を出力してもよい。   In the present embodiment, it is assumed that the plurality of unique control units 430 included in the gateway device 400 are in a stopped state (sleep mode) without being activated in advance as a program. The plurality of unique control units 430 are activated, for example, by inputting unique start information 101 that is information used to start communication by a unique communication unit from the control command distribution unit 421. Further, for example, the control command distribution unit 421 may determine the unique control unit 430 to be activated from among a plurality of processing devices and output the activation command to the identified unique control unit 430.

固有開始情報記憶部423は、複数の固有制御部430(430a,430b,430c)と、それぞれの固有制御部430(430a,430b,430c)に対応する固有開始情報101(101a,101b,101c)とを対応付けた固有開始情報ファイル470を記憶装置に記憶する。   The unique start information storage unit 423 includes a plurality of unique control units 430 (430a, 430b, 430c) and unique start information 101 (101a, 101b, 101c) corresponding to each unique control unit 430 (430a, 430b, 430c). Are stored in the storage device.

図8は、実施の形態2に係る固有開始情報ファイル470の内部構造を示す図である。固有開始情報ファイル470には、固有制御部430(430a,430b,430c)を示す固有制御タイプ701(701a,701b701c)に対応させて、それぞれの固有制御部430に関する固有開始情報101(101a,101b,101c)が記憶されている。   FIG. 8 is a diagram showing an internal structure of the unique start information file 470 according to the second embodiment. In the unique start information file 470, the unique start information 101 (101a, 101b) for each unique control unit 430 is associated with the unique control type 701 (701a, 701b 701c) indicating the unique control unit 430 (430a, 430b, 430c). , 101c) is stored.

制御命令分配部421は、通信部410により受信された制御命令メッセージ70を入力して、入力した制御命令メッセージ70に基づいて、制御対象となる制御対象機器52と接続されている固有制御部430を複数の固有制御部430から判別する。ここまでは、実施の形態1と同様の機能である。制御命令分配部421が判別した固有制御部430は、すなわち、制御対象機器52と接続されている固有制御部430のことである。したがって、本実施の形態では、まず、制御対象機器52と接続されている固有制御部430を起動しなければならない。制御命令分配部421は、起動すべき固有制御部430を判別すると、判別した固有制御部430をもとに固有開始情報ファイル470を参照して、起動すべき固有制御部430の固有開始情報101を抽出し、抽出した固有開始情報を固有制御部430に対して出力して、起動すべき固有制御部430を起動させる。   The control command distribution unit 421 receives the control command message 70 received by the communication unit 410, and based on the input control command message 70, the specific control unit 430 connected to the control target device 52 to be controlled. Is determined from the plurality of unique control units 430. Up to this point, the function is the same as in the first embodiment. The unique control unit 430 determined by the control command distribution unit 421 is the unique control unit 430 connected to the control target device 52. Therefore, in the present embodiment, first, the unique control unit 430 connected to the control target device 52 must be activated. When the control command distribution unit 421 determines the specific control unit 430 to be activated, the control command distribution unit 421 refers to the specific start information file 470 based on the determined unique control unit 430 and the unique start information 101 of the specific control unit 430 to be activated. And the extracted unique start information is output to the unique control unit 430 to activate the unique control unit 430 to be activated.

図9は、実施の形態2に係るゲートウェイ装置400の処理動作を示すフロー図である。実施の形態1で説明した図4の処理動作に加えて、<固有制御起動ステップ:S22>の処理が追加されている。   FIG. 9 is a flowchart showing processing operations of the gateway device 400 according to the second embodiment. In addition to the processing operation of FIG. 4 described in the first embodiment, a process of <unique control activation step: S22> is added.

本実施の形態では、機器52a,52b,52c,52dのうち、機器52a,52b,52dが制御対象機器であるものとする。すなわち、制御対象機器52a,52b,52dが接続する固有制御部430a,430cが起動対象の固有制御部430となる。   In the present embodiment, it is assumed that among the devices 52a, 52b, 52c, and 52d, the devices 52a, 52b, and 52d are control target devices. That is, the unique control units 430a and 430c to which the control target devices 52a, 52b, and 52d are connected become the unique control unit 430 to be activated.

S11の制御情報受信ステップの処理動作は、実施の形態1で説明したS11と同様である。   The processing operation of the control information receiving step in S11 is the same as S11 described in the first embodiment.

<固有制御起動ステップ:S22>
制御命令分配部421は、通信部410から制御命令メッセージ70を入力して記憶装置などに記憶する。制御命令分配部421は、制御命令メッセージ70を処理装置等により解析して、制御命令メッセージ70の内部に含まれた制御命令71とその宛先(制御の対象)となる制御対象機器52(52a,52b,52d)の識別子情報51(51a,51b,51d)を抽出する。さらに、制御命令分配部421は、識別子情報51が属する固有制御部430(430a,430c)を示す固有制御タイプ701(701a,701c)を抽出する。言い換えると、制御命令分配部421は、制御命令メッセージ70が渡されると制御命令メッセージ70内の情報から起動すべき固有制御部A430aと固有制御部C430cを選定する。
<Unique control start step: S22>
The control command distribution unit 421 receives the control command message 70 from the communication unit 410 and stores it in a storage device or the like. The control command distribution unit 421 analyzes the control command message 70 by a processing device or the like, and controls the control command 71 included in the control command message 70 and the control target device 52 (52a, 52) serving as the destination (control target). 52b, 52d) of the identifier information 51 (51a, 51b, 51d) is extracted. Further, the control command distribution unit 421 extracts a unique control type 701 (701a, 701c) indicating the unique control unit 430 (430a, 430c) to which the identifier information 51 belongs. In other words, when the control command message 70 is passed, the control command distribution unit 421 selects the specific control unit A 430a and the specific control unit C 430c to be activated from the information in the control command message 70.

次に、制御命令分配部421は、抽出した固有制御タイプ701(701a,701c)をもとに固有開始情報ファイル470を参照して、固有制御タイプ701(701a,701c)に対応する固有開始情報101(101a、101c)を取得する。固有開始情報101とは、例えば、固有制御部430を任意の時点で随時起動するための情報である。取得した固有開始情報101(101a、101c)には各々固有制御部A430aと固有制御部C430cを起動するための情報が記述されているため、固有制御部A430aと固有制御部C430cとは、制御命令分配部421が制御命令メッセージ70を解析した時点で起動するとしてもよい。   Next, the control command distribution unit 421 refers to the unique start information file 470 based on the extracted unique control type 701 (701a, 701c), and the unique start information corresponding to the unique control type 701 (701a, 701c). 101 (101a, 101c) is acquired. The unique start information 101 is information for starting the unique control unit 430 at any time, for example. Since the acquired unique start information 101 (101a, 101c) describes information for starting the unique control unit A430a and the unique control unit C430c, the unique control unit A430a and the unique control unit C430c have control instructions. It may be activated when the distribution unit 421 analyzes the control command message 70.

制御命令分配部421は、起動した固有制御部A430aと固有制御部C430cとに対し、制御命令メッセージ70を分解して得た各固有制御部430(430a,430b)向けの制御命令71(71a,71b,71d)を渡す(出力する)(S12)。すなわち、制御命令分配部421は、固有制御部A430aには識別子情報51aと制御命令71aの組と識別子情報51bと制御命令71bの組とを出力し、固有制御部C430cには識別子情報51dと制御命令71dの組を出力する。   The control command distribution unit 421 generates control commands 71 (71a, 71a, 430b) for the specific control units 430 (430a, 430b) obtained by disassembling the control command message 70 with respect to the started specific control unit A 430a and specific control unit C 430c. 71b, 71d) are delivered (output) (S12). That is, the control command distribution unit 421 outputs a set of identifier information 51a, a control command 71a, a set of identifier information 51b, and a control command 71b to the unique control unit A 430a, and an identifier information 51d and control to the unique control unit C430c. A set of instructions 71d is output.

制御命令分配部421が、固有制御部430に識別子情報51と制御命令71とを出力した後に、固有制御部430が制御対象機器52と制御命令71と制御結果91との送受信を行う動作については実施の形態1で説明した処理動作と同様である(S13からS16)。   After the control command distribution unit 421 outputs the identifier information 51 and the control command 71 to the unique control unit 430, the unique control unit 430 transmits and receives the control target device 52, the control command 71, and the control result 91. The processing operation is the same as that described in the first embodiment (S13 to S16).

固有制御部430は、非IP通信50を介した制御命令71と制御結果91の送受信動作を終了すると、全ての制御結果91を制御結果収集部422に渡した後にプログラムとしての動作を停止する。すなわち、固有制御部A430aは制御結果91aと91bとを制御結果収集部422へ出力し、固有制御部C430cは制御結果91dを制御結果収集部422へ出力し、その後、固有制御部A430aと固有制御部C430cとはプログラムとしての動作を停止する(スリープモードへ移行する)(S27)。   When the transmission / reception operation of the control command 71 and the control result 91 via the non-IP communication 50 is finished, the unique control unit 430 stops the operation as a program after passing all the control results 91 to the control result collection unit 422. That is, the unique control unit A 430a outputs the control results 91a and 91b to the control result collecting unit 422, the unique control unit C 430c outputs the control result 91d to the control result collecting unit 422, and then the unique control unit A 430a and the unique control. The unit C430c stops operating as a program (shifts to the sleep mode) (S27).

制御結果収集部422が、固有制御部430から収集した制御結果91を1つの制御結果メッセージ90にまとめて生成し、通信部が、制御結果メッセージ90をインターネット200を介して端末装置100へ送信する処理動作は、実施の形態1で説明したS18〜19と同様である。   The control result collection unit 422 generates the control results 91 collected from the specific control unit 430 in one control result message 90, and the communication unit transmits the control result message 90 to the terminal device 100 via the Internet 200. The processing operation is the same as S18 to 19 described in the first embodiment.

実施の形態2では、制御命令分配部421が、制御命令メッセージ70を渡された後、固有開始情報記憶部423が記憶装置に記憶した固有開始情報ファイル470を用いて、任意のタイミングによる固有制御部430を起動・停止する方式について説明した。これにより、本実施の形態に係るゲートウェイ装置400は、制御の対象とされる制御対象機器52の追加を伴う機器制御システム900のシステム構成が変更された場合でも、固有開始情報記憶部423が固有開始情報ファイル470を変更し、新たな制御対象機器52を含むシステム構成に対応した固有制御部430を設置することによって、新たな非IP通信50を必要とする制御対象機器52を制御することができる。すなわち、本実施の形態に係る機器制御システム900は、非IP通信50を必要とする制御通信方式における任意制御手段変更が可能となる。   In the second embodiment, after the control command distribution unit 421 receives the control command message 70, the unique start information file 470 stored in the storage device by the unique start information storage unit 423 is used to perform unique control at an arbitrary timing. The method for starting and stopping the unit 430 has been described. As a result, the gateway device 400 according to the present embodiment has the unique start information storage unit 423 unique even when the system configuration of the device control system 900 involving the addition of the control target device 52 to be controlled is changed. It is possible to control the control target device 52 that requires the new non-IP communication 50 by changing the start information file 470 and installing the unique control unit 430 corresponding to the system configuration including the new control target device 52. it can. That is, the device control system 900 according to the present embodiment can change the arbitrary control means in the control communication method that requires the non-IP communication 50.

また、本実施の形態に係るゲートウェイ装置400は、制御の対象とされる制御対象機器52の削除を伴う機器制御システム900のシステム構成が変更された場合には、制御の対象ではない機器に対応する固有制御部430は起動させず停止状態とすることができるので、ハードウェアを有効に活用することができる。   Further, the gateway device 400 according to the present embodiment corresponds to a device that is not a control target when the system configuration of the device control system 900 that involves deletion of the control target device 52 that is a control target is changed. Since the unique control unit 430 to be activated can be brought into a stopped state without being activated, hardware can be effectively utilized.

実施の形態1〜2において、以下のような特徴を有する機器制御システム900のゲートウェイ装置400及びゲートウェイ装置400のゲートウェイ方法について説明した。   In the first and second embodiments, the gateway device 400 of the device control system 900 and the gateway method of the gateway device 400 having the following characteristics have been described.

実施の形態1〜2に係る機器制御システム900は、端末装置100と遠隔にある建物300内に設置されたゲートウェイ装置400と、多数の制御対象機器52から構成され、端末装置100とゲートウェイ装置400はIPアドレスを用いた通信手段によって相互通信可能であり、ゲートウェイ装置400と制御対象機器52はIPアドレスを持たない任意通信手段によって通信可能であるネットワークシステムであることを特徴とする。   The device control system 900 according to Embodiments 1 and 2 includes a gateway device 400 installed in a building 300 that is remote from the terminal device 100 and a large number of control target devices 52. The terminal device 100 and the gateway device 400 Can communicate with each other by communication means using an IP address, and the gateway apparatus 400 and the control target device 52 are network systems capable of communication by an arbitrary communication means having no IP address.

実施の形態1〜2に係る機器制御システム900においては、制御対象機器52にはシステム固有のユニークな識別子情報51が付いており、ゲートウェイ装置400の内部システム(固有制御部430)は各識別子情報51に紐付けられたアドレス情報(機器アドレス情報80)を管理していることを前提とする。また、実施の形態1〜2に係る機器制御システム900においては、端末装置100は制御対象機器52に付けられたユニークな識別子情報51を既知とし、更に、各制御対象機器52の任意通信手段(固有の通信手段)に則ったメッセージ形式を既知とすることを前提とする。   In the device control system 900 according to the first and second embodiments, the control target device 52 has unique identifier information 51 unique to the system, and the internal system (the unique control unit 430) of the gateway device 400 includes each identifier information. It is assumed that address information (device address information 80) associated with 51 is managed. Further, in the device control system 900 according to the first and second embodiments, the terminal device 100 makes the unique identifier information 51 attached to the control target device 52 known, and further, an arbitrary communication unit ( It is assumed that the message format conforming to the specific communication means is known.

実施の形態1〜2に係る機器制御システム900は、端末装置100からゲートウェイ装置400へ複数の制御命令71を内包した制御命令メッセージ70を送信すると、ゲートウェイ装置400は受信した制御命令メッセージ70を分解し、各制御対象機器52の任意通信手段(非IP通信50)で送信可能な内部システム(固有制御部430)を介して制御命令71を送信し、各制御対象機器52を制御した後全ての制御結果91を1つの制御結果メッセージにまとめて端末装置100へ送信する事によって遠隔からの制御実行を1回の応答で可能とする通信方式であることを特徴とする。   When the device control system 900 according to the first and second embodiments transmits a control command message 70 including a plurality of control commands 71 from the terminal device 100 to the gateway device 400, the gateway device 400 disassembles the received control command message 70. Then, the control command 71 is transmitted via the internal system (unique control unit 430) that can be transmitted by the arbitrary communication means (non-IP communication 50) of each control target device 52, and after all the control target devices 52 are controlled, The communication method is characterized in that the control result 91 is collected into one control result message and transmitted to the terminal device 100, thereby enabling remote control execution with a single response.

実施の形態1〜2に係るゲートウェイ装置400は、複数の固有制御部430が各制御対象機器52へ制御命令71を送信し、各制御対象機器52から制御結果91を受信する送受信手段を並列に実行可能とすることを特徴とする。また、実施の形態1〜2に係るゲートウェイ装置400は、各機器アドレス記憶部440が機器アドレス情報80に制御対象機器52毎の制御結果91の応答待ち時間を設定することを特徴とする。   In gateway apparatus 400 according to Embodiments 1 and 2, a plurality of unique control units 430 transmit and receive a control command 71 to each control target device 52 and receive control results 91 from each control target device 52 in parallel. It is characterized by being executable. Further, the gateway device 400 according to the first and second embodiments is characterized in that each device address storage unit 440 sets the response waiting time of the control result 91 for each control target device 52 in the device address information 80.

実施の形態1〜2に係る機器制御システム900は、ゲートウェイ装置400内の各制御対象機器52との任意通信手段を担う内部システム(固有制御部430)を管理するための情報(固有開始情報ファイル470)を持ち、当該内部システム(固有制御部430)の構成が他のシステムに影響を及ぼす事無く任意に変更可能とし、制御命令メッセージ70内に当該内部システム(固有制御部430)を起動するための情報が事前に挿入されている事を前提とする。実施の形態1〜2に係る機器制御システム900は、制御対象機器52の種別が増えたとしても、それに対応する内部システム(固有制御部430)をゲートウェイ装置400に組み込んで、固有開始情報記憶部423が固有開始情報ファイル470に管理情報を追加してやる事によって、ゲートウェイ装置400の動作を止めること無くシステム構成が変更された制御対象機器52への制御実行を動的に対処可能とすることを特徴とする。   The device control system 900 according to Embodiments 1 and 2 is information (unique start information file) for managing an internal system (unique control unit 430) that performs arbitrary communication means with each control target device 52 in the gateway device 400. 470), the configuration of the internal system (unique control unit 430) can be arbitrarily changed without affecting other systems, and the internal system (unique control unit 430) is activated in the control command message 70. It is assumed that information has been inserted in advance. The device control system 900 according to the first and second embodiments incorporates an internal system (unique control unit 430) corresponding to the control target device 52 into the gateway device 400 even if the type of the control target device 52 increases. By adding management information to the unique start information file 470, the control unit 423 can dynamically handle control execution on the control target device 52 whose system configuration has been changed without stopping the operation of the gateway device 400. And

また、実施の形態1〜2の説明において、ゲートウェイ装置400における通信部410、制御命令分配部421、制御結果収集部422、固有開始情報記憶部423,固有制御部430a,430b,430cは、それぞれ独立した機能ブロックとして構成されているが、ひとつの機能ブロックとしてもよい。あるいは、通信部410、制御命令分配部421、制御結果収集部422とをまとめてひとつの機能ブロックとし、固有開始情報記憶部423,固有制御部430a,430b,430cを独立した機能ブロックとしてもよい。あるいは、これらの機能ブロックを、他のどのような組み合わせで構成しても構わない。   In the description of the first and second embodiments, the communication unit 410, the control command distribution unit 421, the control result collection unit 422, the unique start information storage unit 423, the unique control units 430a, 430b, and 430c in the gateway device 400 are respectively Although it is configured as an independent functional block, it may be a single functional block. Alternatively, the communication unit 410, the control command distribution unit 421, and the control result collection unit 422 may be integrated into one function block, and the unique start information storage unit 423, the unique control units 430a, 430b, and 430c may be independent function blocks. . Alternatively, these functional blocks may be configured in any other combination.

実施の形態1〜2に係るゲートウェイ装置及びゲートウェイ装置のゲートウェイ方法は、処理装置、記憶装置等のハードウェアが用いられており、ソフトウェアによる情報処理がハードウェアを用いて具体的に実現されたものである。すなわち、上述した実施の形態1〜2のゲートウェイ装置及びゲートウェイ装置のゲートウェイ方法は、自然法則を利用したハードウェアの動作によりゲートウェイ装置及びゲートウェイ装置のゲートウェイ方法の実現を図っているものであり、自然法則を利用した技術的創作に該当するものである。   In the gateway device and the gateway method of the gateway device according to the first and second embodiments, hardware such as a processing device and a storage device is used, and information processing by software is specifically realized using the hardware. It is. That is, the gateway device and the gateway method of the gateway device according to the first and second embodiments described above are intended to realize the gateway device and the gateway method of the gateway device by the operation of hardware using the natural law. It falls under technical creation using the law.

実施の形態1〜2に係るゲートウェイ装置400のハードウェア資源の一例を示す図である。It is a figure which shows an example of the hardware resource of the gateway apparatus 400 which concerns on Embodiment 1-2. 実施の形態1に係るゲートウェイ装置400を用いた機器制御システム900のシステム構成図である。1 is a system configuration diagram of a device control system 900 using a gateway device 400 according to Embodiment 1. FIG. 機器アドレス記憶部A440aが記憶する機器アドレス情報A80aの内部構造の一例を示す図である。It is a figure which shows an example of the internal structure of apparatus address information A80a which apparatus address memory | storage part A440a memorize | stores. 実施の形態1に係るゲートウェイ装置400の処理動作を示すフロー図である。FIG. 6 is a flowchart showing a processing operation of gateway device 400 according to the first embodiment. 実施の形態1に係る制御命令メッセージ70の内部構造を示す図である。It is a figure which shows the internal structure of the control command message 70 which concerns on Embodiment 1. FIG. 実施の形態1に係る制御結果メッセージ90の内部構造を示す図である。It is a figure which shows the internal structure of the control result message 90 which concerns on Embodiment 1. FIG. 実施の形態2に係るゲートウェイ装置400を用いた機器制御システム900のシステム構成図である。It is a system block diagram of the equipment control system 900 using the gateway apparatus 400 which concerns on Embodiment 2. FIG. 実施の形態2に係る固有開始情報ファイル470の内部構造を示す図である。It is a figure which shows the internal structure of the specific start information file 470 which concerns on Embodiment 2. FIG. 実施の形態2に係るゲートウェイ装置400の処理動作を示すフロー図である。FIG. 10 is a flowchart showing a processing operation of gateway device 400 according to the second embodiment.

符号の説明Explanation of symbols

50 非IP通信、50a 非IP通信A、50b 非IP通信B、50c 非IP通信C、51,51a,51b,51c,51d 識別子情報、52,52a,52b,52c,52d 制御対象機器、70 制御命令メッセージ、71,71a,71b,71c,71d 制御命令、80 機器アドレス情報、80a 機器アドレス情報A、80b 機器アドレス情報B、80c 機器アドレス情報C、81,81a,81b,81c,81d 機器アドレス、90 制御結果メッセージ、91,91a,91b,91c,91d 制御結果、100 端末装置、200 インターネット、300 建物、400 ゲートウェイ装置、410 通信部、420 制御命令分配・収集部、421 制御命令分配部、422 制御結果収集部、423 固有開始情報記憶部、430 固有制御部、430a 固有制御部A、430b 固有制御部B、430c 固有制御部C、440 機器アドレス記憶部、440a 機器アドレス記憶部A、440b 機器アドレス記憶部B、440c 機器アドレス記憶部C、470 固有開始情報ファイル、701,701a,701b,701c 固有制御タイプ、901 表示装置、902 キーボード、904 FDD、905 CDD、911 CPU、912 バス、913 ROM、914 RAM、915 通信ボード、920 磁気ディスク装置、921 OS、922 ウィンドウシステム、923 プログラム群、924 ファイル群、942 LAN。   50 Non-IP communication, 50a Non-IP communication A, 50b Non-IP communication B, 50c Non-IP communication C, 51, 51a, 51b, 51c, 51d Identifier information, 52, 52a, 52b, 52c, 52d Control target device, 70 control Command message 71, 71a, 71b, 71c, 71d control command, 80 device address information, 80a device address information A, 80b device address information B, 80c device address information C, 81, 81a, 81b, 81c, 81d device address, 90 control result message, 91, 91a, 91b, 91c, 91d control result, 100 terminal device, 200 internet, 300 building, 400 gateway device, 410 communication unit, 420 control command distribution / collection unit, 421 control command distribution unit, 422 Control result collection unit, specific to 423 Start information storage unit, 430 unique control unit, 430a unique control unit A, 430b unique control unit B, 430c unique control unit C, 440 device address storage unit, 440a device address storage unit A, 440b device address storage unit B, 440c device Address storage unit C, 470 unique start information file, 701, 701a, 701b, 701c unique control type, 901 display device, 902 keyboard, 904 FDD, 905 CDD, 911 CPU, 912 bus, 913 ROM, 914 RAM, 915 communication board 920, magnetic disk unit, 921 OS, 922 window system, 923 program group, 924 file group, 942 LAN.

Claims (11)

端末装置と通信プロトコルの異なる複数の機器とに接続されたゲートウェイ装置であって、
上記端末装置から複数の機器を制御するための制御命令を含む制御情報を受信する通信部と、
それぞれが通信プロトコルの異なる固有の通信手段を備え、それぞれが固有の通信手段により通信ができる機器と接続されている複数の固有制御部と、
上記通信部により受信された上記制御情報を入力して、入力した上記制御情報に基づいて、上記複数の機器のうち制御対象となる制御対象機器と接続されている固有制御部を上記複数の固有制御部から判別して、判別した固有制御部へ上記制御情報を出力する制御命令分配部と
を備え、
上記複数の固有制御部は、
上記制御命令分配部から上記制御情報を入力した場合、自己の備える固有の通信手段により上記制御対象機器に上記制御命令を送信して上記制御対象機器の制御を行う
ことを特徴とするゲートウェイ装置。
A gateway device connected to a terminal device and a plurality of devices having different communication protocols,
A communication unit that receives control information including a control command for controlling a plurality of devices from the terminal device;
A plurality of unique control units, each having a unique communication means with a different communication protocol, each connected to a device capable of communicating with the unique communication means;
The control information received by the communication unit is input, and based on the input control information, the unique control unit connected to the control target device to be controlled among the plurality of devices A control command distribution unit that determines from the control unit and outputs the control information to the determined unique control unit;
The plurality of unique control units are
When the control information is input from the control command distribution unit, the control device is controlled by transmitting the control command to the control target device by a unique communication unit included in the gateway device.
上記複数の固有制御部は、
上記制御対象機器に送信した上記制御命令に対する制御結果を、上記制御対象機器から自己の備える固有の通信手段により受信して、受信した上記制御結果を出力し、
上記ゲートウェイ装置は、さらに、
上記複数の固有制御部より入力した上記制御結果を収集して、上記制御情報に対する応答となる制御結果情報を生成して、生成した制御結果情報を上記通信部へ出力する制御結果収集部を備え、
上記通信部は、
上記制御結果収集部より入力した上記制御結果情報を、上記端末装置へ送信することを特徴とする請求項1に記載のゲートウェイ装置。
The plurality of unique control units are
The control result for the control command transmitted to the control target device is received from the control target device by its own unique communication means, and the received control result is output.
The gateway device further includes:
A control result collection unit that collects the control results input from the plurality of unique control units, generates control result information as a response to the control information, and outputs the generated control result information to the communication unit; ,
The communication part
The gateway device according to claim 1, wherein the control result information input from the control result collection unit is transmitted to the terminal device.
上記通信部は、
上記端末装置から受信する1つの制御情報に対する応答として、1つの制御結果情報を上記端末装置に送信することを特徴とする請求項2に記載のゲートウェイ装置。
The communication part
The gateway apparatus according to claim 2, wherein one control result information is transmitted to the terminal apparatus as a response to one control information received from the terminal apparatus.
上記複数の固有制御部は、
制御対象機器へ制御命令を送信して上記制御命令に対する制御結果を上記制御対象機器から受信する送受信処理を、並列に行うことを特徴とする請求項2または3に記載のゲートウェイ装置。
The plurality of unique control units are
The gateway apparatus according to claim 2 or 3, wherein transmission / reception processing for transmitting a control command to a control target device and receiving a control result for the control command from the control target device is performed in parallel.
上記複数の固有制御部は、
固有の通信手段により通信を開始するために利用する情報である固有開始情報を入力することにより起動し、
上記ゲートウェイ装置は、さらに、
上記複数の固有制御部と、それぞれの固有制御部に対応する上記固有開始情報とを対応付けて記憶する固有開始情報記憶部を備え、
上記制御命令分配部は、
判別した固有制御部をもとに上記固有開始情報記憶部から上記固有制御部に対応する固有開始情報を取得し、取得した固有開始情報を上記固有制御部へ出力して上記固有制御部を起動させるとともに、上記固有制御部へ上記制御情報を出力する
ことを特徴とする請求項1〜4のいずれかに記載のゲートウェイ装置。
The plurality of unique control units are
Start by inputting unique start information, which is information used to start communication by a unique communication means,
The gateway device further includes:
A unique start information storage unit that stores the plurality of unique control units and the specific start information corresponding to each unique control unit in association with each other;
The control command distributor is
Based on the identified unique control unit, the unique start information corresponding to the unique control unit is obtained from the unique start information storage unit, and the obtained unique start information is output to the unique control unit to start the unique control unit. The gateway apparatus according to claim 1, wherein the control information is output to the specific control unit.
上記通信部は、
制御命令と、上記制御命令の対象となる制御対象機器の識別子情報と、上記制御対象機器が接続されている固有制御部を示す固有制御情報とを含む制御情報を受信し、
上記制御命令分配部は、
上記制御命令と上記制御対象機器の識別子情報とを上記固有制御情報の示す固有制御部へ出力し、
上記複数の固有制御部は、
接続されている機器の識別子情報に対応付けて上記機器のアドレス情報を記憶する機器アドレス記憶部を備え、上記制御命令分配部から上記制御命令と上記制御対象機器の識別子情報とを入力して、上記制御対象機器の識別子情報に対応するアドレス情報を上記機器アドレス記憶部から取得して、取得したアドレス情報を利用して上記制御命令を送信する
ことを特徴とする請求項1〜5のいずれかに記載のゲートウェイ装置。
The communication part
Receiving control information including a control command, identifier information of a control target device to be a target of the control command, and specific control information indicating a specific control unit to which the control target device is connected;
The control command distributor is
The control command and the identifier information of the control target device are output to the unique control unit indicated by the unique control information,
The plurality of unique control units are
A device address storage unit that stores the address information of the device in association with the identifier information of the connected device, inputs the control command and the identifier information of the device to be controlled from the control command distribution unit, The address information corresponding to the identifier information of the device to be controlled is acquired from the device address storage unit, and the control command is transmitted using the acquired address information. The gateway device described in 1.
上記通信部は、
第1の通信手段により送受信を行い、
上記複数の固有制御部は、
上記第1の通信手段以外の固有の通信手段を備えることを特徴とする請求項1〜6のいずれかに記載のゲートウェイ装置。
The communication part
Send and receive by the first communication means,
The plurality of unique control units are
The gateway apparatus according to claim 1, further comprising a unique communication unit other than the first communication unit.
上記第1の通信手段は、インターネットプロトコルによる通信手段であることを特徴とする請求項7に記載のゲートウェイ装置。   8. The gateway apparatus according to claim 7, wherein the first communication unit is a communication unit based on an Internet protocol. 端末装置と通信プロトコルの異なる複数の機器とに接続されたゲートウェイ装置であって、それぞれが通信プロトコルの異なる固有の通信手段を備えるとともに固有の通信手段により通信ができる機器と接続されている複数の固有制御部を備えるゲートウェイ装置のゲートウェイ方法であって、
通信部が、上記端末装置から複数の機器を制御するための制御命令を含む制御情報を受信する制御情報受信ステップと、
制御命令分配部が、上記通信ステップにより受信された上記制御情報を入力して、入力した上記制御情報に基づいて、上記複数の機器のうち制御対象となる制御対象機器と接続されている固有制御部を上記複数の固有制御部から判別して、判別した固有制御部へ上記制御情報を出力する制御命令分配ステップと、
上記複数の固有制御部が、上記制御命令分配ステップにより上記制御情報を入力した場合、自己の備える固有の通信手段により上記制御対象機器に上記制御命令を送信して上記制御対象機器の制御を行う固有制御ステップと
を備えることを特徴とするゲートウェイ装置のゲートウェイ方法。
A gateway device connected to a terminal device and a plurality of devices having different communication protocols, each having a unique communication means having a different communication protocol and a plurality of devices connected to a device capable of communicating by the unique communication means A gateway method of a gateway device including a unique control unit,
A control unit receiving a control information including a control command for controlling a plurality of devices from the terminal device;
The control command distribution unit inputs the control information received in the communication step, and based on the input control information, the unique control connected to the control target device to be controlled among the plurality of devices A control command distribution step for discriminating a unit from the plurality of unique control units and outputting the control information to the identified unique control unit;
When the plurality of unique control units input the control information in the control command distribution step, the control commands are transmitted to the control target device by a unique communication means provided therein to control the control target device. A gateway method of the gateway device, comprising: a unique control step.
上記ゲートウェイ装置のゲートウェイ方法は、さらに、
上記複数の固有制御部が、上記制御対象機器に送信した上記制御命令に対する制御結果を、上記制御対象機器から自己の備える固有の通信手段により受信して、受信した上記制御結果を出力する固有制御結果出力ステップと、
制御結果収集部が、固有制御結果出力ステップにより出力された上記制御結果を入力して、入力した上記制御結果を収集して、上記制御情報に対する応答となる制御結果情報を生成して、生成した制御結果情報を上記通信部へ出力する制御結果収集ステップと、
上記通信部が、上記制御結果収集ステップにより出力された上記制御結果情報を入力して、入力した上記制御結果情報を、上記端末装置へ送信する制御結果情報送信ステップと
を備えることを特徴とする請求項9に記載のゲートウェイ装置のゲートウェイ方法。
The gateway method of the gateway device further includes:
Specific control for receiving a control result for the control command transmitted to the control target device by the plurality of specific control units from the control target device by a specific communication means included in the control target device and outputting the received control result A result output step;
The control result collection unit inputs the control result output by the unique control result output step, collects the input control result, generates control result information that is a response to the control information, and generates A control result collection step for outputting control result information to the communication unit;
The communication unit includes a control result information transmission step of inputting the control result information output by the control result collection step and transmitting the input control result information to the terminal device. The gateway method of the gateway apparatus of Claim 9.
請求項9または10に記載のゲートウェイ装置のゲートウェイ方法をコンピュータに実行させることを特徴とするゲートウェイプログラム。   A gateway program for causing a computer to execute the gateway method of the gateway device according to claim 9 or 10.
JP2007244683A 2007-09-21 2007-09-21 Gateway device, gateway method of gateway device, and gateway program Expired - Fee Related JP5014040B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007244683A JP5014040B2 (en) 2007-09-21 2007-09-21 Gateway device, gateway method of gateway device, and gateway program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007244683A JP5014040B2 (en) 2007-09-21 2007-09-21 Gateway device, gateway method of gateway device, and gateway program

Publications (2)

Publication Number Publication Date
JP2009077194A true JP2009077194A (en) 2009-04-09
JP5014040B2 JP5014040B2 (en) 2012-08-29

Family

ID=40611742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007244683A Expired - Fee Related JP5014040B2 (en) 2007-09-21 2007-09-21 Gateway device, gateway method of gateway device, and gateway program

Country Status (1)

Country Link
JP (1) JP5014040B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028571A (en) * 2009-07-27 2011-02-10 Panasonic Electric Works Co Ltd Monitor and control apparatus
CN111587561A (en) * 2018-03-09 2020-08-25 株式会社日立高新技术 Distributed control system and communication control method thereof
JP2020136920A (en) * 2019-02-20 2020-08-31 パナソニックIpマネジメント株式会社 Voice control system and voice control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003018667A (en) * 2001-06-28 2003-01-17 Matsushita Electric Works Ltd Network distribution type building facilities supervisory control system
JP2004280717A (en) * 2003-03-18 2004-10-07 Matsushita Electric Works Ltd Remote control monitoring system and information communicating method used therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003018667A (en) * 2001-06-28 2003-01-17 Matsushita Electric Works Ltd Network distribution type building facilities supervisory control system
JP2004280717A (en) * 2003-03-18 2004-10-07 Matsushita Electric Works Ltd Remote control monitoring system and information communicating method used therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028571A (en) * 2009-07-27 2011-02-10 Panasonic Electric Works Co Ltd Monitor and control apparatus
CN111587561A (en) * 2018-03-09 2020-08-25 株式会社日立高新技术 Distributed control system and communication control method thereof
US11343119B2 (en) 2018-03-09 2022-05-24 Hitachi High-Tech Corporation Distributed control system and communication control method therefor
JP2020136920A (en) * 2019-02-20 2020-08-31 パナソニックIpマネジメント株式会社 Voice control system and voice control method

Also Published As

Publication number Publication date
JP5014040B2 (en) 2012-08-29

Similar Documents

Publication Publication Date Title
US10313535B2 (en) Remote support apparatus, electronic apparatus, remote support method, and storage medium
US20050195390A1 (en) Method of testing open services gateway initiative service platform and test tool using the method
US9584679B2 (en) Information processing apparatus, control method therefor, and medium
JP2008287633A (en) Hba information service program, hba information service method, and hba information service system
US8689057B2 (en) Network apparatus, control method therefor, and storage medium
US7165202B2 (en) Method and apparatus to perform customized error handling
JP4880376B2 (en) Support apparatus, program, information processing system, and support method
US10320998B2 (en) Information processing system, image forming apparatus, control methods thereof, and storage medium
JP5014040B2 (en) Gateway device, gateway method of gateway device, and gateway program
US20150256446A1 (en) Method and apparatus for relaying commands
JP2008210089A (en) Command relay unit and command relay program
US6966014B2 (en) Method for system obstacle correspondence support
JP6436705B2 (en) Test execution device, test execution method, and computer program
US10735440B2 (en) Communication destination determination device, communication destination determination method, and recording medium
JP5086820B2 (en) Service management method, system and program
JP2007335960A (en) Information providing apparatus and information providing method, and program
JP5088738B2 (en) Fault monitoring apparatus, fault monitoring method, and program therefor
US20150326677A1 (en) Screen information collecting computer, screen information collecting method, and computer-readable storage medium
JP6436704B2 (en) Test execution device, test execution method, and computer program
JP2007102794A (en) Information processing system having front end processing function
JP2014078126A (en) Remote log collection system for equipment and remote log collection method for equipment
KR20050059366A (en) Driver agent device for support of remote device driver develop environment in the embedded system and operation method thereof
JP6353759B2 (en) Test execution device, test execution method, and computer program
WO2010035480A1 (en) Distributed processing system, distributed processing method, and program
JP2008015857A (en) Network system, program, and method for executing application of network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111027

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120605

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

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees