Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5065148B2 - Equipment management system and terminal controller - Google Patents
[go: Go Back, main page]

JP5065148B2 - Equipment management system and terminal controller - Google Patents

Equipment management system and terminal controller Download PDF

Info

Publication number
JP5065148B2
JP5065148B2 JP2008127027A JP2008127027A JP5065148B2 JP 5065148 B2 JP5065148 B2 JP 5065148B2 JP 2008127027 A JP2008127027 A JP 2008127027A JP 2008127027 A JP2008127027 A JP 2008127027A JP 5065148 B2 JP5065148 B2 JP 5065148B2
Authority
JP
Japan
Prior art keywords
terminal controller
shared data
transfer
address
terminal
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
JP2008127027A
Other languages
Japanese (ja)
Other versions
JP2009278328A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2008127027A priority Critical patent/JP5065148B2/en
Publication of JP2009278328A publication Critical patent/JP2009278328A/en
Application granted granted Critical
Publication of JP5065148B2 publication Critical patent/JP5065148B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Description

本発明は、ビル内の設備を管理する設備管理システムに関する。   The present invention relates to an equipment management system for managing equipment in a building.

従来の設備管理システムでは、図8に示すように、特定のコントローラ(連動コントローラという)と各設備に設けられた端末コントローラとが設置されている。この連動コントローラが、設備の状態を検出するマグネットセンサや電気錠等に接続された端末コントローラから設備の状態通知を受信する。連動コントローラは、全端末コントローラの状態通知を一括に管理し、設備の連動を制御している。このため、連動コントローラが停止する等の障害、あるいは連動コントローラが接続されているネットワークが切断するといった障害が発生すると連動が機能しなくなる。   In the conventional facility management system, as shown in FIG. 8, a specific controller (referred to as an interlocked controller) and a terminal controller provided in each facility are installed. This interlocking controller receives the equipment status notification from a terminal controller connected to a magnet sensor, an electric lock, or the like that detects the equipment status. The interlocking controller collectively manages the status notifications of all terminal controllers and controls the interlocking of facilities. For this reason, when a failure such as a stop of the interlock controller or a failure such as disconnection of the network to which the interlock controller is connected occurs, the interlock does not function.

また従来では、連動コントローラを設置しないで、各端末コントローラが他の端末コントローラの状態を共有することができる方法として、同報通信により状態変化を全端末コントローラに通知する方法もある(特許文献1参照)。しかし、この同報通信はネットワークプロトコルのブロードキャスト通信を利用するものであるため、ネットワークに接続されたすべての機器に通知されてしまい、設備管理システムとは関係のない機器にも状態情報が通知されてしまう。
特開平09−200866号公報
Conventionally, as a method in which each terminal controller can share the state of another terminal controller without installing an interlocking controller, there is also a method of notifying all terminal controllers of a state change by broadcast communication (Patent Document 1). reference). However, since this broadcast communication uses broadcast communication of the network protocol, it is notified to all devices connected to the network, and status information is also notified to devices unrelated to the facility management system. End up.
Japanese Patent Application Laid-Open No. 09-200866

従来では、特定の連動コントローラが全設備の連動を制御しているため、連動コントローラが停止する等の障害、あるいは連動コントローラが接続されているネットワークが切断するといった障害が発生すると、設備の連動が機能しなくなるという課題があった。   Conventionally, a specific interlocking controller controls the interlocking of all facilities. Therefore, if a failure such as the interlocking controller stops or the network to which the interlocking controller is disconnected occurs, the interlocking of the facilities will occur. There was a problem of not functioning.

また、連動コントローラを設置せずに、同報通信により各端末コントローラが他の端末コントローラの状態を共有する方法もあるが、この方法ではネットワークに接続されたすべての機器に設備の状態情報が通知されてしまうため、設備管理システムとは関係のない機器にも設備の状態情報が通知されてしまうことになり、セキュリティ上の問題が生じるという課題があった。また、同報通信による設備の状態の共有方法では、各端末コントローラが設備の状態が変化する度に同報通信を行うので、設備の状態の変化が増加することによりネットワークの負荷が増大するという課題があった。   In addition, there is a method in which each terminal controller shares the status of other terminal controllers by broadcast communication without installing an interlocked controller, but this method notifies the equipment status information to all devices connected to the network. Therefore, the equipment status information is also notified to equipment unrelated to the equipment management system, and there is a problem that a security problem arises. Also, in the method of sharing equipment status by broadcast communication, each terminal controller performs broadcast communication every time the equipment status changes, so that the load on the network increases due to the increase in equipment status change. There was a problem.

本発明は、このような課題を解決するためになされたものであって、設備の状態を一括管理する連動コントローラを設けることなく、各端末コントローラが全端末コントローラの設備の状態情報を共有することにより、全設備の連動制御を行うことができる設備管理システムを提供することを目的とする。また、設備管理システムとは関係のない機器には設備の状態情報が通知されない構成により、セキュリティ性の高い設備管理システムを提供することを目的とする。設備の状態の変化が増加しても、ネットワークの負荷が増大することのない設備管理システムを提供することを目的とする。   The present invention has been made to solve such problems, and each terminal controller shares equipment state information of all terminal controllers without providing an interlocking controller that collectively manages the equipment state. It aims at providing the equipment management system which can perform the interlock control of all the equipment. It is another object of the present invention to provide an equipment management system with high security by a configuration in which equipment status information is not notified to equipment unrelated to the equipment management system. An object of the present invention is to provide a facility management system in which the load on the network does not increase even if the change in the state of the facility increases.

本発明に係る設備管理システムは、
複数の設備の各設備に対応して設けられ、ネットワークに接続された複数の端末コントローラを備えた設備管理システムにおいて、
上記複数の端末コントローラは、
上記複数の設備の各設備の状態を示す状態情報を有する共有データを、各端末コントローラの間で上記ネットワークを介して転送するとともに、
上記複数の端末コントローラの各端末コントローラは、
対応する当該設備の状態を検出する検出部と、
上記共有データを上記ネットワークを介して自端末コントローラ以外の他の端末コントローラのいずれかから受信する共有データ受信部と、
上記共有データ受信部により受信された上記共有データに対し、上記検出部により検出された当該設備の状態を示す上記状態情報を付加する状態設定部と、
上記状態設定部により当該設備の上記状態情報の付加された上記共有データを、上記ネットワークを介して自端末コントローラ以外の他の端末コントローラのいずれかに転送する共有データ転送部と
を備えることを特徴とする。
The facility management system according to the present invention is:
In an equipment management system provided with a plurality of terminal controllers provided corresponding to each equipment of a plurality of equipment, connected to a network,
The plurality of terminal controllers are
The shared data having the status information indicating the status of each of the plurality of facilities is transferred between the terminal controllers via the network,
Each terminal controller of the plurality of terminal controllers is
A detection unit for detecting the state of the corresponding equipment;
A shared data receiving unit that receives the shared data from any other terminal controller other than the own terminal controller via the network;
A state setting unit for adding the state information indicating the state of the equipment detected by the detection unit to the shared data received by the shared data receiving unit;
A shared data transfer unit that transfers the shared data to which the state information of the equipment is added by the state setting unit to any other terminal controller other than the own terminal controller via the network. And

本発明によれば、設備管理システムの備える各端末コントローラが、全設備の状態情報有する共有データを共有することができるので、全設備の状態を一括管理する連動コントローラを設けることなく、全設備の状態制御を行うことができる設備管理システムを提供することができる。また、各設備に対応して設けられた端末コントローラの間で共有データを転送するので、設備管理システムとは関係のない機器には設備の状態情報が通知されない構成となり、セキュリティ性の高い設備管理システムを提供することができる。また、設備の状態の変化が増加しても、ネットワークの負荷が増大することのない設備管理システムを提供することができる。   According to the present invention, since each terminal controller included in the equipment management system can share the shared data having the status information of all equipment, without providing an interlocking controller that collectively manages the status of all equipment, It is possible to provide an equipment management system capable of performing state control. In addition, since shared data is transferred between terminal controllers provided for each facility, the equipment status information is not notified to equipment unrelated to the equipment management system, and equipment management with high security is ensured. A system can be provided. Further, it is possible to provide an equipment management system in which the load on the network does not increase even when the change in the equipment state increases.

実施の形態1.
図1は、実施の形態1に係る出入管理システム800のシステム構成を示すシステム構成図である。図1を用いて、複数の端末コントローラ4(4a,4b,・・・,4n)から構成される出入管理システム800のシステム構成について説明する。
Embodiment 1 FIG.
FIG. 1 is a system configuration diagram showing a system configuration of an access management system 800 according to the first embodiment. With reference to FIG. 1, a system configuration of an access management system 800 including a plurality of terminal controllers 4 (4a, 4b,..., 4n) will be described.

出入管理システム800は、ビル等に設備されている複数の扉の状態を管理するシステムである。扉の状態とは、例えば、扉の電気錠状態(電気錠の有効/無効の状態等)、扉の開閉状態、扉の警備状態等である。出入管理システム800では、管理する複数の扉5(5a,5b,・・・,5n)に対応して複数の端末コントローラ4(4a,4b,・・・,4n)が備えられている。すなわち、出入管理システム800(設備管理システムの一例)は、複数の扉5a,5b,・・・,5n(設備の一例)の各々に対応して設けられた端末コントローラ4a,4b,・・・,4nを備えている。   The entrance / exit management system 800 is a system for managing the state of a plurality of doors installed in a building or the like. The door state includes, for example, an electric lock state of the door (effective / invalid state of the electric lock), an open / close state of the door, a guard state of the door, and the like. The access management system 800 includes a plurality of terminal controllers 4 (4a, 4b,..., 4n) corresponding to the plurality of doors 5 (5a, 5b,..., 5n) to be managed. That is, the entrance / exit management system 800 (an example of an equipment management system) is a terminal controller 4a, 4b,... Provided corresponding to each of a plurality of doors 5a, 5b,. , 4n.

複数の端末コントローラ4(4a,4b,・・・,4n)は、管理する複数の扉5(5a,5b,・・・,5n)の各扉の状態が設定された共有データ200を、複数の端末コントローラ4(4a,4b,・・・,4n)の間でLAN1を介して転送する。出入管理システム800は、複数の端末コントローラ4(4a,4b,・・・,4n)の間でひとつの共有データ200を順次転送することにより、共有データ200に設定されている管理対象の複数の扉5(5a,5b,・・・,5n)の状態情報を共有することができるものである。   The plurality of terminal controllers 4 (4a, 4b,..., 4n) receive a plurality of shared data 200 in which the state of each door of the plurality of doors 5 (5a, 5b,..., 5n) to be managed is set. Are transferred via the LAN 1 between the terminal controllers 4 (4a, 4b,..., 4n). The access management system 800 sequentially transfers one shared data 200 between a plurality of terminal controllers 4 (4a, 4b,..., 4n), thereby a plurality of management targets set in the shared data 200. The state information of the door 5 (5a, 5b,..., 5n) can be shared.

以下において、端末コントローラ4として説明するものは、端末コントローラ4a,4b,・・・,4nを意味する、あるいは、端末コントローラ4a,4b,・・・,4nのうちの少なくともひとつを意味するものとする。扉5(5a,5b,・・・,5n)及びマグネットセンサ2(2a,2b,・・・,2n)及び電気錠3(3a,3b,・・・,3n)の記載についても同様とする。また、後述する機能ブロック(例えば、共有データ受信部41(41a,41b,・・・,41n)、検出部42(42a,42b,・・・,42n)等)の記載についても同様とする。   In the following, what is described as the terminal controller 4 means the terminal controllers 4a, 4b,..., 4n, or means at least one of the terminal controllers 4a, 4b,. To do. The same applies to the descriptions of the door 5 (5a, 5b,..., 5n), the magnet sensor 2 (2a, 2b,..., 2n) and the electric lock 3 (3a, 3b,..., 3n). . The same applies to the description of functional blocks described later (for example, shared data receiving unit 41 (41a, 41b,..., 41n), detection unit 42 (42a, 42b,..., 42n), etc.).

端末コントローラ4には、扉5の電気錠3と扉5の状態(例えば、扉の開閉状態)を検出するマグネットセンサ2とが接続されている。端末コントローラ4は、接続する電気錠3から、電気錠3が掛かっているか否かの電気錠状態を示す電気錠状態情報30(状態情報の一例)を入力する。また、端末コントローラ4は、接続するマグネットセンサ2から、扉状態(例えば、扉の開閉状態)を示す扉状態情報20(状態情報の一例)を入力する。これにより、端末コントローラ4は、対応する扉5の電気錠状態(設備の状態の一例)、あるいは対応する扉5の扉状態(設備の状態の一例)を検出することができる。   The terminal controller 4 is connected to the electric lock 3 of the door 5 and the magnet sensor 2 that detects the state of the door 5 (for example, the open / closed state of the door). The terminal controller 4 inputs electric lock state information 30 (an example of state information) indicating an electric lock state indicating whether or not the electric lock 3 is engaged from the electric lock 3 to be connected. Further, the terminal controller 4 inputs door state information 20 (an example of state information) indicating a door state (for example, an open / closed state of the door) from the magnet sensor 2 to be connected. Thereby, the terminal controller 4 can detect the electric lock state of the corresponding door 5 (an example of the state of equipment) or the door state of the corresponding door 5 (an example of the state of equipment).

また、複数の端末コントローラ4(4a,4b,・・・,4n)は、イーサネット(登録商標)等のLAN(ローカルエリアネットワーク)1に接続されており、複数の端末コントローラ4(4a,4b,・・・,4n)は互いにLAN1を介して通信可能に構成されている。端末コントローラ4は、他の端末コントローラのIP(インターネットプロトコル)アドレス等を用いて、LAN1を介して他の端末コントローラと通信する。   The plurality of terminal controllers 4 (4a, 4b,..., 4n) are connected to a LAN (local area network) 1 such as Ethernet (registered trademark), and the plurality of terminal controllers 4 (4a, 4b,. .., 4n) are configured to communicate with each other via LAN1. The terminal controller 4 communicates with another terminal controller via the LAN 1 using the IP (Internet Protocol) address of the other terminal controller.

また、複数の端末コントローラ4(4a,4b,・・・,4n)は、複数の扉5(5a,5b,・・・,5n)(複数の設備の一例)のそれぞれの扉の状態(電気錠状態、扉状態等)が付加されたひとつの共有データ200を、転送の対象として複数の端末コントローラ4(4a,4b,・・・,4n)の間でLAN1を介して順次転送する。すなわち、出入管理システム800では、システムが管理するすべての扉5の状態を設定する共有データ200を予め定義して、端末コントローラ4(4a,4b,・・・,4n)の間で共有データ200をLAN1を介して順次転送しながら、各端末コントローラ4が最新の扉の状態情報を設定していく。このように、各端末コントローラ4は、LAN1に接続されているすべての端末コントローラ(4a,4b,・・・,4n)が管理する扉(5a,5b,・・・,5n)についての電気錠状態、扉状態等が設定された共有データ200を共有することができる。したがって、各端末コントローラ4は、すべての扉(5a,5b,・・・,5n)の状態情報を知ることができ、自己の管理する扉について他の端末コントローラの管理する扉の状態変化に連動した制御を実現することができる。   In addition, the plurality of terminal controllers 4 (4a, 4b,..., 4n) are in a state (electricity) of each of the plurality of doors 5 (5a, 5b,..., 5n) (an example of a plurality of facilities). One shared data 200 to which a lock state, a door state, etc.) are added is sequentially transferred via LAN 1 between a plurality of terminal controllers 4 (4a, 4b,..., 4n) as a transfer target. That is, in the access control system 800, the shared data 200 for setting the states of all doors 5 managed by the system is defined in advance, and the shared data 200 is shared among the terminal controllers 4 (4a, 4b,..., 4n). Are sequentially transferred via the LAN 1, each terminal controller 4 sets the latest door state information. Thus, each terminal controller 4 is an electric lock for the doors (5a, 5b,..., 5n) managed by all the terminal controllers (4a, 4b,..., 4n) connected to the LAN 1. The shared data 200 in which the state, the door state, etc. are set can be shared. Therefore, each terminal controller 4 can know the state information of all the doors (5a, 5b,..., 5n), and interlocks with the state change of the door managed by the other terminal controller for the door managed by itself. Control can be realized.

図2は、実施の形態1に係る端末コントローラ4の機能ブロックの構成を示す機能ブロック構成図である。図2では、簡単のため端末コントローラ4aの機能について説明するが他の端末コントローラ4(4b,・・・4n)についても同様の構成である。   FIG. 2 is a functional block configuration diagram showing a functional block configuration of the terminal controller 4 according to the first embodiment. In FIG. 2, the function of the terminal controller 4a will be described for simplicity, but the other terminal controllers 4 (4b,... 4n) have the same configuration.

端末コントローラ4aは、共有データ受信部41aと、検出部42aと、状態設定部43aと、共有データ転送部44a(応答確認受信部)と、タイマ47aとを備えている。また、端末コントローラ4aの記憶装置には、共有データ記憶部45aと、共有データ通信パラメータ記憶部46aとが記憶されている。   The terminal controller 4a includes a shared data receiving unit 41a, a detecting unit 42a, a state setting unit 43a, a shared data transfer unit 44a (response confirmation receiving unit), and a timer 47a. The storage device of the terminal controller 4a stores a shared data storage unit 45a and a shared data communication parameter storage unit 46a.

共有データ受信部41aは、LAN1を介して端末コントローラ4a(自端末コントローラ)以外の他の端末コントローラ4から共有データ200を受信する。また、共有データ受信部41aは、共有データ200を受信すると、共有データ200を正しく受信した確認を示す応答としてACK60(応答確認情報)を共有データの送信元へ返信する。   The shared data receiving unit 41a receives the shared data 200 from the terminal controller 4 other than the terminal controller 4a (own terminal controller) via the LAN 1. In addition, when the shared data receiving unit 41a receives the shared data 200, the shared data receiving unit 41a returns an ACK 60 (response confirmation information) to the shared data transmission source as a response indicating that the shared data 200 has been correctly received.

検出部42aは、対応する扉5aの状態を検出する。検出部42aは、扉5aの電気錠3aから、電気錠3が掛かっているか否か等の電気錠状態を示す電気錠状態情報30を入力する。また、検出部42aは、対応する扉5aのマグネットセンサ2aから、扉5aの開閉状態等の扉状態を示す扉状態情報20を入力する。また、検出部42aは、扉5aに警備装置11a等が備えられている場合には、警備装置11aから警備状態情報10を入力してもよい。   The detection part 42a detects the state of the corresponding door 5a. The detection unit 42a inputs electric lock state information 30 indicating an electric lock state such as whether or not the electric lock 3 is engaged from the electric lock 3a of the door 5a. Moreover, the detection part 42a inputs the door state information 20 which shows door states, such as the opening / closing state of the door 5a, from the magnet sensor 2a of the corresponding door 5a. Moreover, the detection part 42a may input the guard status information 10 from the guard apparatus 11a, when the guard apparatus 11a etc. are provided in the door 5a.

検出部42aは、例えば、共有データ受信部41aが共有データ200を他の端末コントローラから受信する度に、電気錠状態情報30・扉状態情報20・警備状態情報10の入力を要求する状態情報要求を電気錠3・マグネットセンサ2・警備装置11に送信する。あるいは、検出部42aは、定期的に情報情報要求を電気錠3・マグネットセンサ2・警備装置11に送信してもよい。あるいは、それぞれの装置(電気錠3・マグネットセンサ2・警備装置11)によって個別に設定されたタイミングで、それぞれの装置(電気錠3・マグネットセンサ2・警備装置11)が非同期に情報を検出部42aへ送信するようにしてもよい。しかし、端末コントローラ4aでは、共有データ200に最新の扉の情報(電気錠状態情報30・扉状態情報20・警備状態情報10)を設定するのが好ましいことを考慮すると、情報(電気錠状態情報30・扉状態情報20・警備状態情報10)の入力は共有データ200の受信と同期させるのが好ましい。   For example, the detection unit 42a requests a state information request for inputting the electric lock state information 30, the door state information 20, and the security state information 10 every time the shared data receiving unit 41a receives the shared data 200 from another terminal controller. Is transmitted to the electric lock 3, the magnet sensor 2, and the security device 11. Or the detection part 42a may transmit the information information request | requirement to the electric lock 3, the magnet sensor 2, and the security apparatus 11 regularly. Alternatively, each device (electric lock 3, magnet sensor 2, security device 11) detects information asynchronously at a timing set individually by each device (electric lock 3, magnet sensor 2, security device 11). You may make it transmit to 42a. However, considering that it is preferable for the terminal controller 4a to set the latest door information (electric lock state information 30, door state information 20, security state information 10) in the shared data 200, information (electric lock state information) It is preferable to synchronize the input of 30 / door state information 20 / security state information 10) with the reception of the shared data 200.

検出部42aは、入力した情報(電気錠状態情報30・扉状態情報20・警備状態情報10)を記憶装置に一旦記憶する。   The detection unit 42a temporarily stores the input information (electric lock state information 30, door state information 20, and guard state information 10) in the storage device.

状態設定部43aは、共有データ受信部41aにより受信された共有データ200に対し、検出部42aにより検出された扉状態情報20、電気錠状態情報30、警備状態情報10を設定(付加)する。また、状態設定部43aは、扉の状態情報(扉状態情報20、電気錠状態情報30、警備状態情報10等)を設定(付加)した共有データ200を共有データ記憶部45aに記憶する。すなわち、状態設定部43aにより共有データ記憶部45aに記憶される共有データ200は、最新の扉の状態情報202aが設定された共有データ200である。   The state setting unit 43a sets (adds) the door state information 20, the electric lock state information 30, and the guard state information 10 detected by the detection unit 42a to the shared data 200 received by the shared data receiving unit 41a. In addition, the state setting unit 43a stores, in the shared data storage unit 45a, the shared data 200 in which the door state information (door state information 20, electric lock state information 30, security state information 10, etc.) is set (added). That is, the shared data 200 stored in the shared data storage unit 45a by the state setting unit 43a is the shared data 200 in which the latest door state information 202a is set.

図3は、実施の形態1に係る共有データ200の構造を示す図である。図3を用いて、共有データ200の構造について説明する。   FIG. 3 is a diagram showing a structure of shared data 200 according to the first embodiment. The structure of the shared data 200 will be described using FIG.

共有データ200は、反転フラグ201と、端末コントローラ4(4a,4b,・・・,4n)に対応する扉の状態情報202(202a,202b,・・・,202n)とから構成される。扉の状態情報202は、電気錠状態203、扉状態204、警備状態205から構成される。   The shared data 200 includes a reverse flag 201 and door state information 202 (202a, 202b,..., 202n) corresponding to the terminal controller 4 (4a, 4b,..., 4n). The door state information 202 includes an electric lock state 203, a door state 204, and a security state 205.

反転フラグ201は、複数の端末コントローラ4間で共有データ200を転送する際の転送順序を反転させるか否かを、フラグのオン/オフにより示すものである。上述したように、出入管理システム800では、出入管理システム800の備える複数の端末コントローラ4(4a,4b,・・・,4n)の間で共有データ200を順次転送させる。そのときの共有データ200の転送順序は、後述する共有データ通信パラメータ記憶部46に予め設定されている。反転フラグ201は、この転送順序を反転させるか否かを示すフラグである。出入管理システム800では、反転フラグ201がオフの場合には、共有データ200の転送順序は予め設定された通りの転送順序であることを示し、反転フラグ201がオンの場合には、共有データ200の転送順序は予め設定された転送順序を反転させた順序とすることを示す。共有データ200の転送順序及び反転フラグ201の詳細については後述する。   The inversion flag 201 indicates whether to reverse the transfer order when the shared data 200 is transferred between the plurality of terminal controllers 4 by turning on / off the flag. As described above, in the access management system 800, the shared data 200 is sequentially transferred among the plurality of terminal controllers 4 (4a, 4b,..., 4n) provided in the access management system 800. The transfer order of the shared data 200 at that time is preset in the shared data communication parameter storage unit 46 described later. The inversion flag 201 is a flag indicating whether or not to reverse this transfer order. In the access control system 800, when the inversion flag 201 is off, it indicates that the transfer order of the shared data 200 is a preset transfer order, and when the inversion flag 201 is on, the shared data 200 is transferred. This transfer order indicates that the preset transfer order is reversed. Details of the transfer order of the shared data 200 and the inversion flag 201 will be described later.

図3に示すように、共有データ200には、出入管理システム800の備える複数の端末コントローラ4(4a,4b,・・・,4n)のすべてについて、端末コントローラ4と対応する扉5の扉の状態情報202を対応付けて設定することができる。共有データ200には、複数の端末コントローラ4(4a,4b,・・・,4n)の各端末コントローラ4に対して、電気錠状態203と扉状態204と警備状態205とが状態設定部43aにより設定される。状態設定部43aは、検出部42aにより検出された扉状態情報20を扉状態204aに設定(付加)し、電気錠状態情報30を電気錠状態203aに設定(付加)し、警備状態情報10を警備状態205aに設定(付加)する。   As shown in FIG. 3, the shared data 200 includes all of the plurality of terminal controllers 4 (4 a, 4 b,..., 4 n) provided in the access management system 800 for the doors of the doors 5 corresponding to the terminal controllers 4. The state information 202 can be set in association with each other. The shared data 200 includes an electric lock state 203, a door state 204, and a security state 205 for each terminal controller 4 of the plurality of terminal controllers 4 (4a, 4b,..., 4n) by the state setting unit 43a. Is set. The state setting unit 43a sets (adds) the door state information 20 detected by the detection unit 42a to the door state 204a, sets (adds) the electric lock state information 30 to the electric lock state 203a, and sets the security state information 10 It is set (added) to the security state 205a.

図2に戻り説明を続ける。共有データ転送部44aは、状態設定部43aにより扉5aの扉の状態情報202aが付加された共有データ200を、LAN1を介して端末コントローラ4a以外の他の端末コントローラのいずれかである転送先の端末コントローラ(転送先端末コントローラ)に転送する。   Returning to FIG. The shared data transfer unit 44a transmits the shared data 200, to which the door state information 202a of the door 5a is added by the state setting unit 43a, to a transfer destination that is one of the other terminal controllers other than the terminal controller 4a via the LAN 1. Transfer to terminal controller (transfer destination terminal controller).

応答確認受信部としての共有データ転送部44は、共有データ200を転送先の端末コントローラに転送した場合に、転送した共有データ200に対する応答であるACK60(応答確認情報)を転送先端末コントローラから受信する。   When the shared data transfer unit 44 serving as a response confirmation receiving unit transfers the shared data 200 to the transfer destination terminal controller, the shared data transfer unit 44 receives ACK 60 (response check information) that is a response to the transferred shared data 200 from the transfer destination terminal controller. To do.

共有データ通信パラメータ記憶部46a(転送順序情報記憶部の一例)は、複数の端末コントローラ4(4a,4b,・・・,4n)間で転送される共有データ200の転送順序を示す転送順序情報である共有データ通信パラメータ500を記憶する。共有データ通信パラメータ記憶部46aは、複数の端末コントローラ4(4a,4b,・・・,4n)の各端末コントローラのアドレスが順序付けて設定されている共有データ通信パラメータ500(転送順序アドレステーブルの一例)を、共有データ200の転送順序を示す転送順序情報として記憶する。   The shared data communication parameter storage unit 46a (an example of a transfer order information storage unit) transfers transfer order information indicating the transfer order of the shared data 200 transferred between the plurality of terminal controllers 4 (4a, 4b,..., 4n). The shared data communication parameter 500 is stored. The shared data communication parameter storage unit 46a is an example of a shared data communication parameter 500 (an example of a transfer order address table) in which the addresses of the terminal controllers of the plurality of terminal controllers 4 (4a, 4b,..., 4n) are set in order. ) Is stored as transfer order information indicating the transfer order of the shared data 200.

図4は、実施の形態1に係る共有データ通信パラメータ500の構成を示す図である。図4を用いて、共有データ通信パラメータ500の構成について説明する。   FIG. 4 is a diagram showing a configuration of the shared data communication parameter 500 according to the first embodiment. The configuration of the shared data communication parameter 500 will be described with reference to FIG.

共有データ通信パラメータ500には、システムの管理者等により共有データ200を各端末コントローラ間で通信するためのパラメータ(共有データ200の転送順序を示す情報)が予め設定されている。図4に示すように、共有データ通信パラメータ500は、ID番号501と、自IPアドレス502と、前IPアドレス503と、次IPアドレス504と、タイムアウト値505とから構成される。   In the shared data communication parameter 500, a parameter (information indicating the transfer order of the shared data 200) for communicating the shared data 200 between the terminal controllers is set in advance by a system administrator or the like. As shown in FIG. 4, the shared data communication parameter 500 includes an ID number 501, a self IP address 502, a previous IP address 503, a next IP address 504, and a timeout value 505.

ID番号501には、端末コントローラ4のインデックス番号が設定される。端末コントローラ4のインデックス番号とは、各端末コントローラに対してシステムの管理者等により予め付与される識別番号である。   In the ID number 501, the index number of the terminal controller 4 is set. The index number of the terminal controller 4 is an identification number previously assigned to each terminal controller by a system administrator or the like.

自端末コントローラのインデックス番号に対応する自IPアドレス502には、自端末コントローラのIPアドレスが設定される。前IPアドレス503には、自IPアドレスの前に順序づけられる端末コントローラ(以下、前端末コントローラという)のIPアドレスが設定される。次IPアドレス504には、自IPアドレスの次に順序づけられる端末コントローラ(以下、次端末コントローラという)のIPアドレスが設定される。各端末コントローラ4(自端末コントローラ)が共有データ200を転送する転送先端末コントローラは、前端末コントローラと次端末コントローラとのいずれかである。また、各端末コントローラ4(自端末コントローラ)が共有データ200を受信した場合の、送信元の端末コントローラは、前端末コントローラと次端末コントローラとのいずれかである。   In the own IP address 502 corresponding to the index number of the own terminal controller, the IP address of the own terminal controller is set. In the previous IP address 503, an IP address of a terminal controller (hereinafter referred to as a previous terminal controller) that is ordered before the own IP address is set. In the next IP address 504, an IP address of a terminal controller (hereinafter referred to as the next terminal controller) ordered next to its own IP address is set. The transfer destination terminal controller to which each terminal controller 4 (own terminal controller) transfers the shared data 200 is either the previous terminal controller or the next terminal controller. Further, when each terminal controller 4 (own terminal controller) receives the shared data 200, the transmission source terminal controller is either the previous terminal controller or the next terminal controller.

したがって、各端末コントローラ4(自端末コントローラ)は、前端末コントローラと次端末コントローラとを判定することができれば、共有データ200を受信して、受信の受信確認応答としてACK60を送信元の端末コントローラに返信し、共有データを200を転送先の端末コントローラに転送するという一連の処理を行うことができる。すなわち、共有データ通信パラメータ500は、少なくとも自端末コントローラと、自端末コントローラの次に順序付けられる端末コントローラと、自端末コントローラの前に順序付けられる端末コントローラとの間の転送順序を含む情報であればよい。つまり、少なくとも自端末コントローラのアドレスと、前端末コントローラのアドレスと、次端末コントローラのアドレスとを含む共有データ通信パラメータ500を備えていればよい。例えば、端末コントローラ4aは、図4に示すように、端末コントローラ4aの転送順序情報500aで示す情報を備えているだけでも構わない。   Therefore, if each terminal controller 4 (own terminal controller) can determine the previous terminal controller and the next terminal controller, it receives the shared data 200 and sends ACK 60 as a reception confirmation response to the transmission source terminal controller. A series of processes can be performed in which a response is made and the shared data 200 is transferred to the transfer destination terminal controller. That is, the shared data communication parameter 500 may be information including at least the transfer order among the own terminal controller, the terminal controller ordered next to the own terminal controller, and the terminal controller ordered before the own terminal controller. . That is, the shared data communication parameter 500 including at least the address of the own terminal controller, the address of the previous terminal controller, and the address of the next terminal controller may be provided. For example, as shown in FIG. 4, the terminal controller 4a may only include information indicated by the transfer order information 500a of the terminal controller 4a.

タイムアウト値505には、一定時間TにID番号の値を加算した値を設定(定義)する。一定時間TにID番号の値を加算した値をタイムアウト値とするのは、複数の端末コントローラ4が同時に起動してタイマ47のカウンタ値が同期してしまった場合、複数の端末コントローラ4が共有データ200を送信し合う状況が発生するのを防ぐために、各端末コントローラ4のタイムアウト値をずらすためである。   As the timeout value 505, a value obtained by adding the value of the ID number to the fixed time T is set (defined). The value obtained by adding the ID number value to the fixed time T is used as the timeout value when a plurality of terminal controllers 4 are activated at the same time and the counter value of the timer 47 is synchronized. This is because the time-out value of each terminal controller 4 is shifted in order to prevent the situation where the data 200 are transmitted with each other.

このように、共有データ通信パラメータ500において、出入管理システム800の備える端末コントローラ4(4a,4b,・・・,4n)のすべてについて、前端末コントローラの前IPアドレスと、次端末コントローラの次IPアドレスとを定義することにより、複数の端末コントローラ4(4a,4b,・・・,4n)間で共有データ200を転送する転送順序を示すことができる。   As described above, in the shared data communication parameter 500, for all the terminal controllers 4 (4a, 4b,..., 4n) included in the access control system 800, the previous IP address of the previous terminal controller and the next IP of the next terminal controller are included. By defining the address, it is possible to indicate the transfer order in which the shared data 200 is transferred between the plurality of terminal controllers 4 (4a, 4b,..., 4n).

共有データ通信パラメータ500は、システムの管理者により予め定義され、各端末コントローラ4の記憶装置(共有データ通信パラメータ記憶部46)に記憶される。このような構成をとることにより、例えば、ビル内の設備に変更が生じた場合でも、容易に共有データ通信パラメータ500に設備の変更を反映することができる。   The shared data communication parameter 500 is defined in advance by a system administrator and stored in the storage device (shared data communication parameter storage unit 46) of each terminal controller 4. By adopting such a configuration, for example, even when a change occurs in equipment in a building, the change in the equipment can be easily reflected in the shared data communication parameter 500.

また、各端末コントローラ4は、自端末コントローラのインデックス番号に対応する情報のみを有する構成でもよい。例えば、端末コントローラ4a(ID番号は1とする)は、図4に示すように、端末コントローラ4aの転送順序情報500aのみを有するとしてもよい。この場合は、端末コントローラ4aが備える記憶装置のリソース使用容量の節約となる。   Each terminal controller 4 may be configured to have only information corresponding to the index number of its own terminal controller. For example, the terminal controller 4a (ID number is 1) may have only the transfer order information 500a of the terminal controller 4a as shown in FIG. In this case, the resource usage capacity of the storage device provided in the terminal controller 4a is saved.

図5は、実施の形態1に係る端末コントローラ4の共有データ転送処理を示すフロー図である。図5を用いて、端末コントローラ4の共有データ転送処理の動作について説明する。端末コントローラ4の共有データ転送処理は、端末コントローラ4の備える共有データ受信部41、検出部42、状態設定部43、共有データ転送部44(応答確認受信部)が処理装置(CPU)、記憶装置、受信装置、送信装置等のハードウェア資源を用いて実行する処理である。   FIG. 5 is a flowchart showing shared data transfer processing of the terminal controller 4 according to the first embodiment. The operation of the shared data transfer process of the terminal controller 4 will be described with reference to FIG. In the shared data transfer process of the terminal controller 4, the shared data reception unit 41, the detection unit 42, the state setting unit 43, and the shared data transfer unit 44 (response confirmation reception unit) included in the terminal controller 4 are a processing device (CPU) and a storage device. , Processing executed using hardware resources such as a receiving device and a transmitting device.

まず、前提として、各端末コントローラ4の共有データ通信パラメータ記憶部46には、予め管理者等により定義された共有データ通信パラメータ500が記憶されている。また、共有データ記憶部45には、出入管理システムにおいて管理する各扉5の状態情報を設定するための設定領域が定義された共有データ200が予め記憶されている。すなわち、共有データ記憶部45には、図3に示したフォーマットを有する共有データ200が予め定義され記憶されている。また、以下で説明する端末コントローラ4の共有データ転送処理では、検出部42の扉の状態情報検出処理と共有データ受信部41の共有データ受信処理とは同期をとっておらず、検出部42は扉の状態情報202の検出処理を随時実行して、扉の状態情報(電気錠状態情報30・扉状態情報20・警備状態情報10)を記憶装置に随時記憶しているものとする。   First, as a premise, the shared data communication parameter storage unit 46 of each terminal controller 4 stores a shared data communication parameter 500 defined in advance by an administrator or the like. The shared data storage unit 45 stores in advance shared data 200 in which a setting area for setting state information of each door 5 managed in the access management system is defined. That is, shared data 200 having the format shown in FIG. 3 is defined and stored in the shared data storage unit 45 in advance. In the shared data transfer process of the terminal controller 4 described below, the door state information detection process of the detection unit 42 and the shared data reception process of the shared data reception unit 41 are not synchronized, and the detection unit 42 It is assumed that the detection process of the door state information 202 is executed at any time, and the door state information (electric lock state information 30, door state information 20, security state information 10) is stored in the storage device as needed.

<端末コントローラ開始処理>
まず、端末コントローラ4が起動されると、処理装置によりタイマ47が初期値0にリセットされる。
<Terminal controller start processing>
First, when the terminal controller 4 is activated, the timer 47 is reset to the initial value 0 by the processing device.

<共有データ受信処理:S01〜S02>
S01において、共有データ受信部41は、共有データ200の受信のチェックを処理装置により行う。共有データ200の受信がない場合(S01でNo)は、共有データ受信部41は、S02においてタイムアウトのチェックを処理装置により行う。共有データ受信部41は、タイムアウトのチェックを行う場合、タイマ47の値と共有データ通信パラメータ500に設定されている自己の端末コントローラ4に対応するタイムアウト値とを処理装置により比較することによりタイムアウトか否かを判断する。以下の説明においても、タイムアウトの処理は同様に行う。
<Shared data reception processing: S01 to S02>
In S01, the shared data receiving unit 41 checks reception of the shared data 200 by the processing device. When the shared data 200 is not received (No in S01), the shared data receiving unit 41 performs a timeout check in S02 by the processing device. When the shared data receiving unit 41 checks the timeout, the shared data receiving unit 41 compares the value of the timer 47 and the timeout value corresponding to its own terminal controller 4 set in the shared data communication parameter 500 by the processing device. Judge whether or not. In the following description, the timeout process is performed in the same manner.

タイムアウトでない場合(S02でNo)は、共有データ受信部41は、S01に戻り共有データ200の受信チェックを繰り返す。タイムアウトの場合(S02でNo)は、共有データ受信部41は、S05に処理を移す。   If it is not a timeout (No in S02), the shared data receiving unit 41 returns to S01 and repeats the reception check of the shared data 200. In the case of timeout (No in S02), the shared data receiving unit 41 moves the process to S05.

<ACK送信処理:S03>
共有データ200の受信があった場合(S01でYes)は、S03において、共有データ受信部41は、受信した共有データ200に対する応答であるACK60(応答確認情報の一例)を処理装置により生成して、共有データ200を受信したことを知らせるためにACK60を共有データ200の送信元の端末コントローラに返信する処理を行う。。以下に、ACK60を共有データ200の送信元の端末コントローラに返信する処理について説明する。
<ACK transmission processing: S03>
If the shared data 200 has been received (Yes in S01), in S03, the shared data receiving unit 41 generates an ACK 60 (an example of response confirmation information) that is a response to the received shared data 200 by the processing device. In order to notify that the shared data 200 has been received, a process of returning an ACK 60 to the terminal controller that has transmitted the shared data 200 is performed. . Below, the process which returns ACK60 to the terminal controller of the transmission source of the shared data 200 is demonstrated.

まず、共有データ受信部41は、受信した共有データ200の反転フラグ201の判定を処理装置により行う。共有データ受信部41は、反転フラグ201がオフの場合は、共有データ200の転送順序は反転していないことを意味するので、共有データ200は前端末コントローラから送信されてきたものであると判定する。共有データ受信部41は、共有データ通信パラメータ500から前端末コントローラの前IPアドレスを取得して、処理装置を用いて生成したACK60を前端末コントローラに送信する。   First, the shared data receiving unit 41 uses the processing device to determine the inversion flag 201 of the received shared data 200. When the inversion flag 201 is off, the shared data receiving unit 41 means that the transfer order of the shared data 200 has not been reversed. Therefore, the shared data 200 is determined to have been transmitted from the previous terminal controller. To do. The shared data receiving unit 41 acquires the previous IP address of the previous terminal controller from the shared data communication parameter 500 and transmits the ACK 60 generated using the processing device to the previous terminal controller.

共有データ受信部41は、反転フラグ201がオンの場合は、共有データ200の転送順序は反転していることを意味するので、共有データ200は次端末コントローラから送信されてきたものであると判定する。共有データ受信部41は、共有データ通信パラメータ500から次端末コントローラの次IPアドレスを取得して、処理装置を用いて生成したACK60を次端末コントローラに送信する。   When the inversion flag 201 is on, the shared data receiving unit 41 means that the transfer order of the shared data 200 is reversed. Therefore, it is determined that the shared data 200 has been transmitted from the next terminal controller. To do. The shared data receiving unit 41 acquires the next IP address of the next terminal controller from the shared data communication parameter 500 and transmits the ACK 60 generated using the processing device to the next terminal controller.

<状態設定処理:S04>
次に、S04において、状態設定部43は、共有データ受信部41により受信された共有データ200に対し、検出部42により検出された扉5の状態情報(電気錠状態情報30・扉状態情報20・警備状態情報10)を設定(付加)する。上述したように、ここでは、扉の状態情報は、検出部42により随時記憶装置に記憶されているものとする。状態設定部43は、検出部42により随時記憶装置に記憶されている扉の状態情報(電気錠状態情報30・扉状態情報20・警備状態情報10)を、記憶装置から取得して、共有データ200に設定する。また、状態設定部43は、扉5の状態情報(電気錠状態情報30・扉状態情報20・警備状態情報10)を設定(付加)した共有データ200を共有データ記憶部45に記憶する。
<State setting process: S04>
Next, in S04, the state setting unit 43 applies the state information (the electric lock state information 30 / the door state information 20) of the door 5 detected by the detection unit 42 to the shared data 200 received by the shared data receiving unit 41. Set (add) security status information 10). As described above, here, it is assumed that the door state information is stored in the storage device as needed by the detection unit 42. The state setting unit 43 acquires door state information (electric lock state information 30, door state information 20, security state information 10) stored in the storage device by the detection unit 42 from time to time, and acquires shared data. Set to 200. Further, the state setting unit 43 stores the shared data 200 in which the state information (electric lock state information 30, door state information 20, security state information 10) of the door 5 is set (added) in the shared data storage unit 45.

ここでは、S03のACK送信処理の次にS04の状態設定処理を行うものとしているが、この順番に限らず、S04の状態設定処理の次にS03のACK送信処理を行うとしてもよい。また、S03のACK送信処理とS04の状態設定処理とを並行して実行しても構わない。   Here, the state setting process of S04 is performed after the ACK transmission process of S03, but the order is not limited to this, and the ACK transmission process of S03 may be performed after the state setting process of S04. Further, the ACK transmission process of S03 and the state setting process of S04 may be executed in parallel.

<共有データ転送処理:S05>
次に共有データ転送部44は、共有データ200の転送処理を行う。まず、共有データ転送部44は、共有データ記憶部45に記憶された共有データ200を記憶装置から取り出して、取り出した共有データ200に設定された反転フラグ201を処理装置により判定する。ここで、共有データ記憶部45に記憶された共有データ200は、共有データ受信部41により受信され、状態設定部43により扉5の状態情報が付加された共有データ200である。また、S02からタイムアウトで処理が移された場合でも、共有データ記憶部45には、初期処理により予め記憶されている共有データ200、あるいは、以前に受信した共有データ200が記憶されているので、共有データ転送部44は、処理を進めることができる。
<Shared data transfer process: S05>
Next, the shared data transfer unit 44 performs a transfer process of the shared data 200. First, the shared data transfer unit 44 extracts the shared data 200 stored in the shared data storage unit 45 from the storage device, and determines the inversion flag 201 set in the extracted shared data 200 by the processing device. Here, the shared data 200 stored in the shared data storage unit 45 is the shared data 200 received by the shared data receiving unit 41 and added with the state information of the door 5 by the state setting unit 43. Even when the process is shifted from S02 due to timeout, the shared data storage unit 45 stores the shared data 200 stored in advance by the initial process or the previously received shared data 200. The shared data transfer unit 44 can proceed with the process.

共有データ転送部44は、反転フラグ201がオフの場合には、共有データ通信パラメータ記憶部46(転送順序情報記憶部)に記憶された共有データ通信パラメータ500(転送順序情報)に示される共有データ200の転送順序に従って(すなわち、転送順序通りに)、共有データ200を転送する。すなわち、共有データ転送部44は、共有データ通信パラメータ500(転送順序アドレステーブル)から、自端末コントローラの自IPアドレスの次に順序付けられている次端末コントローラの次IPアドレスを取得して、取得した次IPアドレスを転送すべき転送先端末コントローラのアドレスと判定する。共有データ転送部44は、共有データ200を次端末コントローラにネットワークを介して転送する。   When the inversion flag 201 is off, the shared data transfer unit 44 shares the shared data indicated by the shared data communication parameter 500 (transfer order information) stored in the shared data communication parameter storage unit 46 (transfer order information storage unit). The shared data 200 is transferred according to the transfer order of 200 (that is, according to the transfer order). That is, the shared data transfer unit 44 acquires the next IP address of the next terminal controller that is ordered next to the own IP address of the own terminal controller from the shared data communication parameter 500 (transfer order address table). The next IP address is determined as the address of the transfer destination terminal controller. The shared data transfer unit 44 transfers the shared data 200 to the next terminal controller via the network.

共有データ転送部44は、反転フラグ201がオンの場合には、共有データ通信パラメータ記憶部46(転送順序情報記憶部)に記憶された共有データ通信パラメータ500(転送順序情報)に示される転送順序を反転させた順序に従って、共有データ200を転送する。すなわち、共有データ転送部44は、共有データ通信パラメータ500(転送順序アドレステーブル)から、自端末コントローラの自IPアドレスの前に順序付けられている前端末コントローラの前IPアドレスを取得して、取得した前IPアドレスを転送すべき転送先端末コントローラのアドレスと判定する。共有データ転送部44は、共有データ200を前端末コントローラにネットワークを介して転送する。   When the inversion flag 201 is on, the shared data transfer unit 44 transfers the transfer order indicated by the shared data communication parameter 500 (transfer order information) stored in the shared data communication parameter storage unit 46 (transfer order information storage unit). The shared data 200 is transferred according to the order in which is inverted. That is, the shared data transfer unit 44 acquires the previous IP address of the previous terminal controller that is ordered before the own IP address of the own terminal controller from the shared data communication parameter 500 (transfer order address table). It is determined that the previous IP address is the address of the transfer destination terminal controller to be transferred. The shared data transfer unit 44 transfers the shared data 200 to the previous terminal controller via the network.

S51にて、共有データ転送部44は、タイマ47をリセットする。   In S51, shared data transfer unit 44 resets timer 47.

<ACK受信処理:S06〜S10>
次に、S06において、共有データ転送部44(応答確認受信部)は、ACK60の受信をチェックする。共有データ転送部44(応答確認受信部)は、共有データ転送部44が共有データ200を転送先端末コントローラに転送した場合に、転送した共有データ200に対する応答であるACK60(応答確認情報)を転送先端末コントローラから受信したか否かを処理装置によりチェックする。
<ACK reception processing: S06 to S10>
Next, in S06, the shared data transfer unit 44 (response confirmation reception unit) checks reception of the ACK 60. When the shared data transfer unit 44 transfers the shared data 200 to the transfer destination terminal controller, the shared data transfer unit 44 (response confirmation reception unit) transfers ACK 60 (response confirmation information) that is a response to the transferred shared data 200. It is checked by the processing device whether it is received from the destination terminal controller.

ACK60を受信した場合(S06でYes)には、共有データ200が転送先端末コントローラに正しく転送されたと確認できたことを意味するので、共有データ転送部44は、タイマ47をリセットしてS01に処理を戻し、端末コントローラ4は共有データ200の待ち状態となる。   When the ACK 60 is received (Yes in S06), it means that it has been confirmed that the shared data 200 has been correctly transferred to the transfer destination terminal controller. Therefore, the shared data transfer unit 44 resets the timer 47 and shifts to S01. The process is returned to the terminal controller 4, and the shared data 200 is waited for.

ACK60を受信しない場合(S06でNo)には、共有データ転送部44は、S07においてタイムアウトか否かをチェックする。   When the ACK 60 is not received (No in S06), the shared data transfer unit 44 checks in S07 whether or not a timeout has occurred.

タイムアウトでない場合(S07でNo)には、共有データ転送部44は、ACK60の待ち状態(S06)に処理を移す。   If it is not time-out (No in S07), the shared data transfer unit 44 moves the process to the ACK 60 waiting state (S06).

タイムアウトの場合(S07でYes)、すなわち、共有データ転送部44が共有データ200を転送した場合に、所定の時間(タイムアウト値)内にACK60が受信されない場合には、共有データ転送部44は、以下の処理を行う。   In the case of timeout (Yes in S07), that is, when the shared data transfer unit 44 transfers the shared data 200, if the ACK 60 is not received within a predetermined time (timeout value), the shared data transfer unit 44 The following processing is performed.

まず、S08において、共有データ転送部44は、共有データ記憶部45に記憶されている受信した共有データ200を取り出して、共有データ200の示す反転フラグ201のフラグを反転する。すなわち、共有データ転送部44は、共有データ200の反転フラグ201がオンの場合には反転フラグ201をオフにし、共有データ200の反転フラグ201がオフの場合には反転フラグ201をオンにする。共有データ転送部44は、ACK60を受信しないということは、共有データ200の転送先端末コントローラに障害が発生していることであると判断する。そこで、共有データ転送部44は、これまでの共有データ200の転送順序を反転させて共有データ200を転送することにより、障害の発生した端末コントローラを避けて共有データ200を転送できるようにするために、共有データ200の反転フラグ201を反転する。   First, in S08, the shared data transfer unit 44 takes out the received shared data 200 stored in the shared data storage unit 45 and inverts the flag of the inversion flag 201 indicated by the shared data 200. That is, the shared data transfer unit 44 turns off the reverse flag 201 when the reverse flag 201 of the shared data 200 is on, and turns on the reverse flag 201 when the reverse flag 201 of the shared data 200 is off. The shared data transfer unit 44 determines that the failure to receive the ACK 60 means that a failure has occurred in the transfer destination terminal controller of the shared data 200. Therefore, the shared data transfer unit 44 reverses the transfer order of the shared data 200 so far and transfers the shared data 200 so that the shared data 200 can be transferred while avoiding the terminal controller in which the failure has occurred. In addition, the inversion flag 201 of the shared data 200 is inverted.

次に、S09において共有データ転送部44は、反転した反転フラグ201のチェックを処理装置により行う。反転した反転フラグ201がオフの場合には、共有データ通信パラメータ500に示された共有データ200の転送順序に従って共有データ200を転送することを意味するので、共有データ転送部44は、次端末コントローラの次IPアドレスを共有データ通信パラメータ500から取得して、新たな転送先端末コントローラのアドレスと判定する。共有データ転送部44は、共有データ200を次端末コントローラにネットワークを介して転送して、S06のACK60の受信チェック処理に処理を戻す。   Next, in S09, the shared data transfer unit 44 checks the inverted inversion flag 201 by the processing device. When the inverted inversion flag 201 is OFF, it means that the shared data 200 is transferred in accordance with the transfer order of the shared data 200 indicated in the shared data communication parameter 500. Therefore, the shared data transfer unit 44 has the next terminal controller Is acquired from the shared data communication parameter 500, and is determined as the address of a new transfer destination terminal controller. The shared data transfer unit 44 transfers the shared data 200 to the next terminal controller via the network, and returns the process to the reception check process of the ACK 60 in S06.

反転した反転フラグ201がオンの場合には、共有データ通信パラメータ500に示された共有データ200の転送順序を反転した順序に従って共有データ200を転送することを意味するので、共有データ転送部44は、前端末コントローラの前IPアドレスを共有データ通信パラメータ500から取得して、新たな転送先端末コントローラのアドレスと処理装置により判定する。共有データ転送部44は、共有データ200を前端末コントローラにネットワークを介して転送して、S06のACK60の受信チェック処理に処理を戻す。   When the inverted inversion flag 201 is on, it means that the shared data 200 is transferred according to the order in which the transfer order of the shared data 200 indicated in the shared data communication parameter 500 is inverted. The previous IP address of the previous terminal controller is acquired from the shared data communication parameter 500 and is determined by the address of the new transfer destination terminal controller and the processing device. The shared data transfer unit 44 transfers the shared data 200 to the previous terminal controller via the network, and returns the process to the reception check process of the ACK 60 in S06.

このように、実施の形態1に係る出入管理システム800によれば、扉5の扉の状態情報202を格納する共有データ200をデータパケットとして定義し、その共有データ200を各端末コントローラが自己の端末コントローラに対応する扉5の扉の状態情報202を付加(セット)しながら数珠繋ぎ状に通信することにより、全端末コントローラが他の端末コントローラの状態を共有できるようにすることができる。したがって、実施の形態1に係る出入管理システム800によれば、システムの全端末コントローラを一括に管理する特定のコントローラを設けることなく、扉の連動制御をすることができる。   As described above, according to the access control system 800 according to the first embodiment, the shared data 200 storing the door state information 202 of the door 5 is defined as a data packet, and each terminal controller defines the shared data 200 as its own. By adding (setting) the door state information 202 of the door 5 corresponding to the terminal controller, it is possible to allow all the terminal controllers to share the state of the other terminal controllers. Therefore, according to the access control system 800 according to the first embodiment, it is possible to perform door interlock control without providing a specific controller that collectively manages all terminal controllers of the system.

また、実施の形態1に係る出入管理システム800によれば、端末コントローラが次の端末コントローラに共有データ200を転送し、一定時間が経過しても、転送先の端末コントローラからACK60(応答信号)を受信しない場合に、通信方向を反転させて、通信方向を反転させたまま数珠繋ぎ状に通信することにより、停止している端末コントローラを避けて、停止している端末コントローラを以外の端末コントローラの状態を共有することができる。   Further, according to the access control system 800 according to the first embodiment, the terminal controller transfers the shared data 200 to the next terminal controller, and even if a certain period of time elapses, an ACK 60 (response signal) is received from the transfer destination terminal controller. If the terminal controller is not connected to the terminal controller other than the terminal controller other than the terminal controller that is stopped, the communication direction is reversed and the communication direction is reversed. Can share state.

図6は、実施の形態1に係る端末コントローラ4のハードウェア資源の一例を示す図である。図6において、端末コントローラ4は、システムユニット910、CRT(Cathode・Ray・Tube)やLCD(液晶)の表示画面を有する表示装置901、キーボード902(Key・Board:K/B)、マウス903、FDD904(Flexible・Disk・ Drive)、コンパクトディスク装置905(CDD)、プリンタ装置906、スキャナ装置907などのハードウェア資源を備え、これらはケーブルや信号線で接続されている。   FIG. 6 is a diagram illustrating an example of hardware resources of the terminal controller 4 according to the first embodiment. In FIG. 6, the terminal controller 4 includes a system unit 910, a display device 901 having a CRT (Cathode / Ray / Tube) or LCD (liquid crystal) display screen, a keyboard 902 (Key / Board: K / B), a mouse 903, Hardware resources such as an FDD 904 (Flexible Disk Drive), a compact disk device 905 (CDD), a printer device 906, and a scanner device 907 are provided, and these are connected by cables and signal lines.

システムユニット910は、コンピュータであり、ファクシミリ機932、電話器931とケーブルで接続され、また、ローカルエリアネットワーク942(LAN)、ゲートウェイ941を介してインターネット940に接続されている。   The system unit 910 is a computer, and is connected to the facsimile machine 932 and the telephone 931 via a cable, and is connected to the Internet 940 via a local area network 942 (LAN) and a gateway 941.

図7は、実施の形態1に係る端末コントローラ4のハードウェア資源の一例を示す図である。図7において、端末コントローラ4は、プログラムを実行するCPU911(Central・Processing・Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサともいう)を備えている。CPU911は、バス912を介してROM913、RAM914、通信ボード915、CRT(Cathode・Ray・Tube)やLCD(液晶)の表示画面を有する表示装置901、キーボード902、マウス903、FDD904、CDD905、プリンタ装置906、スキャナ装置907、磁気ディスク装置920と接続され、これらのハードウェアデバイスを制御する。磁気ディスク装置920の代わりに、光ディスク装置、メモリカード読み書き装置などの記憶装置でもよい。   FIG. 7 is a diagram illustrating an example of hardware resources of the terminal controller 4 according to the first embodiment. In FIG. 7, the terminal controller 4 includes a CPU 911 (also referred to as a central processing unit, a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, and a processor) that executes a program. The CPU 911 includes a ROM 913, a RAM 914, a communication board 915, a display device 901 having a CRT (Cathode / Ray / Tube) or LCD (liquid crystal) display screen, a keyboard 902, a mouse 903, an FDD904, a CDD905, and a printer device via a bus 912. 906, a scanner device 907, and a magnetic disk device 920 are connected to control these hardware devices. Instead of the magnetic disk device 920, a storage device such as an optical disk device or a memory card read / write device may be used.

RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置あるいは記憶部の一例である。   The RAM 914 is an example of a volatile memory. The storage media of the ROM 913, the FDD 904, the CDD 905, and the magnetic disk device 920 are an example of a nonvolatile memory. These are examples of a storage device or a storage unit.

通信ボード915、キーボード902、スキャナ装置907、FDD904などは、入力部、入力装置の一例である。   The communication board 915, the keyboard 902, the scanner device 907, the FDD 904, and the like are examples of an input unit and an input device.

また、通信ボード915、表示装置901、プリンタ装置906などは、出力部、出力装置の一例である。   Further, the communication board 915, the display device 901, the printer device 906, and the like are examples of an output unit and an output device.

通信ボード915は、ファクシミリ機932、電話器931、LAN942等に接続されている。通信ボード915は、LAN942に限らず、インターネット940、ISDN等のWAN(ワイドエリアネットワーク)などに接続されていても構わない。インターネット940或いはISDN等のWANに接続されている場合、ゲートウェイ941は不用となる。   The communication board 915 is connected to the facsimile machine 932, the telephone 931, the LAN 942, and the like. The communication board 915 is not limited to the LAN 942 and may be connected to the Internet 940, a WAN (wide area network) such as ISDN, or the like. When connected to a WAN such as the Internet 940 or ISDN, the gateway 941 is unnecessary.

磁気ディスク装置920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923のプログラムは、CPU911、オペレーティングシステム921、ウィンドウシステム922により実行される。   The magnetic disk device 920 stores an operating system 921 (OS), a window system 922, a program group 923, and a file group 924. The programs in the program group 923 are executed by the CPU 911, the operating system 921, and the window system 922.

上記プログラム群923には、実施の形態1の説明において「〜部」、「〜手段」として説明する機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。   The program group 923 stores programs for executing functions described as “˜unit” and “˜means” in the description of the first embodiment. The program is read and executed by the CPU 911.

ファイル群924には、実施の形態1の説明において、「〜の判定結果」、「〜の計算結果」、「〜の処理結果」として説明する情報やデータや信号値や変数値やパラメータが、「〜ファイル」、「〜データベース」、「〜データ」の各項目として記憶されている。「〜ファイル」、「〜データベース」、「〜データ」は、ディスクやメモリなどの記録媒体に記憶される。ディスクやメモリになどの記憶媒体に記憶された情報やデータや信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出・検索・参照・比較・演算・計算・処理・出力・印刷・表示などのCPUの動作に用いられる。抽出・検索・参照・比較・演算・計算・処理・出力・印刷・表示のCPUの動作の間、情報やデータや信号値や変数値やパラメータは、メインメモリやキャッシュメモリやバッファメモリに一時的に記憶される。   In the file group 924, information, data, signal values, variable values, and parameters described as “determination results”, “calculation results of”, and “processing results of” in the description of the first embodiment, The items are stored as “˜file”, “˜database”, and “˜data” items. “˜file”, “˜database”, and “˜data” are stored in a recording medium such as a disk or a memory. Information, data, signal values, variable values, and parameters stored in a storage medium such as a disk or memory are read out to the main memory or cache memory by the CPU 911 via a read / write circuit, and extracted, searched, referenced, compared, Used for CPU operations such as calculation, calculation, processing, output, printing, and display. Information, data, signal values, variable values, and parameters are temporarily stored in the main memory, cache memory, and buffer memory during the CPU operations of extraction, search, reference, comparison, operation, calculation, processing, output, printing, and display. Is remembered.

また、実施の形態1の説明において説明するフローチャートの矢印の部分は主としてデータや信号の入出力を示し、データや信号値は、RAM914のメモリ、FDD904のフレキシブルディスク、CDD905のコンパクトディスク、磁気ディスク装置920の磁気ディスク、その他光ディスク、ミニディスク、DVD(Digital・Versatile・Disk)等の記録媒体に記録される。また、データや信号は、バス912や信号線やケーブルその他の伝送媒体によりオンライン伝送される。   In addition, the arrows in the flowchart described in the description of the first embodiment mainly indicate input / output of data and signals, and the data and signal values are the RAM 914 memory, the FDD 904 flexible disk, the CDD 905 compact disk, and the magnetic disk device. It is recorded on a recording medium such as a 920 magnetic disk, other optical disk, mini disk, DVD (Digital Versatile Disk) or the like. Data and signals are transmitted online via a bus 912, signal lines, cables, or other transmission media.

また、実施の形態1の説明において「〜部」として説明するものは、「〜回路」、「〜装置」、「〜機器」、「手段」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」であってもよい。すなわち、「〜部」として説明するものは、ROM913に記憶されたファームウェアで実現されていても構わない。或いは、ソフトウェアのみ、或いは、素子・デバイス・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD等の記録媒体に記憶される。プログラムはCPU911により読み出され、CPU911により実行される。すなわち、プログラムは、以下に述べる「〜部」としてコンピュータを機能させるものである。あるいは、以下に述べる「〜部」の手順や方法をコンピュータに実行させるものである。   In addition, what is described as “to part” in the description of Embodiment 1 may be “to circuit”, “to device”, “to device”, “means”, and “to step”, It may be “˜procedure” or “˜processing”. That is, what is described as “˜unit” may be realized by firmware stored in the ROM 913. Alternatively, it may be implemented only by software, or only by hardware such as elements, devices, substrates, and wirings, by a combination of software and hardware, or by a combination of firmware. Firmware and software are stored as programs in a recording medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, and a DVD. The program is read by the CPU 911 and executed by the CPU 911. That is, the program causes the computer to function as “to part” described below. Alternatively, the procedure or method of “to part” described below is executed by a computer.

実施の形態1において、以下のような特徴を有する出入管理システム800について説明した。   In the first embodiment, the access management system 800 having the following features has been described.

実施の形態1に係る出入管理システム800は、扉の電気錠および扉の状態を検出するマグネットセンサが接続された端末コントローラが、ネットワークに複数台接続された出入管理システム800(出入管理装置)において、全端末コントローラの電気錠および扉の状態を表すデータパケットを定義し、そのデータを各端末コントローラがおのおのの状態をセットしながら数珠繋ぎ状に通信することにより、全端末コントローラが他の端末コントローラの状態を共有できるようにすることを特徴とする。   The entrance / exit management system 800 according to Embodiment 1 includes an entrance / exit management system 800 (entrance / exit management device) in which a plurality of terminal controllers connected to a door are connected to an electric lock and a magnet sensor that detects a door state. By defining a data packet that represents the state of the electric locks and doors of all terminal controllers, each terminal controller communicates in a daisy chain while setting each state, so that all terminal controllers can communicate with other terminal controllers. It is characterized in that the state can be shared.

実施の形態1に係る出入管理システム800は、端末コントローラが次の端末コントローラに共有データを送信し、一定時間が経過しても、前記次の端末コントローラから前記共有データを正しく受信した確認を示す応答信号を受信しない場合、通信方向を反転させて、前の端末コントローラヘ前記共有データを送信し、通信方向を反転させたまま数珠繋ぎ状に通信することにより、停止している端末コントローラ以外の端末コントローラの状態を共有できるようにする手段を備えたことを特徴とする。   The entry / exit management system 800 according to the first embodiment shows confirmation that the terminal controller has transmitted the shared data to the next terminal controller and that the shared data has been correctly received from the next terminal controller even after a certain period of time has elapsed. If the response signal is not received, the communication direction is reversed, the shared data is transmitted to the previous terminal controller, and the terminals other than the stopped terminal controller are communicated in a daisy chain with the communication direction reversed. Means is provided for enabling the state of the controller to be shared.

また、実施の形態1の説明において、端末コントローラ4における共有データ受信部41、検出部42、状態設定部43、共有データ転送部44(応答確認受信部)は、それぞれ独立した機能ブロックとして構成されているが、ひとつの機能ブロックとしてもよい。あるいは、共有データ転送部44と応答確認受信部とは独立した機能ブロックとして構成されていてもよい。あるいは、これらの機能ブロックを、他のどのような組み合わせで構成しても構わない。   In the description of the first embodiment, the shared data reception unit 41, the detection unit 42, the state setting unit 43, and the shared data transfer unit 44 (response confirmation reception unit) in the terminal controller 4 are configured as independent functional blocks. However, it may be a single functional block. Alternatively, the shared data transfer unit 44 and the response confirmation reception unit may be configured as independent functional blocks. Alternatively, these functional blocks may be configured in any other combination.

実施の形態1に係る出入管理システム800及び端末コントローラ4は、処理装置、記憶装置等のハードウェアが用いられており、ソフトウェアによる情報処理がハードウェアを用いて具体的に実現されたものである。すなわち、上述した実施の形態1の出入管理システム800及び端末コントローラ4は、自然法則を利用したハードウェアの動作により出入管理システム800及び端末コントローラ4の共有データ転送処理の実現を図っているものであり、自然法則を利用した技術的創作に該当するものである。   The entry / exit management system 800 and the terminal controller 4 according to Embodiment 1 use hardware such as a processing device and a storage device, and information processing by software is specifically realized using hardware. . That is, the access control system 800 and the terminal controller 4 of the first embodiment described above are intended to realize the shared data transfer processing of the access control system 800 and the terminal controller 4 by the operation of hardware using natural laws. Yes, it corresponds to technical creation using the laws of nature.

実施の形態1に係る出入管理システム800のシステム構成を示すシステム構成図である。1 is a system configuration diagram illustrating a system configuration of an access management system 800 according to Embodiment 1. FIG. 実施の形態1に係る端末コントローラ4の機能ブロックの構成を示す機能ブロック構成図である。3 is a functional block configuration diagram showing a configuration of functional blocks of a terminal controller 4 according to Embodiment 1. FIG. 実施の形態1に係る共有データ200の構造を示す図である。It is a figure which shows the structure of the shared data 200 which concerns on Embodiment 1. FIG. 実施の形態1に係る共有データ通信パラメータ500の構成を示す図である。It is a figure which shows the structure of the shared data communication parameter 500 which concerns on Embodiment 1. FIG. 実施の形態1に係る端末コントローラ4の共有データ転送処理を示すフロー図である。6 is a flowchart showing shared data transfer processing of the terminal controller 4 according to Embodiment 1. FIG. 実施の形態1に係る端末コントローラ4のハードウェア資源の一例を示す図である。3 is a diagram illustrating an example of hardware resources of a terminal controller 4 according to Embodiment 1. FIG. 実施の形態1に係る端末コントローラ4のハードウェア資源の一例を示す図である。3 is a diagram illustrating an example of hardware resources of a terminal controller 4 according to Embodiment 1. FIG. 従来の出入管理システムのシステム構成を示す図である。It is a figure which shows the system configuration | structure of the conventional entrance / exit management system.

符号の説明Explanation of symbols

1 LAN、2,2a,2b,2n マグネットセンサ、3,3a,3b,3n 電気錠、4,4a,4b,4n 端末コントローラ、5,5a,5b,5n 扉、10 警備状態情報、20 扉状態情報、30 電気錠状態情報、41,41a 共有データ受信部、42,42a 検出部、43,43a 状態設定部、44,44a 共有データ転送部、47,47a タイマ、202,202a,202b,202n 扉の状態情報、203 電気錠状態、204 扉状態、205 警備状態、500 共有データ通信パラメータ、500a 端末コントローラ4aの転送順序情報、501 ID番号、502 自IPアドレス、503 前IPアドレス、504 次IPアドレス、505 タイムアウト値、901 表示装置、902 キーボード、903 マウス、904 FDD、905 CDD、906 プリンタ装置、907 スキャナ装置、910 システムユニット、911 CPU、912 バス、913 ROM、914 RAM、915 通信ボード、920 磁気ディスク装置、921 OS、922 ウィンドウシステム、923 プログラム群、924 ファイル群、931 電話器、932 ファクシミリ機、940 インターネット、941 ゲートウェイ、942 LAN。   1 LAN, 2, 2a, 2b, 2n Magnet sensor, 3, 3a, 3b, 3n Electric lock, 4, 4a, 4b, 4n Terminal controller, 5, 5a, 5b, 5n Door, 10 Security status information, 20 Door status Information, 30 Electric lock status information, 41, 41a Shared data receiving unit, 42, 42a Detection unit, 43, 43a Status setting unit, 44, 44a Shared data transfer unit, 47, 47a Timer, 202, 202a, 202b, 202n Door Status information, 203 electric lock status, 204 door status, 205 security status, 500 shared data communication parameter, 500a transfer order information of terminal controller 4a, 501 ID number, 502 own IP address, 503 previous IP address, 504 next IP address 505 Timeout value 901 Display device 902 Keyboard 90 3 mouse, 904 FDD, 905 CDD, 906 printer device, 907 scanner device, 910 system unit, 911 CPU, 912 bus, 913 ROM, 914 RAM, 915 communication board, 920 magnetic disk device, 921 OS, 922 window system, 923 Program group, 924 file group, 931 telephone, 932 facsimile machine, 940 Internet, 941 gateway, 942 LAN.

Claims (6)

複数の設備の各設備に対応して設けられ、ネットワークに接続された複数の端末コントローラを備えた設備管理システムにおいて、
上記複数の端末コントローラは、
上記複数の設備の各設備の状態を示す状態情報を有する共有データを、各端末コントローラの間で上記ネットワークを介して転送するとともに、
上記複数の端末コントローラの各端末コントローラは、
対応する当該設備の状態を示す状態情報を検出する検出部と、
上記共有データを上記ネットワークを介して自端末コントローラ以外の他の端末コントローラのいずれかから受信する共有データ受信部と、
上記共有データ受信部により受信された上記共有データに対し、上記検出部により検出された上記状態情報を付加する状態設定部と、
上記状態設定部により当該設備の上記状態情報の付加された上記共有データを、上記ネットワークを介して自端末コントローラ以外の他の端末コントローラのいずれかに転送する共有データ転送部と
上記複数の端末コントローラ間で転送される上記共有データの転送順序を示す転送順序情報であって、少なくとも自端末コントローラと、自端末コントローラの次に順序付けられる端末コントローラと、自端末コントローラの前に順序付けられる端末コントローラとの間の転送順序を含む転送順序情報を記憶する転送順序情報記憶部とを備え、
上記共有データ受信部は、
上記共有データの転送順序の反転の有無をオン/オフにより示す反転フラグが設定された上記共有データを受信し、
上記共有データ転送部は、
上記共有データに設定された上記反転フラグがオフの場合には、上記転送順序情報記憶部に記憶された上記転送順序情報に示される上記共有データの転送順序に従って、上記共有データを転送すべき転送先端末コントローラを判定し、判定した上記転送先端末コントローラに上記共有データを転送し、上記共有データに設定された上記反転フラグがオンの場合には、上記転送順序情報記憶部に記憶された上記転送順序情報に示される上記転送順序を反転させた順序に従って、上記共有データを転送すべき転送先端末コントローラを判定し、判定した上記転送先端末コントローラに上記共有データを転送する
ことを特徴とする設備管理システム。
In an equipment management system provided with a plurality of terminal controllers provided corresponding to each equipment of a plurality of equipment, connected to a network,
The plurality of terminal controllers are
The shared data having the status information indicating the status of each of the plurality of facilities is transferred between the terminal controllers via the network,
Each terminal controller of the plurality of terminal controllers is
A detection unit for detecting state information indicating the state of the corresponding equipment;
A shared data receiving unit that receives the shared data from any other terminal controller other than the own terminal controller via the network;
A state setting unit for adding the state information detected by the detection unit to the shared data received by the shared data receiving unit;
A shared data transfer unit that transfers the shared data to which the state information of the equipment is added by the state setting unit to any other terminal controller other than the own terminal controller via the network ;
Transfer order information indicating a transfer order of the shared data transferred between the plurality of terminal controllers, at least the own terminal controller, a terminal controller ordered next to the own terminal controller, and ordered before the own terminal controller A transfer order information storage unit for storing transfer order information including a transfer order between the terminal controller and the terminal controller,
The shared data receiver is
Receiving the shared data in which an inversion flag indicating whether or not the transfer order of the shared data is reversed is turned on / off;
The shared data transfer unit
When the inversion flag set in the shared data is OFF, the transfer to transfer the shared data according to the transfer order of the shared data indicated in the transfer order information stored in the transfer order information storage unit The destination terminal controller is determined, the shared data is transferred to the determined transfer destination terminal controller, and when the inversion flag set in the shared data is on, the transfer order information storage unit stores the above Determining a transfer destination terminal controller to which the shared data is to be transferred according to an order obtained by inverting the transfer order indicated in the transfer order information, and transferring the shared data to the determined transfer destination terminal controller. Equipment management system characterized by
上記転送順序情報記憶部は、
上記複数の端末コントローラの各端末コントローラのアドレスを順序付けた転送順序アドレステーブルであって、少なくとも自端末コントローラのアドレスの前に順序付けられている端末コントローラのアドレスと自端末コントローラのアドレスの次に順序付けられている端末コントローラのアドレスとを含む転送順序アドレステーブルを上記転送順序情報として記憶し、
上記共有データ転送部は、
上記共有データに設定された上記反転フラグがオフの場合には、上記転送順序情報記憶部に記憶された上記転送順序アドレステーブルから、自端末コントローラのアドレスの次に順序付けられている端末コントローラのアドレスを次端末コントローラのアドレスとして取得して、取得した上記次端末コントローラのアドレスを上記転送先端末コントローラのアドレスと判定して上記共有データを上記次端末コントローラに転送し、上記共有データに設定された上記反転フラグがオンの場合には、上記転送順序情報記憶部に記憶された上記転送順序アドレステーブルから、自端末コントローラのアドレスの前に順序付けられている端末コントローラのアドレスを前端末コントローラのアドレスとして取得して、取得した上記前端末コントローラのアドレスを上記転送先端末コントローラのアドレスと判定して上記共有データを上記前端末コントローラに転送する
ことを特徴とする請求項に記載の設備管理システム。
The transfer order information storage unit is
A transfer order address table in which the addresses of the terminal controllers of the plurality of terminal controllers are ordered, and is ordered next to the address of the terminal controller and the address of the own terminal controller that are ordered at least before the address of the own terminal controller. A transfer order address table including the address of the terminal controller being stored as the transfer order information,
The shared data transfer unit
When the inversion flag set in the shared data is OFF, the address of the terminal controller ordered next to the address of the own terminal controller from the transfer order address table stored in the transfer order information storage unit Is determined as the address of the next terminal controller, the obtained address of the next terminal controller is determined as the address of the transfer destination terminal controller, the shared data is transferred to the next terminal controller, and set in the shared data. When the reverse flag is on, the address of the terminal controller ordered before the address of the own terminal controller is used as the address of the previous terminal controller from the transfer order address table stored in the transfer order information storage unit. Acquired and acquired the previous terminal controller Facility management system of claim 1, wherein the address is determined that the address of the transfer destination terminal controller, wherein the transfer of the shared data in the pre-terminal controller.
上記複数の端末コントローラの各端末コントローラは、さらに、
上記共有データ転送部が上記共有データを上記転送先端末コントローラに転送した場合に、転送した上記共有データに対する応答である応答確認情報を上記転送先端末コントローラから受信する応答確認受信部を備え、
上記共有データ転送部は、
上記共有データを転送した後に、所定の時間内に上記応答確認受信部により上記応答確認情報が受信されない場合には、受信した上記共有データの示す上記反転フラグのフラグを反転し、
反転した上記反転フラグがオフの場合には、上記次端末コントローラのアドレスを新たな転送先端末コントローラのアドレスと判定し、上記共有データを上記次端末コントローラに転送し、
反転した上記反転フラグがオンの場合には、上記前端末コントローラアドレスを新たな転送先端末コントローラのアドレスと判定し、上記共有データを上記前端末コントローラに転送する
ことを特徴とする請求項に記載の設備管理システム。
Each terminal controller of the plurality of terminal controllers further includes:
When the shared data transfer unit transfers the shared data to the transfer destination terminal controller, a response check reception unit that receives response check information that is a response to the transferred shared data from the transfer destination terminal controller,
The shared data transfer unit
When the response confirmation information is not received by the response confirmation reception unit within a predetermined time after transferring the shared data, the flag of the inversion flag indicated by the received shared data is inverted,
When the inverted flag that has been inverted is off, the address of the next terminal controller is determined as the address of a new transfer destination terminal controller, the shared data is transferred to the next terminal controller,
3. The method according to claim 2 , wherein when the inverted flag is turned on, the previous terminal controller address is determined as an address of a new transfer destination terminal controller, and the shared data is transferred to the previous terminal controller. The facility management system described.
複数の設備の各設備に対応して設けられ、ネットワークに接続された複数の端末コントローラを備えた設備管理システムで使用される上記端末コントローラにおいて、
対応する当該設備の状態を示す状態情報を検出する検出部と、
上記複数の設備の各設備の状態を示す状態情報が付加され、上記複数の端末コントローラ間で転送される共有データを、上記ネットワークを介して自端末コントローラ以外の他の端末コントローラのいずれかから受信する共有データ受信部と、
上記共有データ受信部により受信された上記共有データに対し、上記検出部により検出された上記状態情報を付加する状態設定部と、
上記状態設定部により当該設備の上記状態情報の付加された上記共有データを、上記ネットワークを介して自端末コントローラ以外の他の端末コントローラのいずれかに転送する共有データ転送部と、
上記複数の端末コントローラ間で転送される上記共有データの転送順序を示す転送順序情報であって、少なくとも自端末コントローラと、自端末コントローラの次に順序付けられる端末コントローラと、自端末コントローラの前に順序付けられる端末コントローラとの間の転送順序を含む転送順序情報を記憶する転送順序情報記憶部とを備え、
上記共有データ受信部は、
上記共有データの転送順序の反転の有無をオン/オフにより示す反転フラグが設定された上記共有データを受信し、
上記共有データ転送部は、
上記共有データに設定された上記反転フラグがオフの場合には、上記転送順序情報記憶部に記憶された上記転送順序情報に示される上記共有データの転送順序に従って、上記共有データを転送すべき転送先端末コントローラを判定し、判定した上記転送先端末コントローラに上記共有データを転送し、上記共有データに設定された上記反転フラグがオンの場合には、上記転送順序情報記憶部に記憶された上記転送順序情報に示される上記転送順序を反転させた順序に従って、上記共有データを転送すべき転送先端末コントローラを判定し、判定した上記転送先端末コントローラに上記共有データを転送する
ことを特徴とする端末コントローラ。
In the terminal controller used in the equipment management system provided with a plurality of terminal controllers provided corresponding to each equipment of a plurality of equipment, connected to the network,
A detection unit for detecting state information indicating the state of the corresponding equipment;
Status information indicating the status of each of the plurality of facilities is added, and shared data transferred between the plurality of terminal controllers is received from any other terminal controller other than the own terminal controller via the network. A shared data receiving unit,
A state setting unit for adding the state information detected by the detection unit to the shared data received by the shared data receiving unit;
A shared data transfer unit that transfers the shared data to which the state information of the equipment is added by the state setting unit to any other terminal controller other than the own terminal controller via the network;
Transfer order information indicating a transfer order of the shared data transferred between the plurality of terminal controllers, at least the own terminal controller, a terminal controller ordered next to the own terminal controller, and ordered before the own terminal controller A transfer order information storage unit for storing transfer order information including a transfer order between the terminal controller and the terminal controller,
The shared data receiver is
Receiving the shared data in which an inversion flag indicating whether or not the transfer order of the shared data is reversed is turned on / off;
The shared data transfer unit
When the inversion flag set in the shared data is OFF, the transfer to transfer the shared data according to the transfer order of the shared data indicated in the transfer order information stored in the transfer order information storage unit The destination terminal controller is determined, the shared data is transferred to the determined transfer destination terminal controller, and when the inversion flag set in the shared data is on, the transfer order information storage unit stores the above Determining a transfer destination terminal controller to which the shared data is to be transferred according to an order obtained by inverting the transfer order indicated in the transfer order information, and transferring the shared data to the determined transfer destination terminal controller. A terminal controller featuring.
上記転送順序情報記憶部は、  The transfer order information storage unit is
上記複数の端末コントローラの各端末コントローラのアドレスを順序付けた転送順序アドレステーブルであって、少なくとも自端末コントローラのアドレスの前に順序付けられている端末コントローラのアドレスと自端末コントローラのアドレスの次に順序付けられている端末コントローラのアドレスとを含む転送順序アドレステーブルを上記転送順序情報として記憶し、  A transfer order address table in which the addresses of the terminal controllers of the plurality of terminal controllers are ordered, and is ordered next to the address of the terminal controller and the address of the own terminal controller that are ordered at least before the address of the own terminal controller. A transfer order address table including the address of the terminal controller being stored as the transfer order information,
上記共有データ転送部は、  The shared data transfer unit
上記共有データに設定された上記反転フラグがオフの場合には、上記転送順序情報記憶部に記憶された上記転送順序アドレステーブルから、自端末コントローラのアドレスの次に順序付けられている端末コントローラのアドレスを次端末コントローラのアドレスとして取得して、取得した上記次端末コントローラのアドレスを上記転送先端末コントローラのアドレスと判定して上記共有データを上記次端末コントローラに転送し、上記共有データに設定された上記反転フラグがオンの場合には、上記転送順序情報記憶部に記憶された上記転送順序アドレステーブルから、自端末コントローラのアドレスの前に順序付けられている端末コントローラのアドレスを前端末コントローラのアドレスとして取得して、取得した上記前端末コントローラのアドレスを上記転送先端末コントローラのアドレスと判定して上記共有データを上記前端末コントローラに転送する  When the inversion flag set in the shared data is OFF, the address of the terminal controller ordered next to the address of the own terminal controller from the transfer order address table stored in the transfer order information storage unit Is determined as the address of the next terminal controller, the obtained address of the next terminal controller is determined as the address of the transfer destination terminal controller, the shared data is transferred to the next terminal controller, and set in the shared data. When the reverse flag is on, the address of the terminal controller ordered before the address of the own terminal controller is used as the address of the previous terminal controller from the transfer order address table stored in the transfer order information storage unit. Acquired and acquired the previous terminal controller The address determines the address of the transfer destination terminal controller transfers the shared data in the pre-terminal controller
ことを特徴とする請求項4に記載の端末コントローラ。The terminal controller according to claim 4.
上記端末コントローラは、さらに、  The terminal controller further includes:
上記共有データ転送部が上記共有データを上記転送先端末コントローラに転送した場合に、転送した上記共有データに対する応答である応答確認情報を上記転送先端末コントローラから受信する応答確認受信部を備え、  When the shared data transfer unit transfers the shared data to the transfer destination terminal controller, a response check reception unit that receives response check information that is a response to the transferred shared data from the transfer destination terminal controller,
上記共有データ転送部は、  The shared data transfer unit
上記共有データを転送した後に、所定の時間内に上記応答確認受信部により上記応答確認情報が受信されない場合には、受信した上記共有データの示す上記反転フラグのフラグを反転し、When the response confirmation information is not received by the response confirmation reception unit within a predetermined time after transferring the shared data, the flag of the inversion flag indicated by the received shared data is inverted,
反転した上記反転フラグがオフの場合には、上記次端末コントローラのアドレスを新たな転送先端末コントローラのアドレスと判定し、上記共有データを上記次端末コントローラに転送し、When the inverted flag that has been inverted is off, the address of the next terminal controller is determined as the address of a new transfer destination terminal controller, the shared data is transferred to the next terminal controller,
反転した上記反転フラグがオンの場合には、上記前端末コントローラアドレスを新たな転送先端末コントローラのアドレスと判定し、上記共有データを上記前端末コントローラに転送するIf the inverted inversion flag is ON, the previous terminal controller address is determined as the address of a new transfer destination terminal controller, and the shared data is transferred to the previous terminal controller.
ことを特徴とする請求項5に記載の端末コントローラ。The terminal controller according to claim 5.
JP2008127027A 2008-05-14 2008-05-14 Equipment management system and terminal controller Expired - Fee Related JP5065148B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008127027A JP5065148B2 (en) 2008-05-14 2008-05-14 Equipment management system and terminal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008127027A JP5065148B2 (en) 2008-05-14 2008-05-14 Equipment management system and terminal controller

Publications (2)

Publication Number Publication Date
JP2009278328A JP2009278328A (en) 2009-11-26
JP5065148B2 true JP5065148B2 (en) 2012-10-31

Family

ID=41443348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008127027A Expired - Fee Related JP5065148B2 (en) 2008-05-14 2008-05-14 Equipment management system and terminal controller

Country Status (1)

Country Link
JP (1) JP5065148B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5553449B2 (en) * 2011-06-01 2014-07-16 日機装株式会社 Blood purification system
JP7665380B2 (en) 2021-03-31 2025-04-21 三菱重工業株式会社 Control device, control method and control program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6018041A (en) * 1983-07-11 1985-01-30 Nissan Motor Co Ltd Loop type network system
JP3036050B2 (en) * 1990-10-31 2000-04-24 日本電気株式会社 Communication control device
JP3392643B2 (en) * 1996-07-08 2003-03-31 富士電機株式会社 Signal transmission method in ring network
JP2001053772A (en) * 1999-08-11 2001-02-23 Sumitomo Electric Ind Ltd Drop-and-insert node, ring network connecting a plurality of nodes, and fault recovery method for ring network

Also Published As

Publication number Publication date
JP2009278328A (en) 2009-11-26

Similar Documents

Publication Publication Date Title
US9166872B2 (en) Method and network device for detecting IP address conflict
JP6881949B2 (en) Management system and control method
JP2015511099A (en) Consistent detection of interconnect failures across the cluster
US10250460B2 (en) Multifunctional platform system with device management mechanism and method of operation thereof
JP5159898B2 (en) Management apparatus, management method, and program
JP5065148B2 (en) Equipment management system and terminal controller
US9807259B2 (en) Method for providing service through solution server in security environment, and apparatus and system for performing the same
JP2020204833A (en) Information processing equipment and programs
US10735440B2 (en) Communication destination determination device, communication destination determination method, and recording medium
JP2010009462A (en) Server-client system and server switching method thereof
CN108605058B (en) Retreat when connection is lost
JPH11338754A (en) Shared file management system
JP2016200961A (en) Server failure monitoring system
EP4055795B1 (en) False positive reduction in electronic token forgery detection
JP7298412B2 (en) Abnormality determination device, abnormality determination method, and program
JP5309715B2 (en) Managed device, trap transmission destination setting method, and trap transmission destination setting program
JP2016152461A (en) Cloud system, router, management server, and program
US10567341B2 (en) Information processing apparatus capable of receiving event, method of controlling the same, and storage medium
US12445424B2 (en) Communication device, communication method, and computer program product
JP2006293978A (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM
JP2017068415A (en) System and method for controlling the same
JP5609272B2 (en) Server apparatus, server system, and server apparatus control method
JP5525800B2 (en) Communications system
JP2011164918A (en) Database management apparatus, database management method, and program
JP4571159B2 (en) Network security protection equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120416

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120604

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

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

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees