JP2004266689A - Method for controlling apparatus connected to internal network, relay control apparatus, and relay control program - Google Patents

Method for controlling apparatus connected to internal network, relay control apparatus, and relay control program Download PDF

Info

Publication number
JP2004266689A
JP2004266689A JP2003056489A JP2003056489A JP2004266689A JP 2004266689 A JP2004266689 A JP 2004266689A JP 2003056489 A JP2003056489 A JP 2003056489A JP 2003056489 A JP2003056489 A JP 2003056489A JP 2004266689 A JP2004266689 A JP 2004266689A
Authority
JP
Japan
Prior art keywords
control
control command
control device
remote control
internal network
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.)
Pending
Application number
JP2003056489A
Other languages
Japanese (ja)
Inventor
Makoto Takahashi
誠 高橋
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2003056489A priority Critical patent/JP2004266689A/en
Publication of JP2004266689A publication Critical patent/JP2004266689A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a new technology capable of controlling a plurality of apparatuses connected to an internal network in response to an instruction from a remote control apparatus connected to an external network via a firewall. <P>SOLUTION: The internal network periodically connects with the external network via the firewall to receive a control instruction applied to control object apparatuses, transfers the control instruction to the control object apparatus designated by transfer destination information recorded in a header of the received control instruction, receives a result of the execution, and returns the result to the external network as a reply with respect to the received control instruction so as to control the control object apparatus connected to the internal network. Thus, even when the plurality of control object apparatuses exist, the internal network can control the control object apparatuses in response to the instruction from the external network. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ファイアウォールを介して接続される外部ネットワーク接続の遠隔制御装置からの指示に応答して、内部ネットワークに接続される複数の機器を制御する制御方法と、その制御方法を実装する中継制御装置と、その中継制御装置の実現に用いられる中継制御プログラムとに関する。
【0002】
【従来の技術】
プロセス制御機器などを製造しているメーカでは、プロセス制御機器などの製品を納入した後に、その納入先の企業で稼働している自社製品のメンテナンス情報を収集したいという要求を持っている。
【0003】
このようなプロセス制御機器などは、通常の場合、その納入先の企業の社内ネットワークに接続されて稼働している。
【0004】
一方、各企業は、社内情報のセキュリティを確保するために、社内のネットワークとインターネットとの間にファイアウォールを設けて、外部から社内のネットワークにアクセスすることを禁止するような手段を講じている。
【0005】
これから、プロセス制御機器などを製造しているメーカでは、プロセス制御機器などの製品を納入した後に、その納入先の企業で稼働している自社製品のメンテナンス情報を収集したいと思っても、その企業の設けるファイアウォールによって、それが実現できないという問題点がある。
【0006】
このような問題点を背景にして、本出願人は、下記に示す特許文献1で、通信プロトコルの変換を行うことで、内部ネットワークに接続される装置が、ファイアウォールを介して外部ネットワークに接続される装置に接続できるようにするという発明を開示した。
【0007】
この発明を使うことで、プロセス制御機器などを製造しているメーカでは、プロセス制御機器などの製品を納入した後に、その納入先の企業で稼働している自社製品のメンテナンス情報を収集することを実現できるようになる。
【0008】
【特許文献1】
特開2000−172597(特願平10−348435号)
【0009】
【発明が解決しようとする課題】
この本出願人の開示した発明によれば、内部ネットワークの側からファイアウォールを介して外部ネットワークとの間でコネクションを張るようにすることから、プロセス制御機器などを製造しているメーカでは、プロセス制御機器などの製品を納入した後に、その納入先の企業で稼働している自社製品のメンテナンス情報を収集できるようになる。
【0010】
本発明は、この本出願人の開示した発明を使って、内部ネットワークに接続された装置が複数となる場合に、それらの装置から、どのようにして情報を収集するのかという具体的な仕組みを構築することにより、例えば、プロセス制御機器などを製造しているメーカが製品を納入した後に、その納入先の企業で稼働している自社製品のメンテナンス情報を収集できるようにする更に実用的な技術の構築を目的とするものである。
【0011】
この技術を構築することにより、ファイアウォールによって守られている内部ネットワークに接続される様々な装置を制御する場合に、更に実用的なシステムを構築することが可能になる。
【0012】
以上説明したように、本発明は、ファイアウォールを介して接続される外部ネットワーク接続の遠隔制御装置からの指示に応答して、内部ネットワークに接続される複数の機器を制御できるようになる新たな技術の提供を目的とするものである。
【0013】
【課題を解決するための手段】
この目的を達成するために、本発明の中継制御装置は、内部ネットワークに接続されて、ファイアウォールを介して接続される外部ネットワーク接続の遠隔制御装置からの指示に応答して、内部ネットワークに接続される複数の制御対象機器を制御する処理を行うために、▲1▼周期的に遠隔制御装置との間を接続して、遠隔制御装置に蓄積されている制御対象機器に対しての制御命令の送信を要求する手段と、▲2▼その要求に応答して返信されてくる制御命令を受け取り、その制御命令で指定される制御対象機器に対して、その制御命令を転送して、それに対する実行結果を受け取る手段と、▲3▼その実行結果を制御命令に対する返答として遠隔制御装置に返信する手段とを備えるように構成する。
【0014】
以上の各処理手段はコンピュータプログラムで実現できるものであり、このコンピュータプログラムは、半導体メモリなどの記録媒体に記録して提供したり、ネットワークを介して提供することができる。
【0015】
このように構成される本発明の中継制御装置では、周期的に遠隔制御装置との間を接続して、遠隔制御装置に蓄積されている制御対象機器に対しての制御命令の送信を要求する。
【0016】
続いて、この要求に応答して、遠隔制御装置から制御命令が返信されてくることになるので、その返信されてくる制御命令を受け取り、その制御命令のヘッダに記録されている転送先情報を抽出することで、その制御命令の転送先となる制御対象機器を特定して、その特定した制御対象機器に対して、その制御命令を転送する。
【0017】
続いて、この転送に応答して、制御対象機器から実行結果が返信されてくることになるので、その実行結果を受け取って、それを制御命令に対する返答として遠隔制御装置に返信する。
【0018】
このようにして、本発明では、ファイアウォールによって守られた内部ネットワークに制御対象機器が接続される場合にあって、周期的に内部ネットワークの側からファイアウォールを介して外部ネットワークとの間を接続することで、それらの制御対象機器に対する制御命令を受け取るようにするとともに、その受け取った制御命令のヘッダに記録されている転送先情報の指定する制御対象機器に対して制御命令を転送してその実行結果を受け取り、それを受け取った制御命令に対する返答として外部ネットワークの側に返信することにより、内部ネットワークに接続される制御対象機器を制御するという構成を採ることから、内部ネットワークに接続される制御対象機器が複数となる場合にも、外部ネットワークの側からの指示に応答して制御対象機器を制御できるようになる。
【0019】
【発明の実施の形態】
以下、実施の形態に従って本発明を詳細に説明する。
【0020】
図1に、本発明の適用されるシステムの一例を図示する。
【0021】
この図に示すように、本発明の適用されるシステムは、ファイアウォール4によって守られた内部ネットワーク3に接続される制御対象機器2−i(i=1〜n)を制御する処理を行う本発明を具備する中継制御装置1と、外部ネットワーク5に接続された1又は複数のクライアント端末6の発行する制御対象機器2−iに対しての制御命令を受け付けて、本発明を具備する中継制御装置1とやり取りすることで内部ネットワーク3に接続される制御対象機器2−i(i=1〜n)を遠隔制御する処理を行う遠隔制御装置7とを備える。
【0022】
このように構成されるときにあって、遠隔制御装置7は、クライアント端末6の発行する制御対象機器2−iに対しての制御命令を蓄積する命令蓄積バッファ70を備えている。
【0023】
また、各制御対象機器2−iは、制御機能の他に、制御開始画面となるホームページを表示して、それを起点にして、その制御機能にどのような制御処理(情報収集を含む)を実行させるのかについて設定する処理を行うサーバ機能を備えている。
【0024】
先ず最初に、図2及び図3の処理フローに従って遠隔制御装置7の実行する処理について説明する。
【0025】
ここで、図2の処理フローは、クライアント端末6から制御対象機器2−iに対しての制御要求が発行されるときに遠隔制御装置7が実行することになる処理であり、図3の処理フローは、中継制御装置1から制御命令の送信要求が発行されるときに遠隔制御装置7が実行することになる処理である。
【0026】
遠隔制御装置7は、クライアント端末6から内部ネットワーク3に接続される制御対象機器2−iに対しての制御要求が発行されると、図2の処理フローに示すように、先ず最初に、ステップ10で、制御要求発行元のクライアント端末6に対して、図4に示すような機器選択画面を表示する。
【0027】
ここで、この機器選択画面では、ユーザIDの入力域とパスワードの入力域とを持つ他に、クリック操作に従って制御対象となる制御対象機器2−iを選択するための表示域を持っている。
【0028】
この機器選択画面の表示を受けて、クライアント端末6を操作するユーザは、ユーザIDと、パスワードと、制御対象となる制御対象機器2−iの機器名とを入力してくる。
【0029】
これから、続いて、ステップ11で、ユーザから入力されるユーザID、パスワード、制御対象機器名を入力し、続くステップ12で、入力したユーザID及びパスワードを使って、ユーザ認証を実行する。
【0030】
ユーザ認証がとれると、続いて、ステップ13で、入力した制御対象機器名の指す制御対象機器2−iを転送先とするヘッダ情報を持つホームページ転送命令(通常の場合、ホームページを順次表示していくことから複数の命令で構成されている)を、命令蓄積バッファ70に登録(蓄積)する。
【0031】
すなわち、入力した制御対象機器名の指す制御対象機器2−iに対して制御命令を発行するために、先ず最初に、その制御対象機器2−iからホームページ(制御開始画面)を取得するためのホームページ転送命令を命令蓄積バッファ70に登録するのである。
【0032】
そして、このとき、このホームページ転送命令のヘッダに、入力した制御対象機器名の指す制御対象機器2−iが転送先となることを示す情報を付加するのである。
【0033】
続いて、ステップ14で、制御要求発行元のクライアント端末6から処理要求が発行されるのを待って、処理要求が発行されると、ステップ15に進んで、処理終了の要求であるのか、ホームページを起点にして発行される制御命令であるのか否かを判断する。
【0034】
この判断処理に従って、制御要求発行元のクライアント端末6から制御命令が発行されたことを判断するときには、ステップ16に進んで、その発行された制御命令のヘッダに、入力した制御対象機器名の指す制御対象機器2−iが転送先となることを示す情報を付加してから、その発行された制御命令を命令蓄積バッファ70に登録して、次の制御命令の発行を待つべくステップ14に戻る。
【0035】
一方、ステップ15で、制御要求発行元のクライアント端末6から処理終了要求が発行されたことを判断するときには、制御対象機器2−iへの制御動作が終了したことを判断して、処理を終了する。
【0036】
このようにして、遠隔制御装置7は、クライアント端末6から制御対象機器2−iに対しての制御命令が発行されると、その発行された制御命令のヘッダに、機器選択画面で選択された制御対象機器名の指す制御対象機器2−iが転送先となることを示す情報を付加してから、その発行された制御命令を命令蓄積バッファ70に蓄積していくように処理するのである。
【0037】
次に、図3の処理フローに従って、遠隔制御装置7が中継制御装置1から制御命令の送信要求を受けたときに実行する処理について説明する。
【0038】
遠隔制御装置7は、中継制御装置1から制御命令の送信要求が発行されると、図3の処理フローに示すように、先ず最初に、ステップ20で、命令蓄積バッファ70に制御命令が蓄積されているのか否かを判断する。
【0039】
この判断処理に従って、命令蓄積バッファ70に制御命令が蓄積されていないことを判断するときには、ステップ21に進んで、所定時間が経過したのか否かを判断して、所定時間が経過していないことを判断するときには、ステップ20に戻り、所定時間が経過したことを判断するときには、ステップ22に進んで、中継制御装置1に対して制御命令なしを返信して、処理を終了する。
【0040】
一方、ステップ20で、命令蓄積バッファ70に制御命令が蓄積されていることを判断するときには、ステップ23に進んで、命令蓄積バッファ70から制御命令を1つ取り出し、続くステップ24で、中継制御装置1に対して、その取り出した制御命令を返信する。
【0041】
このとき返信する制御命令の宛先はあくまで中継制御装置1となっているが、その制御命令のヘッダには、上述の機器選択画面で選択された制御対象機器名の指す制御対象機器2−iが転送先となるということを示す情報が付加されている。
【0042】
後述するように、中継制御装置1は、この制御命令の返信を受けて、返信されてきた制御命令を転送先として指定された制御対象機器2−iに転送して、その実行結果を受け取り、それを制御命令に対する返答として返信してくる。
【0043】
これから、続いて、ステップ25で、中継制御装置1から制御対象機器2−iにによる実行結果が返信されてくるのを待って、その実行結果が返信されてくると、ステップ26に進んで、制御要求発行元のクライアント端末6に対して、その実行結果を返信する。
【0044】
続いて、ステップ27で、命令蓄積バッファ70が空になったのか否かを判断して、命令蓄積バッファ70が空になっていないことを判断するときには、次の制御命令についての処理を行うべくステップ23に戻り、命令蓄積バッファ70が空になったことを判断するときには、ステップ28に進んで、中継制御装置1に対して制御命令がなくなったことを返信して、処理を終了する。
【0045】
このようにして、遠隔制御装置7は、中継制御装置1から制御命令の送信要求が発行されると、命令蓄積バッファ70から制御命令を1つ取り出して返信し、それに対しての返答となる実行結果を受け取って、それを制御要求発行元のクライアント端末6に返信するように処理するのである。
【0046】
次に、図5及び図6の処理フローに従って、本発明を具備する中継制御装置1の実行する処理について詳細に説明する。
【0047】
本発明を具備する中継制御装置1は、起動されると、図5及び図6の処理フローに示すように、先ず最初に、ステップ30で、規定の要求周期に到達したのか否かを判断して、規定の要求周期に到達したことを判断するときには、ステップ31に進んで、ファイアウォール4を通して遠隔制御装置7との間を接続して、遠隔制御装置7に対して制御命令の送信を要求する。
【0048】
この制御命令の送信要求に応答して、遠隔制御装置7は、図3の処理フローで説明したように、命令蓄積バッファ70に制御命令が蓄積されている場合には、命令蓄積バッファ70から制御命令を1つ取り出して返信してくるとともに、命令蓄積バッファ70に制御命令が蓄積されていない場合には、制御命令なしを返信してくる。
【0049】
これから、続いて、ステップ32で、遠隔制御装置7からの返信を待って、何も返信されてこないことを判断するときには、ステップ33に進んで、所定時間が経過したのか否かを判断して、所定時間が経過していないことを判断するときには、ステップ32に戻り、所定時間が経過したことを判断するときには、ステップ34に進んで、遠隔制御装置7との間のパスを切断してから、次の要求周期を待つべくステップ30に戻る。
【0050】
すなわち、所定時間が経過しても、遠隔制御装置7から何も返信されてこないということは、ネットワークなどに障害が発生した可能性があるので、次の要求周期で再試行すべく遠隔制御装置7との間のパスを切断するように処理するのである。
【0051】
一方、ステップ32で、遠隔制御装置7から返信があることを判断するときには、ステップ35に進んで、遠隔制御装置7から制御命令が返信されてきたのか否かを判断して、制御命令が返信されてきたのではないことを判断するとき、すなわち、制御命令なしが返信されてきたことを判断するときには、ステップ36に進んで、遠隔制御装置7との間のパスを切断してから、次の要求周期を待つべくステップ30に戻る。
【0052】
一方、ステップ35で、遠隔制御装置7から制御命令が返信されてきたことを判断するときには、ステップ37に進んで、返信されてきた制御命令のヘッダに付加されている転送先情報を抽出する。
【0053】
すなわち、遠隔制御装置7は、クライアント端末6から発行された制御命令を返信してくる場合に、その制御命令のヘッダに、機器選択画面で選択された制御対象機器名の指す制御対象機器2−iが転送先となることを示す情報を付加してくるので、中継制御装置1は、その付加情報に従って、返信されてきた制御命令の転送先を抽出するのである。
【0054】
続いて、ステップ38で、その抽出した転送先情報の指す制御対象機器2−iに、遠隔制御装置7から返信されてきた制御命令を転送する。
【0055】
すなわち、遠隔制御装置7から返信されてきた制御命令については、本発明を具備する中継制御装置1が実行すべきものではなくて、機器選択画面で選択された制御対象機器名の指す制御対象機器2−iが実行すべきものであることから、その制御対象機器2−iに対して、遠隔制御装置7から返信されてきた制御命令を転送するのである。
【0056】
この制御命令の転送を受けて、制御対象機器2−iは、中継制御装置1から制御命令を受け取ると、その制御命令を実行して、その実行結果を中継制御装置1に返信してくる。
【0057】
これから、続いて、ステップ39で、制御対象機器2−iから実行結果が返信されくるのを待って、実行結果が返信されてきたときには、ステップ40に進んで、遠隔制御装置7に対して、返信されてきた実行結果を制御命令に対する返答として返信する。
【0058】
すなわち、返信されてきた実行結果を、遠隔制御装置7から送られてきた制御命令に対する返答として返信するのである。
【0059】
この実行結果の返信に対して、遠隔制御装置7は、図3の処理フローで説明したように、命令蓄積バッファ70が空となったのか否かを判断して、命令蓄積バッファ70が空となっていない場合には、次の制御命令を返信してくるとともに、命令蓄積バッファ70が空となった場合には、制御命令なしを返信してくる。
【0060】
これから、続いて、ステップ41で、遠隔制御装置7からの返信を待って、次の制御命令が返信されてきたときには、その制御命令に対しての処理を行うべくステップ37に戻り、制御命令なしが返信されてきたときには、ステップ42に進んで、遠隔制御装置7との間のパスを切断してから、次の要求周期を待つべくステップ30に戻る。
【0061】
このようにして、本発明を具備する中継制御装置1は、規定の要求周期に到達すると、図7に示すように、ファイアウォール4を通して遠隔制御装置7との間を接続して、遠隔制御装置1に対して制御命令の送信を要求し(図中の▲1▼)、これに応答して制御命令が返信されてくると(図中の▲2▼)、その制御命令のヘッダに付加されている転送先情報の指す制御対象機器2−iに対して、その制御命令を転送することで(図中の▲3▼)、その制御命令に対する実行結果を得て(図中の▲4▼)、その実行結果を送られてきた制御命令に対する返答として、遠隔制御装置7に返信するように処理するのである(図中の▲5▼)。
【0062】
このように構成される本発明を具備する中継制御装置1を用いると、図8に示すように、内部ネットワーク3に複数の制御対象機器2−iが接続されるときにあって、各制御対象機器2−iがファイアウォール4を通して遠隔制御装置7との間を接続するための機能を持つ必要がなくなるので、簡略な構成に従って、外部ネットワーク5の側から内部ネットワーク3に接続される各制御対象機器2−iを制御できるようになる。
【0063】
【発明の効果】
以上説明したように、本発明では、ファイアウォールによって守られた内部ネットワークに制御対象機器が接続される場合にあって、周期的に内部ネットワークの側からファイアウォールを介して外部ネットワークとの間を接続することで、それらの制御対象機器に対する制御命令を受け取るようにするとともに、その受け取った制御命令のヘッダに記録されている転送先情報の指定する制御対象機器に対して制御命令を転送してその実行結果を受け取り、それを受け取った制御命令に対する返答として外部ネットワークの側に返信することにより、内部ネットワークに接続される制御対象機器を制御するという構成を採ることから、内部ネットワークに接続される制御対象機器が複数となる場合にも、外部ネットワークの側からの指示に応答して制御対象機器を制御できるようになる。
【図面の簡単な説明】
【図1】本発明の適用されるシステムの一例を示す図である。
【図2】遠隔制御装置の実行する処理フローの一例である。
【図3】遠隔制御装置の実行する処理フローの一例である。
【図4】機器選択画面の説明図である。
【図5】本発明を具備する中継制御装置の実行する処理フローの一例である。
【図6】本発明を具備する中継制御装置の実行する処理フローの一例である。
【図7】本発明の説明図である。
【図8】本発明の説明図である。
【符号の説明】
1 中継制御装置
2 制御対象機器
3 内部ネットワーク
4 ファイアウォール
5 外部ネットワーク
6 クライアント端末
7 遠隔制御装置
70 命令蓄積バッファ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a control method for controlling a plurality of devices connected to an internal network in response to an instruction from a remote control device for connection to an external network connected via a firewall, and a relay control implementing the control method. The present invention relates to a device and a relay control program used for realizing the relay control device.
[0002]
[Prior art]
A manufacturer that manufactures process control equipment or the like has a request to collect maintenance information of its own products that are operating at a company to which the product is delivered after delivering the product such as the process control equipment.
[0003]
Normally, such a process control device or the like is connected to an in-house network of a delivery destination company and operates.
[0004]
On the other hand, in order to ensure the security of in-house information, each company has provided a firewall between the in-house network and the Internet, and has taken measures to prohibit external access to the in-house network.
[0005]
From now on, if a manufacturer that manufactures process control equipment, etc. wants to collect maintenance information on its products running at the company to which it is delivered after delivering products such as process control equipment, However, there is a problem that this cannot be realized by the firewall provided.
[0006]
Against this background, the applicant of the present invention converts a communication protocol in Patent Document 1 shown below to connect a device connected to an internal network to an external network via a firewall. The invention has been disclosed that enables connection to a device.
[0007]
By using this invention, a manufacturer that manufactures process control equipment, etc., collects maintenance information on its own products running at the company to which it is delivered after delivering products such as process control equipment. It can be realized.
[0008]
[Patent Document 1]
JP-A-2000-172597 (Japanese Patent Application No. 10-348435)
[0009]
[Problems to be solved by the invention]
According to the invention disclosed by the present applicant, since a connection is established from an internal network side to an external network via a firewall, manufacturers that manufacture process control devices and the like require After delivering products such as equipment, it will be possible to collect maintenance information on their own products running at the company to which they are delivered.
[0010]
The present invention uses the invention disclosed by the present applicant to provide a specific mechanism for collecting information from a plurality of devices connected to an internal network from those devices. By constructing, for example, a more practical technology that enables a manufacturer that manufactures process control equipment, etc. to collect maintenance information on its own products running at the company to which it is delivered after delivering the product The purpose of this is to construct.
[0011]
By constructing this technology, it becomes possible to construct a more practical system when controlling various devices connected to the internal network protected by the firewall.
[0012]
As described above, the present invention provides a new technology that can control a plurality of devices connected to an internal network in response to an instruction from a remote control device for connecting to an external network connected via a firewall. The purpose is to provide.
[0013]
[Means for Solving the Problems]
In order to achieve this object, the relay control device of the present invention is connected to the internal network, and is connected to the internal network in response to an instruction from the remote control device of the external network connection connected via the firewall. In order to perform a process of controlling a plurality of control target devices, (1) a connection is periodically established with a remote control device, and control commands for the control target devices stored in the remote control device are transmitted. Means for requesting transmission; and (2) receiving a control command returned in response to the request, transferring the control command to a device to be controlled specified by the control command, and executing the command. Means for receiving the result; and means for returning the execution result to the remote control device as a response to the control command.
[0014]
Each of the above processing means can be realized by a computer program, and this computer program can be provided by being recorded on a recording medium such as a semiconductor memory, or can be provided via a network.
[0015]
In the relay control device of the present invention configured as described above, the relay control device is periodically connected to the remote control device, and requests transmission of a control command to the control target device stored in the remote control device. .
[0016]
Subsequently, in response to this request, a control command is returned from the remote control device. Therefore, the control command is received and the transfer destination information recorded in the header of the control command is received. By extracting, the control target device to which the control command is transferred is specified, and the control command is transferred to the specified control target device.
[0017]
Subsequently, an execution result is returned from the control target device in response to this transfer. The execution result is received, and the execution result is returned to the remote control device as a response to the control command.
[0018]
As described above, according to the present invention, when the control target device is connected to the internal network protected by the firewall, the connection from the internal network side to the external network via the firewall is periodically performed. In order to receive the control command for those controlled devices, the control command is transferred to the controlled device specified by the transfer destination information recorded in the header of the received control command, and the execution result is obtained. The control target device connected to the internal network is configured by controlling the control target device connected to the internal network by receiving it and returning it to the external network as a response to the received control command. Responds to instructions from the external network side even if there are multiple It becomes possible to control the control target device.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail according to embodiments.
[0020]
FIG. 1 shows an example of a system to which the present invention is applied.
[0021]
As shown in this figure, a system to which the present invention is applied performs a process of controlling a control target device 2-i (i = 1 to n) connected to an internal network 3 protected by a firewall 4. And a control command issued to one or a plurality of client terminals 6 connected to the external network 5 for the control target device 2-i, and the relay control device 1 according to the present invention. 1 and a remote control device 7 for performing a process of remotely controlling the control target devices 2-i (i = 1 to n) connected to the internal network 3 by exchanging with the internal network 3.
[0022]
When configured in this manner, the remote control device 7 includes an instruction accumulation buffer 70 that accumulates a control instruction for the control target device 2-i issued by the client terminal 6.
[0023]
In addition, each control target device 2-i displays a homepage serving as a control start screen in addition to the control function, and from that point, what control processing (including information collection) is performed on the control function. A server function is provided for performing processing for setting whether to execute.
[0024]
First, the processing executed by the remote control device 7 according to the processing flows of FIGS. 2 and 3 will be described.
[0025]
Here, the processing flow of FIG. 2 is processing that the remote control device 7 executes when a control request is issued from the client terminal 6 to the control target device 2-i. The flow is a process to be executed by the remote control device 7 when a request to transmit a control command is issued from the relay control device 1.
[0026]
When a control request is issued from the client terminal 6 to the control target device 2-i connected to the internal network 3, the remote control device 7 first performs the steps shown in the processing flow of FIG. At 10, a device selection screen as shown in FIG. 4 is displayed on the client terminal 6 that has issued the control request.
[0027]
Here, in addition to having a user ID input area and a password input area, the device selection screen has a display area for selecting a control target device 2-i to be controlled according to a click operation.
[0028]
Upon receiving the display of the device selection screen, the user operating the client terminal 6 inputs a user ID, a password, and a device name of the control target device 2-i to be controlled.
[0029]
Then, in step S11, the user ID, password, and control target device name input by the user are input, and in step S12, user authentication is executed using the input user ID and password.
[0030]
After the user is authenticated, subsequently, in step 13, a home page transfer instruction having header information with the transfer destination being the control target device 2-i indicated by the input control target device name (normally, the home pages are sequentially displayed. (Which is composed of a plurality of instructions).
[0031]
That is, in order to issue a control command to the control target device 2-i indicated by the input control target device name, first, a homepage (control start screen) for acquiring a home page (control start screen) from the control target device 2-i. The homepage transfer command is registered in the command storage buffer 70.
[0032]
Then, at this time, information indicating that the control target device 2-i indicated by the input control target device name is the transfer destination is added to the header of the homepage transfer instruction.
[0033]
Subsequently, in step 14, the process waits for the issuance of a processing request from the client terminal 6 that has issued the control request, and when the processing request is issued, the process proceeds to step 15 to determine whether the request is a processing end request. Is determined to be a control command issued starting from.
[0034]
When it is determined that a control command has been issued from the client terminal 6 that has issued the control request according to this determination process, the process proceeds to step 16, and the header of the issued control command indicates the input control target device name. After adding information indicating that the control target device 2-i is the transfer destination, the issued control command is registered in the command storage buffer 70, and the process returns to step 14 to wait for the next control command to be issued. .
[0035]
On the other hand, in step 15, when it is determined that the processing end request has been issued from the client terminal 6 that has issued the control request, it is determined that the control operation to the control target device 2-i has been completed, and the processing is terminated. I do.
[0036]
In this way, when the control command is issued from the client terminal 6 to the control target device 2-i, the remote control device 7 selects the header of the issued control command on the device selection screen. After adding information indicating that the control target device 2-i indicated by the control target device name is the transfer destination, processing is performed so that the issued control commands are stored in the command storage buffer 70.
[0037]
Next, a process executed when the remote control device 7 receives a request to transmit a control command from the relay control device 1 according to the process flow of FIG. 3 will be described.
[0038]
When a request to transmit a control command is issued from the relay control device 1, the remote control device 7 first stores the control command in the command storage buffer 70 in step 20, as shown in the processing flow of FIG. It is determined whether or not it is.
[0039]
When it is determined that the control command is not stored in the command storage buffer 70 according to this determination process, the process proceeds to step 21 to determine whether or not a predetermined time has elapsed. When the determination is made, the process returns to step 20, and when it is determined that the predetermined time has elapsed, the process proceeds to step 22, where no control command is returned to the relay control device 1, and the process ends.
[0040]
On the other hand, when it is determined in step 20 that the control command is stored in the command storage buffer 70, the process proceeds to step 23, where one control command is extracted from the command storage buffer 70, and in step 24, the relay control device 1 is returned to the control command.
[0041]
At this time, the destination of the control command returned is the relay control device 1, but the header of the control command includes the control target device 2-i indicated by the control target device name selected on the device selection screen described above. Information indicating that it is a transfer destination is added.
[0042]
As will be described later, the relay control device 1 receives the reply of the control command, transfers the returned control command to the control target device 2-i designated as the transfer destination, receives the execution result, It is returned as a response to the control command.
[0043]
Subsequently, in step 25, the process waits for the execution result from the relay control device 1 to be returned to the control target device 2-i. When the execution result is returned, the process proceeds to step 26. The execution result is returned to the client terminal 6 that issued the control request.
[0044]
Subsequently, at step 27, it is determined whether or not the instruction storage buffer 70 has become empty. When it is determined that the instruction storage buffer 70 has not become empty, processing for the next control instruction is performed. Returning to step 23, when it is determined that the command storage buffer 70 is empty, the process proceeds to step 28, where the relay control device 1 is notified that there is no control command, and the process ends.
[0045]
In this way, when the transmission request of the control command is issued from the relay control device 1, the remote control device 7 fetches one control command from the command storage buffer 70 and returns it, and executes the execution as a reply thereto. It receives the result and processes it to return it to the client terminal 6 that issued the control request.
[0046]
Next, the processing executed by the relay control device 1 according to the present invention will be described in detail with reference to the processing flows of FIGS.
[0047]
When the relay control device 1 having the present invention is started, as shown in the processing flows of FIGS. 5 and 6, first, in step 30, it is determined whether or not a specified request period has been reached. When it is determined that the specified request cycle has been reached, the process proceeds to step 31 to connect the remote control device 7 through the firewall 4 and request the remote control device 7 to transmit a control command. .
[0048]
In response to the transmission request of the control command, the remote control device 7, when the control command is stored in the command storage buffer 70 as described in the processing flow of FIG. One command is fetched and returned, and if no control command is stored in the command storage buffer 70, no command is returned.
[0049]
From now on, in step 32, when waiting for a reply from the remote control device 7 and determining that nothing has been returned, the process proceeds to step 33, in which it is determined whether or not a predetermined time has elapsed. When it is determined that the predetermined time has not elapsed, the process returns to step 32. When it is determined that the predetermined time has elapsed, the process proceeds to step 34, where the path to the remote control device 7 is disconnected. Then, the process returns to step 30 to wait for the next request cycle.
[0050]
That is, even if the predetermined time has elapsed, the fact that nothing is returned from the remote control device 7 means that a failure may have occurred in the network or the like. The processing is performed so as to cut off the path between the first and second paths.
[0051]
On the other hand, when it is determined in step 32 that there is a reply from the remote control device 7, the process proceeds to step 35, where it is determined whether a control command has been returned from the remote control device 7 and the control command is returned. When it is determined that the communication has not been performed, that is, when it is determined that no control command has been returned, the process proceeds to step 36, where the path to the remote control device 7 is disconnected, and The process returns to step 30 in order to wait for the requested cycle.
[0052]
On the other hand, when it is determined in step 35 that the control command has been returned from the remote control device 7, the process proceeds to step 37, and the transfer destination information added to the header of the returned control command is extracted.
[0053]
That is, when the remote control device 7 returns the control command issued from the client terminal 6, the remote control device 7 includes, in the header of the control command, the control target device 2-indicated by the control target device name selected on the device selection screen. Since the information indicating that i is the transfer destination is added, the relay control device 1 extracts the transfer destination of the returned control command according to the additional information.
[0054]
Subsequently, in step 38, the control command returned from the remote control device 7 is transferred to the control target device 2-i indicated by the extracted transfer destination information.
[0055]
That is, the control command returned from the remote control device 7 is not to be executed by the relay control device 1 equipped with the present invention, but the control target device 2 indicated by the control target device name selected on the device selection screen. Since -i is to be executed, the control command returned from the remote control device 7 is transferred to the control target device 2-i.
[0056]
Upon receiving the control command, the control target device 2-i receives the control command from the relay control device 1, executes the control command, and returns the execution result to the relay control device 1.
[0057]
Subsequently, in step 39, the process waits for the execution result to be returned from the control target device 2-i. When the execution result is returned, the process proceeds to step 40, where the remote control device 7 The returned execution result is returned as a response to the control command.
[0058]
That is, the returned execution result is returned as a response to the control command sent from the remote control device 7.
[0059]
In response to the return of the execution result, the remote control device 7 determines whether or not the instruction storage buffer 70 is empty, as described in the processing flow of FIG. If not, the next control command is returned, and if the command storage buffer 70 becomes empty, no control command is returned.
[0060]
Subsequently, in step 41, after waiting for a reply from the remote control device 7, when the next control command is returned, the process returns to step 37 to process the control command, and there is no control command. Is returned, the process proceeds to step 42, disconnects the path to the remote control device 7, and then returns to step 30 to wait for the next request cycle.
[0061]
In this way, the relay control device 1 equipped with the present invention connects to the remote control device 7 through the firewall 4 when the specified request period is reached, as shown in FIG. Is requested to send a control command ((1) in the figure). When the control command is returned in response ((2) in the figure), it is added to the header of the control command. By transferring the control command to the control target device 2-i indicated by the transfer destination information ((3) in the figure), an execution result for the control command is obtained ((4) in the figure). The execution result is processed so as to be returned to the remote control device 7 as a response to the sent control command ([5] in the figure).
[0062]
When the relay control device 1 having the present invention configured as described above is used, when a plurality of control target devices 2-i are connected to the internal network 3 as shown in FIG. Since the device 2-i does not need to have a function for connecting to the remote control device 7 through the firewall 4, each control target device connected to the internal network 3 from the external network 5 according to a simple configuration. 2-i can be controlled.
[0063]
【The invention's effect】
As described above, according to the present invention, when the control target device is connected to the internal network protected by the firewall, the internal network side periodically connects to the external network via the firewall. As a result, the control command for the control target device is received, and the control command is transferred to the control target device specified by the transfer destination information recorded in the header of the received control command, and the control command is executed. By receiving the result and returning it to the external network as a response to the received control command, the control target device connected to the internal network is controlled, so that the control target connected to the internal network is controlled. Even if there are multiple devices, it will respond to instructions from the external network side. And it becomes possible to control the control target equipment.
[Brief description of the drawings]
FIG. 1 is a diagram showing an example of a system to which the present invention is applied.
FIG. 2 is an example of a processing flow executed by a remote control device.
FIG. 3 is an example of a processing flow executed by a remote control device.
FIG. 4 is an explanatory diagram of a device selection screen.
FIG. 5 is an example of a processing flow executed by a relay control device having the present invention.
FIG. 6 is an example of a processing flow executed by a relay control device having the present invention.
FIG. 7 is an explanatory diagram of the present invention.
FIG. 8 is an explanatory diagram of the present invention.
[Explanation of symbols]
REFERENCE SIGNS LIST 1 relay control device 2 controlled device 3 internal network 4 firewall 5 external network 6 client terminal 7 remote control device 70 command storage buffer

Claims (4)

ファイアウォールを介して接続される外部ネットワーク接続の遠隔制御装置からの指示に応答して、内部ネットワークに接続される複数の機器を制御する制御方法であって、
周期的に上記遠隔制御装置との間を接続して、上記遠隔制御装置に蓄積されている上記機器に対しての制御命令の送信を要求する過程と、
上記要求に応答して返信されてくる上記制御命令を受け取り、その制御命令で指定される上記機器に対して、その制御命令を転送して、それに対する実行結果を受け取る過程と、
上記実行結果を上記制御命令に対する返答として上記遠隔制御装置に返信する過程とを備えることを、
特徴とする内部ネットワークに接続される機器を制御する方法。
A control method for controlling a plurality of devices connected to an internal network in response to an instruction from a remote control device for connecting to an external network connected via a firewall,
Periodically connecting to the remote control device, requesting transmission of a control command to the device stored in the remote control device,
Receiving the control command returned in response to the request, transferring the control command to the device specified by the control command, and receiving an execution result corresponding thereto;
Returning the execution result to the remote control device as a response to the control command,
A method of controlling a device connected to an internal network.
請求項1に記載の内部ネットワークに接続される機器を制御する方法であって、
上記受け取る過程では、上記遠隔制御装置から規定の時間内に上記制御命令が返信されてこない場合には、上記遠隔制御装置との間の接続を切断することを、
特徴とする内部ネットワークに接続される機器を制御する方法。
A method for controlling a device connected to an internal network according to claim 1,
In the receiving step, if the control command is not returned within a prescribed time from the remote control device, disconnecting the connection with the remote control device,
A method of controlling a device connected to an internal network.
内部ネットワークに接続されて、ファイアウォールを介して接続される外部ネットワーク接続の遠隔制御装置からの指示に応答して、該内部ネットワークに接続される複数の機器を制御する中継制御装置であって、
周期的に上記遠隔制御装置との間を接続して、上記遠隔制御装置に蓄積されている上記機器に対しての制御命令の送信を要求する手段と、
上記要求に応答して返信されてくる上記制御命令を受け取り、その制御命令で指定される上記機器に対して、その制御命令を転送して、それに対する実行結果を受け取る手段と、
上記実行結果を上記制御命令に対する返答として上記遠隔制御装置に返信する手段とを備えることを、
特徴とする中継制御装置。
A relay control device that is connected to the internal network and controls a plurality of devices connected to the internal network in response to an instruction from a remote control device for external network connection connected via a firewall,
Means for periodically connecting to the remote control device and requesting transmission of a control command to the device stored in the remote control device;
Means for receiving the control command returned in response to the request, transferring the control command to the device specified by the control command, and receiving an execution result corresponding thereto;
Means for returning the execution result to the remote control device as a response to the control command,
Characteristic relay control device.
内部ネットワークに接続されて、ファイアウォールを介して接続される外部ネットワーク接続の遠隔制御装置からの指示に応答して、該内部ネットワークに接続される複数の機器を制御する中継制御装置の実現に用いられる中継制御プログラムであって、
周期的に上記遠隔制御装置との間を接続して、上記遠隔制御装置に蓄積されている上記機器に対しての制御命令の送信を要求する処理と、
上記要求に応答して返信されてくる上記制御命令を受け取り、その制御命令で指定される上記機器に対して、その制御命令を転送して、それに対する実行結果を受け取る処理と、
上記実行結果を上記制御命令に対する返答として上記遠隔制御装置に返信する処理とをコンピュータに実行させるための中継制御プログラム。
Used for realizing a relay control device that is connected to an internal network and controls a plurality of devices connected to the internal network in response to an instruction from a remote control device for connection to an external network connected via a firewall. A relay control program,
A process of periodically connecting to the remote control device and requesting transmission of a control command to the device stored in the remote control device;
Receiving the control command returned in response to the request, transferring the control command to the device specified by the control command, and receiving an execution result corresponding thereto;
A relay control program for causing a computer to execute a process of returning the execution result to the remote control device as a response to the control command.
JP2003056489A 2003-03-04 2003-03-04 Method for controlling apparatus connected to internal network, relay control apparatus, and relay control program Pending JP2004266689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003056489A JP2004266689A (en) 2003-03-04 2003-03-04 Method for controlling apparatus connected to internal network, relay control apparatus, and relay control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003056489A JP2004266689A (en) 2003-03-04 2003-03-04 Method for controlling apparatus connected to internal network, relay control apparatus, and relay control program

Publications (1)

Publication Number Publication Date
JP2004266689A true JP2004266689A (en) 2004-09-24

Family

ID=33120163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003056489A Pending JP2004266689A (en) 2003-03-04 2003-03-04 Method for controlling apparatus connected to internal network, relay control apparatus, and relay control program

Country Status (1)

Country Link
JP (1) JP2004266689A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100856409B1 (en) 2006-10-09 2008-09-04 삼성전자주식회사 Method for remote controlling local network devices and apparatus therefor
JP2009064264A (en) * 2007-09-06 2009-03-26 Ricoh Co Ltd Equipment, equipment management system, equipment management method
JP2012080504A (en) * 2010-10-06 2012-04-19 Canon Inc Image forming apparatus, control method of image forming apparatus, and program
WO2013161121A1 (en) * 2012-04-26 2013-10-31 株式会社セイコーアイ・インフォテック Machine management computer and machine management program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100856409B1 (en) 2006-10-09 2008-09-04 삼성전자주식회사 Method for remote controlling local network devices and apparatus therefor
JP2009064264A (en) * 2007-09-06 2009-03-26 Ricoh Co Ltd Equipment, equipment management system, equipment management method
JP2012080504A (en) * 2010-10-06 2012-04-19 Canon Inc Image forming apparatus, control method of image forming apparatus, and program
US8750130B2 (en) 2010-10-06 2014-06-10 Canon Kabushiki Kaisha Communication apparatus having network communication function, control method for the communication apparatus, and storage medium
WO2013161121A1 (en) * 2012-04-26 2013-10-31 株式会社セイコーアイ・インフォテック Machine management computer and machine management program
JP2013228895A (en) * 2012-04-26 2013-11-07 Seiko I Infotech Inc Apparatus management computer and apparatus management program

Similar Documents

Publication Publication Date Title
JP4337591B2 (en) Information processing apparatus, network system, and network system control method
JP4564249B2 (en) Home appliance remote control system, service providing server, home server, home appliance, home appliance remote control supporting method for service providing server, and home appliance service providing support method for service providing server
EP1387282A1 (en) Computer interface driver program
CN101727449A (en) System and method for processing local file by utilizing remote application
JP2004021325A (en) Communication controller and communication control method
EP2840741B1 (en) Method and apparatus for using service of home network device based on remote access
JP5976210B2 (en) Monitoring system, facility management apparatus, monitoring method and program
US9342141B2 (en) Audio/video device, apparatus and method for controlling audio/video device
US20110122270A1 (en) Control apparatus, control method, and control system
JP2015016561A (en) Printer, printing control device, printing system and program
WO2005032203A1 (en) Home electric appliances remote control system, service provision server, home server, home electric appliances, home electric appliances remote control support method of service provision server, and home electric appliances service provision support method of service provision server
JP2005109748A (en) Household electric appliance remote control system, service providing server, and household electric appliance remote control method
JP2004266689A (en) Method for controlling apparatus connected to internal network, relay control apparatus, and relay control program
JP6853689B2 (en) Monitoring equipment, methods and programs
US20100063999A1 (en) Software on-demand service interlocking system and method of operating the same
KR101378401B1 (en) Method and DCD Server for Content Delivery Control according to Content Type
JP3884549B2 (en) Condition monitoring system
JP2002095071A (en) Network system and control method of apparatus
JP2006146566A (en) Remote maintenance system
US9106608B2 (en) Communication device, communication method, and non-transitory computer-readable recording medium
JP2001222318A (en) Control system and client terminal
KR101760630B1 (en) Method and apparatus for processing interactions between devices
KR100301111B1 (en) Remote digital camera control system and its control method on the Internet
CN104468692B (en) Communication management device, terminal, system, method, program and information storage medium
CN103118042B (en) Application on site service system and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070814

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071005

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071225