JP2003157223A - Monitor and control system - Google Patents

Monitor and control system

Info

Publication number
JP2003157223A
JP2003157223A JP2001356820A JP2001356820A JP2003157223A JP 2003157223 A JP2003157223 A JP 2003157223A JP 2001356820 A JP2001356820 A JP 2001356820A JP 2001356820 A JP2001356820 A JP 2001356820A JP 2003157223 A JP2003157223 A JP 2003157223A
Authority
JP
Japan
Prior art keywords
message
mail
control device
electronic mail
remote monitoring
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
JP2001356820A
Other languages
Japanese (ja)
Inventor
Mineo Yamauchi
峯生 山内
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.)
Yokogawa Electric Corp
Johnson Controls Inc
Original Assignee
Yokogawa Electric Corp
Johnson Controls Inc
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 Yokogawa Electric Corp, Johnson Controls Inc filed Critical Yokogawa Electric Corp
Priority to JP2001356820A priority Critical patent/JP2003157223A/en
Publication of JP2003157223A publication Critical patent/JP2003157223A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make receivable a response message for a request message between a controller and an electronic mail (e-mail) remote monitor and control device, and to make returnable a response message for a request message even when a plurality of controllers and a plurality of remote monitor and control devices exist in a remote monitor and control system using e-mail. SOLUTION: A request message and its response message are communicable even between a controller and an e-mail monitor and control device by installing an e-mail gateway to make a message itself communicated between controllers also reachable to the e-mail remote monitor and control devices. By mounting an Invoke- ID (message identifier) management table for managing request messages, the request message and the response message can be communicated between the plurality of controllers and the plurality of e-mail remote monitor and control devices.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明が属する技術分野】本発明は、インターネットを
経由して遠隔監視制御を可能とする監視制御システムに
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a supervisory control system which enables remote supervisory control via the Internet.

【0002】[0002]

【従来の技術】図14は遠隔監視制御システムの従来例
_1の構成図を示す。1と2は制御装置であり、3は監
視画面を持ったローカル監視制御装置である。16は異
常情報などを電子メールで送信するための電子メール送
信装置、18は遠隔地に設置された電子メール遠隔受信
装置である。7は電子メール送信のためのSMTPサー
バ(L)である。9は電子メール遠隔受信装置が電子メ
ールを送受信するためのSMTPサーバ(R)である。
10は電子メール遠隔受信装置が電子メールを受信する
ためのPOP3サーバ(R)である。17は制御装置の
情報をインターネットに公開するためのWebサーバで
ある。19はこのサーバをアクセスするためのWebブ
ラウザである。異常が発生したとき、異常情報は電子メ
ールでの通信可能なテキストデータ形式に変換され電子
メール送信装置から、SMTPサーバ(L)を経由して
SMTPサーバ(R)に送られる。電子メール遠隔受信
装置は定周期でPOP3サーバ(R)をポーリングする
ことにより電子メールを入手して異常の発生を知る。W
ebサーバは制御装置内の情報をHTML(HiperText
Markup Language)で公開する装置である。これはイン
ターネット経由でWebブラウザからアクセスされるた
めにグローバルネットワーク上に設置される。Webブ
ラウザからWebサーバをアクセスすることで、制御装
置の詳細な情報をリアルタイムに入手して遠隔監視を実
行できる。また制御装置が管理しているポイントに発停
などのコマンドを送ってリアルタイムな遠隔制御を実行
できる。
2. Description of the Related Art FIG. 14 is a block diagram of a conventional example_1 of a remote monitoring control system. Reference numerals 1 and 2 are control devices, and 3 is a local monitoring control device having a monitoring screen. Reference numeral 16 is an electronic mail sending device for sending abnormal information by electronic mail, and 18 is an electronic mail remote receiving device installed in a remote place. Reference numeral 7 is an SMTP server (L) for sending electronic mail. Reference numeral 9 denotes an SMTP server (R) for the electronic mail remote receiving device to send and receive electronic mail.
Reference numeral 10 denotes a POP3 server (R) for the electronic mail remote receiving device to receive an electronic mail. Reference numeral 17 is a Web server for publishing information of the control device on the Internet. Reference numeral 19 is a Web browser for accessing this server. When an abnormality occurs, the abnormality information is converted into a text data format that can be communicated by e-mail and sent from the e-mail transmission device to the SMTP server (R) via the SMTP server (L). The e-mail remote receiving device obtains e-mail by polling the POP3 server (R) at regular intervals to know occurrence of an abnormality. W
The eb server stores information in the control device in HTML (HiperText).
Markup Language) is a device published. This is installed on the global network because it is accessed from a Web browser via the Internet. By accessing the Web server from the Web browser, detailed information of the control device can be obtained in real time and remote monitoring can be executed. Moreover, real-time remote control can be performed by sending a command such as start / stop to a point managed by the control device.

【0003】しかし、従来例_1では以下の問題点があ
った。(1)異常情報を電子メールで送信できたが到達
確認ができなかった。従って異常情報が本当に到達した
かどうかを知るためには別途手段を必要とした。(2)
インターネットセキュリテイ上からは、監視制御システ
ム(制御装置、ローカル監視制御装置、Webサーバな
ど)はプライベートネットワークに設置した方が安全性
が高い。しかしWebサーバはインターネット経由での
アクセスを可能とするためグローバルネットワーク上に
設置される必要があった。制御装置、ローカル監視制御
装置についてもNATルータ(プライベートネットワー
クとグローバルネットワークを接続するルータ)使用の
単純な構成でプライベートネットワークに設置すること
ができなかった。これらをプライベートネットワークに
設置してインターネットからWebアクセス可能とする
ためにはWebサーバ自体をゲートウエイ化するなど特
別はハードウエアとソフトウエアを必要とした。(3)
Webブラウザから遠隔監視制御するためにはWebサ
ーバでダイナミックなHLMLページを作成する必要が
あるため、ローカル監視制御装置とは別に遠隔監視制御
のためのWebサーバ用の専用ソフトウエアを必要とし
た。
However, the conventional example_1 has the following problems. (1) The abnormal information could be sent by e-mail, but the arrival could not be confirmed. Therefore, a separate means was needed to know whether the abnormal information really arrived. (2)
From the perspective of Internet security, it is safer to install the monitoring control system (control device, local monitoring control device, Web server, etc.) in a private network. However, the Web server needs to be installed on the global network in order to enable access via the Internet. The control device and the local monitoring control device could not be installed in the private network with a simple configuration using a NAT router (a router that connects the private network and the global network). In order to install these on a private network and enable Web access from the Internet, special hardware and software were required, such as making the Web server itself a gateway. (3)
In order to perform remote monitoring control from the Web browser, it is necessary to create a dynamic HLML page in the Web server, and therefore, dedicated software for the Web server for remote monitoring control is required in addition to the local monitoring control device.

【0004】図15は遠隔監視制御システムの従来例_
2の構成図を示す。1と2は制御装置であり、3は監視
画面を持ったローカル監視制御装置である。22は電子
メール受信装置、23は電子メール遠隔送信装置、8は
電子メール受信のためのPOP3サーバ(L)である。
制御装置から電子メール遠隔受信装置への異常情報の通
報の動作は従来例_1の場合と同じである。従来例_2
では以下のように電子メールを使用して遠隔制御をす
る。制御を実行するためのコマンドをあらかじめ決めら
れた記述ルールに従って記述して制御文書を作成する。
これを電子メール受信装置宛てに送る。電子メール受信
装置は定周期でPOP3サーバ(L)をポーリングする
ことにより制御文書を入手する。受信した制御文書を解
読して制御装置が管理しているポイントに発停コマンド
を送って制御を実行する。Webアクセスは使用してい
なくて電子メールだけの通信を使用しているため制御装
置類をNATルータを使用してプライベートネットワー
クに設置できるという利点がある。
FIG. 15 shows a conventional example of a remote monitoring control system--
2 shows a configuration diagram of No. 2. Reference numerals 1 and 2 are control devices, and 3 is a local monitoring control device having a monitoring screen. Reference numeral 22 is an electronic mail receiving device, 23 is an electronic mail remote transmitting device, and 8 is a POP3 server (L) for receiving electronic mail.
The operation of reporting abnormal information from the control device to the electronic mail remote receiving device is the same as in the case of Conventional Example_1. Conventional example_2
Then, remote control using e-mail as follows. A control document is created by describing commands for executing control according to predetermined description rules.
This is sent to the electronic mail receiving device. The electronic mail receiving device obtains the control document by polling the POP3 server (L) at regular intervals. The control document is decrypted and a start / stop command is sent to a point managed by the control device to execute control. Since the Web access is not used and only the communication of the electronic mail is used, there is an advantage that the control devices can be installed in the private network by using the NAT router.

【0005】しかし、従来例_2では以下の問題点があ
った。(1)異常情報を電子メールで送信できたが到達
確認ができなかった。これは従来例_1と同じである。
(2)電子メール遠隔送信装置から電子メールで制御文
書を送信できたが、これが到達したかどうか、またその
コマンド実行結果についての応答が得られなかった。結
果を知るためには別途の手段を必要とした。(3)電子
メール遠隔送信装置では制御文書を作成するため、電子
メール受信装置では制御文書を解読および実行するた
め、専用ソフトウエアを必要とした。
However, the conventional example_2 has the following problems. (1) The abnormal information could be sent by e-mail, but the arrival could not be confirmed. This is the same as the conventional example_1.
(2) E-mail The control document could be sent from the remote sending device by e-mail, but no response was received as to whether it arrived and the command execution result. A separate means was needed to know the results. (3) Dedicated software is required in order to create a control document in the electronic mail remote transmission device and to decode and execute the control document in the electronic mail reception device.

【0006】[0006]

【発明が解決しようとする課題】解決しようとする問題
点は、インターネットを経由して遠隔監視制御するシス
テムにおいて、(1)制御装置と遠隔監視制御装置との
間で要求に対する応答が実現されていない点、即ち情報
が一方向に送られっぱなしにされている点、(2)イン
ターネット経由で遠隔監視をするために、監視制御シス
テムをプライベートネットワークに設置できなくグロー
バルネットワークに設置しなければならない点、(3)
遠隔監視制御のために専用ソフトウエアを必要とする点
である。
The problems to be solved are: (1) In a system for remote monitoring and control via the Internet, (1) a response to a request is realized between the control device and the remote monitoring control device. There is no point, that is, information is being sent in one direction, (2) In order to perform remote monitoring via the Internet, the supervisory control system cannot be installed in the private network and must be installed in the global network. Point, (3)
The point is that special software is required for remote monitoring control.

【0007】[0007]

【課題を解決するための手段】本発明は、制御装置の間
で交信されているメッセージをそのものを、電子メール
経由で遠隔監視制御装置にも到達可能とし、遠隔監視制
御装置も監視制御システムの装置の一部として動作させ
る機能を持つ電子メールゲートウエイが設置されること
を特徴とする。また複数の制御装置と複数の遠隔監視制
御装置の間でも要求メッセージと応答メッセージを正し
く交信できるようにするためInvoke_ID管理テ
ーブルを備えていることを特徴とする。なおInvok
e_IDとは、要求メッセージを一意的に識別可能とす
るために、装置が要求メッセージに対して発行する識別
子である。応答メッセージは要求メッセージと同一のI
nvoke_IDをもって返される。このInvoke
_IDを使用することにより要求メッセージと応答メッ
セージの一致をとることができる。
SUMMARY OF THE INVENTION The present invention enables a message communicated between control devices to reach a remote monitoring control device via e-mail, and the remote monitoring control device also operates in a monitoring control system. An electronic mail gateway having a function of operating as a part of the device is installed. Further, it is characterized in that an Invoke_ID management table is provided so that the request message and the response message can be correctly communicated between the plurality of control devices and the plurality of remote monitoring control devices. Invok
The e_ID is an identifier issued to the request message by the device in order to uniquely identify the request message. The response message has the same I as the request message.
It is returned with the nvoke_ID. This Invoke
The request message and the response message can be matched by using the _ID.

【0008】[0008]

【発明の実施の形態】監視制御システムでは、お互いの
装置はネットワークに接続されていて、お互いの装置の
間でメッセージを交信することによって監視制御が実行
されている。交信されるメッセージとその通信プロトコ
ールは監視制御システムで決められている。多くの場
合、インターネットとのプロトコールの相異、あるいは
信頼性などから、制御装置の間で使用されている通信プ
ロトコールを使用して直接にインターネット経由の通信
をすることはできない。また多くの場合、監視制御シス
テムはプライベートネットワークに設置されている。こ
のためインターネット経由して直接に制御装置にはアク
セスできない。今回、制御装置のネットワークに電子メ
ールゲートウエイを設置することにより、制御装置の間
で交信されているメッセージ自体を電子メールのプロト
コールであるSMTPおよびPOP3プロトコールに載
せて遠隔地に設置された電子メール遠隔監視制御装置に
も到達できるようにする。また逆に電子メール遠隔監視
制御装置からこの電子メールプロトコールを使って制御
装置にメッセージを到達できるようにする。この電子メ
ールゲートウエイを設置するこにより遠隔地に設置され
た電子メール遠隔監視制御装置も監視制御システムの一
部として動作するようになる。
BEST MODE FOR CARRYING OUT THE INVENTION In a supervisory control system, mutual devices are connected to a network, and supervisory control is executed by exchanging messages between the mutual devices. Messages exchanged and their communication protocols are defined by the supervisory control system. In many cases, it is not possible to directly communicate via the Internet using the communication protocol used between control devices due to differences in the protocol with the Internet or reliability. In many cases, supervisory control systems are installed in private networks. Therefore, the control device cannot be directly accessed via the Internet. This time, by installing an e-mail gateway in the network of the control device, the message itself exchanged between the control devices is placed in the SMTP and POP3 protocols, which are the e-mail protocols, and the e-mail remote installed in the remote place. Allow access to the supervisory controller. On the contrary, a message can be reached from the electronic mail remote monitoring control device to the control device by using this electronic mail protocol. By installing this e-mail gateway, the e-mail remote monitoring control device installed at a remote place also operates as a part of the monitoring control system.

【実施例】【Example】

【0009】監視制御システムの一分野であるビル監視
制御システムでの実施例について説明する。ビル監視制
御システムではASHRAE(米国冷暖房空調学会)に
よって通信メッセージおよび通信プロトコールが標準化
されている。メッセージは「BACnetメッセージ」
として知られている(BACnetメッセージの構成に
ついては後記参照)。このメッセージ自体は伝送効率を
上げるためバイナリデータとして符号化されている。こ
のBACnetメッセージを運ぶプロトコールとして
「BACnet/IP」プロトコールが規定されてい
る。これはUDPパケットとして運ばれる。
An example of a building supervisory control system, which is one field of the supervisory control system, will be described. In building monitoring and control systems, communication messages and communication protocols are standardized by ASHRAE (American Society of Heating, Air Conditioning and Air Conditioning). The message is "BACnet message"
(See below for the structure of the BACnet message). This message itself is encoded as binary data in order to improve transmission efficiency. The "BACnet / IP" protocol is defined as a protocol for carrying this BACnet message. This is carried as a UDP packet.

【0010】図1は、本発明での電子メールを使用した
遠隔監視制御システムの構成図を示す。1と2は制御装
置であり、3は監視画面を持ったローカル監視制御装置
である。4は今回新設した電子メールゲートウエイ装置
である。5と6はインターネットを経由した遠隔地に設
置されている電子メール遠隔監視制御装置である。7は
制御装置が電子メールを送受信するためのSMTPサー
バ(L)である。8は制御装置が電子メールを受信する
ためのPOP3サーバ(L)である。9は遠隔電子メー
ル監視装置が電子メールを送受信するためのSMTPサ
ーバ(R)である。10は遠隔電子メール監視装置が電
子メールを受信するためのPOP3サーバ(R)であ
る。インターネット経由で電子メールを送受信するため
にはこれら7,8,9,10の電子メールサーバはすべ
てグローバルネットワーク上に設置されていなければな
らない。これら電子メールサーバはインターネット接続
サービスプロバイダ内、あるいはグローバルアドレスを
入手したユーザ内に設置されている。12、13はイン
ターネットと電子メールサーバを接続しているルータで
ある。1、2、3、4の各装置はプライベートネットワ
ークに設置されている。11はプライベートネットワー
クとグローバルネットワークを接続するためのNAT
(Network Address Translation)ルータである。これ
はポート番号の変換を行うことにより複数のプライベー
トアドレスを一つのグローバルアドレスに置き換える機
能をもっている。インターネットからはNATルータの
単一のグローバルアドレスだけが参照可能である。この
ようにNATルータ経由でインターネットに接続されて
いる構成により、インターネット側からビル監視制御装
置が直接アクセスされることは無くセキュリテイ上安全
になっている。5もプライベートネットワーク上に設置
されていて、14はグローバルネットワークとアドレス
変換して接続するNATルータである。同様に、6もプ
ライベートネットワーク上に設置されていて、15はグ
ローバルネットワークとアドレス変換して接続するNA
Tルータである。従って5、6の電子メール遠隔監視制
御装置もインターネットから直接アクセスされることは
無くセキュリテイ上安全になっている。後での説明で使
用するため、1、2、3、4、5、6のアドレスをそれ
ぞれ、192.168.1.11, 192.168.1.12, 192.168.1.90, 19
2.168.1.50, 172.16.1.5, 172.16.2.5 とする。
FIG. 1 is a block diagram of a remote monitoring control system using electronic mail according to the present invention. Reference numerals 1 and 2 are control devices, and 3 is a local monitoring control device having a monitoring screen. 4 is an e-mail gateway device newly installed this time. Reference numerals 5 and 6 are electronic mail remote monitoring and control devices installed at remote locations via the Internet. Reference numeral 7 is an SMTP server (L) for the control device to send and receive electronic mail. Reference numeral 8 is a POP3 server (L) for the control device to receive an electronic mail. Reference numeral 9 is an SMTP server (R) for the remote electronic mail monitoring device to send and receive electronic mail. Reference numeral 10 denotes a POP3 server (R) for the remote electronic mail monitoring device to receive an electronic mail. In order to send and receive e-mail via the Internet, these 7, 8, 9, and 10 e-mail servers must all be installed on the global network. These e-mail servers are installed in the Internet connection service provider or the user who has obtained the global address. Reference numerals 12 and 13 are routers that connect the Internet and the electronic mail server. Each of the devices 1, 2, 3, 4 is installed in the private network. 11 is a NAT for connecting a private network and a global network
(Network Address Translation) Router. It has the function of replacing multiple private addresses with one global address by converting the port number. Only a single global address of the NAT router can be referenced from the Internet. In this way, by being connected to the Internet via the NAT router, the building monitoring control device is not directly accessed from the Internet side, which is safe for security. 5 is also installed on the private network, and 14 is a NAT router for address conversion and connection with the global network. Similarly, 6 is also installed on the private network, and 15 is an NA that translates and connects to the global network.
It is a T router. Therefore, the e-mail remote monitoring control devices 5 and 6 are not directly accessed from the Internet, and are safe for security. Addresses 1, 2, 3, 4, 5, 6 are 192.168.1.11, 192.168.1.12, 192.168.1.90, 19 for use in later explanation.
2.168.1.50, 172.16.1.5, 172.16.2.5.

【0011】図2は1および2の制御装置のソフトウエ
ア構成を示す。制御アプリケーションからの要求はBA
CnetプロトコールスタックでBACnetメッセー
ジに変換され、BACnet/IPインターフェース経
由でBACnet/IPプロトコールで運ばれる形式の
メッセージデータに変換され、ソケットインターフェー
ス、TCP/IPプロトコールスタック、イーサネット
(商標)ドライバ経由で、イーサネット(商標)上にU
DPパケットとして送信される。パケット受信の場合に
は逆のプロセスをたどる。図3は3のローカル監視制御
装置のソフトウエア構成を示す。図2と比較すると、最
上位層のアプリケーション部分だけが異なっているだけ
でそれ以下の層は図2の場合と同一である。図4は4の
電子メールゲートウエイ装置のソフトウエア構成を示
す。この電子メールゲートウエイは、BACnet/I
Pプロトコールとインターフェースする部分(左側)
と、電子メールのプロトコールであるSMTP(Simple
Mail Transfer Protocol)およびPOP3(Post Offi
ce Protocol Ver3)プロトコールとインターフェースす
る部分(右側)の2つの側面を持っている。左側部分は
アプリケーション層が異なるだけで図2、図3と同一で
ある。右側部分は電子メールプロトコールとインターフ
ェースする。BACnet/IPから受信されたBAC
netメッセージは、いったん電子メールゲートウエイ
アプリケーションに取り込まれる。電子メール遠隔監視
制御装置にSMTPプロトコールで送信するため、メッ
セージ内の送受信アドレス、Invoke_IDなどが
変換される。BACnetプロトコールスタックでBA
Cnetメッセージに再変換され、SMTPクライアン
トインターフェース経由で、SMTPプロトコールで運
ばれるデータ形式に変換され、ソケットインターフェー
ス、TCP/IPプロトコールスタック、イーサネット
(商標)ドライバ経由で、イーサネット(商標)上にT
CPデータとして送信される。一方、電子メールゲート
ウエイはPOP3サーバ(L)を定周期でポーリングす
ることによってPOP3クライアントインターフェース
経由で5と6の電子メール遠隔監視制御装置から送信さ
れた電子メールデータ(BACnetメッセージ)を受
信する。受信されたBACnetメッセージは、いった
ん電子メールゲートウエイアプリケーションに取り込ま
れる。制御装置にBACnet/IPプロトコールで送
信するため、メッセージ内の送受信アドレス、Invo
ke_IDなどが変換される。BACnet/IPイン
ターフェース経由で、BACnet/IPプロトコール
で運ばれる形式のメッセージデータに変換され、ソケッ
トインターフェース、TCP/IPプロトコールスタッ
ク、イーサネット(商標)ドライバ経由で、イーサネッ
ト(商標)上にUDPパケットとして送信される。図5
は5および6の電子メール遠隔制御監視装置のソフトウ
エア構成を示す。最上位のアプリケーション層のソフト
ウエアは図3のローカル監視制御装置のものとほぼ同一
である。それ以下の層は図4の電子メールゲートウエイ
の右側の部分(電子メールとインターフェースする部
分)と同一である。
FIG. 2 shows the software configuration of the control devices 1 and 2. The request from the control application is BA
It is converted into a BACnet message by the Cnet protocol stack, converted into message data in a format carried by the BACnet / IP protocol via the BACnet / IP interface, and transmitted via the socket interface, the TCP / IP protocol stack, the Ethernet (trademark) driver, and the Ethernet ( Trademark) on U
It is transmitted as a DP packet. In the case of packet reception, the reverse process is followed. FIG. 3 shows a software configuration of the local monitoring control device 3 of FIG. Compared to FIG. 2, only the application portion of the top layer is different, and the layers below it are the same as in FIG. FIG. 4 shows the software configuration of the electronic mail gateway device 4 of FIG. This email gateway is based on BACnet / I
Portion to interface with P protocol (left side)
And the SMTP (Simple
Mail Transfer Protocol) and POP3 (Post Offi)
ce Protocol Ver3) It has two sides, the part that interfaces with the protocol (right side). The left part is the same as FIG. 2 and FIG. 3 except that the application layer is different. The right part interfaces with the email protocol. BAC received from BACnet / IP
The net message is once captured by the email gateway application. Since the message is transmitted to the e-mail remote monitoring controller by the SMTP protocol, the transmission / reception address and Invoke_ID in the message are converted. BA on the BACnet protocol stack
It is re-converted into a Cnet message, converted into a data format carried by the SMTP protocol via the SMTP client interface, and transmitted over the Ethernet (trademark) via the socket interface, the TCP / IP protocol stack, and the Ethernet (trademark) driver.
It is transmitted as CP data. On the other hand, the e-mail gateway receives e-mail data (BACnet message) transmitted from the e-mail remote monitoring control devices 5 and 6 via the POP3 client interface by polling the POP3 server (L) at regular intervals. The received BACnet message is once captured by the email gateway application. Since it is sent to the control device by the BACnet / IP protocol, the send / receive address in the message, Invo
The ke_ID and the like are converted. It is converted into message data in the format carried by the BACnet / IP protocol via the BACnet / IP interface, and is transmitted as a UDP packet on the Ethernet (trademark) via the socket interface, the TCP / IP protocol stack, and the Ethernet (trademark) driver. It Figure 5
Shows the software configuration of the electronic mail remote control monitoring devices 5 and 6. The software of the highest application layer is almost the same as that of the local supervisory controller of FIG. Subsequent layers are the same as the part on the right side of the e-mail gateway in FIG. 4 (the part that interfaces with e-mail).

【0012】電子メールゲートウエイと電子メール遠隔
監視制御装置はバイナリデータとテキストデータとの変
換機能を持っている。この変換規則はMIME(Multip
urpose Internet Mail Extension)として知られてい
る。BACnet/IPプロトコールで運ばれるBAC
netメッセージは伝送効率を上げるためバイナリデー
タとなっている。一方、電子メールで使用されるSMT
PおよびPOP3プロトコールで運ばれるメッセージは
テキストデータである。したがってBACnet/IP
からのBACnetメッセージは電子メールゲートウエ
イでMIME変換されテキストデータとして電子メール
遠隔監視制御装置に送られる。電子メール遠隔監視装置
は受信したデータをMIME逆変換することで元のバイ
ナリデータであるBACnetメッセージデータを得
る。電子メール遠隔監視制御装置はBACnetメッセ
ージをMIME変換してテキストデータとして電子メー
ルゲートウエイに送信する。電子メールゲートウエイは
受信したデータをMIME逆変換することで元のバイナ
リデータであるBACnetメッセージデータを得る。
The e-mail gateway and the e-mail remote monitoring control device have a conversion function between binary data and text data. This conversion rule is MIME (Multip
urpose Internet Mail Extension). BAC carried by BACnet / IP protocol
The net message is binary data to improve transmission efficiency. On the other hand, SMT used in email
The messages carried in the P and POP3 protocols are textual data. Therefore BACnet / IP
The BACnet message from is converted to MIME by the e-mail gateway and sent as text data to the e-mail remote monitoring controller. The e-mail remote monitoring device obtains BACnet message data, which is the original binary data, by performing the MIME reverse conversion on the received data. The e-mail remote monitoring control device converts the BACnet message into MIME and sends it as text data to the e-mail gateway. The e-mail gateway obtains BACnet message data, which is the original binary data, by performing the MIME reverse conversion on the received data.

【0013】図6はビル監視制御装置の間で交信されて
いるBACnetメッセージ(以降単にメッセージと記
す)の構成を示す。メッセージのルーテイングに関係す
る部分をデータとは分けて図示した。要求/応答フラグ
はこのメッセージが要求メッセージであるか、応答メッ
セージであるかを示すフラグである。0のとき要求メッ
セージ、1のとき応答メッセージを示す。受信アドレス
はメッセージを受信する装置のアドレスを示す。装置ア
ドレスはTCP/IPネットワークではIPアドレスで
表現される。送信アドレスはメッセージを送信する装置
アドレスを示す。Invoke_IDは要求メッセージ
をユニークに識別するための識別子である。応答メッセ
ージは必ずしも要求メッセージの発行順に返らない。こ
のため要求メッセージと応答メッセージの一致をとるた
めに使用される。Invoke_IDは装置ごとに管理
されている。装置は新たに要求メッセージを発行するご
とにユニークな識別子としてInvoke_IDを生成
して要求メッセージに付加する。応答メッセージは要求
メッセージと同じInvoke_IDを付加して返され
る。したがって応答メッセージが返ってきたときこのI
nvoke_IDを参照することによりどの要求メッセ
ージに対応しているものかを知ることができる。
FIG. 6 shows the structure of a BACnet message (hereinafter simply referred to as a message) exchanged between the building monitoring and control devices. Parts related to message routing are shown separately from data. The request / response flag is a flag indicating whether this message is a request message or a response message. A 0 indicates a request message and a 1 indicates a response message. The reception address indicates the address of the device that receives the message. The device address is represented by an IP address in the TCP / IP network. The transmission address indicates the device address that transmits the message. Invoke_ID is an identifier for uniquely identifying the request message. Response messages are not always returned in the order of request message issuance. Therefore, it is used to match the request message and the response message. The Invoke_ID is managed for each device. Every time the device issues a new request message, the device generates an Invoke_ID as a unique identifier and adds it to the request message. The response message is returned with the same Invoke_ID as the request message. Therefore, when a response message is returned, this I
It is possible to know which request message is supported by referring to the nvoke_ID.

【0014】図7と図8は、制御装置内部でのオブジェ
クト構成、電子メールゲートウエイ内部でのオブジェク
ト構成、電子メール遠隔監視制御装置内部でのオブジェ
クト構成、および、これらのオブジェクトの間でのメッ
セージの流れを示す。図7は制御装置から要求メッセー
ジが発行された場合を示す。図8は電子メール遠隔監視
制御装置から要求メッセージが発行された場合を示す。
要求メッセージを実線で、応答メッセージを点線で示
す。温度センサ、ON・OFFスイッチなどの物理的な
入出点情報は制御装置内部のソフトウエア上では入出点
オブジェクトとしてモデル化される。25、26、2
7、28はこれら入出力点オブジェクトを示す。電子メ
ールゲートウエイはBACnet/IPとして通信する
機能と電子メールを送受信する機能をもった装置であ
る。このうち電子メールを送信する機能はソフトウエア
上ではSMTPオブジェクトとしてモデル化される。2
9、30はSMTPオブジェクトを示す。SMTPオブ
ジェクトと電子メール遠隔監視制御装置は1:1の関係
にある。したがってSMTPオブジェクトは電子メール
遠隔監視制御装置の数だけ存在する。SMTPオブジェ
クトは電子メールゲートウエイ装置内ではSMTPオブ
ジェクト_IDによって識別される。SMTPオブジェ
クトに送信されたメッセージはSMTPオブジェクト内
部のSMTPクライアントインターフェースを経由して
設定されている電子メール遠隔監視制御装置に送られ
る。一方、電子メールを受信する機能はソフトウエア上
ではPOP3オブジェクトとしてモデル化される。この
POP3オブジェクトは電子メールゲートウエイ内に一
個だけ存在する。POP3オブジェクトは内部のPOP
3クライアントインターフェースを経由してPOP3サ
ーバ(L)を定周期でポーリングして電子メールゲート
ウエイに送られてきた電子メール(BACnetメッセ
ージ)を受信する。次にメッセージに記されている受信
アドレスを参照してBACnet/IPインターフェー
ス経由で制御装置宛てにBACnet/IPメッセージ
を送信する。電子メール遠隔監視制御装置は電子メール
を送受信する機能をもった装置である。このうち電子メ
ールを送信する機能はソフトウエア上ではSMTPオブ
ジェクトとしてモデル化される。32、34はSMTP
オブジェクトを示す。電子メール遠隔監視制御装置での
SMTPオブジェクトは、メッセージの宛て先とは無関
係に、設定されている電子メールゲートウエイにメッセ
ージを送る。最終的なメッセージの宛先はメッセージ内
部に受信アドレスとして記述される。電子メールゲート
ウエイがこの最終宛先にメッセージを転送する。一方、
電子メールを受信する機能はソフトウエア上ではPOP
3オブジェクトとしてモデル化される。33、35はP
OP3オブジェクトを示す。POP3オブジェクトは内
部のPOP3クライアントインターフェースを経由して
POP3サーバ(R)を定周期でポーリングして電子メ
ール遠隔監視装置に送られた電子メール(BACnet
メッセージ)を受信する。
FIGS. 7 and 8 show the object structure inside the control device, the object structure inside the e-mail gateway, the object structure inside the e-mail remote monitoring and control device, and the messages between these objects. Show the flow. FIG. 7 shows the case where the request message is issued from the control device. FIG. 8 shows a case where a request message is issued from the electronic mail remote monitoring control device.
The request message is shown by a solid line and the response message is shown by a dotted line. Physical entry / exit point information such as a temperature sensor and an ON / OFF switch is modeled as an entry / exit point object in software inside the control device. 25, 26, 2
Reference numerals 7 and 28 denote these input / output point objects. The electronic mail gateway is a device having a function of communicating as BACnet / IP and a function of transmitting and receiving electronic mail. Of these, the function of sending an electronic mail is modeled as an SMTP object in software. Two
Reference numerals 9 and 30 denote SMTP objects. The SMTP object and the electronic mail remote monitoring controller have a 1: 1 relationship. Therefore, there are as many SMTP objects as there are electronic mail remote monitoring control devices. The SMTP object is identified by the SMTP object_ID in the email gateway device. The message sent to the SMTP object is sent via the SMTP client interface inside the SMTP object to the configured e-mail remote monitoring controller. On the other hand, the function of receiving an electronic mail is modeled as a POP3 object in software. There is only one POP3 object in the email gateway. The POP3 object is an internal POP
The POP3 server (L) is polled at regular intervals via the 3-client interface to receive the electronic mail (BACnet message) sent to the electronic mail gateway. Next, the BACnet / IP message is transmitted to the control device via the BACnet / IP interface with reference to the reception address described in the message. The electronic mail remote monitoring control device is a device having a function of transmitting and receiving electronic mail. Of these, the function of sending an electronic mail is modeled as an SMTP object in software. 32 and 34 are SMTP
Indicates an object. The SMTP object in the electronic mail remote monitoring controller sends the message to the set electronic mail gateway regardless of the destination of the message. The final message destination is described as a receiving address inside the message. The email gateway forwards the message to this final destination. on the other hand,
The function to receive e-mail is POP on software.
It is modeled as a three object. 33 and 35 are P
Indicates an OP3 object. The POP3 object polls the POP3 server (R) via the internal POP3 client interface at regular intervals and sends an electronic mail (BACnet) to the electronic mail remote monitoring device.
Message).

【0015】メッセージのルーテイング動作について説
明する。メッセージのルーテイングは電子メールゲート
ウエイ内部に作成される図9、図10、図11のテーブ
ルを構成要素として実行される。図9はSMTPオブジ
ェクト・電子メール遠隔監視制御装置対応テーブルであ
る。電子メールゲートウエイ内部のSMTPオブジェク
トと、対応している電子メール遠隔監視制御装置との関
係を定義している。SMTPオブジェクトはそのオブジ
ェクト属性値としてSMTPオブジェクト_IDと電子
メール遠隔制御装置のアドレス情報を保持している。し
たがって、図9のテーブルはこの情報を参照して電子メ
ールゲートウエイ起動のとき作成される。
The message routing operation will be described. Message routing is executed by using the tables shown in FIGS. 9, 10, and 11 created inside the electronic mail gateway as constituent elements. FIG. 9 shows an SMTP object / e-mail remote monitoring control device correspondence table. It defines the relationship between the SMTP object inside the email gateway and the corresponding email remote monitoring and control device. The SMTP object holds the SMTP object_ID as the object attribute value and the address information of the electronic mail remote control device. Therefore, the table of FIG. 9 is created when the email gateway is activated with reference to this information.

【0016】図10のInvoke_ID管理テーブル
_1は、制御装置から電子メール遠隔監視装置に送られ
た要求メッセージを管理するためのテーブルである。B
ACnet_Invoke_IDは制御装置から発行さ
れたメッセージ識別子である。電子メールゲートウエイ
は、BACnet/IPインターフェースから電子メー
ル遠隔監視制御装置に宛てた要求メッセージ(即ちSM
TPオブジェクトに宛てられたメッセージ)を受信した
とき、新たなレコードを作成する。受信したメッセージ
情報などから、電子メールゲートウエイ装置アドレス、
SMTPオブジェクト_ID、BACnet_Invo
ke_ID、制御装置アドレスが埋められる。電子メー
ルゲートウエイは、SMTPインターフェースに対し
て、新規にユニークなメッセージ識別子SMTP_In
voke_IDを発行してメッセージを送信する。この
ときメッセージの受信アドレスを電子メール遠隔監視制
御装置のアドレスに変換し、Invoke_IDをSM
TP_Invoke_IDに変換する。同時にこの情報
(電子メール遠隔監視制御装置アドレスとSMTP_I
nvoke_ID)をレコードに書き込む。電子メール
遠隔監視制御装置から応答メッセージが返ってきたと
き、このテーブルを検索して、対応している要求メッセ
ージのレコードを得る。このレコードから元のBACn
et_Invoke_IDを知る。またこのレコード情
報から応答メッセージの送信アドレス、Invoke_
ID部分を加工してBACnet/IPメッセージとし
て制御装置に送信する。応答メッセージが複数個のメッ
セージとして返却される場合がある。応答メッセージに
は最後のメッセージであることを示す情報が付加されて
いる。したがって最後の応答メッセージの処理を完了し
たときこれに対応しているレコードをテーブルから削除
する。
The Invoke_ID management table_1 of FIG. 10 is a table for managing the request message sent from the control device to the electronic mail remote monitoring device. B
ACnet_Invoke_ID is a message identifier issued by the control device. The email gateway is a request message (that is, an SM message sent from the BACnet / IP interface to the email remote monitoring controller).
When a message addressed to a TP object) is received, a new record is created. From the received message information etc., the e-mail gateway device address,
SMTP object_ID, BACnet_Invo
The ke_ID and controller address are filled. The email gateway has a new unique message identifier SMTP_In for the SMTP interface.
Issue the voke_ID and send the message. At this time, the receiving address of the message is converted into the address of the e-mail remote monitoring control device, and the Invoke_ID is changed to SM.
Convert to TP_Invoke_ID. At the same time, this information (email remote monitoring controller address and SMTP_I
(nvoke_ID) in the record. When a response message is returned from the electronic mail remote monitoring controller, this table is searched to obtain a record of the corresponding request message. Original BACn from this record
Know the et_Invoke_ID. Also, from this record information, the transmission address of the response message, Invoke
The ID part is processed and transmitted to the control device as a BACnet / IP message. Response messages may be returned as multiple messages. Information indicating that it is the last message is added to the response message. Therefore, when the processing of the last response message is completed, the record corresponding to this is deleted from the table.

【0017】図12は、制御装置_1から電子メール遠
隔監視制御装置_1への要求メッセージとその応答メッ
セージについて、メッセージを運ぶプロトコールと、各
段階でのメッセージ内容を図示したものである。(B)
のメッセージのフィールド値は、要求/応答フラグ、受
信アドレス、送信アドレス、Invoke_ID、要求
/応答データを示す。これは図6のBACnetメッセ
ージ構成図に対応している。
FIG. 12 shows a protocol for carrying a message and a message content at each stage regarding a request message and a response message from the control device_1 to the electronic mail remote monitoring control device_1. (B)
The field value of the message indicates the request / response flag, the reception address, the transmission address, the Invoke_ID, and the request / response data. This corresponds to the BACnet message structure diagram of FIG.

【0018】図11のInvoke_ID管理テーブル
_2は、電子メール遠隔監視装置から制御装置に送られ
た要求メッセージを管理するためのテーブルである。S
MTP_Invoke_IDは電子メール遠隔監視制御
装置から発行されたメッセージ識別子である。電子メー
ルゲートウエイは、POP3インターフェースから制御
装置に宛てた要求メッセージを受信したとき、新たなレ
コードを作成する。受信したメッセージ情報などから、
制御装置アドレス、SMTP_Invoke_ID、電
子メール遠隔制御装置アドレスが埋められる。電子メー
ル遠隔制御装置アドレスをキーとして図9のテーブルを
検索することによって、電子メールゲートウエイアドレ
ス、SMTPオブジェクト_IDが埋められる。BAC
net/IPインターフェースに対して、新規にユニー
クなメッセージ識別子BACnet_Invoke_I
Dを発行してメッセージを送信する。このときメッセー
ジの送信アドレスを電子メールゲートウエイ装置のアド
レスに変換し、Invoke_IDをBACnet_I
nvoke_IDに変換する。同時にこの情報(電子メ
ールデートウエイ装置アドレスとBACnet_Inv
oke_ID)をレコードに書き込む。制御装置から応
答メッセージが返ってきたとき、このテーブルを検索し
て、対応している要求メッセージのレコードを得る。こ
のレコードから元のSMTP_Invoke_ID、S
MTPオブジェクト_ID、電子メール遠隔制御装置ア
ドレスを知る。このレコード情報で応答メッセージの受
信アドレス、Invoke_ID部分を加工してSMT
Pオブジェクトにメッセージ送信を依頼する。SMTP
オブジェクトはSMTPクライアントインターフェース
を経由してメッセージを電子メール遠隔監視制御装置に
送信する。応答メッセージが複数個のメッセージとして
返却される場合がある。応答メッセージには最後のメッ
セージであることを示す情報が付加されている。したが
って最後の応答メッセージの処理を完了したときこれに
対応しているレコードをテーブルから削除する。
The Invoke_ID management table_2 in FIG. 11 is a table for managing the request message sent from the electronic mail remote monitoring device to the control device. S
MTP_Invoke_ID is a message identifier issued from the electronic mail remote monitoring control device. The e-mail gateway creates a new record when it receives a request message addressed to the controller from the POP3 interface. From the received message information etc.,
The controller address, SMTP_Invoke_ID, email remote controller address are filled. By searching the table of FIG. 9 using the e-mail remote control device address as a key, the e-mail gateway address and SMTP object_ID are filled. BAC
A new unique message identifier BACnet_Invoke_I for the net / IP interface
Issue D to send the message. At this time, the transmission address of the message is converted into the address of the electronic mail gateway device, and the Invoke_ID is changed to BACnet_I.
Convert to nvoke_ID. At the same time this information (email dateway device address and BACnet_Inv
ake_ID) in the record. When a response message is returned from the control device, this table is searched to obtain the record of the corresponding request message. Original SMTP_Invoke_ID, S from this record
Know MTP object_ID, email remote controller address. This record information is used to process the reception address and Invoke_ID part of the response message and SMT
Ask the P object to send a message. SMTP
The object sends a message to the email remote monitoring controller via the SMTP client interface. Response messages may be returned as multiple messages. Information indicating that it is the last message is added to the response message. Therefore, when the processing of the last response message is completed, the record corresponding to this is deleted from the table.

【0019】図13は、電子メール遠隔監視制御装置_
1から制御装置_1への要求メッセージとその応答メッ
セージについて、メッセージを運ぶプロトコールと、各
段階でのメッセージ内容を図示したものである。(B)
のメッセージのフィールド値は、要求/応答フラグ、受
信アドレス、送信アドレス、Invoke_ID、要求
/応答データを示す。これは図6のBACnetメッセ
ージ構成図に対応している。
FIG. 13 shows an electronic mail remote monitoring controller_.
1 is a diagram showing a protocol for carrying a message and a message content at each stage for a request message and a response message from 1 to the controller_1. (B)
The field value of the message indicates the request / response flag, the reception address, the transmission address, the Invoke_ID, and the request / response data. This corresponds to the BACnet message structure diagram of FIG.

【0020】図10のInvoke_ID管理テーブル
_1を使用することで、複数の制御装置から同一の電子
メール遠隔監視制御装置に要求メッセージが送られたと
きにも正しく応答メッセージを返すことができることを
説明する。Invoke_IDは要求メッセージ発行す
る装置ごとに管理されているから別々の装置から偶然に
同一のInvoke_IDが発行されるケースが発生す
る。図10に、別々の制御装置(192.168.1.
11と192.168.1.12)から、同一の電子メ
ール遠隔制御装置(=172.16.1.5)宛てに、
偶然に同一なBACnet_Invoke_ID(=
1)で要求メッセージが発行された場合の例を示す。電
子メールゲートウエイはこれらのメッセージに対して、
別々のユニーク識別子であるSMTP_Invoke_
ID(101と102)を発行する。この新たなSMT
P_Invoke_IDの発行と図10のInvoke
_ID管理テーブル_1を使用することで、応答メッセ
ージを、正しく、元の制御装置アドレスと元のBACn
et_Invoke_IDに復元して返却することがで
きる。また、図10を使用することにより、同じ制御装
置から同じ電子メール遠隔監視制御装置に複数の要求メ
ッセージが送られたとき、同じ制御装置から異なる電子
メール遠隔監視制御装置に複数の要求メッセージが送ら
れたときにも、同様にして応答メッセージを正しく元の
要求メッセージ対して返すことができる。
It will be explained that by using the Invoke_ID management table_1 of FIG. 10, a response message can be correctly returned even when request messages are sent from a plurality of control devices to the same electronic mail remote monitoring control device. . Since the Invoke_ID is managed for each device that issues the request message, the same Invoke_ID may be accidentally issued from different devices. In FIG. 10, separate control devices (192.168.1.
11 and 192.168.1.12) to the same electronic mail remote control device (= 172.16.1.5),
Coincidentally the same BACnet_Invoke_ID (=
An example when the request message is issued in 1) is shown. The email gateway responds to these messages by
Separate unique identifiers, SMTP_Invoke_
Issue IDs (101 and 102). This new SMT
Issuance of P_Invoke_ID and Invoke of FIG.
By using the _ID management table_1, the response message can be correctly transmitted with the original control device address and the original BACn.
It can be restored to et_Invoke_ID and returned. Further, by using FIG. 10, when a plurality of request messages are sent from the same control device to the same e-mail remote monitoring control device, a plurality of request messages are sent from the same control device to different e-mail remote monitoring control devices. In the same manner, the response message can be returned correctly to the original request message.

【0021】図11のInvoke_ID管理テーブル
_2を使用することで、複数の電子メール遠隔監視制御
装置から同一の制御装置、同一の入出力点オブジェクト
に要求メッセージが送られたときにも正しく応答メッセ
ージを返すことができることを説明する。Invoke
_IDは要求メッセージ発行する装置ごとに管理されて
いるから別々の装置から偶然に同一のInvoke_I
Dが発行されるケースが発生する。図11に、別々の電
子メール遠隔監視制御装置(172.16.1.5と1
72.16.2.5)から、同一の制御装置(=19
2.16.1.11)宛てに、偶然に同一なSMTP_
Invoke_ID(=2)で要求メッセージが発行さ
れた場合の例を示す。電子メールゲートウエイはこれら
のメッセージに対して、別々のユニーク識別子であるB
ACnet_Invoke_ID(102と103)を
発行する。この新たなBACnet_Invoke_I
Dの発行と図11のInvoke_ID管理テーブル_
2を使用することで、応答メッセージを、正しく、元の
電子メール遠隔制御装置アドレスに、元のBACnet
_Invoke_IDに復元して返却することができ
る。また、図11を使用することにより、同じ電子メー
ル遠隔監視制御装置から同じ制御装置に複数の要求メッ
セージが送られたとき、同じ電子メール遠隔監視制御装
置から異なる制御装置に複数の要求メッセージが送られ
たときにも、同様にして応答メッセージを正しく元の要
求メッセージ対して返すことができる。
By using the Invoke_ID management table_2 in FIG. 11, even when a request message is sent from a plurality of electronic mail remote monitoring control devices to the same control device and the same input / output point object, a correct response message is sent. Explain that you can return. Invoke
Since the _ID is managed for each device that issues the request message, the same Invoke_I is accidentally sent from different devices.
The case where D is issued occurs. FIG. 11 shows separate e-mail remote monitoring control devices (172.16.1.5 and 1).
72.16.2.5) from the same controller (= 19
2.16.1.11) accidentally the same SMTP_
An example in which a request message is issued with Invoke_ID (= 2) is shown. The email gateway has a unique identifier, B, for these messages.
Issue ACnet_Invoke_ID (102 and 103). This new BACnet_Invoke_I
Issue D and Invoke_ID management table in FIG.
2 is used to correctly send the response message to the original e-mail remote controller address and the original BACnet
It can be restored to _Invoke_ID and returned. Further, by using FIG. 11, when a plurality of request messages are sent from the same e-mail remote monitoring control device to the same control device, a plurality of request messages are sent from the same e-mail remote monitoring control device to different control devices. In the same manner, the response message can be returned correctly to the original request message.

【0022】実装に関する事項について説明する。装置
は要求メッセージを発行するときタイムアウト時間を設
定する。この時間内に応答メッセージが返ってこない場
合にはあらかじめ決められた回数だけ要求メッセージを
再送する。電子メール経由でのメッセージ通信には時間
がかかるから、制御装置から電子メール遠隔監視制御装
置への要求メッセージ(電子メールゲートウエイ内のS
MTPオブジェクトへの要求メッセージ)を発行すると
きにはこのタイムアウト時間を平均電子メール往復時間
より長く(約2倍に)設定するようにする。電子メール
ゲートウエイから電子メール遠隔監視制御装置へのSM
TP要求メッセージを発行するとき、電子メール遠隔監
視制御装置から電子メールゲートウエイへのSMTP要
求メッセージを発行するときにも同様にタイムアウト時
間を平均電子メール往復時間よりも長く(約2倍に)設
定するようにする。また図10と図11のInvoke
_ID管理テーブルのレコードに要求メッセージ発行の
タイムスタンプ情報を付加して、タイムスタンプ情報と
現在時間を比較して、何かの原因で応答が返ってこなか
った要求メッセージのレコードを削除するようにする。
これはInvoke_ID管理テーブル上で無効なレコ
ードが無制限に増えてしまうことを防止する。
Items related to mounting will be described. The device sets a timeout period when issuing a request message. If the response message is not returned within this time, the request message is retransmitted a predetermined number of times. Since message communication via e-mail takes time, a request message from the control device to the e-mail remote monitoring control device (S in the e-mail gateway)
When issuing a request message to the MTP object), this timeout time is set to be longer (about twice) than the average e-mail round trip time. SM from e-mail gateway to e-mail remote monitoring controller
Similarly, when issuing a TP request message, when issuing an SMTP request message from the e-mail remote monitoring controller to the e-mail gateway, the timeout time is set longer than the average e-mail round trip time (about twice). To do so. Invoke of FIGS. 10 and 11
Add the time stamp information for issuing the request message to the record of the _ID management table, compare the time stamp information with the current time, and delete the record of the request message for which a response has not been returned for some reason. .
This prevents an unlimited increase of invalid records on the Invoke_ID management table.

【0023】次に応用例について説明する。インターネ
ット通信を安全なものにするために電子メールゲートウ
エイ、電子メール遠隔監視制御装置との間の電子メール
を公開鍵暗号化方式で暗号化して通信するようにする。
上記の各装置は自分の装置の秘密鍵と公開鍵を所有す
る。メッセージを送信するときは自分の秘密鍵で暗号化
してから送信する。受信側は送信側のアドレスから送信
装置を判断して送信装置の公開鍵を使用して復号化す
る。公開鍵で復号化できるのはその秘密鍵で暗号化され
たメール、即ち信頼できる送信装置からのメールだけで
ある。復号化に失敗したときは第3者からの許可されて
いないメールであると判断して廃棄する。これにより
「なりすまし」の第3者からの送信メールを防止でき
る。また電子メールでの情報が暗号化されているためイ
ンターネット上での盗聴を防止できる。
Next, application examples will be described. In order to secure the Internet communication, the electronic mail between the electronic mail gateway and the electronic mail remote monitoring control device is encrypted by the public key encryption method for communication.
Each of the above devices has its own private and public key. When sending a message, encrypt it with your private key before sending. The receiving side determines the transmitting device from the address of the transmitting side and decrypts it using the public key of the transmitting device. Only mail encrypted with the private key, that is, mail from a reliable sender can be decrypted with the public key. If the decryption fails, it is determined that the email is not authorized by a third party and is discarded. As a result, it is possible to prevent an email sent from a third party who is “spoofing”. Moreover, since the information in the e-mail is encrypted, it is possible to prevent eavesdropping on the Internet.

【0024】電子メールゲートウエイは制御装置とは別
の装置として説明した。しかし電子メールゲートウエイ
は制御装置あるいはローカル監視制御装置内に実装する
ことも可能である。この構成によりハードウエアの数が
少ない小規模なシステムにも対応できるようになる。
The email gateway has been described as a separate device from the controller. However, the email gateway can also be implemented in the controller or local supervisory controller. With this configuration, it becomes possible to support a small-scale system with a small number of hardware.

【0025】[0025]

【発明の効果】電子メールゲートウエイを設置して制御
メッセージそのものを電子メール遠隔監視制御装置にも
到達できるようにしたことにより、制御装置と電子メー
ル遠隔監視制御装置は、それぞれの要求メッセージに対
して応答メッセージを受信できるようになる。即ち情報
が一方向に送られっぱなしであった点が改善される。I
nvoke_ID管理テーブルを構成要素として持つこ
とにより、複数の制御装置からの要求メッセージ、複数
の電子メール遠隔制御装置からの要求メッセージに対し
ても応答メッセージを正しく返却できるようになる。イ
ンターネットとは電子メールのプロトコールであるSM
TPとPOP3プロトコールで通信するため、制御装
置、プライベート監視制御システム、電子メールゲート
ウエイ、電子メール遠隔監視制御装置をプライベートネ
ットワークに設置できるようになりインターネットセキ
ュリテイ上でより安全になる。電子メール遠隔監視制御
装置は制御装置間で交信されるメッセージそのものを使
用して動作するためローカル監視制御装置のソフトウエ
アが流用でき、遠隔監視制御のためのソフトウエア作成
工数を減らすことができる。電子メールゲートウエイと
電子メール遠隔監視制御装置の間で、公開鍵暗号化方式
を使用した通信をすることで、インターネット通信で発
生する可能性がある「盗聴」や「なりすまし」を防止で
きる。
By providing the electronic mail gateway so that the control message itself can reach the electronic mail remote monitoring control device, the control device and the electronic mail remote monitoring control device respond to each request message. You will be able to receive reply messages. That is, the point that the information is continuously sent in one direction is improved. I
By having the nvoke_ID management table as a constituent element, it becomes possible to correctly return a response message to request messages from a plurality of control devices and request messages from a plurality of electronic mail remote control devices. The Internet is an email protocol SM
Since the TP and the POP3 protocol are used for communication, the control device, the private monitoring control system, the e-mail gateway, and the e-mail remote monitoring control device can be installed in the private network, which makes the internet security more secure. Since the electronic mail remote monitoring control device operates by using the message itself communicated between the control devices, the software of the local monitoring control device can be diverted and the man-hours for creating software for remote monitoring control can be reduced. By performing communication using the public key encryption method between the e-mail gateway and the e-mail remote monitoring and control device, it is possible to prevent "eavesdropping" and "spoofing" that may occur in Internet communication.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の構成図である。FIG. 1 is a configuration diagram of the present invention.

【図2】制御装置のソフトウエア構成図である。FIG. 2 is a software configuration diagram of a control device.

【図3】ローカル監視制御装置のソフトウエア構成図で
ある。
FIG. 3 is a software configuration diagram of a local monitoring control device.

【図4】電子メールゲートウエイ装置のソフトウエア構
成図である。
FIG. 4 is a software configuration diagram of an electronic mail gateway device.

【図5】電子メール遠隔監視制御装置のソフトウエア構
成図である。
FIG. 5 is a software configuration diagram of an electronic mail remote monitoring control device.

【図6】BACnetメッセージの構成説明図である。FIG. 6 is a diagram showing the structure of a BACnet message.

【図7】制御装置、電子メールゲートウエイ、電子メー
ル遠隔監視制御装置内のオブジェクト、とその関連を示
した図である。制御装置からの要求メッセージとその応
答メッセージの流れも示す。
FIG. 7 is a diagram showing a control device, an electronic mail gateway, objects in an electronic mail remote monitoring control device, and their relations. It also shows the flow of request and response messages from the controller.

【図8】制御装置、電子メールゲートウエイ、電子メー
ル遠隔監視制御装置内のオブジェクト、とその関連を示
した図である。電子メール遠隔監視制御からの要求メッ
セージとその応答メッセージの流れも示す。
FIG. 8 is a diagram showing a control device, an electronic mail gateway, objects in an electronic mail remote monitoring control device, and their relations. It also shows the flow of the request message and its response message from the electronic mail remote monitoring control.

【図9】SMTPオブジェクト・電子メール遠隔監視制
御装置対応テーブルである。
FIG. 9 is an SMTP object / e-mail remote monitoring control device correspondence table.

【図10】制御装置から電子メール遠隔監視制御装置へ
の要求メッセージを管理するInvoke_ID管理テ
ーブル_1である。
FIG. 10 is an Invoke_ID management table_1 for managing a request message from the control device to the e-mail remote monitoring control device.

【図11】電子メール遠隔監視制御装置から制御装置へ
の要求メッセージを管理するInvoke_ID管理テ
ーブル_2である。
FIG. 11 is an Invoke_ID management table_2 that manages a request message from the electronic mail remote monitoring controller to the controller.

【図12】制御装置_1から電子メール遠隔監視制御装
置_1への要求メッセージとその応答メッセージを示し
たものである。
FIG. 12 shows a request message and its response message from the control device_1 to the electronic mail remote monitoring control device_1.

【図13】電子メール遠隔監視制御装置_1から制御装
置_1への要求メッセージとその応答メッセージを示し
たものである。
FIG. 13 shows a request message and its response message from the electronic mail remote monitoring controller_1 to the controller_1.

【図14】従来例_1の構成図である。FIG. 14 is a configuration diagram of a conventional example_1.

【図15】従来例_2の構成図である。FIG. 15 is a configuration diagram of a conventional example_2.

【符号の説明】[Explanation of symbols]

1 制御装置_1 2 制御装置_2 3 ローカル監視制御装置 4 電子メールゲートウエイ装置 5 電子メール遠隔監視制御装置_1 6 電子メール遠隔監視制御装置_2 7 SMTPサーバ(L) 8 POP3サーバ(L) 9 SMTPサーバ(R) 10 POP3サーバ(R) 11 NATルータ 12 ルータ 13 ルータ 14 NATルータ 15 NATルータ 16 電子メール送信装置 17 Webサーバ 18 電子メール遠隔受信装置 19 Webブラウザ 20 ルータ 21 NATルータ 22 電子メール受信装置 23 電子メール遠隔送信装置 24 NATルータ 25 制御装置_1内の入出力点オブジェクト_1 26 制御装置_1内の入出力点オブジェクト_2 27 制御装置_2内の入出力点オブジェクト_1 28 制御装置_2内の入出力点オブジェクト_2 29 電子メールゲートウエイ内のSMTPオブジェク
ト_1 30 電子メールゲートウエイ内のSMTPオブジェク
ト_2 31 電子メールゲートウエイ内のPOP3オブジェク
ト 32 電子メール遠隔監視制御装置_1内のSMTPオ
ブジェクト 33 電子メール遠隔監視制御装置_1内のPOP3オ
ブジェクト 34 電子メール遠隔監視制御装置_2内のSMTPオ
ブジェクト 35 電子メール遠隔監視制御装置_2内のPOP3オ
ブジェクト
1 control device_1 2 control device_2 3 local monitoring control device 4 e-mail gateway device 5 e-mail remote monitoring control device_1 6 e-mail remote monitoring control device_2 7 SMTP server (L) 8 POP3 server (L) 9 SMTP server ( R) 10 POP3 server (R) 11 NAT router 12 Router 13 Router 14 NAT router 15 NAT router 16 E-mail sending device 17 Web server 18 E-mail remote receiving device 19 Web browser 20 Router 21 NAT router 22 E-mail receiving device 23 E Remote mail sending device 24 NAT router 25 I / O point object _1 in control device_1 26 I / O point object_2 in control device_1 27 I / O point object_1 in control device_2 I / O point object in control device_2 To — 2 29 SMTP object in email gateway — 1 30 SMTP object in email gateway — 2 31 POP3 object in email gateway 32 SMTP object in email remote monitoring controller — 33 In email remote monitoring controller — 1 POP3 object 34 SMTP object in e-mail remote monitoring controller_2 POP3 object in e-mail remote monitoring controller_2

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04Q 9/00 321 H04Q 9/00 321E Fターム(参考) 5B089 GA31 HA10 JA35 KA17 KC15 KC57 KH30 LA01 LA11 5H223 AA20 DD07 EE06 EE11 5K030 HA06 HC14 HD03 HD06 JA10 MB18 5K048 AA02 BA51 CA08 DA05 EA11 EB12 EB13 FB08 FC01 HA01 HA02 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04Q 9/00 321 H04Q 9/00 321E F term (reference) 5B089 GA31 HA10 JA35 KA17 KC15 KC57 KH30 LA01 LA11 5H223 AA20 DD07 EE06 EE11 5K030 HA06 HC14 HD03 HD06 JA10 MB18 5K048 AA02 BA51 CA08 DA05 EA11 EB12 EB13 FB08 FC01 HA01 HA02

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 メッセージを交信して制御を実行する制
御装置と電子メール送受信機能を有する監視制御装置を
構成要素として含む監視制御システムにおいて、制御装
置と電子メール監視制御装置との間に構成要素として電
子メールゲートウエイが導入設置され、この電子メール
ゲートウエイが、制御装置と電子メール監視制御装置と
の間での要求メッセージとその応答メッセージの交信を
可能としていることを特徴とする監視制御システム。
1. A monitoring control system including a control device for communicating a message to perform control and a monitor control device having an electronic mail transmission / reception function as a component, between the control device and the email monitor control device. A monitoring control system, wherein an electronic mail gateway is installed as described above, and the electronic mail gateway enables communication of a request message and a response message between the control device and the electronic mail monitoring control device.
【請求項2】 Invoke_ID(要求メッセージ識
別子)管理テーブルを使用して、複数の制御装置と複数
の電子メール遠隔監視制御装置の間で要求メッセージと
応答メッセージの対応をとっていることを特徴とする請
求項1記載の監視制御システム。
2. A request message and a response message are associated between a plurality of control devices and a plurality of electronic mail remote monitoring control devices by using an Invoke_ID (request message identifier) management table. The monitoring control system according to claim 1.
【請求項3】 電子メールゲートウエイと電子メール遠
隔監視制御装置の間で公開鍵暗号化方式を使って通信し
ていることを特徴とする請求項1記載の監視制御システ
ム。
3. The monitoring control system according to claim 1, wherein communication is performed between the electronic mail gateway and the electronic mail remote monitoring control device by using a public key encryption method.
JP2001356820A 2001-11-22 2001-11-22 Monitor and control system Pending JP2003157223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001356820A JP2003157223A (en) 2001-11-22 2001-11-22 Monitor and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001356820A JP2003157223A (en) 2001-11-22 2001-11-22 Monitor and control system

Publications (1)

Publication Number Publication Date
JP2003157223A true JP2003157223A (en) 2003-05-30

Family

ID=19168268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001356820A Pending JP2003157223A (en) 2001-11-22 2001-11-22 Monitor and control system

Country Status (1)

Country Link
JP (1) JP2003157223A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009295090A (en) * 2008-06-09 2009-12-17 Yamatake Corp Start file creating device, controller, connection test system for monitoring system, and connection test method of monitoring system
WO2015107613A1 (en) * 2014-01-14 2015-07-23 株式会社日立システムズ Wide area management system, wide area management device, building management device, wide area management method, identifier information transmission method, identifier issuing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009295090A (en) * 2008-06-09 2009-12-17 Yamatake Corp Start file creating device, controller, connection test system for monitoring system, and connection test method of monitoring system
WO2015107613A1 (en) * 2014-01-14 2015-07-23 株式会社日立システムズ Wide area management system, wide area management device, building management device, wide area management method, identifier information transmission method, identifier issuing method, and program
JPWO2015107613A1 (en) * 2014-01-14 2017-03-23 株式会社日立システムズ Wide area management system, wide area management apparatus, building management apparatus, wide area management method, identifier information transmission method, identifier issuance method, and program

Similar Documents

Publication Publication Date Title
EP1566939B1 (en) Media streaming home network system and method for operating the same
KR100605177B1 (en) Connection handling apparatus of home network management system
CN100359882C (en) Network interconnection apparatus, network interconnection method, name sesolution apparatus and computer program
CN101193070B (en) Instant communication system, instant communication client and instant communication method
US7359933B1 (en) Providing remote access to network applications using a dual proxy
CA2495927A1 (en) Transport of encapsulated serial data via instant messaging communication
New et al. Reliable Delivery for syslog
CN101420455A (en) Systems and/or methods for streaming reverse http gateway, and network including the same
JP2001154953A (en) Network system and communication method
US20040125813A1 (en) Gateway and its communicating method
CN102598637B (en) Communications system
JP2006203731A (en) Network repeating device, network connection information browsing system and network connection information notification method
JP5458977B2 (en) Relay processing method, program, and apparatus
CN101867509A (en) Device, system and method for automatically configuring application terminal in household network
JP2000236348A (en) Management system of remote equipment using internet protocol
JP2003157223A (en) Monitor and control system
JP2005175865A (en) Repeating device, terminal equipment, network system, network access method, and program
WO2011153731A1 (en) Method and system for managing and controlling wired terminal, and access server
US20040199579A1 (en) Collaboration bus apparatus and method
US20050004975A1 (en) Adaptive connection for data transmission
US20060282523A1 (en) System and method for non-obtrusive monitoring and control of remote services and control gateways
CN101753353B (en) SNMP based safety management method, Trap message processing method and device
US7752263B2 (en) Method for provision of an address in a data network
CN100375464C (en) Method for data communication of every terminal when network interconnecting
CN102946383B (en) The method and system of a kind of remote inquiry based on third party's common interface, amendment virus characteristic