JP2021010058A - Gateway device and program - Google Patents
Gateway device and program Download PDFInfo
- Publication number
- JP2021010058A JP2021010058A JP2019121629A JP2019121629A JP2021010058A JP 2021010058 A JP2021010058 A JP 2021010058A JP 2019121629 A JP2019121629 A JP 2019121629A JP 2019121629 A JP2019121629 A JP 2019121629A JP 2021010058 A JP2021010058 A JP 2021010058A
- Authority
- JP
- Japan
- Prior art keywords
- command
- network
- library
- received
- response
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 59
- 230000004044 response Effects 0.000 claims abstract description 47
- 238000004891 communication Methods 0.000 claims abstract description 21
- 230000005540 biological transmission Effects 0.000 description 30
- 238000000034 method Methods 0.000 description 8
- 238000012546 transfer Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000005316 response function Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、ゲートウェイ装置及びプログラムに関する。 The present invention relates to gateway devices and programs.
異なるネットワーク間の通信において、双方のプロトコル間の通信速度が大きく異なる場合、高速側のプロトコルが要求する応答速度に低速側が間に合わず、この際の遅延の許容を高速側のネットワークに接続される機器に要求せざるを得ないという問題がある。 In communication between different networks, if the communication speed between both protocols is significantly different, the low-speed side cannot keep up with the response speed required by the high-speed side protocol, and the device connected to the high-speed side network allows the delay at this time. There is a problem that we have no choice but to request.
これに対し、例えば、特許文献1には、ルータ機器が宛先機器に代わって代理応答を行うことが記載されている。
On the other hand, for example,
ルーティング機能を持たないゲートウェイ装置が代理応答を行うためには、ネットワークに接続される機器に関する機器情報を適宜更新可能な態様で常時保持することが必要である。 In order for a gateway device that does not have a routing function to perform a proxy response, it is necessary to always hold device information about devices connected to the network in an appropriately updateable manner.
しかしながら、従来のゲートウェイ装置においては、プロトコルが更新される際、プログラム全体を書き換える必要があるため、保持している機器情報も消去されてしまい、再起動後、直ちに代理応答が行えず、しばらくの間、通信が遮断されてしまうという問題がある。 However, in the conventional gateway device, when the protocol is updated, it is necessary to rewrite the entire program, so that the device information held is also erased, and a proxy response cannot be performed immediately after restarting, and for a while. During that time, there is a problem that communication is cut off.
本発明は、上記問題を解決するためになされたものであり、プロトコル間の通信速度が異なる場合の不都合を解消すると共に、プロトコル更新時の通信遮断を極力回避することが可能なゲートウェイ装置等を提供することを目的とする。 The present invention has been made to solve the above problems, and provides a gateway device or the like that can solve the inconvenience when the communication speeds differ between protocols and avoid communication interruption at the time of protocol update as much as possible. The purpose is to provide.
上記目的を達成するため、本発明に係るゲートウェイ装置は、
CPUと、記憶装置と、通信インタフェースと、を備え、第1ネットワークと第2ネットワークとに接続されるゲートウェイ装置であって、
前記CPUが前記記憶装置に記憶されたプログラムを実行することで提供される機能であって、前記第1ネットワークに接続される第1機器から前記第2ネットワークに接続される第2機器に対して送信された要求コマンドを受信し、前記記憶装置に記憶された前記第1機器及び前記第2機器のそれぞれに関する機器情報が格納されるオブジェクトテーブルを参照して、前記要求コマンドの内容に応じた応答コマンドを生成し、生成した応答コマンドを前記第1機器に送信する代理応答手段を備え、
前記プログラムには、前記オブジェクトテーブルの管理に関する処理を実行するための管理モジュールと、受信したコマンドに応じた処理を実行するためのコマンド処理モジュールと、前記第1機器との間で送受信されるコマンドの内容と前記第2機器との間で送受信されるコマンドの内容とが定義された指令ライブラリと、前記第1機器及び前記第2機器のそれぞれのクラスが定義されたオブジェクトライブラリと、が含まれ、
前記指令ライブラリと、前記オブジェクトライブラリとの内の少なくとも1つの更新によって、適用対象のプロトコルが更新され得る。
In order to achieve the above object, the gateway device according to the present invention
A gateway device including a CPU, a storage device, and a communication interface, which is connected to a first network and a second network.
A function provided by the CPU executing a program stored in the storage device, from a first device connected to the first network to a second device connected to the second network. A response according to the content of the request command is received by receiving the transmitted request command and referring to the object table in which the device information about each of the first device and the second device stored in the storage device is stored. A proxy response means for generating a command and transmitting the generated response command to the first device is provided.
The program includes a management module for executing processing related to management of the object table, a command processing module for executing processing according to a received command, and commands sent and received between the first device. A command library in which the contents of the above and the contents of commands sent and received between the second devices are defined, and an object library in which the classes of the first device and the second device are defined are included. ,
The protocol to be applied can be updated by updating at least one of the command library and the object library.
本発明によれば、プロトコル間の通信速度が異なる場合の不都合を解消すると共に、プロトコル更新時の通信遮断を極力回避することが可能となる。 According to the present invention, it is possible to eliminate the inconvenience when the communication speeds of the protocols are different and to avoid the communication interruption at the time of updating the protocol as much as possible.
以下、本発明の実施の形態について図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施の形態に係るゲートウェイ装置1を備えたネットワークシステムの全体構成を示す図である。このネットワークシステムでは、ネットワークN1に1又は複数の第1機器2とゲートウェイ装置1とが接続され、ネットワークN2にゲートウェイ装置1と1又は複数の第2機器とが接続される。このネットワークシステムは、例えば、監視端末等の第1機器2により、ビル内に設置される空調機、照明器等の設備機器である第2機器を監視するシステムに適用される。ネットワークN1は、本発明に係る第1ネットワークの一例であり、ネットワークN2は、本発明に係る第2ネットワークの一例である。
FIG. 1 is a diagram showing an overall configuration of a network system including the
ゲートウェイ装置1は、ネットワークN1を介して受信した第1機器2からのデータをネットワークN2を介して第2機器3に転送し、ネットワークN2を介して受信した第2機器3からのデータをネットワークN1を介して第1機器2に転送する、一般的なゲートウェイ装置が備える転送機能と、後述する代理応答機能とを有する装置である。
The
図2に示すように、ゲートウェイ装置1は、通信インタフェース10と、CPU(Central Processing Unit)11と、ROM(Read Only Memory)12と、RAM(Random Access Memory)13と、二次記憶装置14とを備える。これらの構成部は、バス15を介して相互に接続される。
As shown in FIG. 2, the
通信インタフェース10は、本発明に係るゲートウェイ装置が備える通信インタフェースの一例である。通信インタフェース10は、ネットワークN1に接続して、各第1機器2とネットワークN1を介して通信するためのネットワークカード等の装置と、ネットワークN2に接続して、各第2機器3とネットワークN2を介して通信するためのネットワークカード等の装置とを含んで構成される。
The
CPU11は、本発明に係るゲートウェイ装置が備えるCPUの一例であり、ゲートウェイ装置1を統括的に制御する。ROM12は、複数のファームウェア及びこれらのファームウェアの実行時に使用されるデータを記憶する。RAM13は、CPU11の作業領域として使用される。
The
二次記憶装置14は、本発明に係るゲートウェイ装置が備える記憶装置の一例である。二次記憶装置14は、EEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュメモリ等の読み書き可能な不揮発性の半導体メモリ、HDD(Hard Disk Drive)等で構成される記憶装置である。二次記憶装置14は、図3に示すように、プログラム140と、オブジェクトテーブル141とを記憶する。
The
プログラム140は、本発明に係るプログラムの一例であり、上述した転送機能と代理応答機能とに係る処理が記述されたプログラムである。詳細には、プログラム140には、図4に示すように、管理モジュール1400と、コマンド処理モジュール1401と、指令ライブラリ1402と、オブジェクトライブラリ1403と、第1ドライバ1404と、第2ドライバ1405とが含まれる。
The
管理モジュール1400は、本発明に係る管理モジュールの一例であり、オブジェクトテーブル141の管理に関する処理を実行するためのモジュールである。オブジェクトテーブル141は、本発明に係るオブジェクトテーブルの一例であり、ネットワークN1に接続される各第1機器2の機器情報と、ネットワークN2に接続される各第2機器3の機器情報とが格納されるデータテーブルである。例えば、第2機器3の機器情報には、運転状態、センサの計測値(例えば室温)等の動的に変化するデータが含まれる。
The
コマンド処理モジュール1401は、本発明に係るコマンド処理モジュールの一例であり、受信したコマンドに応じた処理を実行するためのモジュールである。
The
指令ライブラリ1402は、本発明に係る指令ライブラリの一例であり、各第1機器2との間で送受信されるコマンドの内容と、各第2機器3との間で送受信されるコマンドの内容と、プロトコル変換式等とが定義されたライブラリである。コマンドの内容には、例えば、アドレス、シーケンス番号、コマンド種別、プロパティ等が含まれる。
The
オブジェクトライブラリ1403は、本発明に係るオブジェクトライブラリの一例であり、各第1機器2のクラスと各第2機器3のクラスとが定義されたライブラリである。
The
第1ドライバ1404は、ネットワークN1を介したデータ送受信に関する処理を実行するためのモジュールである。第2ドライバ1405は、ネットワークN2を介したデータ送受信に関する処理を実行するためのモジュールである。
The
本実施の形態において、管理モジュール1400とコマンド処理モジュール1401とは、ネットワークN1及びN2のそれぞれのプロトコルに依存することなく、複数のプロトコルに共通する仕様で生成される。以下、適宜、管理モジュール1400とコマンド処理モジュール1401とを汎用部と総称し、指令ライブラリ1402と、オブジェクトライブラリ1403と、第1ドライバ1404と、第2ドライバ1405とを非汎用部と総称する。
In the present embodiment, the
上記の汎用部と非汎用部との間は、総結合化されている。このため、適用対象のプロトコルのアップデート等の更新又は適用対象のプロトコルの変更は、依存部に属する、指令ライブラリ1402、オブジェクトライブラリ1403、第1ドライバ1404及び第2ドライバ1405の内、少なくとも1つを更新又は変更することで対処できるようになっている。
The general-purpose part and the non-general-purpose part are fully coupled. Therefore, when updating the application target protocol or changing the application target protocol, at least one of the
ゲートウェイ装置1は、機能的には、図5に示すように、オブジェクト管理部100と、コマンド処理部101と、第1送受信部102と、第2送受信部103とを備える。これらの機能部は、CPU11が、二次記憶装置14に記憶されるプログラム140を実行することで実現される。
Functionally, as shown in FIG. 5, the
詳細には、オブジェクト管理部100は、CPU11が、プログラム140における管理モジュール1400を実行することで実現され、コマンド処理部101は、CPU11が、プログラム140におけるコマンド処理モジュール1401を実行することで実現され、第1送受信部102は、CPU11が、プログラム140における第1ドライバ1404を実行することで実現され、第2送受信部103は、CPU11が、プログラム140における第2ドライバ1405を実行することで実現される。
Specifically, the
オブジェクト管理部100は、オブジェクトテーブル141の管理に関する処理を実行する。詳細には、オブジェクト管理部100は、コマンド処理部101からの要求に従って、オブジェクトテーブル141から機器情報を読み込む処理と、オブジェクトテーブル141に機器情報を書き込む処理とを実行する。
The
コマンド処理部101は、指令ライブラリ1402とオブジェクトライブラリ1403とを参照して、受信したコマンドを解析し、当該コマンドに応じた処理を実行する。詳細には、コマンド処理部101は、ゲートウェイ装置1が転送機能に基づいて動作する場合、第1機器2から受信した第2機器3に対するコマンドを、ネットワークN2のプロトコルに則ったコマンドに変換して第2機器3に転送し、また、第2機器3から受信した第1機器2に対するコマンドを、ネットワークN1のプロトコルに則ったコマンドに変換して第1機器2に転送する。
The
また、ゲートウェイ装置1が代理応答機能に基づいて動作する場合、コマンド処理部101は、第1機器2から第2機器3に対する要求コマンドを受信すると、オブジェクトテーブル141に保存されている従前の機器情報に基づいて、当該要求コマンドに対する応答コマンドを生成し、生成した応答コマンドを第1送受信部102を介して第1機器2に送信する。また、コマンド処理部101は、第2機器3に対して、第1機器2から受信した要求コマンドをネットワークN2のプロトコルに則った要求コマンド(以下、二次要求コマンドという。)に変換し、第2送受信部103を介して第2機器3に送信する。そして、コマンド処理部101は、二次要求コマンドに対する応答コマンド(以下、二次応答コマンドという。)を第2送受信部103を介して受信すると、受信した二次応答コマンドに基づいてオブジェクトテーブル141を更新する。
Further, when the
転送機能と代理応答機能とは、ネットワークN1とN2の双方のプロトコルの通信速度の差に応じて切り替えられる。以下の説明では、ネットワークN1のプロトコルの通信速度が高速であり、ネットワークN2のプロトコルの通信速度が低速であり、ゲートウェイ装置1が代理応答機能で動作するものとする。
The transfer function and the proxy response function are switched according to the difference in communication speed between the protocols of both networks N1 and N2. In the following description, it is assumed that the communication speed of the protocol of the network N1 is high, the communication speed of the protocol of the network N2 is low, and the
また、コマンド処理部101は、第1機器2からプロトコル更新を示す要求コマンドを受信すると、当該要求コマンドの内容に従って指令ライブラリ1402及び/又はオブジェクトライブラリ1403を更新する。
When the
第1送受信部102は、ネットワークN1を介したデータ送受信に関する処理を行う。詳細には、第1送受信部102は、第1機器2から送信された要求コマンドをネットワークN1を介して受信し、受信した要求コマンドを図示しないバッファ(以下、第1バッファという。)を介してコマンド処理部101に供給する。また、コマンド処理部101から第1バッファを介して供給された応答コマンドをネットワークN1を介して第1機器2に送信する。
The first transmission /
第2送受信部103は、ネットワークN2を介したデータ送受信に関する処理を行う。詳細には、第2送受信部103は、コマンド処理部101から図示しないバッファ(以下、第2バッファという。)を介して供給された二次要求コマンドをネットワークN2を介して第2機器3に送信する。また、第2機器3から送信された二次応答コマンドをネットワークN2を介して受信し、受信した二次応答コマンドを第2バッファを介してコマンド処理部101に供給する。
The second transmission /
オブジェクト管理部100、コマンド処理部101、第1送受信部102及び第2送受信部103は、本発明に係る代理応答手段の一例である。
The
図6は、ゲートウェイ装置1が実行する処理の手順を示すフローチャートである。ネットワークN1を介して何れかの第1機器2から要求コマンドを受信すると(ステップS101;YES)、ゲートウェイ装置1は、受信した要求コマンドを解析し、当該要求コマンドが示す要求内容を判別する。
FIG. 6 is a flowchart showing a procedure of processing executed by the
受信した要求コマンドが、プロトコル更新の要求を示す場合(ステップS102;YES)、ゲートウェイ装置1は、当該要求コマンドの内容に従って指令ライブラリ1402及び/又はオブジェクトライブラリ1403を更新する(ステップS103)。その後、ゲートウェイ装置1の処理は、ステップS101に戻る。
When the received request command indicates a protocol update request (step S102; YES), the
一方、受信した要求コマンドが、プロトコル更新の要求を示すものではない、即ち、何れかの第2機器3に対する機器情報の要求を示す場合(ステップS102;NO)、ゲートウェイ装置1は、保持している当該第2機器3の従前の機器情報に基づいて、当該要求コマンドに対する応答コマンドを生成する(ステップS104)。そして、ゲートウェイ装置1は、生成した応答コマンドをネットワークN1を介して要求元の第1機器2に送信する(ステップS105)。
On the other hand, when the received request command does not indicate a request for protocol update, that is, indicates a request for device information to any second device 3 (step S102; NO), the
また、ゲートウェイ装置1は、受信した要求コマンドをネットワークN2のプロトコルに則った二次要求コマンドに変換し(ステップS106)、対応する第2機器3に送信する(ステップS107)。
Further, the
二次要求コマンドに対する二次応答コマンドを受信すると(ステップ108;YES)、ゲートウェイ装置1は、受信した二次応答コマンドに基づいて、オブジェクトテーブル141を更新する(ステップS109)。その後、ゲートウェイ装置1の処理は、ステップS101に戻る。
Upon receiving the secondary response command for the secondary request command (step 108; YES), the
図7は、ゲートウェイ装置1が代理応答を行う際の各機能部間の処理の流れを示すシーケンス図である。ゲートウェイ装置1の第1送受信部102は、第1機器2から送信された要求コマンドをネットワークN1を介して受信すると、受信した要求コマンドを第1バッファを介してコマンド処理部101に供給する(ステップS201)。
FIG. 7 is a sequence diagram showing a processing flow between each functional unit when the
コマンド処理部101は、第1送受信部102から供給された要求コマンドを指令ライブラリ1402とオブジェクトライブラリ1403とを参照して解析し、当該要求コマンドで要求される第2機器3の機器情報を判別し、判別した機器情報をオブジェクト管理部100に要求する(ステップS202)。
The
オブジェクト管理部100は、要求された機器情報をオブジェクトテーブル141から取得し、取得した機器情報をコマンド処理部101に供給する(ステップS203)。
The
コマンド処理部101は、オブジェクト管理部100から供給された機器情報と、指令ライブラリ1402とに基づいて応答コマンドを生成し、第1バッファを介して第1送受信部102に供給すると共に、第1送受信部102から供給された要求コマンドを、指令ライブラリ1402を参照して二次要求コマンドに変換し、第2バッファを介して第2送受信部103に供給する(ステップS204)。
The
第1送受信部102は、コマンド処理部101から第1バッファを介して供給された応答コマンドをネットワークN1を介して要求元の第1機器2に送信する(ステップS205)。
The first transmission /
第2送受信部103は、コマンド処理部101から第2バッファを介して供給された二次要求コマンドをネットワークN2を介して対応する第2機器3に送信する(ステップS206)。
The second transmission /
第2機器3は、ゲートウェイ装置1の第2送受信部103から送信された二次要求コマンドをネットワークN2を介して受信すると、当該二次要求コマンドで要求される自機器の機器情報を取得し、取得した機器情報が格納された二次応答コマンドを生成し、生成した二次応答コマンドをネットワークN2を介してゲートウェイ装置1に送信する(ステップS207)。
When the
ゲートウェイ装置1の第2送受信部103は、第2機器3から送信された二次応答コマンドをネットワークN2を介して受信すると、受信した二次応答コマンドを第2バッファを介してコマンド処理部101に供給する(ステップS208)。
When the second transmission /
コマンド処理部101は、第2送受信部103から供給された二次応答コマンドを第2バッファを介して受け取ると、当該二次応答コマンドから機器情報を抽出し、抽出した機器情報をオブジェクト管理部100に供給してオブジェクトテーブル141の更新を要求する(ステップS209)。
When the
オブジェクト管理部100は、コマンド処理部101から供給された機器情報に基づいて、オブジェクトテーブル141を更新する(ステップS210)。
The
以上説明したように、本実施の形態のゲートウェイ装置1によれば、代理応答機能を有するため、ネットワークN1とN2のそれぞれのプロトコルの通信速度が大きく異なる場合の不都合を解消することが可能となる。
As described above, since the
さらに、汎用部、即ち、オブジェクトテーブル141を管理するオブジェクト管理部100に対応する管理モジュール1400と、受信したコマンドに応じた処理を行うコマンド処理部101に対応するコマンド処理モジュール1401とが、特定のプロトコルに依存せずに、複数のプロトコルに共通する仕様で生成される。そして、汎用部と、非汎用部(指令ライブラリ1402、オブジェクトライブラリ1403、第1ドライバ1404及び第2ドライバ1405)との間は、疎結合化されている。
Further, the general-purpose unit, that is, the
これにより、例えば、プロトコルのアップデート等の更新時において、指令ライブラリ1402及び/又はオブジェクトライブラリ1403を更新等するだけでよい。このため、プログラム140の再起動の必要がなく、また、オブジェクトテーブル141に格納される機器情報が維持されるため、通信遮断を極力回避することが可能となる。
Thereby, for example, at the time of updating such as updating the protocol, it is only necessary to update the
また、適用対象を他のプロトコルに変更する場合、ゲートウェイ装置1において、非汎用部に属する、指令ライブラリ1402、オブジェクトライブラリ1403、第1ドライバ1404及び第2ドライバ1405の内の少なくとも1つを変更するだけで済むため、作業性がよい。また、プロトコルの変更に伴い、プログラム140を改修する場合、プログラム140全体を改修する必要がなく、指令ライブラリ1402、オブジェクトライブラリ1403、第1ドライバ1404及び第2ドライバ1405の内の少なくとも1つを改修すればよいため、拡張性がよく、開発コスト、メンテナンスコストの低減化が図れる。
When changing the application target to another protocol, at least one of the
なお、本発明は、上記の実施の形態に限定されず、本発明の要旨を逸脱しない範囲での種々の変更は勿論可能である。 It should be noted that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.
例えば、各第2機器3から定期的に機器情報が格納された通報コマンドが、ゲートウェイ装置1に送信される場合、ゲートウェイ装置1は、代理応答の際、二次要求コマンドを第2機器3に送信しなくてもよい。
For example, when a notification command in which device information is periodically stored is transmitted from each
上記の実施の形態では、指令ライブラリ1402と、オブジェクトライブラリ1403との内の少なくとも1つの更新によって、適用対象のプロトコルが更新され得る例について説明した。しかし、ネットワークN1のプロトコルが更新される際、必要に応じて第1ドライバ1404が更新されてもよいし、ネットワークN2のプロトコルが更新される際、必要に応じて第2ドライバ1405が更新されてもよい。
In the above embodiment, an example has been described in which the protocol to be applied can be updated by updating at least one of the
また、プログラム140の全体、プログラム140の一部のモジュール又はライブラリは、CD−ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、光磁気ディスク(Magneto-Optical Disc)、USB(Universal Serial Bus)メモリ、メモリカード、HDD等のコンピュータ読み取り可能な記録媒体に格納して配布することが可能である。
In addition, the
また、プログラム140の全体、プログラム140の一部のモジュール又はライブラリをインターネット上の他のサーバが有するディスク装置等に格納しておき、当該サーバからゲートウェイ装置1に、プログラム140の全体、プログラム140の一部のモジュール又はライブラリがダウンロードされるようにしてもよい。
Further, the
本発明は、広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能である。また、上述した実施の形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、特許請求の範囲によって示される。そして、特許請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention is capable of various embodiments and modifications without departing from the broad spirit and scope. Moreover, the above-described embodiment is for explaining the present invention, and does not limit the scope of the present invention. That is, the scope of the present invention is indicated by the scope of claims, not by the embodiment. Then, various modifications made within the scope of the claims and the equivalent meaning of the invention are considered to be within the scope of the present invention.
1 ゲートウェイ装置、2 第1機器、3 第2機器、10 通信インタフェース、11 CPU、12 ROM、13 RAM、14 二次記憶装置、15 バス、100 オブジェクト管理部、101 コマンド処理部、102 第1送受信部、103 第2送信部、140 プログラム、141 オブジェクトテーブル、1400 管理モジュール、1401 コマンド処理モジュール、1402 指令ライブラリ、1403 オブジェクトライブラリ、1404 第1ドライバ、1405 第2ドライバ、N1,N2 ネットワーク 1 Gateway device, 2 1st device, 3 2nd device, 10 communication interface, 11 CPU, 12 ROM, 13 RAM, 14 secondary storage device, 15 bus, 100 object management unit, 101 command processing unit, 102 first transmission / reception Unit, 103 Second transmitter, 140 program, 141 object table, 1400 management module, 1401 command processing module, 1402 command library, 1403 object library, 1404 first driver, 1405 second driver, N1, N2 network
Claims (4)
前記CPUが前記記憶装置に記憶されたプログラムを実行することで提供される機能であって、前記第1ネットワークに接続される第1機器から前記第2ネットワークに接続される第2機器に対して送信された要求コマンドを受信し、前記記憶装置に記憶された前記第1機器及び前記第2機器のそれぞれに関する機器情報が格納されるオブジェクトテーブルを参照して、前記要求コマンドの内容に応じた応答コマンドを生成し、生成した応答コマンドを前記第1機器に送信する代理応答手段を備え、
前記プログラムには、前記オブジェクトテーブルの管理に関する処理を実行するための管理モジュールと、受信したコマンドに応じた処理を実行するためのコマンド処理モジュールと、前記第1機器との間で送受信されるコマンドの内容と前記第2機器との間で送受信されるコマンドの内容とが定義された指令ライブラリと、前記第1機器及び前記第2機器のそれぞれのクラスが定義されたオブジェクトライブラリと、が含まれ、
前記指令ライブラリと、前記オブジェクトライブラリとの内の少なくとも1つの更新によって、適用対象のプロトコルが更新され得る、ゲートウェイ装置。 A gateway device including a CPU, a storage device, and a communication interface, which is connected to a first network and a second network.
A function provided by the CPU executing a program stored in the storage device, from a first device connected to the first network to a second device connected to the second network. A response according to the content of the request command is received by receiving the transmitted request command and referring to the object table in which the device information about each of the first device and the second device stored in the storage device is stored. A proxy response means for generating a command and transmitting the generated response command to the first device is provided.
The program includes a management module for executing processing related to management of the object table, a command processing module for executing processing according to a received command, and commands sent and received between the first device. A command library in which the contents of the above and the contents of commands sent and received between the second devices are defined, and an object library in which the classes of the first device and the second device are defined are included. ,
A gateway device in which an applicable protocol can be updated by updating at least one of the command library and the object library.
第1ネットワークに接続される第1機器から第2ネットワークに接続される第2機器に対して送信された要求コマンドを受信し、記憶装置に記憶された前記第1機器及び前記第2機器のそれぞれに関する機器情報が格納されるオブジェクトテーブルを参照して、前記要求コマンドの内容に応じた応答コマンドを生成し、生成した応答コマンドを前記第1機器に送信する代理応答手段、として機能させるためのプログラムであって、
前記オブジェクトテーブルの管理に関する処理を実行するための管理モジュールと、
受信したコマンドに応じた処理を実行するためのコマンド処理モジュールと、
前記第1機器との間で送受信されるコマンドの内容と前記第2機器との間で送受信されるコマンドの内容とが定義された指令ライブラリと、
前記第1機器及び前記第2機器のそれぞれのクラスが定義されたオブジェクトライブラリと、を含み、
前記指令ライブラリと、前記オブジェクトライブラリとの内の少なくとも1つの更新によって、適用対象のプロトコルが更新され得る、プログラム。 Computer,
Each of the first device and the second device stored in the storage device after receiving the request command transmitted from the first device connected to the first network to the second device connected to the second network. A program for generating a response command according to the content of the request command and functioning as a proxy response means for transmitting the generated response command to the first device by referring to an object table in which device information related to the device is stored. And
A management module for executing the processing related to the management of the object table, and
A command processing module for executing processing according to the received command,
A command library that defines the contents of commands sent and received to and from the first device and the contents of commands sent and received to and from the second device.
Includes an object library in which each class of the first device and the second device is defined.
A program in which an applicable protocol can be updated by updating at least one of the command library and the object library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019121629A JP7246271B2 (en) | 2019-06-28 | 2019-06-28 | Gateway device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019121629A JP7246271B2 (en) | 2019-06-28 | 2019-06-28 | Gateway device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021010058A true JP2021010058A (en) | 2021-01-28 |
JP7246271B2 JP7246271B2 (en) | 2023-03-27 |
Family
ID=74199641
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019121629A Active JP7246271B2 (en) | 2019-06-28 | 2019-06-28 | Gateway device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7246271B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1185712A (en) * | 1997-09-08 | 1999-03-30 | Nec Corp | Network monitoring system and its file transfer method |
JP2005309669A (en) * | 2004-04-20 | 2005-11-04 | Nec Fielding Ltd | Information collecting system and method |
US20160006604A1 (en) * | 2014-07-03 | 2016-01-07 | GroundControl Solutions, Inc. | System For Cloud-Managed Mobile Device Administration |
JP2016127321A (en) * | 2014-12-26 | 2016-07-11 | 日本電信電話株式会社 | Dynamic control system and dynamic control method |
-
2019
- 2019-06-28 JP JP2019121629A patent/JP7246271B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1185712A (en) * | 1997-09-08 | 1999-03-30 | Nec Corp | Network monitoring system and its file transfer method |
JP2005309669A (en) * | 2004-04-20 | 2005-11-04 | Nec Fielding Ltd | Information collecting system and method |
US20160006604A1 (en) * | 2014-07-03 | 2016-01-07 | GroundControl Solutions, Inc. | System For Cloud-Managed Mobile Device Administration |
JP2016127321A (en) * | 2014-12-26 | 2016-07-11 | 日本電信電話株式会社 | Dynamic control system and dynamic control method |
Also Published As
Publication number | Publication date |
---|---|
JP7246271B2 (en) | 2023-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8776080B2 (en) | Management component transport protocol interconnect filtering and routing | |
EP2562970A1 (en) | Switch, and flow table control method | |
US11394800B2 (en) | Systems and methods for remote network topology discovery | |
CN110581805A (en) | Routing table updating method, device, switch and storage medium | |
CN105491082B (en) | Remote resource access method and switching equipment | |
JP7246271B2 (en) | Gateway device and program | |
CN110278716B (en) | PLC, network unit, CPU unit, and data transfer method | |
US9509657B2 (en) | Information processing apparatus, relay method, and computer-readable storage medium | |
US20220327088A1 (en) | Predicting free buffer space in a usb extension environment | |
WO2017047657A1 (en) | Buffer control apparatus, communication node, and relay apparatus | |
KR102555907B1 (en) | A vehicle and method for controlling communication thereof | |
JP6273972B2 (en) | Information processing apparatus, transmission / reception apparatus, and control method for information processing apparatus | |
JP7091929B2 (en) | Relay system | |
KR100643815B1 (en) | I/o configuration messaging within a link-based computing system | |
US11656898B2 (en) | Information processing device, method, and program | |
US20210320899A1 (en) | Notification device and notification method | |
US20140281053A1 (en) | I/o device control system and method for controlling i/o device | |
CN113711195A (en) | Transmission device, information processing device, and data transmission method | |
JP2009199281A (en) | Data transmission device | |
JP7338272B2 (en) | Information processing device and information processing program | |
WO2023132033A1 (en) | Relay device, relay method, and program | |
JP4455209B2 (en) | Information processing device | |
KR20090000743A (en) | Method for remote-controlling pc by use of internet protocol address and apparatus thereof | |
JP2022120453A (en) | Maintenance control apparatus, maintenance control method, maintenance control system, and maintenance control program | |
JP2006005719A (en) | Address conversion program, program utilizing method, information processor and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220411 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230131 |
|
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: 20230214 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230314 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7246271 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |