JP2011052387A - Control device - Google Patents

Control device Download PDF

Info

Publication number
JP2011052387A
JP2011052387A JP2009199964A JP2009199964A JP2011052387A JP 2011052387 A JP2011052387 A JP 2011052387A JP 2009199964 A JP2009199964 A JP 2009199964A JP 2009199964 A JP2009199964 A JP 2009199964A JP 2011052387 A JP2011052387 A JP 2011052387A
Authority
JP
Japan
Prior art keywords
time
door
grace
locking
event
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.)
Withdrawn
Application number
JP2009199964A
Other languages
Japanese (ja)
Inventor
Osamu Nishimura
治 西村
Toshiaki Koizumi
豪章 小泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Electric Works Co 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 Electric Works Co Ltd filed Critical Panasonic Electric Works Co Ltd
Priority to JP2009199964A priority Critical patent/JP2011052387A/en
Publication of JP2011052387A publication Critical patent/JP2011052387A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control device which controls a door to allow a person to come in and out to use a grace period being a fixed period for performing any processing such as automatic locking of the door while the door remains closed after the fixed period and starting to inform while the door remains open after the fixed period after the fixed period by conforming to actual situation of use and situation of operation without deciding the grace period depending on the experience of a manager of a coming-in-and-out management system. <P>SOLUTION: In this control device, the time when an event occurs is extracted from log, and the grace period is updated based on the difference in time between the door opening time when a user opens the door actually and the time when the event occurs. For example, the grace period until the door is automatically locked while the door remains closed is updated based on the difference in time between the unlocking time and the door opening time. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、入退管理システムにおける扉の制御に関する。   The present invention relates to door control in an entrance / exit management system.

セキュリティ保護すべき部屋への入退を管理する入退管理システムにおいて、各部屋への入退は施解錠可能な扉により制御できるようになっている。各部屋ごとに、扉の制御を行う制御装置と、認証情報を読み取る認証装置とが設置されており、制御装置は、認証装置が読み取った認証情報に基づいて認証を行い、認証結果に応じて扉の錠を施解錠するようになっている。認証に成功して扉の錠が解錠されれば、入退室する利用者は、扉を開けて入室または退室をすることができる。   In an entrance / exit management system for managing entry / exit into a room to be secured, entry / exit into each room can be controlled by a lockable door. For each room, a control device that controls the door and an authentication device that reads the authentication information are installed, and the control device performs authentication based on the authentication information read by the authentication device, and according to the authentication result The door is locked and unlocked. If authentication is successful and the door is unlocked, the user entering or leaving the room can open or close the door.

セキュリティを確保するために、扉の錠が解錠状態のままにされていると自動的に施錠をしたり、扉が開かれたまま放置されていると警報を鳴らすというような制御を制御装置は行うが、扉の錠が解錠されてすぐに施錠しては扉を開くことができないし、扉が開かれてすぐに警報を鳴らしてはうるさいだけなので、一定時間経過してから、施錠したり、警報を鳴らすといった処理を行う。この一定時間はこれらの各処理の内容ごとに異なる値が設定される。以下では、この一定時間を処理を行うまでに与えられる時間という意味で猶予時間と呼ぶ。   To ensure security, the control device automatically locks the door when it is unlocked or sounds an alarm when the door is left open. However, if the door is unlocked and locked immediately, the door cannot be opened, and it is only annoying to sound an alarm as soon as the door is opened. Or perform a process such as sounding an alarm. Different values are set for the contents of these processes for the predetermined time. In the following, this fixed time is referred to as a grace time in the sense of the time given before processing.

猶予時間は、従来では、入退管理システムを設置したときの値がそのまま使われたり、入退管理システムの管理者が経験によって変更した値が使われている。   Conventionally, the grace time is a value that is used when the entrance / exit management system is installed, or a value that is changed by experience by the manager of the entrance / exit management system.

特開平5-179846 号公報Japanese Patent Laid-Open No. 5-179846

しかしながら、上記の猶予時間の最適値は、入退管理システムの設置環境や利用者、あるいは、セキュリティポリシーなどに応じて様々である。
例えば、扉の錠を解錠してから扉が開かれずに解錠状態のまま扉が放置された場合に、自動的に施錠するまでの猶予時間を考えると、認証装置から扉までの距離が短い所では、短い時間で施錠しても問題ないが、認証装置から扉までの距離が長い所では、短い時間で施錠すると扉を開く前に施錠されてしまうという問題が生じる。一方、施錠までの猶予時間を長くすると、解錠状態のまま扉が放置される時間が長くなり、セキュリティ上問題となる。
However, the optimum value of the grace time varies depending on the installation environment and user of the entrance / exit management system, the security policy, and the like.
For example, if the door is left open without being unlocked after the door is unlocked, the distance from the authentication device to the door is In a short place, there is no problem even if locking is performed in a short time, but in a place where the distance from the authentication device to the door is long, there is a problem that if the locking is performed in a short time, the door is locked before the door is opened. On the other hand, if the grace time until locking is lengthened, the time that the door is left in the unlocked state becomes longer, which causes a security problem.

そのため最適値を決めるためには、設定値を変えては暫く運用してみるというように、入退管理システムの管理者が試行錯誤して探すという手間がかかる。
本発明は、上記のように猶予時間後に何らかの処理を行うという制御を行う際の猶予時間を、利用状況および運用状況に応じて、できるだけ最適に定める制御装置を提供することを目的とする。
Therefore, in order to determine the optimum value, it takes time and effort for the manager of the entrance / exit management system to search by trial and error, such as operating for a while after changing the set value.
It is an object of the present invention to provide a control device that determines the grace time when performing control to perform some processing after the grace time as described above according to the use status and the operation status as optimally as possible.

上記課題を解決するために、本発明の制御装置は、扉の制御を行う制御装置であって、扉の開閉を検出する開閉検出部と、イベント種別と当該イベントの発生時刻とを対応付けて記録したログ、および、第1の種別のイベントが発生した発生時刻から、第2の種別のイベントが発生すべき発生予定時刻までの時間を示す猶予時間を記憶する記憶部と、第1の種別のイベントが発生してから、前記猶予時間だけ経過しても、第2の種別のイベントが発生しない場合に、扉の制御に関連した所定の処理を実行する実行部と、前記ログから、第2の種別のイベントの発生時刻と、前記第2の種別のイベントの発生時刻以前で直近の第1の種別のイベントの発生時刻との組を複数抽出し、抽出した各組について、当該第1の種別のイベントの発生時刻から当該第2の種別のイベントの発生時刻までの時間を算出し、算出した時間に基づいて決定される更新値に前記猶予時間を更新する更新部とを備え、前記ログには、前記開閉検出部が扉の開かれたことを検出したことを示すイベントの発生時刻である扉開時刻が含まれ、前記第1の種別のイベントと前記第2の種別のイベントのうちいずれか一方は、前記開閉検出部が扉の開かれたことを検出したこと示すイベントであることを特徴とする。   In order to solve the above problems, a control device of the present invention is a control device that controls a door, and associates an opening / closing detection unit that detects opening / closing of a door, an event type, and the occurrence time of the event. The recorded log, a storage unit for storing a grace period indicating the time from the occurrence time when the event of the first type occurred to the scheduled occurrence time when the event of the second type should occur, and the first type When the second type event does not occur even after the grace period has elapsed since the occurrence of the event, the execution unit that executes a predetermined process related to door control, and the log, A plurality of combinations of the occurrence time of the event of the second type and the occurrence time of the most recent event of the first type before the occurrence time of the event of the second type are extracted, and for each of the extracted sets, the first The second from the time of occurrence of the event of type An update unit that calculates a time until the occurrence time of the event of the type, and updates the grace time to an update value determined based on the calculated time. A door opening time that is an occurrence time of an event indicating that it has been detected is included, and either the first type event or the second type event is detected by the open / close detection unit It is an event indicating that it has been detected that has been opened.

上記の制御装置によると、第1の種別のイベントが発生してから、第2の種別のイベントが発生するまでに、猶予時間だけ経過したときに所定の処理を行う際の猶予時間を、ログに記録された時刻に基づいて決定するので、経験で決められた値ではなく、実際の利用状況および運用状況に即した値に猶予時間の設定を変更することができる。
猶予時間の算出に用いられるログには、利用者が扉を開いた扉開時刻が含まれるので、猶予時間の設定値に利用者の動作を反映させることができる。
According to the above control device, the log of the grace time for performing the predetermined processing when the grace time elapses from the occurrence of the first type of event to the occurrence of the second type of event. Therefore, the setting of the grace time can be changed to a value according to the actual usage status and operation status, not a value determined based on experience.
Since the log used for calculating the grace time includes the door opening time when the user opened the door, the user's operation can be reflected in the set value of the grace time.

ここで、前記制御装置は、更に、扉の錠を施解錠する施解錠部を備え、前記ログには、前記施解錠部が扉の錠を解錠したことを示すイベントの発生時刻である解錠時刻が含まれ、前記猶予時間は、扉の錠を解錠しても扉が閉まり続けていた場合に、解錠時刻から、扉の錠を施錠すべき施錠予定時刻までの時間を示す第1施錠猶予時間であり、前記第1の種別のイベントは、前記施解錠部が扉の錠を解錠したことを示すイベントであり、前記第2の種別のイベントは、前記開閉検出部が扉の開かれたことを検出したこと示すイベントであり、前記所定の処理は、前記施解錠部により扉の錠を施錠させる処理であり、前記更新部が更新する前記第1施錠猶予時間の更新値は、前記組の総数に対して、解錠時刻から扉開時刻までの時間が前記更新値以下である組の数の割合が、所定の割合以上となる値である としてもよい。   Here, the control device further includes a locking / unlocking unit that locks / unlocks the door, and the log includes a release time indicating an event occurrence time indicating that the locking / unlocking unit has unlocked the door. A lock time is included, and the grace time indicates the time from the unlock time to the scheduled lock time when the door lock should be locked when the door continues to be closed even when the door lock is unlocked. 1 lock grace time, the first type of event is an event indicating that the lock / unlock unit has unlocked the door, and the second type of event is the door detection unit An event indicating that it has been opened, and the predetermined process is a process of locking the door by the locking / unlocking part, and the updated value of the first locking grace time updated by the updating part The time from the unlocking time to the door opening time is less than the updated value with respect to the total number of the sets. The ratio of the number of a certain set may be a value that is a predetermined ratio or more.

扉の錠が解錠されても、扉が開かれなかった場合に、自動的に施錠するまでの第1施錠猶予時間を、ログに記録された解錠時刻と扉開時刻とに基づいて算出するので、第1施錠猶予時間が短すぎて、扉を開く前に、施錠されてしまったり、第1施錠猶予時間が長すぎて、解錠状態のまま扉が長時間放置されてしまい、セキュリティ上問題になるということのないよう、実際の利用状況および運用状況に即した値に第1施錠猶予時間の設定を変更することができる。   Even if the door is unlocked, if the door is not opened, the first lock grace time until it is automatically locked is calculated based on the unlock time recorded in the log and the door open time. Therefore, the first lock grace time is too short and the door is locked before opening the door, or the first lock grace time is too long and the door is left in the unlocked state for a long time, security. In order not to cause any problems, the setting of the first lock grace time can be changed to a value according to the actual usage status and operational status.

ここで、前記制御装置は、更に、扉の錠を施解錠する施解錠部と、入退に関する認証を行う認証部とを備え、前記ログには、前記施解錠部が扉の錠を解錠したことを示すイベントの発生時刻である解錠時刻と、前記認証部が認証したことを示すイベントの発生時刻である認証時刻とが含まれ、前記猶予時間は、扉が開かれているときに認証が成功した場合に、認証時刻から、扉の錠を施錠すべき施錠予定時刻までの時間を示す第2施錠猶予時間であり、前記第1の種別のイベントは、前記認証部が認証に成功したことを示すイベントであり、前記第2の種別のイベントは、前記開閉検出部が扉の開かれたことを検出したこと示すイベントであり、前記所定の処理は、前記認証時刻から前記第2施錠猶予時間の間の施錠予定時刻を、前記認証時刻から前記第2施錠猶予時間だけ経過した時刻まで延期する処理であり、前記更新部が更新する前記第2施錠猶予時間の更新値は、前記組の総数に対して、認証時刻から扉開時刻までの時間が前記更新値以下である組の数の割合が、所定の割合以上となる値である としてもよい。   Here, the control device further includes a locking / unlocking unit that locks / unlocks the door, and an authentication unit that performs authentication related to entry / exit, and the log includes the locking / unlocking unit unlocking the door lock. An unlocking time that is an occurrence time of an event indicating that the authentication unit has been authenticated, and an authentication time that is an occurrence time of an event indicating that the authentication unit has been authenticated, and the grace time is when the door is opened When the authentication is successful, this is the second lock grace time indicating the time from the authentication time to the scheduled lock time to lock the door. The first type of event is successfully authenticated by the authentication unit. The second type event is an event indicating that the opening / closing detection unit has detected that the door has been opened, and the predetermined processing is performed from the authentication time to the second time. The scheduled locking time during the locking grace time is determined from the authentication time. It is a process to postpone until the time when only the second locking grace time has elapsed, and the update value of the second locking grace time updated by the update unit is from the authentication time to the door opening time with respect to the total number of the sets. The ratio of the number of pairs whose time is less than or equal to the update value may be a value that is greater than or equal to a predetermined ratio.

利用者が連続して入室する場合に、前の人が扉が開いているときに次の人が認証を行い、次の人が扉の所まで移動する間に扉が閉じられると、次の人が扉を開ける前に、扉の錠が施錠されてしまうことがある。扉が開いているときに認証が行われた場合は、認証してから第2施錠猶予時間だけ経過するまでは、施錠をしないようにすることで、上のような事態を防止することができ連続した入室を円滑に行うことができる。また、第2施錠猶予時間を、ログに記録された認証時刻と扉開時刻とに基づいて算出するので、第2施錠猶予時間が短すぎて、扉を開く前に、施錠されてしまったり、第2施錠猶予時間が長すぎて、解錠状態のまま扉が長時間放置されてしまい、セキュリティ上問題になるということのないよう、実際の利用状況および運用状況に即した値に第2施錠猶予時間の設定を変更することができる。   When a user enters a room continuously, the next person authenticates when the previous person is open and the door is closed while the next person moves to the door. The door lock may be locked before the person opens the door. If authentication is performed when the door is open, the above situation can be prevented by not locking until the second lock grace period elapses after authentication. Continuous entry can be performed smoothly. In addition, since the second lock grace time is calculated based on the authentication time recorded in the log and the door opening time, the second lock grace time is too short and the door is locked before opening the door, The second locking grace period is too long, and the door is left in the unlocked state for a long time, so that the second locking is set to a value that matches the actual usage and operational conditions so that there is no security problem. You can change the grace time setting.

ここで、前記所定の処理は、扉が開かれ続けていることに対して注意報知開始を指示する処理であり、前記ログには、前記開閉検出部が扉の閉じられたことを検出したことを示すイベントの発生時刻である扉閉時刻が含まれ、前記猶予時間は、扉が開かれ続けている場合に、扉開時刻から、注意報知開始を指示すべき注意報知開始予定時刻までの時間を示す注意報知猶予時間であり、前記第1の種別のイベントは、前記開閉検出部が扉の開かれたことを検出したこと示すイベントであり、前記第2の種別のイベントは、前記開閉検出部が扉の閉じられたことを検出したこと示すイベントであり、前記更新部が更新する前記注意報知猶予時間の更新値は、前記組の総数に対して、扉開時刻から扉閉時刻までの時間が前記更新値以上である組の数の割合が所定の割合以下となる値である としてもよい。   Here, the predetermined process is a process of instructing the start of caution notification to the fact that the door is kept open, and it is detected in the log that the opening / closing detection unit is closed. Includes a door closing time, which is an occurrence time of the event, and the grace time is a time from the door opening time to a caution notification start scheduled time to instruct the start of caution notification when the door is kept open. The first type of event is an event indicating that the opening / closing detection unit has detected that the door has been opened, and the second type of event is the detection of opening / closing. This is an event indicating that the part has detected that the door is closed, and the update value of the caution notice postponement time updated by the update part is from the door opening time to the door closing time with respect to the total number of the sets. The number of pairs whose time is greater than or equal to the updated value If it may be a value equal to or less than a predetermined ratio.

扉が開かれたまま長時間放置されたとき、音を鳴らすなどの報知を行って注意を促すことが従来から行われているが、報知を開始するまでの注意報知猶予時間を、ログに記録された扉開時刻と扉閉時刻とに基づいて算出することで、注意報知猶予時間が短かすぎて、報知音が耳障りとなったり、注意報知猶予時間が長すぎて、扉が開かれたまま長時間放置されてしまい、セキュリティ上問題となるということのないよう、実際の利用状況および運用状況に即した値に注意報知猶予時間の設定を変更することができる。   When the door is left open for a long period of time, a warning is issued to alert the user to make a sound, etc., but the notice alert grace time until the notification is started is recorded in the log. By calculating based on the door opening time and the door closing time, the caution notice grace time is too short, the notification sound becomes annoying, the caution notice grace time is too long, and the door was opened It is possible to change the setting of the caution notice postponement time to a value according to the actual usage status and operational status so that it will not be left as it is for a long time.

ここで、前記ログには、前記実行部が注意報知開始を指示したことを示すイベントの発生時刻である注意報知開始時刻が含まれ、前記実行部は、更に、前記注意報知開始時刻から注意報知時間だけ経過すると、注意報知終了を指示する処理と、警告報知開始を指示する処理とを実行し、前記注意報知時間は、扉が開かれ続けている場合に、扉開時刻から、警告報知開始を指示すべき警告報知開始予定時刻までの時間を示す警告報知猶予時間と、前記注意報知猶予時間との差であり、前記警告報知猶予時間は、前記更新部により更新され、前記更新部が更新する前記警報報知猶予時間の更新値は、前記組の総数に対して、扉開時刻から扉閉時刻までの時間が前記更新値以上である組の数の割合が前記所定の割合よりも小さい値以下となる値である としてもよい。   Here, the log includes a warning notification start time that is an occurrence time of an event indicating that the execution unit has instructed to start a warning notification, and the execution unit further includes a warning notification from the attention notification start time. When the time elapses, a process for instructing the end of caution notification and a process for instructing the start of warning notification are executed. The caution notification time starts from the door opening time when the door is kept open. Is the difference between the warning notification postponement time indicating the time until the warning notification start scheduled time and the attention notification postponement time, the warning notification postponement time is updated by the updating unit, and the updating unit updates The update value of the alarm notification postponement time is a value in which the ratio of the number of groups in which the time from the door open time to the door close time is equal to or greater than the update value is smaller than the predetermined ratio with respect to the total number of the groups. Is the following value It may be.

報知を注意報知と警告報知との 2段階からなるようにし、注意報知猶予時間だけでなく、警告報知猶予時間も、ログに記録された扉開時刻と扉閉時刻とに基づいて算出することで、警告報知猶予時間が短かすぎて、注意報知する時間が短かくなりすぎたり、警告報知猶予時間が長すぎて、扉が開かれたまま長時間放置されてしまい、セキュリティ上問題となるということのないよう、実際の利用状況および運用状況に即した値に警告報知猶予時間の設定を変更することができる。   The notification is made up of two stages of caution notification and warning notification, and not only the caution notification grace time but also the warning notification grace time is calculated based on the door opening time and the door closing time recorded in the log. , The warning notification grace time is too short, the warning notification time is too short, or the warning notification grace time is too long, leaving the door open for a long time, which is a security problem In order to prevent this from happening, the setting of the warning notification postponement time can be changed to a value according to the actual usage status and operation status.

ここで、前記実行部は、前記扉開時刻から、前記ログのうち、扉開時刻から扉閉時刻までの時間の最大値以上の時間が経過すると、警報報知終了を指示する としてもよい。
何らかの事情で扉を開け放しにしている場合にも、いつまでも警告報知が鳴り続けるということのないよう、一定時間経過すれば報知を止めるようにする場合に、報知の継続時間の最大値である最大報知時間を、ログに記録された扉開時刻と扉閉時刻とに基づいて算出することで、報知の継続時間が短かすぎて、報知の意味をなさなくなったり、報知の継続時間が長すぎて、報知音が耳障りとなったりすることのないよう、実際の利用状況および運用状況に即した値に最大放置時間の設定を変更することができる。
Here, the execution unit may instruct the end of alarm notification when a time equal to or greater than a maximum value of the time from the door opening time to the door closing time has elapsed in the log from the door opening time.
Even if the door is left open for some reason, the maximum notification, which is the maximum value of the notification duration, is to stop the notification after a certain period of time so that the warning notification will not sound forever. By calculating the time based on the door opening time and the door closing time recorded in the log, the duration of the notification is too short, making the meaning of the notification meaningless, or the duration of the notification is too long The setting of the maximum leaving time can be changed to a value according to the actual use situation and operation situation so that the notification sound does not become annoying.

実施形態1における制御装置の構成図Configuration diagram of control device in embodiment 1 第1施錠猶予時間を説明する図Diagram explaining the first lock grace time 第1施錠猶予時間の更新値の決定方法を説明する図The figure explaining the determination method of the update value of the 1st lock postponement time 実施形態1における制御装置の動作を示す図The figure which shows operation | movement of the control apparatus in Embodiment 1. 実施形態1における第1施錠猶予時間の更新動作を示す図The figure which shows the update operation | movement of the 1st lock postponement time in Embodiment 1. 第2施錠猶予時間を説明する図Diagram explaining second lock grace time 第2施錠猶予時間の更新値の決定方法を説明する図The figure explaining the determination method of the update value of the 2nd lock postponement time 実施形態2における制御装置の動作を示す図The figure which shows operation | movement of the control apparatus in Embodiment 2. 実施形態2における第2施錠猶予時間の更新動作を示す図The figure which shows the update operation | movement of the 2nd lock postponement time in Embodiment 2. 実施形態3における制御装置の構成図Configuration diagram of control device in embodiment 3 報知猶予時間を説明する図Illustration explaining the notice delay time 報知猶予時間の更新値の決定方法を説明する図The figure explaining the determination method of the update value of notification postponement time 実施形態3における制御装置の動作を示す図 (1)The figure which shows operation | movement of the control apparatus in Embodiment 3 (1) 実施形態3における制御装置の動作を示す図 (2)The figure which shows operation | movement of the control apparatus in Embodiment 3 (2) 実施形態3における報知猶予時間の更新動作を示す図The figure which shows the update operation | movement of the notification postponement time in Embodiment 3. 実施形態3における最大報知時間の更新動作を示す図The figure which shows the update operation | movement of the maximum alerting time in Embodiment 3.

《実施形態1》
本実施形態では、利用者が認証に成功し、制御装置が扉の錠を解錠した後、利用者によって扉が開かれずに解錠状態のまま扉が放置されたときに、制御装置が一定時間後に自動的に施錠する場合の例について説明する。以下、この場合の一定時間を第1施錠猶予時間と呼ぶ。
〈構成〉
本実施形態における制御装置 100の構成を図1に示す。本実施形態における制御装置 100は、扉 200と認証装置 300とを組み合わせて構成される入退管理システムの一つの構成要素である。制御装置 100は、施解錠可能な扉 200を制御する装置であり、認証情報を読み取る認証装置 300とともに部屋ごとに設置されている。制御装置 100による扉 200の制御は、認証装置 300から受信した認証情報に基づいて行われる。
Embodiment 1
In this embodiment, when the user succeeds in authentication and the control device unlocks the door, the control device is fixed when the door is left open without being opened by the user. An example of automatically locking after a time will be described. Hereinafter, the fixed time in this case is referred to as a first locking grace time.
<Constitution>
The configuration of the control device 100 in the present embodiment is shown in FIG. The control device 100 in this embodiment is one component of an entrance / exit management system configured by combining the door 200 and the authentication device 300. The control device 100 is a device that controls the door 200 that can be locked and unlocked, and is installed in each room together with the authentication device 300 that reads authentication information. Control of the door 200 by the control device 100 is performed based on authentication information received from the authentication device 300.

扉 200には、制御装置 100により解錠および施錠がなされる錠 201が備えられており、扉の錠が解錠されているときは、利用者は手動で扉を開閉できるようになっている。
認証装置 300は、カードリーダのような認証情報を読み取るためのインターフェイスであり、予め利用者に配布された認証カードから、利用者IDを含む認証情報を読み取るための読取部 301を備えている。読取部 301は、認証情報を読み取ると、読み取った認証情報を制御装置 100の認証部 103に送信する。
The door 200 is provided with a lock 201 that can be unlocked and locked by the control device 100. When the door is unlocked, the user can manually open and close the door. .
The authentication device 300 is an interface for reading authentication information such as a card reader, and includes a reading unit 301 for reading authentication information including a user ID from an authentication card distributed to a user in advance. When reading unit 301 reads the authentication information, reading unit 301 transmits the read authentication information to authentication unit 103 of control device 100.

制御装置 100は、記憶部 104、認証部 103、施解錠部 102、開閉検出部 101、更新部 105、および、実行部 106 を含む構成となっている。以下、制御装置 100の各構成要素について説明する。
・記憶部 104
記憶部 104は、記録媒体であり、制御装置 100が扉 200の制御を行う上で発生したイベント種別を、イベントの発生時刻と対応付けて記録するログを記憶する。ここで、イベントには、認証を行ったことを示す認証イベント、扉 200の錠 201を解錠または施錠したことをそれぞれ示す解錠イベントまたは施錠イベント、扉 200の開閉を検出したことを示す扉開イベントおよび扉閉イベントなどがある。認証イベントには、認証が成功したことを示す認証成功イベント、認証が失敗したことを示す認証失敗イベントがある。また、記憶部 104は、第1施錠猶予時間を記憶する。第1施錠猶予時間は初期値は予め定められた値であるが、更新部 105によって更新されると、更新された値が 記憶部 104に記憶される。
The control device 100 includes a storage unit 104, an authentication unit 103, a locking / unlocking unit 102, an open / close detection unit 101, an update unit 105, and an execution unit 106. Hereinafter, each component of the control device 100 will be described.
Storage unit 104
The storage unit 104 is a recording medium, and stores a log that records an event type generated when the control device 100 controls the door 200 in association with an event occurrence time. Here, the event includes an authentication event indicating that authentication has been performed, an unlocking event or locking event indicating that the lock 201 of the door 200 has been unlocked or locked, and a door indicating that the opening and closing of the door 200 has been detected. There are opening events and door closing events. The authentication event includes an authentication success event indicating that the authentication has succeeded and an authentication failure event indicating that the authentication has failed. In addition, the storage unit 104 stores the first locking grace time. Although the initial value of the first locking grace period is a predetermined value, when updated by the updating unit 105, the updated value is stored in the storage unit 104.

図2(a)は、第1施錠猶予時間と発生するイベントを時系列に示した図である。図2(a)は、利用者ID A の人により認証が成功し、扉 200の錠 201が解錠されても、扉 200が開かれないままであったときに、第1施錠猶予時間だけ経過すると、自動的に施錠することを示している。第1施錠猶予時間は、解錠イベントが発生した解錠時刻から、扉開イベントが発生することなく、施錠イベントが発生すべき施錠予定時刻までの時間である。   FIG. 2 (a) is a diagram showing the first locking suspension time and the events that occur in time series. Fig. 2 (a) shows that when the authentication is successful by the person with user ID A and the door 200 remains unopened even if the lock 201 of the door 200 is unlocked, only the first lock grace period is reached. It shows that it locks automatically when it passes. The first lock grace time is the time from the unlocking time at which the unlocking event occurs to the scheduled locking time at which the locking event should occur without the door opening event occurring.

図2(a) で発生する各イベントのログを示すと、図2(b) のようになる。この例では、第1施錠猶予時間を 30秒、利用者ID A の人による認証が成功した時刻を 0:00:00 として、認証が成功してから 1秒後に解錠が行われ、その後、扉が開かれることなく、30秒経過した時点で施錠が行われている。
・認証部 103
認証部 103は、認証装置 300から送信される認証情報を受信し、入退が許可された利用者かどうかの認証を行う機能を有する。認証部 103は、認証に成功すれば、認証に成功したことと、認証時刻とを対応付けて利用者IDとともにログに記録し、更に、施解錠部 102に扉 200の錠 201を解錠するように指示する。認証に失敗すれば、認証に失敗したことと、認証時刻とを対応付けて利用者IDとともにログに記録する。
・施解錠部 102
施解錠部 102は、扉 200の錠 201の施解錠を制御する機能を有する。施解錠部 102は、認証部 103から解錠の指示受けたとき、扉 200の錠 201を解錠し、扉 200の錠 201を解錠したことと解錠時刻とを実行部 106に送信し、扉 200の錠 201を解錠したことと解錠時刻とを対応付けてログに記録する。また、施解錠部 102は、開閉検出部 101から扉 200の閉じたことを検出したことを通知されたとき、あるいは、実行部 106から扉 200の錠 201を施錠するように指示を受けたとき、扉 200の錠 201を施錠し、扉 200の錠 201を施錠したことと施錠時刻とを実行部 106に送信し、扉 200の錠 201を施錠したことと施錠時刻とを対応付けてログに記録する。
・開閉検出部 101
開閉検出部 101は、扉 200の開閉を検出する機能を有する。開閉検出部 101は、扉 200の開いたことを検出すると、扉 200の開いたことと、扉開時刻と対応付けてログに記録する。また、開閉検出部 101は、扉 200の閉じたことを検出すると、扉 200の閉じたことと、扉閉時刻と対応付けてログに記録し、施解錠部 102に、扉 200の錠 201を施錠するように指示する。
Fig. 2 (b) shows the log of each event that occurs in Fig. 2 (a). In this example, assuming that the first lock grace time is 30 seconds and the time when authentication by the user ID A is successful is 0:00:00, unlocking is performed 1 second after successful authentication, The door is unlocked when 30 seconds pass without opening.
Authentication part 103
The authentication unit 103 has a function of receiving authentication information transmitted from the authentication device 300 and authenticating whether the user is permitted to enter or exit. If the authentication is successful, the authentication unit 103 records that the authentication is successful and the authentication time in a log together with the user ID, and further unlocks the lock 201 of the door 200 to the locking / unlocking unit 102. To instruct. If the authentication fails, the authentication failure is associated with the authentication time and recorded in the log together with the user ID.
・ Locking / unlocking part 102
The locking / unlocking unit 102 has a function of controlling the locking / unlocking of the lock 201 of the door 200. When receiving the unlocking instruction from the authentication unit 103, the locking / unlocking unit 102 unlocks the lock 201 of the door 200, and transmits the unlocking time and unlocking time of the door 200 to the execution unit 106. The unlocking of the lock 201 of the door 200 and the unlocking time are recorded in the log in association with each other. Also, when the unlocking / unlocking unit 102 is notified by the opening / closing detection unit 101 that it has detected that the door 200 has been closed, or when the execution unit 106 has received an instruction to lock the lock 201 of the door 200 The lock 201 of the door 200 is locked, the lock of the lock 201 of the door 200 and the lock time are transmitted to the execution unit 106, and the lock of the lock 201 of the door 200 and the lock time are associated with each other in the log. Record.
Open / close detection unit 101
The opening / closing detection unit 101 has a function of detecting opening / closing of the door 200. When the opening / closing detection unit 101 detects that the door 200 is opened, the opening / closing detection unit 101 records the information in the log in association with the opening of the door 200 and the door opening time. Further, when the opening / closing detection unit 101 detects that the door 200 is closed, it records in a log in association with the closing of the door 200 and the door closing time, and the lock / unlock unit 102 stores the lock 201 of the door 200. Instruct to lock.

開閉の検出は、例えばリミットスイッチにより実現され、扉の開閉により機械的にスイッチが押されるように設置することで、開閉状態を電気信号として検出することができる。あるいは、扉の可動部に永久磁石とのセットを設置しておくことで、開閉状態を電気信号として検出するなど、どのような方法で開閉を検出するようにしてもよい。
・更新部 105
更新部 105は、記憶部 104からログを読み出し、ログに記録されたイベント種別とイベント発生時刻に基づいて、第1施錠猶予時間の更新値を算出し、記憶部 104に記憶された第1施錠猶予時間を算出した更新値に更新する機能を有する。更新は、認証部 103が認証情報を受信するの待っている空き時間に行われる。第1施錠猶予時間の更新値の算出方法については後述する。
・実行部 106
実行部 106は、施解錠部 102から扉 200の錠 201を解錠したことと解錠時刻とを受信してから、扉 200の錠 201を施錠したことと施錠時刻とを受信するまで、次の動作を行う。すなわち、記憶部 104に記憶された第1施錠猶予時間を読み出し、施錠時刻から現在時刻までの経過時間と第1施錠猶予時間を比較し、施錠時刻から現在時刻までの経過時間が第1施錠猶予時間を越えれば、施解錠部 102に扉 200の錠 201を施錠するように指示する。
〈第1施錠猶予時間の更新値の算出〉
ここでは、第1施錠猶予時間の更新値の算出方法について説明する。
The opening / closing detection is realized by, for example, a limit switch, and the opening / closing state can be detected as an electric signal by installing the switch so that the switch is mechanically pressed by opening / closing the door. Alternatively, the opening / closing state may be detected by any method, such as detecting the opening / closing state as an electric signal by installing a set of permanent magnets on the movable part of the door.
Update part 105
The update unit 105 reads the log from the storage unit 104, calculates an updated value of the first lock grace time based on the event type and event occurrence time recorded in the log, and stores the first lock stored in the storage unit 104 It has a function to update the update time to the calculated update time. The update is performed during the idle time in which the authentication unit 103 is waiting to receive the authentication information. A method for calculating the update value of the first locking postponement time will be described later.
Execution unit 106
The execution unit 106 receives the unlocking and unlocking time of the lock 201 of the door 200 from the locking / unlocking unit 102 until receiving the locking and unlocking time of the lock 201 of the door 200. Perform the operation. That is, the first locking delay time stored in the storage unit 104 is read, the elapsed time from the locking time to the current time is compared with the first locking delay time, and the elapsed time from the locking time to the current time is compared with the first locking delay time. If the time is exceeded, the locking / unlocking unit 102 is instructed to lock the lock 201 of the door 200.
<Calculation of the updated value of the first lock grace time>
Here, a method for calculating the update value of the first locking postponement time will be described.

第1施錠猶予時間は、利用者の認証が成功し、扉 200の錠 201が解錠された後、扉 200が開けられることがない場合に、自動的に施錠を行うまでの時間である。従って、第1施錠猶予時間は、扉 200の錠 201が解錠されてから、扉 200が開けられるまでにかかる第1扉開猶予時間に基づいて算出する。
図2(c) は、第1扉開猶予時間と、利用者が部屋に入室するときに発生するイベントを時系列に示した図である。利用者が部屋に入室するときは、まず、認証イベントが発生し、認証に成功すれば、解錠イベントが発生する。解錠後、利用者は、認証装置 300が設置された位置から、扉 200の位置まで移動し、扉 200を開くことで、扉開イベントが発生する。利用者が入室した後、扉 200が締まると、扉閉イベントが発生する。第1扉開猶予時間は、解錠イベントが発生した解錠時刻から、扉開イベントが発生した扉開時刻までの時間である。
The first lock grace time is a time until the lock is automatically performed when the user is successfully authenticated and the door 200 is not opened after the lock 201 of the door 200 is unlocked. Therefore, the first locking window is calculated based on the first door opening window after the lock 201 of the door 200 is unlocked until the door 200 is opened.
FIG. 2 (c) is a diagram showing, in chronological order, the first door opening delay time and the events that occur when the user enters the room. When a user enters a room, an authentication event is first generated, and if the authentication is successful, an unlocking event is generated. After unlocking, the user moves from the position where the authentication device 300 is installed to the position of the door 200 and opens the door 200, thereby generating a door opening event. After the user enters the room, the door closing event occurs when the door 200 is closed. The first door opening grace time is the time from the unlocking time when the unlocking event occurs to the door opening time when the door opening event occurs.

第1施錠猶予時間の更新値の算出は、まず、上記のような連続する解錠イベントと扉開イベントとの組をログから抽出し、組ごとに扉開時刻と解錠時刻との差を算出し、第1扉開猶予時間を求める。続いて、各組ごとに求めた第1扉開猶予時間の分布を算出する。第1施錠猶予時間の精度を決める時間解像度をΔtとすると、分布の算出は時間軸を時間幅 Δt で分割し、0〜Δt, Δt〜2Δt, 2Δt〜3Δt,..., kΔt〜(k+1)Δt (k = 0, 1, 2,..)の各分割幅に第1扉開猶予時間が含まれる組の数を数えることでなされる。これを図で表すと、図3のようなヒストグラムを作成することに相当する。   To calculate the update value of the first lock postponement time, first, extract the set of consecutive unlocking events and door opening events as described above from the log, and calculate the difference between the door opening time and the unlocking time for each pair. Calculate and calculate the first door opening time. Subsequently, the distribution of the first door opening time calculated for each group is calculated. Assuming that the time resolution that determines the accuracy of the first lock grace time is Δt, the distribution is calculated by dividing the time axis by the time width Δt, and 0 to Δt, Δt to 2Δt, 2Δt to 3Δt, ..., kΔt to (k +1) Δt (k = 0, 1, 2, ..) This is done by counting the number of groups in which the first door opening time is included in each division width. This can be represented by creating a histogram as shown in FIG.

図3では、時間幅Δtを 1秒とし、0〜30秒の範囲で 1秒ごとの時間幅の中に扉開猶予時間が含まれる組の数を数えている。第1扉開猶予時間が第1施錠猶予時間を越えることはないので、時間範囲の最大値は、更新前の第1施錠猶予時間を選べばよい。ここでは、第1施錠猶予時間の初期値を 30秒とする。図3は、解錠後、およそ 17〜18秒後に扉を開いている利用者が最も多くて、どの利用者も解錠してから 28秒以内には扉を開いていることを示している。   In Fig. 3, the time width Δt is 1 second, and the number of pairs in which the door opening time is included in the time width every 1 second in the range of 0 to 30 seconds is counted. Since the first door grace time does not exceed the first locking grace time, the first locking grace time before renewal can be selected as the maximum value of the time range. Here, the initial value of the first lock grace period is 30 seconds. Figure 3 shows that most users open the door approximately 17-18 seconds after unlocking, and all users open the door within 28 seconds after unlocking. .

第1施錠猶予時間の更新値は、図3のヒストグラムにおいて、第1扉開猶予時間が更新値以下である割合が閾値以上となる最小の値となるように決定される。ここでは閾値は、例えば、95% とすると、第1扉開猶予時間の更新値は、23秒となる。この閾値は、利用者の全体数のうち扉を開くのが早い方から 95% の人は、自動的に施錠されるよりも前に扉を開くことができ、利用者の全体数のうち扉を開くのが遅い方から 5% の人は、扉を開く前に自動的に施錠がなされるという主旨の下に、予め決められた値である。
〈動作〉
本実施形態における制御装置 100の動作を、図4のフローチャートを用いて説明する。
The updated value of the first locking grace time is determined so that the ratio of the first door opening grace time being equal to or less than the updated value in the histogram of FIG. Here, if the threshold is 95%, for example, the updated value of the first door opening delay time is 23 seconds. This threshold is set so that 95% of people who open the door earlier in the total number of users can open the door before it is automatically locked. 5% of people who are slow to open the door are pre-determined values with the intention that they are automatically locked before opening the door.
<Operation>
The operation of the control device 100 in the present embodiment will be described using the flowchart of FIG.

まず、認証装置 300が読取部 301で読み取った認証情報を、認証部 103が受信するのを待つ(S401)。
認証部 103が認証情報を受信すると(S401 Y)、認証の成否を判定する(S402)。
認証に成功すれば(S402 Y)、認証部 103は、認証時刻と認証に成功したこと、および、認証に成功した利用者IDとを対応付けた情報を、記憶部 104に記憶されたログに記録する(S403)。
First, the authentication device 300 waits for the authentication unit 103 to receive the authentication information read by the reading unit 301 (S401).
When the authentication unit 103 receives the authentication information (S401 Y), it determines whether or not the authentication is successful (S402).
If the authentication is successful (S402 Y), the authentication unit 103 stores information that associates the authentication time with the authentication success and the user ID that has been successfully authenticated, in the log stored in the storage unit 104. Record (S403).

続いて、認証部 103は、施解錠部 102に扉 200の錠 201を解錠するように指示する(S405)。施解錠部 102は、扉 200の錠 201を解錠すると、解錠時刻と扉 200の錠 201を解錠したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S406)。
次に、開閉検出部 101が、扉 200の開かれたことを検出すると(S407 Y)、扉開時刻と扉 200の開かれたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S408)。
Subsequently, the authentication unit 103 instructs the locking / unlocking unit 102 to unlock the lock 201 of the door 200 (S405). When the lock 201 of the door 200 is unlocked, the locking / unlocking unit 102 records information in which the unlocking time is associated with the unlocking of the lock 201 of the door 200 in a log stored in the storage unit 104 ( S406).
Next, when the opening / closing detection unit 101 detects that the door 200 has been opened (S407 Y), information that associates the door opening time with the detection that the door 200 has been opened is stored in the storage unit 104. Is recorded in the log stored in (S408).

次に、開閉検出部 101は、扉 200の閉じられたことを検出するのを待つ(S409 N)、開閉検出部 101が、扉 200の閉じられたことを検出すると(S409 Y)、扉閉時刻と扉 200の閉じられたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S410)。
続いて、開閉検出部 101は、施解錠部 102に扉 200の錠 201を施錠するように指示する(S411)。
Next, the open / close detection unit 101 waits to detect that the door 200 is closed (S409 N), and when the open / close detection unit 101 detects that the door 200 is closed (S409 Y), the door closes. Information that associates the time with the detection that the door 200 has been closed is recorded in the log stored in the storage unit 104 (S410).
Subsequently, the opening / closing detection unit 101 instructs the locking / unlocking unit 102 to lock the lock 201 of the door 200 (S411).

施解錠部 102は、扉 200の錠 201を施錠すると、施錠時刻と扉 200の錠 201を施錠したこととを対応付けた情報を、記憶部 104に記憶されたログに記録し(S412)、認証情報の受信待ちに戻る(S401)。
開閉検出部 101が、扉 200の開かれたことを検出しない場合(S407 N)、解錠時刻から、第1施錠猶予時間だけ経過したかどうかを判定し(S413)、第1施錠猶予時間だけ経過するまでは(S413 N)、扉開検出待ちに戻る(S407)。解錠時刻から、第1施錠猶予時間だけ経過すれば(S413 Y)、開閉検出部 101からの指示に基づき、施解錠部 102は扉 200の錠 201を施錠する(S411)。
When the lock 201 of the door 200 is locked, the locking / unlocking unit 102 records information in which the locking time is associated with the locking of the lock 201 of the door 200 in the log stored in the storage unit 104 (S412), The process returns to waiting for receiving authentication information (S401).
When the opening / closing detection unit 101 does not detect that the door 200 has been opened (S407 N), it is determined whether or not the first locking grace time has elapsed from the unlocking time (S413), and only the first locking grace time Until the time elapses (S413 N), the process returns to the door open detection waiting state (S407). When the first lock grace time elapses from the unlocking time (Y in S413), the unlocking unit 102 locks the lock 201 of the door 200 based on the instruction from the opening / closing detection unit 101 (S411).

なお、認証部 103が認証情報を受信したあとに(S401 Y)、認証に失敗すれば(S402 N)、認証部 103は、認証時刻と認証に失敗したこと、および、認証に失敗した利用者IDとを対応付けた情報を、記憶部 104に記憶されたログに記録し(S404)、認証待ちに戻る(S401)。
また、認証部 103が認証情報を受信しなければ(S401 N)、それまでに記憶部 104に記憶されているログに基づいて、第1施錠猶予時間を更新する(S414)。
If the authentication unit 103 receives the authentication information (S401 Y) and the authentication fails (S402 N), the authentication unit 103 indicates that the authentication time and the authentication have failed, and the user who has failed the authentication. The information associated with the ID is recorded in a log stored in the storage unit 104 (S404), and the process returns to the waiting for authentication (S401).
If the authentication unit 103 does not receive the authentication information (S401 N), the first locking grace period is updated based on the logs stored in the storage unit 104 so far (S414).

以上のようにして、本実施形態における制御装置 100は動作する。
〈第1施錠猶予時間の更新動作〉
第1施錠猶予時間の更新動作について、図5のフローチャートを用いて説明する。
まず、第1扉開猶予時間を時間範囲ごとに分類して記憶する第1扉開猶予時間配列 T1(i) の要素を 0 に初期化する(S501)。
As described above, the control device 100 in the present embodiment operates.
<Renewal operation of the first lock grace period>
The update operation of the first locking postponement time will be described using the flowchart of FIG.
First, the elements of the first door opening delay time array T1 (i) that stores the first door opening delay time classified and stored for each time range are initialized to 0 (S501).

解錠時刻 t1 と、扉開時刻 t2 との組をログから読み出し、各組ごとに第1扉開猶予時間 (t2-t1) を算出する(S502)。
時間解像度を Δt として、第1扉開猶予時間 (t2-t1) が、kΔt 以上 (k+1)Δt 未満となる非負整数 k に対して、配列の要素 T1(k) をインクリメントする(S503)。これをログから読み出したすべての解錠時刻と扉開時刻との組について行うことで、第1扉開猶予時間を時間間隔 Δt の幅ごとに分類した配列 T1(i) が算出される。時間解像度 Δt は、例えば、1秒としておくと第1施錠猶予時間の更新値を 1秒の精度で決定することができる。
A set of the unlocking time t1 and the door opening time t2 is read from the log, and the first door opening delay time (t2-t1) is calculated for each set (S502).
When the time resolution is Δt, the first door opening delay time (t2-t1) is incremented by an element T1 (k) of the array for a non-negative integer k that is greater than or equal to kΔt and less than (k + 1) Δt (S503) . By performing this operation for all combinations of unlocking times and door opening times read from the log, an array T1 (i) in which the first door opening grace time is classified according to the width of the time interval Δt is calculated. For example, if the time resolution Δt is set to 1 second, the updated value of the first locking grace time can be determined with an accuracy of 1 second.

算出された配列 T1(i) のすべての要素の和をとり N とする(S504)。
配列 T1(i) の i ≦ n なる要素の和の、N に対する割合が閾値以上となる最小の n を算出する(S505)。ここで、閾値としては、例えば、95% とする。
以上のようにして決定された n を用いて、第1施錠猶予時間を nΔt にする(S506)。
《実施形態2》
利用者が連続して入室するときに、前の人が認証に成功し、扉の錠が解錠された後、扉を開いている途中で次の人が認証に成功し、次の人が扉まで移動している間に、前の人によって開かれた扉が閉じられることがある。セキュリティを確保するためには、扉が閉じられると即座に施錠を行うことが望ましいが、そうすると、次の人が扉を開ける前に、扉の錠が自動的に施錠されてしまい、次の人は認証をやり直して、扉の錠を解錠しなければならなくなる。
The sum of all the elements of the calculated array T1 (i) is taken as N (S504).
A minimum n is calculated such that the ratio of the sum of elements of array T1 (i) where i ≦ n to N is equal to or greater than a threshold (S505). Here, the threshold is, for example, 95%.
Using the n determined as described above, the first lock delay time is set to nΔt (S506).
Embodiment 2
When the user enters the room continuously, the previous person succeeds in authentication, and after the door is unlocked, the next person succeeds in authentication while the door is opened, and the next person While moving to the door, the door opened by the previous person may be closed. To ensure security, it is desirable to lock the door immediately after it is closed, but if you do so, the door lock will be automatically locked before the next person opens the door. Will have to re-authenticate and unlock the door.

本実施形態では、上記のようなことが起こらないように、扉が開いているときに認証に成功した場合、認証時刻から一定の時間は施錠をしないようにする場合の例について説明する。以下、この一定の時間を第2施錠猶予時間と呼ぶ。
第2施錠猶予時間と実施形態1 で説明した第1施錠猶予時間とは排他的なものではないので、本実施形態における制御装置は、実施形態1における制御装置 100に、上記の機能を付加したものとして説明する。
〈構成〉
本実施形態における制御装置 100の構成は、図1に示した実施形態1 における制御装置 100の構成と同じであるが、各構成要素は次の点で異なる。
In the present embodiment, an example of a case where locking is not performed for a certain period of time from the authentication time when authentication is successful when the door is open will be described so that the above does not occur. Hereinafter, this fixed time is referred to as a second locking grace time.
Since the second locking delay time and the first locking delay time described in the first embodiment are not exclusive, the control device in the present embodiment adds the above function to the control device 100 in the first embodiment. It is explained as a thing.
<Constitution>
The configuration of the control device 100 in the present embodiment is the same as the configuration of the control device 100 in the first embodiment shown in FIG. 1, but each component is different in the following points.

まず、記憶部 104は、ログと第1施錠猶予時間に加えて、第2施錠猶予時間も記憶する。
図6(a)は、第2施錠猶予時間と発生するイベントを時系列に示した図である。
まず、利用者ID A の人による認証成功イベントが発生し、続いて、解錠イベントが発生する。次に、利用者ID A の人が扉を開くことを検出した扉開イベントが発生する。この後、扉が閉じて扉閉イベントが発生するよりも前に、利用者ID B の人による認証成功イベントが発生したとする。扉が閉じられると即座に施錠するという仕様の下では、利用者ID A の人が入室し終えて扉を閉じると、施錠予定時刻A で施錠されてしまう。そうすると、利用者ID B の人が、それ以降の時刻に、扉を開くには再度認証し、解錠しなければならない。これでは不便であるので、本実施形態における制御装置 100は、施錠予定時刻A を、施錠予定時刻B にまで延期する。こうすることで、利用者ID B の人は、施錠予定時刻A 以降でも、扉を開くことができる。この延期する時間を、利用者ID B の人の認証成功時刻から測ったものが、第2施錠猶予時間である。施錠予定時刻B 以前に、扉の開閉が行われ、扉開イベントと扉閉イベントが発生しても、施錠イベントはすべて、施錠予定時刻B まで延期される。施錠予定時刻B の時点で扉が開かれている場合は、施錠予定時刻B 以降で扉が閉じられた後に施錠が行われる。
First, the storage unit 104 stores a second locking grace time in addition to the log and the first locking grace time.
FIG. 6 (a) is a diagram showing the second locking suspension time and the events that occur in time series.
First, an authentication success event by the person with user ID A occurs, and then an unlock event occurs. Next, a door opening event that detects that the person with user ID A opens the door occurs. After that, it is assumed that the authentication success event by the user ID B occurs before the door closes and the door closing event occurs. Under the specification of locking immediately when the door is closed, when the person with user ID A finishes entering the room and closes the door, the door is locked at the scheduled locking time A. Then, the person with user ID B must authenticate and unlock again to open the door at a later time. Since this is inconvenient, the control device 100 in this embodiment postpones the scheduled locking time A to the scheduled locking time B. In this way, the person with user ID B can open the door even after the scheduled locking time A. The postponement time is measured from the authentication success time of the person with the user ID B as the second lock grace time. Even if the door is opened and closed before the scheduled locking time B and the door opening and closing events occur, all the locking events are postponed until the scheduled locking time B. If the door is opened at the scheduled locking time B, the locking is performed after the door is closed after the scheduled locking time B.

図6(a) で発生する各イベントのログを示すと、図6(b) のようになる。この例では、第2施錠猶予時間を 30秒、利用者ID A の人による認証が成功した時刻を 0:00:00 として、利用者ID A の人による認証が成功してから 1秒後に解錠が行われ、更に、15秒後に利用者ID A の人により扉が開かれ、その 3秒後に、扉が閉まるより前に、利用者ID B の人による認証が成功し、利用者ID B の人による認証が成功してから 2秒後に扉が閉まっている。扉が閉じられると即座に施錠するという仕様の下では、扉が閉まるった時刻 00:00:21 から、例えば、 1秒後の時刻 00:00:22 に施錠が行われるが、ここでは、利用者ID B の人による認証が成功した時刻 00:00:19 から、第2施錠猶予時間だけ経過した時刻 00:00:49 までの間では施錠をしない。よって、扉が閉じてから 8秒後に、利用者ID B の人が扉を開くことができる。その 10秒後に閉じられても、すぐには施錠はされず、利用者ID B の人による認証が成功してから第2施錠猶予時間だけ経過した時刻 00:00:49 に施錠がなされる。   The log of each event that occurs in Fig. 6 (a) is shown in Fig. 6 (b). In this example, the second lock grace period is 30 seconds, the time when authentication by the user ID A is successful is 0:00:00, and 1 second after the authentication by the user ID A is successful. After 15 seconds, the door is opened by the person with user ID A. After 3 seconds, the user ID B has been successfully authenticated before the door is closed, and user ID B The door is closed 2 seconds after successful authentication. Under the specification that the door is locked immediately when it is closed, the door is locked from 00:00:21 when the door is closed, for example, at 00:00:22 one second later. Locking is not performed between 00:00:19 when authentication by user ID B is successful and 00:00:49 when the second lock grace period has elapsed. Thus, the user ID B can open the door 8 seconds after the door is closed. Even if it is closed 10 seconds after that, it will not be locked immediately, and will be locked at time 00:00:49 when the second lock grace period has elapsed after successful authentication by the user ID B.

第2施錠猶予時間は、第1施錠猶予時間と同様に、更新部 105が更新する。第2施錠猶予時間の更新方法については後述する。
実行部 106は、実施形態1で説明した第1施錠猶予時間に基づいた施錠の指示に加えて、第2施錠猶予時間に基づいた施錠の延期の指示も行う。
すなわち、認証部 103は、認証が成功したときに、認証が成功したことと認証時刻とを実行部 106に送信し、実行部 106は、認証部 103から認証が成功したことと認証時刻とを受信すると、記憶部 104に記憶されたログを読み出し、扉 200の開閉状態を判別する。その結果、認証時に、扉 200が開いていれば、記憶部 104から第2施錠猶予時間を読み出し、認証時刻から第2施錠猶予時間だけ経過するまでの間に受けた施錠指示は、認証時刻から第2施錠猶予時間だけ経過した時刻まで延期するように施解錠部 102に指示する。施解錠部 102は、実行部 106から上記指示に従って、施錠を延期する。
〈第2施錠猶予時間の更新値の算出〉
ここでは、第2施錠猶予時間の更新値の算出方法について説明する。
The second locking grace time is updated by the updating unit 105 in the same manner as the first locking grace time. A method for updating the second locking postponement time will be described later.
In addition to the locking instruction based on the first locking suspension time described in the first embodiment, the execution unit 106 also instructs locking postponement based on the second locking suspension time.
That is, when the authentication is successful, the authentication unit 103 transmits the authentication success and the authentication time to the execution unit 106, and the execution unit 106 receives the authentication success and the authentication time from the authentication unit 103. When received, the log stored in the storage unit 104 is read to determine whether the door 200 is open or closed. As a result, if the door 200 is open at the time of authentication, the second lock grace time is read from the storage unit 104, and the lock instruction received from the authentication time until the second lock grace time elapses from the authentication time. The locking / unlocking unit 102 is instructed to postpone until the time when the second locking grace period has elapsed. The locking / unlocking unit 102 postpones locking according to the instruction from the execution unit 106.
<Calculation of the updated value of the second lock grace time>
Here, a method of calculating the update value of the second locking postponement time will be described.

第2施錠猶予時間は、認証装置 300で認証を行い、認証装置 300のある位置から扉 200のある位置まで移動して、扉 200を開くまでにかかる時間である。従って、第2施錠猶予時間は、認証が行われてから、扉 200が開けられるまでにかかる第2扉開猶予時間に基づいて算出する。
図6(c) は、第2扉開猶予時間と、利用者が部屋に入室するときに発生するイベントを時系列に示した図である。第2扉開猶予時間は、認証イベントが発生した認証時刻から、扉開イベントが発生した扉開時刻までの時間である。
The second lock grace time is a time taken for the authentication device 300 to perform authentication, move from the position where the authentication device 300 is located to the position where the door 200 is located, and open the door 200. Therefore, the second locking window is calculated based on the second door opening window after the authentication is performed until the door 200 is opened.
FIG. 6 (c) is a diagram showing the grace period for the second door and events that occur when the user enters the room in time series. The second door opening grace time is the time from the authentication time when the authentication event occurs until the door opening time when the door opening event occurs.

第2施錠猶予時間の更新値の算出は、第1施錠猶予時間の更新値の算出とほぼ同様である。実施形態1で説明したように、第1施錠猶予時間の更新値の算出では、解錠イベントと扉開イベントとの組をログから抽出し、解錠時刻から扉開時刻までの第1扉開猶予時間の分布から、更新値を決定した。それに対して、第2施錠猶予時間の更新値の算出では、認証イベントと扉開イベントとの組をログから抽出し、認証時刻から扉開時刻までの第2扉開猶予時間の分布から、更新値を決定する。   The calculation of the updated value of the second locking grace time is substantially the same as the calculation of the updated value of the first locking grace time. As described in the first embodiment, in calculating the update value of the first locking grace period, a set of the unlocking event and the door opening event is extracted from the log, and the first door opening from the unlocking time to the door opening time is extracted. The update value was determined from the distribution of the grace time. On the other hand, in calculating the update value of the second lock grace time, a set of authentication events and door opening events is extracted from the log, and updated from the distribution of the second door grace time from the authentication time to the door opening time. Determine the value.

第2扉開猶予時間の分布は、横軸の時間を、解錠時刻から扉開時刻までの第1扉開猶予時間の代わりに、認証時刻から扉開時刻までの第2扉開猶予時間とすることで、図3と同様にヒストグラムを作成することができ、第2施錠猶予時間の更新値は、第2扉開猶予時間が更新値以下である割合が閾値以上となる最小の値となるように決定される。
〈動作〉
本実施形態における制御装置 100の動作を、図8のフローチャートを用いて説明する。図8と、図4との異なる部分は、開閉検出部 101が、扉 200の閉じられたことを検出してから、施解錠部 102が扉 200の錠 201を施錠するまでの動作と、認証情報を受信しない間に行われる施錠猶予時間の更新が、第1施錠猶予時間だけでなく、第2施錠猶予時間も更新する点であるので、ここでは、これらの異なる部分についてのみ説明する。
The distribution of the grace time for the second door is based on the time on the horizontal axis, the grace time for the second door from the authentication time to the door opening time, instead of the first door grace time from the unlocking time to the door opening time. By doing so, a histogram can be created in the same way as in FIG. 3, and the updated value of the second locking grace time is the minimum value at which the ratio that the second door opening grace time is less than or equal to the updated value is equal to or greater than the threshold value. To be determined.
<Operation>
The operation of the control device 100 in the present embodiment will be described using the flowchart of FIG. The difference between FIG. 8 and FIG. 4 is the operation and authentication from when the opening / closing detection unit 101 detects that the door 200 is closed until the locking / unlocking unit 102 locks the lock 201 of the door 200. Since the update of the lock grace time performed while not receiving information is to update not only the first lock grace time but also the second lock grace time, only these different parts will be described here.

本実施形態における制御装置 100では、開閉検出部 101が、扉 200の開かれたことを検出し(S807 Y)、扉開時刻と扉 200の開かれたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録すると(S808)、開閉検出部 101は、扉 200の閉じられるのを待つ(S812 N)。
開閉検出部 101が、扉 200の閉じられたことを検出すれば(S812 Y)、扉閉時刻と扉 200の閉じられたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S813)。
In the control device 100 in the present embodiment, the open / close detection unit 101 detects that the door 200 is opened (S807 Y), and associates the door opening time with the detection that the door 200 is opened. When the information is recorded in the log stored in the storage unit 104 (S808), the open / close detection unit 101 waits for the door 200 to be closed (S812 N).
If the opening / closing detection unit 101 detects that the door 200 is closed (S812 Y), the storage unit 104 stores information that associates the door closing time with the detection that the door 200 is closed. Is recorded in the logged log (S813).

次に、最新の認証時刻が変更されてないかどうか判定する(S821)。これは、記憶部 104に記憶されているログから読み出される最新の認証時刻と、ステップ S803 で記録した認証時刻とを比較することでなされる。
最新の認証時刻が変更されてなければ(S821 N)、施解錠部 102は扉 200の錠 201を施錠する(S818)。以降は、図4と同様である。
Next, it is determined whether or not the latest authentication time has been changed (S821). This is done by comparing the latest authentication time read from the log stored in the storage unit 104 with the authentication time recorded in step S803.
If the latest authentication time has not been changed (S821 N), the locking / unlocking unit 102 locks the lock 201 of the door 200 (S818). The subsequent steps are the same as those in FIG.

最新の認証時刻が変更されていれば(S821 Y)、扉が閉じられてもすぐには施錠はせずに、最新の認証時刻から第2施錠猶予時間だけ経過するまで待つ(S814 N)。ここで、最新の認証時刻は、記憶部 104に記憶されているログから、最も新しい認証時刻をその都度読み出して確認する。従って、利用者が次々と認証を行った場合でも、常に最後に認証した利用者の認証時刻から第2施錠猶予時間だけ経過するまでは施錠されない。最新の認証時刻から第2施錠猶予時間だけ経過すれば(S814 Y)、施解錠部 102は扉 200の錠 201を施錠する(S818)。以降は、図4と同様である。   If the latest authentication time has been changed (S821 Y), even if the door is closed, the door is not locked immediately, but waits until the second lock grace time elapses from the latest authentication time (S814 N). Here, the latest authentication time is confirmed by reading the latest authentication time from the log stored in the storage unit 104 each time. Therefore, even if the user performs authentication one after another, the user is not locked until the second lock grace time elapses from the authentication time of the last authenticated user. If the second lock grace time elapses from the latest authentication time (S814 Y), the locking / unlocking unit 102 locks the lock 201 of the door 200 (S818). The subsequent steps are the same as those in FIG.

本実施形態における制御装置 100では、第1施錠猶予時間に加えて、第2施錠猶予時間を用いた扉 200の制御を行うので、認証情報を受信していないときには(S801 N)、それまでに記憶部 104に記憶されているログに基づいて、第1施錠猶予時間の更新と(S821)、第2施錠猶予時間の更新とを行う(S822)。
〈第2施錠猶予時間の更新動作〉
第2施錠猶予時間の更新動作について、図9のフローチャートを用いて説明する。
In the control device 100 according to the present embodiment, since the door 200 is controlled using the second locking grace time in addition to the first locking grace time, when the authentication information is not received (S801 N), Based on the log stored in the storage unit 104, the update of the first locking delay time (S821) and the update of the second locking delay time are performed (S822).
<Update operation of the second lock grace period>
The update operation of the second locking postponement time will be described using the flowchart of FIG.

第2施錠猶予時間の更新動作は、図5に示した第1施錠猶予時間の更新動作とほぼ同じである。異なる点は、第1施錠猶予時間の更新では、解錠時刻 t1 から扉開時刻 t2 までの第1扉開猶予時間を算出するのに対して、第2施錠猶予時間の更新では、認証時刻 t0 から扉開時刻 t2 までの第2扉開猶予時間を算出する点である。
まず、第2扉開猶予時間を時間範囲ごとに分類して記憶する第2扉開猶予時間配列 T0(i) の要素を 0 に初期化する(S901)。
The update operation of the second lock window time is substantially the same as the update operation of the first lock window time shown in FIG. The difference is that the update of the first lock grace time calculates the first door grace time from the unlock time t1 to the door open time t2, whereas the update of the second lock grace time calculates the authentication time t0. This is a point to calculate the second door opening grace time from to the door opening time t2.
First, the elements of the second door opening delay time array T0 (i) that stores the second door opening delay time classified and stored for each time range are initialized to 0 (S901).

認証時刻 t0 と、扉開時刻 t2 との組をログから読み出し、各組ごとに第2扉開猶予時間 (t2-t0) を算出する(S902)。
時間解像度を Δt として、第2扉開猶予時間 (t2-t0) が、kΔt 以上 (k+1)Δt 未満となる非負整数 k に対して、配列の要素 T0(k) をインクリメントする(S903)。これをログから読み出したすべての認証時刻と扉開時刻との組について行うことで、第2扉開猶予時間を時間間隔 Δt の幅ごとに分類した配列 T0(i) が算出される。時間解像度 Δt は、例えば、1秒としておくと第2施錠猶予時間の更新値を 1秒の精度で決定することができる。
A pair of the authentication time t0 and the door opening time t2 is read from the log, and the second door opening delay time (t2-t0) is calculated for each pair (S902).
With the time resolution as Δt, the array element T0 (k) is incremented for the non-negative integer k for which the second door opening time (t2-t0) is greater than or equal to kΔt and less than (k + 1) Δt (S903) . By performing this for all authentication time and door opening time pairs read from the log, an array T0 (i) in which the second door opening grace time is classified by the width of the time interval Δt is calculated. If the time resolution Δt is set to 1 second, for example, the updated value of the second locking grace time can be determined with an accuracy of 1 second.

算出された配列 T0(i) のすべての要素の和をとり N とする(S904)。
配列 T0(i) の i ≦ n なる要素の和の、N に対する割合が閾値以上となる最小の n を算出する(S905)。ここで、閾値としては、例えば、95% とする。
以上のようにして決定された n を用いて、第2施錠猶予時間を nΔt にする(S906)。
《実施形態3》
本実施形態では、扉が開き放しになっていた場合に、報知を行う例について説明する。報知は2段階からなり、まず、注意報知を行って注意を促してから、警告報知で警告する。例えば、音を鳴らして報知する場合、最初は小さな音の注意報知を行い、それでも扉が閉められなければ、大きな音で警告報知を行う。警告報知はしばらく鳴らした後には止めるものとする。以下、扉を開けてから注意報知を開始するまでの時間を注意報知猶予時間、扉を開けてから警告報知を開始するまでの時間を警告報知猶予時間と呼び、これらを総称して単に報知猶予時間と呼ぶ。また、注意報知および警告報知を継続する時間の最大値を、それぞれ、最大注意報知時間および最大警告報知時間と呼び、これらを総称して最大報知時間と呼ぶ。
The sum of all the elements of the calculated array T0 (i) is taken as N (S904).
The smallest n is calculated such that the ratio of the sum of elements i ≦ n of the array T0 (i) to N is greater than or equal to the threshold (S905). Here, the threshold is, for example, 95%.
Using the n determined as described above, the second lock delay time is set to nΔt (S906).
Embodiment 3
This embodiment demonstrates the example which alert | reports, when the door has been opened. The notification is made up of two stages. First, a warning notification is given to alert the user, and then a warning notification is given. For example, when making a notification by sounding, a warning notification of a small sound is first given, and if the door is still not closed, a warning notification is given with a loud sound. The warning notification will stop after it rings for a while. Hereinafter, the time from the opening of the door to the start of warning notification is referred to as the warning notification postponement time, and the time from the opening of the door to the start of warning notification is referred to as the warning notification postponement time. Call time. Moreover, the maximum value of the time for which the caution notification and the warning notification are continued is referred to as the maximum caution notification time and the maximum warning notification time, respectively, and these are collectively referred to as the maximum notification time.

上記の報知に関する制御と、実施形態1 で説明した自動施錠に関する制御とは排他的なものではないので、本実施形態における制御装置は、実施形態1 の制御装置 100に、報知に関する制御を行う機能を付加したものとして説明する。
〈構成〉
本実施形態における制御装置 100の構成は、図1に示した 実施形態1 における制御装置 100の構成とほぼ同じであるが、図1に示すように、認証装置 300が報知部 302を備え、実行部 106が、扉 200の開閉状態に応じて、報知部 302に対して報知に関する指示を出力する構成となっている。報知部 302は、注意報知および警告報知を行うために、2種類の報知音を鳴らす機能を有している。報知音の種類は、音の大きさや、高さ、長さ、パターンによって区別される。報知部 302は、スピーカを含み、制御装置 100の実行部 106から、注意報知および警告報知の開始および終了の指示を受けて、注意報知音および警告報知音をそれぞれスピーカから発する。
Since the control related to the notification and the control related to automatic locking described in the first embodiment are not exclusive, the control device according to the present embodiment has a function of performing control related to the notification to the control device 100 according to the first embodiment. It demonstrates as what added.
<Constitution>
The configuration of the control device 100 in the present embodiment is substantially the same as the configuration of the control device 100 in the first embodiment shown in FIG. 1, but as shown in FIG. The unit 106 is configured to output a notification-related instruction to the notification unit 302 according to the open / close state of the door 200. The notification unit 302 has a function of generating two types of notification sounds in order to perform caution notification and warning notification. The type of notification sound is distinguished by the volume, height, length, and pattern of the sound. The notification unit 302 includes a speaker, and receives a warning notification and warning notification start and end instructions from the execution unit 106 of the control device 100, and emits a warning notification sound and a warning notification sound from the speaker, respectively.

記憶部 104は、ログおよび第1施錠猶予時間に加えて、注意報知猶予時間と警告報知猶予時間とを記憶する。また、記憶部 104は、最大報知時間として、最大警告報知時間を記憶する。後述するように、最大報知時間が必要になるのは、2段階の報知のうち後段の報知である警告報知に対してのみであるので、最大注意報知時間は、記憶部 104に記憶する必要はない。   The storage unit 104 stores a warning notification postponement time and a warning notification postponement time in addition to the log and the first locking postponement time. Further, the storage unit 104 stores the maximum warning notification time as the maximum notification time. As will be described later, the maximum notification time is required only for the warning notification, which is the latter notification of the two notifications, and therefore the maximum attention notification time needs to be stored in the storage unit 104. Absent.

図11(a)は、報知猶予時間と発生するイベントを時系列に示した図である。
まず、利用者ID A の人による認証成功イベントが発生し、続いて、解錠イベントが発生する。次に、利用者ID A の人が扉を開くことを検出した扉開イベントが発生する。扉が開いてから、注意報知時間だけ経過した時刻まで、扉が閉じられなければ、注意報知を開始する。注意報知を開始した後、更に、扉が開いてから、警告報知時間だけ経過した時刻まで、扉が閉じられなければ、注意報知を終了して、警告報知を開始する。注意報知を開始した注意報知開始時刻から、注意報知を終了した注意報知終了時刻までが注意報知時間である。警告報知を開始してから、最大報知時間だけ経過すると、警告報知を終了する。警告報知を開始した警告報知開始時刻から、警告報知を終了した警告報知終了時刻までの警告報知時間は、最大警告報知時間に一致する。
FIG. 11 (a) is a diagram showing the notification postponement time and the events that occur in time series.
First, an authentication success event by the person with user ID A occurs, and then an unlock event occurs. Next, a door opening event that detects that the person with user ID A opens the door occurs. If the door is not closed until the time when the caution notification time has elapsed after the door is opened, the caution notification is started. After the warning notification is started, if the door is not closed until the time when the warning notification time has elapsed after the door is opened, the warning notification is terminated and the warning notification is started. The caution notification time is from the caution notification start time at which the caution notification is started to the caution notification end time at which the caution notification is ended. When the maximum notification time has elapsed after the warning notification is started, the warning notification is terminated. The warning notification time from the warning notification start time when the warning notification is started to the warning notification end time when the warning notification is ended coincides with the maximum warning notification time.

図11(a) で発生する各イベントのログを示すと、図11(b) のようになる。この例では、注意報知猶予時間を 15秒、警告報知猶予時間を 20秒、最大警告報知時間を 10秒、利用者ID A の人による認証が成功した時刻を 0:00:00 として、利用者ID A の人による認証が成功してから 1秒後に解錠が行われ、更に、15秒後に利用者ID A の人により扉が開かれ、その後、扉が閉じられない場合に、扉を開いてから注意報知猶予時間 15秒だけ経過した時刻 00:00:31 に、注意報知を開始する。更に、扉が閉じられない場合に、扉を開いてから警告報知猶予時間 20秒だけ経過した時刻 00:00:36 に、注意報知を終了し、警告報知する。警告報知を開始してから、最大警告報知時間 10秒だけ経過した時刻 00:00:41 に,警告報知を終了する。   FIG. 11 (b) shows a log of each event that occurs in FIG. 11 (a). In this example, the alert notification grace time is 15 seconds, the warning notification grace time is 20 seconds, the maximum warning notification time is 10 seconds, and the time when authentication by the user ID A is successful is 0:00:00. Unlocking is performed 1 second after successful authentication by the person of ID A, and the door is opened by the person of user ID A 15 seconds later, and then the door is not closed. At the time 00:00:31 when 15 seconds have passed since the grace notice notice time starts, the notice notice starts. Furthermore, if the door cannot be closed, the warning notification is terminated at 00:00:36 when the warning notification delay time 20 seconds has elapsed since the door was opened, and a warning notification is issued. The warning notification ends at 00:00:41 when the maximum warning notification time of 10 seconds has elapsed since the warning notification was started.

報知猶予時間および最大報知時間は、第1施錠猶予時間と同様に、更新部 105が更新する。報知猶予時間および最大報知時間の更新方法については後述する。
実行部 106は、実施形態1で説明した第1施錠猶予時間に基づいた施錠の指示に加えて、報知部 302に対する報知指示をを行う。
すなわち、開閉検出部 101が、扉 200の開かれたことを検出すると、扉 200の開かれたことと扉開時刻とを実行部 106に送信し、実行部 106は、開閉検出部 101から、扉 200の開かれたことと扉開時刻とを実行部 106に受信すると、開閉検出部 101から、扉 200の開じられたことと扉閉時刻とを受信するまで、次の動作を行う。すなわち、記憶部 104から、報知猶予時間および最大報知時間を読み出し、扉開時刻から現在時刻までの時間と注意報知猶予時間とを比較し、扉開時刻から現在時刻までの時間が注意報知猶予時間を越えれば、報知部 302に注意報知を開始するように指示する。また、扉開時刻から現在時刻までの時間と警告報知猶予時間とを比較し、扉開時刻から現在時刻までの時間が警告報知猶予時間を越えれば、報知部 302に注意報知を終了し、警告報知を開始するように指示する。更に、警告報知開始時刻から現在時刻までの時間と最大警告報知時間とを比較し、警告報知開始時刻から現在時刻までの時間が最大警告報知時間を越えれば、報知部 302に警告報知を終了するように指示する。
〈報知猶予時間の更新値の算出〉
ここでは、報知猶予時間の更新値の算出方法について説明する。報知猶予時間には、注意報知猶予時間と警告報知猶予時間とがあるが、両者は算出の上で用いられる閾値が異なるだけであるので、以下では、一般的に、報知猶予時間として説明する。
The update unit 105 updates the notification grace time and the maximum notification time in the same manner as the first locking grace time. A method for updating the notification postponement time and the maximum notification time will be described later.
The execution unit 106 issues a notification instruction to the notification unit 302 in addition to the locking instruction based on the first locking delay time described in the first embodiment.
That is, when the opening / closing detection unit 101 detects that the door 200 has been opened, the opening / closing detection unit 101 transmits the opening of the door 200 and the door opening time to the execution unit 106. When the execution unit 106 receives the opening of the door 200 and the door opening time, the following operation is performed until the opening / closing detection unit 101 receives the opening of the door 200 and the door closing time. That is, the notification postponement time and the maximum notification time are read from the storage unit 104, the time from the door opening time to the current time is compared with the attention notification postponement time, and the time from the door opening time to the current time is compared. Is exceeded, the notification unit 302 is instructed to start caution notification. Also, the time from the door opening time to the current time is compared with the warning notification grace time, and if the time from the door opening time to the current time exceeds the warning notification grace time, the warning notification is terminated to the notification unit 302 and the warning is issued. Instruct to start notification. Further, the time from the warning notification start time to the current time is compared with the maximum warning notification time, and if the time from the warning notification start time to the current time exceeds the maximum warning notification time, the warning notification is terminated in the notification unit 302. To instruct.
<Calculation of update value of notification grace time>
Here, a method for calculating the update value of the notification postponement time will be described. The notification grace time includes a caution notification grace time and a warning notification grace time. However, since only the threshold values used for the calculation are different, the notification grace time will generally be described as the notification grace time.

報知猶予時間は、利用者が扉 200を開けてから、扉 200を閉めなかった場合に、報知を開始するまでの時間である。従って、報知時間は、扉 200が開かれてから、扉 200が閉じられるまでにかかる扉開時間に基づいて算出する。
図11(c) は、扉開時間と、利用者が部屋に入室するときに発生するイベントを時系列に示した図である。扉開時間は、扉開イベントが発生した扉開時刻から、扉閉イベントが発生した扉閉時刻までの時間である。
The notification grace time is the time from when the user opens the door 200 until the notification starts when the door 200 is not closed. Therefore, the notification time is calculated based on the door opening time that is required from when the door 200 is opened until the door 200 is closed.
FIG. 11 (c) is a diagram showing, in chronological order, the door opening time and events that occur when the user enters the room. The door opening time is the time from the door opening time when the door opening event occurs to the door closing time when the door closing event occurs.

報知猶予時間の更新値の算出は、第1施錠猶予時間の更新値の算出と同様に、ログからあるイベントの組を抽出し、イベント発生時刻の間の時間の分布から更新値を決定するという方法をとるが、以下で説明するように、対象となるイベントの組と、閾値のとり方が異なる。
報知猶予時間の更新値の算出は、まず、連続する扉開イベントと扉閉イベントとの組をログから抽出し、組ごとに扉閉時刻と扉開時刻との差を算出し、扉開時間を求める。続いて、各組ごとに求めた扉開時間の分布を算出する。分布の算出は、実施形態1で説明した第1施錠猶予時間の更新値の算出と同様で、時間軸を時間幅 Δt で分割し、各分割幅に扉開時間が含まれる組の数を数えることでなされる。これを図で表すと、図12のようなヒストグラムを作成することに相当する。
The calculation of the update value of the notification grace time is similar to the calculation of the update value of the first lock grace time, and a set of events is extracted from the log, and the update value is determined from the distribution of time between event occurrence times. Although a method is used, as will be described below, a target event set and a threshold value are different.
The update value of the notification grace time is calculated by first extracting a set of consecutive door opening events and door closing events from the log, calculating the difference between the door closing time and the door opening time for each set, and calculating the door opening time. Ask for. Subsequently, the distribution of door opening times obtained for each group is calculated. The calculation of the distribution is the same as the calculation of the update value of the first locking grace time described in the first embodiment, and the time axis is divided by the time width Δt, and the number of pairs in which the door opening time is included in each divided width is counted. That is done. This can be represented by creating a histogram as shown in FIG.

報知猶予時間の更新値は、図12のヒストグラムにおいて、扉開時間が更新値以上である割合が閾値以下となる最大の値となるように決定する。ここでは閾値は、例えば、注意報知時間に対しては 30%とすると、注意報知猶予時間は 15秒となる。また、例えば、警告報知時間に対しては 10% とすると、警告報知猶予時間は 20秒となる。この閾値は、利用者の全体数のうち扉を開け放しにしてる時間が長い方から 30% の人に対して、注意報知を行い、更に、利用者の全体数のうち扉を開け放しにしてる時間が長い方から 10% の人に対して、警告報知を行うという主旨の下に、予め決められた値である。   The update value of the notification postponement time is determined so that the ratio of the door opening time being equal to or greater than the update value in the histogram of FIG. Here, for example, if the threshold is 30% for the warning notification time, the warning notification grace time is 15 seconds. For example, if the warning notification time is 10%, the warning notification postponement time is 20 seconds. This threshold is used to alert 30% of the total number of users who have the doors open for the longest, and the time to open the doors out of the total number of users. This is a predetermined value based on the intention of alerting 10% of people from the longest.

注意報知時間に対する閾値よりも、警告報知時間に対する閾値を小さくしておくとで、注意報知猶予時間よりも、警告報知猶予時間の方が長くなることが保証される。
〈最大報知時間の更新値の算出〉
ここでは、最大報知時間の更新値の算出方法について説明する。報知猶予時間には、最大注意報知猶予時間と最大警告報知猶予時間とがあるが、両者は算出の上で用いられる閾値が異なるだけであるので、以下では、一般的に、最大報知時間として説明する。
By making the threshold value for the warning notification time smaller than the threshold value for the warning notification time, it is guaranteed that the warning notification postponement time becomes longer than the warning notification postponement time.
<Calculation of update value of maximum notification time>
Here, a method for calculating the update value of the maximum notification time will be described. The notification grace time includes a maximum caution notification grace time and a maximum warning notification grace time. However, since only the threshold values used for the calculation are different from each other, the following description is generally made as the maximum notification time. To do.

報知は利用者に扉 200を開いていることを知らせることが目的なので、どの利用者もが扉 200を閉めてしまうほど時間が経過した後にまで、報知を継続する意味はあまりない。よって、最大報知時間は、扉開時間が最も長い人に対して、報知がなされる程度に長ければ十分であると考える。
すなわち、最大報知時間の更新値は、次のように算出する。まず、連続する扉開イベントと扉閉イベントとの組をログから抽出し、組ごとに扉閉時刻と扉開時刻との差を算出して、扉開時間を求める。次に、扉開時間の最大値を求め、報知猶予時間との差分 ΔT を求める。時間ΔTは、報知開始時刻から、扉開時間が最も長い人が扉を閉じるまでの時間である。最大報知時間の更新値は、時間ΔT に 1以上の実数αを乗じた値 αΔTとする。実数αを乗じるのは、扉開時間が最も長い人が扉を閉じる時刻よりも少し後にまで、報知を継続するためである。実数αの値としては、例えば、1.2 くらいにする。
Since the notification is intended to inform the user that the door 200 is opened, there is not much meaning to continue the notification until a time has passed so that any user closes the door 200. Therefore, it is considered sufficient that the maximum notification time is long enough to notify the person with the longest door opening time.
That is, the update value of the maximum notification time is calculated as follows. First, a set of consecutive door opening events and door closing events is extracted from the log, and the difference between the door closing time and the door opening time is calculated for each group to obtain the door opening time. Next, the maximum value of the door opening time is obtained, and the difference ΔT from the notification grace time is obtained. Time ΔT is the time from the notification start time until the person with the longest door opening time closes the door. The updated value of the maximum notification time is the value αΔT obtained by multiplying the time ΔT by a real number α of 1 or more. The reason why the real number α is multiplied is that the notification is continued until a little later than the time when the person with the longest door opening time closes the door. The value of the real number α is, for example, about 1.2.

上述したように、注意報知猶予時間に対する閾値よりも、警告報知猶予時間に対する閾値の方を小さくしておくことで、注意報知猶予時間よりも、警告報知猶予時間の方が長くなることが保証されるので、最大注意報知時間は、最大警告報知時間よりも長くなる。従って、注意報知時間が最大注意報知時間を越えるよりも前に、必ず警告報知が開始し、その時点で注意報知が終了するので、実際には最大注意報知時間が使用されることはない。よって、記憶部 104には最大警告報知時間だけを記憶すればよい。
〈動作〉
本実施形態における制御装置 100の動作を、図13および図14のフローチャートを用いて説明する。図13および図14と、図4との異なる部分は、開閉検出部 101が、扉 200の開かれたことを検出した後に、扉 200の閉じられたことを検出しない場合の動作と、認証情報を受信しない間に行われる更新が、第1施錠猶予時間だけでなく、注意報知猶予時間、警告報知猶予時間、最大警告報知時間も更新する点であるので、ここでは、これらの異なる部分についてのみ説明する。
As described above, the warning notification postponement time is guaranteed to be longer than the warning notification postponement time by making the threshold for the warning notification postponement time smaller than the threshold for the warning notification postponement time. Therefore, the maximum caution notification time is longer than the maximum warning notification time. Therefore, the warning notification is always started before the warning notification time exceeds the maximum warning notification time, and the warning notification is ended at that time. Therefore, the maximum warning notification time is not actually used. Therefore, only the maximum warning notification time needs to be stored in the storage unit 104.
<Operation>
The operation of the control device 100 in this embodiment will be described using the flowcharts of FIGS. The difference between FIGS. 13 and 14 and FIG. 4 is that the opening / closing detection unit 101 detects that the door 200 has been opened and then does not detect that the door 200 has been closed, and authentication information. Since the update performed while not receiving the update is not only the first lock grace time, but also the caution notice grace time, the warning notice grace time, and the maximum warning notice time, only here for these different parts explain.

本実施形態における制御装置 100では、開閉検出部 101が、扉 200の開かれたことを検出し(S1107 Y)、扉開時刻と扉 200の開かれたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録した後に(S1108)、開閉検出部 101が、扉 200の閉じられたことを検出しないと(S1109 N)、扉開時刻から注意報知猶予時間だけ経過したかどうか判定する(S1111)。扉開時刻から注意報知猶予時間だけ経過していなければ(S1111 N)、扉閉検出待ちに戻る(S1109)。扉開時刻から注意報知猶予時間だけ経過していれば(S1111 Y)、注意報知を開始し(S1112)、注意報知開始時刻と注意報知を開始したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S1113)。   In the control device 100 in the present embodiment, the open / close detection unit 101 detects that the door 200 is opened (S1107 Y), and associates the door opening time with the detection that the door 200 is opened. After recording the information in the log stored in the storage unit 104 (S1108), if the opening / closing detection unit 101 does not detect that the door 200 is closed (N in S1109), only the grace notification notice time from the door opening time It is determined whether the time has passed (S1111). If the caution notice grace time has not elapsed from the door opening time (N in S1111), the process returns to the door closing detection waiting (S1109). If the caution notification postponement time has elapsed from the door opening time (S1111 Y), the caution notification is started (S1112), and information that associates the caution notification start time with the start of the caution notification is stored in the storage unit 104. (S1113).

その後、再び扉閉検出待ちに入り(S1114)、開閉検出部 101が、扉 200の閉じられたことを検出すると(S1114 Y)、扉閉時刻と扉 200の閉じられたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録し(S1110)、開閉検出部 101からの指示に基づき、施解錠部 102は扉 200の錠 201を施錠する(S1125)。以降は、図4と同様である。   After that, the door closing detection waits again (S1114), and when the open / close detection unit 101 detects that the door 200 is closed (S1114 Y), it detects that the door is closed and the door 200 is closed. Is recorded in a log stored in the storage unit 104 (S1110), and the locking / unlocking unit 102 locks the lock 201 of the door 200 based on an instruction from the opening / closing detection unit 101 (S1125). The subsequent steps are the same as those in FIG.

注意報知開始以降も、開閉検出部 101が、扉 200の閉じられたことを検出しないと(S1114 N)、扉開時刻から警告報知猶予時間だけ経過したかどうか判定する(S1115)。扉開時刻から警告報知猶予時間だけ経過していなければ(S1115 N)、扉閉検出待ちに戻る(S1114)。扉開時刻から警告報知猶予時間だけ経過していれば(S1115 Y)、注意報知を終了し(S1116)、注意報知終了時刻と注意報知を終了したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S1117)。更に、警告報知を開始し(S1118)、警告報知開始時刻と警告報知を開始したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S1119)。   If the opening / closing detection unit 101 does not detect that the door 200 has been closed even after the warning notification is started (S1114 N), it is determined whether or not a warning notification grace period has elapsed from the door opening time (S1115). If the warning notification grace time has not elapsed from the door opening time (N in S1115), the process returns to the door closing detection waiting (S1114). If the warning notification postponement time has elapsed from the door opening time (Y in S1115), the warning notification is terminated (S1116), and information that associates the warning notification end time with the completion of the warning notification is stored in the storage unit 104. Is recorded in the log stored in (S1117). Furthermore, warning notification is started (S1118), and information in which the warning notification start time is associated with the start of warning notification is recorded in the log stored in the storage unit 104 (S1119).

その後、再び扉閉検出待ちに入り(S1120)、開閉検出部 101が、扉 200の閉じられたことを検出すると(S1120 Y)、扉閉時刻と扉 200の閉じられたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録し(S1110)、開閉検出部 101からの指示に基づき、施解錠部 102は扉 200の錠 201を施錠する(S1125)。以降は、図4と同様である。   After that, the door closing detection waits again (S1120), and when the open / close detection unit 101 detects that the door 200 is closed (S1120 Y), it detects that the door is closed and the door 200 is closed. Is recorded in a log stored in the storage unit 104 (S1110), and the locking / unlocking unit 102 locks the lock 201 of the door 200 based on an instruction from the opening / closing detection unit 101 (S1125). The subsequent steps are the same as those in FIG.

警告報知開始以降も、開閉検出部 101が、扉 200の閉じられたことを検出しないと(S1120 N)、警告報知開始時刻から最大報知時間だけ経過したかどうか判定する(S1121)。警告報知開始時刻から最大報知時間だけ経過していなければ(S1121 N)、扉閉検出待ちに戻る(S1120)。警告報知開始時刻から最大報知時間だけ経過していれば(S1121 Y)、警告報知を終了し(S1122)、警告報知終了時刻と警告報知を終了したこととを対応付けた情報を、記憶部 104に記憶されたログに記録する(S1123)。   Even after the warning notification is started, if the opening / closing detection unit 101 does not detect that the door 200 is closed (S1120 N), it is determined whether or not the maximum notification time has elapsed from the warning notification start time (S1121). If the maximum notification time has not elapsed since the warning notification start time (N in S1121), the process returns to the door closing detection wait (S1120). If the maximum notification time has elapsed from the warning notification start time (S1121 Y), the warning notification is terminated (S1122), and information that associates the warning notification end time with the warning notification is stored in the storage unit 104. Is recorded in the log stored in (S1123).

最後に、開閉検出部 101が、扉 200の閉じられたことを検出するのを待ち(S1124 N)、扉 200の閉じられたことを検出すると(S1124 N)、扉閉時刻と扉 200の閉じられたことを検出したこととを対応付けた情報を、記憶部 104に記憶されたログに記録し(S1110)、開閉検出部 101からの指示に基づき、施解錠部 102は扉 200の錠 201を施錠する(S1125)。以降は、図4と同様である。   Finally, it waits for the opening / closing detection unit 101 to detect that the door 200 is closed (S1124 N), and when it detects that the door 200 is closed (S1124 N), the door closing time and the door 200 are closed. The information associated with the fact that it has been detected is recorded in the log stored in the storage unit 104 (S1110), and based on the instruction from the open / close detection unit 101, the locking / unlocking unit 102 locks the lock 201 of the door 200. Is locked (S1125). The subsequent steps are the same as those in FIG.

本実施形態における制御装置 100では、第1施錠猶予時間だけでなく、注意報知猶予時間、警告報知猶予時間、最大警告報知時間を用いて報知に関する制御を行うので、認証情報を受信していないときには(S1101 N)、それまでに記憶部 104に記憶されているログに基づいて、第1施錠猶予時間の更新と、注意報知猶予時間の更新、警告報知猶予時間の更新、最大警告報知時間の更新を行う。注意報知猶予時間および警告報知猶予時間の更新は次に述べる同一の報知猶予時間の更新動作で行われる。最大報知時間の更新動作については後述する。
〈報知猶予時間の更新動作〉
報知猶予時間の更新動作について、図15のフローチャートを用いて説明する。
In the control device 100 according to the present embodiment, not only the first locking grace time, but also the attention notification grace time, the warning notification grace time, and the maximum warning notification time are used for control related to notification. (S1101 N), based on the log stored in the storage unit 104 so far, the update of the first locking grace time, the update of the warning notification grace time, the update of the warning notification grace time, the update of the maximum warning notification time I do. The warning notification grace time and the warning notification grace time are updated in the same notification grace time update operation described below. The update operation of the maximum notification time will be described later.
<Update operation of notification grace time>
The update operation of the notification postponement time will be described using the flowchart of FIG.

まず、扉開時間を時間範囲ごとに分類して記憶する扉開時間配列 T2(i) の要素を 0 に初期化する(S1201)。
扉開時刻 t2 と、扉閉時刻 t3 との組をログから読み出し、各組ごとに扉開時間 (t3-t2) を算出する(S1202)。
時間解像度を Δt として、扉開時間 (t3-t2) が、kΔt 以上 (k+1)Δt 未満となる k に対して、配列の要素 T2(k) をインクリメントする(S1203)。これをログから読み出したすべての扉開時刻と扉閉時刻との組について行うことで、扉開時間を時間間隔 Δt の幅ごとに分類した配列 T2(i) が算出される。時間解像度 Δt は、例えば、1秒としておくと報知猶予時間の更新値を 1秒の精度で決定することができる。
First, the elements of the door opening time array T2 (i) for storing the door opening times classified by time range are initialized to 0 (S1201).
A set of the door opening time t2 and the door closing time t3 is read from the log, and the door opening time (t3-t2) is calculated for each set (S1202).
With the time resolution as Δt, the array element T2 (k) is incremented for k where the door opening time (t3−t2) is equal to or greater than kΔt and less than (k + 1) Δt (S1203). By performing this operation for all door opening time and door closing time pairs read from the log, an array T2 (i) in which the door opening times are classified by the width of the time interval Δt is calculated. For example, if the time resolution Δt is set to 1 second, the update value of the notification grace time can be determined with an accuracy of 1 second.

算出された配列 T2(i) のすべての要素の和をとり N とする(S1204)。
配列 T2(i) の i >= n なる要素の和の、N に対する割合が閾値以上となる最大の n を算出する(S1205)。ここで、閾値としては、例えば、注意報知猶予時間に対しては 30%、警告報知猶予時間に対しては 10% とする。
以上のようにして決定された n を用いて、報知猶予時間を nΔt にする(S1206)。
〈最大報知時間の更新動作〉
最大報知時間の更新動作について、図16のフローチャートを用いて説明する。
The sum of all the elements of the calculated array T2 (i) is taken as N (S1204).
The maximum n is calculated such that the ratio of the sum of elements i> = n in the array T2 (i) to N is equal to or greater than a threshold (S1205). Here, for example, the threshold value is 30% for the caution notice delay time and 10% for the warning notice grace time.
Using n determined as described above, the notification grace time is set to nΔt (S1206).
<Updating operation of maximum notification time>
The maximum notification time update operation will be described with reference to the flowchart of FIG.

まず、扉開時刻 t2 と、扉閉時刻 t3 との組をログから読み出し、各組ごとに扉開時間 (t3-t2) を算出する(S1301)。
扉開時間 (t3-t2) の最大値と報知猶予時間との差分 ΔT を算出する(S1302)。
最大報知時間を ΔT のα倍にする(S1303)。ここで、αは 1以上の実数で、例えば、1.2 とする。
《補足》
上述の実施形態を以下のように変形してもよい。
First, a set of the door opening time t2 and the door closing time t3 is read from the log, and the door opening time (t3-t2) is calculated for each set (S1301).
The difference ΔT between the maximum value of the door opening time (t3-t2) and the notification grace time is calculated (S1302).
The maximum notification time is set to α times ΔT (S1303). Here, α is a real number of 1 or more, for example, 1.2.
《Supplement》
The above-described embodiment may be modified as follows.

(1) 上述の実施形態では、運用中常に猶予時間の更新を行うように説明したが、猶予時間の更新をする期間は一定の期間に決めておき、その期間を過ぎれば猶予時間の更新を止めるようにしてもよい。これは、例えば、1週間と期間を決めて、その間に蓄積されるログから猶予時間を決定すれば、十分な値が得られることが期待されるからである。
また、猶予時間の算出は、全ログではなく最新の何日分または何件分かのログに基づいて算出するようにしてもよい。こうすることで、猶予時間の更新のためには、必要のない古いログは消去することができる。
(1) In the above-described embodiment, it has been described that the grace time is always updated during operation. However, the grace time update period is determined to be a fixed period, and after that period, the grace time is updated. You may make it stop. This is because, for example, if a period of one week is determined and the grace time is determined from the logs accumulated during that period, it is expected that a sufficient value can be obtained.
Further, the grace time may be calculated based on the latest number of days or logs, not all logs. In this way, old logs that are not necessary for the update of the grace time can be deleted.

(2) 上述の実施形態では、制御装置は、猶予時間の種類ごとに 1つの設定値しかもたないとして説明したが、猶予時間の種類ごとに複数の設定値をもつようにし、曜日や時間帯によって使い分けるようにしてもよい。
(3) 上述の実施形態では、施解錠部が施錠あるいは解錠の指示を行ったかどうかにより錠が施解錠状態を判定するように説明したが、錠の施解錠状態を検出する検出部を備え、検出結果によって施解錠状態を判定するようにしてもよい。
(2) In the above embodiment, the control device has been described as having only one set value for each type of grace time. You may make it use properly by.
(3) In the above-described embodiment, it has been described that the lock determines the locking / unlocking state based on whether the locking / unlocking unit has performed the locking or unlocking instruction, but the detection / unlocking state of the lock is provided. The locking / unlocking state may be determined based on the detection result.

(4) 上述の実施形態では、認証装置はカードリーダで、認証カードを読み取るとして説明したが、指紋認証などの生体認証を用いてもよい。
(5) 上述の実施形態では、認証が行われていない空き時間に、猶予時間の更新を行うように説明したが、認証が行われるごとに更新するようにしてもよい。また、この場合、猶予時間の更新値の算出に用いられる配列をゼロ化して、ログを読み直すということをせずに、配列を記憶部に記憶しておき、認証が行われるごとに、配列の要素を更新するようにすることで、ログを読み直す負荷を軽減するようにしてもよい。
(4) In the above-described embodiment, the authentication device is described as being a card reader and reading the authentication card. However, biometric authentication such as fingerprint authentication may be used.
(5) In the above-described embodiment, it has been described that the grace period is updated in the idle time when the authentication is not performed. However, the update may be performed every time the authentication is performed. In this case, the array used for calculation of the update value of the grace time is zeroed, and the array is stored in the storage unit without rereading the log. By updating the element, the load of rereading the log may be reduced.

(6) 上述の実施形態では、1つの制御装置に、扉と認証装置とのセットが 1つ接続されているとして説明したが、1つの制御装置に、扉と認証装置とのセットが複数接続されていてもよい。
この場合、扉ごとに猶予時間を記憶部に保持し、それぞれの猶予時間を扉ごとに記録されたログに基づいて更新するようにしてもよい。こうすることで、制御装置が 1つでも、扉ごとに異なる猶予時間の最適値を用いた制御を行うことができる。
(6) In the above-described embodiment, it is described that one set of doors and authentication devices is connected to one control device. However, a plurality of sets of doors and authentication devices are connected to one control device. May be.
In this case, the grace time may be held in the storage unit for each door, and each grace time may be updated based on a log recorded for each door. In this way, even if there is only one control device, it is possible to perform control using the optimum value of the grace time that differs for each door.

あるいは、複数の扉をまとめて同じ猶予時間を用いるようにしてもよい。こうすることで、ビルや工場の入り口などで複数の扉が設置されている場合に、どの扉に対しても同じ猶予時間の最適値を用いた制御を行うことができる。   Or you may make it use the same grace time collectively for several doors. By doing so, when a plurality of doors are installed at the entrance of a building or factory, it is possible to perform control using the same optimum grace time for any door.

100:制御装置
101:開閉検出部
102:施解錠部
103:認証部
104:記憶部
105:更新部
106:実行部
200:扉
201:錠
300:認証装置
301:読取部
302:報知部
100: Control device
101: Open / close detector
102: Locking / unlocking part
103: Authentication section
104: Storage unit
105: Update section
106: Execution unit
200: Door
201: Tablet
300: Authentication device
301: Reading unit
302: Notification section

Claims (6)

扉の制御を行う制御装置であって、
扉の開閉を検出する開閉検出部と、
イベント種別と当該イベントの発生時刻とを対応付けて記録したログ、および、第1の種別のイベントが発生した発生時刻から、第2の種別のイベントが発生すべき発生予定時刻までの時間を示す猶予時間を記憶する記憶部と、
第1の種別のイベントが発生してから、前記猶予時間だけ経過しても、第2の種別のイベントが発生しない場合に、扉の制御に関連した所定の処理を実行する実行部と、
前記ログから、第2の種別のイベントの発生時刻と、前記第2の種別のイベントの発生時刻以前で直近の第1の種別のイベントの発生時刻との組を複数抽出し、抽出した各組について、当該第1の種別のイベントの発生時刻から当該第2の種別のイベントの発生時刻までの時間を算出し、算出した時間に基づいて決定される更新値に前記猶予時間を更新する更新部とを備え、
前記ログには、前記開閉検出部が扉の開かれたことを検出したことを示すイベントの発生時刻である扉開時刻が含まれ、
前記第1の種別のイベントと前記第2の種別のイベントのうちいずれか一方は、前記開閉検出部が扉の開かれたことを検出したこと示すイベントである
ことを特徴とする制御装置。
A control device for controlling a door,
An open / close detector for detecting the opening / closing of the door;
Log that records the event type and the occurrence time of the event in association with each other, and the time from the occurrence time of the first type event to the scheduled occurrence time at which the second type event should occur A storage unit for storing the grace time;
Even if the grace period elapses after the occurrence of the first type event, if the second type event does not occur, an execution unit that executes a predetermined process related to door control,
From the log, a plurality of combinations of the occurrence time of the second type event and the most recent first type event occurrence time before the occurrence time of the second type event are extracted, and each extracted set An update unit that calculates a time from an occurrence time of the first type event to an occurrence time of the second type event and updates the grace time to an update value determined based on the calculated time And
The log includes a door opening time that is an occurrence time of an event indicating that the opening / closing detection unit has detected that the door has been opened,
One of the first type event and the second type event is an event indicating that the opening / closing detection unit has detected that a door has been opened.
前記制御装置は、更に、
扉の錠を施解錠する施解錠部を備え、
前記ログには、前記施解錠部が扉の錠を解錠したことを示すイベントの発生時刻である解錠時刻が含まれ、
前記猶予時間は、扉の錠を解錠しても扉が閉まり続けていた場合に、解錠時刻から、扉の錠を施錠すべき施錠予定時刻までの時間を示す第1施錠猶予時間であり、
前記第1の種別のイベントは、前記施解錠部が扉の錠を解錠したことを示すイベントであり、
前記第2の種別のイベントは、前記開閉検出部が扉の開かれたことを検出したこと示すイベントであり、
前記所定の処理は、前記施解錠部により扉の錠を施錠させる処理であり、
前記更新部が更新する前記第1施錠猶予時間の更新値は、
前記組の総数に対して、解錠時刻から扉開時刻までの時間が前記更新値以下である組の数の割合が、所定の割合以上となる値である
ことを特徴とする請求項1に記載の制御装置。
The control device further includes:
It has a locking / unlocking part that locks / unlocks the door,
The log includes an unlocking time which is an occurrence time of an event indicating that the locking / unlocking unit unlocks the door lock,
The grace period is the first grace period indicating the time from the unlocking time to the scheduled locking time when the door should be locked if the door continues to close even when the door is unlocked. ,
The first type of event is an event indicating that the locking / unlocking part has unlocked the door,
The second type event is an event indicating that the opening / closing detection unit has detected that a door has been opened,
The predetermined process is a process of locking the door lock by the locking / unlocking part,
The updated value of the first locking grace time updated by the updating unit is,
2. The ratio of the number of groups in which the time from the unlocking time to the door opening time is equal to or less than the updated value with respect to the total number of the groups is a value that is equal to or greater than a predetermined ratio. The control device described.
前記制御装置は、更に、
扉の錠を施解錠する施解錠部と、
入退に関する認証を行う認証部とを備え、
前記ログには、前記施解錠部が扉の錠を解錠したことを示すイベントの発生時刻である解錠時刻と、
前記認証部が認証したことを示すイベントの発生時刻である認証時刻とが含まれ、
前記猶予時間は、扉が開かれているときに認証が成功した場合に、認証時刻から、扉の錠を施錠すべき施錠予定時刻までの時間を示す第2施錠猶予時間であり、
前記第1の種別のイベントは、前記認証部が認証に成功したことを示すイベントであり、
前記第2の種別のイベントは、前記開閉検出部が扉の開かれたことを検出したこと示すイベントであり、
前記所定の処理は、前記認証時刻から前記第2施錠猶予時間の間の施錠予定時刻を、前記認証時刻から前記第2施錠猶予時間だけ経過した時刻まで延期する処理であり、
前記更新部が更新する前記第2施錠猶予時間の更新値は、
前記組の総数に対して、認証時刻から扉開時刻までの時間が前記更新値以下である組の数の割合が、所定の割合以上となる値である
ことを特徴とする請求項1に記載の制御装置。
The control device further includes:
A locking / unlocking part for locking and unlocking the door;
And an authentication unit that performs entry / exit authentication,
In the log, an unlocking time that is an occurrence time of an event indicating that the locking and unlocking unit unlocks the door lock, and
Including an authentication time that is an occurrence time of an event indicating that the authentication unit has authenticated,
The grace time is a second locking grace time indicating the time from the authentication time to the scheduled locking time to lock the door when authentication is successful when the door is opened,
The first type of event is an event indicating that the authentication unit has succeeded in authentication,
The second type event is an event indicating that the opening / closing detection unit has detected that a door has been opened,
The predetermined process is a process of postponing the scheduled locking time between the authentication time and the second locking grace time until the time when the second locking grace time has elapsed from the authentication time,
The updated value of the second locking grace time updated by the updating unit is,
The ratio of the number of groups whose time from the authentication time to the door opening time is equal to or less than the updated value with respect to the total number of the groups is a value that is equal to or greater than a predetermined ratio. Control device.
前記所定の処理は、扉が開かれ続けていることに対して注意報知開始を指示する処理であり、
前記ログには、前記開閉検出部が扉の閉じられたことを検出したことを示すイベントの発生時刻である扉閉時刻が含まれ、
前記猶予時間は、扉が開かれ続けている場合に、扉開時刻から、注意報知開始を指示すべき注意報知開始予定時刻までの時間を示す注意報知猶予時間であり、
前記第1の種別のイベントは、前記開閉検出部が扉の開かれたことを検出したこと示すイベントであり、
前記第2の種別のイベントは、前記開閉検出部が扉の閉じられたことを検出したこと示すイベントであり、
前記更新部が更新する前記注意報知猶予時間の更新値は、
前記組の総数に対して、扉開時刻から扉閉時刻までの時間が前記更新値以上である組の数の割合が所定の割合以下となる値である
ことを特徴とする請求項1に記載の制御装置。
The predetermined process is a process of instructing a warning notification start for the door being kept open,
The log includes a door closing time that is an occurrence time of an event indicating that the opening / closing detection unit detects that the door is closed,
The grace time is a caution notice grace time indicating a time from a door opening time to a caution notice start scheduled time to be instructed to start caution notice when the door is kept open,
The first type event is an event indicating that the opening / closing detection unit has detected that a door has been opened,
The second type of event is an event indicating that the opening / closing detection unit has detected that a door is closed,
The update value of the warning notice grace time updated by the update unit is:
2. The ratio of the number of groups in which the time from the door opening time to the door closing time is equal to or greater than the updated value with respect to the total number of the groups is a value that is equal to or less than a predetermined ratio. Control device.
前記ログには、前記実行部が注意報知開始を指示したことを示すイベントの発生時刻である注意報知開始時刻が含まれ、
前記実行部は、更に、
前記注意報知開始時刻から注意報知時間だけ経過すると、注意報知終了を指示する処理と、警告報知開始を指示する処理とを実行し、
前記注意報知時間は、扉が開かれ続けている場合に、扉開時刻から、警告報知開始を指示すべき警告報知開始予定時刻までの時間を示す警告報知猶予時間と、前記注意報知猶予時間との差であり、
前記警告報知猶予時間は、
前記更新部により更新され、
前記更新部が更新する前記警報報知猶予時間の更新値は、
前記組の総数に対して、扉開時刻から扉閉時刻までの時間が前記更新値以上である組の数の割合が前記所定の割合よりも小さい値以下となる値である
ことを特徴とする請求項4に記載の制御装置。
The log includes a notice notification start time that is an occurrence time of an event indicating that the execution unit has instructed a notice notification start,
The execution unit further includes:
When the caution notification time has elapsed from the caution notification start time, a process for instructing the end of the caution notification and a process for instructing the warning notification start are executed
The warning notification time includes a warning notification delay time indicating a time from a door opening time to a warning notification start scheduled time to be instructed to start warning notification when the door is kept open, and the warning notification delay time. Is the difference between
The warning notice grace time is
Updated by the updating unit,
The update value of the alarm notification grace time updated by the update unit is:
The ratio of the number of groups whose time from the door opening time to the door closing time is not less than the updated value is less than or equal to the value smaller than the predetermined ratio with respect to the total number of the groups. 5. The control device according to claim 4.
前記実行部は、
前記扉開時刻から、前記ログのうち、扉開時刻から扉閉時刻までの時間の最大値以上の時間が経過すると、警報報知終了を指示する
ことを特徴とする請求項5に記載の制御装置。
The execution unit is
6. The control device according to claim 5, wherein when a time equal to or greater than a maximum value of a time from the door opening time to the door closing time has elapsed in the log from the door opening time, an alarm notification end is instructed. .
JP2009199964A 2009-08-31 2009-08-31 Control device Withdrawn JP2011052387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009199964A JP2011052387A (en) 2009-08-31 2009-08-31 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009199964A JP2011052387A (en) 2009-08-31 2009-08-31 Control device

Publications (1)

Publication Number Publication Date
JP2011052387A true JP2011052387A (en) 2011-03-17

Family

ID=43941664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009199964A Withdrawn JP2011052387A (en) 2009-08-31 2009-08-31 Control device

Country Status (1)

Country Link
JP (1) JP2011052387A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013024013A (en) * 2011-07-26 2013-02-04 Hitachi Building Systems Co Ltd Electric lock control device
JP2013221311A (en) * 2012-04-16 2013-10-28 Mitsubishi Electric Building Techno Service Co Ltd Entering/leaving management device and entering/leaving management method
WO2015104748A1 (en) * 2014-01-09 2015-07-16 株式会社デンソー Auto lock system
JP2019219843A (en) * 2018-06-19 2019-12-26 三菱電機ビルテクノサービス株式会社 Access control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013024013A (en) * 2011-07-26 2013-02-04 Hitachi Building Systems Co Ltd Electric lock control device
JP2013221311A (en) * 2012-04-16 2013-10-28 Mitsubishi Electric Building Techno Service Co Ltd Entering/leaving management device and entering/leaving management method
WO2015104748A1 (en) * 2014-01-09 2015-07-16 株式会社デンソー Auto lock system
JP2019219843A (en) * 2018-06-19 2019-12-26 三菱電機ビルテクノサービス株式会社 Access control system
JP7023191B2 (en) 2018-06-19 2022-02-21 三菱電機ビルテクノサービス株式会社 Entry / exit management system

Similar Documents

Publication Publication Date Title
JP2011052387A (en) Control device
JP4774226B2 (en) Security device and security method
JP6005253B2 (en) Monitoring information processing apparatus and method, program, and recording medium
JP6500610B2 (en) Authentication device, authentication method and authentication program
JP4808139B2 (en) Monitoring system
CN111243142A (en) Failure processing method and device for intelligent door lock and storage medium
JP2006244039A (en) Monitoring system
JP5349080B2 (en) Admission management system, admission management device, and admission management method
JP2010140288A (en) Crime prevention device of entrance door
JP2009108575A (en) Room entrance/exit control system
JP2012222685A (en) Detection system for abandoned or removed object
JP6988529B2 (en) Piggybacking detector
JP2010174589A (en) Door controller
JP5057817B2 (en) Security control device, security system, and security method
JP5797794B2 (en) Elevator monitoring device
KR101421962B1 (en) Entrance-Exit Control Device Using Image of Entry and Method for Managing the Entry
JP2007138615A (en) Entering/leaving management system
JP5529085B2 (en) Electric lock control device
JP2005272088A (en) Door control device and method
SI24326A (en) Interactive door system
CN113256851A (en) Verification method and verification system for security cabinet of bank system
KR101311508B1 (en) Apparatus and method for controlling illegal entry and recording medium thereof
JP5345308B2 (en) Prying prevention system
CN114360106B (en) Unlocking method of intelligent lock, terminal and storage medium
CN115424378B (en) Safety protection method and device for intelligent coded lock and related equipment

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120116

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121106