JP2006314000A - Gateway device - Google Patents

Gateway device Download PDF

Info

Publication number
JP2006314000A
JP2006314000A JP2005135533A JP2005135533A JP2006314000A JP 2006314000 A JP2006314000 A JP 2006314000A JP 2005135533 A JP2005135533 A JP 2005135533A JP 2005135533 A JP2005135533 A JP 2005135533A JP 2006314000 A JP2006314000 A JP 2006314000A
Authority
JP
Japan
Prior art keywords
unit
common
event
common object
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005135533A
Other languages
Japanese (ja)
Other versions
JP4729969B2 (en
Inventor
Tomiichi Imai
富一 今井
Satoshi Ookage
聡 大景
Tomohiro Oda
智宏 織田
Osamu Nishimura
治 西村
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2005135533A priority Critical patent/JP4729969B2/en
Publication of JP2006314000A publication Critical patent/JP2006314000A/en
Application granted granted Critical
Publication of JP4729969B2 publication Critical patent/JP4729969B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a gateway device (GW device) which puts a plurality of local systems together through a network to structure a wide-area system. <P>SOLUTION: The GW device according to the present invention converts equipment information of a field protocol used by a local area network into a common object based upon a conversion map in which the equipment information and the common object used for the network are made to correspond to each other and transmits a common message including specification information on the common object to other GW devices, and also converts the specification information of the common message into the equipment information of the field protocol based upon the conversion map and transmits a message of the field protocol for operating the equipment information to the local area network. Here, the common object includes a common interface which has a get function, a set function, and respective properties of an event and is usable in common by a plurality of field protocols. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、インターネットを介して複数のローカルシステムを纏めて広域システムを構築するゲートウェイ装置に関する。   The present invention relates to a gateway device that constructs a wide area system by collecting a plurality of local systems via the Internet.

集合住宅、庁舎、ホール、商業ビル及びオフィスビル等のビルには、照明機器、空調機器、計測機器及び防犯機器等の様々な機器が設置されている。近年では、これら機器は、通信線によって相互に接続されることによってネットワーク化され、さらに監視制御装置が接続されて集中的に監視及び/又は制御されるようになっている。このような複数の機器をネットワーク化することによって集中的に監視するシステムは、ビル管理システム(ビル設備システム)と呼ばれる。このビル管理システムは、その通信プロトコルにエシェロン社が開発した知的分散制御ネットワーク技術であるLonWorks(Local Operating Network、LON、ロンワークス)(登録商標)(非特許文献1参照)や、米国冷暖房空調工業会(ASHRAE)が主導的に開発した標準規格であるBACnet(A Data Communication Protocol for Building Automation and Control Networks、バックネット)(登録商標)や、ビル管理システムを提供するベンダが独自開発した通信プロトコル等が用いられ、通常、1棟のビル内あるいは距離的に近接する数棟のビル群で完結する地域限定のローカルシステムとして利用されている。   In buildings such as apartment buildings, government buildings, halls, commercial buildings, and office buildings, various devices such as lighting devices, air conditioning devices, measuring devices, and security devices are installed. In recent years, these devices are networked by being connected to each other via a communication line, and a monitoring control device is further connected to be centrally monitored and / or controlled. Such a system that centrally monitors a plurality of devices by networking is called a building management system (building equipment system). This building management system uses LonWorks (Local Operating Network, LON, Ronworks) (registered trademark) (see Non-Patent Document 1), which is an intelligent distributed control network technology developed by Echelon for its communication protocol, and US air conditioning and air conditioning BACnet (A Data Communication Protocol for Building Automation and Control Networks, Backnet) (registered trademark), a standard led by the industry association (ASHRAE), and communication protocols originally developed by vendors that provide building management systems Etc., and is usually used as an area-limited local system that is completed in one building or a group of several buildings that are close in distance.

そして、オープンなネットワークであるインターネットの普及により、最近では、当該インターネットを利用して端末装置からこれら機器を遠隔に監視及び/又は制御を行う遠隔監視制御システムが要望され、その研究・開発が進展している。
“Development Tools and IP Gateway Documents"、[online]、Viste、[平成17年4月5日検索]、インターネット<http://www.viste.com/LON/Tools.html>
With the widespread use of the Internet, which is an open network, a remote monitoring and control system that remotely monitors and / or controls these devices from a terminal device using the Internet has recently been demanded, and research and development has progressed. is doing.
“Development Tools and IP Gateway Documents”, [online], Vista, [Search April 5, 2005], Internet <http: //www.viste. com / LON / Tools. html>

ところで、前述のインターネットを介して、複数のローカルシステムを纏めて管理する群管理システム等を広域システム化することも望まれている。この場合、特に、各ローカルシステムが異なる通信プロトコルを使用している場合には広域システム化が難しいという不都合がある。   By the way, it is also desired to make a group management system and the like that collectively manage a plurality of local systems into a wide area system via the Internet. In this case, particularly when each local system uses a different communication protocol, there is an inconvenience that it is difficult to make a wide area system.

本発明は、上述の事情に鑑みて為された発明であり、オープンなネットワークであるインターネットを介して複数のローカルシステムを纏めて広域システムを構築することができるゲートウェイ装置を提供することを目的とする。また、特に、複数のローカルシステムに異なるフィールドプロトコルを用いている場合でも広域システムを構築することができるゲートウェイ装置を提供することを目的とする。   The present invention has been made in view of the above-described circumstances, and an object thereof is to provide a gateway device capable of constructing a wide area system by integrating a plurality of local systems via the Internet, which is an open network. To do. It is another object of the present invention to provide a gateway device that can construct a wide area system even when different field protocols are used for a plurality of local systems.

上述の目的を達成するために、本発明の一態様に係る、機器に関する機器情報を操作することによって前記機器を制御するフィールドプロトコルが使用された複数のローカルエリアネットワーク内における、前記機器を監視及び/又は制御する監視制御装置間で前記複数のローカルエリアネットワークとは異なるネットワークを介して双方向で通信するためのゲートウェイ装置において、前記ネットワークを介して他のゲートウェイ装置と通信を行う第1通信部と、前記ローカルエリアネットワーク内の前記監視制御装置と通信を行う第2通信部と、前記ローカルエリアネットワークで使用されるフィールドプロトコルの機器情報と前記ネットワークで使用される共通オブジェクトとを対応付ける変換マップを記憶する記憶部と、前記第2通信部で受信したフィールドプロトコルの機器情報を前記変換マップに基づいて共通オブジェクトに変換し、該変換した共通オブジェクトを特定する特定情報を含む共通メッセージを、前記第1通信部を用いて他のゲートウェイ装置に送信する共通オブジェクト変換部と、前記第1通信部で受信した前記共通メッセージに含まれる前記特定情報を前記変換マップに基づいて前記フィールドプロトコルの機器情報に変換し、該変換したフィールドプロトコルの機器情報を操作するフィールドプロトコルのメッセージを前記第2通信部を用いて前記ローカルエリアネットワークに送信する共通オブジェクト逆変換部とを備え、前記共通オブジェクトは、複数のフィールドプロトコルにおいて共通に使用可能な共通インタフェースを含み、前記共通インタフェースは、前記機器から数値情報を読み出すためのゲット関数プロパティ、前記機器へ数値情報を書き込むためのセット関数プロパティ、及び、前記機器から数値情報の変化を通知するためのイベントプロパティのうち少なくとも1つを備えることを特徴とする。   In order to achieve the above object, according to one aspect of the present invention, the device is monitored and monitored in a plurality of local area networks using a field protocol for controlling the device by manipulating device information regarding the device. 1st communication part which communicates with another gateway apparatus via the said network in the gateway apparatus for bidirectionally communicating via the network different from these local area networks between the monitoring control apparatuses to control A conversion map that associates the second communication unit that communicates with the monitoring and control device in the local area network, the field protocol device information used in the local area network, and the common object used in the network. A storage unit for storing, and the second communication The device information of the field protocol received by the unit is converted into a common object based on the conversion map, and a common message including specific information for specifying the converted common object is sent to another gateway device using the first communication unit. A common object conversion unit to be transmitted to the first communication unit, and the specific information included in the common message received by the first communication unit is converted into device information of the field protocol based on the conversion map, and the converted field protocol device A common object reverse conversion unit that transmits a field protocol message for manipulating information to the local area network using the second communication unit, and the common object can be used in common in a plurality of field protocols. Including the common icon The interface includes at least one of a get function property for reading numerical information from the device, a set function property for writing numerical information to the device, and an event property for notifying the change of numerical information from the device. It is characterized by providing.

そして、このゲートウェイ装置において、前記第2通信部から通知された機器情報の中から前記ローカルエリアシステム内の機器が発報したフィールドプロトコルのイベントを検出し、該検出したフィールドプロトコルのイベントを前記共通オブジェクト変換部に通知する自システム内イベント監視部と、前記共通オブジェクト変換部で変換されたフィールドプロトコルのイベントに対応する共通メッセージを前記第1通信部を用いて他のゲートウェイ装置に送信する自システム内イベント送信制御部と、前記第1通信部から通知された共通メッセージの中からイベントの共通メッセージを検出し、該検出した共通メッセージを前記共通オブジェクト逆変換部に通知する他システム内イベント監視部と、前記共通オブジェクト逆変換部で変換されたイベントの共通メッセージに対応するフィールドプロトコルのイベントを、前記第2通信部を用いて前記ローカルエリアシステム内に送信する他システム内イベント送信制御部とをさらに備えたことを特徴とする。   In the gateway device, a field protocol event issued by a device in the local area system is detected from the device information notified from the second communication unit, and the detected field protocol event is detected as the common event. The own system event monitoring unit that notifies the object conversion unit, and the own system that transmits a common message corresponding to the field protocol event converted by the common object conversion unit to another gateway device using the first communication unit An internal event transmission control unit, and an event monitoring unit in another system that detects an event common message from the common message notified from the first communication unit and notifies the common object inverse conversion unit of the detected common message And the common object inverse transform unit Field protocol event corresponding to the event of the common messages, and further comprising a other systems in the event transmission control unit that transmits to the local area system using the second communication unit.

また、このゲートウェイ装置において、前記記憶部は、イベントの種類と該イベントの共通メッセージの送信先とを対応付けて登録した送信先データベース、及び、イベントの種類と該イベントの共通メッセージの送信元とを対応付けて登録した送信元データベースを記憶し、前記自システム内イベント送信制御部は、イベントの共通メッセージを送信する際に該イベントの種類に基づいて前記送信先データベースを参照し、該イベントの種類に対応する該イベントの共通メッセージにおける送信先が前記送信先データベースに登録されている場合に該送信先に送信し、前記他システム内イベント送信制御部は、イベントの共通メッセージを受信した際に前記送信元データベースを参照し、該イベントの種類及び該イベントの共通メッセージにおける送信元が前記送信元データベースに登録されている場合に前記共通オブジェクト逆変換部に通知することを特徴とする。   Further, in this gateway device, the storage unit includes a destination database in which an event type and a transmission destination of a common message of the event are associated and registered, and an event type and a transmission source of the common message of the event. The event transmission control unit within the own system refers to the destination database based on the type of the event when transmitting the common message of the event, and stores the event database of the event. When the transmission destination in the common message of the event corresponding to the type is registered in the transmission destination database, it is transmitted to the transmission destination. When the event transmission control unit in the other system receives the common message of the event Refers to the transmission source database, the type of the event and the common message of the event Wherein the definitive sender notifies the common object inverse transform unit if it is registered in the transmission source database.

さらに、このゲートウェイ装置において、イベントの共通メッセージの受信を要求するイベント購読要求情報を他のゲートウェイ装置に送信するイベント購読要求情報送信部と、他のゲートウェイ装置から受信したイベント購読要求情報に基づいて前記送信先データベースを構築するデータベース作成部とをさらに備えることを特徴とする。   Further, in this gateway device, based on the event subscription request information transmitting unit for transmitting event subscription request information for requesting reception of a common event message to other gateway devices, and the event subscription request information received from other gateway devices. And a database creation unit for constructing the transmission destination database.

そして、上述のゲートウェイ装置において、前記記憶部には、追加される共通オブジェクトとフィールドプロトコルの機器情報とを対応付ける変換マップが予め記憶され、共通オブジェクトが追加された場合に、該追加された共通オブジェクトの前記特定情報を前記ネットワークに広告する共通オブジェクト広告部と、前記ネットワークから追加された共通オブジェクトの特定情報を受信した場合に、前記追加された共通オブジェクトの変換マップを使用可能にする共通オブジェクト情報取得部とをさらに備えることを特徴とする。   In the gateway device described above, the storage unit stores in advance a conversion map that associates the added common object with the device information of the field protocol. When the common object is added, the added common object Common object advertising section for advertising the specific information to the network, and common object information that enables the conversion map of the added common object to be used when the specific information of the common object added from the network is received. And an acquisition unit.

また、このゲートウェイ装置において、前記記憶部は、当該ゲートウェイ装置において共通オブジェクトの使用の可否を登録する自共通オブジェクト生存情報データベース、及び、他のゲートウェイ装置において共通オブジェクトの使用の可否を登録する他共通オブジェクト生存情報データベースを記憶し、前記ローカルエリアネットワーク内の監視制御装置における生存状態を監視して前記監視制御装置の生存状態に応じて前記自共通オブジェクト生存情報データベースを更新すると共に共通オブジェクトが使用不可となった場合に該共通オブジェクトの使用不可を、前記共通オブジェクト広告部を用いて前記ネットワークに広告する自システム内機器状態監視部をさらに備え、前記共通オブジェクト情報取得部は、前記ネットワークから共通オブジェクトの使用不可を受信した場合に前記他共通オブジェクト生存情報データベースを更新することを特徴とする。   Further, in this gateway device, the storage unit registers its own common object existence information database for registering whether or not the common object can be used in the gateway device, and other common information for registering whether or not the common object can be used in another gateway device. Stores the object survival information database, monitors the survival status of the monitoring control device in the local area network, updates the own common object survival information database according to the survival status of the monitoring control device, and cannot use the common object A common device information monitoring unit that advertises the use of the common object to the network using the common object advertising unit when the common object information becomes unusable. And updates the other common object existence information database when receiving a disable of passing objects.

そして、上述のゲートウェイ装置において、前記記憶部は、共通メッセージのルーティング先を登録するルーティングテーブルを記憶し、前記ルーティングテーブルに基づいて第1通信部で受信した共通メッセージをルーティングするルーティング部とをさらに備えることを特徴とする。   In the gateway device described above, the storage unit stores a routing table for registering a routing destination of the common message, and further includes a routing unit for routing the common message received by the first communication unit based on the routing table. It is characterized by providing.

また、このゲートウェイ装置において、前記変換マップに新たに共通オブジェクトが追加された場合に、該追加された共通オブジェクトの前記特定情報を前記ネットワークに広告する共通オブジェクト広告部と、前記ネットワークから前記追加された共通オブジェクトの特定情報を受信した場合に、前記ルーティングテーブルを更新するルーティングテーブル管理部とをさらに備えることを特徴とする。   Further, in this gateway device, when a new common object is added to the conversion map, a common object advertisement unit that advertises the specific information of the added common object to the network, and the added from the network. And a routing table management unit for updating the routing table when receiving the common object specifying information.

そして、上述のゲートウェイ装置において、前記第1通信部は、物理層のハードウェア通信部と、該ハードウェア通信部を駆動するデバイスドライバ及びデータリンク層以上のプロトコルスタック部とを含み、該プロトコルスタック部は、同一の階層において複数の通信プロトコルを実装することを特徴とする。   In the gateway device described above, the first communication unit includes a hardware communication unit of a physical layer, a device driver that drives the hardware communication unit, and a protocol stack unit of a data link layer or more, and the protocol stack The unit is characterized by implementing a plurality of communication protocols in the same layer.

そして、上述のゲートウェイ装置において、前記第1通信部は、物理層のハードウェア通信部と、該ハードウェア通信部を駆動するデバイスドライバ及びデータリンク層以上のプロトコルスタック部とを含み、該ハードウェア通信部は、複数であることを特徴とする。   In the above gateway device, the first communication unit includes a hardware communication unit of a physical layer, a device driver that drives the hardware communication unit, and a protocol stack unit of a data link layer or more, and the hardware There are a plurality of communication units.

このように本発明に係るゲートウェイ装置は、機器に関する機器情報を操作することによって機器を制御するフィールドプロトコルが使用された複数のローカルエリアネットワーク内における機器を監視及び/又は制御する監視制御装置間で複数のローカルエリアネットワークと異なるネットワークを介して双方向で通信するためのゲートウェイ装置であって、その記憶部がローカルエリアネットワークで使用されるフィールドプロトコルの機器情報とネットワークで使用される共通オブジェクトとを対応付ける変換マップを記憶し、共通オブジェクト変換部がフィールドプロトコルの機器情報を変換マップに基づいて共通オブジェクトに変換しこの変換した共通オブジェクトを特定する特定情報を含む共通メッセージを他のオブジェクトゲートウェイ装置に送信し、そして、共通オブジェクト逆変換部が共通メッセージに含まれる特定情報を変換マップに基づいてフィールドプロトコルの機器情報に変換しこの変換したフィールドプロトコルの機器情報を操作するフィールドプロトコルのメッセージをローカルエリアネットワークに送信する。ここで、共通オブジェクトは、複数のフィールドプロトコルにおいて共通に使用可能な共通インタフェースを含み、この共通インタフェースは、機器から数値情報を読み出すためのゲット関数プロパティと、機器へ数値情報を書き込むためのセット関数プロパティと、機器から数値情報の変化を通知するためのイベントプロパティとを備える。   As described above, the gateway device according to the present invention is configured to monitor and / or control devices in a plurality of local area networks that use a field protocol for controlling devices by manipulating device information about the devices. A gateway device for two-way communication with a plurality of local area networks via different networks, the storage unit of which is field protocol device information used in the local area network and common objects used in the network The conversion map to be associated is stored, and the common object conversion unit converts the device information of the field protocol into a common object based on the conversion map, and transmits a common message including specific information for specifying the converted common object to another object group A field protocol message that is transmitted to the gateway device, and the common object inverse conversion unit converts the specific information included in the common message into device information of the field protocol based on the conversion map, and operates the device information of the converted field protocol. To the local area network. Here, the common object includes a common interface that can be used in common in a plurality of field protocols. This common interface includes a get function property for reading numerical information from the device and a set function for writing numerical information to the device. A property and an event property for notifying a change in numerical information from the device.

このように本発明に係るゲートウェイ装置は、フィールドプロトコルの機器情報をゲートウェイ装置間で共通に使用するために定義した共通オブジェクトに双方向で変換するので、インターネットを介して複数のローカルシステムを纏めて広域システムを構築することができ、しかも、異なるフィールドプロトコルを通信プロトコルに用いた複数のローカルシステムを纏めて広域システムを構築することができる。そして、このように共通オブジェクトを用いることにより、複数のフィールドプロトコルにおいて、一のフィールドプロトコルから他のフィールドプロトコルに変換する際に、一のフィールドプロトコルと他のフィールドプロトコルとを1対1で対応させて変換する場合に較べて、変換の際に用いる変換マップのデータ量を少なくすることができ、また、同一の手順によって変換することができる。また、共通オブジェクトにこのようなゲット関数プロパティとセット関数プロパティとイベントプロパティとから構成される複数のフィールドプロトコルにおいて共通に使用可能な共通インタフェースを備えることで、さらに、変換マップのデータ量を少なくすることができる。また、フィールドプロトコルの機器情報をゲートウェイ装置間で共通に使用するために定義した共通オブジェクトに双方向で変換するので、既存のビルに導入する場合でもIPアドレスを変更する必要がない。   As described above, the gateway device according to the present invention bi-directionally converts the device information of the field protocol into a common object defined for common use between the gateway devices, so that a plurality of local systems can be integrated via the Internet. A wide area system can be constructed, and a wide area system can be constructed by combining a plurality of local systems using different field protocols as communication protocols. By using a common object in this way, when converting from one field protocol to another field protocol in a plurality of field protocols, one field protocol and another field protocol are made to correspond one-to-one. Compared to the case of conversion, the data amount of the conversion map used for conversion can be reduced, and the conversion can be performed by the same procedure. In addition, by providing a common interface that can be used in common in multiple field protocols composed of such get function properties, set function properties, and event properties, the common object further reduces the amount of data in the conversion map. be able to. In addition, since field protocol device information is bidirectionally converted into a common object defined for common use among gateway devices, there is no need to change the IP address even when it is installed in an existing building.

以下、本発明に係る実施形態を図面に基づいて説明する。なお、各図において同一の符号を付した構成は、同一の構成であることを示し、その説明を省略する。
(第1の実施形態の構成)
図1は、第1の実施形態における広域システムの構成を示す図である。図2は、第1の実施形態におけるゲートウェイ装置の構成を示すブロック図である。図3は、第1の実施形態に係るゲートウェイ装置における中央処理部の機能ブロックを示すブロック図である。
Embodiments according to the present invention will be described below with reference to the drawings. In addition, the structure which attached | subjected the same code | symbol in each figure shows that it is the same structure, The description is abbreviate | omitted.
(Configuration of the first embodiment)
FIG. 1 is a diagram illustrating a configuration of a wide area system according to the first embodiment. FIG. 2 is a block diagram illustrating a configuration of the gateway device according to the first embodiment. FIG. 3 is a block diagram illustrating functional blocks of the central processing unit in the gateway device according to the first embodiment.

図1において、ローカルシステム1は、ゲートウェイ装置(以下、「GW装置」と略記する。)2と、通信可能な複数の監視制御装置(以下、「SC装置」と略記する。)3と、GW装置2及び複数のSC装置3を相互に通信可能に接続する伝送路4とを備えて構成され、ローカル・エリア・ネットワークを構成する。   In FIG. 1, the local system 1 includes a gateway device (hereinafter abbreviated as “GW device”) 2, a plurality of monitoring control devices (hereinafter abbreviated as “SC devices”) 3, and a GW. The apparatus 2 and a plurality of SC apparatuses 3 are connected to each other so as to be communicable with each other, and constitute a local area network.

図1に示す例では、ローカルシステム1は、3個のローカルシステム1−A、1−B、1−Cが示されている。ローカルシステム1−Aは、GW装置2−Aと、複数のSC装置3−Aa、SC装置3−Ab、・・・、SC装置3−Anと、伝送路4−Aとを備えて構成され、ローカルシステム1−Bは、GW装置2−Bと、複数のSC装置3−Ba、SC装置3−Bb、・・・、SC装置3−Bnと、伝送路4−Bとを備えて構成され、そして、ローカルシステム1−Cは、GW装置2−Cと、複数のSC装置3−Ca、SC装置3−Cb、・・・、SC装置3−Cnと、伝送路4−Cとを備えて構成される。   In the example shown in FIG. 1, the local system 1 has three local systems 1-A, 1-B, and 1-C. The local system 1-A includes a GW apparatus 2-A, a plurality of SC apparatuses 3-Aa, an SC apparatus 3-Ab,..., An SC apparatus 3-An, and a transmission path 4-A. The local system 1-B includes a GW apparatus 2-B, a plurality of SC apparatuses 3-Ba, an SC apparatus 3-Bb,..., An SC apparatus 3-Bn, and a transmission path 4-B. Then, the local system 1-C includes a GW device 2-C, a plurality of SC devices 3-Ca, SC devices 3-Cb,..., An SC device 3-Cn, and a transmission path 4-C. It is prepared for.

なお、本明細書において、総称する場合にはアルファベットの添え字を省略した参照符号で示し、個別の構成を指す場合にはアルファベットの添え字を付した参照符号で示すこととする。   In the present specification, when referring generically, reference numerals with alphabetic suffixes omitted are used, and when referring to individual components, reference numerals with alphabetic suffixes are used.

SC装置3は、機器を有線又は無線の伝送路を介して遠隔に監視及び/又は制御する装置であり、GW装置2と伝送路4を介して通信を行う第1通信部と、機器と伝送路を介して通信を行う第2通信部と、機器を監視及び/又は制御する制御部とを備えて構成される(各部についての図示は省略する)。SC装置3は、機器からその動作状態や故障状態等を機器情報として伝送路を介して取得することによって機器を監視し、また、機器の動作状態を制御する制御命令を伝送路を介して機器に送信しその制御結果を機器情報として機器から伝送路を介して受信することによって機器を制御するものである。機器は、照明器具、空調装置、電力メータ、防災設備及び防犯設備等であり、監視目的及び/又は制御目的によって適宜選択される。   The SC device 3 is a device that remotely monitors and / or controls a device via a wired or wireless transmission path, a first communication unit that communicates with the GW device 2 via the transmission path 4, and the device and transmission. A second communication unit that performs communication via a path and a control unit that monitors and / or controls the device are configured (illustration of each unit is omitted). The SC device 3 monitors the device by acquiring the operation state, failure state, and the like from the device as device information via the transmission line, and sends a control command for controlling the operation state of the device via the transmission line. And controlling the device by receiving the control result as device information from the device via the transmission path. The device is a lighting fixture, an air conditioner, a power meter, a disaster prevention facility, a crime prevention facility, or the like, and is appropriately selected depending on the monitoring purpose and / or the control purpose.

GW装置2は、他のローカルシステム1内のGW装置2とインターネット5を介して接続され、フィールドプロトコルのオブジェクトを相互に変換することによって当該ローカルシステム1と他のローカルシステム1とを1個の広域システムに構築する装置であり、その詳細については、後述する。図1に示す例では、3個のローカルシステム1−A、1−B、1−CがGW装置2−A、2−B、2−Cによってインターネット5を介して相互に接続され、広域システムを構成している。   The GW apparatus 2 is connected to the GW apparatus 2 in the other local system 1 via the Internet 5, and converts the local protocol object and the other local system 1 into one piece by converting field protocol objects to each other. The device is constructed in a wide area system, and details thereof will be described later. In the example shown in FIG. 1, three local systems 1-A, 1-B, 1-C are connected to each other via the Internet 5 by GW devices 2-A, 2-B, 2-C, and a wide area system Is configured.

各ローカルシステム1では、ローカルシステム1内で用いられる通信プロトコルであるフィールドプロトコルとして本実施形態では例えばBACnet/IPやLonTalkが用いられる。但し、これに限定するものではなく、任意のフィールドプロトコルとしての通信プロトコルでよい。   In each local system 1, for example, BACnet / IP or LonTalk is used in this embodiment as a field protocol that is a communication protocol used in the local system 1. However, the communication protocol is not limited to this and may be any field protocol.

BACnetは、前述したように米国冷暖房空調工業会が主導的に開発した標準規格である。BACnetのプロトコルアーキテクチャは、物理層、データリンク層、ネットワーク層及びアプリケーション層の4層の縮退構造である。本発明は、アプリケーション層に関わるものであり、本発明に係るゲートウェイ装置は、このアプリケーション層において通信プロトコルを変換するものである。BACnetの伝送方式は、IP、イーサネット(Ethernet、登録商標、ISO/IEC 8802.3)、ARCNET(ANSI/ATA 878.1)、MS/TP(Master Slave/Token Passing、ANSI/ASHRAE 135-1995 RS-485)、PTP(Point-to-Point、ANSI/ASHRAE 135-1995 RS-232)及びLONTalk(ANSI/EIA709.1-A-1999)が用意されており適宜選択されるが、本実施形態では、BACnet/IPを用いている。   BACnet is a standard developed by the American Air Conditioning and Air Conditioning Industry Association as described above. The protocol architecture of the BACnet is a degenerate structure of four layers: a physical layer, a data link layer, a network layer, and an application layer. The present invention relates to the application layer, and the gateway device according to the present invention converts a communication protocol in the application layer. BACnet transmission methods are IP, Ethernet (Ethernet, registered trademark, ISO / IEC 8802.3), ARCNET (ANSI / ATA 878.1), MS / TP (Master Slave / Token Passing, ANSI / ASHRAE 135-1995 RS-485), PTP (Point-to-Point, ANSI / ASHRAE 135-1995 RS-232) and LONTalk (ANSI / EIA709.1-A-1999) are prepared and appropriately selected. In this embodiment, BACnet / IP Is used.

BACnetでは、データは、オブジェクト、インスタンス及びプロパティという用語で表現され、通信規約は、サービスという用語で表現され、情報及び制御は、全てこれらの用語で定義される。これによって、異なるベンダがBACnetを採用することによりそれらデバイス同士が相互に運用可能となっている。BACnetでは、機器に関する全ての情報がオブジェクトという用語で定義され、抽象化される。オブジェクトは、予め定められた複数のプロパティ(属性)を備えて構成され、BACnetのシステム内で識別可能とするためにオブジェクト識別子(オブジェクトID)というプロパティを持つ。オブジェクトの監視や変更は、このプロパティを通じて行われる。サービスは、プロパティを読み書きする場合におけるその読み書きの行為のことであり、BACnet機器が、他のBACnet機器から情報を受け取ったり、他のBACnet機器に或る動作をするように命令したり、他のBACnet機器に当該BACnet機器に起こったことを通知したりする手続を定めたものである。BACnet機器間におけるこのような情報交換は、サービス・メッセージをオブジェクトに対し発行し、それに応答する形で実行される。   In BACnet, data is expressed in terms of objects, instances, and properties, communication contracts are expressed in terms of services, and information and control are all defined in these terms. As a result, different vendors adopt the BACnet, so that these devices can operate with each other. In BACnet, all information related to devices is defined and abstracted in terms of objects. An object includes a plurality of predetermined properties (attributes), and has a property called an object identifier (object ID) so that the object can be identified in the BACnet system. Object monitoring and modification is done through this property. A service is an act of reading and writing in the case of reading and writing properties. A BACnet device receives information from other BACnet devices, instructs other BACnet devices to perform certain operations, It defines a procedure for notifying the BACnet device of what has happened to the BACnet device. Such information exchange between BACnet devices is performed by issuing a service message to an object and responding to it.

LonWorksでは、データは、SNVT(Standard Network Variable Types)という用語で表現され、通信規約は、LonTalkで表現される。SNVTは、基本的に数値(変数)のみによって構成され、その単位、変数型、バイト数等は予め固定的に決まっている。即ち、SNVTにおけるオブジェクトは、プロパティとして変数のみを備える。   In LonWorks, data is expressed in terms of SNVT (Standard Network Variable Types), and a communication protocol is expressed in LonTalk. SNVT is basically composed only of numerical values (variables), and the unit, variable type, number of bytes, etc. are fixedly determined in advance. That is, an object in SNVT has only variables as properties.

本発明は、BACnetのように機器情報が複数のデータで表される場合でも、LonWorksのように機器情報が1個のデータで表される場合でも適用可能である。   The present invention is applicable even when the device information is represented by a plurality of data such as BACnet, or when the device information is represented by a single data such as LonWorks.

図2において、GW装置2は、通信インタフェース部(以下、「通信IF部」と略記する。)11と、中央処理部12と、第1記憶部13と、第2記憶部14と、第3記憶部15と、複数のフィールドプロトコル通信インタフェース部16(以下、「FP通信IF部」と略記する。)と、シリアルコンソール部17と、バス18とを備えて構成される。図2に示す例では、当該GW装置2が2個のフィールドプロトコルに対応可能とする観点から、GW装置2は、2個の第1及び第2FP通信IF部16−a、16−bを備えている。   2, the GW apparatus 2 includes a communication interface unit (hereinafter abbreviated as “communication IF unit”) 11, a central processing unit 12, a first storage unit 13, a second storage unit 14, and a third storage unit. The storage unit 15 includes a plurality of field protocol communication interface units 16 (hereinafter abbreviated as “FP communication IF unit”), a serial console unit 17, and a bus 18. In the example illustrated in FIG. 2, the GW apparatus 2 includes two first and second FP communication IF units 16-a and 16-b from the viewpoint of enabling the GW apparatus 2 to support two field protocols. ing.

通信IF部11は、インターネット5を介して他のローカルシステム1内のGW装置2と通信を行うためのインターフェース回路である。通信IF部11は、中央処理部12からのデータに基づいてインターネット5の伝送方式に従った通信信号を生成すると共にインターネット5からの通信信号を中央処理部12が処理可能な形式のデータに変換する。通信IF部11は、例えば、イーサカード、モデム及びADSL(Asymmetric Digital Susbcriber Line)モデム等である。   The communication IF unit 11 is an interface circuit for communicating with the GW apparatus 2 in another local system 1 via the Internet 5. The communication IF unit 11 generates a communication signal according to the transmission method of the Internet 5 based on the data from the central processing unit 12 and converts the communication signal from the Internet 5 into data in a format that can be processed by the central processing unit 12. To do. The communication IF unit 11 is, for example, an Ethernet card, a modem, an ADSL (Asymmetric Digital Susbcriber Line) modem, or the like.

FP通信IF部16は、伝送路4を介して当該GW装置2のローカルシステム1内におけるSC装置3と通信を行うためのインターフェース回路である。第1FP通信IF部16−aは、中央処理部12からのデータに基づいて第1フィールドプロトコル、例えばBACnet/IPの伝送方式に従った通信信号を生成すると共に第1フィールドプロトコルに基づく通信信号を中央処理部12が処理可能な形式のデータに変換する。第2FP通信IF部16−bは、中央処理部12からのデータに基づいて第2フィールドプロトコル、例えばLonTalkの伝送方式に従った通信信号を生成すると共に第2フィールドプロトコルに基づく通信信号を中央処理部12が処理可能な形式のデータに変換する。   The FP communication IF unit 16 is an interface circuit for communicating with the SC device 3 in the local system 1 of the GW device 2 via the transmission path 4. The first FP communication IF unit 16-a generates a communication signal according to the transmission method of the first field protocol, for example, BACnet / IP, based on the data from the central processing unit 12, and generates the communication signal based on the first field protocol. The data is converted into a format that can be processed by the central processing unit 12. The second FP communication IF unit 16-b generates a communication signal according to the second field protocol, for example, the transmission method of the LonTalk based on the data from the central processing unit 12, and centrally processes the communication signal based on the second field protocol. The data is converted into a format that can be processed by the unit 12.

なお、ローカルシステム1は、第1フィールドプロトコルを用いたサブネットワークと第2フィールドプロトコルを用いたサブネットワークとから構成されるネットワークでも、また、第1フィールドプロトコルを用いたネットワークでも、あるいは、第2フィールドプロトコルを用いたネットワークでもよい。   The local system 1 may be a network composed of a subnetwork using the first field protocol and a subnetwork using the second field protocol, a network using the first field protocol, or a second network. A network using a field protocol may be used.

シリアルコンソール部17は、シリアルコンソールが接続され、シリアルコンソールとの間で情報を入出力する回路であり、例えばRS−232Cのシリアルポートを構成する回路である。   The serial console unit 17 is a circuit to which a serial console is connected and inputs / outputs information to / from the serial console. For example, the serial console unit 17 is a circuit configuring an RS-232C serial port.

中央処理部12は、例えば、マイクロプロセッサやその周辺回路等で構成され、図3に示すように、機能的に、IP準拠アプリケーションプロトコルスタック部(以下、「IP準拠APプロトコルスタック部」と略記する。)21と、オブジェクト逆変換部22と、オブジェクト変換部23と、フィールドプロトコル準拠アプリケーションプロトコルスタック部(以下、「FP準拠APプロトコルスタック部」と略記する。)24と、共通オブジェクト情報管理部(COb情報管理部)25とを備えると共に、各制御プログラムに従い通信IF部11、第1乃至第3記憶部13、14、15、FP通信IF部16及びシリアルコンソール部17を当該機能に応じてそれぞれ制御する。   The central processing unit 12 For example, It consists of a microprocessor and its peripheral circuits. As shown in FIG. Functionally, IP compliant application protocol stack (hereinafter referred to as Abbreviated as “IP compliant AP protocol stack part”. 21) An object inverse transformation unit 22; An object conversion unit 23; Field protocol compliant application protocol stack Abbreviated as “FP-compliant AP protocol stack part”. 24) A common object information management unit (COb information management unit) 25, and Communication IF unit 11 according to each control program, 1st thru | or 3rd memory | storage part 13, 14, 15, The FP communication IF unit 16 and the serial console unit 17 are controlled according to the function.

IP準拠APプロトコルスタック部21は、本実施形態ではインターネット5を介して他のGW装置2と通信を行うことから、TCP/IP等から成るインターネットプロトコル群を実装しているソフトウェア群であり、通信IF部11を制御する最下層の通信IF部11用のデバイスドライバ、イーサネットフレーム等を制御するデータリンク層のソフトウェア、IP(Internet Protocol)のネットワーク層のソフトウェア、及び、TCP(Transmission Control Protocol)等の上位層のソフトウェアを備えて構成される。   The IP-compliant AP protocol stack unit 21 communicates with another GW apparatus 2 via the Internet 5 in this embodiment, and is a software group that implements an Internet protocol group composed of TCP / IP and the like. Device driver for the lowest communication IF unit 11 that controls the IF unit 11, data link layer software that controls Ethernet frames, etc., IP (Internet Protocol) network layer software, TCP (Transmission Control Protocol), etc. It is configured with upper layer software.

FP準拠APプロトコルスタック部24は、ローカルシステム1で使用される通信プロトコルを実装しているソフトウェア群であり、FP通信IF部16を制御する最下層のFP通信IF部16用のデバイスドライバ、フィールドプロトコルに対応したデータリンク層のソフトウェア、フィールドプロトコルに対応したネットワーク層のソフトウェア、及び、フィールドプロトコルに対応したアプリケーション層におけるソフトウェアを備えて構成される。   The FP-compliant AP protocol stack unit 24 is a software group that implements a communication protocol used in the local system 1, and is a device driver and field for the FP communication IF unit 16 in the lowest layer that controls the FP communication IF unit 16. Data link layer software corresponding to the protocol, network layer software corresponding to the field protocol, and software in the application layer corresponding to the field protocol are configured.

図3に示す例では、当該GW装置2が2個の第1及び第2FP通信IF部16−a、16−bを備えることから、中央処理部12は、第1及び第2FP通信IF部16−a、16−bにそれぞれ対応する2個の第1及び第2FP準拠APプロトコルスタック部24−a、24−bを備えている。   In the example shown in FIG. 3, since the GW device 2 includes two first and second FP communication IF units 16-a and 16-b, the central processing unit 12 includes the first and second FP communication IF units 16. -A and 16-b are provided with two first and second FP-compliant AP protocol stack units 24-a and 24-b, respectively.

オブジェクト逆変換部22は、インターネット5を介して他のGW装置2から後述の共通メッセージを受付けると、共通メッセージの分析を行って後述の共通オブジェクトをフィールドプロトコルのオブジェクト(以下、「FPオブジェクト」と略記する。)へ変換しこのFPオブジェクトを収容するフィールドプロトコルのメッセージ(以下、「FPメッセージ」と略記する、)を生成するものである。オブジェクト逆変換部22は、IP準拠APプロトコルスタック部21から共通メッセージの通知を受付けこの受付けた共通メッセージに含まれる共通オブジェクトを取り出す共通オブジェクト受付部31と、共通オブジェクト受付部31で取り出された共通オブジェクトを各フィールドプロトコルのFPオブジェクトへ変換するアクセサモジュール集合部32と、FP準拠APプロトコルスタック部24ごとに用意されアクセサモジュール集合部32で変換されたFPオブジェクトを収容するFPメッセージを生成し当該FPメッセージに対応するFP準拠APプロトコルスタック部24へ通知するフィールドプロトコル用通知部(以下、「FP用通知部」と略記する。)33とを備える。   When the object reverse conversion unit 22 receives a later-described common message from another GW apparatus 2 via the Internet 5, the object inverse conversion unit 22 analyzes the common message and converts the later-described common object into a field protocol object (hereinafter referred to as “FP object”). A field protocol message (hereinafter abbreviated as “FP message”) that accommodates this FP object. The object reverse conversion unit 22 receives the notification of the common message from the IP compliant AP protocol stack unit 21 and extracts the common object included in the received common message, and the common object reception unit 31 that is extracted by the common object reception unit 31. An FP message is prepared for each FP object of each field protocol, and an FP message that is prepared for each FP-compliant AP protocol stack unit 24 and accommodates the FP object converted by the accessor module set unit 32, and the FP A field protocol notification unit (hereinafter abbreviated as “FP notification unit”) 33 that notifies the FP-compliant AP protocol stack unit 24 corresponding to the message.

図3に示す例では、FP準拠APプロトコルスタック部24が第1及び第2FP準拠APプロトコルスタック部24−a、24−bの2個であることから、FP用通知部33は、第1FP準拠APプロトコルスタック部24−aに第1フィールドプロトコルのFPオブジェクトを通知する第1FP用通知部33−a及び第2FP準拠APプロトコルスタック部24−bに第2フィールドプロトコルのFPオブジェクトを通知する第2FP用通知部33−bの2個が用意されている。   In the example shown in FIG. 3, since there are two FP-compliant AP protocol stack units 24, ie, the first and second FP-compliant AP protocol stack units 24-a and 24-b, the FP notification unit 33 is compliant with the first FP. The first FP notification unit 33-a that notifies the AP protocol stack unit 24-a of the FP object of the first field protocol and the second FP that notifies the FP object of the second field protocol to the second FP-compliant AP protocol stack unit 24-b. Two notification units 33-b are prepared.

アクセサモジュール集合部32は、アクセサモジュール管理部321と、FPオブジェクトの個数に応じた個数である複数のアクセサモジュール(図3では「AM」と略記する。)322とを備えて構成される。アクセサモジュール322は、FP通信IF部16の個数に対応した複数のフィールドプロトコルアクセス(以下、「FPアクセス」と略記し、図3では「FPA」と略記する。)3221を備えて構成される。図3に示す例では、当該ゲートウェイ装置2が2個の第1及び第2FP通信IF部16−a、16−bを備えることから、アクセサモジュール322は、2個のFPアクセス3221を備えている。即ち、アクセサモジュール322−aは、第1及び第2FPアクセス3221−Aa、3221−Abを備え、アクセサモジュール322−bは、第1及び第2FPアクセス3221−Ba、3221−Bbを備える。アクセスモジュール管理部321は、共通オブジェクトからFPオブジェクトに変換すると共に、この変換したFPオブジェクトをこれに対応するFPアクセス3221に通知する。即ち、アクセスモジュール管理部321は、変換したFPオブジェクトが第1フィールドプロトコル(例えばBACnet)のFPオブジェクトである場合には第1FPアクセス3221−Aに通知し、変換したFPオブジェクトが第2フィールドプロトコル(例えばLonTalk)のFPオブジェクトである場合には第2FPアクセス3221−Bに通知する。FPアクセス3221は、FPオブジェクトを処理し、処理結果をFP用通知部33に通知するオブジェクトインタフェースである。   The accessor module assembly unit 32 includes an accessor module management unit 321 and a plurality of accessor modules (abbreviated as “AM” in FIG. 3) 322, which is the number corresponding to the number of FP objects. The accessor module 322 includes a plurality of field protocol accesses (hereinafter abbreviated as “FP access” and abbreviated as “FPA” in FIG. 3) 3221 corresponding to the number of FP communication IF units 16. In the example shown in FIG. 3, since the gateway device 2 includes two first and second FP communication IF units 16-a and 16-b, the accessor module 322 includes two FP accesses 3221. . That is, the accessor module 322-a includes first and second FP accesses 3221-Aa and 3221-Ab, and the accessor module 322-b includes first and second FP accesses 3221-Ba and 3221-Bb. The access module management unit 321 converts the common object to the FP object and notifies the converted FP object to the FP access 3221 corresponding thereto. That is, when the converted FP object is a FP object of the first field protocol (for example, BACnet), the access module management unit 321 notifies the first FP access 3221-A, and the converted FP object is the second field protocol ( For example, in the case of an FP object of LonTalk), the second FP access 3221-B is notified. The FP access 3221 is an object interface that processes the FP object and notifies the FP notification unit 33 of the processing result.

オブジェクト変換部23は、当該GW装置2のローカルシステム1内におけるSC装置3からFPメッセージを受付けると、このFPメッセージを実行する機器を監視及び/又は制御するSC装置3が他のGW装置2のローカルシステム1内におけるSC装置3である場合に、FPメッセージの分析を行ってFPオブジェクトを共通オブジェクトへ変換し共通メッセージを生成するものである。オブジェクト変換部23は、FP準拠APプロトコルスタック部24ごとに用意されFP準拠APプロトコルスタック部24からFPメッセージの通知を受付けこの受付けたFPメッセージに含まれるFPオブジェクトを取り出すフィールドプロトコル用受付部(以下、「FP用受付部」と略記する。)38と、FP用受付部38で取り出されたFPオブジェクトを共通オブジェクトに変換する共通オブジェクト変換本体部(以下、「COb変換本体部」と略記する。)37と、COb変換本体部37で変換された共通オブジェクトを特定する情報(共通オブジェクト特定情報)を収容する共通メッセージを生成しIP準拠APプロトコルスタック部21へ通知すると共に当該GW装置2のローカルシステム1内におけるSC装置3の要求によりFPオブジェクト−共通オブジェクト変換マップの所定の内容をそのSC装置3に返信して公開する共通オブジェクト通知部36とを備える。   When the object conversion unit 23 receives an FP message from the SC device 3 in the local system 1 of the GW device 2, the SC device 3 that monitors and / or controls a device that executes the FP message is connected to the other GW device 2. In the case of the SC device 3 in the local system 1, the FP message is analyzed to convert the FP object into a common object and generate a common message. The object conversion unit 23 is prepared for each FP-compliant AP protocol stack unit 24, receives a FP message notification from the FP-compliant AP protocol stack unit 24, and extracts a FP object included in the received FP message (hereinafter referred to as a field protocol reception unit). , And abbreviated as “COb conversion main body” (hereinafter abbreviated as “COb conversion main body”), which converts the FP object extracted by the FP reception unit 38 into a common object. 37) and a common message that contains information (common object specifying information) for specifying the common object converted by the COb conversion main body unit 37, and notifies the IP compliant AP protocol stack unit 21 of the common message and the local of the GW device 2 In response to the request of the SC device 3 in the system 1 Ri FP object - and a common object notification section 36 to expose reply predetermined contents of the common object conversion map to the SC 3.

図3に示す例では、FP準拠APプロトコルスタック部24が第1及び第2FP準拠APプロトコルスタック部24−a、24−bの2個であることから、FP用受付部38は、第1FP準拠APプロトコルスタック部24−aから第1フィールドプロトコルのFPメッセージを受付ける第1FP用受付部38−a及び第2FP準拠APプロトコルスタック部24−bから第2フィールドプロトコルのFPメッセージを受付ける第2FP用受付部38−bの2個が用意されている。   In the example shown in FIG. 3, since the FP-compliant AP protocol stack unit 24 is the first and second FP-compliant AP protocol stack units 24-a and 24-b, the FP receiving unit 38 is compliant with the first FP. The first FP receiving unit 38-a that receives the FP message of the first field protocol from the AP protocol stack unit 24-a and the second FP receiving that receives the FP message of the second field protocol from the second FP-compliant AP protocol stack unit 24-b. Two parts 38-b are prepared.

図2に戻って、第1記憶部13は、中央処理部12の所謂ワーキングメモリであり、例えばRAM(Random Access Memory)等の揮発性の記憶素子を備えて構成される。第2記憶部14は、制御プログラム等の各種プログラムや各種プログラムを実行するために必要であって書換え不要な情報を記憶するメモリであり、例えばROM(Read Only Memory)等の不揮発性の記憶素子を備えて構成される。   Returning to FIG. 2, the first storage unit 13 is a so-called working memory of the central processing unit 12 and includes a volatile storage element such as a RAM (Random Access Memory). The second storage unit 14 is a memory that stores various programs such as a control program and information that is necessary for executing the various programs and that is not rewritten. For example, a nonvolatile storage element such as a ROM (Read Only Memory) It is configured with.

第3記憶部15は、FPオブジェクト−共通オブジェクト変換マップ(以下、「FPOb−COb変換マップ」と略記する。)を記憶するFPオブジェクト−共通オブジェクト変換マップ記憶部(以下、「FPOb−COb変換マップ記憶部」と略記する。)41と、共通オブジェクト送信テーブルを記憶する共通オブジェクト送信テーブル記憶部42と、FPオブジェクト送信テーブルを記憶するFPオブジェクト送信テーブル記憶部43とを備えて構成され、各種プログラムを実行するために必要であって書換えの必要な情報を記憶するメモリであり、例えばEEPROM(Electrically Erasable Programmable Read Only Memory)等の書換え可能な不揮発性の記憶素子を備えて構成される。   The third storage unit 15 stores an FP object-common object conversion map (hereinafter, “FPOb-COb conversion map”) that stores an FP object-common object conversion map (hereinafter abbreviated as “FPOb-COb conversion map”). 41, a common object transmission table storage unit 42 that stores a common object transmission table, and an FP object transmission table storage unit 43 that stores an FP object transmission table. Is a memory that stores information that is necessary to execute the above-mentioned and that needs to be rewritten, and includes a rewritable nonvolatile storage element such as an EEPROM (Electrically Erasable Programmable Read Only Memory).

共通オブジェクトは、インターネット5を介して複数のローカルシステム1を1つに纏めて広域システムとするためにGW装置2間で共通に使用するオブジェクトである。その一特徴として、共通オブジェクトは、異なるフィールドプロトコルで共通に使用可能なインタフェースである共通インタフェースと、特定のフィールドプロトコルで使用されるインタフェースである固有インタフェースとを備えて構成される。このような共通オブジェクトを用いることにより、複数のフィールドプロトコルにおいて、一のフィールドプロトコルから他のフィールドプロトコルに変換する際に、一のフィールドプロトコルと他のフィールドプロトコルとを1対1で対応させて変換する場合に較べて、変換の際に用いる変換マップのデータ量を少なくすることができ、また、同一の手順によって変換することができる。また、共通オブジェクトに含まれている共通インタフェースの変数プロパティを参照したり、関数を実行したりすることにより、共通オブジェクトを参照するだけで、そのメタ情報(属性、使用方法)等を認識することができる。また、共通オブジェクトにこのような共通インタフェースを備えることで、さらに、変換マップのデータ量を少なくすることができる。   The common object is an object that is used in common between the GW apparatuses 2 in order to combine a plurality of local systems 1 into a wide area system via the Internet 5. As one feature thereof, the common object includes a common interface that is an interface that can be used in common by different field protocols, and a unique interface that is an interface used by a specific field protocol. By using such a common object, when converting from one field protocol to another field protocol in a plurality of field protocols, one field protocol and another field protocol are converted in a one-to-one correspondence. Compared to the case, the data amount of the conversion map used for the conversion can be reduced, and the conversion can be performed by the same procedure. In addition, by referring to the variable properties of the common interface included in the common object and executing the function, the meta information (attributes, usage), etc. can be recognized only by referring to the common object. Can do. Further, by providing such a common interface for the common object, the data amount of the conversion map can be further reduced.

監視及び制御が基本的に値の読み込み、書込み及び自発的な発報によって行われることに着目し、共通インタフェース及び固有インタフェースは、一のSC装置3が他のSC装置3から値を取得する場合に使用されるプロパティであるGet関数(ゲット関数)、一のSC装置3が他のSC装置3へ値を書き込む場合に使用されるプロパティであるSet関数(セット関数)、及び、一のSC装置3が自発的に値の変化を通知する場合に使用されるプロパティであるEventのうち少なくとも1つを備えて構成される。   Focusing on the fact that monitoring and control are basically performed by reading, writing, and spontaneous notification of values, the common interface and the specific interface are obtained when one SC device 3 acquires a value from another SC device 3 A Get function (get function) that is a property used for the first SC device, a Set function (set function) that is a property used when one SC device 3 writes a value to another SC device 3, and one SC device 3 is configured to include at least one of an event that is a property used when a value change is voluntarily notified.

まず、第1ステップとして、共通インタフェースが管理点や物理量を元に作成され、この作成された共通インタフェースで表現されるプロパティを各フィールドプロトコルのオブジェクトにおけるプロパティから抽出する。   First, as a first step, a common interface is created based on a management point and a physical quantity, and a property expressed by the created common interface is extracted from a property in each field protocol object.

次に、第2ステップとして、抽出後に残ったプロパティで固有インタフェースを作成する。この固有インタフェースを作成する場合に、残ったプロパティにおいて同種のプロパティ同士を纏めて固有インタフェースを作成してもよい。   Next, as a second step, a unique interface is created with the properties remaining after extraction. When creating this unique interface, the unique interface may be created by combining the same type of properties in the remaining properties.

本発明は、複数のフィールドプロトコル間で少なくとも一部の機器情報が共通インターフェースに割り付け可能であれば、オブジェクト指向のフィールドプロトコルでもオブジェクト指向ではないフィールドプロトコルでもよい。   The present invention may be an object-oriented field protocol or a non-object-oriented field protocol as long as at least part of device information can be assigned to a common interface among a plurality of field protocols.

ここで、GW装置2が対応するフィールドプロトコルがLonTalk及びBACnetである場合において共通オブジェクトの作成方法を具体的に説明する。図4は、共通オブジェクトの作成方法を一具体例に沿って説明するための図である。   Here, a method for creating a common object when the field protocols supported by the GW apparatus 2 are LonTalk and BACnet will be described in detail. FIG. 4 is a diagram for explaining a method of creating a common object along one specific example.

図4において、まず、例えば、温度に関する共通インタフェース(温度インタフェース)が作成される。例えば、GetValueTemperature関数、SetValueTemperature関数及びEventValueTemperature関数をプロパティとして備える温度インタフェース531が作成される。そして、この温度インタフェースで表現されるプロパティをLONの変数(LON SNVT)及びBACnetのオブジェクトから抽出する。即ち、これによって、LONでは、温度に関するアナログ値管理点用の変数であるSNVT_temp_f51が着目され、そのプロパティであるTemperature値が抽出される。そして、BACnetでは、AnalogInput52が着目され、Present_Value、Status_Flags、Reliability、Out_Of_Service、Units及びResolutionが抽出される。   In FIG. 4, first, for example, a common interface (temperature interface) related to temperature is created. For example, a temperature interface 531 is created that includes a GetValueTemperature function, a SetValueTemperature function, and an EventValueTemperature function as properties. Then, the property expressed by this temperature interface is extracted from the LON variable (LON SNVT) and the BACnet object. That is, by this, in LON, SNVT_temp_f51, which is a variable for an analog value management point related to temperature, is focused, and a Temperature value that is a property thereof is extracted. In BACnet, AnalogInput 52 is focused, and Present_Value, Status_Flags, Reliability, Out_Of_Service, Units, and Resolution are extracted.

次に、抽出後に残ったプロパティで固有インタフェースを作成する。SNVT_temp_f51には残ったプロパティはないので、LonWorksのSNVT_temp_f51に対して固有インタフェースは、作成されない。一方、AnalogInput52には、Object_Identifier、Object_Name、Object_Type、Description、Device_Type、Event_State、Update_Interval、Min_Pres_Value、Max_Pres_Value、COV_Increment、Time_Delay、Notification_Class、High_Limit、Low_Limit、Deadband、Limit_Enable、Event_Enable、Acked_Transitions、Notyfy_Typeのプロパティが残るので、固有インタフェースとして、Object_Identifier、Object_Name、Object_Type、Description、Device_Type及びUpdate_Intervalを纏めてGetObjInformation関数及びSetObjInformation関数をプロパティとして備えるオブジェクト情報インタフェース532、Min_Pres_Value及びMax_Pres_Valueを纏めてGetRangeValue関数及びSetRangeValue関数をプロパティとして備える範囲設定インタフェース533、そして、Event_State、COV_Increment、Time_Delay、Notification_Class、High_Limit、Low_Limit、Deadband、Limit_Enable、Event_Enable、Acked_Transitions及びNotyfy_Typeを纏めてGetEventCondition及びSetEventConditionを備えるイベント設定インタフェース534がそれぞれ作成される。   Next, a unique interface is created with the properties remaining after extraction. Since there is no remaining property in SNVT_temp_f51, a specific interface is not created for SNVT_temp_f51 of LonWorks. On the other hand, the AnalogInput52, Object_Identifier, Object_Name, Object_Type, Description, Device_Type, Event_State, Update_Interval, Min_Pres_Value, Max_Pres_Value, COV_Increment, Time_Delay, Notification_Class, High_Limit, Low_Limit, Deadband, Limit_Enable, Event_Enable, Acked_Transitions, since properties of Notyfy_Type remains, unique As interfaces, Object_Identifier, Object_Name, Object Type, Description, Device_Type and object information interface 532 includes a GetObjInformation function and SetObjInformation function as a property collectively Update_Interval, range setting interface 533 comprises a GetRangeValue function and SetRangeValue function collectively Min_Pres_Value and Max_Pres_Value as properties and,, Event_State, COV_Increment, Time_Delay, Notification_Class, High_Limit, Low_Limit, Deadband, Limit_Enable, Event_Enable, Ack Event setting interface 534 comprising a GetEventCondition and SetEventCondition collectively d_Transitions and Notyfy_Type are created, respectively.

このような手順によってSNVT_temp_f51とAnalogInput52とに対する共通オブジェクト53が作成される。このような共通オブジェクト53が当該GW装置2が対応するフィールドプロトコルのプロパティごとに作成される。   A common object 53 for SNVT_temp_f51 and AnalogInput 52 is created by such a procedure. Such a common object 53 is created for each field protocol property to which the GW apparatus 2 corresponds.

そして、FPOb−COb変換マップは、FPオブジェクトのプロパティと共通オブジェクトのインタフェースとの対応関係を示す情報であり、FPオブジェクトから共通オブジェクトへ、及び、共通オブジェクトからFPオブジェクトへ変換するために使用される。例えば、上述の具体例の場合では、FPOb−COb変換マップは、LonWorksのSNVT_temp_f51におけるTemperature値と共通インタフェースの温度インタフェース531との対応関係を示す情報、BACnetのAnalogInput52におけるPresent_Value、Status_Flags、Reliability、Out_Of_Service、Units及びResolutionと共通インタフェースの温度インタフェース531との対応関係を示す情報、BACnetのAnalogInput52におけるObject_Identifier、Object_Name、Object_Type、Description、Device_Type及びUpdate_Intervalと固有インタフェースのオブジェクト情報インタフェース532との対応関係を示す情報、BACnetのAnalogInput52におけるMin_Pres_Value及びMax_Pres_Valueと固有インタフェースの範囲設定インタフェース533との対応関係を示す情報、そして、BACnetのAnalogInput52におけるEvent_State、COV_Increment、Time_Delay、Notification_Class、High_Limit、Low_Limit、Deadband、Limit_Enable、Event_Enable、Acked_Transitions及びNotyfy_Typeとイベント設定インタフェース534との対応関係を示す情報である。例えば、共通オブジェクト53の各インタフェース531〜534には、識別子(共通オブジェクトインタフェース識別子)が付与されており、この共通オブジェクトインタフェース識別子をオブジェクト識別子及びプロパティ名に対応付けることによって対応関係が示される。   The FPOb-COb conversion map is information indicating the correspondence between the properties of the FP object and the interface of the common object, and is used to convert from the FP object to the common object and from the common object to the FP object. . For example, in the case of the above-described specific example, the FPOb-COb conversion map includes information indicating the correspondence between the Temperature value in the SNVT_temp_f51 of LonWorks and the temperature interface 531 of the common interface, Present_Value, Status_Flag, Information indicating the correspondence relationship between Units and Resolutions and the temperature interface 531 of the common interface, Object_Identifier, Object_Name, Object_Type, Description, Device_TypeI and Update in BACnet AnalogInput 52 information indicating the correspondence between the object information interface 532 and the object information interface 532 of the specific interface, information indicating the correspondence between the Min_Pres_Value and Max_Pres_Value in the Analog Input 52 of the BACnet, and the range setting interface 533 of the BACnet, and EventVent_InputVent of the BACnet AnalogInput_Input52 The correspondence between Time_Delay, Notification_Class, High_Limit, Low_Limit, Deadband, Limit_Enable, Event_Enable, Acked_Transitions and Notify_Types and event setting interface 534 It is to information. For example, an identifier (common object interface identifier) is assigned to each of the interfaces 531 to 534 of the common object 53, and the correspondence is shown by associating the common object interface identifier with the object identifier and the property name.

図5は、共通オブジェクト送信テーブルの構成及びFPオブジェクト送信テーブルの構成を示す図である。図5(A)は、共通オブジェクト送信テーブルの構成を示し、図5(B)は、FPオブジェクト送信テーブルの構成を示す。   FIG. 5 is a diagram illustrating the configuration of the common object transmission table and the configuration of the FP object transmission table. FIG. 5A shows the configuration of the common object transmission table, and FIG. 5B shows the configuration of the FP object transmission table.

共通オブジェクト送信テーブルは、GW装置2が当該GW装置2のローカルシステム1内におけるSC装置3からFPメッセージを受信した場合に、この受信したFPメッセージのFPオブジェクトを変換した共通オブジェクトの共通オブジェクト特定情報を収容する共通メッセージを送信すべき送信先を示す情報を登録するテーブルである。図5(A)に示すように、共通オブジェクト送信テーブル60は、例えば、FPメッセージを送信した送信元のSC装置3における通信アドレスを登録する送信元SCアドレス部61と、FPメッセージに収容されていたFPオブジェクトを特定する情報(FPオブジェクト特定情報)を登録するFPオブジェクト特定情報部62と、FPオブジェクトに対応する共通オブジェクトを収容した共通メッセージを送信する送信先であるGW装置2の通信アドレスを登録する送信先GWアドレス部63とを備えて構成され、送信元SCアドレス部61に登録されるSC装置3の通信アドレスとFPオブジェクト特定情報との組ごとに作成される。   When the GW device 2 receives an FP message from the SC device 3 in the local system 1 of the GW device 2, the common object transmission table stores the common object specifying information of the common object obtained by converting the FP object of the received FP message. It is a table which registers the information which shows the transmission destination which should transmit the common message which accommodates. As shown in FIG. 5A, the common object transmission table 60 is accommodated in the FP message, for example, a transmission source SC address section 61 for registering a communication address in the transmission source SC apparatus 3 that has transmitted the FP message. The communication address of the GW device 2 which is the transmission destination for transmitting the common message containing the common object corresponding to the FP object, and the FP object identification information unit 62 for registering the information for identifying the FP object (FP object identification information). The transmission destination GW address part 63 to be registered is configured, and is created for each set of the communication address of the SC device 3 registered in the transmission source SC address part 61 and the FP object specifying information.

FPオブジェクト送信テーブルは、GW装置2が他のGW装置2から共通メッセージを受信した場合に、この受信した共通メッセージの共通オブジェクト特定情報で特定される共通オブジェクトを変換したFPオブジェクトを収容するFPメッセージを送信すべき送信先を示す情報を登録するテーブルである。図5(B)に示すように、FPオブジェクト送信テーブル70は、例えば、共通メッセージを送信した送信元のGW装置2における通信アドレスを登録する送信元GWアドレス部71と、共通メッセージに収容されていた共通オブジェクトを特定する共通オブジェクト特定情報を登録する共通オブジェクト特定情報部72と、共通オブジェクトに対応するFPオブジェクトを収容したFPメッセージを送信する送信先であるSC装置3の通信アドレスを登録する送信先SCアドレス部73とを備えて構成され、送信元GWアドレス部71に登録されるGW装置2の通信アドレスと共通オブジェクト特定情報との組ごとに作成される。   When the GW device 2 receives a common message from another GW device 2, the FP object transmission table stores an FP object that contains an FP object obtained by converting the common object specified by the common object specifying information of the received common message. It is a table which registers the information which shows the transmission destination which should transmit. As shown in FIG. 5B, the FP object transmission table 70 is accommodated in, for example, a transmission source GW address unit 71 that registers a communication address in the transmission source GW apparatus 2 that has transmitted the common message, and the common message. A common object specifying information unit 72 for registering common object specifying information for specifying the common object, and a transmission for registering the communication address of the SC device 3 which is a transmission destination for transmitting the FP message containing the FP object corresponding to the common object. The destination SC address part 73 is configured, and is created for each set of the communication address of the GW apparatus 2 registered in the transmission source GW address part 71 and the common object specifying information.

本実施形態では、各GW装置2は、インターネット5を介して相互に通信可能に接続されることから、GW装置2の通信アドレスは、IPアドレスが用いられる。またSC装置3の通信アドレスは、例えば、デバイスIDやMAC(Media Access Control)アドレスやIPアドレスが用いられる。   In the present embodiment, each GW device 2 is connected to be communicable with each other via the Internet 5, and therefore an IP address is used as the communication address of the GW device 2. As the communication address of the SC device 3, for example, a device ID, a MAC (Media Access Control) address, or an IP address is used.

また、本実施形態では、FPOb−COb変換マップは、上述のように構成されるので、共通オブジェクト特定情報は、共通オブジェクト識別子及び共通オブジェクトインタフェース識別子である。共通オブジェクト識別子は、共通オブジェクトを識別し特定する識別子である。そして、FPオブジェクト特定情報は、オブジェクト識別子及びプロパティ名である。   In the present embodiment, since the FPOb-COb conversion map is configured as described above, the common object specifying information is a common object identifier and a common object interface identifier. A common object identifier is an identifier that identifies and identifies a common object. The FP object specifying information is an object identifier and a property name.

また、図3において、共通オブジェクト情報管理部25は、ローカルシステム内のSC装置3から広域システム内において使用可能な共通オブジェクトの問合せがあるとFPOb−COb変換マップを参照してその応答を返信すると共に、他のSC装置3から広域システム内において使用可能な共通オブジェクトの問合せがあるとFPOb−COb変換マップを参照してその応答を返信する。   In FIG. 3, when there is an inquiry about a common object that can be used in the wide area system from the SC device 3 in the local system, the common object information management unit 25 refers to the FPOb-COb conversion map and returns a response. At the same time, when there is an inquiry about a common object that can be used in the wide area system from another SC apparatus 3, the FPOb-COb conversion map is referred to and a response is returned.

そして、図2に戻って、これら中央処理部12、第1記憶部13、第2記憶部14、第3記憶部15、FP通信IF部16及びシリアルコンソール部17は、データを相互に交換することができるようにバス18にそれぞれ接続される。   Returning to FIG. 2, the central processing unit 12, the first storage unit 13, the second storage unit 14, the third storage unit 15, the FP communication IF unit 16, and the serial console unit 17 exchange data with each other. Are connected to the bus 18 respectively.

次に、第1の実施形態におけるGW装置2の動作について説明する。
(第1の実施形態の動作)
図6は、オブジェクト変換部の動作を示すフローチャートである。図6において、オブジェクト変換部23のCOb変換本体部37は、FP準拠APプロトコルスタック部24で当該GW装置2のローカルシステム1からFPメッセージを、本実施形態ではBACnetのサービス・メッセージやLonTalkのサービス・メッセージを受信すると(S11)、このFPメッセージの分析を行う(S12)。このフィールドプロトコルのメッセージの分析は、このフィールドプロトコルのメッセージを送信した送信元のSC装置3における通信アドレスを検出し、FPメッセージに収容されるオブジェクトからFPオブジェクト特定情報を検出すること(即ち、BACnetの場合ではオブジェクト識別子、インスタンスNo(インスタンス番号)及びプロパティ識別子)である。
Next, the operation of the GW apparatus 2 in the first embodiment will be described.
(Operation of the first embodiment)
FIG. 6 is a flowchart showing the operation of the object conversion unit. In FIG. 6, the COb conversion main body 37 of the object conversion unit 23 receives an FP message from the local system 1 of the GW apparatus 2 in the FP-compliant AP protocol stack unit 24, and in this embodiment, a BACnet service message or a LonTalk service. When a message is received (S11), this FP message is analyzed (S12). The analysis of the field protocol message is performed by detecting the communication address in the transmission source SC apparatus 3 that has transmitted the field protocol message, and detecting the FP object specifying information from the objects contained in the FP message (that is, BACnet). In this case, the object identifier, instance number (instance number), and property identifier).

次に、COb変換本体部37は、この分析結果に基づいてFPOb−COb変換マップから、この受信したFPメッセージに収容されるFPオブジェクトに対応するFPOb−COb変換マップを検索する(S13)。   Next, the COb conversion main body 37 searches the FPOb-COb conversion map corresponding to the FP object contained in the received FP message from the FPOb-COb conversion map based on the analysis result (S13).

次に、COb変換本体部37は、検索結果からこの受信したFPメッセージに収容されるFPオブジェクトに対応するFPOb−COb変換マップの有無を判断する(S14)。判断の結果、FPOb−COb変換マップが無い場合(無し)には、COb変換本体部37は、このFPメッセージを処理することができない旨を示すエラー・FPメッセージをこのFPメッセージを送信したローカルシステム1内のSC装置3に返信し(S19)、処理を終了する。一方、判断の結果、FPOb−COb変換マップが有る場合(有り)には、COb変換本体部37は、この受信したFPメッセージが引数等の数値データを送信するFPメッセージであるか否かを判断する(S15)。即ち、COb変換本体部37は、送信先のSC装置3に数値データを書き込むメッセージであるか否かを判断する。   Next, the COb conversion main body 37 determines whether or not there is an FPOb-COb conversion map corresponding to the FP object accommodated in the received FP message from the search result (S14). As a result of the determination, if there is no FPOb-COb conversion map (none), the COb conversion main body 37 sends an error / FP message indicating that this FP message cannot be processed to the local system that has transmitted this FP message. 1 is returned to the SC device 3 in S1 (S19), and the process is terminated. On the other hand, as a result of the determination, if there is an FPOb-COb conversion map (present), the COb conversion main body 37 determines whether or not the received FP message is an FP message for transmitting numerical data such as an argument. (S15). That is, the COb conversion main body 37 determines whether or not the message is a message for writing numerical data to the destination SC device 3.

判断の結果、数値データを送信するメッセージである場合(YES)には、COb変換本体部37は、数値データを共通オブジェクトの型に変換し、処理S17を実行する。一方、判断の結果、数値データを送信するメッセージでない場合(NO)には、COb変換本体部37は、処理S17を実行する。   As a result of the determination, if the message is a message for transmitting numerical data (YES), the COb conversion main body 37 converts the numerical data into a common object type, and executes processing S17. On the other hand, if the result of determination is that the message is not a message for sending numerical data (NO), the COb conversion main body 37 executes step S17.

処理S17において、COb変換本体部37は、共通メッセージを組み立てる。即ち、本実施形態では、COb変換本体部37は、処理S13の検索結果におけるFPOb−COb変換マップからこの受信したFPメッセージに収容されるFPオブジェクトに対応する共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を取得する。COb変換本体部37は、処理S12の分析結果に基づいて共通オブジェクト送信テーブル60を検索し、検索結果から送信先のGW装置2における通信アドレスを取得する。そして、COb変換本体部37は、この検索結果に基づく通信アドレス宛てにこの取得した共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を収容すると共に必要に応じて数値データを収容する共通メッセージを生成する。   In process S17, the COb conversion main body 37 assembles a common message. In other words, in the present embodiment, the COb conversion main body 37 reads the common object specifying information (common object interface identifier) corresponding to the FP object accommodated in the received FP message from the FPOb-COb conversion map in the search result of process S13. To get. The COb conversion main body 37 searches the common object transmission table 60 based on the analysis result of process S12, and acquires the communication address in the transmission destination GW apparatus 2 from the search result. Then, the COb conversion main body 37 generates a common message that accommodates the acquired common object specifying information (common object interface identifier) to the communication address based on the search result and accommodates numerical data as necessary.

そして、COb変換本体部37は、IP準拠APプロトコルスタック部21を用いてこの共通メッセージを送信し(S18)、処理を終了する。共通メッセージは、IP準拠APプロトコルスタック部21による処理により、ネットワーク層のIPヘッダ及びデータリンク層のフレームヘッダが順次に付加され、通信IF部11からインターネット5へ送出され、送信先のGW装置2に送信される。   Then, the COb conversion main body 37 transmits this common message using the IP-compliant AP protocol stack unit 21 (S18), and ends the process. The common message is sequentially added with the IP header of the network layer and the frame header of the data link layer by the processing by the IP-compliant AP protocol stack unit 21, sent out from the communication IF unit 11 to the Internet 5, and sent to the destination GW device 2. Sent to.

このように動作することによってGW装置2は、FPオブジェクトを共通オブジェクトに変換することができ、FPメッセージを実行すべきSC装置3をローカルシステム1内に持つGW装置2へ共通メッセージを送信することができる。   By operating in this way, the GW apparatus 2 can convert the FP object into a common object, and transmits the common message to the GW apparatus 2 having the SC apparatus 3 that should execute the FP message in the local system 1. Can do.

図7は、オブジェクト逆変換部の動作を示すフローチャートである。図7において、オブジェクト逆変換部22のアクセサモジュール集合部32は、IP準拠APプロトコルスタック部21でインターネット5(他のGW装置2)から共通メッセージを受信すると(S31)、この共通メッセージの分析を行う(S32)。この共通メッセージの分析は、この共通メッセージを送信した送信元のGW装置2における通信アドレスを検出し、共通メッセージに収容される共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を検出することである。   FIG. 7 is a flowchart showing the operation of the object inverse conversion unit. In FIG. 7, when the accessor module aggregation unit 32 of the object reverse conversion unit 22 receives a common message from the Internet 5 (another GW apparatus 2) by the IP-compliant AP protocol stack unit 21 (S31), the common message analysis is performed. Perform (S32). The analysis of the common message is to detect a communication address in the transmission source GW apparatus 2 that has transmitted the common message, and to detect common object specifying information (common object interface identifier) contained in the common message.

次に、アクセサモジュール集合部32は、分析結果に基づいてFPOb−COb変換マップから、この受信した共通メッセージの共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)に対応するFPOb−COb変換マップを検索する(S33)。   Next, the accessor module collection unit 32 searches the FPOb-COb conversion map corresponding to the common object specifying information (common object interface identifier) of the received common message from the FPOb-COb conversion map based on the analysis result ( S33).

次に、アクセサモジュール集合部32は、検索結果からこの受信した共通メッセージの共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)に対応するFPOb−COb変換マップの有無を判断する(S34)。判断の結果、FPOb−COb変換マップが無い場合(無し)には、アクセサモジュール集合部32は、この共通メッセージを処理することができない旨を示すエラー・FP・メッセージに対応する共通メッセージを処理S31で受信した共通メッセージを送信したGW装置2に返信し(S39)、処理を終了する。一方、判断の結果、FPOb−COb変換マップが有る場合(有り)には、アクセサモジュール集合部32は、この受信した共通メッセージが数値データを送信するメッセージであるか否かを判断する(S35)。即ち、アクセサモジュール集合部32は、送信先のSC装置3に数値データを書き込む共通メッセージであるか否かを判断する。   Next, the accessor module collection unit 32 determines whether there is an FPOb-COb conversion map corresponding to the common object specifying information (common object interface identifier) of the received common message from the search result (S34). As a result of the determination, if there is no FPOb-COb conversion map (none), the accessor module collection unit 32 processes the common message corresponding to the error / FP / message indicating that the common message cannot be processed S31. Is returned to the GW apparatus 2 that has transmitted the common message received in (S39), and the process is terminated. On the other hand, as a result of the determination, if there is an FPOb-COb conversion map (present), the accessor module aggregation unit 32 determines whether or not the received common message is a message for transmitting numerical data (S35). . That is, the accessor module collection unit 32 determines whether the message is a common message for writing numerical data to the destination SC device 3.

判断の結果、数値データを送信する共通メッセージである場合(YES)には、アクセサモジュール集合部32は、数値データをフィールドプロトコルの型に変換し、処理S37を実行する。一方、判断の結果、数値データを送信する共通メッセージでない場合(NO)には、アクセサモジュール集合部32は、処理S37を実行する。   If it is determined that the message is a common message for transmitting numerical data (YES), the accessor module collecting unit 32 converts the numerical data into a field protocol type, and executes step S37. On the other hand, if the determination result indicates that the message is not a common message for transmitting numerical data (NO), the accessor module aggregation unit 32 executes a process S37.

処理S37において、アクセサモジュール集合部32は、FPメッセージを組み立てる。即ち、本実施形態では、アクセサモジュール集合部32のアクセサモジュール管理部321は、処理S33の検索結果におけるFPOb−COb変換マップからこの受信した共通メッセージに収容される共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)に対応するフィールドプロトコルのFPオブジェクト特定情報を取得する。アクセサモジュール管理部321は、処理S12の分析結果に基づいてFPオブジェクト送信テーブル70を検索し、検索結果から送信先のSC装置3における通信アドレスを取得する。そして、アクセサモジュール管理部321は、この検索結果に基づく通信アドレス及びFPオブジェクト特定情報をアクセサモジュール322に通知し、アクセサモジュール322は、通知されたFPオブジェクト特定情報に応じたフィールドプロトコルアクセサ3221で、この検索結果に基づく通信アドレス宛てに必要に応じて数値データを用いてこの取得したFPオブジェクト特定情報に対応するFPメッセージを生成する。   In process S37, the accessor module collecting unit 32 assembles an FP message. That is, in this embodiment, the accessor module management unit 321 of the accessor module aggregation unit 32 uses the common object specifying information (common object interface identifier) contained in the received common message from the FPOb-COb conversion map in the search result of processing S33. FP object specifying information of the field protocol corresponding to) is acquired. The accessor module management unit 321 searches the FP object transmission table 70 based on the analysis result of the process S12, and acquires the communication address in the destination SC device 3 from the search result. Then, the accessor module management unit 321 notifies the accessor module 322 of the communication address and the FP object specifying information based on the search result, and the accessor module 322 is a field protocol accessor 3221 corresponding to the notified FP object specifying information. An FP message corresponding to the acquired FP object specifying information is generated using numerical data as necessary for the communication address based on the search result.

そして、アクセサモジュール集合部32は、FP準拠APプロトコルスタック部24を用いてこのFPメッセージを送信し(S38)、処理を終了する。FPメッセージは、FP準拠APプロトコルスタック部24によって処理され、FP通信IF部16からローカルシステム1へ送出され、送信先のSC装置3に送信され、送信先のSC装置3で実行される。   Then, the accessor module collection unit 32 transmits this FP message using the FP-compliant AP protocol stack unit 24 (S38), and ends the process. The FP message is processed by the FP-compliant AP protocol stack unit 24, transmitted from the FP communication IF unit 16 to the local system 1, transmitted to the destination SC device 3, and executed by the destination SC device 3.

このように動作することによってGW装置2は、共通オブジェクトをFPオブジェクトに変換することができ、FPメッセージを実行するSC装置3に送信することができる。   By operating in this way, the GW apparatus 2 can convert the common object into the FP object, and can transmit it to the SC apparatus 3 that executes the FP message.

以上のようにGW装置2は、FPオブジェクトをGW装置2間で共通に使用するために定義した共通オブジェクトに双方向で変換するので、複数のローカルシステム1−A、1−B、1−Cを、インターネット5を介して接続して広域システムにすることができる。また、FPオブジェクトをGW装置2間で共通に使用するために定義した共通オブジェクトに双方向で変換するので、既存のビルに導入する場合でも、各SC装置3−A〜3−CのIPアドレスを変更する必要がない。   As described above, since the GW device 2 bidirectionally converts the FP object into a common object defined for common use among the GW devices 2, a plurality of local systems 1-A, 1-B, 1-C Can be connected via the Internet 5 to form a wide area system. In addition, since the FP object is bidirectionally converted to a common object defined for common use among the GW apparatuses 2, even when introducing into an existing building, the IP address of each SC apparatus 3-A to 3-C There is no need to change.

次に、GW装置2の動作をより明確に説明するために、図1に示すローカルシステム1−A内のSC装置3−Aa(HIM)がローカルシステム1−B内のSC装置3−Ba(Icont)にBACnetにおけるサービス・メッセージの一例である「ReadProperty」を実行させる場合について説明する。   Next, in order to explain the operation of the GW device 2 more clearly, the SC device 3-Aa (HIM) in the local system 1-A shown in FIG. A case in which “ReadProperty”, which is an example of a service message in the BACnet, is executed by “Icont” will be described.

なお、ローカルシステム1−A内において、GW装置2−Aにおける通信アドレスは、IPアドレスの「192.168.0.1」であり、SC装置3−Aaの通信アドレスは、「0x05」であるとする。ローカルシステム1−B内において、GW装置2−Bにおける通信アドレスは、IPアドレスの「192.168.0.2」であり、SC装置3−Baの通信アドレスは、「0x10」であるとする。また、ローカルシステム1−A及びローカルシステム1−Bは、フィールドプロトコルとしてBACnetを採用しているものとする。このように本発明に係るGW装置2は、送信元のGW装置2におけるローカルシステムのフィールドプロトコルと送信先のGW装置2におけるローカルシステムのフィールドプロトコルが異なる場合だけでなく、同一の場合でもよい。   In the local system 1-A, the communication address of the GW apparatus 2-A is “192.168.0.1” of the IP address, and the communication address of the SC apparatus 3-Aa is “0x05”. And In the local system 1-B, the communication address of the GW apparatus 2-B is “192.168.0.2” of the IP address, and the communication address of the SC apparatus 3-Ba is “0x10”. . Further, it is assumed that the local system 1-A and the local system 1-B adopt BACnet as a field protocol. As described above, the GW apparatus 2 according to the present invention may be the same as the case where the field protocol of the local system in the transmission source GW apparatus 2 is different from the field protocol of the local system in the transmission destination GW apparatus 2.

図8は、図1に示すローカルシステム1−A内のSC装置3−Aaがローカルシステム1−B内のSC装置3−Baに「ReadProperty」を実行させる場合の動作示すシーケンス図である。   FIG. 8 is a sequence diagram showing an operation when the SC device 3-Aa in the local system 1-A shown in FIG. 1 causes the SC device 3-Ba in the local system 1-B to execute “ReadProperty”.

図8において、SC装置3−Aaは、SC装置3−Baに「ReadProperty」を実行させるべく、「ReadProperty」のFPメッセージ(サービス・メッセージ)を生成し、ローカルシステム1−A内に送信する(C11)。   In FIG. 8, the SC device 3-Aa generates an FP message (service message) of “ReadProperty” and transmits it within the local system 1-A in order to cause the SC device 3-Ba to execute “ReadProperty” ( C11).

SC装置3−Aaからこの「ReadProperty」のFPメッセージを受信したGW装置2−Aは、図6に示す処理S11乃至処理S19を実行する(C12)。この処理の実行により、GW装置2−Aは、「ReadProperty」のFPメッセージに対応するFPOb−COb変換マップを検索し、検索したFPOb−COb変換マップから共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を取得する。また、GW装置2−Aは、共通オブジェクト送信テーブル60から送信先のGW装置2の通信アドレスを検索して取得する。そして、GW装置2−Aは、送信元のGW装置2における通信アドレスとして当該GW装置2−Aのインターネット側のIPアドレスである「200.0.0.1」を収容し、送信先のGW装置2−Bにおける通信アドレスとしてインターネット側のIPアドレス「200.0.0.2」を収容し、共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を収容する共通メッセージを生成する。   The GW apparatus 2-A that has received the “ReadProperty” FP message from the SC apparatus 3-Aa executes the processes S11 to S19 shown in FIG. 6 (C12). By executing this processing, the GW apparatus 2-A searches for the FPOb-COb conversion map corresponding to the FP message “ReadProperty”, and acquires common object specifying information (common object interface identifier) from the searched FPOb-COb conversion map. get. Also, the GW apparatus 2-A searches for and acquires the communication address of the transmission destination GW apparatus 2 from the common object transmission table 60. Then, the GW apparatus 2-A accommodates “200.0.0.1” that is the IP address on the Internet side of the GW apparatus 2-A as the communication address in the transmission source GW apparatus 2, and the transmission destination GW An IP address “200.0.0.2” on the Internet side is accommodated as a communication address in the apparatus 2-B, and a common message that accommodates common object specifying information (common object interface identifier) is generated.

GW装置2−Aは、共通メッセージが生成されると、共通メッセージをインターネット5を介して送信先のGW装置2−Bに送信する(C13)。   When the common message is generated, the GW apparatus 2-A transmits the common message to the transmission destination GW apparatus 2-B via the Internet 5 (C13).

GW装置2−Aからこの共通メッセージを受信したGW装置2−Bは、図7に示す処理S31乃至処理S39を実行する(C14)。この処理の実行により、GW装置2−Bは、共通メッセージに収容される共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)に対応するFPOb−COb変換マップを検索し、検索したFPOb−COb変換マップからFPオブジェクト特定情報(オブジェクト識別子及びプロパティ名)を取得する。また、GW装置2−Bは、FPオブジェクト送信テーブル70から送信先のSC装置3−Baの通信アドレスを検索して取得する。そして、GW装置2−Bは、「ReadProperty」のFPメッセージ(サービス・メッセージ)を生成し、ローカルシステム1−B内のSC装置3−Baにこの「ReadProperty」のFPメッセージを送信する(C15)。   The GW apparatus 2-B that has received this common message from the GW apparatus 2-A executes the processes S31 to S39 shown in FIG. 7 (C14). By executing this processing, the GW apparatus 2-B searches for the FPOb-COb conversion map corresponding to the common object specifying information (common object interface identifier) contained in the common message, and the FP from the searched FPOb-COb conversion map. Get object identification information (object identifier and property name). Further, the GW apparatus 2-B searches and acquires the communication address of the SC apparatus 3-Ba as the transmission destination from the FP object transmission table 70. Then, the GW apparatus 2-B generates an FP message (service message) of “ReadProperty”, and transmits the FP message of “ReadProperty” to the SC apparatus 3-Ba in the local system 1-B (C15). .

GW装置2−Bからこの「ReadProperty」のFPメッセージ(サービス・メッセージ)を受信したSC装置3−Baは、FPメッセージに収容されているオブジェクトに対し、「ReadProperty」を実行し、その実行結果を取得する(C16)。そして、SC装置3−Baは、「ReadProperty」のFPメッセージに対する返信として「ComplexAck」のFPメッセージを生成し、ローカルシステム1−B内に送信する(C17)。   The SC device 3-Ba that has received this “ReadProperty” FP message (service message) from the GW device 2-B executes “ReadProperty” on the object accommodated in the FP message, and displays the execution result. Obtain (C16). Then, the SC device 3-Ba generates an FP message of “ComplexAck” as a reply to the FP message of “ReadProperty”, and transmits it to the local system 1-B (C17).

GW装置2−Bは、「ComplexAck」のFPメッセージに対応するFPOb−COb変換マップを検索し、検索したFPOb−COb変換マップから共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を取得する。また、GW装置2−Bは、共通オブジェクト送信テーブル60から送信先のGW装置2の通信アドレスを検索して取得する。そして、GW装置2−Bは、送信元のGW装置2における通信アドレスとして当該GW装置2−BのIPアドレスである「200.0.0.2」を収容し、送信先のGW装置2−Aにおける通信アドレスとしてIPアドレス「200.0.0.1」を収容し、共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を収容し、実行結果を収容する共通メッセージを生成する。   The GW apparatus 2-B searches the FPOb-COb conversion map corresponding to the FP message “ComplexAck”, and acquires common object specifying information (common object interface identifier) from the searched FPOb-COb conversion map. Further, the GW apparatus 2-B searches and acquires the communication address of the transmission destination GW apparatus 2 from the common object transmission table 60. Then, the GW apparatus 2-B accommodates “200.0.0.2” that is the IP address of the GW apparatus 2-B as a communication address in the transmission source GW apparatus 2, and the transmission destination GW apparatus 2- An IP address “200.0.0.1” is accommodated as a communication address in A, common object specifying information (common object interface identifier) is accommodated, and a common message accommodating an execution result is generated.

GW装置2−Bは、共通メッセージが生成されると、共通メッセージを送信先のGW装置2−Aに送信する(C19)。   When the common message is generated, the GW apparatus 2-B transmits the common message to the transmission destination GW apparatus 2-A (C19).

GW装置2−Bからこの共通メッセージを受信したGW装置2−Aは、図7に示す処理S31乃至処理S39を実行する(C20)。この処理の実行により、GW装置2−Aは、共通メッセージに収容される共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)に対応するFPOb−COb変換マップを検索し、検索したFPOb−COb変換マップからFPオブジェクト特定情報(オブジェクト識別子及びプロパティ名)を取得する。また、GW装置2−Aは、FPオブジェクト送信テーブル70から送信先のSC装置3−Aaの通信アドレスを検索して取得する。そして、GW装置2−Aは、「ComplexAck」のFPメッセージ(サービス・メッセージ)を生成し、ローカルシステム1−A内のSC装置3−Aaにこの「ComplexAck」のFPメッセージを送信する(C21)。   The GW apparatus 2-A that has received this common message from the GW apparatus 2-B executes the processes S31 to S39 shown in FIG. 7 (C20). By executing this processing, the GW apparatus 2-A searches for the FPOb-COb conversion map corresponding to the common object specifying information (common object interface identifier) contained in the common message, and then selects the FP from the searched FPOb-COb conversion map. Get object identification information (object identifier and property name). Further, the GW apparatus 2-A searches and acquires the communication address of the SC apparatus 3-Aa as the transmission destination from the FP object transmission table 70. Then, the GW apparatus 2-A generates an FP message (service message) of “ComplexAck” and transmits the FP message of “ComplexAck” to the SC apparatus 3-Aa in the local system 1-A (C21). .

このようにGW装置2−A及びGW装置2−Bがそれぞれ動作することによって、ローカルシステム1−A内のSC装置3−Aa(HIM)は、ローカルシステム1−B内のSC装置3−Ba(Icont)があたかもローカルシステム1−A内のSC装置3であるかのように認識され、ローカルシステム1−A内のSC装置3−Aa(HIM)は、ローカルシステム1−B内の装置3−Ba(Icont)からサービスを受けることができる。即ち、GW装置2−A及びGW装置2−Bによってローカルシステム1−A及びローカルシステム1−Bは、広域システム化される。   As the GW device 2-A and the GW device 2-B operate as described above, the SC device 3-Aa (HIM) in the local system 1-A becomes the SC device 3-Ba in the local system 1-B. (Icont) is recognized as if it were the SC device 3 in the local system 1-A, and the SC device 3-Aa (HIM) in the local system 1-A is recognized as the device 3 in the local system 1-B. -Service can be received from Ba (Icont). That is, the local system 1-A and the local system 1-B are made into wide area systems by the GW apparatus 2-A and the GW apparatus 2-B.

なお、上述では、対応可能なフィールドプロトコルの個数が2個の場合について説明したが、2個に限定するものではなく任意の個数でよい。GW装置2は、対応可能なフィールドプロトコルの個数に応じて、FP通信IF部16並びに中央処理部12におけるFP用通知部33、FP用受付部38及びFP準拠APプロトコルスタック部24が複数個用意され、FPOb−COb変換マップが構成される。   In the above description, the case where the number of field protocols that can be handled is two has been described. However, the number of field protocols is not limited to two, and may be any number. The GW apparatus 2 has a plurality of FP communication IF units 16, a FP notification unit 33 in the central processing unit 12, a FP reception unit 38, and a FP-compliant AP protocol stack unit 24 according to the number of field protocols that can be supported. Thus, an FPOb-COb conversion map is constructed.

次に、別の実施形態について説明する。
(第2の実施形態の構成)
第2の実施形態に係るGW装置は、第1の実施形態にかかるGW装置2にさらに、当該GW装置のローカルシステム1内におけるSC装置3が自発的に発報したイベントを他のローカルシステム1に通知すると共に他のローカルシステム1内におけるSC装置3が自発的に発報したイベントを当該GW装置201のローカルシステム1におけるSC装置3に通知する機能を追加したものである。
Next, another embodiment will be described.
(Configuration of Second Embodiment)
In the GW apparatus according to the second embodiment, in addition to the GW apparatus 2 according to the first embodiment, an event that the SC apparatus 3 in the local system 1 of the GW apparatus spontaneously issues is notified to another local system 1. And a function of notifying the SC device 3 in the local system 1 of the GW device 201 of the event that the SC device 3 in the other local system 1 voluntarily reports.

図9は、第2の実施形態のGW装置における中央処理部の構成を示す図である。第2の実施形態にかかるGW装置(符号を「201」とする。)は、通信IF部11と、図9に示す中央処理部202と、第1記憶部13と、第2記憶部14と、第3記憶部15と、FP通信IF部16と、シリアルコンソール部17とバス18を備えて構成される。即ち、第2の実施形態に係るGW装置201は、第1の実施形態のGW装置2における中央処理部12の代わりに中央処理部202を用いることを除き、第1の実施形態のGW装置2と同様の構成であるので、通信IF部11、第1乃至第3記憶部13、14、15、FP通信IF部16、シリアルコンソール部17及びバス18の説明を省略する。   FIG. 9 is a diagram illustrating a configuration of the central processing unit in the GW apparatus according to the second embodiment. The GW apparatus according to the second embodiment (reference numeral “201”) includes a communication IF unit 11, a central processing unit 202 illustrated in FIG. 9, a first storage unit 13, and a second storage unit 14. The third storage unit 15, the FP communication IF unit 16, the serial console unit 17, and the bus 18. That is, the GW apparatus 201 according to the second embodiment uses the central processing unit 202 instead of the central processing unit 12 in the GW apparatus 2 according to the first embodiment, and the GW apparatus 2 according to the first embodiment. Therefore, the description of the communication IF unit 11, the first to third storage units 13, 14, 15, the FP communication IF unit 16, the serial console unit 17, and the bus 18 is omitted.

図9において、中央処理部202は、例えば、マイクロプロセッサやその周辺回路等で構成され、機能的に、IP準拠APプロトコルスタック部211と、イベント送信部212と、イベント受信部213と、オブジェクト逆変換部22と、オブジェクト変換部23と、FP準拠APプロトコルスタック部214(214−a、214−b)とを備えると共に、各制御プログラムに従い通信IF部11、第1乃至第3記憶部13、14、15、FP通信IF部16及びシリアルコンソール部17を制御する。即ち、第2の実施形態に係る中央処理部202は、第1の実施形態に係る中央処理部12に機能的にイベント送信部212及びイベント受信部213が追加されたものである。このため、これらオブジェクト逆変換部22及びオブジェクト変換部23は、第1の実施形態と同様であるので、その説明を省略する。   In FIG. 9, the central processing unit 202 includes, for example, a microprocessor and its peripheral circuits, and functionally, an IP-compliant AP protocol stack unit 211, an event transmission unit 212, an event reception unit 213, and an object inverse unit A conversion unit 22, an object conversion unit 23, and an FP-compliant AP protocol stack unit 214 (214-a, 214-b) are provided, and the communication IF unit 11, the first to third storage units 13, according to each control program, 14, 15, FP communication IF unit 16 and serial console unit 17 are controlled. That is, the central processing unit 202 according to the second embodiment is obtained by functionally adding an event transmission unit 212 and an event reception unit 213 to the central processing unit 12 according to the first embodiment. For this reason, since the object reverse conversion unit 22 and the object conversion unit 23 are the same as those in the first embodiment, the description thereof is omitted.

イベント送信部212は、当該GW装置201のローカルシステム1内におけるSC装置3が発行したイベントを監視し、イベントが検出されると他のローカルシステム1のGW装置201に送信するものである。イベント送信部212は、FP準拠APプロトコルスタック部214が受信したFPメッセージの通知を受け、通知されたFPメッセージの中からイベントのFPメッセージを検出する自ローカルシステム内イベント監視部222と、自ローカルシステム内イベント監視部222が検出したイベントのFPメッセージを他のローカルシステム1のGW装置201に送信すべくIP準拠APプロトコルスタック部211に通知する自ローカルシステム内イベント送信制御部221とを備えて構成される。   The event transmission unit 212 monitors an event issued by the SC device 3 in the local system 1 of the GW device 201 and transmits the event to the GW device 201 of another local system 1 when the event is detected. The event transmitting unit 212 receives the notification of the FP message received by the FP-compliant AP protocol stack unit 214, and detects the FP message of the event from the notified FP message. A local-system event transmission control unit 221 that notifies the IP-compliant AP protocol stack unit 211 to transmit the FP message of the event detected by the intra-system event monitoring unit 222 to the GW device 201 of another local system 1. Composed.

イベント受信部213は、他のローカルシステム1内におけるSC装置3が発行したイベントを監視し、イベントが検出されると当該GW装置201のローカルシステム1に送信するものである。イベント受信部213は、IP準拠APプロトコルスタック部211が受信した共通メッセージの通知を受け、通知された共通メッセージの中からイベントの共通メッセージを検出する他ローカルシステム内イベント監視部223と、他ローカルシステム内イベント監視部223が検出したイベントの共通メッセージを当該GW装置201のローカルシステム1に送信すべくFP準拠APプロトコルスタック部214に通知する他ローカルシステム内イベント送信制御部224とを備えて構成される。   The event reception unit 213 monitors an event issued by the SC device 3 in another local system 1 and transmits the event to the local system 1 of the GW device 201 when an event is detected. The event receiving unit 213 receives the notification of the common message received by the IP-compliant AP protocol stack unit 211, detects the common message of the event from the notified common message, the other local system event monitoring unit 223, and the other local A local message transmission control unit 224 configured to notify the FP-compliant AP protocol stack unit 214 to transmit a common message of the event detected by the in-system event monitoring unit 223 to the local system 1 of the GW apparatus 201. Is done.

IP準拠APプロトコルスタック部211は、イベント送信部212から他のローカルシステム1のGW装置201に送信するイベントの共通メッセージを受付けると共に、他のローカルシステム1のGW装置201からの共通メッセージをイベント受信部213にも通知する点を除き、第1の実施形態におけるIP準拠APプロトコルスタック部21と同様であるので、その説明を省略する。   The IP-compliant AP protocol stack unit 211 receives a common message of an event transmitted from the event transmission unit 212 to the GW device 201 of another local system 1 and receives the common message from the GW device 201 of the other local system 1 as an event. Since it is the same as the IP compliant AP protocol stack unit 21 in the first embodiment except that it also notifies the unit 213, the description thereof is omitted.

FP準拠APプロトコルスタック部214は、イベント受信部213からローカルシステム1内のSC装置3に送信するイベントのFPメッセージを受付けると共に、ローカルシステム1内のSC装置3から受信したFPメッセージをイベント送信部212にも通知する点を除き、第1の実施形態におけるFP準拠APプロトコルスタック部24と同様であるので、その説明を省略する。   The FP-compliant AP protocol stack unit 214 receives an FP message of an event to be transmitted from the event reception unit 213 to the SC device 3 in the local system 1 and receives an FP message received from the SC device 3 in the local system 1 as an event transmission unit. Since it is the same as the FP-compliant AP protocol stack unit 24 in the first embodiment except that it is also notified to 212, the description thereof is omitted.

次に、第2の実施形態におけるGW装置201の動作について説明する。
(第2の実施形態の動作)
FP準拠APプロトコルスタック部214は、FPメッセージを受信すると、イベント送信部212にも通知する。この通知を受けると、イベント送信部212は、自ローカルシステム内イベント監視部222を用いて、通知されたFPメッセージの中からイベントのFPメッセージを検出する。イベントのFPメッセージを検出すると、イベント送信部212は、このイベントのFPメッセージをオブジェクト逆変換部22に通知し、共通メッセージに変換させる。共通メッセージに変換されると、イベント送信部212は、自ローカルシステム内イベント送信制御部221を用いて、イベントの共通メッセージを他のローカルシステム1のGW装置201に送信すべくIP準拠APプロトコルスタック部211に通知する。
Next, the operation of the GW apparatus 201 in the second embodiment will be described.
(Operation of Second Embodiment)
When receiving the FP message, the FP-compliant AP protocol stack unit 214 also notifies the event transmission unit 212. Upon receiving this notification, the event transmitting unit 212 uses the local local system event monitoring unit 222 to detect the FP message of the event from the notified FP message. When the event FP message is detected, the event transmission unit 212 notifies the object reverse conversion unit 22 of the event FP message and converts it into a common message. When converted to the common message, the event transmission unit 212 uses the local local system event transmission control unit 221 to transmit the event common message to the GW device 201 of the other local system 1 in accordance with the IP compliant AP protocol stack. Notification to the unit 211.

一方、IP準拠APプロトコルスタック部211は、共通メッセージを受信すると、イベント受信部213にも通知する。この通知を受けると、イベント受信部213は、他ローカルシステム内イベント監視部223を用いて、通知された共通メッセージの中からイベントの共通メッセージを検出する。イベントの共通メッセージを検出すると、イベント受信部213は、他ローカルシステム内イベント送信制御部224を介してオブジェクト変換部23に通知する。オブジェクト変換部23は、このイベントの共通メッセージをイベントのFPメッセージに変換し、変換したイベントのFPメッセージをFP準拠APプロトコルスタック部214を介してローカルシステム1内に送信する。   On the other hand, when receiving the common message, the IP-compliant AP protocol stack unit 211 also notifies the event reception unit 213. Upon receiving this notification, the event reception unit 213 uses the other local system event monitoring unit 223 to detect a common message of the event from the notified common message. When the event common message is detected, the event reception unit 213 notifies the object conversion unit 23 via the other local system event transmission control unit 224. The object conversion unit 23 converts the common message of the event into an FP message of the event, and transmits the converted FP message of the event into the local system 1 via the FP-compliant AP protocol stack unit 214.

このように動作するので、第2の実施形態に係るGW装置201は、ローカルシステム1内のSC装置3に生じたイベントを他のローカルシステム1内のSC装置3にも通知することができ、また、他のローカルシステム1内のSC装置3が発報したイベントを当該ローカルシステム1内のSC装置3に通知することができる。   Since it operates in this way, the GW apparatus 201 according to the second embodiment can notify an event that has occurred in the SC apparatus 3 in the local system 1 to the SC apparatuses 3 in other local systems 1, Further, the event issued by the SC device 3 in another local system 1 can be notified to the SC device 3 in the local system 1.

ここで、上述の第2の実施形態に係るGW装置201は、当該GW装置201のローカルシステム1内におけるSC装置3がイベントのFPメッセージを発報すると無差別に他のローカルシステム1のGW装置201に送信し、他のローカルシステム1のGW装置201からイベントの共通メッセージを受信すると無差別にイベントのFPメッセージを当該GW装置201のローカルシステム1に送信したが、当該GW装置201のローカルシステム1内におけるSC装置3が発行したイベントのFPメッセージをイベントの種類に応じて選択的に他のローカルシステム1のGW装置201に送信するように構成してもよい。あるいは、上述の第2の実施形態に係るGW装置201は、他のローカルシステム1のGW装置201から受信したイベントの共通メッセージをイベントの種類及び送信したGW装置201に応じて選択的に当該GW装置201のローカルシステム1におけるSC装置3に送信するように構成してもよい。   Here, the GW device 201 according to the second embodiment described above indiscriminately when the SC device 3 in the local system 1 of the GW device 201 issues an FP message of an event, indiscriminately. When the event common message is received from the GW device 201 of the other local system 1 and the FP message of the event is indiscriminately transmitted to the local system 1 of the GW device 201, the local system of the GW device 201 The FP message of the event issued by the SC device 3 in 1 may be selectively transmitted to the GW device 201 of another local system 1 according to the event type. Alternatively, the GW apparatus 201 according to the second embodiment described above selectively receives a common message of an event received from the GW apparatus 201 of another local system 1 according to the type of event and the transmitted GW apparatus 201. You may comprise so that it may transmit to SC apparatus 3 in the local system 1 of the apparatus 201. FIG.

図10は、イベント送信先購読情報データベースの構成を示す図である。図11は、イベント購読要求情報を示す図である。図12は、イベント送信元購読情報データベースの構成を示す図である。   FIG. 10 is a diagram showing the configuration of the event transmission destination subscription information database. FIG. 11 is a diagram showing event subscription request information. FIG. 12 is a diagram showing the configuration of the event transmission source subscription information database.

この場合において、例えば図10に示すように、共通オブジェクト特定情報(例えば、共通オブジェクトインターフェース識別子)と、イベントの種類と、当該イベントの送信先であるGW装置201(例えば、GW装置201のIPアドレス)とを対応付けて登録するイベント送信先購読情報データベース(以下、「イベント送信先購読情報DB」と略記する。)を第3記憶部15にさらに記憶させる。そして、自ローカルシステム内イベント送信制御部221は、イベントの共通メッセージを送信する際に、イベント送信先購読情報DBを参照し、イベントの共通メッセージにおける共通オブジェクト特定情報に対応する送信先のGW装置201を検索する。そして、検索した送信先のGW装置201に送信すべくIP準拠APプロトコルスタック部211に通知する。もちろん、自ローカルシステム内イベント送信制御部221は、イベント送信先購読情報DBを参照した結果、イベントの共通メッセージにおける共通オブジェクト特定情報に対応する送信先のGW装置201がない場合には、このメッセージを破棄する。このように動作することによって、当該GW装置201のローカルシステム1内におけるSC装置3が発行したイベントのFPメッセージは、選択的に他のローカルシステムのGW装置201に送信される。このため、イベントの種類に応じて送信する必要のあるGW装置201のみに送信されるから、インターネット5の通信トラフィックやローカルシステム1の通信トラフィックを軽減することができる。また、受信側のGW装置201において、必要のないイベントのFPメッセージを受信しないで済むので、選択されなかった他のローカルシステム1におけるGW装置201は、その情報処理の負荷が軽減される。   In this case, for example, as shown in FIG. 10, the common object specifying information (for example, common object interface identifier), the type of event, and the GW device 201 that is the transmission destination of the event (for example, the IP address of the GW device 201) ) Are registered in association with each other, and the third storage unit 15 further stores an event transmission destination subscription information database (hereinafter abbreviated as “event transmission destination subscription information DB”). Then, the local local system event transmission control unit 221 refers to the event transmission destination subscription information DB when transmitting the event common message, and the transmission destination GW device corresponding to the common object specifying information in the event common message 201 is searched. Then, the IP compliant AP protocol stack unit 211 is notified to transmit to the searched GW apparatus 201 of the destination. Of course, if the event transmission control unit 221 in its own local system refers to the event transmission destination subscription information DB and there is no transmission destination GW device 201 corresponding to the common object specifying information in the common message of the event, this message Is discarded. By operating in this way, the FP message of the event issued by the SC device 3 in the local system 1 of the GW device 201 is selectively transmitted to the GW device 201 of another local system. For this reason, since it transmits only to the GW apparatus 201 which needs to transmit according to the kind of event, the communication traffic of the internet 5 and the communication traffic of the local system 1 can be reduced. In addition, since it is not necessary for the receiving side GW apparatus 201 to receive an FP message of an unnecessary event, the information processing load of the GW apparatus 201 in the other local system 1 that has not been selected is reduced.

なお、このようなイベント送信先購読情報DBは、施工時にゲートウェイ装置201の第3記憶部15に記憶させるようにしてもよいが(スタティック)、他のゲートウェイ装置201が購読(受信)を希望するイベントに係る情報、例えば、図11に示すイベント購読要求情報をイベント購読要求情報送信部(不図示)によって当該GW装置201に送信し、当該GW装置201がこの受信したイベント購読要求情報に基づいてイベント送信先購読情報DBをイベント送信先購読情報DB作成部(不図示)によって構築してもよい。図11に示すイベント購読要求情報は、共通オブジェクト特定情報(例えば、共通オブジェクトインタフェース識別子)と、イベントの種類と、当該イベントの送信を希望するGW装置201(例えば、GW装置201のIPアドレス)とが対応付けられている情報である。このように構成することによって、広域システムに新たなローカルシステム1が追加された場合にも自動的に対応することができる。   Such an event transmission destination subscription information DB may be stored in the third storage unit 15 of the gateway device 201 at the time of construction (static), but other gateway devices 201 desire to subscribe (receive). Information related to the event, for example, event subscription request information shown in FIG. 11 is transmitted to the GW apparatus 201 by an event subscription request information transmitting unit (not shown), and the GW apparatus 201 is based on the received event subscription request information. The event transmission destination subscription information DB may be constructed by an event transmission destination subscription information DB creation unit (not shown). The event subscription request information shown in FIG. 11 includes common object specifying information (for example, a common object interface identifier), an event type, a GW device 201 that desires to transmit the event (for example, an IP address of the GW device 201), and the like. Is associated information. With this configuration, it is possible to automatically cope with a case where a new local system 1 is added to the wide area system.

一方、上述の第2の実施形態におけるGW装置201は、他のローカルシステム1のGW装置201から受信したイベントのFPメッセージをイベントの種類及び送信したGW装置201に応じて選択的に当該GW装置201のローカルシステム1に送信するように構成してもよい。   On the other hand, the GW apparatus 201 in the second embodiment described above selectively selects the FP message of the event received from the GW apparatus 201 of the other local system 1 according to the type of event and the transmitted GW apparatus 201. It may be configured to transmit to the 201 local system 1.

この場合において、例えば図12に示すように、共通オブジェクト特定情報(例えば、共通オブジェクトインタフェース識別子)と、イベントの種類と、当該イベントの送信元であるGW装置201(例えば、GW装置201のIPアドレス)と、当該GW装置201のローカルシステム1内に送信するか否かを示す送信フラグとを対応付けて登録するイベント送信元購読情報データベース(以下、「イベント送信元購読情報DB」と略記する。)を第3記憶部15にさらに記憶させる。そして、他ローカルシステム内イベント送信制御部224は、他ローカルシステム内イベント監視部223からイベントの共通メッセージが通知されると、イベント送信元購読情報DBを参照し、通知されたイベントの共通メッセージにおける共通オブジェクト特定情報と送信元のGW装置201とに対応する送信フラグを検索する。検索した送信フラグが送信を示す場合には、他ローカルシステム内イベント送信制御部224は、当該GW装置201のローカルシステム1に送信すべくFP準拠APプロトコルスタック部214に通知する。検索した送信フラグが非送信を示す場合には、他ローカルシステム内イベント送信制御部224は、このメッセージを破棄する。このように動作することによって、他のローカルシステム1内におけるSC装置3が発行したイベントのFPメッセージは、選択的に当該GW装置201のローカルシステム1に送信される。このため、イベントの共通メッセージを送信したGW装置201とイベントの種類とに応じて送信する必要のあるイベントのFPメッセージのみ送信されるから、ローカルシステム1の通信トラフィックを軽減することができる。   In this case, for example, as shown in FIG. 12, the common object specifying information (for example, common object interface identifier), the type of event, and the GW device 201 that is the transmission source of the event (for example, the IP address of the GW device 201) ) And an event transmission source subscription information database (hereinafter referred to as “event transmission source subscription information DB”) registered in association with a transmission flag indicating whether or not transmission is performed within the local system 1 of the GW apparatus 201. ) Is further stored in the third storage unit 15. Then, when the event transmission control unit 224 in the other local system is notified of the common message of the event from the event monitoring unit 223 in the other local system, the event transmission control unit 224 refers to the event transmission source subscription information DB, and in the common message of the notified event. A transmission flag corresponding to the common object specifying information and the transmission source GW apparatus 201 is searched. When the searched transmission flag indicates transmission, the other local system event transmission control unit 224 notifies the FP-compliant AP protocol stack unit 214 to transmit to the local system 1 of the GW apparatus 201. When the searched transmission flag indicates non-transmission, the other local system event transmission control unit 224 discards this message. By operating in this way, an FP message of an event issued by the SC device 3 in another local system 1 is selectively transmitted to the local system 1 of the GW device 201. For this reason, only the FP message of the event that needs to be transmitted according to the GW apparatus 201 that transmitted the common message of the event and the type of the event is transmitted, so that the communication traffic of the local system 1 can be reduced.

次に、別の実施形態について説明する。
(第3の実施形態の構成)
第3の実施形態にかかるGW装置は、第1の実施形態にかかるGW装置2にさらに、共通オブジェクトが追加された場合に広域システム内における他のGW装置にこの追加された共通オブジェクトを通知する機能を追加したものである。
Next, another embodiment will be described.
(Configuration of Third Embodiment)
When a common object is further added to the GW apparatus 2 according to the first embodiment, the GW apparatus according to the third embodiment notifies the added common object to other GW apparatuses in the wide area system. A function is added.

図13は、第3の実施形態のGW装置における中央処理部の構成を示す図である。第3の実施形態にかかるGW装置(符号を「301」とする。)は、通信IF部11と、図13に示す中央処理部302と、第1記憶部13と、第2記憶部14と、第3記憶部15と、FP通信IF部16と、シリアルコンソール部17とバス18を備えて構成される。即ち、第3の実施形態にかかるGW装置301は、第1の実施形態のGW装置2における中央処理部12の代わりに中央処理部302を用いることを除き、第1の実施形態のGW装置2と同様の構成であるので、通信IF部11、第1乃至第3記憶部13、14、15、FP通信IF部16、シリアルコンソール部17及びバス18の説明を省略する。なお、第3記憶部15のFPOb−COb変換マップ記憶部41には、追加される共通オブジェクトのインターフェースとFPオブジェクトのプロパティとの対応関係を示すFPOb−COb変換マップが予め記憶されているものとする。   FIG. 13 is a diagram illustrating a configuration of a central processing unit in the GW apparatus according to the third embodiment. The GW apparatus according to the third embodiment (reference numeral “301”) includes a communication IF unit 11, a central processing unit 302, a first storage unit 13, and a second storage unit 14 illustrated in FIG. The third storage unit 15, the FP communication IF unit 16, the serial console unit 17, and the bus 18. That is, the GW apparatus 301 according to the third embodiment uses the central processing unit 302 instead of the central processing unit 12 in the GW apparatus 2 according to the first embodiment, and the GW apparatus 2 according to the first embodiment. Therefore, the description of the communication IF unit 11, the first to third storage units 13, 14, 15, the FP communication IF unit 16, the serial console unit 17, and the bus 18 is omitted. The FPOb-COb conversion map storage unit 41 of the third storage unit 15 stores in advance an FPOb-COb conversion map indicating the correspondence between the interface of the added common object and the properties of the FP object. To do.

図13において、中央処理部302は、例えば、マイクロプロセッサやその周辺回路等で構成され、機能的に、IP準拠APプロトコルスタック部311と、共通オブジェクト広告部312と、共通オブジェクト情報取得部313と、オブジェクト逆変換部22と、オブジェクト変換部23と、FP準拠APプロトコルスタック部24とを備えると共に、各制御プログラムに従い通信IF部11、第1乃至第3記憶部13、14、15、FP通信IF部16及びシリアルコンソール部17を制御する。即ち、第3の実施形態に係る中央処理部302は、第1の実施形態に係る中央処理部12に機能的に共通オブジェクト広告部312及び共通オブジェクト情報取得部313が追加されたものである。このため、これらオブジェクト逆変換部22、オブジェクト変換部23及びFP準拠APプロトコルスタック部24は、第1の実施形態と同様であるので、その説明を省略する。   In FIG. 13, the central processing unit 302 includes, for example, a microprocessor and its peripheral circuits, and functionally includes an IP-compliant AP protocol stack unit 311, a common object advertisement unit 312, a common object information acquisition unit 313, and the like. , An object reverse conversion unit 22, an object conversion unit 23, and an FP-compliant AP protocol stack unit 24, and a communication IF unit 11, first to third storage units 13, 14, 15 and FP communication according to each control program The IF unit 16 and the serial console unit 17 are controlled. That is, the central processing unit 302 according to the third embodiment is obtained by functionally adding a common object advertisement unit 312 and a common object information acquisition unit 313 to the central processing unit 12 according to the first embodiment. For this reason, the object reverse conversion unit 22, the object conversion unit 23, and the FP-compliant AP protocol stack unit 24 are the same as those in the first embodiment, and thus description thereof is omitted.

共通オブジェクト広告部312は、当該GW装置301において、共通オブジェクトが追加された場合に、この追加された共通オブジェクトが使用可能である旨の通知情報とこの追加された共通オブジェクトに対応する共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)とを広域システム内の他のGW装置301に広告するものである。   When the common object is added in the GW device 301, the common object advertisement unit 312 notifies the information indicating that the added common object is usable, and specifies the common object corresponding to the added common object. The information (common object interface identifier) is advertised to other GW devices 301 in the wide area system.

共通オブジェクト情報取得部313は、広域システム内の他のGW装置301から通知情報と共通オブジェクト特定情報とを取得した場合に、追加された共通オブジェクトを使用可能にすべく、受け取った情報からオブジェクトの生成を行い、取得した共通オブジェクト特定情報に基づいて共通オブジェクト送信テーブルを生成し、第3記憶部15における共通オブジェクト送信テーブル記憶部42に記憶するものである。ここで、受け取る情報は、オブジェクトを構成する複数の共通オブジェクトインタフェース識別子、及び、既に静的又は動的に持っている共通オブジェクトインタフェース識別子の構成情報であり、オブジェクトは、使用されているプロパティに応じて作成される。例えば、共通オブジェクトインタフェース識別子a1で特定されるインタフェースIFa1にはゲット関数のプロパティPa11及びイベントのプロパティPa12で構成され、共通オブジェクトインタフェース識別子a2で特定されるインタフェースIFa2にはゲット関数のプロパティPa21及びイベントのプロパティPa22で構成されているとし、共通オブジェクトインタフェース識別子として、a1、a2を受け取ると、インタフェースIFa1とインタフェースIFa2とから構成されるオブジェクトObAが生成される。   When the common object information acquisition unit 313 acquires the notification information and the common object specifying information from the other GW apparatuses 301 in the wide area system, the common object information acquisition unit 313 uses the information received from the received information so that the added common object can be used. The common object transmission table is generated based on the acquired common object specifying information and stored in the common object transmission table storage unit 42 in the third storage unit 15. Here, the received information is a plurality of common object interface identifiers constituting the object, and configuration information of common object interface identifiers already statically or dynamically possessed, and the object depends on the property being used. Created. For example, the interface IFa1 specified by the common object interface identifier a1 includes a get function property Pa11 and an event property Pa12, and the interface IFa2 specified by the common object interface identifier a2 includes a get function property Pa21 and an event property. When it is assumed that the property Pa22 is configured and a1 and a2 are received as common object interface identifiers, an object ObA composed of the interface IFa1 and the interface IFa2 is generated.

IP準拠APプロトコルスタック部311は、共通オブジェクト広告部312から他のローカルシステム1のGW装置301に送信する通知情報と共通オブジェクト特定情報とを受付けると共に、他のローカルシステム1のGW装置301からの通知情報と共通オブジェクト特定情報とを共通オブジェクト情報取得部313にも通知する点を除き、第1の実施形態におけるIP準拠APプロトコルスタック部21と同様であるので、その説明を省略する。   The IP-compliant AP protocol stack unit 311 receives the notification information and the common object specifying information transmitted from the common object advertisement unit 312 to the GW device 301 of the other local system 1, and receives the notification information from the GW device 301 of the other local system 1. Except for notifying the common object information acquisition unit 313 of the notification information and the common object specifying information, it is the same as the IP-compliant AP protocol stack unit 21 in the first embodiment, and thus the description thereof is omitted.

次に、第3の実施形態におけるGW装置201の動作について説明する。
(第3の実施形態の動作)
共通オブジェクト広告部312がGW装置の新しいオブジェクトの生成と同時にセッションが張られている(通信のできる状態にある)他方のGW装置の共通オブジェクト情報取得部へ通知されるので、これによって共通オブジェクトの追加を検知すると、広域システム内におけるセッションを確立している他のGW装置301にこの追加された共通オブジェクトが使用可能である旨の通知情報とこの追加された共通オブジェクトに対応する共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)を含むメッセージ(共通オブジェクト広告メッセージ)を送信する。
Next, the operation of the GW apparatus 201 in the third embodiment will be described.
(Operation of Third Embodiment)
The common object advertisement unit 312 is notified to the common object information acquisition unit of the other GW device in which a session is established (communication is possible) simultaneously with the generation of the new object of the GW device. When the addition is detected, notification information indicating that the added common object can be used by another GW apparatus 301 that has established a session in the wide area system, and common object specifying information corresponding to the added common object A message (common object advertisement message) including (common object interface identifier) is transmitted.

一方、IP準拠APプロトコルスタック部311は、共通オブジェクト広告メッセージを受信すると、共通オブジェクト情報取得部313に通知する。この通知を受けると、共通オブジェクト情報取得部313は、共通オブジェクト広告メッセージから通知情報と共通オブジェクト特定情報を取り出し、この共通オブジェクト特定情報に基づいてFPOb−COb変換マップを検索し、この共通オブジェクト特定情報に対応するFPオブジェクト特定情報を取得する。そして、共通オブジェクト情報取得部313は、当該GW装置2のローカルシステム1内におけるSC装置3の通信アドレス、共通オブジェクト広告メッセージの送信元のGW装置2における通信アドレス及びこのFPオブジェクト特定情報に基づいて共通オブジェクト送信テーブル60を生成し、共通オブジェクト送信テーブル記憶部42に記憶する。   On the other hand, when receiving the common object advertisement message, the IP-compliant AP protocol stack unit 311 notifies the common object information acquisition unit 313 of the common object advertisement message. Upon receiving this notification, the common object information acquisition unit 313 extracts the notification information and the common object specifying information from the common object advertisement message, searches the FPOb-COb conversion map based on the common object specifying information, and specifies the common object specifying. FP object specifying information corresponding to the information is acquired. Then, the common object information acquisition unit 313 is based on the communication address of the SC device 3 in the local system 1 of the GW device 2, the communication address of the GW device 2 that is the transmission source of the common object advertisement message, and the FP object specifying information. A common object transmission table 60 is generated and stored in the common object transmission table storage unit 42.

このように動作することによって、広域システム内における1個のGW装置301に共通オブジェクトを追加されると、広域システム内における他のGW装置301は、この追加された共通オブジェクトを自動的に認識することができ、そして、この追加された共通オブジェクトに対応する共通オブジェクト送信テーブルが生成され、共通オブジェクト送信テーブル記憶部42に記憶されるから、この追加された共通オブジェクトを利用することができる。   By operating in this way, when a common object is added to one GW device 301 in the wide area system, the other GW devices 301 in the wide area system automatically recognize this added common object. Since the common object transmission table corresponding to the added common object is generated and stored in the common object transmission table storage unit 42, the added common object can be used.

ここで、上述では、共通オブジェクトが追加されたことをトリガに追加された共通オブジェクト特定情報を共通オブジェクト広告部312が広域システム内に広告したが、新たなセッションを確立したGW装置301があった場合に、この旨をIP準拠APプロトコルスタック部311から受け、この新たにセッションを確立したGW装置301に共通オブジェクト特定情報を送信するようにしてもよい。このように構成することによって広域システムに新規に加わったGW装置301は、自動的に、広域システム内で利用可能な共通オブジェクトを認識することができる。   Here, in the above description, the common object advertisement unit 312 advertises the common object specifying information added in response to the addition of the common object in the wide area system, but there is the GW device 301 that has established a new session. In this case, the fact may be received from the IP-compliant AP protocol stack unit 311 and the common object specifying information may be transmitted to the GW device 301 that has newly established a session. With this configuration, the GW apparatus 301 newly added to the wide area system can automatically recognize common objects that can be used in the wide area system.

また、FPOb−COb変換マップを管理するHTTPサーバをGW装置301に設け、新たにセッションを確立したGW装置301に共通オブジェクト特定情報を送信するようにしてもよい。さらにまた、CGI(Common Gateway Interface)プログラムをGW装置301に組み込むことによって、インターネット5に通信可能に接続されたウェブブラウザを備えた端末装置がFPOb−COb変換マップや共通オブジェクト送信テーブルやFPオブジェクト送信テーブルを修正することができるように構成してもよい。   Further, an HTTP server that manages the FPOb-COb conversion map may be provided in the GW apparatus 301, and the common object specifying information may be transmitted to the GW apparatus 301 that has newly established a session. Furthermore, by incorporating a CGI (Common Gateway Interface) program in the GW apparatus 301, a terminal apparatus having a web browser connected to the Internet 5 so as to be communicable can transmit an FPOb-COb conversion map, a common object transmission table, and an FP object transmission. You may comprise so that a table can be corrected.

さらに、上述の第3の実施形態において、図13に破線で示すように、当該GW装置301のローカルシステム1内におけるSC装置3の生存状態を監視してSC装置3の生存状態に応じて共通オブジェクトの生存状態(使用の可否)を管理する自ローカルシステム内SC装置状態監視部314をさらに備えてもよい。   Furthermore, in the above-described third embodiment, as indicated by a broken line in FIG. 13, the survival state of the SC device 3 in the local system 1 of the GW device 301 is monitored, and is shared according to the survival state of the SC device 3. The local local system SC device state monitoring unit 314 may further be provided for managing the survival state of the object (usability).

この場合において、FP準拠APプロトコルスタック部24は、所定の時間間隔でローカルシステム1内のSC装置3に対してその生存を確認し、その結果を自ローカルシステム内SC装置状態監視部314に通知する。例えば、フィールドプロトコルにBACnetを採用している場合には、FP準拠APプロトコルスタック部24は、ローカルシステム1内の各SC装置3に対して“Who_is?”のサービス・メッセージを送信し、所定の時間内にその応答である“I_am”のサービス・メッセージを受信することにより、機器3の生存を確認することができる。   In this case, the FP-compliant AP protocol stack unit 24 confirms the existence of the SC device 3 in the local system 1 at a predetermined time interval and notifies the local device SC device state monitoring unit 314 of the result. To do. For example, when BACnet is adopted as the field protocol, the FP-compliant AP protocol stack unit 24 transmits a service message “Who_is?” To each SC device 3 in the local system 1 to obtain a predetermined message. By receiving the service message “I_am” as a response within the time, the existence of the device 3 can be confirmed.

図14は、自GW装置共通オブジェクト生存状態情報を示す図である。図15は、他GW装置共通オブジェクト生存状態情報を示す図である。   FIG. 14 is a diagram illustrating the own GW device common object survival state information. FIG. 15 is a diagram showing the other GW device common object survival state information.

第3記憶部15は、さらに、自GW装置仮想オブジェクト生存状態情報及び他GW装置共通オブジェクト生存状態情報を記憶する。自GW装置共通オブジェクト生存状態情報は、当該GW装置301のローカルシステム1内におけるSC装置3の生存状態に応じて共通オブジェクトの生存状態(使用の可否)を示す情報であり、例えば、図14に示すように、共通オブジェクト特定情報と、SC装置アドレスと、共通オブジェクトを使用可能か否かを示す共通オブジェクトの生存状態とを対応付けて示す情報である。他GW装置共通オブジェクト生存状態情報は、他のGW装置301のローカルシステム1内におけるSC装置3の生存状態に応じて共通オブジェクトの生存状態(使用の可否)を示す情報であり、例えば、図15に示すように、共通オブジェクト特定情報と、SC装置アドレスと、共通オブジェクトの生存状態と、GW装置アドレスとを対応付けて示す情報である。   The third storage unit 15 further stores own GW device virtual object survival state information and other GW device common object survival state information. The own GW device common object survival status information is information indicating the survival status (usability) of the common object according to the survival status of the SC device 3 in the local system 1 of the GW device 301. For example, FIG. As illustrated, the common object specifying information, the SC device address, and the survival state of the common object indicating whether the common object can be used are associated with each other. The other GW device common object survival state information is information indicating the survival state (usability) of the common object according to the survival state of the SC device 3 in the local system 1 of the other GW device 301. For example, FIG. As shown in FIG. 4, the common object specifying information, the SC device address, the survival state of the common object, and the GW device address are associated with each other.

なお、SC装置3が生存であるためこれに対応する共通オブジェクトが使用可能であることは、例えば“アクティブ”で示され、SC装置3が非生存であるためこれに対応する共通オブジェクトが使用不可であることは、例えば“スリープ”で示される。   In addition, since the SC device 3 is alive, the corresponding common object can be used is indicated by “active”, for example. For example, “sleep” is indicated.

自ローカルシステム内SC装置状態監視部314は、FP準拠APプロトコルスタック部24からローカルシステム1内におけるSC装置3の生存状態の通知を受けると、自GW装置共通オブジェクト生存状態情報において、SC装置アドレスに対応する共通オブジェクト生存状態をSC装置3の生存状態に応じて更新する。そして、自ローカルシステム内SC装置状態監視部314は、更新前後において共通オブジェクト生存状態に変化があると、自GW装置共通オブジェクト生存状態情報から、変化があった共通オブジェクト生存状態に対応するSC装置アドレスと共通オブジェクト特定情報とを取得し、共通オブジェクト広告部312を利用して、セッションが確立している他のGW装置301に共通オブジェクト生存状態、SC装置アドレス及び共通オブジェクト特定情報を含むメッセージ(共通オブジェクト生存状態情報メッセージ)を送信する。   When the local local system SC device state monitoring unit 314 receives a notification of the live state of the SC device 3 in the local system 1 from the FP-compliant AP protocol stack unit 24, the local GW device common object live state information indicates the SC device address. Is updated according to the survival state of the SC device 3. Then, if the common object survival state is changed before and after the update, the SC device state monitoring unit 314 in the local system of the local area determines from the own GW device common object survival state information that the SC device corresponding to the changed common object survival state. The address (common object identification information) is acquired, and the common object advertisement unit 312 is used to send a message including the common object survival state, the SC device address, and the common object identification information to the other GW devices 301 with which the session is established ( Common object survival status information message) is sent.

IP準拠APプロトコルスタック部311は、さらに、共通オブジェクト生存状態情報メッセージを受信すると、共通オブジェクト情報取得部313に通知する。   The IP-compliant AP protocol stack unit 311 further notifies the common object information acquisition unit 313 when receiving the common object survival state information message.

共通オブジェクト情報取得部313は、さらに、共通オブジェクト生存状態情報メッセージを受信すると、共通オブジェクト生存状態情報メッセージから、このメッセージを送信したGW装置301のGW装置アドレス、共通オブジェクト特定情報、SC装置アドレス及び共通オブジェクト生存状態を取り出し、GW装置アドレス、共通オブジェクト特定情報及びSC装置アドレスに対応する共通オブジェクト生存状態を他GW装置共通オブジェクト生存状態情報から検索し、共通オブジェクト生存状態情報メッセージから取り出した共通オブジェクト生存状態で更新する。   When the common object information acquisition unit 313 further receives the common object survival state information message, the common object information acquisition unit 313 receives, from the common object survival state information message, the GW device address of the GW device 301 that has transmitted this message, the common object specifying information, the SC device address, The common object extracted from the common object survival state information message by retrieving the common object survival state, retrieving the common object survival state corresponding to the GW device address, common object specifying information, and SC device address from the other GW device common object survival state information Update in the alive state.

このように動作することによって、GW装置301は、他のローカルシステム1内のSC装置3が非生存であるために、利用することができない共通オブジェクトを認識することができる。このため、GW装置301は、非生存(使用不可)である共通オブジェクトの共通メッセージを送信することを回避することができるので、インターネット5のトラフィックを抑制することができる。   By operating in this way, the GW apparatus 301 can recognize a common object that cannot be used because the SC apparatus 3 in the other local system 1 is non-viable. For this reason, since the GW apparatus 301 can avoid transmitting a common message of a common object that is not alive (unusable), traffic on the Internet 5 can be suppressed.

次に、別の実施形態について説明する。
(第4の実施形態の構成)
第4の実施形態にかかるGW装置は、第1の実施形態にかかるGW装置2にさらに、共通メッセージをルーティングするルーティング機能を追加したものである。
Next, another embodiment will be described.
(Configuration of Fourth Embodiment)
The GW apparatus according to the fourth embodiment is obtained by adding a routing function for routing a common message to the GW apparatus 2 according to the first embodiment.

図16は、第4の実施形態のGW装置における中央処理部の構成を示す図である。図17は、ルーティングテーブルの構成を示す図である。   FIG. 16 is a diagram illustrating a configuration of a central processing unit in the GW apparatus according to the fourth embodiment. FIG. 17 is a diagram showing the configuration of the routing table.

第4の実施形態にかかるGW装置(符号を「401」とする。)は、通信IF部11と、図16に示す中央処理部402と、第1記憶部13と、第2記憶部14と、さらに後述のルーティングテーブルを記憶する第3記憶部15と、FP通信IF部16と、シリアルコンソール部17とバス18を備えて構成される。即ち、第4の実施形態にかかるGW装置401は、第1の実施形態のGW装置2における中央処理部12の代わりに中央処理部402を用いること及び第3記憶部15がさらに後述のルーティングテーブルを記憶することを除き、第1の実施形態のGW装置2と同様の構成であるので、通信IF部11、第1乃至第3記憶部13、14、15、FP通信IF部16、シリアルコンソール部17及びバス18の説明を省略する。   The GW apparatus according to the fourth embodiment (reference numeral “401”) includes a communication IF unit 11, a central processing unit 402, a first storage unit 13, and a second storage unit 14 illustrated in FIG. In addition, a third storage unit 15 that stores a routing table described later, an FP communication IF unit 16, a serial console unit 17, and a bus 18 are provided. That is, the GW device 401 according to the fourth embodiment uses the central processing unit 402 instead of the central processing unit 12 in the GW device 2 of the first embodiment, and the third storage unit 15 further includes a routing table described later. The communication IF unit 11, the first to third storage units 13, 14, 15, the FP communication IF unit 16, and the serial console are configured in the same manner as the GW apparatus 2 of the first embodiment. Description of the unit 17 and the bus 18 is omitted.

図16において、中央処理部402は、例えば、マイクロプロセッサやその周辺回路等で構成され、機能的に、IP準拠APプロトコルスタック部411と、オブジェクト逆変換部22と、オブジェクト変換部23と、FP準拠APプロトコルスタック部24とを備えると共に、各制御プログラムに従い通信IF部11、第1乃至第3記憶部13、14、15、FP通信IF部16及びシリアルコンソール部17を制御する。即ち、第5の実施形態に係る中央処理部402は、第1の実施形態に係る中央処理部12におけるIP準拠APプロトコルスタック部21の代わりに、ルーティング機能を備えたIP準拠APプロトコルスタック411を用いるものである。このため、これらオブジェクト逆変換部22、オブジェクト変換部23及びFP準拠APプロトコルスタック部24は、第1の実施形態と同様であるので、その説明を省略する。   In FIG. 16, the central processing unit 402 includes, for example, a microprocessor and its peripheral circuits, etc., and functionally includes an IP-compliant AP protocol stack unit 411, an object reverse conversion unit 22, an object conversion unit 23, and an FP. In addition to a compliant AP protocol stack unit 24, the communication IF unit 11, the first to third storage units 13, 14, 15, the FP communication IF unit 16, and the serial console unit 17 are controlled according to each control program. That is, the central processing unit 402 according to the fifth embodiment uses an IP-compliant AP protocol stack 411 having a routing function instead of the IP-compliant AP protocol stack unit 21 in the central processing unit 12 according to the first embodiment. It is what is used. For this reason, the object reverse conversion unit 22, the object conversion unit 23, and the FP-compliant AP protocol stack unit 24 are the same as those in the first embodiment, and thus description thereof is omitted.

IP準拠APプロトコルスタック部411は、第1の実施形態におけるIP準拠APプロトコルスタック部21の機能に加えて、さらに、機能的に、共通メッセージをルーティングテーブルに基づいてルーティングするルーティング部421を備える。   In addition to the function of the IP compliant AP protocol stack unit 21 in the first embodiment, the IP compliant AP protocol stack unit 411 further includes a routing unit 421 that functionally routes a common message based on a routing table.

ルーティングテーブルは、第3記憶部15に記憶され、図17(A)〜(D)に示すように、共通オブジェクト特定情報と、ルーティング先のGW装置401における通信アドレス(GW装置アドレス)と、ホップ数とを対応付けて登録するテーブルである。ホップ数は、ルーティング回数を示す数値、換言すればルーティングを実行するGW装置401の個数を示す数値であり、例えばホップ数が“0”である場合にはルーティングすべき共通メッセージが当該GW装置401宛てであることを示し、また例えばホップ数が“1”である場合にはルーティングすべき共通メッセージが当該GW装置401に対し隣接するGW装置401宛てであることを示し、また例えばホップ数が“2”である場合にはルーティングすべき共通メッセージが当該GW装置401に対し1個のGW装置401を介して隣接するGW装置401宛てであることを示す。   The routing table is stored in the third storage unit 15, and as shown in FIGS. 17A to 17D, the common object specifying information, the communication address (GW device address) in the routing destination GW device 401, and the hop It is a table which registers numbers in association with each other. The number of hops is a numerical value indicating the number of times of routing, in other words, a numerical value indicating the number of GW devices 401 that perform routing. For example, when the hop number is “0”, the common message to be routed is the GW device 401. For example, when the hop number is “1”, it indicates that the common message to be routed is addressed to the GW device 401 adjacent to the GW device 401, and for example, the hop number is “ In the case of 2 ″, it indicates that the common message to be routed is addressed to the GW apparatus 401 adjacent to the GW apparatus 401 via one GW apparatus 401.

次に、第4の実施形態におけるGW装置401の動作について説明する。
(第4の実施形態の動作)
共通メッセージが受信されると、IP準拠APプロトコルスタック部411のルーティング部421は、この受信した共通メッセージに含まれる共通オブジェクト特定情報(共通オブジェクトインタフェース識別子)に基づいてルーティングテーブルを検索する。ルーティングテーブルにおける共通オブジェクト特定情報の中からこの共通メッセージの共通オブジェクト特定情報と一致する共通オブジェクト特定情報を検索すると、ルーティング部421は、検索した共通オブジェクト特定情報に対応するホップ数を判断する。
Next, the operation of the GW apparatus 401 in the fourth embodiment will be described.
(Operation of Fourth Embodiment)
When the common message is received, the routing unit 421 of the IP-compliant AP protocol stack unit 411 searches the routing table based on the common object specifying information (common object interface identifier) included in the received common message. When the common object specifying information that matches the common object specifying information of the common message is searched from the common object specifying information in the routing table, the routing unit 421 determines the number of hops corresponding to the searched common object specifying information.

このホップ数が“0”である場合には、当該共通メッセージは、当該GW装置401宛ての共通メッセージであるから、ルーティング部421は、当該共通メッセージをオブジェクト変換部23に通知する。オブジェクト変換部23は、第1の実施形態で上述した動作によってこの共通メッセージを処理する。   When the hop count is “0”, the common message is a common message addressed to the GW device 401, and thus the routing unit 421 notifies the object conversion unit 23 of the common message. The object conversion unit 23 processes this common message by the operation described above in the first embodiment.

一方、このホップ数が“0”ではない場合には、ルーティング部421は、当該共通メッセージが他のGW装置401宛てであると判断し、検索した共通オブジェクト特定情報に対応するルーティング先のGW装置2の通信アドレスを取得する。そして、ルーティング部421は、取得した通信アドレスのGW装置401へ当該共通メッセージを転送する。   On the other hand, when the number of hops is not “0”, the routing unit 421 determines that the common message is addressed to another GW device 401, and the routing destination GW device corresponding to the searched common object specifying information. 2 communication address is acquired. Then, the routing unit 421 transfers the common message to the GW device 401 having the acquired communication address.

より具体的に説明すると、GW装置アドレスが“200.0.0.1”であるGW装置401−wにおけるルーティングテーブルには、図17(A)に示すように共通オブジェクト特定情報、ルーティング先のGW装置2の通信アドレス及びホップ数にそれぞれ“00123456789ABC”、“200.0.0.1”及び“0”と、“001FBDAEFC9ABC”、“200.0.0.1”及び“0”とが登録されているとする。ルーティング先のGW装置401の通信アドレスが“200.0.0.2”であるGW装置401−xにおけるルーティングテーブルには、図17(B)に示すように共通オブジェクト特定情報、ルーティング先のGW装置2の通信アドレス及びホップ数にそれぞれ“00123456789ABC”、“200.0.0.1”及び“1”と、“001FBDAEFC9ABC”、“200.0.0.1”及び“1”と、“1234ABCDFEDC78”、“200.0.0.2”及び“0”とが登録されているとする。GW装置アドレスが“200.0.0.3”であるGW装置401−yにおけるルーティングテーブルには、図17(C)に示すように共通オブジェクト特定情報、ルーティング先のGW装置2の通信アドレス及びホップ数にそれぞれ“00123456789ABC”、“200.0.0.2”及び“2”と、“1234ABCDFEDC78”、“200.0.0.2”及び“1”と、“ABCDDEEFF12345”、“200.0.0.4”及び“1”とが登録されているとする。そして、GW装置アドレスが“200.0.0.4”であるGW装置401−zにおけるルーティングテーブルには、図17(D)に示すように共通オブジェクト特定情報、ルーティング先のGW装置2の通信アドレス及びホップ数にそれぞれ“001FBDAEFC9ABC”、“200.0.0.1”及び“0”と、“001FBDAEFC9ABC”、“200.0.0.1”及び“1”と、が登録されているとする。   More specifically, in the routing table in the GW device 401-w whose GW device address is “200.0.0.1”, as shown in FIG. "00123456789ABC", "200.0.0.1" and "0", and "001FBDAEFC9ABC", "200.0.0.1" and "0" are registered in the communication address and the hop number of the GW device 2, respectively. Suppose that The routing table in the GW device 401-x in which the communication address of the routing destination GW device 401 is “200.0.0.2” includes the common object specifying information, the routing destination GW, as shown in FIG. “00123456789ABC”, “200.0.0.1”, “1”, “001FBDAEFC9ABC”, “200.0.0.1”, “1”, and “1234ABCFEDC78” are set as the communication address and the hop number of the apparatus 2, respectively. "," 200.0.0.2 ", and" 0 "are registered. As shown in FIG. 17C, the routing table in the GW device 401-y whose GW device address is “200.0.0.3” includes the common object specifying information, the communication address of the routing destination GW device 2, and The numbers of hops are “00123456789ABC”, “200.0.0.2” and “2”, “1234ABCFDFEDC78”, “200.0.0.2” and “1”, “ABCDDEEFF12345” and “200.0”, respectively. .0.4 ”and“ 1 ”are registered. The routing table in the GW device 401-z whose GW device address is “200.0.0.4” includes the common object specifying information and the communication of the routing destination GW device 2 as shown in FIG. “001FBDAEFC9ABC”, “200.0.0.1”, “0”, “001FBDAEFC9ABC”, “200.0.0.1”, and “1” are registered in the address and the hop number, respectively. To do.

この場合において、GW装置401−yが“1234ABCDFEDC78”の共通オブジェクト特定情報を含む共通メッセージを送信する場合、ルーティング部421は、ルーティングテーブルを参照するとこれに対応するホップ数が“1”で“0”ではないので、これに対応するGW装置アドレスを参照し、参照の結果“200.0.0.2”のGW装置アドレスを持つGW装置401、即ち、GW装置401−xに送信する(R1)。この共通メッセージを受信したGW装置401−xは、ルーティング部421を用いて、ルーティングテーブルを参照すると“1234ABCDFEDC78”の共通オブジェクト特定情報に対応するホップ数が“0”であるので、GW装置401−xは、自機宛ての共通メッセージであると判断し、オブジェクト逆変換部22に通知する。GW装置401−yが“ABCDDEEFF12345”の共通オブジェクト特定情報を含む共通メッセージを送信する場合も同様の処理によりGW装置401−zに送信され(R2)、GW装置401−zで処理される。   In this case, when the GW apparatus 401-y transmits a common message including the common object specifying information of “1234ABCFEDC78”, the routing unit 421 refers to the routing table and the number of hops corresponding to this is “1” and “0”. Therefore, the GW apparatus address corresponding to this is referred to and transmitted to the GW apparatus 401 having the GW apparatus address of “200.0.0.2”, that is, the GW apparatus 401-x (R1). ). The GW device 401-x that has received this common message uses the routing unit 421 to refer to the routing table, and the hop number corresponding to the common object specifying information of “1234ABCFEDC78” is “0”. x is determined to be a common message addressed to its own device, and is notified to the object inverse conversion unit 22. When the GW apparatus 401-y transmits a common message including the common object specifying information of “ABCDDEEFF12345”, it is transmitted to the GW apparatus 401-z by the same processing (R2) and processed by the GW apparatus 401-z.

一方、GW装置401−yが“00123456789ABC”の共通オブジェクト特定情報を含む共通メッセージを送信する場合、ルーティング部421は、ルーティングテーブルを参照するとこれに対応するホップ数が“2”で“0”ではないので、これに対応するGW装置アドレスを参照し、参照の結果“200.0.0.2”のGW装置アドレスを持つGW装置401、即ち、GW装置401−xに送信する(R3)。そして、この“00123456789ABC”の共通オブジェクト特定情報を含む共通メッセージをGW装置401−yから受信すると、GW装置401−xは、ルーティング部421を用いて、ルーティングテーブルを参照するとこれに対応するホップ数が“1”で“0”ではないので、これに対応するGW装置アドレスを参照し、参照の結果“200.0.0.1”のGW装置アドレスを持つGW装置401、即ち、GW装置401−wに送信する(R4)。この共通メッセージを受信したGW装置401−wは、ルーティング部421を用いて、ルーティングテーブルを参照すると“00123456789ABC”の共通オブジェクト特定情報に対応するホップ数が“0”であるので、GW装置401−wは、自機宛ての共通メッセージであると判断し、オブジェクト逆変換部22に通知する。   On the other hand, when the GW apparatus 401-y transmits a common message including the common object specifying information of “00123456789ABC”, the routing unit 421 refers to the routing table, and the hop count corresponding to this is “2” and “0”. Therefore, the GW apparatus address corresponding to this is referred to and transmitted to the GW apparatus 401 having the GW apparatus address of “200.0.0.2”, that is, the GW apparatus 401-x (R3). When the common message including the common object specifying information of “00123456789ABC” is received from the GW apparatus 401-y, the GW apparatus 401-x uses the routing unit 421 to refer to the routing table and correspond to the number of hops. Is “1” and not “0”, the GW device address corresponding to this is referred to, and the GW device 401 having the GW device address of “200.0.0.1” as a result of the reference, that is, the GW device 401 Send to -w (R4). The GW device 401-w that has received this common message uses the routing unit 421 to refer to the routing table, and the number of hops corresponding to the common object specifying information of “00123456789ABC” is “0”. It is determined that w is a common message addressed to itself, and notifies the object inverse conversion unit 22.

このように動作することによって、GW装置401は、共通メッセージを処理するGW装置401を直接認識していなくても、各GW装置401の各ルーティング部421がルーティングテーブルによって順次に共通メッセージを転送するので、最終的に当該共通メッセージを処理するGW装置401まで転送され、処理される。このため、GW装置401は、共通メッセージを処理すべきGW装置401と通信経路上において直接接続している必要がなく、広域システムをより大きなネットワークとすることができる。   By operating in this way, even if the GW device 401 does not directly recognize the GW device 401 that processes the common message, each routing unit 421 of each GW device 401 sequentially transfers the common message according to the routing table. Therefore, it is finally transferred to the GW device 401 that processes the common message and processed. For this reason, the GW apparatus 401 does not need to be directly connected to the GW apparatus 401 which should process a common message on a communication path, and can make a wide area system a larger network.

なお、第4の実施形態において、GW装置401がルーティングテーブルを自動的に更新するように機能させる観点から、図16に破線で示すように、ルーティングテーブルを管理するルーティングテーブル管理部422と、第3の実施形態で説明した共通オブジェクト広告部423を中央処理部402に機能的にさらに備えるように構成してもよい。   In the fourth embodiment, from the viewpoint of causing the GW apparatus 401 to function to automatically update the routing table, as shown by a broken line in FIG. 16, a routing table management unit 422 that manages the routing table, The common object advertisement unit 423 described in the third embodiment may be configured to be further provided in the central processing unit 402.

このように構成することによって、GW装置401は、共通オブジェクトが追加されると第3の実施形態で説明したように、共通オブジェクト広告部423は、IP準拠APプロトコルスタック部411を介してこの追加された共通オブジェクトの共通オブジェクト特定情報を共通オブジェクト広告メッセージによってセッションを確立している広域システム内の他のGW装置401に広告する。   With this configuration, when the common object is added, the GW device 401 adds the common object advertisement unit 423 via the IP-compliant AP protocol stack unit 411 as described in the third embodiment. The common object specifying information of the common object is advertised to other GW devices 401 in the wide area system that has established a session by the common object advertisement message.

この共通オブジェクト広告メッセージを受信したGW装置401のルーティングテーブル管理部422は、共通オブジェクト広告メッセージをそのホップ数を1だけインクリメントしてセッションを確立している広域システム内の他のGW装置401に転送する。そして、ルーティングテーブル管理部422は、共通オブジェクト広告メッセージから共通オブジェクト特定情報、送信元のGW装置401の通信アドレス及びホップ数を取り出し、これらをルーティングテーブルの共通オブジェクト特定情報、ルーティング先のGW装置アドレス及びホップ数にそれぞれ登録する。ホップ数は、共通オブジェクト広告メッセージにさらに追加するようにしてもよい。   The routing table management unit 422 of the GW apparatus 401 that has received this common object advertisement message transfers the common object advertisement message to another GW apparatus 401 in the wide area system that has established a session by incrementing the hop number by one. To do. Then, the routing table management unit 422 extracts the common object specifying information, the communication address of the transmission source GW device 401 and the hop number from the common object advertisement message, and extracts these from the common object specifying information of the routing table and the routing destination GW device address. And hop count. The number of hops may be further added to the common object advertisement message.

このように動作することによってGW装置401は、ルーティングテーブルを自動的に更新することができる。   By operating in this way, the GW apparatus 401 can automatically update the routing table.

ここで、第2乃至第4の実施形態は、第1の実施形態に係るGW装置2を基本に構成したが、第1の実施形態に係るGW装置2に第2乃至第4の実施形態を複数組み合わせることも可能である。   Here, the second to fourth embodiments are configured based on the GW device 2 according to the first embodiment. However, the second to fourth embodiments are added to the GW device 2 according to the first embodiment. Multiple combinations are possible.

そして、上述の第1乃至第4の実施形態において、マルチプロトコルに対応する観点から、IP準拠APプロトコルスタック部21は、共通オブジェクトのデータを表現して要求に対する応答を行うオブジェクト通信プレゼンテーション部と、オブジェクト通信プレゼンテーション部で表現されたデータをIP上で通信するIP通信プロトコル部に分離し、複数の通信プロトコルのドライバを実装するように構成してもよい。このようにオブジェクト通信プレゼンテーション部とIP通信プロトコル部とに分離した構成であるので、複数の通信プロトコルを備えることが可能であるから、ローカルシステム1が特定の通信プロトコルにしか対応していない場合でも容易に対応可能となる。   In the first to fourth embodiments described above, from the viewpoint of supporting the multi-protocol, the IP-compliant AP protocol stack unit 21 expresses common object data and responds to a request, and an object communication presentation unit, Data expressed in the object communication presentation unit may be separated into an IP communication protocol unit that communicates over IP, and a driver of a plurality of communication protocols may be installed. Since the object communication presentation unit and the IP communication protocol unit are separated as described above, it is possible to provide a plurality of communication protocols. Even when the local system 1 supports only a specific communication protocol. It can be easily handled.

複数の通信プロトコルは、例えば、SOAPとSNMP(Simple Network Management Protocol)との組み合わせやHTTPとHTTPS(Hyper Text Transfer Protocol over SSL)との組み合わせである。SOAPは、HTTPやHTTPSやSMTP(Simple Mail Transfer Protocol)やFTP(File Transfer Protocol)等を下位プロトコルとして使用し、XML(Extensible Markup Language)で記述されたメッセージをやり取りすることによってリモートマシン上のオブジェクトへアクセスするための通信プロトコルである。   The plurality of communication protocols are, for example, a combination of SOAP and SNMP (Simple Network Management Protocol) or a combination of HTTP and HTTPS (Hyper Text Transfer Protocol over SSL). SOAP uses HTTP, HTTPS, SMTP (Simple Mail Transfer Protocol), FTP (File Transfer Protocol), etc. as lower protocols, and exchanges messages described in XML (Extensible Markup Language) to exchange objects on remote machines. Is a communication protocol for accessing

また、上述の第1乃至第4の実施形態にかかるGW装置2、201、301、401は、1個のIP通信IF部11を備えて構成されたが、通信回線の障害又は通信先GW装置2の障害に対する信頼性の向上やトラフィックが多い場合の回避対策として、IP通信IF部11を複数備えるように構成されてもよい。   Moreover, although the GW apparatuses 2, 201, 301, 401 according to the first to fourth embodiments described above are configured to include one IP communication IF unit 11, a communication line failure or a communication destination GW apparatus As a measure for avoiding the improvement of the reliability for the second failure and the case where there is a lot of traffic, a plurality of IP communication IF units 11 may be provided.

そして、通信回線の障害に対する信頼性を向上させる場合には、さらに、GW装置2、201、301、401は、複数のIP通信IF部11から使用する1個のIP通信IF部11を選択する通信回線切替部と、例えばICMPのエコーに対する応答の有無に応じて通信回線の障害の有無を検出し、一方のIP通信IF部11に障害が生じた場合には、障害が生じていない他方のIP通信IF部11に切替える切替指示信号を通信切替部に通知する障害検出部とを備えて構成される。このように構成することによって通信回線の障害に対処することができGW装置2の稼働率の向上により信頼性を向上することができる。   When improving the reliability against a communication line failure, the GW apparatuses 2, 201, 301, and 401 further select one IP communication IF unit 11 to be used from the plurality of IP communication IF units 11. The communication line switching unit detects the presence or absence of a communication line failure according to, for example, the presence or absence of a response to an ICMP echo, and when one of the IP communication IF units 11 has a failure, And a failure detection unit that notifies the communication switching unit of a switching instruction signal for switching to the IP communication IF unit 11. With this configuration, it is possible to cope with a communication line failure and to improve reliability by improving the operation rate of the GW apparatus 2.

あるいは、通信先GW装置2の障害に対する信頼性を向上させる場合には、さらに、GW装置2、201、301、401は、複数のIP通信IF部11から使用する1個のIP通信IF部11を選択する通信回線切替部と、例えばICMPのエコーに対する応答の有無に応じて一の通信回線を介した通信先GW装置2の生存の有無を検出する生存確認部と、生存確認部で検出した生存の有無に応じて、一方のIP通信IF部11に障害が生じた場合には、障害が生じていない他方のIP通信IF部11に切替える切替指示信号を通信切替部に通知する障害検出部とを備えて構成される。このように構成することによって通信先GW装置2の障害に対処することができ通信元GW装置2の稼働率の向上により信頼性を向上することができる。   Or when improving the reliability with respect to the failure of the communication destination GW apparatus 2, the GW apparatuses 2, 201, 301, and 401 each further use one IP communication IF section 11 used from the plurality of IP communication IF sections 11. Detected by a communication line switching unit for selecting, a survival confirmation unit for detecting the presence or absence of the communication destination GW device 2 via one communication line according to the presence or absence of a response to an echo of ICMP, for example, and a survival confirmation unit When a failure occurs in one IP communication IF unit 11 according to the presence or absence of survival, a failure detection unit notifies the communication switching unit of a switching instruction signal for switching to the other IP communication IF unit 11 in which no failure has occurred. And is configured. With this configuration, it is possible to cope with a failure of the communication destination GW apparatus 2 and to improve reliability by improving the operation rate of the communication source GW apparatus 2.

一方、トラフィックが多い場合にそれを回避される場合には、さらに、GW装置2、201、301、401は、複数のIP通信IF部11から使用する1個のIP通信IF部11を選択する通信回線切替部と、単位時間当たりのトラフィック量を監視し、一方のIP通信IF部11におけるそのトラフィック量が予め規定された所定値以上になった場合に、他方のIP通信IF部11に切替える切替指示信号を通信切替部に通知するトラフィック監視部とを備えて構成される。ここで、トラフィック監視部は、単位時間当たりのトラフィック量を監視する代わりに、通信信号の送信からその応答信号の受信までの時間であるRTT(Round Trip Time)を計測し、一方のIP通信IF部11におけるそのRTTが予め規定された所定値以上になった場合に、他方のIP通信IF部11に切替える切替指示信号を通信切替部に通知するように構成してもよい。このように構成することによりトラフィックを平均化することができ、GW装置2の稼働率の向上により信頼性を向上することができる。   On the other hand, when it is avoided when there is a lot of traffic, the GW apparatuses 2, 201, 301, and 401 further select one IP communication IF unit 11 to be used from the plurality of IP communication IF units 11. The communication line switching unit and the traffic amount per unit time are monitored, and when the traffic amount in one IP communication IF unit 11 exceeds a predetermined value, the other IP communication IF unit 11 is switched. And a traffic monitoring unit that notifies the communication switching unit of the switching instruction signal. Here, instead of monitoring the traffic volume per unit time, the traffic monitoring unit measures an RTT (Round Trip Time), which is a time from transmission of a communication signal to reception of the response signal, and the one IP communication IF When the RTT in the unit 11 exceeds a predetermined value defined in advance, a switching instruction signal for switching to the other IP communication IF unit 11 may be notified to the communication switching unit. With this configuration, traffic can be averaged, and reliability can be improved by improving the operating rate of the GW apparatus 2.

さらに、上述の第1乃至第4の実施形態において、GW装置2、201、301、401は、ログデータを記憶するログ記憶部をさらに備え、中央処理部12、202、302、402に、IP準拠APプロトコルスタック部21から当該GW装置2、201、301、401に接続する他のGW装置2、201、301、401の情報や通信トラフィック等の情報を取得してログデータとしてログ記憶部に出力する通信ログ取得部と、ログ記憶部に記憶されているログデータの中から所定の時間経過したログデータを消去するなどログデータの管理を行うログ管理部と、外部にログデータを出力するログ出力部とをさらに備えて構成するようにしてもよい。このように構成することにより、通信のログデータが記録されるので、不正アクセスやトラフィック量の経時変化を監視することができる。さらに、インターネット5を介して遠隔に端末装置からログデータを参照することができるように構成してもよい。   Furthermore, in the above-described first to fourth embodiments, the GW apparatuses 2, 201, 301, 401 further include a log storage unit that stores log data, and the central processing units 12, 202, 302, 402 have IP Information of other GW devices 2, 201, 301, 401 connected to the GW devices 2, 201, 301, 401 and information such as communication traffic are acquired from the compliant AP protocol stack unit 21 and stored in the log storage unit as log data. A communication log acquisition unit to output, a log management unit for managing log data, such as erasing log data after a predetermined time from log data stored in the log storage unit, and outputting log data to the outside A log output unit may be further provided. With this configuration, communication log data is recorded, so that unauthorized access and changes in traffic volume over time can be monitored. Furthermore, it may be configured such that log data can be referred to from a terminal device remotely via the Internet 5.

実施形態における広域システムの構成を示す図である。It is a figure which shows the structure of the wide area system in embodiment. 第1の実施形態におけるゲートウェイ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the gateway apparatus in 1st Embodiment. 第1の実施形態に係るゲートウェイ装置における中央処理部の機能ブロックを示すブロック図である。It is a block diagram which shows the functional block of the central processing part in the gateway apparatus which concerns on 1st Embodiment. 共通オブジェクトの作成方法を一具体例に沿って説明するための図である。It is a figure for demonstrating the creation method of a common object along one specific example. 共通オブジェクト送信テーブルの構成及びFPオブジェクト送信テーブルの構成を示す図である。It is a figure which shows the structure of a common object transmission table, and the structure of FP object transmission table. オブジェクト変換部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an object conversion part. オブジェクト逆変換部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an object reverse conversion part. 図1に示すローカルシステム1−A内のSC装置3−Aaがローカルシステム1−B内のSC装置3−Baに「ReadProperty」を実行させる場合の動作示すシーケンス図である。FIG. 7 is a sequence diagram illustrating an operation when the SC device 3-Aa in the local system 1-A illustrated in FIG. 1 causes the SC device 3-Ba in the local system 1-B to execute “ReadProperty”. 第2の実施形態のGW装置における中央処理部の構成を示す図である。It is a figure which shows the structure of the central processing part in GW apparatus of 2nd Embodiment. イベント送信先購読情報データベースの構成を示す図である。It is a figure which shows the structure of an event transmission destination subscription information database. イベント購読要求情報を示す図である。It is a figure which shows event subscription request information. イベント送信元購読情報データベースの構成を示す図である。It is a figure which shows the structure of the event transmission origin subscription information database. 第3の実施形態のGW装置における中央処理部の構成を示す図である。It is a figure which shows the structure of the central processing part in GW apparatus of 3rd Embodiment. 自GW装置共通オブジェクト生存状態情報を示す図である。It is a figure which shows self-GW apparatus common object survival state information. 他GW装置共通オブジェクト生存状態情報を示す図である。It is a figure which shows other GW apparatus common object survival state information. 第4の実施形態のGW装置における中央処理部の構成を示す図である。It is a figure which shows the structure of the central processing part in GW apparatus of 4th Embodiment. ルーティングテーブルの構成を示す図である。It is a figure which shows the structure of a routing table.

符号の説明Explanation of symbols

1 ローカルシステム
2 ゲートウェイ装置
3 機器
4 伝送路
5 インターネット
11 通信インタフェース部
12、202、302、402 中央処理部
15 第3記憶部
16 フィールドプロトコル通信インタフェース部
21、211、311、411 IP準拠アプリケーションプロトコルスタック部
22 オブジェクト逆変換部
23 オブジェクト変換部
24、214 フィールドプロトコル準拠アプリケーションプロトコルスタック部
25 共通オブジェクト情報管理部
31 共通オブジェクト受付部
32 アクセサモジュール集合部
33 フィールドプロトコル用通知部
36 共通オブジェクト通知部
37 共通オブジェクト変換本体部
38 フィールドプロトコル用受付部
41 FPオブジェクト−共通オブジェクト変換マップ記憶部
42 共通オブジェクト送信テーブル記憶部
50 FPオブジェクト送信テーブル記憶部
53 共通オブジェクト
60 共通オブジェクト送信テーブル
61 送信元SCアドレス部
62 FPオブジェクト特定情報部
63 送信先GWアドレス部
70 FPオブジェクト送信テーブル
71 送信元GWアドレス部
72 共通オブジェクト特定情報部
73 送信先SCアドレス部
212 イベント送信部
213 イベント受信部
221 自ローカルシステム内イベント送信制御部
222 自ローカルシステム内イベント監視部
223 他ローカルシステム内イベント監視部
224 他ローカルシステム内イベント送信制御部
312、423 共通オブジェクト広告部
313 共通オブジェクト情報取得部
314 自ローカルシステム内SC装置状態監視部
321 アクセサモジュール管理部
322 アクセサモジュール
421 ルーティング部
422 ルーティングテーブル管理部
3221 フィールドプロトコルアクセス
DESCRIPTION OF SYMBOLS 1 Local system 2 Gateway apparatus 3 Apparatus 4 Transmission path 5 Internet 11 Communication interface part 12,202,302,402 Central processing part 15 3rd memory | storage part 16 Field protocol communication interface part 21,211,311,411 IP conformity application protocol stack Unit 22 object reverse conversion unit 23 object conversion unit 24, 214 field protocol compliant application protocol stack unit 25 common object information management unit 31 common object reception unit 32 accessor module collection unit 33 field protocol notification unit 36 common object notification unit 37 common object Conversion body section 38 Field protocol reception section 41 FP object-common object conversion map storage section 42 Common object Transmission table storage unit 50 FP object transmission table storage unit 53 common object 60 common object transmission table 61 transmission source SC address unit 62 FP object identification information unit 63 transmission destination GW address unit 70 FP object transmission table 71 transmission source GW address unit 72 Common object identification information section 73 Destination SC address section 212 Event transmission section 213 Event reception section 221 Local local system event transmission control section 222 Local local system event monitoring section 223 Other local system event monitoring section 224 Other local system internal event Transmission control unit 312, 423 Common object advertisement unit 313 Common object information acquisition unit 314 Local local system SC device state monitoring unit 321 Accessor module management unit 32 Accessor module 421 routing unit 422 routing table managing unit 3221 Field protocol access

Claims (10)

機器に関する機器情報を操作することによって前記機器を制御するフィールドプロトコルが使用された複数のローカルエリアネットワーク内における、前記機器を監視及び/又は制御する監視制御装置間で前記複数のローカルエリアネットワークとは異なるネットワークを介して双方向で通信するためのゲートウェイ装置において、
前記ネットワークを介して他のゲートウェイ装置と通信を行う第1通信部と、
前記ローカルエリアネットワーク内の前記監視制御装置と通信を行う第2通信部と、
前記ローカルエリアネットワークで使用されるフィールドプロトコルの機器情報と前記ネットワークで使用される共通オブジェクトとを対応付ける変換マップを記憶する記憶部と、
前記第2通信部で受信したフィールドプロトコルの機器情報を前記変換マップに基づいて共通オブジェクトに変換し、該変換した共通オブジェクトを特定する特定情報を含む共通メッセージを、前記第1通信部を用いて他のゲートウェイ装置に送信する共通オブジェクト変換部と、
前記第1通信部で受信した前記共通メッセージに含まれる前記特定情報を前記変換マップに基づいて前記フィールドプロトコルの機器情報に変換し、該変換したフィールドプロトコルの機器情報を操作するフィールドプロトコルのメッセージを前記第2通信部を用いて前記ローカルエリアネットワークに送信する共通オブジェクト逆変換部とを備え、
前記共通オブジェクトは、複数のフィールドプロトコルにおいて共通に使用可能な共通インタフェースを含み、
前記共通インタフェースは、前記機器から数値情報を読み出すためのゲット関数プロパティ、前記機器へ数値情報を書き込むためのセット関数プロパティ、及び、前記機器から数値情報の変化を通知するためのイベントプロパティのうち少なくとも1つを備えること
を特徴とするゲートウェイ装置。
What is the plurality of local area networks between monitoring control devices that monitor and / or control the devices in a plurality of local area networks in which a field protocol for controlling the devices by operating device information on the devices is used? In a gateway device for two-way communication via different networks,
A first communication unit that communicates with another gateway device via the network;
A second communication unit that communicates with the monitoring control device in the local area network;
A storage unit for storing a conversion map for associating device information of a field protocol used in the local area network with a common object used in the network;
The device information of the field protocol received by the second communication unit is converted into a common object based on the conversion map, and a common message including specific information for specifying the converted common object is transmitted using the first communication unit. A common object conversion unit that transmits to another gateway device;
The specific information included in the common message received by the first communication unit is converted into device information of the field protocol based on the conversion map, and a field protocol message for operating the device information of the converted field protocol is converted. A common object inverse transform unit that transmits to the local area network using the second communication unit,
The common object includes a common interface that can be commonly used in a plurality of field protocols,
The common interface includes at least a get function property for reading numerical information from the device, a set function property for writing numerical information to the device, and an event property for notifying the change of numerical information from the device. A gateway device comprising one.
前記第2通信部から通知された機器情報の中から前記ローカルエリアシステム内の機器が発報したフィールドプロトコルのイベントを検出し、該検出したフィールドプロトコルのイベントを前記共通オブジェクト変換部に通知する自システム内イベント監視部と、
前記共通オブジェクト変換部で変換されたフィールドプロトコルのイベントに対応する共通メッセージを前記第1通信部を用いて他のゲートウェイ装置に送信する自システム内イベント送信制御部と、
前記第1通信部から通知された共通メッセージの中からイベントの共通メッセージを検出し、該検出した共通メッセージを前記共通オブジェクト逆変換部に通知する他システム内イベント監視部と、
前記共通オブジェクト逆変換部で変換されたイベントの共通メッセージに対応するフィールドプロトコルのイベントを、前記第2通信部を用いて前記ローカルエリアシステム内に送信する他システム内イベント送信制御部とをさらに備えたこと
を特徴とする請求項1に記載のゲートウェイ装置。
The device detects the field protocol event issued by the device in the local area system from the device information notified from the second communication unit, and notifies the common object conversion unit of the detected field protocol event. An in-system event monitoring unit;
An in-system event transmission control unit that transmits a common message corresponding to a field protocol event converted by the common object conversion unit to another gateway device using the first communication unit;
An event monitoring unit in another system that detects a common message of an event from the common message notified from the first communication unit, and notifies the common object inverse conversion unit of the detected common message;
An event transmission control unit in another system that transmits a field protocol event corresponding to the common message of the event converted by the common object inverse conversion unit into the local area system using the second communication unit; The gateway device according to claim 1, wherein:
前記記憶部は、イベントの種類と該イベントの共通メッセージの送信先とを対応付けて登録した送信先データベース、及び、イベントの種類と該イベントの共通メッセージの送信元とを対応付けて登録した送信元データベースを記憶し、
前記自システム内イベント送信制御部は、イベントの共通メッセージを送信する際に該イベントの種類に基づいて前記送信先データベースを参照し、該イベントの種類に対応する該イベントの共通メッセージにおける送信先が前記送信先データベースに登録されている場合に該送信先に送信し、
前記他システム内イベント送信制御部は、イベントの共通メッセージを受信した際に前記送信元データベースを参照し、該イベントの種類及び該イベントの共通メッセージにおける送信元が前記送信元データベースに登録されている場合に前記共通オブジェクト逆変換部に通知すること
を特徴とする請求項2に記載のゲートウェイ装置。
The storage unit is a destination database in which an event type and a transmission destination of a common message of the event are registered in association with each other, and a transmission in which an event type and a transmission source of the common message in the event are registered in association with each other Remember the original database,
The own-system event transmission control unit refers to the destination database based on the event type when transmitting a common message of the event, and the transmission destination in the common message of the event corresponding to the event type is If registered in the destination database, send to the destination,
The event transmission control unit in the other system refers to the transmission source database when a common message of the event is received, and the type of the event and the transmission source in the common message of the event are registered in the transmission source database. The gateway device according to claim 2, wherein the common object inverse conversion unit is notified in a case.
イベントの共通メッセージの受信を要求するイベント購読要求情報を他のゲートウェイ装置に送信するイベント購読要求情報送信部と、
他のゲートウェイ装置から受信したイベント購読要求情報に基づいて前記送信先データベースを構築するデータベース作成部とをさらに備えること
を特徴とする請求項3に記載のゲートウェイ装置。
An event subscription request information transmitting unit for transmitting event subscription request information for requesting reception of a common message of an event to another gateway device;
The gateway apparatus according to claim 3, further comprising a database creation unit that constructs the transmission destination database based on event subscription request information received from another gateway apparatus.
前記記憶部には、追加される共通オブジェクトとフィールドプロトコルの機器情報とを対応付ける変換マップが予め記憶され、
共通オブジェクトが追加された場合に、該追加された共通オブジェクトの前記特定情報を前記ネットワークに広告する共通オブジェクト広告部と、
前記ネットワークから追加された共通オブジェクトの特定情報を受信した場合に、前記追加された共通オブジェクトの変換マップを使用可能にする共通オブジェクト情報取得部とをさらに備えること
を特徴とする請求項1に記載のゲートウェイ装置。
The storage unit stores in advance a conversion map that associates the added common object with the device information of the field protocol,
A common object advertisement unit that advertises the specific information of the added common object to the network when a common object is added;
The apparatus according to claim 1, further comprising: a common object information acquisition unit that enables use of a conversion map of the added common object when specific information of the added common object is received from the network. Gateway device.
前記記憶部は、当該ゲートウェイ装置において共通オブジェクトの使用の可否を登録する自共通オブジェクト生存情報データベース、及び、他のゲートウェイ装置において共通オブジェクトの使用の可否を登録する他共通オブジェクト生存情報データベースを記憶し、
前記ローカルエリアネットワーク内の監視制御装置における生存状態を監視して前記監視制御装置の生存状態に応じて前記自共通オブジェクト生存情報データベースを更新すると共に共通オブジェクトが使用不可となった場合に該共通オブジェクトの使用不可を前記共通オブジェクト広告部を用いて前記ネットワークに広告する自システム内機器状態監視部をさらに備え、
前記共通オブジェクト情報取得部は、前記ネットワークから共通オブジェクトの使用不可を受信した場合に前記他共通オブジェクト生存情報データベースを更新すること
を特徴とする請求項5に記載のゲートウェイ装置。
The storage unit stores an own common object survival information database for registering whether or not a common object can be used in the gateway apparatus, and another common object survival information database for registering whether or not a common object can be used in another gateway apparatus. ,
When the survival state in the monitoring control device in the local area network is monitored and the own common object survival information database is updated according to the survival status of the monitoring control device, and the common object becomes unusable A device state monitoring unit in its own system that advertises the use of the device to the network using the common object advertising unit,
The gateway device according to claim 5, wherein the common object information acquisition unit updates the other common object survival information database when a common object unavailability is received from the network.
前記記憶部は、共通メッセージのルーティング先を登録するルーティングテーブルを記憶し、
前記ルーティングテーブルに基づいて第1通信部で受信した共通メッセージをルーティングするルーティング部とをさらに備えること
を特徴とする請求項1に記載のゲートウェイ装置。
The storage unit stores a routing table for registering a routing destination of a common message,
The gateway device according to claim 1, further comprising: a routing unit that routes a common message received by the first communication unit based on the routing table.
前記変換マップに新たに共通オブジェクトが追加された場合に、該追加された共通オブジェクトの前記特定情報を前記ネットワークに広告する共通オブジェクト広告部と、
前記ネットワークから前記追加された共通オブジェクトの特定情報を受信した場合に、前記ルーティングテーブルを更新するルーティングテーブル管理部とをさらに備えること
を特徴とする請求項7に記載のゲートウェイ装置。
A common object advertising unit that advertises the specific information of the added common object to the network when a common object is newly added to the conversion map;
The gateway apparatus according to claim 7, further comprising: a routing table management unit that updates the routing table when the identification information of the added common object is received from the network.
前記第1通信部は、物理層のハードウェア通信部と、該ハードウェア通信部を駆動するデバイスドライバ及びデータリンク層以上のプロトコルスタック部とを含み、
該プロトコルスタック部は、同一の階層において複数の通信プロトコルを実装すること
を特徴とする請求項1に記載のゲートウェイ装置。
The first communication unit includes a hardware communication unit of a physical layer, a device driver that drives the hardware communication unit, and a protocol stack unit of a data link layer or more,
The gateway device according to claim 1, wherein the protocol stack unit implements a plurality of communication protocols in the same layer.
前記第1通信部は、物理層のハードウェア通信部と、該ハードウェア通信部を駆動するデバイスドライバ及びデータリンク層以上のプロトコルスタック部とを含み、
該ハードウェア通信部は、複数であることを
を特徴とする請求項1に記載のゲートウェイ装置。
The first communication unit includes a hardware communication unit of a physical layer, a device driver that drives the hardware communication unit, and a protocol stack unit of a data link layer or more,
The gateway device according to claim 1, wherein there are a plurality of hardware communication units.
JP2005135533A 2005-05-09 2005-05-09 Gateway device Expired - Fee Related JP4729969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005135533A JP4729969B2 (en) 2005-05-09 2005-05-09 Gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005135533A JP4729969B2 (en) 2005-05-09 2005-05-09 Gateway device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010288313A Division JP5135422B2 (en) 2010-12-24 2010-12-24 Gateway device

Publications (2)

Publication Number Publication Date
JP2006314000A true JP2006314000A (en) 2006-11-16
JP4729969B2 JP4729969B2 (en) 2011-07-20

Family

ID=37535315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005135533A Expired - Fee Related JP4729969B2 (en) 2005-05-09 2005-05-09 Gateway device

Country Status (1)

Country Link
JP (1) JP4729969B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013536666A (en) * 2010-07-30 2013-09-19 アクセンチュア グローバル サービスィズ リミテッド Intelligent core engine
JP2013255177A (en) * 2012-06-08 2013-12-19 Mitsubishi Electric Corp Information conversion device
KR101480052B1 (en) 2014-01-02 2015-01-08 현대자동차주식회사 Gateway for an in-vehicle network including different communication protocols and method for controlling there of

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1124710A (en) * 1997-07-01 1999-01-29 Toshiba Corp Distributed control system
JP2003042523A (en) * 2001-08-02 2003-02-13 Sanki Eng Co Ltd Operation method and system for air conditioning apparatus
JP2003229880A (en) * 2002-02-05 2003-08-15 Yokogawa Electric Corp Wide area monitor and control system
JP2003288209A (en) * 2002-03-28 2003-10-10 Mitsubishi Electric Corp Object-using gateway device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1124710A (en) * 1997-07-01 1999-01-29 Toshiba Corp Distributed control system
JP2003042523A (en) * 2001-08-02 2003-02-13 Sanki Eng Co Ltd Operation method and system for air conditioning apparatus
JP2003229880A (en) * 2002-02-05 2003-08-15 Yokogawa Electric Corp Wide area monitor and control system
JP2003288209A (en) * 2002-03-28 2003-10-10 Mitsubishi Electric Corp Object-using gateway device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013536666A (en) * 2010-07-30 2013-09-19 アクセンチュア グローバル サービスィズ リミテッド Intelligent core engine
JP2013255177A (en) * 2012-06-08 2013-12-19 Mitsubishi Electric Corp Information conversion device
KR101480052B1 (en) 2014-01-02 2015-01-08 현대자동차주식회사 Gateway for an in-vehicle network including different communication protocols and method for controlling there of

Also Published As

Publication number Publication date
JP4729969B2 (en) 2011-07-20

Similar Documents

Publication Publication Date Title
CN100547977C (en) The home network universal middleware bridge system and the method that are used for the housed device interoperability of isomery home network middleware
JP4065434B2 (en) Router device and method for starting up router device
US20050021714A1 (en) Home network apparatus and system for cooperative work service and method thereof
US9049040B2 (en) System and a method for remotely using electrical devices
US8732338B2 (en) Mesh network bridge routing
JP2010178089A (en) Remote management system, remote management apparatus and connection device
US20130238779A1 (en) Data structure for managing sensor network using id of sensor node and method using the same
JP5974931B2 (en) Communication device
JP4973598B2 (en) Gateway device
JP5174401B2 (en) Network system
JP4729969B2 (en) Gateway device
KR101048613B1 (en) Home network service provider
JP2007174405A (en) Position information system
JP5135422B2 (en) Gateway device
JP5038956B2 (en) Network system
US11716221B2 (en) Switchboard management system using ring network
JP6002642B2 (en) Communication node, network system, and device control method
JP4635523B2 (en) POSITION INFORMATION SYSTEM AND DEVICE USED IN THE SYSTEM, CONCENTRATOR, AND DEVICE MANAGEMENT DEVICE
JP2007174404A (en) Position information system
JP2006121253A (en) Node detecting method and node detector
JP2009182667A (en) Electronic device, and network system
JP2010177772A (en) Apparatus for management of equipment
JP4079175B2 (en) Network system
WO2008001984A1 (en) Data structure for managing sensor network using id of sensor node and method using the same
KR100706318B1 (en) Method of Supporting for Compatibility between LnCP and Another Protocol

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110404

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

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4729969

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees