JP4548126B2 - Registration server device and remote monitoring control system - Google Patents

Registration server device and remote monitoring control system Download PDF

Info

Publication number
JP4548126B2
JP4548126B2 JP2005014749A JP2005014749A JP4548126B2 JP 4548126 B2 JP4548126 B2 JP 4548126B2 JP 2005014749 A JP2005014749 A JP 2005014749A JP 2005014749 A JP2005014749 A JP 2005014749A JP 4548126 B2 JP4548126 B2 JP 4548126B2
Authority
JP
Japan
Prior art keywords
gateway device
communication
gateway
master
processing unit
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.)
Expired - Fee Related
Application number
JP2005014749A
Other languages
Japanese (ja)
Other versions
JP2006203696A (en
Inventor
英亮 山口
義久 本間
利信 河崎
仁志 野村
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 Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP2005014749A priority Critical patent/JP4548126B2/en
Publication of JP2006203696A publication Critical patent/JP2006203696A/en
Application granted granted Critical
Publication of JP4548126B2 publication Critical patent/JP4548126B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、複数のゲートウェイ装置を管理する登録サーバ装置、及びこれを備えた遠隔監視制御システムに関する。   The present invention relates to a registration server device that manages a plurality of gateway devices, and a remote monitoring control system including the same.

戸建て住宅、集合住宅、庁舎、ホール、商業ビル、オフィスビル及び工場等の建物には、照明機器、空調機器、計測機器及び防犯機器等の様々な機器が設置されている。近年では、通信技術等の進展により、これら機器は、有線又は無線の伝送路によって相互に通信可能に接続されることによってネットワーク化され、さらに機器監視制御装置がネットワークに接続されて機器監視制御装置によって集中的に監視されるようになっている。そして、インターネットの普及により、最近では、インターネットを利用して端末装置からこれら機器を遠隔に監視する遠隔監視制御システムの開発も進展している(例えば、特許文献1参照。)。   Various devices such as lighting devices, air conditioning devices, measuring devices, and security devices are installed in buildings such as detached houses, apartment buildings, government buildings, halls, commercial buildings, office buildings, and factories. In recent years, due to advances in communication technology and the like, these devices are connected to each other via a wired or wireless transmission path so that they can communicate with each other, and further, a device monitoring control device is connected to the network and the device monitoring control device is connected. Is being monitored centrally. With the spread of the Internet, recently, development of a remote monitoring control system that remotely monitors these devices from a terminal device using the Internet is also progressing (see, for example, Patent Document 1).

図9は、この種の背景技術に係る遠隔監視制御システムの構成の一例を示すブロック図である。図9に示す遠隔監視制御システム101は、例えば住宅やビル等の建物に設置される防犯機器や空調機器等であるローカルシステム102−1,102−2,102−3と、機器監視制御装置の一態様であるゲートウェイ装置103−1,103−2,103−3と、例えば電話網、ディジタル通信網及び無線通信網等から構成されるネットワーク104と、例えばパーソナルコンピュータを用いて構成されるセンタサーバ105とを備えている。ここで、本明細書において、総称する場合には添え字を省略した参照符号で示し、個別の構成を指す場合には添え字を付した参照符号で示す。   FIG. 9 is a block diagram showing an example of the configuration of a remote monitoring control system according to this type of background art. The remote monitoring control system 101 shown in FIG. 9 includes, for example, local systems 102-1, 102-2, and 102-3 that are crime prevention devices and air conditioning devices installed in a building such as a house or a building, and device monitoring control devices. Gateway device 103-1, 103-2, 103-3 which is one mode, a network 104 composed of, for example, a telephone network, a digital communication network, a wireless communication network, etc., and a center server composed of, for example, a personal computer 105. Here, in this specification, when referring generically, it shows with the reference symbol which abbreviate | omitted the suffix, and when referring to an individual structure, it shows with the reference symbol which attached the suffix.

そして、ローカルシステム102−1,102−2,102−3は、ゲートウェイ装置103−1,103−2,103−3にそれぞれ動作状態や防犯警報等を示す監視情報を送信する。ゲートウェイ装置103−1,103−2,103−3は、ローカルシステム102−1,102−2,102−3から送信された監視情報や各ゲートウェイ装置103の生存状態を通知するための生存信号等をネットワーク104を介して遠隔に設置されたセンタサーバ105へそれぞれ定期的に送信するようになっている。
特開2004−280717号公報
Then, the local systems 102-1, 102-2, and 102-3 transmit monitoring information indicating an operation state, a security alarm, and the like to the gateway devices 103-1, 103-2, and 103-3, respectively. The gateway devices 103-1, 103-2, and 103-3 are monitoring information transmitted from the local systems 102-1, 102-2, and 102-3, a survival signal for notifying the survival state of each gateway device 103, and the like. Are periodically transmitted to the center server 105 installed remotely via the network 104.
Japanese Patent Laid-Open No. 2004-280717

ところで、ネットワーク104に接続された複数のゲートウェイ装置103から監視情報や生存信号等の情報がセンタサーバ105へ送信されると、センタサーバ105は複数のゲートウェイ装置103とそれぞれ通信処理を実行する必要があるため、ゲートウェイ装置103の台数の増加に伴いセンタサーバ105の通信負荷が増大するという不都合があった。特に各ゲートウェイ装置103が定期的に生存信号をセンタサーバ105へ送信する場合、影響が大きい。   Incidentally, when information such as monitoring information and a survival signal is transmitted from the plurality of gateway devices 103 connected to the network 104 to the center server 105, the center server 105 needs to execute communication processing with each of the plurality of gateway devices 103. For this reason, the communication load of the center server 105 increases as the number of gateway devices 103 increases. In particular, when each gateway device 103 periodically transmits a survival signal to the center server 105, the influence is great.

本発明は、このような問題に鑑みて為された発明であり、複数のゲートウェイ装置がそれぞれ所定の情報をサーバ装置へ通知する遠隔監視制御システムにおいて、ゲートウェイ装置の台数の増加に伴うサーバ装置における通信負荷の増加を低減することができる登録サーバ装置、及びこれを用いた遠隔監視制御システムを提供することを目的とする。   The present invention is an invention made in view of such a problem. In a remote monitoring control system in which a plurality of gateway devices respectively notify predetermined information to a server device, the server device according to an increase in the number of gateway devices. It is an object of the present invention to provide a registration server device capable of reducing an increase in communication load and a remote monitoring control system using the same.

上述の目的を達成するために、本発明の第1の手段に係る遠隔監視制御システムは、所定の情報を収容する通信信号を送信する複数のゲートウェイ装置と、前記複数のゲートウェイ装置とネットワークを介して通信可能に接続され、前記通信信号を受信して前記所定の情報を管理するセンタサーバとを備える遠隔監視制御システムにおいて、前記複数のゲートウェイ装置と前記ネットワークを介して通信を行う通信処理部と、前記複数のゲートウェイ装置のうちの一のゲートウェイ装置をマスタゲートウェイ装置に設定すると共に、前記複数のゲートウェイ装置のうちの残余のゲートウェイ装置をスレーブゲートウェイ装置に設定する設定制御部とを備える登録サーバ装置をさらに備え、前記マスタゲートウェイ装置は、前記スレーブゲートウェイ装置から受信した前記通信信号を取りまとめて前記センタサーバに転送することを特徴としている。   In order to achieve the above-described object, a remote monitoring control system according to a first means of the present invention includes a plurality of gateway devices that transmit a communication signal containing predetermined information, the plurality of gateway devices, and a network. A communication processing unit that communicates with the plurality of gateway devices via the network in a remote monitoring control system that includes a center server that is communicably connected and receives the communication signal and manages the predetermined information. A registration server device comprising: a setting controller configured to set one of the plurality of gateway devices as a master gateway device and set the remaining gateway device among the plurality of gateway devices as a slave gateway device The master gateway device further includes the slave gate. Is characterized in that transferred to the center server compiles the communication signal received from the E Lee device.

また、上述の遠隔監視制御システムにおいて、前記登録サーバ装置は、前記複数のゲートウェイ装置を管理するための情報を記憶する管理情報記憶部と、前記通信処理部により前記ゲートウェイ装置の通信アドレスが受信された場合、当該通信アドレスを前記管理情報記憶部に記憶させる登録処理部とを備え、前記登録サーバ装置の設定制御部は、前記通信処理部により前記複数のゲートウェイ装置のうち一のゲートウェイ装置の通信アドレス情報が受信され、かつ前記管理情報記憶部に他のゲートウェイ装置の通信アドレスが記憶されていない場合、当該一のゲートウェイ装置を前記マスタゲートウェイ装置に設定する旨の設定指示を前記通信処理部により当該一のゲートウェイ装置へ送信させ、前記通信処理部により前記複数のゲートウェイ装置のうち一のゲートウェイ装置の通信アドレスが受信され、かつ前記管理情報記憶部に他のゲートウェイ装置の通信アドレスが記憶されている場合、当該一のゲートウェイ装置を前記マスタゲートウェイ装置に対して前記所定の情報を送信するスレーブゲートウェイ装置に設定する旨の設定指示を前記通信処理部により当該一のゲートウェイ装置へ送信させることを特徴としている。   In the above-described remote monitoring control system, the registration server device receives a communication address of the gateway device by a management information storage unit that stores information for managing the plurality of gateway devices and the communication processing unit. A registration processing unit that stores the communication address in the management information storage unit, and the setting control unit of the registration server device communicates with one gateway device among the plurality of gateway devices by the communication processing unit. When the address information is received and the communication address of another gateway device is not stored in the management information storage unit, a setting instruction for setting the one gateway device to the master gateway device is issued by the communication processing unit. The communication processing unit transmits the plurality of gateways to the one gateway device. When the communication address of one gateway device among the devices is received and the communication address of another gateway device is stored in the management information storage unit, the one gateway device is connected to the master gateway device. A setting instruction for setting to a slave gateway apparatus that transmits predetermined information is transmitted to the one gateway apparatus by the communication processing unit.

そして、上述の遠隔監視制御システムにおいて、前記スレーブゲートウェイ装置は、前記マスタゲートウェイ装置に対して前記所定の情報を送信することができない場合、前記マスタゲートウェイ装置との間で通信できない旨の信号を前記登録サーバ装置へ送信し、前記登録サーバ装置の設定制御部は、前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、前記管理情報記憶部に記憶されている当該マスタゲートウェイ装置以外のゲートウェイ装置へ、新たなマスタゲートウェイ装置に設定する旨の設定指示を前記通信処理部により送信させるマスタゲートウェイ更新処理を行うことを特徴としている。   In the remote monitoring control system described above, when the slave gateway device cannot transmit the predetermined information to the master gateway device, a signal indicating that communication with the master gateway device is not possible is performed. The registration information is transmitted to the registration server device, and the setting control unit of the registration server device stores the management information when the communication processing unit receives a signal indicating that communication cannot be performed with the master gateway device from the slave gateway device. A master gateway update process is performed in which a setting instruction for setting a new master gateway device is transmitted to a gateway device other than the master gateway device stored in the communication unit by the communication processing unit.

さらに、上述の遠隔監視制御システムにおいて、前記登録サーバ装置の設定制御部は、前記マスタゲートウェイ更新処理において、新たなマスタゲートウェイ装置が指定される前にマスタゲートウェイ装置であった旧マスタゲートウェイ装置の通信アドレスが前記通信処理部により受信された場合、当該旧マスタゲートウェイ装置を前記新たなマスタゲートウェイ装置に対するスレーブゲートウェイ装置に設定する旨の設定指示を当該旧マスタゲートウェイ装置へ前記通信処理部により送信させることを特徴としている。   Furthermore, in the above-described remote monitoring control system, the setting control unit of the registration server device communicates with the old master gateway device that was the master gateway device before the new master gateway device was specified in the master gateway update process. When the address is received by the communication processing unit, a setting instruction for setting the old master gateway device as a slave gateway device for the new master gateway device is transmitted to the old master gateway device by the communication processing unit. It is characterized by.

また、上述の遠隔監視制御システムにおいて、前記登録サーバ装置の設定制御部は、前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、当該マスタゲートウェイ装置に指定されたゲートウェイ装置の通信アドレスをオフライン状態として前記管理情報記憶部に記憶させ、前記管理情報記憶部により前記オフライン状態として記憶されているゲートウェイ装置の通信アドレスが前記通信処理部により受信された場合、当該通信アドレスのゲートウェイ装置についてオンライン状態として前記管理情報記憶部に記憶させ、前記オフライン状態から前記オンライン状態に変化した回数を当該状態の変化したゲートウェイ装置についての状態遷移回数として計数すると共に前記管理情報記憶部に記憶させ、再び前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、前記マスタゲートウェイ更新処理において、前記管理情報記憶部に記憶されているゲートウェイ装置のうちオフライン状態として記憶されているゲートウェイ装置を除くゲートウェイ装置のうち最も前記状態遷移回数が少ないゲートウェイ装置へ、新たなマスタゲートウェイ装置に設定する旨の設定指示を前記通信処理部により送信させることを特徴としている。   In the remote monitoring control system described above, the setting control unit of the registration server device receives the signal indicating that the communication processing unit cannot communicate with the master gateway device from the slave gateway device. The communication address of the gateway device designated as the master gateway device is stored in the management information storage unit as an offline state, and the communication address of the gateway device stored as the offline state by the management information storage unit is stored by the communication processing unit. If received, the management information storage unit stores the gateway device of the communication address as an online state, and counts the number of times the state has changed from the offline state to the online state as the number of state transitions for the gateway device whose state has changed. You And when the signal indicating that communication with the master gateway device cannot be performed from the slave gateway device is received again by the communication processing unit in the master gateway update processing, A setting instruction for setting a new master gateway device to a gateway device with the smallest number of state transitions among gateway devices other than the gateway device stored as an offline state among the gateway devices stored in the storage unit The transmission is performed by the communication processing unit.

そして、上述の遠隔監視制御システムにおいて、前記登録サーバ装置の設定制御部は、前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、前記マスタゲートウェイ装置に指定されたゲートウェイ装置の生存確認を行い、当該ゲートウェイ装置が生存していない場合は前記マスタゲートウェイ更新処理を実行し、当該ゲートウェイ装置が生存している場合は前記マスタゲートウェイ装置との間で通信できない旨の信号を送信したスレーブゲートウェイ装置へ、前記マスタゲートウェイ装置に対する通信の再開指示を前記通信処理部により送信させることを特徴としている。   In the remote monitoring control system described above, the setting control unit of the registration server device receives a signal indicating that the communication processing unit cannot communicate with the master gateway device from the slave gateway device. Confirms the existence of the gateway device designated as the master gateway device, and executes the master gateway update process when the gateway device is not alive, and with the master gateway device when the gateway device is alive The communication processing unit transmits a communication restart instruction to the master gateway device to the slave gateway device that has transmitted a signal indicating that communication cannot be performed between the slave gateway devices.

また、本発明の第2の手段に係る登録サーバ装置は、所定の情報を収容する通信信号を送信する複数のゲートウェイ装置と、前記複数のゲートウェイ装置とネットワークを介して通信可能に接続され、前記通信信号を受信して前記所定の情報を管理するセンタサーバとを備える遠隔監視制御システムに前記ネットワークを介して通信可能に接続される登録サーバ装置であって、前記複数のゲートウェイ装置と前記ネットワークを介して通信を行う通信処理部と、前記複数のゲートウェイ装置のうちの一のゲートウェイ装置を、前記スレーブゲートウェイ装置から受信した前記通信信号を取りまとめて前記センタサーバに転送するマスタゲートウェイ装置に設定すると共に、前記複数のゲートウェイ装置のうちの残余のゲートウェイ装置をスレーブゲートウェイ装置に設定する設定制御部とを備えることを特徴としている。   Further, the registration server device according to the second means of the present invention is connected to a plurality of gateway devices that transmit communication signals containing predetermined information, and the plurality of gateway devices so as to communicate with each other via a network, A registration server device communicably connected via a network to a remote monitoring and control system comprising a center server that receives a communication signal and manages the predetermined information, the plurality of gateway devices and the network And setting a communication processing unit that performs communication via one of the plurality of gateway devices as a master gateway device that collects the communication signals received from the slave gateway device and transfers them to the center server. Thread the remaining gateway devices among the plurality of gateway devices. It is characterized in that it comprises a setting control unit that sets the blanking gateway device.

このような構成の遠隔監視制御システム及び登録サーバ装置は、登録サーバ装置によって、センタサーバとネットワークを介して接続された複数のゲートウェイ装置のうち一のゲートウェイ装置がマスタゲートウェイ装置に設定され、残余のゲートウェイ装置がスレーブゲートウェイ装置に設定される。そして、マスタゲートウェイ装置によって、スレーブゲートウェイ装置から送信された所定の情報を収容する通信信号が取りまとめられてセンタサーバに転送されるので、センタサーバは各ゲートウェイ装置と個別に通信処理を実行する必要がなく、ゲートウェイ装置の台数の増加に伴うサーバ装置における通信負荷の増加を低減することができる。   In the remote monitoring control system and the registration server device configured as described above, one of the plurality of gateway devices connected to the center server via the network is set as the master gateway device by the registration server device. The gateway device is set as a slave gateway device. Since the master gateway device collects communication signals containing predetermined information transmitted from the slave gateway device and transfers them to the center server, the center server needs to execute communication processing with each gateway device individually. In addition, it is possible to reduce an increase in communication load on the server device accompanying an increase in the number of gateway devices.

以下、本発明に係る実施形態を図面に基づいて説明する。なお、各図において同一の符号を付した構成は、同一の構成であることを示し、その説明を省略する。   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.

図1は、本発明の一実施形態に係る登録サーバ装置を用いた遠隔監視制御システムの一例を示すブロック図である。図1に示す遠隔監視制御システム1は、例えば住宅やビル等の建物に設置される防犯機器や空調機器等であるローカルシステム2−1,2−2,2−3と、機器監視制御装置の一態様であるゲートウェイ装置3−1,3−2,3−3と、例えば電話網、ディジタル通信網及び無線通信網等から構成されるネットワーク4と、例えばパーソナルコンピュータを用いて構成されるセンタサーバ5と、例えばパーソナルコンピュータを用いて構成される登録サーバ装置6とを備えている。ネットワーク4は、例えば、通信プロトコルにHTTP(HyperText Transfer Protocol)、FTP(File Transfer Protocol)及びTCP/IP(Transmission Control Protocol/Internet Protocol)等の所謂インターネットプロトコル群が用いられてインターネットを構成する。なお、ネットワーク4は、イントラネットでもよい。   FIG. 1 is a block diagram showing an example of a remote monitoring control system using a registration server device according to an embodiment of the present invention. A remote monitoring control system 1 shown in FIG. 1 includes, for example, local systems 2-1, 2-2, 2-3 that are crime prevention devices and air conditioning devices installed in buildings such as houses and buildings, and device monitoring control devices. A gateway server 3-1, 3-2, 3-3, which is one embodiment, a network 4 including, for example, a telephone network, a digital communication network, and a wireless communication network, and a center server configured using, for example, a personal computer 5 and a registration server device 6 configured using, for example, a personal computer. The network 4 constitutes the Internet using, for example, a so-called Internet protocol group such as HTTP (HyperText Transfer Protocol), FTP (File Transfer Protocol), and TCP / IP (Transmission Control Protocol / Internet Protocol) as a communication protocol. The network 4 may be an intranet.

そして、ローカルシステム2−1,2−2,2−3は、ゲートウェイ装置3−1,3−2,3−3にそれぞれ動作状態や防犯警報等を示す監視情報を送信すると共にセンタサーバ5からネットワーク4とゲートウェイ装置3とを介して送信された制御指令を受信し、当該制御指令に応じた動作を実行する。登録サーバ装置6は、ゲートウェイ装置3−1,3−2,3−3のうちいずれかをマスタゲートウェイ装置に指定し、残余のゲートウェイ装置3をスレーブゲートウェイ装置に指定する。登録サーバ装置6によってスレーブゲートウェイ装置に指定されたゲートウェイ装置3は、マスタゲートウェイに指定されたゲートウェイ装置3へ各ローカルシステム2から送信された監視情報や自機の生存信号等の情報を所定の情報である通知情報として送信する。   Then, the local systems 2-1, 2-2, 2-3 transmit monitoring information indicating an operation state, a security alarm, etc. to the gateway devices 3-1, 3-2, 3-3 and A control command transmitted via the network 4 and the gateway device 3 is received, and an operation corresponding to the control command is executed. The registration server device 6 designates one of the gateway devices 3-1, 3-2 and 3-3 as a master gateway device, and designates the remaining gateway device 3 as a slave gateway device. The gateway device 3 designated as the slave gateway device by the registration server device 6 receives the monitoring information transmitted from each local system 2 to the gateway device 3 designated as the master gateway, information such as a survival signal of the own device, and the predetermined information. Is sent as notification information.

一方、マスタゲートウェイ装置に指定されたゲートウェイ装置3は、当該ゲートウェイ装置3に接続されたローカルシステム2から送信された監視情報や自機の生存信号等の情報、及びスレーブゲートウェイ装置に指定されたゲートウェイ装置3から送信された通知情報(当該スレーブゲートウェイ装置に接続されたローカルシステム2から送信された監視情報及び当該スレーブゲートウェイ装置の生存信号等の情報)を取りまとめてセンタサーバ5へ送信する。   On the other hand, the gateway device 3 designated as the master gateway device includes the monitoring information transmitted from the local system 2 connected to the gateway device 3, information such as the existence signal of the own device, and the gateway designated as the slave gateway device. The notification information transmitted from the device 3 (monitoring information transmitted from the local system 2 connected to the slave gateway device and information such as the survival signal of the slave gateway device) is collected and transmitted to the center server 5.

例えば、ゲートウェイ装置3−1がマスタゲートウェイ装置に指定され、ゲートウェイ装置3−2,3−3がスレーブゲートウェイ装置に指定された場合、図1に破線で示すように、ゲートウェイ装置3−2,3−3は生存信号等の通知情報をゲートウェイ装置3−1へ送信し、ゲートウェイ装置3−1はゲートウェイ装置3−1の生存信号等の情報とゲートウェイ装置3−2,3−3から受信した通知情報とを取りまとめてセンタサーバ5へ送信する。   For example, when the gateway device 3-1 is designated as a master gateway device and the gateway devices 3-2 and 3-3 are designated as slave gateway devices, the gateway devices 3-2 and 3 are indicated by broken lines in FIG. -3 transmits notification information such as a survival signal to the gateway device 3-1, and the gateway device 3-1 receives information such as the survival signal of the gateway device 3-1, and the notifications received from the gateway devices 3-2 and 3-3. The information is collected and transmitted to the center server 5.

図2は、登録サーバ装置6の構成の一例を示すブロック図である。図2に示す登録サーバ装置6は、例えば管理情報記憶部61、通信処理部62、及び制御部63を備えている。管理情報記憶部61は、複数のゲートウェイ装置3を管理するための情報等を記憶する記憶部であり、機能的に、複数のゲートウェイ装置3を管理するための情報を登録する管理情報テーブルを記憶する管理情報テーブル記憶部601を備え、複数のゲートウェイ装置3のうち一のゲートウェイ装置3をマスタゲートウェイ装置に設定すると共に残余のゲートウェイ装置3をスレーブゲートウェイ装置に設定するマスタスレーブ設定処理プログラム等の各種プログラム、及び、センタサーバ5の通信アドレス等の各種プログラムの実行に必要な情報や各種プログラムの実行中に生じる情報等の各種情報を記憶する。管理情報記憶部61は、例えば、制御部63のいわゆるワーキングメモリとなるRAM(Random Access Memory)等の揮発性の記憶素子、及び、ROM(Read Only Memory)や書換可能なEEPROM(Electrically Erasable and Programmable Read Only Memory)等の不揮発性の記憶素子を備えて構成される。   FIG. 2 is a block diagram illustrating an example of the configuration of the registration server device 6. The registration server device 6 illustrated in FIG. 2 includes, for example, a management information storage unit 61, a communication processing unit 62, and a control unit 63. The management information storage unit 61 is a storage unit that stores information for managing a plurality of gateway devices 3 and functionally stores a management information table for registering information for managing the plurality of gateway devices 3. Management information table storage unit 601, various master devices such as a master slave setting processing program for setting one of the plurality of gateway devices 3 as a master gateway device and setting the remaining gateway device 3 as a slave gateway device. The program stores various information such as information necessary for executing various programs such as the communication address of the center server 5 and information generated during the execution of various programs. The management information storage unit 61 includes, for example, a volatile storage element such as a RAM (Random Access Memory) serving as a so-called working memory of the control unit 63, a ROM (Read Only Memory), and a rewritable EEPROM (Electrically Erasable and Programmable). A non-volatile storage element such as a Read Only Memory) is provided.

通信処理部62は、ネットワーク4に接続され、ネットワーク4を介してゲートウェイ装置3及びセンタサーバ5との間で通信信号を送受信するためのインターフェース回路である。通信処理部62は、制御部63からのデータをネットワーク4の通信プロトコルに従った通信信号に変換すると共にネットワーク4からの通信信号を制御部63が処理可能な形式のデータに変換する。   The communication processing unit 62 is connected to the network 4 and is an interface circuit for transmitting and receiving communication signals between the gateway device 3 and the center server 5 via the network 4. The communication processing unit 62 converts the data from the control unit 63 into a communication signal according to the communication protocol of the network 4 and converts the communication signal from the network 4 into data in a format that can be processed by the control unit 63.

制御部63は、例えば、マイクロプロセッサ及びその周辺回路等を備えて構成され、所定の制御プログラムを実行することにより、登録処理部64及び設定制御部65として機能する。登録処理部64は、通信処理部62によりゲートウェイ装置3の通信アドレス等を含む機器情報が受信された場合、該通信アドレスを管理情報テーブル記憶部601に記憶させる。   The control unit 63 includes, for example, a microprocessor and its peripheral circuits, and functions as a registration processing unit 64 and a setting control unit 65 by executing a predetermined control program. When the communication processing unit 62 receives device information including the communication address of the gateway device 3, the registration processing unit 64 stores the communication address in the management information table storage unit 601.

設定制御部65は、通信処理部62により複数のゲートウェイ装置3のうち一のゲートウェイ装置3の機器情報が受信され、かつ管理情報テーブル記憶部601に他のゲートウェイ装置3の通信アドレスが記憶されていない場合、当該一のゲートウェイ装置3をマスタゲートウェイ装置に設定する旨の設定指示を通信処理部62により当該一のゲートウェイ装置3へ送信させ、通信処理部62により複数のゲートウェイ装置3のうち一のゲートウェイ装置3の機器情報が受信され、かつ管理情報テーブル記憶部601に他のゲートウェイ装置の通信アドレスが記憶されている場合、当該一のゲートウェイ装置3をマスタゲートウェイ装置に対して所定の情報を送信するスレーブゲートウェイ装置に設定する旨の設定指示を通信処理部62により当該一のゲートウェイ装置3へ送信させる。   In the setting control unit 65, the communication processing unit 62 receives the device information of one gateway device 3 among the plurality of gateway devices 3, and the management information table storage unit 601 stores the communication address of the other gateway device 3. If not, the communication processing unit 62 transmits a setting instruction for setting the one gateway device 3 as the master gateway device to the one gateway device 3, and the communication processing unit 62 selects one of the plurality of gateway devices 3. When the device information of the gateway device 3 is received and the communication address of another gateway device is stored in the management information table storage unit 601, the one gateway device 3 transmits predetermined information to the master gateway device. The communication processing unit 62 sends a setting instruction for setting to the slave gateway device to be set. It is transmitted to the one of the gateway 3.

図3は、ゲートウェイ装置3の構成の一例を示すブロック図である。図3に示すゲートウェイ装置3は、例えば、サーバ側通信処理部31と、ローカル伝送通信処理部32と、記憶部33と、制御部34とを備えている。サーバ側通信処理部31は、ネットワーク4に接続され、ネットワーク4を介して登録サーバ装置6及びセンタサーバ5との間で通信信号を送受信するためのインターフェース回路である。サーバ側通信処理部31は、制御部34からのデータをネットワーク4の通信プロトコルに従った通信信号に変換すると共にネットワーク4からの通信信号を制御部34が処理可能な形式のデータに変換する。   FIG. 3 is a block diagram illustrating an example of the configuration of the gateway device 3. The gateway device 3 illustrated in FIG. 3 includes, for example, a server-side communication processing unit 31, a local transmission communication processing unit 32, a storage unit 33, and a control unit 34. The server-side communication processing unit 31 is an interface circuit that is connected to the network 4 and transmits and receives communication signals between the registration server device 6 and the center server 5 via the network 4. The server-side communication processing unit 31 converts the data from the control unit 34 into a communication signal according to the communication protocol of the network 4 and converts the communication signal from the network 4 into data in a format that can be processed by the control unit 34.

ローカル伝送通信処理部32は、例えばLAN(Local Area Network)や電力線搬送通信等の伝送路を介してローカルシステム2に接続され、ローカルシステム2との間で通信信号を送受信するためのインターフェース回路である。ローカル伝送通信処理部32は、制御部34からのデータをローカルシステム2で受信可能な通信信号に変換すると共にローカルシステム2からの通信信号を制御部34が処理可能な形式のデータに変換する。   The local transmission communication processing unit 32 is an interface circuit that is connected to the local system 2 via a transmission path such as a LAN (Local Area Network) or power line carrier communication, and transmits / receives communication signals to / from the local system 2. is there. The local transmission communication processing unit 32 converts the data from the control unit 34 into a communication signal that can be received by the local system 2 and converts the communication signal from the local system 2 into data in a format that can be processed by the control unit 34.

記憶部33は、例えば、RAM等の揮発性の記憶素子、及びROM等の不揮発性の記憶素子を備えて構成され、予め当該ゲートウェイ装置3に関する情報として例えば当該ゲートウェイ装置3の通信アドレス、名称等の機器情報と、登録サーバ装置6の通信アドレスとが記憶されている。   The storage unit 33 includes, for example, a volatile storage element such as a RAM and a non-volatile storage element such as a ROM. The information about the gateway device 3 is previously provided as information on the gateway device 3 such as a communication address, a name, and the like. And the communication address of the registration server device 6 are stored.

制御部34は、例えば、マイクロプロセッサ、RAM等の揮発性の記憶素子、及びROM等の不揮発性の記憶素子、及びその周辺回路等を備えて構成され、所定の制御プログラムを実行することによりマスタゲートウェイ処理部35及びスレーブゲートウェイ処理部36として機能する。マスタゲートウェイ処理部35は、スレーブゲートウェイ装置から受信した通信信号を取りまとめてセンタサーバ5へ転送する。スレーブゲートウェイ処理部36は、ローカルシステム2から受信した監視情報をマスタゲートウェイ装置へ送信する。   The control unit 34 includes, for example, a microprocessor, a volatile storage element such as a RAM, a non-volatile storage element such as a ROM, a peripheral circuit thereof, and the like, and executes a predetermined control program to execute a master. It functions as a gateway processing unit 35 and a slave gateway processing unit 36. The master gateway processing unit 35 collects the communication signals received from the slave gateway devices and transfers them to the center server 5. The slave gateway processing unit 36 transmits the monitoring information received from the local system 2 to the master gateway device.

さらに、マスタゲートウェイ処理部35及びスレーブゲートウェイ処理部36は、サーバ側通信処理部31によって、センタサーバ5からネットワーク4を介して自機に接続されたローカルシステム2に対する制御指令が受信された場合、その制御指令をローカル伝送通信処理部32によりローカルシステム2へ送信させる。これにより、遠隔に設置されたセンタサーバ5からローカルシステム2の動作を制御することができるようになっている。   Further, when the master gateway processing unit 35 and the slave gateway processing unit 36 receive a control command for the local system 2 connected to the own machine from the center server 5 via the network 4 by the server side communication processing unit 31, The control command is transmitted to the local system 2 by the local transmission communication processing unit 32. Thereby, the operation of the local system 2 can be controlled from the center server 5 installed remotely.

次に、上述のように構成された遠隔監視制御システム1の動作について説明する。図4は、遠隔監視制御システム1の動作の一例を示すシーケンス図である。まず、ゲートウェイ装置3に例えば電源電圧が供給されることによりゲートウェイ装置3、例えばゲートウェイ装置3−1が起動され(ステップS1)、ゲートウェイ装置3−1において、制御部34によって、記憶部33に予め記憶されている登録サーバ装置6の通信アドレスと、機器情報とが読み出され(ステップS2)、サーバ側通信処理部31によって、ゲートウェイ装置3−1の通信アドレスと、ゲートウェイ装置3−1の名称を示す情報とが登録サーバ装置6の通信アドレスを宛先にしてネットワーク4を介して送信される(ステップS3)。   Next, the operation of the remote monitoring control system 1 configured as described above will be described. FIG. 4 is a sequence diagram showing an example of the operation of the remote monitoring control system 1. First, for example, the gateway device 3, for example, the gateway device 3-1 is activated when a power supply voltage is supplied to the gateway device 3 (step S 1). In the gateway device 3-1, the control unit 34 stores the storage device 33 in advance. The stored communication address of the registration server device 6 and device information are read out (step S2), and the communication address of the gateway device 3-1 and the name of the gateway device 3-1 are read by the server side communication processing unit 31. Is transmitted via the network 4 with the communication address of the registration server device 6 as the destination (step S3).

次に、登録サーバ装置6における通信処理部62によって、ゲートウェイ装置3−1から送信された当該ゲートウェイ装置3−1の通信アドレスと名称を示す情報とが受信され、登録処理部64によって、ゲートウェイ装置3を管理するための管理情報の登録処理が行われる(ステップS4)。   Next, the communication processing unit 62 in the registration server device 6 receives the communication address and the information indicating the name of the gateway device 3-1 transmitted from the gateway device 3-1. 3 is registered (step S4).

図5及び図6は、登録サーバ装置6の動作の一例を示すフローチャートである。まず、登録サーバ装置6における通信処理部62によって、ゲートウェイ装置3、例えばゲートウェイ装置3−1から送信された通信信号が受信され(ステップS101)、制御部63によって、通信処理部62で受信された通信信号に通信エラーの発生を示すエラー情報を含んでいるか否かが判定される(ステップS102)。今、通信処理部62で受信された通信信号にはエラー信号は含まれていないので(ステップS102でNO)、登録処理部64によって、当該通信信号に収容されているゲートウェイ装置3−1の通信アドレスが管理情報テーブル記憶部601に記憶されているか否かが確認される(ステップS103)。   5 and 6 are flowcharts illustrating an example of the operation of the registration server device 6. First, a communication signal transmitted from the gateway device 3, for example, the gateway device 3-1, is received by the communication processing unit 62 in the registration server device 6 (step S101), and received by the communication processing unit 62 by the control unit 63. It is determined whether or not the communication signal includes error information indicating the occurrence of a communication error (step S102). Now, since the error signal is not included in the communication signal received by the communication processing unit 62 (NO in step S102), the communication of the gateway device 3-1 accommodated in the communication signal is performed by the registration processing unit 64. It is confirmed whether or not the address is stored in the management information table storage unit 601 (step S103).

管理情報テーブル記憶部601には、初期状態では予めセンタサーバ5の通信アドレスが記憶されており、ゲートウェイ装置3−1の通信アドレスは記憶されていないので(ステップS103でNO)、登録処理部64によって、通信処理部62で受信された通信信号に収容されている機器情報が管理情報テーブル記憶部601に記憶される(ステップS104)。   Since the communication address of the center server 5 is stored in advance in the management information table storage unit 601 in the initial state and the communication address of the gateway device 3-1 is not stored (NO in step S103), the registration processing unit 64 Thus, the device information stored in the communication signal received by the communication processing unit 62 is stored in the management information table storage unit 601 (step S104).

次に、設定制御部65によって、オンライン状態のマスタゲートウェイ装置の有無が管理情報テーブル記憶部601を参照して確認される(ステップS105)。今、管理情報テーブル記憶部601には、当該ゲートウェイ装置3−1以外のゲートウェイ装置3は記憶されておらず、従ってマスタゲートウェイ装置は記憶されていないので(ステップS105でNO)、当該ゲートウェイ装置3−1をマスタゲートウェイ装置にするべくステップS106へ移行する。そして、設定制御部65によって、管理情報テーブル記憶部601にゲートウェイ装置3−1がオンライン状態のマスタゲートウェイ装置として記憶される(ステップS106)。   Next, the setting control unit 65 checks the presence / absence of an online master gateway device with reference to the management information table storage unit 601 (step S105). Now, since no gateway device 3 other than the gateway device 3-1 is stored in the management information table storage unit 601, and therefore no master gateway device is stored (NO in step S105), the gateway device 3 is not stored. The process proceeds to step S106 in order to make −1 a master gateway device. Then, the setting control unit 65 stores the gateway device 3-1 in the management information table storage unit 601 as an online master gateway device (step S106).

図7は、管理情報テーブル記憶部601に記憶される管理情報テーブル610を表形式で示した説明図である。図7(a)に示す管理情報テーブル610は、順序611、端末の名称612、通信アドレス613、端末種別614、端末状態615、及び遷移回数616を含んでいる。順序611は、管理情報テーブル610に登録された順番を示している。端末の名称612は、各端末の名称であり、例えばセンタサーバ5の名称「センタサーバ5」、ゲートウェイ装置3−1の名称「ゲートウェイ装置3−1」等である。通信アドレス613は、各端末に付与されている通信アドレスである。端末種別614は、マスタゲートウェイ装置であるかスレーブゲートウェイ装置であるかを示す情報で、例えば、マスタゲートウェイ装置は「マスタ」、スレーブゲートウェイ装置は「スレーブ」とされる。端末状態615は、各端末が生存状態であるか否かを示す情報で、生存状態であれば「オンライン」、生存状態でなければ「オフライン」とされる。遷移回数616は、各端末毎に、端末状態615が「オフライン」から「オンライン」へ切り替わった回数を示している。   FIG. 7 is an explanatory diagram showing the management information table 610 stored in the management information table storage unit 601 in a table format. The management information table 610 illustrated in FIG. 7A includes an order 611, a terminal name 612, a communication address 613, a terminal type 614, a terminal state 615, and a transition count 616. An order 611 indicates the order registered in the management information table 610. The terminal name 612 is the name of each terminal, for example, the name “center server 5” of the center server 5, the name “gateway device 3-1” of the gateway device 3-1, and the like. The communication address 613 is a communication address assigned to each terminal. The terminal type 614 is information indicating whether it is a master gateway device or a slave gateway device. For example, the master gateway device is “master” and the slave gateway device is “slave”. The terminal status 615 is information indicating whether or not each terminal is alive, and is “online” if it is alive, and “offline” if it is not alive. The number of transitions 616 indicates the number of times the terminal state 615 is switched from “offline” to “online” for each terminal.

管理情報テーブル610の先頭には、センタサーバ5の通信アドレス「A5」が予め記憶されている。そして、ステップS104において、センタサーバ5が記憶されている次の行に、通信処理部62で受信された通信信号に収容されている機器情報で示される名称「ゲートウェイ装置3−1」及びゲートウェイ装置3−1のアドレス「A31」が記憶され、ステップS106においてゲートウェイ装置3−1の端末種別「マスタ」と端末状態「オンライン」とが記憶される。   At the head of the management information table 610, the communication address “A5” of the center server 5 is stored in advance. In step S104, the name “gateway device 3-1” and the gateway device indicated by the device information contained in the communication signal received by the communication processing unit 62 are displayed in the next row in which the center server 5 is stored. The address “A31” of 3-1 is stored, and the terminal type “master” and the terminal state “online” of the gateway device 3-1 are stored in step S106.

次に、設定制御部65によって、通信処理部62で受信された通信信号の送信元であるゲートウェイ装置3−1をマスタゲートウェイ装置として設定する旨の設定指示と、管理情報テーブル610に記憶されているセンタサーバ5の通信アドレス「A5」とが、通信処理部62からネットワーク4を介してゲートウェイ装置3−1へ送信される(ステップS107)。   Next, the setting control unit 65 stores the setting instruction to set the gateway device 3-1 that is the transmission source of the communication signal received by the communication processing unit 62 as the master gateway device, and the management information table 610. The communication address “A5” of the existing center server 5 is transmitted from the communication processing unit 62 to the gateway device 3-1 via the network 4 (step S107).

そして、図4に戻ってステップS5において、ゲートウェイ装置3−1へマスタゲートウェイ装置として設定する旨の設定指示とセンタサーバ5の通信アドレス「A5」とが、登録サーバ装置6における通信処理部62からネットワーク4を介してゲートウェイ装置3−1へ送信され、サーバ側通信処理部31によって受信されたセンタサーバ5の通信アドレス「A5」が記憶部33により記憶され、マスタゲートウェイ処理部35によって、マスタゲートウェイ装置としての動作が実行される(ステップS6)。マスタゲートウェイ装置としての動作については後述する。   Returning to FIG. 4, in step S <b> 5, a setting instruction for setting the gateway device 3-1 as the master gateway device and the communication address “A5” of the center server 5 are sent from the communication processing unit 62 in the registration server device 6. The communication address “A5” of the center server 5 transmitted to the gateway device 3-1 via the network 4 and received by the server-side communication processing unit 31 is stored in the storage unit 33, and the master gateway processing unit 35 stores the master gateway. Operation as a device is executed (step S6). The operation as the master gateway device will be described later.

次に、ゲートウェイ装置3、例えばゲートウェイ装置3−2が起動された場合、ステップS1〜S4と同様にして、ゲートウェイ装置3−2から登録サーバ装置6へ、ゲートウェイ装置3−2の通信アドレスと、ゲートウェイ装置3−2の名称を示す情報とがネットワーク4を介して送信され(ステップS1〜S3)、ゲートウェイ装置3−2の登録処理が行われる(ステップS4)。   Next, when the gateway device 3, for example, the gateway device 3-2 is activated, the communication address of the gateway device 3-2 is transferred from the gateway device 3-2 to the registration server device 6 in the same manner as steps S <b> 1 to S <b> 4. Information indicating the name of the gateway device 3-2 is transmitted via the network 4 (steps S1 to S3), and registration processing of the gateway device 3-2 is performed (step S4).

図5を参照して、上述のステップS101〜S103と同様の処理によりステップS104へ移行する。そして、図7(a)に示すように、登録処理部64によって、通信処理部62で受信された通信信号に収容されている機器情報、すなわちゲートウェイ装置3−2の名称「ゲートウェイ装置3−2」と、通信アドレス「A32」とが管理情報テーブル610のゲートウェイ装置3−1の次に記憶される(ステップS104)。   Referring to FIG. 5, the process proceeds to step S <b> 104 by the same processing as steps S <b> 101 to S <b> 103 described above. Then, as shown in FIG. 7A, the registration processing unit 64 stores the device information contained in the communication signal received by the communication processing unit 62, that is, the name “gateway device 3-2” of the gateway device 3-2. And the communication address “A32” are stored next to the gateway device 3-1 in the management information table 610 (step S104).

次に、設定制御部65によって、オンライン状態のマスタゲートウェイ装置の有無が管理情報テーブル610を参照して確認され(ステップS105)、ゲートウェイ装置3−1がオンライン状態のマスタゲートウェイ装置として記憶されているので(ステップS105でYES)、当該ゲートウェイ装置3−2をスレーブゲートウェイ装置にするべくステップS108へ移行する。そして、設定制御部65によって、ゲートウェイ装置3−2について、管理情報テーブル610にオンライン状態のスレーブゲートウェイ装置として記憶される(ステップS108)。   Next, the setting control unit 65 checks whether there is an online master gateway device with reference to the management information table 610 (step S105), and the gateway device 3-1 is stored as an online master gateway device. Therefore (YES in step S105), the process proceeds to step S108 to make the gateway device 3-2 a slave gateway device. Then, the setting control unit 65 stores the gateway device 3-2 in the management information table 610 as an online slave gateway device (step S108).

次に、設定制御部65によって、通信処理部62で受信された通信信号の送信元であるゲートウェイ装置3−2をスレーブゲートウェイ装置として設定する旨の設定指示と、管理情報テーブル610に記憶されているマスタゲートウェイ装置であるゲートウェイ装置3−1の通信アドレス「A31」とが、通信処理部62からネットワーク4を介してゲートウェイ装置3−2へ送信される(ステップS109)。   Next, the setting control unit 65 stores in the management information table 610 a setting instruction for setting the gateway device 3-2 that is the transmission source of the communication signal received by the communication processing unit 62 as a slave gateway device. The communication address “A31” of the gateway device 3-1 that is the master gateway device is transmitted from the communication processing unit 62 to the gateway device 3-2 via the network 4 (step S109).

そして、図4に戻ってステップS5において、ゲートウェイ装置3−2へスレーブゲートウェイ装置として設定する旨の設定指示とマスタゲートウェイ装置であるゲートウェイ装置3−1の通信アドレス「A31」とが、登録サーバ装置6における通信処理部62からネットワーク4を介してゲートウェイ装置3−2へ送信され、サーバ側通信処理部31によって受信されたゲートウェイ装置3−1の通信アドレス「A31」が記憶部33によりマスタゲートウェイ装置の通信アドレスとして記憶され、スレーブゲートウェイ処理部36によって、スレーブゲートウェイ装置としての動作が実行される(ステップS6)。   Returning to FIG. 4, in step S5, the setting instruction for setting the gateway device 3-2 as a slave gateway device and the communication address “A31” of the gateway device 3-1, which is the master gateway device, are registered server device. 6, the communication address “A31” of the gateway device 3-1 transmitted from the communication processing unit 62 to the gateway device 3-2 via the network 4 and received by the server side communication processing unit 31 is stored in the master gateway device by the storage unit 33. The slave gateway processing unit 36 performs an operation as a slave gateway device (step S6).

以上、ステップS1〜S6、及びステップS101〜109の処理をすべてのゲートウェイ装置3について繰り返すことにより、複数のゲートウェイ装置3のうちの一のゲートウェイ装置3がマスタゲートウェイ装置に設定されると共に、複数のゲートウェイ装置3のうちの残余のゲートウェイ装置3がスレーブゲートウェイ装置に設定される。   As described above, by repeating the processes of steps S1 to S6 and steps S101 to S109 for all gateway devices 3, one gateway device 3 among the plurality of gateway devices 3 is set as the master gateway device, and The remaining gateway device 3 among the gateway devices 3 is set as a slave gateway device.

次に、マスタゲートウェイ装置に設定された例えばゲートウェイ装置3−1と、スレーブゲートウェイ装置に設定された例えばゲートウェイ装置3−2,3−3の動作について説明する。まず、ゲートウェイ装置3−1,3−2,3−3は、ローカルシステム2−1,2−2,2−3から送信された、各ローカルシステム2における動作状態や防犯警報等を示す監視情報をそれぞれローカル伝送通信処理部32によって受信し、記憶部33に記憶させる。   Next, operations of the gateway device 3-1 set as the master gateway device and the gateway devices 3-2 and 3-3 set as the slave gateway device will be described. First, the gateway devices 3-1, 3-2, 3-3 are monitoring information transmitted from the local systems 2-1, 2-2, 2-3 and indicating the operating state and security alarm in each local system 2. Are received by the local transmission communication processing unit 32 and stored in the storage unit 33.

次に、スレーブゲートウェイ装置に設定されたゲートウェイ装置3−2,3−3におけるスレーブゲートウェイ処理部36によって、記憶部33に記憶されたローカルシステム2−2,2−3から得られた監視情報等の情報が、記憶部33に記憶されているゲートウェイ装置3−1の通信アドレスを宛先にしてサーバ側通信処理部31によってネットワーク4を介して通知情報として送信されると共に、マスタゲートウェイ装置に設定されたゲートウェイ装置3−1におけるサーバ側通信処理部31で受信される。   Next, the monitoring information obtained from the local systems 2-2 and 2-3 stored in the storage unit 33 by the slave gateway processing unit 36 in the gateway devices 3-2 and 3-3 set in the slave gateway device Is transmitted as notification information via the network 4 by the server-side communication processing unit 31 with the communication address of the gateway device 3-1 stored in the storage unit 33 as a destination, and set in the master gateway device. Received by the server-side communication processing unit 31 in the gateway device 3-1.

一方、マスタゲートウェイ装置に設定されたゲートウェイ装置3−1において、マスタゲートウェイ処理部35によって、記憶部33に記憶されているローカルシステム2−1から得られた通知情報と、サーバ側通信処理部31で受信されたゲートウェイ装置3−2,3−3からの監視情報等の通知情報とが取りまとめられて一括して、サーバ側通信処理部31により記憶部33に記憶されているセンタサーバ5の通信アドレスを宛先にしてネットワーク4を介して送信される。なお、スレーブゲートウェイ装置からマスタゲートウェイ装置へ送信され、マスタゲートウェイ装置で取りまとめられる通知情報は、ローカルシステム2から得られた情報に限られず、例えばゲートウェイ装置3−1,3−2,3−3の生存情報であってもよい。   On the other hand, in the gateway device 3-1 set as the master gateway device, the notification information obtained from the local system 2-1 stored in the storage unit 33 by the master gateway processing unit 35 and the server-side communication processing unit 31. The communication of the center server 5 stored in the storage unit 33 by the server-side communication processing unit 31 by collecting the notification information such as the monitoring information from the gateway devices 3-2 and 3-3 received in the step 3. It is transmitted via the network 4 with the address as the destination. Note that the notification information transmitted from the slave gateway device to the master gateway device and collected by the master gateway device is not limited to the information obtained from the local system 2, and may be, for example, the gateway devices 3-1, 3-2, 3-3. It may be survival information.

これにより、ネットワーク4に接続された複数のゲートウェイ装置3からセンタサーバ5へ送信される通知情報が、複数のゲートウェイ装置3のうち一のマスタゲートウェイ装置によって、一旦取りまとめられ、一括してセンタサーバ5へ送信されるので、センタサーバ5は複数のゲートウェイ装置3とそれぞれ通信処理を実行する必要がなく、ゲートウェイ装置3の台数の増加に伴うセンタサーバ5における通信負荷の増大を低減することができる。   Thereby, the notification information transmitted from the plurality of gateway devices 3 connected to the network 4 to the center server 5 is once collected by one master gateway device among the plurality of gateway devices 3 and collectively the center server 5. Therefore, the center server 5 does not need to execute communication processing with each of the plurality of gateway devices 3, and an increase in communication load on the center server 5 accompanying an increase in the number of gateway devices 3 can be reduced.

次に、マスタゲートウェイ装置に設定されたゲートウェイ装置3が通信できない状態になった場合における遠隔監視制御システム1の動作について、図8を参照して説明する。まず、スレーブゲートウェイ装置である例えばゲートウェイ装置3−2から、マスタゲートウェイ装置である例えばゲートウェイ装置3−1へ通知情報が送信され(ステップS11)、一定時間以上ゲートウェイ装置3−1からのレスポンスが無いと、ゲートウェイ装置3−2におけるスレーブゲートウェイ処理部36によって、マスタゲートウェイ装置との間で通信できない通信エラーの発生が検出される(ステップS12)。そうすると、ゲートウェイ装置3−2におけるスレーブゲートウェイ処理部36によって、マスタゲートウェイ装置との間で通信できない旨の通信エラー情報が、サーバ側通信処理部31からネットワーク4を介して登録サーバ装置6へ送信される(ステップS13)。   Next, the operation of the remote monitoring control system 1 when the gateway device 3 set as the master gateway device becomes unable to communicate will be described with reference to FIG. First, notification information is transmitted from, for example, the gateway device 3-2 that is a slave gateway device to, for example, the gateway device 3-1 that is a master gateway device (step S11), and there is no response from the gateway device 3-1 for a certain time or more. Then, the slave gateway processing unit 36 in the gateway device 3-2 detects the occurrence of a communication error that cannot be communicated with the master gateway device (step S12). Then, the communication error information indicating that communication with the master gateway device cannot be performed is transmitted from the server side communication processing unit 31 to the registration server device 6 via the network 4 by the slave gateway processing unit 36 in the gateway device 3-2. (Step S13).

次に、登録サーバ装置6における通信処理部62によって、ゲートウェイ装置3−2からのマスタゲートウェイ装置との間で通信できない旨の通信エラー情報が受信され、設定制御部65によって、マスタゲートウェイ装置であるゲートウェイ装置3−1の生存確認処理が実行される(ステップS14)。   Next, communication error information indicating that communication cannot be performed with the master gateway device from the gateway device 3-2 is received by the communication processing unit 62 in the registration server device 6, and the setting control unit 65 is the master gateway device. The existence confirmation process of the gateway device 3-1 is executed (step S14).

図5に戻って、登録サーバ装置6における通信処理部62によって、ゲートウェイ装置3−2から送信された通信信号が受信され(ステップS101)、制御部63によって、通信処理部62で受信された通信信号に通信エラーの発生を示す通信エラー情報を含んでいるか否かが判定され(ステップS102)、通信エラー情報が含まれているので(ステップS102でYES)、マスタゲートウェイ装置の生存確認を実行するべく図6におけるステップS111へ移行する。   Returning to FIG. 5, the communication processing unit 62 in the registration server device 6 receives the communication signal transmitted from the gateway device 3-2 (step S <b> 101), and the communication received by the communication processing unit 62 by the control unit 63. It is determined whether or not the signal includes communication error information indicating the occurrence of a communication error (step S102). Since the communication error information is included (YES in step S102), the existence check of the master gateway device is executed. Therefore, the process proceeds to step S111 in FIG.

ステップS111において、設定制御部65によって、マスタゲートウェイ装置であるゲートウェイ装置3−1の生存確認が実行される。この場合、例えばTCP/IPにおけるピング(ping)コマンドを用いてゲートウェイ装置3−1の生存確認が実行される。ピングコマンドは、例えば、ICMP(Internet Control Message Protocol)のエコーメッセージが利用され、このエコーメッセージを受信したノードがエコー指示に応じて応答メッセージを返信するでその生存が確認される。そして、ゲートウェイ装置3−1が生存していれば(ステップS112でYES)、再びゲートウェイ装置3−2に対してゲートウェイ装置3−1への通知情報の送信を再開させるべく設定制御部65によって、通信処理部62からネットワーク4を介してゲートウェイ装置3−2へ、通信再開指示が送信される(ステップS113)。   In step S111, the setting control unit 65 performs a survival check of the gateway device 3-1, which is the master gateway device. In this case, for example, the existence confirmation of the gateway device 3-1 is executed using a ping command in TCP / IP. As the ping command, for example, an ICMP (Internet Control Message Protocol) echo message is used, and a node that has received the echo message returns a response message in response to the echo instruction, and its existence is confirmed. If the gateway device 3-1 is alive (YES in step S112), the setting control unit 65 again causes the gateway device 3-2 to resume transmission of the notification information to the gateway device 3-1. A communication resumption instruction is transmitted from the communication processing unit 62 to the gateway device 3-2 via the network 4 (step S113).

これにより、例えばノイズの影響などにより、スレーブゲートウェイ装置とマスタゲートウェイ装置との間で一時的に通信ができない状態となっていた場合などにおいては、登録サーバ装置6によってマスタゲートウェイ装置の生存確認が実行され、生存していればスレーブゲートウェイ装置に対し、再び通知情報の送信を再開させることができる。   Thereby, for example, when the communication between the slave gateway device and the master gateway device is temporarily impossible due to the influence of noise, the existence check of the master gateway device is executed by the registration server device 6. If it is alive, the slave gateway device can resume transmission of the notification information again.

一方、ゲートウェイ装置3−1が生存していなければ(ステップS112でNO)、設定制御部65によって、管理情報テーブル610におけるゲートウェイ装置3−1の端末状態615が、「オンライン」から「オフライン」に変更される(ステップS114)。そして、設定制御部65によって、管理情報テーブル610において、通信エラー情報の送信元であるゲートウェイ装置3−2の他に端末状態615が「オンライン」となっているゲートウェイ装置3が有るか否かが確認され(ステップS115)、他に無ければ(ステップS115でNO)、通信エラー情報の送信元であるゲートウェイ装置3−2をマスタゲートウェイ装置にするべくステップS106(図5)へ移行する。   On the other hand, if the gateway device 3-1 is not alive (NO in step S112), the setting control unit 65 changes the terminal state 615 of the gateway device 3-1 in the management information table 610 from “online” to “offline”. It is changed (step S114). Then, the setting control unit 65 determines whether or not there is a gateway device 3 whose terminal state 615 is “online” in addition to the gateway device 3-2 that is the transmission source of the communication error information in the management information table 610. If it is confirmed (step S115) and there is nothing else (NO in step S115), the process proceeds to step S106 (FIG. 5) so that the gateway apparatus 3-2 that is the transmission source of the communication error information becomes the master gateway apparatus.

そして、設定制御部65によって、管理情報テーブル610に、ゲートウェイ装置3−2がオンライン状態のマスタゲートウェイ装置として記憶され(ステップS106)、ゲートウェイ装置3−2をマスタゲートウェイ装置として設定する旨の設定指示と、管理情報テーブル610に記憶されているセンタサーバ5の通信アドレスとが、通信処理部62からネットワーク4を介してゲートウェイ装置3−2へ送信される(ステップS107)。   Then, the setting control unit 65 stores in the management information table 610 the gateway device 3-2 as an online master gateway device (step S106), and a setting instruction for setting the gateway device 3-2 as the master gateway device The communication address of the center server 5 stored in the management information table 610 is transmitted from the communication processing unit 62 to the gateway device 3-2 via the network 4 (step S107).

一方、通信エラー情報の送信元であるゲートウェイ装置3−2の他に端末状態615が「オンライン」となっているゲートウェイ装置3が有れば(ステップS115でYES)、管理情報テーブル610におけるオンライン状態のゲートウェイ装置3のうち遷移回数616が最少のゲートウェイ装置3が選択され(ステップS116)、さらに選択されたゲートウェイ装置3のうち、管理情報テーブル610に記憶されている登録順序が最もはやいもの、すなわち順序611の値が最も小さいものが、マスタゲートウェイ装置として選択される(ステップS117)。なお、遷移回数616の加算動作については後述する。   On the other hand, if there is a gateway device 3 whose terminal state 615 is “online” in addition to the gateway device 3-2 that is the transmission source of the communication error information (YES in step S115), the online state in the management information table 610 Gateway device 3 with the smallest number of transitions 616 is selected (step S116), and among the selected gateway devices 3, the registration order stored in the management information table 610 is the fastest, that is, The device having the smallest value in the order 611 is selected as the master gateway device (step S117). The addition operation of the number of transitions 616 will be described later.

次に、設定制御部65によって、マスタゲートウェイ装置として選択されたゲートウェイ装置3、例えばゲートウェイ装置3−2が管理情報テーブル610にオンライン状態のマスタゲートウェイ装置として記憶される(ステップS118)。そして、マスタゲートウェイ装置に選択されたゲートウェイ装置3が通信エラー情報の送信元であるゲートウェイ装置3か否かが確認され(ステップS119)、通信エラー情報の送信元であるゲートウェイ装置3がマスタゲートウェイ装置として選択された場合は(ステップS119でYES)、通信エラー情報の送信元であるゲートウェイ装置3−2をマスタゲートウェイ装置に設定するべくステップS107(図5)へ移行する。   Next, the gateway device 3 selected as the master gateway device, for example, the gateway device 3-2 is stored in the management information table 610 as an online master gateway device by the setting control unit 65 (step S118). Then, it is confirmed whether or not the gateway device 3 selected as the master gateway device is the gateway device 3 that is the transmission source of the communication error information (step S119), and the gateway device 3 that is the transmission source of the communication error information is the master gateway device. Is selected (YES in step S119), the process proceeds to step S107 (FIG. 5) to set the gateway apparatus 3-2 that is the transmission source of the communication error information as the master gateway apparatus.

そして、設定制御部65によって、ゲートウェイ装置3−2をマスタゲートウェイ装置として設定する旨の設定指示と、管理情報テーブル610に記憶されているセンタサーバ5の通信アドレスとが、通信処理部62からネットワーク4を介してゲートウェイ装置3−2へ送信される(ステップS107)。   Then, a setting instruction for setting the gateway device 3-2 as a master gateway device by the setting control unit 65 and the communication address of the center server 5 stored in the management information table 610 are sent from the communication processing unit 62 to the network. 4 to the gateway device 3-2 (step S107).

一方、例えば、図7(b)に示す管理情報テーブル610においてゲートウェイ装置3−2の遷移回数616が「1」であった場合、ステップS116,S117においてゲートウェイ装置3−3がマスタゲートウェイ装置として選択されるので、マスタゲートウェイ装置に選択されたゲートウェイ装置3が通信エラー情報の送信元であるゲートウェイ装置3−2ではなくなる。このように、マスタゲートウェイ装置に選択されたゲートウェイ装置3が通信エラー情報の送信元であるゲートウェイ装置3−2でなければ(ステップS119でNO)、設定制御部65によって、ゲートウェイ装置3−3をマスタゲートウェイ装置として設定する旨の設定指示と、管理情報テーブル610に記憶されているセンタサーバ5の通信アドレスとが、通信処理部62からネットワーク4を介してゲートウェイ装置3−3へ送信され(ステップS120)、さらに設定制御部65によって、管理情報テーブル610に記憶されているゲートウェイ装置3−3の通信アドレスが、通信エラー情報の送信元であるゲートウェイ装置3−2へ、通信処理部62からネットワーク4を介して送信される(ステップS121)。   On the other hand, for example, when the number of transitions 616 of the gateway device 3-2 in the management information table 610 shown in FIG. 7B is “1”, the gateway device 3-3 is selected as the master gateway device in steps S116 and S117. Therefore, the gateway device 3 selected as the master gateway device is not the gateway device 3-2 that is the transmission source of the communication error information. Thus, if the gateway device 3 selected as the master gateway device is not the gateway device 3-2 that is the transmission source of the communication error information (NO in step S119), the setting control unit 65 causes the gateway device 3-3 to A setting instruction for setting as a master gateway device and the communication address of the center server 5 stored in the management information table 610 are transmitted from the communication processing unit 62 to the gateway device 3-3 via the network 4 (step In step S120), the communication address of the gateway device 3-3 stored in the management information table 610 is further transferred from the communication processing unit 62 to the gateway device 3-2 that is the transmission source of the communication error information by the setting control unit 65. 4 (step S121).

また、通信エラー情報の送信元であるゲートウェイ装置3−2以外のゲートウェイ装置3、例えばゲートウェイ装置3−3は、旧マスタゲートウェイ装置への通知情報の送信を試みる結果、図8におけるステップS11〜S13、及び図5,図6におけるステップS101〜S121と同様の処理により、新たなマスタゲートウェイ装置の通信アドレスを取得する。   Further, the gateway device 3 other than the gateway device 3-2 that is the transmission source of the communication error information, for example, the gateway device 3-3 attempts to transmit the notification information to the old master gateway device. As a result, steps S11 to S13 in FIG. And the communication address of a new master gateway apparatus is acquired by the process similar to step S101-S121 in FIG. 5, FIG.

以上、ステップS111〜S121のマスタゲートウェイ更新処理により、マスタゲートウェイ装置として管理情報テーブル610に登録されていたゲートウェイ装置3が故障や運転停止等によりスレーブゲートウェイ装置との間で通信できなくなった場合、自動的に新たなマスタゲートウェイ装置を設定し、スレーブゲートウェイ装置によるマスタゲートウェイ装置を介した登録サーバ装置6への通知情報の送信を継続して行うことができる。   As described above, when the gateway device 3 registered in the management information table 610 as the master gateway device becomes unable to communicate with the slave gateway device due to a failure or shutdown due to the master gateway update processing in steps S111 to S121, Thus, a new master gateway device can be set and notification information can be continuously transmitted to the registration server device 6 by the slave gateway device via the master gateway device.

次に、ステップS114の処理により、端末状態615が「オフライン」にされた旧マスタゲートウェイ装置、例えばゲートウェイ装置3−1が復旧した場合の動作を説明する。まず、図4におけるステップS1〜S3と同様にして、ゲートウェイ装置3−1が例えば電源投入される等により起動され、ゲートウェイ装置3−1から登録サーバ装置6へ、ゲートウェイ装置3−1の通信アドレスと、ゲートウェイ装置3−1の名称を示す情報とがネットワーク4を介して送信される。   Next, an operation when the old master gateway device in which the terminal state 615 is set to “offline”, for example, the gateway device 3-1, is restored by the process of step S114 will be described. First, similarly to steps S1 to S3 in FIG. 4, the gateway device 3-1 is activated, for example, when the power is turned on, and the communication address of the gateway device 3-1 is transferred from the gateway device 3-1 to the registration server device 6. And information indicating the name of the gateway device 3-1 are transmitted via the network 4.

次に、図5を参照して、上述のステップS101、S102と同様の処理によりステップS103へ移行する。そして、登録処理部64によって、ゲートウェイ装置3−1から送信された通信アドレスが管理情報テーブル610に記憶されているか否かが確認され(ステップS103)、ゲートウェイ装置3−1の通信アドレスは既に記憶されているので(ステップS103でYES)、ゲートウェイ装置3−1の端末状態615が「オフライン」か否かが確認される(ステップS122)。そうすると、図7(b)に示すように、ゲートウェイ装置3−1の端末状態615は「オフライン」なので(ステップS122でYES)、設定制御部65によって、ゲートウェイ装置3−1の端末状態615が「オンライン」に変更されると共にゲートウェイ装置3−1の遷移回数616が1加算されてオフライン状態からオンライン状態に変化した回数が状態遷移回数として計数される(S123)。   Next, referring to FIG. 5, the process proceeds to step S <b> 103 by the same processing as steps S <b> 101 and S <b> 102 described above. Then, the registration processing unit 64 checks whether or not the communication address transmitted from the gateway device 3-1 is stored in the management information table 610 (step S103), and the communication address of the gateway device 3-1 is already stored. Therefore, it is confirmed whether or not the terminal state 615 of the gateway device 3-1 is “offline” (step S122). Then, as illustrated in FIG. 7B, the terminal state 615 of the gateway device 3-1 is “offline” (YES in step S122), so the setting control unit 65 sets the terminal state 615 of the gateway device 3-1 to “ The number of transitions 616 of the gateway device 3-1 is incremented by 1 and the number of transitions from the offline state to the online state is counted as the number of state transitions (S123).

この場合、遷移回数616が少ないほど、ゲートウェイ装置3における端末状態615の変化、すなわち動作状態の変化が少なく、動作が安定していると考えられる。従って、ステップS116において、遷移回数616が最少のゲートウェイ装置3をマスタゲートウェイ装置として選択することにより、動作が安定したゲートウェイ装置3をマスタゲートウェイ装置として選択することができ、マスタゲートウェイ装置とスレーブゲートウェイ装置との間で通信できなくなることを低減することができるので、遠隔監視制御システム1の動作の安定性を向上させることができる。   In this case, it is considered that the smaller the number of transitions 616, the smaller the change in the terminal state 615 in the gateway device 3, that is, the change in the operation state, and the more stable the operation. Therefore, by selecting the gateway device 3 having the smallest number of transitions 616 as the master gateway device in step S116, the gateway device 3 with stable operation can be selected as the master gateway device, and the master gateway device and the slave gateway device. Therefore, it is possible to improve the stability of the operation of the remote monitoring control system 1.

次に、設定制御部65によって、オンライン状態のマスタゲートウェイ装置の有無が管理情報テーブル610を参照して確認され(ステップS105)、ゲートウェイ装置3−2がオンライン状態のマスタゲートウェイ装置として記憶されているので(ステップS105でYES)、ゲートウェイ装置3−1をスレーブゲートウェイ装置に設定するべくステップS108へ移行する。そして、設定制御部65によって、ゲートウェイ装置3−1が、図7(c)に示すように管理情報テーブル610でオンライン状態のスレーブゲートウェイ装置として記憶される(ステップS108)。   Next, the setting control unit 65 confirms whether or not there is an online master gateway device by referring to the management information table 610 (step S105), and the gateway device 3-2 is stored as an online master gateway device. Therefore (YES in step S105), the process proceeds to step S108 to set the gateway device 3-1 as a slave gateway device. Then, the setting control unit 65 stores the gateway device 3-1 as an online slave gateway device in the management information table 610 as shown in FIG. 7C (step S 108).

次に、設定制御部65によって、通信処理部62で受信された通信信号の送信元であるゲートウェイ装置3−1をスレーブゲートウェイ装置として設定する旨の設定指示と、管理情報テーブル610に記憶されているマスタゲートウェイ装置であるゲートウェイ装置3−2の通信アドレスとが、通信処理部62からネットワーク4を介してゲートウェイ装置3−1へ送信される(ステップS109)。   Next, the setting control unit 65 stores the setting instruction to set the gateway device 3-1 that is the transmission source of the communication signal received by the communication processing unit 62 as a slave gateway device, and the management information table 610. The communication address of the gateway device 3-2 that is the master gateway device is transmitted from the communication processing unit 62 to the gateway device 3-1 via the network 4 (step S109).

これにより、一旦スレーブゲートウェイ装置との間で通信不能になったために端末状態615が「オフライン」にされた旧マスタゲートウェイ装置が復旧し、旧マスタゲートウェイ装置の通信アドレス等の機器情報が通信処理部62により受信された場合、登録サーバ装置6は、旧マスタゲートウェイ装置をスレーブゲートウェイ装置に設定して新たなマスタゲートウェイ装置の通信アドレスを通知し、新たなマスタゲートウェイ装置に対して通知情報を送信させるようにすることができるので、遠隔監視制御システム1内に複数のマスタゲートウェイ装置が存在する状態を発生させることがなく、複数のマスタゲートウェイ装置により登録サーバ装置6への通知情報の送信が行われて登録サーバ装置6の通信負荷が増大することを抑制することができる。   As a result, the old master gateway device whose terminal state 615 is set to “offline” because communication with the slave gateway device is temporarily disabled is restored, and the device information such as the communication address of the old master gateway device is restored to the communication processing unit. When the registration server device 6 receives the communication address, the registration server device 6 sets the old master gateway device as the slave gateway device, notifies the communication address of the new master gateway device, and transmits the notification information to the new master gateway device. As a result, it is possible to transmit notification information to the registration server device 6 by the plurality of master gateway devices without causing a state in which the plurality of master gateway devices are present in the remote monitoring control system 1. To prevent the communication load of the registration server device 6 from increasing Door can be.

なお、センタサーバ5とは別に登録サーバ装置6を設ける例を示したが、センタサーバ5を登録サーバ装置6として機能させるようにしてもよい。これにより、センタサーバ5の他に別途登録サーバ装置6を設ける必要が無く、遠隔監視制御システム1のコストを低減することができる。   In addition, although the example which provides the registration server apparatus 6 separately from the center server 5 was shown, you may make it function the center server 5 as the registration server apparatus 6. FIG. Thereby, it is not necessary to separately provide the registration server device 6 in addition to the center server 5, and the cost of the remote monitoring control system 1 can be reduced.

本発明の一実施形態に係る登録サーバ装置を用いた遠隔監視制御システムの一例を示すブロック図である。It is a block diagram which shows an example of the remote monitoring control system using the registration server apparatus which concerns on one Embodiment of this invention. 図1に示す登録サーバ装置6の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the registration server apparatus 6 shown in FIG. 図1に示すゲートウェイ装置3の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the gateway apparatus 3 shown in FIG. 図1に示す遠隔監視制御システムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation | movement of the remote monitoring control system shown in FIG. 図1に示す登録サーバ装置の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the registration server apparatus shown in FIG. 図1に示す登録サーバ装置の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the registration server apparatus shown in FIG. 図2に示す管理情報記憶部に記憶される管理情報テーブルを表形式で示した説明図である。It is explanatory drawing which showed the management information table memorize | stored in the management information storage part shown in FIG. 図1に示す遠隔監視制御システムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation | movement of the remote monitoring control system shown in FIG. 背景技術に係る遠隔監視制御システムの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the remote monitoring control system which concerns on background art.

符号の説明Explanation of symbols

1 遠隔監視制御システム
2 ローカルシステム
3 ゲートウェイ装置
4 ネットワーク
5 センタサーバ
6 登録サーバ装置
31 サーバ側通信処理部
32 ローカル伝送通信処理部
33 記憶部
34,63 制御部
35 マスタゲートウェイ処理部
36 スレーブゲートウェイ処理部
61 管理情報記憶部
62 通信処理部
64 登録処理部
65 設定制御部
601 管理情報テーブル記憶部
610 管理情報テーブル
613 通信アドレス
614 端末種別
615 端末状態
616 遷移回数
DESCRIPTION OF SYMBOLS 1 Remote monitoring control system 2 Local system 3 Gateway apparatus 4 Network 5 Center server 6 Registration server apparatus 31 Server side communication processing part 32 Local transmission communication processing part 33 Memory | storage part 34,63 Control part 35 Master gateway processing part 36 Slave gateway processing part 61 Management Information Storage Unit 62 Communication Processing Unit 64 Registration Processing Unit 65 Setting Control Unit 601 Management Information Table Storage Unit 610 Management Information Table 613 Communication Address 614 Terminal Type 615 Terminal State 616 Number of Transitions

Claims (6)

所定の情報を収容する通信信号を送信する複数のゲートウェイ装置と、前記複数のゲートウェイ装置とネットワークを介して通信可能に接続され、前記通信信号を受信して前記所定の情報を管理するセンタサーバとを備える遠隔監視制御システムにおいて、
前記複数のゲートウェイ装置と前記ネットワークを介して通信を行う通信処理部と、
前記複数のゲートウェイ装置のうちの一のゲートウェイ装置をマスタゲートウェイ装置に設定すると共に、前記複数のゲートウェイ装置のうちの残余のゲートウェイ装置をスレーブゲートウェイ装置に設定する設定制御部とを備える登録サーバ装置をさらに備え、
前記マスタゲートウェイ装置は、前記スレーブゲートウェイ装置から受信した前記通信信号を取りまとめて前記センタサーバに転送し、
前記登録サーバ装置は、
前記複数のゲートウェイ装置を管理するための情報を記憶する管理情報記憶部と、
前記通信処理部により前記ゲートウェイ装置の通信アドレスが受信された場合、当該通信アドレスを前記管理情報記憶部に記憶させる登録処理部とを備え、
前記登録サーバ装置の設定制御部は、前記通信処理部により前記複数のゲートウェイ装置のうち一のゲートウェイ装置の通信アドレス情報が受信され、かつ前記管理情報記憶部に他のゲートウェイ装置の通信アドレスが記憶されていない場合、当該一のゲートウェイ装置を前記マスタゲートウェイ装置に設定する旨の設定指示を前記通信処理部により当該一のゲートウェイ装置へ送信させ、前記通信処理部により前記複数のゲートウェイ装置のうち一のゲートウェイ装置の通信アドレスが受信され、かつ前記管理情報記憶部に他のゲートウェイ装置の通信アドレスが記憶されている場合、当該一のゲートウェイ装置を前記マスタゲートウェイ装置に対して前記所定の情報を送信するスレーブゲートウェイ装置に設定する旨の設定指示を前記通信処理部により当該一のゲートウェイ装置へ送信させること
を特徴とする遠隔監視制御システム。
A plurality of gateway devices that transmit communication signals containing predetermined information; a center server that is communicably connected to the plurality of gateway devices via a network, receives the communication signals, and manages the predetermined information; In a remote monitoring and control system comprising:
A communication processing unit that communicates with the plurality of gateway devices via the network;
A registration server device comprising: a setting controller configured to set one gateway device of the plurality of gateway devices as a master gateway device and set a remaining gateway device of the plurality of gateway devices as a slave gateway device. In addition,
The master gateway device collects and transfers the communication signals received from the slave gateway device to the center server ,
The registration server device
A management information storage unit for storing information for managing the plurality of gateway devices;
A registration processing unit for storing the communication address in the management information storage unit when the communication address of the gateway device is received by the communication processing unit;
The setting control unit of the registration server device receives communication address information of one gateway device among the plurality of gateway devices by the communication processing unit, and stores communication addresses of other gateway devices in the management information storage unit If not, a setting instruction for setting the one gateway device to the master gateway device is transmitted to the one gateway device by the communication processing unit, and one of the plurality of gateway devices is transmitted by the communication processing unit. When the communication address of another gateway device is received and the communication address of another gateway device is stored in the management information storage unit, the predetermined information is transmitted to the master gateway device from the one gateway device The setting instruction to set the slave gateway device to be Remote monitoring control system, characterized in that to transmit to the one of the gateway device by the processing unit.
前記スレーブゲートウェイ装置は、前記マスタゲートウェイ装置に対して前記所定の情報を送信することができない場合、前記マスタゲートウェイ装置との間で通信できない旨の信号を前記登録サーバ装置へ送信し、
前記登録サーバ装置の設定制御部は、前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、前記管理情報記憶部に記憶されている当該マスタゲートウェイ装置以外のゲートウェイ装置へ、新たなマスタゲートウェイ装置に設定する旨の設定指示を前記通信処理部により送信させるマスタゲートウェイ更新処理を行うこと
を特徴とする請求項記載の遠隔監視制御システム。
When the slave gateway device cannot transmit the predetermined information to the master gateway device, the slave gateway device transmits a signal indicating that communication with the master gateway device cannot be performed to the registration server device,
When the communication processing unit receives a signal indicating that communication cannot be performed with the master gateway device from the slave gateway device, the setting control unit of the registration server device stores the management information storage unit. to the gateway device other than the master gateway device, remote monitoring and control system of claim 1, wherein the performing master gateway update processing for transmitting the setting instruction to set a new master gateway device by the communication processing unit.
前記登録サーバ装置の設定制御部は、前記マスタゲートウェイ更新処理において、新たなマスタゲートウェイ装置が指定される前にマスタゲートウェイ装置であった旧マスタゲートウェイ装置の通信アドレスが前記通信処理部により受信された場合、当該旧マスタゲートウェイ装置を前記新たなマスタゲートウェイ装置に対するスレーブゲートウェイ装置に設定する旨の設定指示を当該旧マスタゲートウェイ装置へ前記通信処理部により送信させること
を特徴とする請求項記載の遠隔監視制御システム。
The setting control unit of the registered server device receives the communication address of the old master gateway device that was the master gateway device before the new master gateway device was specified in the master gateway update process by the communication processing unit. 3. The remote processing device according to claim 2 , wherein a setting instruction for setting the old master gateway device as a slave gateway device for the new master gateway device is transmitted to the old master gateway device by the communication processing unit. Supervisory control system.
前記登録サーバ装置の設定制御部は、前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、当該マスタゲートウェイ装置に指定されたゲートウェイ装置の通信アドレスをオフライン
状態として前記管理情報記憶部に記憶させ、前記管理情報記憶部により前記オフライン状態として記憶されているゲートウェイ装置の通信アドレスが前記通信処理部により受信された場合、当該通信アドレスのゲートウェイ装置についてオンライン状態として前記管理情報記憶部に記憶させ、前記オフライン状態から前記オンライン状態に変化した回数を当該状態の変化したゲートウェイ装置についての状態遷移回数として計数すると共に前記管理情報記憶部に記憶させ、再び前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、前記マスタゲートウェイ更新処理において、前記管理情報記憶部に記憶されているゲートウェイ装置のうちオフライン状態として記憶されているゲートウェイ装置を除くゲートウェイ装置のうち最も前記状態遷移回数が少ないゲートウェイ装置へ、新たなマスタゲートウェイ装置に設定する旨の設定指示を前記通信処理部により送信させること
を特徴とする請求項又は記載の遠隔監視制御システム。
When the communication processing unit receives a signal indicating that communication cannot be performed with the master gateway device from the slave gateway device, the setting control unit of the registration server device receives the gateway device designated as the master gateway device. When the communication address of the gateway device stored in the management information storage unit as an offline state is stored in the management information storage unit and is stored as the offline state by the management information storage unit, the gateway of the communication address The device is stored in the management information storage unit as an online state, and the number of times the state has changed from the offline state to the online state is counted as the number of state transitions for the gateway device whose state has changed and is stored in the management information storage unit. ,again When the communication processing unit receives a signal indicating that communication cannot be performed with the master gateway device from the slave gateway device, the gateway information stored in the management information storage unit in the master gateway update processing The communication processing unit transmits a setting instruction to set a new master gateway device to a gateway device that has the smallest number of state transitions among gateway devices other than the gateway device that is stored as an offline state. The remote monitoring control system according to claim 2 or 3 .
前記登録サーバ装置の設定制御部は、前記通信処理部により前記スレーブゲートウェイ装置から前記マスタゲートウェイ装置との間で通信できない旨の信号が受信された場合、前記マスタゲートウェイ装置に指定されたゲートウェイ装置の生存確認を行い、当該ゲートウェイ装置が生存していない場合は前記マスタゲートウェイ更新処理を実行し、当該ゲートウェイ装置が生存している場合は前記マスタゲートウェイ装置との間で通信できない旨の信号を送信したスレーブゲートウェイ装置へ、前記マスタゲートウェイ装置に対する通信の再開指示を前記通信処理部により送信させること
を特徴とする請求項のいずれかに記載の遠隔監視制御システム。
When the communication processing unit receives a signal indicating that communication cannot be performed with the master gateway device from the slave gateway device, the setting control unit of the registration server device The existence check is performed, and when the gateway device is not alive, the master gateway update process is executed, and when the gateway device is alive, a signal indicating that communication with the master gateway device cannot be performed is transmitted. to the slave gateway device, remote monitoring control system according to any one of claims 2 to 4, characterized in that to transmit a restart instruction of communication to the master gateway device by the communication processing unit.
所定の情報を収容する通信信号を送信する複数のゲートウェイ装置と、前記複数のゲートウェイ装置とネットワークを介して通信可能に接続され、前記通信信号を受信して前記所定の情報を管理するセンタサーバとを備える遠隔監視制御システムに前記ネットワークを介して通信可能に接続される登録サーバ装置であって、
前記複数のゲートウェイ装置と前記ネットワークを介して通信を行う通信処理部と、
前記複数のゲートウェイ装置のうちの一のゲートウェイ装置を、前記スレーブゲートウェイ装置から受信した前記通信信号を取りまとめて前記センタサーバに転送するマスタゲートウェイ装置に設定すると共に、前記複数のゲートウェイ装置のうちの残余のゲートウェイ装置をスレーブゲートウェイ装置に設定する設定制御部と
前記複数のゲートウェイ装置を管理するための情報を記憶する管理情報記憶部と、
前記通信処理部により前記ゲートウェイ装置の通信アドレスが受信された場合、当該通信アドレスを前記管理情報記憶部に記憶させる登録処理部とを備え、
前記設定制御部は、前記通信処理部により前記複数のゲートウェイ装置のうち一のゲートウェイ装置の通信アドレス情報が受信され、かつ前記管理情報記憶部に他のゲートウェイ装置の通信アドレスが記憶されていない場合、当該一のゲートウェイ装置を前記マスタゲートウェイ装置に設定する旨の設定指示を前記通信処理部により当該一のゲートウェイ装置へ送信させ、前記通信処理部により前記複数のゲートウェイ装置のうち一のゲートウェイ装置の通信アドレスが受信され、かつ前記管理情報記憶部に他のゲートウェイ装置の通信アドレスが記憶されている場合、当該一のゲートウェイ装置を前記マスタゲートウェイ装置に対して前記所定の情報を送信するスレーブゲートウェイ装置に設定する旨の設定指示を前記通信処理部により当該一のゲートウェイ装置へ送信させること
を特徴とする登録サーバ装置。
A plurality of gateway devices that transmit communication signals containing predetermined information; a center server that is communicably connected to the plurality of gateway devices via a network, receives the communication signals, and manages the predetermined information; A registration server device communicably connected via a network to a remote monitoring and control system comprising:
A communication processing unit that communicates with the plurality of gateway devices via the network;
One gateway device of the plurality of gateway devices is set as a master gateway device that collects the communication signals received from the slave gateway devices and transfers them to the center server, and the remaining one of the plurality of gateway devices. A setting control unit for setting the gateway device to a slave gateway device ;
A management information storage unit for storing information for managing the plurality of gateway devices;
A registration processing unit for storing the communication address in the management information storage unit when the communication address of the gateway device is received by the communication processing unit;
The setting control unit, when the communication processing unit receives communication address information of one gateway device among the plurality of gateway devices, and the management information storage unit does not store communication addresses of other gateway devices A setting instruction for setting the one gateway device to the master gateway device is transmitted to the one gateway device by the communication processing unit, and one of the plurality of gateway devices is transmitted by the communication processing unit. When a communication address is received and a communication address of another gateway device is stored in the management information storage unit, the slave gateway device transmits the predetermined information to the master gateway device from the one gateway device The communication processing unit issues a setting instruction for setting to Registration server apparatus for causing transmitted to one gateway device.
JP2005014749A 2005-01-21 2005-01-21 Registration server device and remote monitoring control system Expired - Fee Related JP4548126B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005014749A JP4548126B2 (en) 2005-01-21 2005-01-21 Registration server device and remote monitoring control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005014749A JP4548126B2 (en) 2005-01-21 2005-01-21 Registration server device and remote monitoring control system

Publications (2)

Publication Number Publication Date
JP2006203696A JP2006203696A (en) 2006-08-03
JP4548126B2 true JP4548126B2 (en) 2010-09-22

Family

ID=36961280

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005014749A Expired - Fee Related JP4548126B2 (en) 2005-01-21 2005-01-21 Registration server device and remote monitoring control system

Country Status (1)

Country Link
JP (1) JP4548126B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102090797B1 (en) * 2013-12-20 2020-04-14 삼성전자주식회사 Electronic Device, Gateway Device, Home Network System And Method For Deciding Master Gate In Home Network
JP5869018B2 (en) * 2014-03-04 2016-02-24 グリー株式会社 Message processing system
KR102269297B1 (en) * 2019-05-10 2021-06-28 주식회사 에스에프에이 Data collection and analysis monitoring system and control method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167691A (en) * 2001-11-29 2003-06-13 Brother Ind Ltd Communication controller, management device, image forming device management system with communication controller and management device built in, and program for management device
JP2004320260A (en) * 2003-04-14 2004-11-11 Matsushita Electric Works Ltd Remote apparatus supervising/controlling system and its method of validating live status

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167691A (en) * 2001-11-29 2003-06-13 Brother Ind Ltd Communication controller, management device, image forming device management system with communication controller and management device built in, and program for management device
JP2004320260A (en) * 2003-04-14 2004-11-11 Matsushita Electric Works Ltd Remote apparatus supervising/controlling system and its method of validating live status

Also Published As

Publication number Publication date
JP2006203696A (en) 2006-08-03

Similar Documents

Publication Publication Date Title
KR102181158B1 (en) Communication device, control device and communication method
US9841142B2 (en) Single-wire industrial safety system with safety device diagnostic communication
US8174962B2 (en) Global broadcast communication system
US9846423B2 (en) Smart taps for a single-wire industrial safety system
US9797552B2 (en) Diagnostics and enhanced functionality for single-wire safety communication
EP3245763B1 (en) Adaptive recovery from node failures in a network system
JP5974931B2 (en) Communication device
JP4626443B2 (en) Remote monitoring control system, gateway device, and center server
US11576105B2 (en) Network message transmissions reduction systems and methods
JP2008015837A (en) Data communication system and data communication method
JP4548126B2 (en) Registration server device and remote monitoring control system
RU2764541C1 (en) Network of industrial wireless devices with low power consumption
JP4829680B2 (en) Redundant configuration router system, router device, and master / backup switching method
JP4495015B2 (en) System management apparatus, information processing apparatus, and system management apparatus redundancy method
JP2011077713A (en) Device management system
EP3109720B1 (en) Active report of event and data
JP2006245837A (en) Microwave wireless communication system, microwave wireless communication apparatus, and data transfer method used for them
JP4818338B2 (en) Monitoring server, network monitoring method
JP6455891B2 (en) Monitoring device, communication failure automatic recovery system, method and program
JP5172186B2 (en) Security system
JP6620641B2 (en) Management system, switch, management method and management program
JP2005291772A (en) Electronic equipment and its control system
KR102549411B1 (en) Apparatus for communicating using multi hop in mesh network
JP3641105B2 (en) Building management equipment
EP3598712B1 (en) Commissioning an industrial controller system for establishing a secure communication

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071011

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100319

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100628

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees