JP2018062804A - Electric lock device and electric lock system - Google Patents

Electric lock device and electric lock system Download PDF

Info

Publication number
JP2018062804A
JP2018062804A JP2016201951A JP2016201951A JP2018062804A JP 2018062804 A JP2018062804 A JP 2018062804A JP 2016201951 A JP2016201951 A JP 2016201951A JP 2016201951 A JP2016201951 A JP 2016201951A JP 2018062804 A JP2018062804 A JP 2018062804A
Authority
JP
Japan
Prior art keywords
information
password
electric lock
terminal device
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016201951A
Other languages
Japanese (ja)
Other versions
JP6917569B2 (en
Inventor
向山 文祥
Fumiyoshi Mukoyama
文祥 向山
誠 廣木
Makoto Hiroki
誠 廣木
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 Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management 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 Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2016201951A priority Critical patent/JP6917569B2/en
Publication of JP2018062804A publication Critical patent/JP2018062804A/en
Application granted granted Critical
Publication of JP6917569B2 publication Critical patent/JP6917569B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

PROBLEM TO BE SOLVED: To further improve the security of a facility.SOLUTION: An electric lock device 30 includes a driving unit 35, an electric lock storage unit 31, and a control unit 32. The driving unit 35 drives a lock 36 of a door 3 to unlock and lock the door 3. The electric lock storage unit 31 stores first information updated with a first update condition and second information updated with a second update condition that is different from the first update condition. The control unit 32 controls the driving unit 35 in response to a request for unlocking or locking the door 3 which is received from an information terminal device 40. The control unit 32, when the unlock request is received from the information terminal device 40 and concurrently when specific conditions are satisfied, causes the driving unit 35 to automatically lock the door 3. The specific conditions include key information received from the information terminal device 40 as an unlock request matches either one of the first information and the second information.SELECTED DRAWING: Figure 1

Description

本発明は、一般に電気錠装置、及び電気錠システムに関し、より詳細にはドアの解錠及び施錠を行う電気錠装置、及びそれを備えた電気錠システムに関する。   The present invention generally relates to an electric lock device and an electric lock system, and more particularly to an electric lock device that unlocks and locks a door, and an electric lock system including the same.

従来、住宅等の建物(施設)のドアに設けられた錠前(錠)を電動で解錠する電気錠装置を備える電気錠システムがある(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, there is an electric lock system including an electric lock device that electrically unlocks a lock (lock) provided on a door of a building (facility) such as a house (see, for example, Patent Document 1).

特許文献1の電気錠システムでは、住宅の住人が利用する鍵に対する認証情報を電気錠装置が記憶している。この電気錠システムでは、携帯機が錠前を解錠するための鍵(鍵情報)を記憶し、当該鍵と、電気錠装置が記憶している認証情報とが一致する場合に、ドアが解錠される。   In the electric lock system of Patent Document 1, the electric lock device stores authentication information for a key used by a resident of a house. In this electric lock system, the portable device stores a key (key information) for unlocking the lock, and the door is unlocked when the key matches the authentication information stored in the electric lock device. Is done.

特開2016−30894号公報JP 2006-30894 A

ところで、不審者が侵入した場合等の緊急時に警備会社の警備員が住宅に一時的に入る場合、又は、住宅の住人が退去した後に住宅の見学(内覧等)により見学者がその住宅に一時的に入る場合等がある。   By the way, when a security guard of a security company temporarily enters a house in an emergency such as when a suspicious person enters, or after a resident leaves the house, the visitor temporarily enters the house. There are cases where it enters the target.

上述のような一時的な利用者、特に見学者は、住宅の住人とは違い、ドアの解錠及び施錠に不慣れであり、また、一時的な利用者自身の住宅ではないことからセキュリティに関する管理意識が低い傾向にある。特許文献1に記載される電気錠システムでは、このような一時的な利用者が、予め配布された鍵情報でドアの解錠を行い住宅に入った後、ドアの施錠を行わずに住宅から退出してしまうという問題があった。   Temporary users such as those mentioned above, especially visitors, are not accustomed to unlocking and locking doors, unlike residential residents, and they are not temporary users' own homes. Awareness tends to be low. In the electric lock system described in Patent Document 1, such a temporary user unlocks the door with the key information distributed in advance and enters the house, and then enters the house without locking the door. There was a problem of leaving.

本発明は上記事由に鑑みてなされ、施設のセキュリティをより向上させることができる電気錠装置、及び電気錠システムを提供することを目的とする。   This invention is made | formed in view of the said reason, and it aims at providing the electric lock apparatus and electric lock system which can improve the security of a facility more.

本発明の一態様に係る電気錠装置は、駆動部と、記憶部と、制御部と、を備える。前記駆動部は、施設のドアの錠前を駆動して前記ドアの解錠及び施錠を行う。前記記憶部は、第1の更新条件で更新される第1の情報、及び前記第1の更新条件とは異なる第2の更新条件で更新される第2の情報を記憶する。前記制御部は、情報端末装置から受け取る前記ドアの解錠要求又は施錠要求に応じて、前記駆動部を制御する。前記制御部は、前記情報端末装置から前記解錠要求を受け取り、かつ、特定の条件が満たされたときに、前記駆動部に前記ドアの施錠を自動的に行わせるように構成されている。前記特定の条件は、前記解錠要求として前記情報端末装置から受け取った鍵情報が前記第1の情報及び前記第2の情報のいずれか一方と一致することを含む。   An electric lock device according to an aspect of the present invention includes a drive unit, a storage unit, and a control unit. The drive unit unlocks and locks the door by driving a lock of a facility door. The storage unit stores first information updated under a first update condition and second information updated under a second update condition different from the first update condition. The control unit controls the driving unit in response to an unlocking request or locking request for the door received from the information terminal device. The control unit is configured to receive the unlock request from the information terminal device and cause the drive unit to automatically lock the door when a specific condition is satisfied. The specific condition includes that key information received from the information terminal device as the unlock request matches either one of the first information and the second information.

本発明の一態様に係る電気錠システムは、上記の電気錠装置と、サーバと、を備える。前記サーバは、前記電気錠装置の前記第1の情報及び前記第2の情報を更新し、前記情報端末装置からの要求に応じて前記鍵情報を前記情報端末装置に出力する。   The electric lock system which concerns on 1 aspect of this invention is equipped with said electric lock apparatus and a server. The server updates the first information and the second information of the electric lock device, and outputs the key information to the information terminal device in response to a request from the information terminal device.

本発明は、施設のセキュリティをより向上させることができる、という利点がある。   The present invention has the advantage that the security of the facility can be further improved.

図1Aは、本発明の実施形態に係る電気錠システムの構成を示すシステム構成図である。図1Bは、同上の電気錠システムが備える電気錠装置の構成を示すブロック図である。FIG. 1A is a system configuration diagram showing a configuration of an electric lock system according to an embodiment of the present invention. FIG. 1B is a block diagram showing a configuration of an electric lock device provided in the electric lock system. 図2は、同上の電気錠システムが備えるコントローラの構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a controller provided in the electric lock system. 図3は、同上の電気錠装置におけるドアの解錠に係る処理と第1パスワードの更新とを説明するシーケンス図である。FIG. 3 is a sequence diagram for explaining processing related to unlocking the door and updating of the first password in the electric lock device. 図4は、同上の電気錠装置におけるドアの施錠に係る処理を示す流れ図である。FIG. 4 is a flowchart showing a process related to the locking of the door in the electric lock device. 図5は、同上の電気錠装置におけるドアの自動施錠に係る処理を示す流れ図である。FIG. 5 is a flowchart showing processing relating to automatic locking of the door in the electric lock device.

(実施形態)
(1)概要
以下に説明する構成は、本発明の一例に過ぎず、本発明は、下記の構成に限定されることはなく、下記の構成以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能である。
(Embodiment)
(1) Outline The configuration described below is merely an example of the present invention. The present invention is not limited to the following configuration, and the technical idea according to the present invention is not limited to the following configuration. As long as it does not deviate from the above, various changes can be made according to the design and the like.

本実施形態の電気錠装置30は、図1A及び図1Bに示すように、駆動部35と、電気錠記憶部(記憶部)31と、制御部32と、を備える。   As shown in FIGS. 1A and 1B, the electric lock device 30 of the present embodiment includes a drive unit 35, an electric lock storage unit (storage unit) 31, and a control unit 32.

駆動部35は、施設2のドア3の錠前36を駆動してドア3の解錠及び施錠を行う。電気錠記憶部31は、第1の更新条件で更新される第1の情報、及び第1の更新条件とは異なる第2の更新条件で更新される第2の情報を記憶する。第1の情報は、第1パスワードを含み、第2の情報は、第2パスワードを含む。しかし、第1の情報は、第1パスワードに加えて、第1識別子を含んでもよい。同様に、第2の情報は、第2パスワードに加えて、第2識別子を含んでもよい。   The drive unit 35 drives the lock 36 of the door 3 of the facility 2 to unlock and lock the door 3. The electric lock storage unit 31 stores first information updated under the first update condition and second information updated under a second update condition different from the first update condition. The first information includes a first password, and the second information includes a second password. However, the first information may include a first identifier in addition to the first password. Similarly, the second information may include a second identifier in addition to the second password.

制御部32は、情報端末装置40から受け取るドア3の解錠要求又は施錠要求に応じて、駆動部35を制御する。情報端末装置40は、携帯型の端末装置であることを想定して説明するが、例えばICカードであってもよい。   The control unit 32 controls the drive unit 35 in response to an unlocking request or locking request for the door 3 received from the information terminal device 40. The information terminal device 40 is described on the assumption that it is a portable terminal device, but it may be an IC card, for example.

制御部32は、情報端末装置40からドア3の解錠要求を受け取り、かつ、特定の条件が満たされたときに、駆動部35にドア3の施錠を自動的に行わせるように構成されている。上記特定の条件は、解錠要求として情報端末装置40から受け取った鍵情報が第1の情報及び第2の情報のいずれか一方と一致することを含む。なお、以下の説明では、施錠要求を受け取ってドア3の施錠を行わせることを「通常の施錠」とよび、施錠要求を受け取らなくても自動的にドア3の施錠を行わせることを「自動施錠」とよぶこともある。   The control unit 32 is configured to receive a request for unlocking the door 3 from the information terminal device 40 and cause the drive unit 35 to automatically lock the door 3 when a specific condition is satisfied. Yes. The specific condition includes that the key information received from the information terminal device 40 as the unlocking request matches either one of the first information and the second information. In the following description, receiving the locking request and locking the door 3 is called “normal locking”, and “automatically locking the door 3 without receiving the locking request” is called “automatic locking”. Sometimes called “locked”.

また、本実施形態の電気錠システム1は、図1Aに示すように、電気錠装置30と、サーバ10と、を備える。サーバ10は、電気錠装置30の第1の情報(第1パスワード)及び第2の情報(第2パスワード)を更新し、情報端末装置40からの要求に応じて鍵情報を情報端末装置40に出力する。本実施形態では、サーバ10は、施設2外、例えば警備会社に設けられていることを想定する。   Moreover, the electric lock system 1 of this embodiment is provided with the electric lock apparatus 30 and the server 10, as shown to FIG. 1A. The server 10 updates the first information (first password) and the second information (second password) of the electric lock device 30 and sends the key information to the information terminal device 40 in response to a request from the information terminal device 40. Output. In the present embodiment, it is assumed that the server 10 is provided outside the facility 2, for example, a security company.

なお、本実施形態では、図1Aに示すように、電気錠システム1がコントローラ20を更に備え、コントローラ20が電気錠装置30及びサーバ10と定期通信を行うことを想定する。この場合、コントローラ20は、電気錠装置30が設けられた施設2内に設けられている。しかし、コントローラ20は、電気錠システム1の構成要素として必須ではない。すなわち、サーバ10と電気錠装置30とは、コントローラ20を介さず、直接通信を行う構成であってもよい。   In the present embodiment, as shown in FIG. 1A, it is assumed that the electric lock system 1 further includes a controller 20, and the controller 20 performs regular communication with the electric lock device 30 and the server 10. In this case, the controller 20 is provided in the facility 2 in which the electric lock device 30 is provided. However, the controller 20 is not essential as a component of the electric lock system 1. That is, the server 10 and the electric lock device 30 may be configured to perform direct communication without using the controller 20.

(2)詳細
(2.1)電気錠システム
電気錠システム1は、図1Aに示すように、サーバ10、コントローラ20、電気錠装置30、及び情報端末装置40を備える。電気錠装置30は、施設2のドア3に設けられている。コントローラ20は、施設2内に設けられている。施設2は、例えば、戸建住宅、集合住宅の各住戸、事務所、工場、店舗等の建物である。なお、本実施形態では、施設2は、一例として戸建の賃貸住宅を想定して説明する。サーバ10は、施設2外、例えば警備会社に設けられている。
(2) Details (2.1) Electric Lock System As shown in FIG. 1A, the electric lock system 1 includes a server 10, a controller 20, an electric lock device 30, and an information terminal device 40. The electric lock device 30 is provided on the door 3 of the facility 2. The controller 20 is provided in the facility 2. The facility 2 is, for example, a building such as a detached house, each dwelling unit of an apartment house, an office, a factory, or a store. In the present embodiment, the facility 2 will be described assuming a detached rental house as an example. The server 10 is provided outside the facility 2, for example, a security company.

電気錠装置30は、施設2のドア3の錠前36を解錠する解錠処理と、錠前36を施錠する施錠処理と、を行う。本実施形態では、電気錠装置30は、更に、自動施錠処理も行う。   The electric lock device 30 performs an unlocking process for unlocking the lock 36 of the door 3 of the facility 2 and a locking process for locking the lock 36. In the present embodiment, the electric lock device 30 further performs an automatic locking process.

サーバ10は、電気錠装置30が行う解錠処理及び施錠処理に用いられる情報の発行及び管理を行う。解錠処理及び施錠処理に用いられる情報は、2種類ある。1つ目は第1パスワード(第1の情報)であり、2つ目は第2パスワード(第2の情報)である。第1パスワードは、まだ入居されていない施設の見学(内覧)を希望する者(以下、単に「見学者」という)が当該施設に入る際のドアの解錠、又は当該施設から出た際のドアの施錠に用いられる。要するに、第1パスワードは、見学者が一時的に施設を利用するために用いられる。一方、第2パスワードは、施設を長期的に利用する長期利用者(例えば住人)によって用いられる。   The server 10 issues and manages information used for the unlocking process and the locking process performed by the electric lock device 30. There are two types of information used for the unlocking process and the locking process. The first is a first password (first information), and the second is a second password (second information). The first password is used when a person who wants to visit a facility that has not yet moved in (introspection) (hereinafter simply referred to as “visitor”) unlocks the door when entering the facility, or when the person leaves the facility. Used for door locking. In short, the first password is used for a visitor to use the facility temporarily. On the other hand, the second password is used by a long-term user (for example, a resident) who uses the facility for a long time.

第1パスワードは、第1の更新条件で更新される。第2パスワードは、第1の更新条件とは異なる第2の更新条件で更新される。なお、本実施形態では、第1の更新条件とは、例えば、電気錠記憶部31内の第1パスワードが前回更新された時刻から第1の所定期間(例えば、1日間)が経過することである。   The first password is updated with the first update condition. The second password is updated under a second update condition that is different from the first update condition. In the present embodiment, the first update condition is, for example, that a first predetermined period (for example, one day) elapses from the time when the first password in the electric lock storage unit 31 was updated last time. is there.

ただし、第1の更新条件のオプションとして、情報端末装置40がサーバ10から鍵情報を取得した場合には、その取得した時刻から第2の所定期間(例えば、1〜2日間)が経過してから更新を行ってもよい。この場合、例えば1日毎の定期更新の時刻直前に情報端末装置40がサーバ10から鍵報を取得しても、当該鍵情報が実際に使用される時点では既に電気錠装置30内の第1パスワードが別の第1パスワードに更新されているという事態を防ぐことができる。   However, as an option of the first update condition, when the information terminal device 40 acquires key information from the server 10, a second predetermined period (for example, 1-2 days) has elapsed from the acquired time. You may update from. In this case, for example, even if the information terminal device 40 obtains key information from the server 10 immediately before the regular update time every day, the first password in the electric lock device 30 is already used when the key information is actually used. Can be prevented from being updated to a different first password.

いずれにしても、第1パスワードは、時間の経過をトリガーとして定期的に更新される。一方、第2パスワードは、例えば、施設2への入居申請(例えば賃貸契約)、又は施設2からの退去申請(解約)をトリガーとして更新される。   In any case, the first password is periodically updated with the passage of time as a trigger. On the other hand, the second password is updated using, for example, an application for moving into the facility 2 (for example, a lease contract) or an application for leaving the facility 2 (cancellation).

サーバ10は、図1Aに示すように、インターネット等のネットワーク4を介して情報端末装置40と通信可能である。情報端末装置40は、携帯型の端末装置であり、例えばスマートホン又はタブレット端末等である。   As shown in FIG. 1A, the server 10 can communicate with the information terminal device 40 via a network 4 such as the Internet. The information terminal device 40 is a portable terminal device, such as a smart phone or a tablet terminal.

電気錠装置30は、情報端末装置40と近距離無線通信が可能である。情報端末装置40は、電気錠装置30に解錠処理及び施錠処理を要求することが可能である。電気錠装置30は、情報端末装置40から解錠処理の要求を受け付けると、解錠処理を行う。そして、電気錠装置30は、処理結果に応じてドア3の錠前36の解錠を行う。また、電気錠装置30は、情報端末装置40から施錠処理の要求を受け付けると、施錠処理を行う。そして、電気錠装置30は、処理結果に応じてドア3の錠前36の施錠を行う。   The electric lock device 30 can perform short-range wireless communication with the information terminal device 40. The information terminal device 40 can request the electric lock device 30 to perform unlocking processing and locking processing. When receiving the request for the unlocking process from the information terminal device 40, the electric lock device 30 performs the unlocking process. Then, the electric lock device 30 unlocks the lock 36 of the door 3 according to the processing result. In addition, when the electric lock device 30 receives a lock processing request from the information terminal device 40, the electric lock device 30 performs the lock processing. Then, the electric lock device 30 locks the lock 36 of the door 3 according to the processing result.

コントローラ20は、ネットワーク4を介してサーバ10と通信可能であり、電気錠装置30と小電力無線により通信可能である。つまり、サーバ10と電気錠装置30との間の通信は、コントローラ20を介して行われる。   The controller 20 can communicate with the server 10 via the network 4 and can communicate with the electric lock device 30 by low power radio. That is, communication between the server 10 and the electric lock device 30 is performed via the controller 20.

コントローラ20は、定期的にサーバ10と通信(第1定期通信)を行う。第1定期通信は、例えば1日1回、所定の時刻で行われる。また、コントローラ20は、定期的に電気錠装置30と通信(第2定期通信)を行う。コントローラ20は、例えば1時間ごとに第2定期通信を行う。   The controller 20 periodically communicates with the server 10 (first periodic communication). The first regular communication is performed, for example, once a day at a predetermined time. Further, the controller 20 periodically communicates with the electric lock device 30 (second regular communication). For example, the controller 20 performs the second regular communication every hour.

(2.1.1)サーバ
以下、サーバ10の構成について詳しく説明する。
(2.1.1) Server Hereinafter, the configuration of the server 10 will be described in detail.

サーバ10は、第1定期通信時に、コントローラ20から確認要求情報を受け取ると、その応答として応答情報をコントローラ20に送信する。サーバ10は、図1Aに示すように、サーバ記憶部11、制御部12及び通信部13を備えている。サーバ10は、CPU(Central Processing Unit)及びメモリを有している。CPUがメモリに格納されているプログラムを実行することにより、制御部12の機能を実現する。プログラムは、ここではコンピュータのメモリに予め記録されている。なお、プログラムは、インターネット等の電気通信回線を通じて、あるいはメモリカード等の記録媒体に記録されて提供されてもよい。   When receiving confirmation request information from the controller 20 during the first regular communication, the server 10 transmits response information to the controller 20 as a response. As shown in FIG. 1A, the server 10 includes a server storage unit 11, a control unit 12, and a communication unit 13. The server 10 has a CPU (Central Processing Unit) and a memory. The function of the control unit 12 is realized by the CPU executing a program stored in the memory. Here, the program is recorded in advance in the memory of a computer. The program may be provided through a telecommunication line such as the Internet or recorded in a recording medium such as a memory card.

サーバ記憶部11は、例えばフラッシュメモリ等の電気的に書き換え可能な不揮発性の半導体メモリで構成される。サーバ記憶部11は、第1パスワード及び第2パスワードを記憶している。   The server storage unit 11 is configured by an electrically rewritable nonvolatile semiconductor memory such as a flash memory. The server storage unit 11 stores a first password and a second password.

制御部12は、図1に示すように、出力部14と発行部15と時間を計時するタイマ16とを有している。   As shown in FIG. 1, the control unit 12 includes an output unit 14, an issuing unit 15, and a timer 16 that measures time.

出力部14は、情報端末装置40からの要求に応じて、サーバ記憶部11で記憶している第1パスワード及び第2パスワードの一方を、鍵情報として情報端末装置40に出力する。例えば、情報端末装置40から第1パスワードの要求があると、第1パスワードを含んだ鍵情報を情報端末装置40に出力する。情報端末装置40から第2パスワードの要求があると、第2パスワードを含んだ鍵情報を情報端末装置40に出力する。   In response to a request from the information terminal device 40, the output unit 14 outputs one of the first password and the second password stored in the server storage unit 11 to the information terminal device 40 as key information. For example, when the information terminal device 40 requests the first password, the key information including the first password is output to the information terminal device 40. When the information terminal device 40 requests the second password, the key information including the second password is output to the information terminal device 40.

発行部15は、電気錠システム1の運用を開始するときに、第1パスワード及び第2パスワードを発行する。具体的には、発行部15は、電気錠システム1の運用を開始するときに、第1パスワード及び第2パスワードを生成し、サーバ記憶部11に記憶する。発行部15は、生成した第1パスワード及び第2パスワードを、通信部13及びコントローラ20を介して電気錠装置30へ送信する。   The issuing unit 15 issues a first password and a second password when starting operation of the electric lock system 1. Specifically, the issuing unit 15 generates a first password and a second password and stores them in the server storage unit 11 when the operation of the electric lock system 1 is started. The issuing unit 15 transmits the generated first password and second password to the electric lock device 30 via the communication unit 13 and the controller 20.

その後、発行部15は、サーバ記憶部11で記憶している第1パスワードが情報端末装置40に出力されない間は、第1定期通信時にサーバ記憶部11及び電気錠装置30で記憶している第1パスワードを更新する。例えば、発行部15は、第1定期通信時に、新たな第1パスワードを生成し、サーバ記憶部11で記憶している第1パスワードを新たな第1パスワードに書き換える(更新する)。発行部15は、生成した新たな第1パスワードを応答情報に含めてコントローラ20を介して電気錠装置30へ送信し、電気錠装置30に電気錠記憶部31が記憶している第1パスワードを更新させる。要するに、発行部15は、第1の所定期間(例えば、1日間)が経過する度に第1定期通信を行うため、同時に、電気錠装置30内の第1パスワードも、新たな第1パスワードに更新される。言い換えると、出力部14が第1パスワードを情報端末装置40に出力しない限り、電気錠装置30内の第1パスワードは、前回更新された時刻から第1の所定期間が経過する度に自動的に更新される。   Thereafter, the issuing unit 15 stores the first password stored in the server storage unit 11 and the electric lock device 30 during the first regular communication while the first password stored in the server storage unit 11 is not output to the information terminal device 40. 1 Update the password. For example, the issuing unit 15 generates a new first password during the first regular communication, and rewrites (updates) the first password stored in the server storage unit 11 with the new first password. The issuing unit 15 includes the generated new first password in the response information and transmits the response to the electric lock device 30 via the controller 20, and the first password stored in the electric lock storage unit 31 in the electric lock device 30 is transmitted. Update. In short, the issuing unit 15 performs the first regular communication every time a first predetermined period (for example, one day) elapses. At the same time, the first password in the electric lock device 30 is changed to a new first password. Updated. In other words, unless the output unit 14 outputs the first password to the information terminal device 40, the first password in the electric lock device 30 is automatically generated every time the first predetermined period elapses from the last updated time. Updated.

一方、発行部15は、出力部14が第1パスワードを情報端末装置40に出力すると、タイマ16に計時を開始させる。発行部15は、タイマ16の計時が第2の所定期間(例えば、1〜2日間)を経過すると、第1パスワードを更新する。なお、タイマ16は、第2の所定期間が経過すると計時を停止し、計時時間を初期値に戻す。ここで、第2の所定期間とは、出力部14が第1パスワードを情報端末装置40に出力した時刻から所定時間までの期間である。発行部15は、第2の所定期間が経過した後、最初の第1定期通信のタイミングでサーバ記憶部11及び電気錠装置30で記憶している第1パスワードを更新する。発行部15は、第2の所定期間内に第1定期通信が行われる場合には、サーバ記憶部11及び電気錠装置30の第1パスワードの更新は行わない。そのため、第2の所定期間内にコントローラ20に送信される応答情報には、第1パスワードは含まれない。   On the other hand, the issuing unit 15 causes the timer 16 to start measuring when the output unit 14 outputs the first password to the information terminal device 40. The issuing unit 15 updates the first password when the timer 16 passes the second predetermined period (for example, 1-2 days). The timer 16 stops timing when the second predetermined period elapses, and returns the timing time to the initial value. Here, the second predetermined period is a period from the time when the output unit 14 outputs the first password to the information terminal device 40 to the predetermined time. The issuing unit 15 updates the first password stored in the server storage unit 11 and the electric lock device 30 at the timing of the first first regular communication after the second predetermined period has elapsed. The issuing unit 15 does not update the first password of the server storage unit 11 and the electric lock device 30 when the first regular communication is performed within the second predetermined period. Therefore, the first password is not included in the response information transmitted to the controller 20 within the second predetermined period.

発行部15は、施設2の住人が退去するときに、住人の退去を表す退去情報を情報端末装置40から通信部13を介して受け取る。発行部15は、退去情報を受け取ると、サーバ記憶部11及び電気錠装置30で記憶している第2パスワードを更新する。例えば、発行部15は、新たな第2パスワードを生成し、サーバ記憶部11で記憶している第2パスワードを新たな第2パスワードに書き換える(更新する)。発行部15は、生成した第2パスワードを、通信部13及びコントローラ20を介して電気錠装置30へ送信し、電気錠装置30に電気錠記憶部31が記憶している第2パスワードを更新させる。発行部15は、生成した第2パスワードを第1定期通信時に、新たな第2パスワードを応答情報に含めて通信部13及びコントローラ20を介して電気錠装置30へ送信する。   When the resident of the facility 2 moves out, the issuing unit 15 receives, from the information terminal device 40, the eviction information indicating the resident's withdrawal through the communication unit 13. When the issuing unit 15 receives the withdrawal information, the issuing unit 15 updates the second password stored in the server storage unit 11 and the electric lock device 30. For example, the issuing unit 15 generates a new second password, and rewrites (updates) the second password stored in the server storage unit 11 with the new second password. The issuing unit 15 transmits the generated second password to the electric lock device 30 via the communication unit 13 and the controller 20, and causes the electric lock device 30 to update the second password stored in the electric lock storage unit 31. . The issuing unit 15 transmits the generated second password to the electric lock device 30 via the communication unit 13 and the controller 20 by including the new second password in the response information during the first regular communication.

通信部13は、ネットワーク4に接続されることで、サーバ10と情報端末装置40との間、及びサーバ10とコントローラ20との間の通信を可能にする。   The communication unit 13 is connected to the network 4 to enable communication between the server 10 and the information terminal device 40 and between the server 10 and the controller 20.

(2.1.2)コントローラ
以下、コントローラ20の構成について詳しく説明する。
(2.1.2) Controller Hereinafter, the configuration of the controller 20 will be described in detail.

コントローラ20は、図2に示すように、第1通信部21、第2通信部22、電源部23、制御部24、電池25及び充電部26を備えている。コントローラ20は、CPU及びメモリを有している。CPUがメモリに格納されているプログラムを実行することにより、制御部24の機能を実現する。プログラムは、ここではコンピュータのメモリに予め記録されている。なお、プログラムは、インターネット等の電気通信回線を通じて、あるいはメモリカード等の記録媒体に記録されて提供されてもよい。   As shown in FIG. 2, the controller 20 includes a first communication unit 21, a second communication unit 22, a power supply unit 23, a control unit 24, a battery 25, and a charging unit 26. The controller 20 has a CPU and a memory. The function of the control unit 24 is realized by the CPU executing a program stored in the memory. Here, the program is recorded in advance in the memory of a computer. The program may be provided through a telecommunication line such as the Internet or recorded in a recording medium such as a memory card.

第1通信部21は、サーバ10との通信用の無線モジュールであって、制御部24にて制御される。第1通信部21は、第1送信機能と第1受信機能とを有している。第1送信機能は、ネットワーク4を介してサーバ10に情報を送信する機能である。第1受信機能は、ネットワーク4を介してサーバ10から情報を受信する機能である。   The first communication unit 21 is a wireless module for communication with the server 10 and is controlled by the control unit 24. The first communication unit 21 has a first transmission function and a first reception function. The first transmission function is a function for transmitting information to the server 10 via the network 4. The first reception function is a function for receiving information from the server 10 via the network 4.

第2通信部22は、電気錠装置30との通信用の通信モジュールであって、制御部24によって制御される。第2通信部22は、通信方式として小電力無線通信を用いて、電気錠装置30と通信を行う。通信方式の違いから、第2通信部22の消費電力は、第1通信部21の消費電力に比べて小さい。   The second communication unit 22 is a communication module for communication with the electric lock device 30 and is controlled by the control unit 24. The second communication unit 22 communicates with the electric lock device 30 using low-power wireless communication as a communication method. Due to the difference in communication method, the power consumption of the second communication unit 22 is smaller than the power consumption of the first communication unit 21.

電源部23は、電池25及び外部電源5と電気的に接続されており、電池25と外部電源5とのいずれから電力供給を受けても動作電源を生成可能に構成されている。電源部23は、電池25の電力で動作電源を生成する第1モードと、外部電源5の電力で動作電源を生成する第2モードとのいずれかの動作モードで動作する。   The power supply unit 23 is electrically connected to the battery 25 and the external power supply 5, and is configured to be able to generate an operating power supply regardless of whether power is supplied from either the battery 25 or the external power supply 5. The power supply unit 23 operates in any one of the first mode in which the operating power is generated with the power of the battery 25 and the second mode in which the operating power is generated with the power of the external power supply 5.

なお、図2では図示を省略しているが、電源部23には、第1通信部21、第2通信部22及び制御部24が電気的に接続されており、電源部23で生成された動作電源により、コントローラ20の各部の動作用の電力が賄われる。   Although not shown in FIG. 2, the first communication unit 21, the second communication unit 22, and the control unit 24 are electrically connected to the power supply unit 23 and generated by the power supply unit 23. The operation power supply provides power for operation of each part of the controller 20.

制御部24は、外部電源5から電源部23への電力の供給状態に応じて、電源部23の動作モードを第1モードと第2モードとで切り替える。例えば、制御部24は、外部電源5から電源部23への電力の供給が行われていない場合には動作モードを第1モードに、電力供給が行われている場合には動作モードを第2モードに切り替える。これにより、コントローラ20は、例えば、施設2が空室(空き家)状態である場合には第1モードで、それ以外の場合には第2モードで動作することができる。   The control unit 24 switches the operation mode of the power supply unit 23 between the first mode and the second mode in accordance with the supply state of power from the external power supply 5 to the power supply unit 23. For example, the control unit 24 sets the operation mode to the first mode when power is not supplied from the external power supply 5 to the power supply unit 23, and sets the operation mode to the second mode when power is supplied. Switch to mode. Thereby, for example, the controller 20 can operate in the first mode when the facility 2 is in an empty room (vacant house) state, and in the second mode otherwise.

制御部24は、第1モードでは、第1定期通信を行うタイミング及び第1パスワードが使用されたタイミングで第1通信部21を送信動作及び受信動作をさせるように構成されている。例えば、制御部24は、現在時刻が第1定期通信を行う時刻になると、所定時間(例えば1分間)だけ第1通信部21を起動する。また、その他の時間帯では、制御部24は、第1通信部21への電力供給を停止する。電力供給が停止されているときに、第1パスワードが使用されると、制御部24は、所定時間(例えば1分間)だけ第1通信部21を起動する。   In the first mode, the control unit 24 is configured to cause the first communication unit 21 to perform a transmission operation and a reception operation at a timing at which the first regular communication is performed and a timing at which the first password is used. For example, when the current time is the time for performing the first regular communication, the control unit 24 activates the first communication unit 21 for a predetermined time (for example, one minute). In other time zones, the control unit 24 stops supplying power to the first communication unit 21. If the first password is used when the power supply is stopped, the control unit 24 activates the first communication unit 21 for a predetermined time (for example, one minute).

制御部24は、第1定期通信時に受け取った応答情報に第1パスワードが含まれている場合には、第1更新情報を電気錠装置30に第2無線部34を介して送信する。ここで、第1更新情報は、電気錠装置30で記憶されている第1パスワードの更新の指示を表す情報であり、応答情報に含まれる第1パスワードを含んでいる。   When the response information received during the first regular communication includes the first password, the control unit 24 transmits the first update information to the electric lock device 30 via the second wireless unit 34. Here, the first update information is information indicating an instruction to update the first password stored in the electric lock device 30 and includes the first password included in the response information.

制御部24は、第1定期通信時に受け取った応答情報に第2パスワードが含まれている場合には、第2更新情報を電気錠装置30に第2無線部34を介して送信する。ここで、第2更新情報は、電気錠装置30で記憶されている第2パスワードの更新の指示を表す情報であり、応答情報に含まれる第2パスワードを含んでいる。   When the second password is included in the response information received during the first regular communication, the control unit 24 transmits the second update information to the electric lock device 30 via the second wireless unit 34. Here, the second update information is information representing an instruction to update the second password stored in the electric lock device 30 and includes the second password included in the response information.

制御部24は、第1モードでは、第2定期通信を行うタイミングで第2通信部22を送受信動作及び受信動作をさせるように構成されている。例えば、制御部24は、現在時刻が第2定期通信を行う時刻になると、所定時間(例えば5秒間)だけ第2通信部22を起動する。その他の時間帯では、制御部24は、第2通信部22への電力供給を停止する。   In the first mode, the control unit 24 is configured to cause the second communication unit 22 to perform a transmission / reception operation and a reception operation at the timing of performing the second regular communication. For example, when the current time is the time for performing the second regular communication, the control unit 24 activates the second communication unit 22 for a predetermined time (for example, 5 seconds). In other time zones, the control unit 24 stops supplying power to the second communication unit 22.

制御部24は、電気錠装置30で記憶されている第1パスワードの更新を行う場合には、第2定期通信時に上述した第1更新情報を電気錠装置30に送信する。制御部24は、電気錠装置30で記憶されている第2パスワードの更新を行う場合には、第2定期通信時に上述した第2更新情報を電気錠装置30に送信する。   When updating the first password stored in the electric lock device 30, the control unit 24 transmits the first update information described above to the electric lock device 30 during the second regular communication. When updating the second password stored in the electric lock device 30, the control unit 24 transmits the second update information described above to the electric lock device 30 during the second regular communication.

制御部24は、電気錠システム1の運用開始時には第2モードで動作しており、第1通信部21を動作可能状態にしている。つまり、第1通信部21は、サーバ10が第1パスワード及び第2パスワードを生成し、すぐに送信することで、第1パスワード及び第2パスワードの受信が可能となる。制御部24は、電気錠システム1の運用開始時に、第1通信部21が第1パスワード及び第2パスワードを受信すると、受信した第1パスワード及び第2パスワードを、第2通信部22を介して電気錠装置30に送信する。   The control unit 24 operates in the second mode when the operation of the electric lock system 1 is started, and makes the first communication unit 21 operable. That is, the first communication unit 21 can receive the first password and the second password when the server 10 generates the first password and the second password and immediately transmits them. When the first communication unit 21 receives the first password and the second password at the start of operation of the electric lock system 1, the control unit 24 receives the received first password and second password via the second communication unit 22. It transmits to the electric lock device 30.

電池25は、コントローラ20の筐体内に収納され、外部電源5の電力で充電される二次電池である。電池25は、充電部26を介して外部電源5に電気的に接続される。充電部26は、整流平滑回路及びDC/DCコンバータを有し、外部電源5からの電力を用いて電池25を充電する。電池25は、例えばリチウム電池、ニッケル・カドミウム電池などである。   The battery 25 is a secondary battery that is housed in the housing of the controller 20 and is charged by the power of the external power supply 5. The battery 25 is electrically connected to the external power source 5 via the charging unit 26. The charging unit 26 includes a rectifying / smoothing circuit and a DC / DC converter, and charges the battery 25 using power from the external power supply 5. The battery 25 is, for example, a lithium battery or a nickel / cadmium battery.

(2.1.3)電気錠装置
以下、電気錠装置30の構成について詳しく説明する。
(2.1.3) Electric Lock Device Hereinafter, the configuration of the electric lock device 30 will be described in detail.

電気錠装置30は、図1Bに示すように、電気錠記憶部31、制御部32、第1無線部33、第2無線部34、駆動部35及び錠前36を備える。電気錠装置30は、CPU及びメモリを有している。CPUがメモリに格納されているプログラムを実行することにより、制御部32の機能を実現する。プログラムは、ここではコンピュータのメモリに予め記録されている。なお、プログラムは、インターネット等の電気通信回線を通じて、あるいはメモリカード等の記録媒体に記録されて提供されてもよい。   As shown in FIG. 1B, the electric lock device 30 includes an electric lock storage unit 31, a control unit 32, a first radio unit 33, a second radio unit 34, a drive unit 35, and a lock 36. The electric lock device 30 has a CPU and a memory. The function of the control unit 32 is realized by the CPU executing a program stored in the memory. Here, the program is recorded in advance in the memory of a computer. The program may be provided through a telecommunication line such as the Internet or recorded in a recording medium such as a memory card.

電気錠記憶部31は、例えばフラッシュメモリ等の電気的に書き換え可能な不揮発性の半導体メモリで構成される。電気錠記憶部31は、サーバ10から出力された第1パスワード及び第2パスワードを記憶する。   The electric lock storage unit 31 is configured by an electrically rewritable nonvolatile semiconductor memory such as a flash memory. The electric lock storage unit 31 stores the first password and the second password output from the server 10.

制御部32は、図1Bに示すように、登録部32Aと、受付部32Bと、処理部32Cと、タイマ32Dと、を備える。   As shown in FIG. 1B, the control unit 32 includes a registration unit 32A, a reception unit 32B, a processing unit 32C, and a timer 32D.

登録部32Aは、電気錠システム1の運用開始時に第1パスワード及び第2パスワードをコントローラ20及び第1無線部33を介してサーバ10から受け取ると、受け取った第1パスワード及び第2パスワードを電気錠記憶部31に記憶する。   When the registration unit 32A receives the first password and the second password from the server 10 via the controller 20 and the first wireless unit 33 when the operation of the electric lock system 1 is started, the registration unit 32A receives the received first password and second password. Store in the storage unit 31.

登録部32Aは、コントローラ20を介して第1更新情報をサーバ10から受け取ると、電気錠記憶部31に記憶されている第1パスワードを第1更新情報に含まれる第1パスワードに書き換える(更新する)。登録部32Aは、第2更新情報をコントローラ20から受け取ると、電気錠記憶部31に記憶されている第2パスワードを第2更新情報に含まれる第2パスワードに書き換える(更新する)。   Upon receiving the first update information from the server 10 via the controller 20, the registration unit 32A rewrites (updates) the first password stored in the electric lock storage unit 31 with the first password included in the first update information. ). When the registration unit 32A receives the second update information from the controller 20, the registration unit 32A rewrites (updates) the second password stored in the electric lock storage unit 31 with the second password included in the second update information.

受付部32Bは、情報端末装置40からドア3の錠前36の解錠を要求する解錠要求(解錠要求情報)を、第2無線部34を介して受け付ける。解錠要求は、ドア3の錠前36の解錠を行うための認証に用いられる鍵情報を含んでいる。受付部32Bは、解錠要求を受け付けると、解錠要求に含まれる鍵情報を処理部32Cに出力する。   The accepting unit 32B accepts an unlocking request (unlocking request information) for requesting the unlocking of the lock 36 of the door 3 from the information terminal device 40 via the second wireless unit 34. The unlocking request includes key information used for authentication for unlocking the lock 36 of the door 3. When receiving the unlocking request, the receiving unit 32B outputs the key information included in the unlocking request to the processing unit 32C.

また、受付部32Bは、情報端末装置40からドア3の錠前36の施錠を要求する施錠要求(施錠要求情報)を、第2無線部34を介して受け付ける。施錠要求は、ドア3の錠前36の解錠を行うための認証に用いられる鍵情報と同じ鍵情報を含んでいる。受付部32Bは、施錠要求を受け付けると、施錠要求に含まれる鍵情報を処理部32Cに出力する。   Further, the receiving unit 32B receives a locking request (locking request information) for requesting locking of the lock 36 of the door 3 from the information terminal device 40 via the second wireless unit 34. The lock request includes the same key information as the key information used for authentication for unlocking the lock 36 of the door 3. When receiving the locking request, the receiving unit 32B outputs the key information included in the locking request to the processing unit 32C.

処理部32Cは、情報端末装置40から解錠要求(又は施錠要求)を受け取った場合、鍵情報と、電気錠記憶部31内の第1パスワード及び第2パスワードとを用いて解錠処理(又は施錠処理)を行う。処理部32Cは、情報端末装置40から受け取った鍵情報と、電気錠記憶部31内の第1パスワード及び第2パスワードのいずれかと一致するか否かを判断する。つまり、処理部32Cは、鍵情報と、第1パスワード及び第2パスワードとを用いて認証を行う。   When the processing unit 32C receives an unlocking request (or locking request) from the information terminal device 40, the processing unit 32C uses the key information and the first password and the second password in the electric lock storage unit 31 to perform the unlocking process (or Locking process). The processing unit 32C determines whether the key information received from the information terminal device 40 matches either the first password or the second password in the electric lock storage unit 31. That is, the processing unit 32C performs authentication using the key information, the first password, and the second password.

鍵情報が第1パスワード及び第2パスワードのいずれかと一致すると判断する、つまり認証に成功したと判断する場合には、処理部32Cは、駆動部35を制御してドア3の錠前36の解錠又は施錠を行う。   When it is determined that the key information matches one of the first password and the second password, that is, when it is determined that the authentication is successful, the processing unit 32C controls the drive unit 35 to unlock the lock 36 of the door 3. Or lock it.

具体的には、情報端末装置40から解錠要求を受け取ったときに、処理部32Cが認証に成功したと判断すれば、制御部32は、駆動部35に錠前36を解錠する指示を表す解錠指示を出力する(解錠の実行)。一致しないと判断する、つまり認証に失敗したと判断する場合には、処理部32Cは、解錠指示を出力することなく解錠処理を終える。   Specifically, when the unlocking request is received from the information terminal device 40, if the processing unit 32C determines that the authentication is successful, the control unit 32 indicates an instruction to unlock the lock 36 to the driving unit 35. An unlocking instruction is output (execution of unlocking). When determining that they do not match, that is, when determining that the authentication has failed, the processing unit 32C ends the unlocking process without outputting the unlocking instruction.

また、情報端末装置40から施錠要求を受け取ったときに、処理部32Cが認証に成功したと判断すれば、制御部32は、駆動部35に錠前36を施錠する指示を表す施錠指示を出力する(施錠の実行)。一致しないと判断する、つまり認証に失敗したと判断する場合には、処理部32Cは、施錠指示を出力することなく施錠処理を終える。   If the processing unit 32C determines that the authentication is successful when receiving the locking request from the information terminal device 40, the control unit 32 outputs a locking instruction indicating an instruction to lock the lock 36 to the driving unit 35. (Locking execution). If it is determined that they do not match, that is, if it is determined that the authentication has failed, the processing unit 32C ends the locking process without outputting the locking instruction.

処理部32Cは、解錠処理又は施錠処理を実行すると、当該処理を実行したことを表す実行情報を、認証の成功及び失敗に関わらず、第1無線部33及びコントローラ20を介してサーバ10に送信する。なお、サーバ10は、認証の失敗に関する情報を取得すると、音声出力又はメッセージ表示等で報知するように構成されてもよい。また、コントローラ20、又は電気錠装置30自身が、認証の失敗に応じて音声出力又はメッセージ表示等で報知するように構成されてもよい。   When executing the unlocking process or the locking process, the processing unit 32C sends execution information indicating that the process has been executed to the server 10 via the first wireless unit 33 and the controller 20 regardless of the success or failure of the authentication. Send. Note that the server 10 may be configured to notify the user with information such as voice output or message display when acquiring information related to the authentication failure. In addition, the controller 20 or the electric lock device 30 itself may be configured to notify by voice output or message display according to the failure of authentication.

処理部32Cは、ドア3の錠前36が解錠状態にあるときに、情報端末装置40から解錠要求を受け取った場合には、解錠要求をキャンセルして解錠処理を終了する。このとき、電気錠装置30は、解錠要求をキャンセルした旨を、当該要求を行った利用者に通知するための音声出力又はメッセージ表示を行うように構成されてもよい。また、処理部32Cは、ドア3の錠前36が施錠状態にあるときに、情報端末装置40から施錠要求を受け取った場合には、施錠要求をキャンセルして施錠処理を終了する。このときも、電気錠装置30は、施錠要求をキャンセルした旨を、当該要求を行った利用者に通知するための音声出力又はメッセージ表示を行うように構成されてもよい。   When the unlocking request is received from the information terminal device 40 when the lock 36 of the door 3 is in the unlocked state, the processing unit 32C cancels the unlocking request and ends the unlocking process. At this time, the electric lock device 30 may be configured to perform voice output or message display for notifying the user who has made the request that the unlock request has been canceled. Further, when the lock part 36 of the door 3 is in the locked state, the processing unit 32C cancels the locking request and ends the locking process when receiving the locking request from the information terminal device 40. Also at this time, the electric lock device 30 may be configured to perform voice output or message display for notifying the user who has made the request that the lock request has been canceled.

更に、処理部32Cは、自動施錠を行うように構成されている。具体的には、処理部32Cは、情報端末装置40から解錠要求を受け取り、かつ、特定の条件が満たされたときに、駆動部35にドア3の施錠を自動的に行わせるように構成されている。本実施形態では、上記特定の条件は、情報端末装置40から受け取った解錠要求に含まれる鍵情報が、電気錠記憶部31内の第1パスワードと一致することを含む。言い換えると、本実施形態では、一例として、情報端末装置40から受け取った解錠要求に含まれる鍵情報が第2パスワードと一致しても、処理部32Cは自動施錠を行わないことを想定する。ただし、情報端末装置40から受け取った解錠要求に含まれる鍵情報が第2パスワードと一致したときも処理部32Cは自動施錠を行うように構成されてもよい。このように、処理部32Cは、情報端末装置40から解錠要求を受け取り、かつ、特定の条件が満たされたときには、たとえ情報端末装置40から施錠要求を受け取らなくてもドア3の施錠を実行する。   Furthermore, the processing unit 32C is configured to perform automatic locking. Specifically, the processing unit 32C is configured to receive the unlocking request from the information terminal device 40 and cause the driving unit 35 to automatically lock the door 3 when a specific condition is satisfied. Has been. In the present embodiment, the specific condition includes that the key information included in the unlock request received from the information terminal device 40 matches the first password in the electric lock storage unit 31. In other words, in this embodiment, as an example, it is assumed that the processing unit 32C does not perform automatic locking even when the key information included in the unlocking request received from the information terminal device 40 matches the second password. However, the processing unit 32C may be configured to perform automatic locking even when the key information included in the unlock request received from the information terminal device 40 matches the second password. In this way, the processing unit 32C receives the unlocking request from the information terminal device 40, and executes the locking of the door 3 even if the locking request is not received from the information terminal device 40 when a specific condition is satisfied. To do.

更に、本実施形態では、上記特定の条件は、鍵情報により駆動部35がドア3の解錠を行った時刻から一定の期間(例えば、数時間)が経過することを更に含む。つまり、実際に自動施錠が行われるタイミングは、解錠要求の受付及び認証の成功に応じてドア3の解錠が実行された直後ではなく、例えば、数時間後である。上記一定の期間は、制御部32のタイマ32Dによって計時される。なお、上記一定の期間を計時する機能は、コントローラ20に設けられていてもよい。   Furthermore, in the present embodiment, the specific condition further includes that a certain period (for example, several hours) elapses from the time when the drive unit 35 unlocks the door 3 based on the key information. That is, the timing at which automatic locking is actually performed is not immediately after the door 3 is unlocked in response to the reception of the unlocking request and the success of the authentication, but for example, several hours later. The predetermined period is measured by the timer 32D of the control unit 32. Note that the controller 20 may be provided with the function of measuring the certain period.

第1無線部33は、コントローラ20との通信用の通信モジュールであって、制御部32によって制御される。第1無線部33は、通信方式として小電力無線通信を用いて、コントローラ20と通信を行う。   The first wireless unit 33 is a communication module for communication with the controller 20 and is controlled by the control unit 32. The first wireless unit 33 communicates with the controller 20 using low-power wireless communication as a communication method.

第2無線部34は、情報端末装置40との通信用の通信モジュールであって、制御部32によって制御される。第2無線部34は、通信方式として小電力無線通信を用いて、情報端末装置40と通信を行う。   The second radio unit 34 is a communication module for communication with the information terminal device 40 and is controlled by the control unit 32. The second radio unit 34 communicates with the information terminal device 40 using low power radio communication as a communication method.

駆動部35は、処理部32Cから解錠指示(又は施錠指示)を受け取ると、ドア3の錠前36を電動で解錠(又は施錠)する。具体的には、錠前36は、ドア3に設けられたデッドボルトと、このデッドボルトが嵌まるドア枠の穴とを備える。駆動部35は、処理部32Cから解錠指示を受け取ると、ドア枠の穴に挿入されていたデッドボルトをドア枠から離れる方向に移動させて、ドア枠の穴から外にデッドボルトを出すことによって、錠前36を解錠する。また、駆動部35は、処理部32Cから施錠指示を受け取ると、デッドボルトをドア枠に近づく方向に移動させて、ドア枠の穴内にデッドボルトを挿入ことによって、錠前36を施錠する。   When receiving an unlocking instruction (or locking instruction) from the processing unit 32C, the driving unit 35 electrically unlocks (or locks) the lock 36 of the door 3. Specifically, the lock 36 includes a dead bolt provided in the door 3 and a hole in the door frame in which the dead bolt is fitted. Upon receipt of the unlocking instruction from the processing unit 32C, the drive unit 35 moves the dead bolt inserted into the hole in the door frame in a direction away from the door frame, and issues the dead bolt to the outside from the hole in the door frame. To unlock the lock 36. Further, when receiving the locking instruction from the processing unit 32C, the driving unit 35 moves the dead bolt in a direction approaching the door frame, and locks the lock 36 by inserting the dead bolt into the hole of the door frame.

(2.2)第1パスワードの定期更新
以下、電気錠システム1における第1パスワードの定期更新の動作について、図3(ステップ1〜ステップS8)を用いて説明する。つまり、サーバ10のサーバ記憶部11及び電気錠装置30の電気錠記憶部31にそれぞれ格納されている第1パスワードが、第1の更新条件で更新される場合の動作について説明する。
(2.2) Periodic Update of First Password Hereinafter, the operation of periodically updating the first password in the electric lock system 1 will be described with reference to FIG. 3 (Step 1 to Step S8). That is, the operation when the first password stored in the server storage unit 11 of the server 10 and the electric lock storage unit 31 of the electric lock device 30 is updated under the first update condition will be described.

ここでは、第1の更新条件とは、第1パスワードがサーバ10から情報端末装置40に出力されていない間、例えば1日1回行われる第1定期通信時に、第1パスワードの更新が行われることを想定する。要するに、第1の更新条件とは、図3に図示される第1の所定期間Ta1が経過することである。   Here, the first update condition is that the first password is updated during the first regular communication performed once a day, for example, while the first password is not output from the server 10 to the information terminal device 40. Assume that. In short, the first update condition is that the first predetermined period Ta1 illustrated in FIG. 3 elapses.

なお、以下の説明では、コントローラ20がサーバ10へ確認要求(確認要求情報)を送信することを想定している。しかし、電気錠システム1の構成は、この限りではなく、サーバ10がコントローラ20へ確認要求を送信してもよい。   In the following description, it is assumed that the controller 20 transmits a confirmation request (confirmation request information) to the server 10. However, the configuration of the electric lock system 1 is not limited to this, and the server 10 may transmit a confirmation request to the controller 20.

コントローラ20は、第1定期通信を行う時刻になると、確認要求をサーバ10に送信する(ステップS1)。   When it is time to perform the first regular communication, the controller 20 transmits a confirmation request to the server 10 (step S1).

サーバ10が確認要求をコントローラ20から受け取ると、サーバ10の発行部15は、第1パスワードが情報端末装置40に出力されていない場合には新たな第1パスワードを生成する。発行部15は、生成した新たな第1パスワードを含む応答情報をコントローラ20に送信する(ステップS2)。このとき、発行部15は、サーバ記憶部11で記憶している第1パスワードを、生成した新たなパスワードに更新する。コントローラ20は、応答情報に含まれる第1パスワードを含む第1更新情報を電気錠装置30に送信する(ステップS3)。   When the server 10 receives the confirmation request from the controller 20, the issuing unit 15 of the server 10 generates a new first password when the first password is not output to the information terminal device 40. The issuing unit 15 transmits response information including the generated new first password to the controller 20 (step S2). At this time, the issuing unit 15 updates the first password stored in the server storage unit 11 with the generated new password. The controller 20 transmits the first update information including the first password included in the response information to the electric lock device 30 (step S3).

電気錠装置30の登録部32Aは、第1更新情報をコントローラ20から受け取ると、電気錠記憶部31に記憶している第1パスワードを、第1更新情報に含まれる第1パスワードに更新する(ステップS4)。   When the registration unit 32A of the electric lock device 30 receives the first update information from the controller 20, the registration unit 32A updates the first password stored in the electric lock storage unit 31 to the first password included in the first update information ( Step S4).

サーバ記憶部11で記憶している第1パスワードが情報端末装置40に出力されない間は、ステップS1〜S4と同様の動作を繰り返す(ステップS5〜S8)。   While the 1st password memorize | stored in the server memory | storage part 11 is not output to the information terminal device 40, the operation | movement similar to step S1-S4 is repeated (step S5-S8).

なお、図3では、第1の所定期間Ta1は、コントローラ20からサーバ10へ確認要求を送信する時刻t1(ステップS1)と、次の確認要求を送信する時刻t2(ステップS5)との間の期間である。ただし、ステップS1からステップS4までの期間と、ステップS5からステップS8までの期間は、実質的に同じであるため、第1の所定期間Ta1は、電気錠装置30内の更新(ステップS4)の時刻と次の更新更新(ステップS8)の時刻との間の期間と同じといえる。要するに、電気錠装置30内の第1パスワードは、前回更新された時刻から第1の所定期間Ta1が経過する度に自動的に更新されるといえる。   In FIG. 3, the first predetermined period Ta1 is between time t1 (step S1) at which the controller 20 transmits a confirmation request to the server 10 and time t2 (step S5) at which the next confirmation request is transmitted. It is a period. However, since the period from step S1 to step S4 and the period from step S5 to step S8 are substantially the same, the first predetermined period Ta1 is updated (step S4) in the electric lock device 30. It can be said that it is the same as the period between the time and the time of the next update / update (step S8). In short, it can be said that the first password in the electric lock device 30 is automatically updated every time the first predetermined period Ta1 elapses from the last updated time.

このように、電気錠システム1では、第1パスワードを含んだ鍵情報が情報端末装置40に出力(ダウンロード)されない間は、サーバ記憶部11及び電気錠記憶部31の双方に記憶されている第1パスワードは第1の所定期間Ta1が経過する度に定期的に更新される。例えば、第1パスワードは1日1回更新される。つまり、所定の周期、具体的には第1パスワードに対する更新が行われた時刻から第1の所定期間Ta1が経過したことを更新条件として、サーバ記憶部11及び電気錠記憶部31で記憶されている第1パスワードは、更新される。これにより、第1パスワードが出力されない間であっても更新がされるので、セキュリティが強化される。   As described above, in the electric lock system 1, the key information including the first password is stored in both the server storage unit 11 and the electric lock storage unit 31 while the key information including the first password is not output (downloaded) to the information terminal device 40. One password is periodically updated every time the first predetermined period Ta1 elapses. For example, the first password is updated once a day. That is, it is stored in the server storage unit 11 and the electric lock storage unit 31 on the condition that the first predetermined period Ta1 has elapsed from the predetermined period, specifically, the time when the first password is updated. The first password is updated. Thereby, since the update is performed even while the first password is not output, the security is enhanced.

(2.3)ドアの解錠と第1パスワードのオプション更新
以下、電気錠装置30におけるドア3の解錠に係る処理について、図3(ステップS9以降)を用いて説明する。
(2.3) Door Unlocking and Option Update of First Password Hereinafter, processing relating to unlocking of the door 3 in the electric lock device 30 will be described with reference to FIG. 3 (after step S9).

またここでは、電気錠システム1における第1パスワードのオプション更新についても説明する。つまり、第1パスワードは、上記欄「(2.2)第1パスワードの定期更新」で説明した定期更新に加えて、以下に説明するように更新されてもよい。すなわち、第1の更新条件は、オプションとして、情報端末装置40がサーバ10から鍵情報(第1パスワード)を取得した場合には、その取得時刻から第2の所定期間Ta2(図3参照)が経過すること、を含んでもよい。言い換えると、情報端末装置40がサーバ10から鍵情報を取得した場合には、第2の所定期間Ta2が経過するまで上記欄「(2.2)第1パスワードの定期更新」で説明した定期更新を一時的に停止してもよい。   Here, the option update of the first password in the electric lock system 1 will also be described. That is, the first password may be updated as described below in addition to the periodic update described in the column “(2.2) Periodic update of the first password”. In other words, as an option, when the information terminal device 40 acquires key information (first password) from the server 10 as an option, the second predetermined period Ta2 (see FIG. 3) is acquired from the acquisition time. Elapse may be included. In other words, when the information terminal device 40 acquires the key information from the server 10, the periodic update described in the above-mentioned column “(2.2) Periodic update of the first password” until the second predetermined period Ta2 elapses. May be temporarily stopped.

まず、見学者は、例えば、情報端末装置40を用いてサーバ10にアクセスして鍵情報(第1パスワード)をダウンロードする。この場合、情報端末装置40は、第1パスワードの要求を、サーバ10に送信する(ステップS9)。サーバ10の出力部14は、情報端末装置40から第1パスワードの要求を受け付けると、サーバ記憶部11に記憶している第1パスワードを情報端末装置40に出力する(ステップS10)。このとき、タイマ16は、第1パスワードを情報端末装置40に出力した時刻t3を開始時点として計時を開始する。   First, the visitor uses the information terminal device 40 to access the server 10 and download key information (first password), for example. In this case, the information terminal device 40 transmits a request for the first password to the server 10 (step S9). When receiving the first password request from the information terminal device 40, the output unit 14 of the server 10 outputs the first password stored in the server storage unit 11 to the information terminal device 40 (step S10). At this time, the timer 16 starts counting time from the time t3 when the first password is output to the information terminal device 40.

コントローラ20は、第1定期通信を行う時刻になると、確認要求を送信する(ステップS11)。サーバ10は、応答情報をコントローラ20に送信する(ステップS12)。このとき、発行部15は、タイマ16の計時が第2の所定期間Ta2を経過していないので、第1パスワードの生成は行わない。つまり、サーバ10は、第1パスワードが含まれない応答情報をコントローラ20に送信する。そのため、コントローラ20は、電気錠装置30に第1パスワードの更新を指示しない。このとき、サーバ記憶部11で記憶されている第1パスワードも更新されない。ここで、第2の所定期間Ta2は、時刻t3から時刻t4までの期間である。   The controller 20 transmits a confirmation request when it is time to perform the first regular communication (step S11). The server 10 transmits response information to the controller 20 (step S12). At this time, the issuing unit 15 does not generate the first password because the time count of the timer 16 has not passed the second predetermined period Ta2. That is, the server 10 transmits response information that does not include the first password to the controller 20. Therefore, the controller 20 does not instruct the electric lock device 30 to update the first password. At this time, the first password stored in the server storage unit 11 is not updated either. Here, the second predetermined period Ta2 is a period from time t3 to time t4.

続いて、見学者は、施設2に実際に入るために、施設2のドア3前において情報端末装置40を用いてドア3の解錠を行う。例えば、見学者は、情報端末装置40でドア3の解錠要求を行う。つまり、情報端末装置40は、解錠要求を電気錠装置30に送信する(ステップS13)。このとき、情報端末装置40は、ステップS10で受け取った鍵情報を解錠要求に含めて、解錠要求を電気錠装置30に送信する。   Subsequently, the visitor unlocks the door 3 using the information terminal device 40 in front of the door 3 of the facility 2 in order to actually enter the facility 2. For example, the visitor makes a request to unlock the door 3 using the information terminal device 40. That is, the information terminal device 40 transmits an unlocking request to the electric lock device 30 (step S13). At this time, the information terminal device 40 includes the key information received in step S10 in the unlock request, and transmits the unlock request to the electric lock device 30.

電気錠装置30の処理部32Cは、解錠要求を受け取ると、解錠処理を行う(ステップS14)。具体的には、処理部32Cは、解錠要求に含まれる鍵情報と、電気錠記憶部31内に記憶されている第1パスワード及び第2パスワードのいずれかと一致するか否かを判断する。鍵情報が電気錠記憶部31内の第1パスワード又は第2パスワードと一致する場合には、処理部32Cは、駆動部35に錠前36の解錠を行わせる。鍵情報が電気錠記憶部31内のいずれのパスワードとも一致しない場合には、電気錠装置30は、音声出力又はメッセージ表示等で報知する。   When receiving the unlock request, the processing unit 32C of the electric lock device 30 performs the unlocking process (step S14). Specifically, the processing unit 32C determines whether or not the key information included in the unlocking request matches either the first password or the second password stored in the electric lock storage unit 31. When the key information matches the first password or the second password in the electric lock storage unit 31, the processing unit 32C causes the drive unit 35 to unlock the lock 36. If the key information does not match any password in the electric lock storage unit 31, the electric lock device 30 notifies the user by voice output or message display.

処理部32Cは、解錠処理を実行すると、認証の成功及び失敗に関わらず、コントローラ20を介して認証結果を含んだ実行情報をサーバ10に送信する(ステップS15)。サーバ10は、認証の失敗に関する情報を受け取ると、音声出力又はメッセージ表示等で報知する。   When executing the unlocking process, the processing unit 32C transmits execution information including the authentication result to the server 10 via the controller 20 regardless of the success or failure of the authentication (step S15). When the server 10 receives the information regarding the authentication failure, the server 10 notifies the user by voice output or message display.

その後、コントローラ20は、第1定期通信を行う時刻になると、確認要求をサーバ10に送信する(ステップS16)。サーバ10は、応答情報をコントローラ20に送信する(ステップS17)。このとき、発行部15は、タイマ16の計時が第2の所定期間Ta2を経過していないので、第1パスワードの生成は行わない。   Thereafter, the controller 20 transmits a confirmation request to the server 10 when it is time to perform the first regular communication (step S16). The server 10 transmits response information to the controller 20 (step S17). At this time, the issuing unit 15 does not generate the first password because the time count of the timer 16 has not passed the second predetermined period Ta2.

コントローラ20は、第1定期通信を行う時刻になると、確認要求をサーバ10に送信する(ステップS18)。   When it is time to perform the first regular communication, the controller 20 transmits a confirmation request to the server 10 (step S18).

ここでは、第2の所定期間Ta2が経過して初めて確認要求が受信される。発行部15は、新たな第1パスワードを生成し、生成した新たな第1パスワードを含む応答情報をコントローラ20に送信する(ステップS19)。このとき、発行部15は、サーバ記憶部11で記憶している第1パスワードを、生成した新たなパスワードに更新する。コントローラ20は、応答情報に含まれる第1パスワードを含む第1更新情報を電気錠装置30に送信する(ステップS20)。なお、タイマ16は、第2の所定期間Ta2が経過すると計時を停止し、計時時間を初期値に戻す。   Here, the confirmation request is received only after the second predetermined period Ta2 has elapsed. The issuing unit 15 generates a new first password, and transmits response information including the generated new first password to the controller 20 (step S19). At this time, the issuing unit 15 updates the first password stored in the server storage unit 11 with the generated new password. The controller 20 transmits the first update information including the first password included in the response information to the electric lock device 30 (step S20). Note that the timer 16 stops timing when the second predetermined period Ta2 elapses, and returns the timing to the initial value.

電気錠装置30の登録部32Aは、第1更新情報をコントローラ20から受け取ると、電気錠記憶部31に記憶している第1パスワードを、第1更新情報に含まれる第1パスワードに更新する(ステップS21)。   When the registration unit 32A of the electric lock device 30 receives the first update information from the controller 20, the registration unit 32A updates the first password stored in the electric lock storage unit 31 to the first password included in the first update information ( Step S21).

このように、電気錠システム1では、第1パスワードが情報端末装置40に出力された後は、第2の所定期間Ta2が経過するまではサーバ記憶部11及び電気錠記憶部31で記憶されている第1パスワードの更新は行われない。これにより、見学者が、取得した鍵情報(第1パスワード)を利用する前に、サーバ記憶部11及び電気錠記憶部31内の第1パスワードが、定期更新によって変更されることを防ぐことができる。   As described above, in the electric lock system 1, after the first password is output to the information terminal device 40, it is stored in the server storage unit 11 and the electric lock storage unit 31 until the second predetermined period Ta2 elapses. The first password is not updated. This prevents the visitor from changing the first password in the server storage unit 11 and the electric lock storage unit 31 due to periodic updates before using the acquired key information (first password). it can.

なお、第2の所定期間Ta2は、その期間内に、実際に鍵情報(第1パスワード)を用いてドア3の解錠が行われた時刻を含むように設定されてもよい。すなわち、第2の所定期間Ta2は、第1期間と第2期間との合計期間であってもよい。この場合、第1期間は、情報端末装置40がサーバ10から鍵情報を取得した取得時刻と、ドア3の解錠が行われた時刻と、の間の期間である。第2期間は、ドア3の解錠が行われた時刻から特定の期間が経過するまでの期間である。   The second predetermined period Ta2 may be set to include the time when the door 3 is actually unlocked using the key information (first password) within the period. That is, the second predetermined period Ta2 may be a total period of the first period and the second period. In this case, the first period is a period between the acquisition time when the information terminal device 40 acquires the key information from the server 10 and the time when the door 3 is unlocked. The second period is a period from when the door 3 is unlocked until a specific period elapses.

また、第1の更新条件は、別のオプションとして、情報端末装置40がサーバ10から鍵情報(第1パスワード)を取得した場合には、その取得時刻から第1定期通信の回数をカウントして、当該回数が所定の回数を超えること、を含んでもよい。要するに、第2の所定期間Ta2が計時される代わりに、第1定期通信の回数がカウントされてもよい。   Further, as another option, when the information terminal device 40 acquires key information (first password) from the server 10 as another option, the number of times of the first regular communication is counted from the acquisition time. The number of times may exceed a predetermined number of times. In short, instead of timing the second predetermined period Ta2, the number of first periodic communications may be counted.

(2.4)第2パスワードの更新
電気錠システム1では、一例として、賃貸契約していた住人が施設2からの退去を申請(解約)することをトリガーとして第2パスワードを更新している。つまり、電気錠システム1では、施設2の住人が退去することがサーバ記憶部11及び電気錠記憶部31で記憶されている第2パスワードの更新条件(第2の更新条件)となっている。例えば、施設2の住人が、退去時に退去を表す退去情報を、情報端末装置40を用いてサーバ10へ送信すると、サーバ10は、退去情報を受信したことをトリガーとしてサーバ記憶部11及び電気錠装置30で記憶している第2パスワードを更新する。あるいは、例えば賃貸業者が、住人から退去申請を受け取ると、端末機器でサーバ10にアクセスして、サーバ記憶部11及び電気錠装置30で記憶している第2パスワードを更新するように指示してもよい。
(2.4) Update of Second Password In the electric lock system 1, as an example, the second password is updated with a resident who has rented a contract applying for (withdrawing from) the facility 2 as a trigger. That is, in the electric lock system 1, it is a second password update condition (second update condition) stored in the server storage unit 11 and the electric lock storage unit 31 that the resident of the facility 2 moves out. For example, when the resident of the facility 2 transmits the withdrawal information indicating the withdrawal at the time of leaving to the server 10 using the information terminal device 40, the server 10 uses the server storage unit 11 and the electric lock as a trigger when the withdrawal information is received. The second password stored in the device 30 is updated. Or, for example, when a leaser receives an application for removal from a resident, it instructs the terminal 10 to access the server 10 and update the second password stored in the server storage unit 11 and the electric lock device 30. Also good.

一方、第1パスワードの更新条件(第1の更新条件)は、上述の通り、第1パスワードが情報端末装置40に出力されていない間では所定の周期(例えば1日1回)としている。また、第1パスワードが情報端末装置40に出力された後の第1パスワードの更新条件は、第1パスワードが情報端末装置40に出力された後から第2の所定期間Ta2が経過したこととしている。したがって、本実施形態では、第1パスワードの更新頻度は、第2パスワードの更新頻度よりも高いといえる。   On the other hand, the update condition (first update condition) of the first password is set to a predetermined cycle (for example, once a day) while the first password is not output to the information terminal device 40 as described above. The update condition of the first password after the first password is output to the information terminal device 40 is that the second predetermined period Ta2 has elapsed after the first password is output to the information terminal device 40. . Therefore, in this embodiment, it can be said that the update frequency of the first password is higher than the update frequency of the second password.

なお、第2パスワードの更新条件は、住人が施設2から退去すること以外に、住人が鍵情報(第2パスワード)を保有する情報端末装置40を紛失したことであってもよい。あるいは、第2パスワードの更新条件は、鍵情報(第2パスワード)を保有する情報端末装置40が故障したことであってもよい。つまり、第2パスワードの更新条件は、住人が情報端末装置40を利用できない状況になったことであってもよい。この場合、例えば賃貸業者が、住人から情報端末装置40の紛失又は故障の申請を受け取ると、端末機器でサーバ10にアクセスして、サーバ記憶部11及び電気錠装置30で記憶している第2パスワードを更新するように指示してもよい。   The update condition of the second password may be that the resident has lost the information terminal device 40 holding the key information (second password) in addition to the resident leaving the facility 2. Alternatively, the update condition of the second password may be that the information terminal device 40 that holds the key information (second password) has failed. That is, the update condition of the second password may be that the resident cannot use the information terminal device 40. In this case, for example, when the renter receives an application for loss or failure of the information terminal device 40 from the resident, the server 10 is accessed by the terminal device and stored in the server storage unit 11 and the electric lock device 30. You may be instructed to update your password.

(2.5)ドアの通常の施錠
以下、電気錠装置30におけるドア3の通常の施錠に係る処理について、図4を用いて説明する。なお、便宜上、鍵情報を取得(ダウンロード)済みの見学者が解錠要求を行うところから説明する。
(2.5) Normal Locking of Door Hereinafter, processing related to normal locking of the door 3 in the electric lock device 30 will be described with reference to FIG. For the sake of convenience, description will be made from the case where a visitor who has already acquired (downloaded) key information makes an unlock request.

まず見学者は、施設2に入るために、施設2のドア3前において情報端末装置40でドア3の解錠要求を行う。つまり、情報端末装置40は、解錠要求を電気錠装置30に送信する(図3のステップS13に相当)。   First, in order to enter the facility 2, the visitor requests the door 3 to be unlocked by the information terminal device 40 in front of the door 3 of the facility 2. That is, the information terminal device 40 transmits an unlock request to the electric lock device 30 (corresponding to step S13 in FIG. 3).

電気錠装置30の処理部32Cは、図4に示すように、解錠要求を受信すると(ステップS30)、解錠処理を行う(ステップS31)。処理部32Cは、解錠処理において、解錠要求に含まれる鍵情報と、電気錠記憶部31内に記憶されている第1パスワード及び第2パスワードのいずれかと一致するか否かを判断する。すなわち、処理部32Cは、取得した鍵情報と第1及び第2パスワードとを用いて認証を行う(ステップS32)。   As shown in FIG. 4, the processing unit 32C of the electric lock device 30 receives the unlock request (step S30), and performs the unlock process (step S31). In the unlocking process, the processing unit 32C determines whether or not the key information included in the unlocking request matches either the first password or the second password stored in the electric lock storage unit 31. That is, the processing unit 32C performs authentication using the acquired key information and the first and second passwords (step S32).

認証に成功したと判断すると(ステップS32のYes)、処理部32Cは、駆動部35に錠前36の解錠を行わせる(ステップS33)。一方、認証に失敗したと判断すると(ステップS32のNo)、処理部32Cは、駆動部35に錠前36の解錠を行わせることなく解錠処理を終える。そして、エラー処理が実行される(ステップS34)。エラー処理として、例えば、電気錠装置30が音声出力又はメッセージ表示等で報知する。   If it is determined that the authentication has succeeded (Yes in step S32), the processing unit 32C causes the drive unit 35 to unlock the lock 36 (step S33). On the other hand, when determining that the authentication has failed (No in step S32), the processing unit 32C finishes the unlocking process without causing the drive unit 35 to unlock the lock 36. Then, error processing is executed (step S34). As the error processing, for example, the electric lock device 30 notifies by voice output or message display.

なお、処理部32Cは、解錠処理を実行すると、認証の成功及び失敗に関わらず、コントローラ20を介して認証結果を含んだ実行情報をサーバ10に送信する。サーバ10は、認証の失敗に関する情報を受け取ると、音声出力又はメッセージ表示等で報知する。   Note that, when the unlocking process is executed, the processing unit 32C transmits execution information including the authentication result to the server 10 via the controller 20 regardless of the success or failure of the authentication. When the server 10 receives the information regarding the authentication failure, the server 10 notifies the user by voice output or message display.

更に、処理部32Cは、取得した鍵情報が、電気錠記憶部31内の第1パスワードと一致した場合のみ(ステップS34のYes)、自動施錠処理を開始する(ステップS35)。なお、自動施錠処理については、次の欄「(2.6)ドアの自動施錠」で説明する。   Furthermore, the processing unit 32C starts the automatic locking process only when the acquired key information matches the first password in the electric lock storage unit 31 (Yes in step S34) (step S35). The automatic locking process will be described in the next column “(2.6) Automatic door locking”.

一方、取得した鍵情報が第1パスワードではなく第2パスワードと一致した場合(ステップS34のNo)、処理部32Cは、施錠要求の受信を待つ状態となる(ステップS36)。もし施錠要求を受信すれば(ステップS36のYes)、処理部32Cは、通常の施錠処理を行う(ステップS37)。   On the other hand, when the acquired key information matches the second password instead of the first password (No in step S34), the processing unit 32C enters a state of waiting for reception of the locking request (step S36). If a locking request is received (Yes in step S36), the processing unit 32C performs a normal locking process (step S37).

例えば、ドア3の解錠に成功した見学者が、見学を終えて施設2の外に出た後に、ドア3の施錠を失念することなく情報端末装置40でドア3の施錠要求を電気錠装置30に送信すれば、施錠処理が開始される。   For example, after a visitor who has successfully unlocked the door 3 finishes the tour and goes out of the facility 2, the information terminal device 40 requests the locking of the door 3 without forgetting to lock the door 3. If it transmits to 30, locking processing will be started.

処理部32Cは、施錠処理において、施錠要求に含まれる鍵情報と、電気錠記憶部31内の第1パスワード及び第2パスワードのいずれかと一致するか否かを判断する。すなわち、処理部32Cは、取得した鍵情報と第1及び第2パスワードとを用いて認証を行う(ステップS38)。   In the locking process, the processing unit 32C determines whether or not the key information included in the locking request matches either the first password or the second password in the electric lock storage unit 31. That is, the processing unit 32C performs authentication using the acquired key information and the first and second passwords (step S38).

認証に成功したと判断すると(ステップS38のYes)、処理部32Cは、駆動部35に錠前36の施錠を行わせる(ステップS39)。一方、認証に失敗したと判断すると(ステップS38のNo)、処理部32Cは、駆動部35に錠前36の施錠を行わせることなく施錠処理を終える。そして、エラー処理が実行される(ステップS40)。エラー処理として、例えば、電気錠装置30が音声出力又はメッセージ表示等で報知する。   When determining that the authentication is successful (Yes in step S38), the processing unit 32C causes the drive unit 35 to lock the lock 36 (step S39). On the other hand, when determining that the authentication has failed (No in step S38), the processing unit 32C ends the locking process without causing the driving unit 35 to lock the lock 36. Then, error processing is executed (step S40). As the error processing, for example, the electric lock device 30 notifies by voice output or message display.

なお、処理部32Cは、施錠処理を実行すると、認証の成功及び失敗に関わらず、コントローラ20を介して認証結果を含んだ実行情報をサーバ10に送信する。サーバ10は、認証の失敗に関する情報を受け取ると、音声出力又はメッセージ表示等で報知する。   When executing the locking process, the processing unit 32C transmits execution information including the authentication result to the server 10 via the controller 20 regardless of the success or failure of the authentication. When the server 10 receives the information regarding the authentication failure, the server 10 notifies the user by voice output or message display.

(2.6)ドアの自動施錠
以下、電気錠装置30におけるドア3の自動施錠に係る処理について、図5を用いて説明する。
(2.6) Automatic Locking of Door Hereinafter, processing related to automatic locking of the door 3 in the electric lock device 30 will be described with reference to FIG.

処理部32Cは、解錠要求として取得した鍵情報が、電気錠記憶部31内に第1パスワードと一致した場合のみ自動施錠処理を開始する。そして、処理部32Cは、図5に示すように、タイマ32Dに計時を開始させる(ステップS50)。   The processing unit 32 </ b> C starts the automatic locking process only when the key information acquired as the unlock request matches the first password in the electric lock storage unit 31. Then, as illustrated in FIG. 5, the processing unit 32C causes the timer 32D to start measuring time (step S50).

自動施錠処理の開始後、処理部32Cは、施錠要求の受信を待つ状態となる(ステップS51)。もしタイマ32Dによって一定の期間(例えば、数時間)の経過が計時されるまでの間に、施錠要求の受信があれば(ステップS51のYes)、処理部32Cは、自動施錠処理を終了して、通常の施錠処理(ステップS52)へ進む。この施錠処理は、図4のステップS37における施錠処理と同じため、ここでの説明を省略する。このとき処理部32Cは、タイマ32Dによる計時を停止し、タイマ32Dは、計時時間を初期値に戻す。   After starting the automatic locking process, the processing unit 32C waits for reception of a locking request (step S51). If the lock request is received before the elapse of a certain period (for example, several hours) by the timer 32D (Yes in step S51), the processing unit 32C ends the automatic locking process. Then, the process proceeds to a normal locking process (step S52). Since this locking process is the same as the locking process in step S37 of FIG. 4, a description thereof is omitted here. At this time, the processing unit 32C stops the time measurement by the timer 32D, and the timer 32D returns the time measurement to the initial value.

一方、自動施錠処理の開始後、施錠要求の受信がない状態でタイマ32Dによって上記一定の期間の経過が計時されれば(ステップS53のYes)、処理部32Cは、自動施錠の実行を行う(ステップS54)。その後、処理部32Cは、タイマ32Dによる計時を停止し、タイマ32Dは、計時時間を初期値に戻す。   On the other hand, after the automatic locking process is started, if the timer 32D counts the predetermined period of time without receiving a locking request (Yes in step S53), the processing unit 32C executes automatic locking ( Step S54). Thereafter, the processing unit 32C stops the time measurement by the timer 32D, and the timer 32D returns the time measurement to the initial value.

要するに、ドア3を解錠した見学者が見学を終えて施設2の外に出た後にドア3の施錠を失念したとしても、処理部32Cは、ドア3の解錠後一定の期間が経過すると、自動的に駆動部35に錠前36の施錠を行わせる。したがって、施設2の住人とは違う見学者が施設2を一時的に利用する場合であっても、施設2のセキュリティを向上させることができる。   In short, even if the visitor who unlocked the door 3 finishes the tour and goes out of the facility 2 and forgets to lock the door 3, the processing unit 32 </ b> C will pass a certain period after the door 3 is unlocked. The drive unit 35 is automatically locked with the lock 36. Therefore, even if a visitor different from the resident of the facility 2 uses the facility 2 temporarily, the security of the facility 2 can be improved.

(3)変形例
以下に、変形例について列記する。以下に説明する変形例は、上述した実施形態と適宜組み合わせて適用可能である。
(3) Modifications Modifications are listed below. The modifications described below can be applied in appropriate combination with the above-described embodiments.

上述した実施形態では、施設の住人とは違う一時的な利用者として、施設の見学者を想定して第1パスワードが設定されていた。すなわち、第1パスワードを含んだ鍵情報は、施設の見学者へ配布されるものであった。しかし、施設の住人とは違う一時的な利用者の例は、見学者以外にも例えば警備会社の警備員が挙げられる。警備会社の警備員は、施設2に不審者が侵入したという通知を受けると、緊急的に施設2内に入る必要がある。したがって、第1パスワードを含んだ鍵情報は、施設の見学者ではなく、警備会社の警備員へ配布されるものであってもよい。   In the embodiment described above, the first password is set assuming a facility visitor as a temporary user different from the resident of the facility. That is, the key information including the first password is distributed to the facility visitors. However, examples of temporary users that are different from the inhabitants of the facility include, for example, security company security guards as well as visitors. Upon receiving notification that a suspicious person has entered the facility 2, the security guard of the security company needs to enter the facility 2 urgently. Therefore, the key information including the first password may be distributed not to the facility visitor but to the security guard of the security company.

あるいは、電気錠システム1では、第1及び第2パスワードとは別に、警備会社の警備員用に第3パスワードが設定されていてもよい。第3パスワードは、第2パスワードの更新条件とは異なる更新条件で更新される。第3パスワードは、第1パスワードと同様に定期的に更新される。   Or in the electric lock system 1, the 3rd password may be set for the guard of a security company separately from the 1st and 2nd password. The third password is updated under an update condition different from the update condition of the second password. The third password is periodically updated in the same manner as the first password.

上述した実施形態では、自動施錠処理を開始する条件(特定の条件)として、情報端末装置40から取得した解錠要求に含まれる鍵情報が、第1パスワードと一致することであった。言い換えると、電気錠装置30は、鍵情報として第1パスワードが与えられる見学者に対してのみ、解錠要求を受けたときに自動施錠処理を開始していた。しかし、この限りではなく、電気錠装置30は、鍵情報として第2パスワードが与えられる住人又は第3パスワードが与えられる警備会社の警備員等に対しても、解錠要求を受けたときに自動施錠処理を開始するように構成されてもよい。つまり、電気錠装置30は、自動施錠処理の対象となるパスワードを適宜に設定変更できるように構成されてもよい。   In the embodiment described above, the key information included in the unlocking request acquired from the information terminal device 40 is the same as the first password as a condition (specific condition) for starting the automatic locking process. In other words, the electric lock device 30 has started the automatic locking process when an unlock request is received only for a visitor who is given the first password as key information. However, the present invention is not limited to this, and the electric lock device 30 is automatically activated when an unlocking request is received from a resident who is given a second password as a key information or a security company guard who is given a third password. It may be configured to start the locking process. That is, the electric lock device 30 may be configured such that the password that is the target of the automatic locking process can be set and changed as appropriate.

この場合、例えば電気錠記憶部31は、各パスワードに対して自動施錠処理の対象とするか否かを判別可能なフラグを記憶してもよい。処理部32Cは、当該フラグに応じて自動施錠処理を開始するか否かを判定してもよい。なお、設定変更は、例えばサーバ10からコントローラ20を介して電気錠装置30へ変更指示を出すことで行われてもよい。   In this case, for example, the electric lock storage unit 31 may store a flag that can be used to determine whether or not each password is subject to automatic locking processing. The processing unit 32C may determine whether to start the automatic locking process according to the flag. The setting change may be performed, for example, by issuing a change instruction from the server 10 to the electric lock device 30 via the controller 20.

また、電気錠装置30は、実際に自動施錠を行うための基準となる「一定の期間」も各パスワードに対して適宜に調整できるように構成されてもよい。例えば、第1パスワードに対応する一定の期間は2〜3時間へ、第2パスワードに対応する一定の期間は5時間へ調整できてもよい。言い換えると、電気錠記憶部31は、各パスワードに対応する一定の期間を記憶していてもよい。一定の期間の調整は、例えばサーバ10からコントローラ20を介して電気錠装置30へ変更指示を出すことで行われてもよい。   Further, the electric lock device 30 may be configured such that a “certain period” that is a reference for actually performing automatic locking can be appropriately adjusted for each password. For example, the fixed period corresponding to the first password may be adjusted to 2-3 hours, and the fixed period corresponding to the second password may be adjusted to 5 hours. In other words, the electric lock storage unit 31 may store a certain period corresponding to each password. The adjustment for a certain period may be performed, for example, by issuing a change instruction from the server 10 to the electric lock device 30 via the controller 20.

また、一定の期間は、時間単位ではなく、例えば分単位、又は秒単位であってもよい。言い換えると、電気錠装置30は、自動施錠処理が開始してから即座に(例えば1分後)ドア3を自動的に施錠するように構成されてもよい。   Further, the certain period may be in units of minutes or seconds instead of in hours. In other words, the electric lock device 30 may be configured to automatically lock the door 3 immediately (for example, after one minute) after the automatic locking process is started.

上述した実施形態では、第1の情報は、第1パスワードを含み、第2の情報は、第2パスワードを含むことを想定していた。しかし、第1の情報は、第1パスワードに加えて、第1識別子を含んでもよい。同様に、第2の情報は、第2パスワードに加えて、第2識別子を含んでもよい。要するに、サーバ10は、情報端末装置40からの要求に応じて鍵情報としてパスワードと識別子(ID)の2つを出力してもよい。そして、電気錠装置30における解錠処理及び施錠処理は、情報端末装置40から取得した鍵情報と、電気錠記憶部31内の第1パスワード及び第1識別子、並びに第2パスワード及び第2識別子とを用いて、認証を行なってもよい。この場合、第1パスワード及び第1識別子の少なくとも一方が、第1の更新条件で更新されてもよい。同様に、第2パスワード及び第2識別子の少なくとも一方が、第2の更新条件で更新されてもよい。   In the above-described embodiment, it is assumed that the first information includes the first password, and the second information includes the second password. However, the first information may include a first identifier in addition to the first password. Similarly, the second information may include a second identifier in addition to the second password. In short, the server 10 may output two passwords and an identifier (ID) as key information in response to a request from the information terminal device 40. And the unlocking process and the locking process in the electric lock device 30 are the key information acquired from the information terminal device 40, the first password and the first identifier in the electric lock storage unit 31, the second password and the second identifier, You may authenticate using. In this case, at least one of the first password and the first identifier may be updated with the first update condition. Similarly, at least one of the second password and the second identifier may be updated with the second update condition.

上述した実施形態において、サーバ10は、電気錠装置30で鍵情報の認証に複数回失敗したという情報を受け取ると、不審者が施設2への侵入を試みようとしていることを報知してもよい。また、サーバ10は、鍵情報がサーバ10から情報端末装置40へ出力(ダウンロード)された形跡がないにも関わらず、鍵情報の認証に成功したという情報を受け取ると、不審者が不正に鍵情報を取得して施設2へ侵入したことを報知してもよい。   In the embodiment described above, the server 10 may notify that the suspicious person is trying to enter the facility 2 when receiving information that the electric lock device 30 has failed to authenticate the key information a plurality of times. . Further, when the server 10 receives information that the key information has been successfully authenticated even though there is no evidence that the key information is output (downloaded) from the server 10 to the information terminal device 40, the suspicious person improperly locks the key. Information may be acquired to notify that the facility 2 has been entered.

上述した実施形態では、情報端末装置40は、スマートホン、タブレット端末等であるとしたが、情報端末装置40の例示はこれらに限らない。例えば情報端末装置40として、CPUが内蔵され、電気錠装置30と無線を行うICカードであってもよい。この場合、ICカードはサーバ10と通信可能な装置に挿入される。ICカードが装着された装置がサーバ10と通信を行って第1パスワード又は第2パスワードを受け取り、受け取った第1パスワード又は第2パスワードをICカードに記憶する。   In the above-described embodiment, the information terminal device 40 is a smart phone, a tablet terminal, or the like, but the information terminal device 40 is not limited to these examples. For example, the information terminal device 40 may be an IC card that incorporates a CPU and performs radio communication with the electric lock device 30. In this case, the IC card is inserted into a device that can communicate with the server 10. The device with the IC card attached communicates with the server 10 to receive the first password or the second password, and stores the received first password or second password in the IC card.

(4)利点
以上説明したように、第1の態様に係る電気錠装置30は、駆動部35と、記憶部(電気錠記憶部31)と、制御部32と、を備える。駆動部35は、施設2のドア3の錠前36を駆動してドア3の解錠及び施錠を行う。記憶部(電気錠記憶部31)は、第1の更新条件で更新される第1の情報、及び第1の更新条件とは異なる第2の更新条件で更新される第2の情報を記憶する。制御部32は、情報端末装置40から受け取るドア3の解錠要求又は施錠要求に応じて、駆動部35を制御する。制御部32は、情報端末装置40から解錠要求を受け取り、かつ、特定の条件が満たされたときに、駆動部35にドア3の施錠を自動的に行わせるように構成される。上記特定の条件は、解錠要求として情報端末装置40から受け取った鍵情報が第1の情報及び第2の情報のいずれか一方と一致することを含む。この構成によれば、施設2の利用者がドア3の解錠後にドア3の施錠を失念しても自動的にドア3の施錠が行われるため、意図しないドア3の解錠状態の放置を低減することができ、施設2のセキュリティをより向上させることができる。
(4) Advantages As described above, the electric lock device 30 according to the first aspect includes the drive unit 35, the storage unit (electric lock storage unit 31), and the control unit 32. The drive unit 35 drives the lock 36 of the door 3 of the facility 2 to unlock and lock the door 3. The storage unit (electric lock storage unit 31) stores first information updated under the first update condition and second information updated under a second update condition different from the first update condition. . The control unit 32 controls the drive unit 35 in response to an unlocking request or locking request for the door 3 received from the information terminal device 40. The control unit 32 is configured to receive the unlocking request from the information terminal device 40 and cause the driving unit 35 to automatically lock the door 3 when a specific condition is satisfied. The specific condition includes that the key information received from the information terminal device 40 as the unlocking request matches either one of the first information and the second information. According to this configuration, even if the user of the facility 2 forgets to lock the door 3 after the door 3 is unlocked, the door 3 is automatically locked. The security of the facility 2 can be further improved.

第2の態様に係る電気錠装置30に関して、第1の態様において、第1の情報は、第1識別子と第1パスワードとを含み、第2の情報は、第2識別子と第2パスワードとを含むことが好ましい。この場合、第1識別子及び前記第1パスワードのうち少なくとも一方は、第1の更新条件で更新され、第2識別子及び前記第2パスワードのうち少なくとも一方は、第2の更新条件で更新されることが好ましい。この構成によれば、錠前36の解錠及び施錠には識別子とパスワードとが必要となるので、施設2のセキュリティを更に向上させることができる。   Regarding the electric lock device 30 according to the second aspect, in the first aspect, the first information includes a first identifier and a first password, and the second information includes a second identifier and a second password. It is preferable to include. In this case, at least one of the first identifier and the first password is updated with the first update condition, and at least one of the second identifier and the second password is updated with the second update condition. Is preferred. According to this configuration, since the identifier and the password are required for unlocking and locking the lock 36, the security of the facility 2 can be further improved.

第3の態様に係る電気錠装置30に関して、第1の態様又は第2の態様において、第1の更新条件とは、記憶部(電気錠記憶部31)内の第1の情報が前回更新された時刻から所定期間(第1の所定期間Ta1)が経過することであることが好ましい。この場合、上記特定の条件は、情報端末装置40から受け取った鍵情報が第1の情報と一致することを更に含むことが好ましい。この構成によれば、ドア3の解錠及び施錠に不慣れであり、またセキュリティに関する管理意識が低い利用者(一時的な利用者)へ、第1の情報を含んだ鍵情報を配布すれば、施設2のセキュリティを更に向上させることができる。つまり、一時的な利用者は、施設2の利用後に施設2を退出する際にドア3の施錠を失念する可能性が、施設の長期利用者(例えば住人)に比べて高いが、このような一時的な利用者によるドア3の解錠状態の放置を低減することができる。また、第1の情報は、定期的に更新されるため、更に、施設2のセキュリティが向上する。   Regarding the electric lock device 30 according to the third aspect, in the first aspect or the second aspect, the first update condition is that the first information in the storage unit (electric lock storage unit 31) is updated last time. It is preferable that a predetermined period (first predetermined period Ta1) elapses from the specified time. In this case, it is preferable that the specific condition further includes that the key information received from the information terminal device 40 matches the first information. According to this configuration, if the key information including the first information is distributed to a user (temporary user) who is unfamiliar with unlocking and locking the door 3 and has a low management awareness regarding security, The security of the facility 2 can be further improved. In other words, a temporary user is more likely to forget to lock the door 3 when leaving the facility 2 after using the facility 2, compared to a long-term user (for example, a resident) of the facility. It is possible to reduce the temporary user leaving the door 3 in the unlocked state. In addition, since the first information is regularly updated, the security of the facility 2 is further improved.

第4の態様に係る電気錠装置30に関して、第1の態様又は第2の態様において、第1の更新条件とは、情報端末装置40が鍵情報を取得した時刻から所定期間(第2の所定期間Ta2)が経過することであることが好ましい。この場合、上記特定の条件は、情報端末装置40から受け取った鍵情報が第1の情報と一致することを更に含むことが好ましい。この構成によれば、一時的な利用者へ、第1の情報を含んだ鍵情報を配布すれば、施設2のセキュリティを更に向上させることができる。つまり、上記第3の態様と同様に、一時的な利用者によるドア3の解錠状態の放置を低減することができる。また、第1の情報は、情報端末装置40が鍵情報を取得した時刻から所定期間が経過するまで更新されないため、情報端末装置40が鍵情報を取得した後すぐに更新されてしまいドア3の解錠に利用できないといった状況を低減することができる。   Regarding the electric lock device 30 according to the fourth aspect, in the first aspect or the second aspect, the first update condition is a predetermined period (second predetermined condition) from the time when the information terminal device 40 acquires the key information. It is preferred that the period Ta2) elapses. In this case, it is preferable that the specific condition further includes that the key information received from the information terminal device 40 matches the first information. According to this configuration, if the key information including the first information is distributed to temporary users, the security of the facility 2 can be further improved. That is, similarly to the third aspect, it is possible to reduce the temporary user leaving the door 3 in the unlocked state. The first information is not updated until a predetermined period has elapsed from the time when the information terminal device 40 acquired the key information. Therefore, the first information is updated immediately after the information terminal device 40 acquires the key information. The situation where it cannot be used for unlocking can be reduced.

第5の態様に係る電気錠装置30に関して、第1の態様又は第2の態様において、記憶部(電気錠記憶部31)内における第1の情報の更新頻度は、記憶部(電気錠記憶部31)内における第2の情報の更新頻度よりも高いことが好ましい。上記特定の条件は、情報端末装置40から受け取った鍵情報が第1の情報と一致することを更に含むことが好ましい。この構成によれば、第1の情報を含んだ鍵情報を、施設の一時的な利用者へ配布し、第2の情報を含んだ鍵情報を、施設の長期利用者(例えば住人)へ配布することで、利便性とセキュリティの両方を向上させることができる。   Regarding the electric lock device 30 according to the fifth aspect, in the first aspect or the second aspect, the update frequency of the first information in the storage unit (electric lock storage unit 31) is the storage unit (electric lock storage unit). It is preferable that it is higher than the update frequency of the 2nd information in 31). Preferably, the specific condition further includes that the key information received from the information terminal device 40 matches the first information. According to this configuration, the key information including the first information is distributed to the temporary user of the facility, and the key information including the second information is distributed to the long-term user (for example, a resident) of the facility. By doing so, both convenience and security can be improved.

第6の態様に係る電気錠装置30に関して、第1〜第5の態様のいずれかにおいて、上記特定の条件は、鍵情報により駆動部35がドア3の解錠を行った時刻から一定の期間が経過することを更に含むことが好ましい。この構成によれば、ドア3の解錠後すぐにドア3が自動的に施錠してしまうという状況を低減でき、利便性を向上することができる。   With regard to the electric lock device 30 according to the sixth aspect, in any one of the first to fifth aspects, the specific condition is a certain period from the time when the drive unit 35 unlocks the door 3 by the key information. It is preferable to further include that elapses. According to this configuration, it is possible to reduce a situation in which the door 3 is automatically locked immediately after the door 3 is unlocked, and it is possible to improve convenience.

第7の態様に係る電気錠システム1は、第1〜第6の態様のいずれかにおける電気錠装置30と、サーバ10と、を備える。サーバ10は、電気錠装置30の第1の情報及び第2の情報を更新し、情報端末装置40からの要求に応じて鍵情報を情報端末装置40に出力する。この構成によれば、施設2のセキュリティをより向上させることができるシステムを提供することができる。   The electric lock system 1 according to the seventh aspect includes the electric lock device 30 and the server 10 according to any one of the first to sixth aspects. The server 10 updates the first information and the second information of the electric lock device 30, and outputs key information to the information terminal device 40 in response to a request from the information terminal device 40. According to this configuration, a system that can further improve the security of the facility 2 can be provided.

1 電気錠システム
2 施設
3 ドア
10 サーバ
30 電気錠装置
31 電気錠記憶部(記憶部)
32 制御部
35 駆動部
36 錠前
40 情報端末装置
Ta1 第1の所定期間(所定期間)
Ta2 第2の所定期間(所定期間)
DESCRIPTION OF SYMBOLS 1 Electric lock system 2 Facility 3 Door 10 Server 30 Electric lock apparatus 31 Electric lock memory | storage part (memory | storage part)
32 Control unit 35 Drive unit 36 Lock 40 Information terminal device Ta1 First predetermined period (predetermined period)
Ta2 Second predetermined period (predetermined period)

Claims (7)

施設のドアの錠前を駆動して前記ドアの解錠及び施錠を行う駆動部と、
第1の更新条件で更新される第1の情報、及び前記第1の更新条件とは異なる第2の更新条件で更新される第2の情報を記憶する記憶部と、
情報端末装置から受け取る前記ドアの解錠要求又は施錠要求に応じて、前記駆動部を制御する制御部と、を備え、
前記制御部は、前記情報端末装置から前記解錠要求を受け取り、かつ、特定の条件が満たされたときに、前記駆動部に前記ドアの施錠を自動的に行わせるように構成され、
前記特定の条件は、前記解錠要求として前記情報端末装置から受け取った鍵情報が前記第1の情報及び前記第2の情報のいずれか一方と一致することを含む
ことを特徴とする電気錠装置。
A drive unit for driving and unlocking the door of the facility to unlock and lock the door;
A storage unit for storing first information updated under a first update condition and second information updated under a second update condition different from the first update condition;
A control unit that controls the drive unit in response to an unlocking request or locking request for the door received from the information terminal device,
The control unit is configured to receive the unlock request from the information terminal device, and to cause the drive unit to automatically lock the door when a specific condition is satisfied,
The specific condition includes that the key information received from the information terminal device as the unlocking request coincides with either the first information or the second information. .
前記第1の情報は、第1識別子と第1パスワードとを含み、
前記第2の情報は、第2識別子と第2パスワードとを含み、
前記第1識別子及び前記第1パスワードのうち少なくとも一方は、前記第1の更新条件で更新され、
前記第2識別子及び前記第2パスワードのうち少なくとも一方は、前記第2の更新条件で更新される
ことを特徴とする請求項1に記載の電気錠装置。
The first information includes a first identifier and a first password,
The second information includes a second identifier and a second password,
At least one of the first identifier and the first password is updated with the first update condition,
The electric lock device according to claim 1, wherein at least one of the second identifier and the second password is updated under the second update condition.
前記第1の更新条件とは、前記記憶部内の前記第1の情報が前回更新された時刻から所定期間が経過することであり、
前記特定の条件は、前記情報端末装置から受け取った前記鍵情報が前記第1の情報と一致することを更に含む
ことを特徴とする請求項1又は2に記載の電気錠装置。
The first update condition is that a predetermined period elapses from the time when the first information in the storage unit was updated last time,
The electric lock device according to claim 1, wherein the specific condition further includes that the key information received from the information terminal device matches the first information.
前記第1の更新条件とは、前記情報端末装置が前記鍵情報を取得した時刻から所定期間が経過することであり、
前記特定の条件は、前記情報端末装置から受け取った前記鍵情報が前記第1の情報と一致することを更に含む
ことを特徴とする請求項1又は2に記載の電気錠装置。
The first update condition is that a predetermined period elapses from the time when the information terminal device acquires the key information,
The electric lock device according to claim 1, wherein the specific condition further includes that the key information received from the information terminal device matches the first information.
前記記憶部内における前記第1の情報の更新頻度は、前記記憶部内における前記第2の情報の更新頻度よりも高く、
前記特定の条件は、前記情報端末装置から受け取った前記鍵情報が前記第1の情報と一致することを更に含む
ことを特徴とする請求項1又は2に記載の電気錠装置。
The update frequency of the first information in the storage unit is higher than the update frequency of the second information in the storage unit,
The electric lock device according to claim 1, wherein the specific condition further includes that the key information received from the information terminal device matches the first information.
前記特定の条件は、前記鍵情報により前記駆動部が前記ドアの解錠を行った時刻から一定の期間が経過することを更に含む
ことを特徴とする請求項1〜5のいずれか1項に記載の電気錠装置。
The said specific condition further includes that a fixed period passes from the time when the said drive part unlocked | released the said door by the said key information. The any one of Claims 1-5 characterized by the above-mentioned. The electric lock device as described.
請求項1〜6のいずれか1項に記載の電気錠装置と、
前記電気錠装置の前記第1の情報及び前記第2の情報を更新し、前記情報端末装置からの要求に応じて前記鍵情報を前記情報端末装置に出力するサーバと、を備える
ことを特徴とする電気錠システム。
The electric lock device according to any one of claims 1 to 6,
A server that updates the first information and the second information of the electric lock device and outputs the key information to the information terminal device in response to a request from the information terminal device. Electric locking system.
JP2016201951A 2016-10-13 2016-10-13 Electric lock device and electric lock system Active JP6917569B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016201951A JP6917569B2 (en) 2016-10-13 2016-10-13 Electric lock device and electric lock system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016201951A JP6917569B2 (en) 2016-10-13 2016-10-13 Electric lock device and electric lock system

Publications (2)

Publication Number Publication Date
JP2018062804A true JP2018062804A (en) 2018-04-19
JP6917569B2 JP6917569B2 (en) 2021-08-11

Family

ID=61966502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016201951A Active JP6917569B2 (en) 2016-10-13 2016-10-13 Electric lock device and electric lock system

Country Status (1)

Country Link
JP (1) JP6917569B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6482154B1 (en) * 2018-07-31 2019-03-13 株式会社スペース二十四インフォメーション Space management method
JP6865992B1 (en) * 2020-02-28 2021-04-28 株式会社大正スカイビル Unmanned viewing system
JP6923992B1 (en) * 2020-10-15 2021-08-25 株式会社大正スカイビル Building monitoring system
JP2021140763A (en) * 2020-02-28 2021-09-16 株式会社大正スカイビル Unmanned preview system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003056232A (en) * 2001-08-20 2003-02-26 Ntt Docomo Inc Unlocking method and lock control device
JP2010024726A (en) * 2008-07-18 2010-02-04 Itoki Corp Lock control device, storage, and lock control method
JP2010226435A (en) * 2009-03-24 2010-10-07 Hitachi Kokusai Electric Inc Key information providing system
JP2016030894A (en) * 2014-07-25 2016-03-07 パナソニックIpマネジメント株式会社 Electric lock system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003056232A (en) * 2001-08-20 2003-02-26 Ntt Docomo Inc Unlocking method and lock control device
JP2010024726A (en) * 2008-07-18 2010-02-04 Itoki Corp Lock control device, storage, and lock control method
JP2010226435A (en) * 2009-03-24 2010-10-07 Hitachi Kokusai Electric Inc Key information providing system
JP2016030894A (en) * 2014-07-25 2016-03-07 パナソニックIpマネジメント株式会社 Electric lock system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6482154B1 (en) * 2018-07-31 2019-03-13 株式会社スペース二十四インフォメーション Space management method
JP2020021192A (en) * 2018-07-31 2020-02-06 株式会社スペース二十四インフォメーション Space management method
JP6865992B1 (en) * 2020-02-28 2021-04-28 株式会社大正スカイビル Unmanned viewing system
WO2021171590A1 (en) * 2020-02-28 2021-09-02 株式会社大正スカイビル Unmanned private viewing system
JP2021140763A (en) * 2020-02-28 2021-09-16 株式会社大正スカイビル Unmanned preview system
TWI792172B (en) * 2020-02-28 2023-02-11 日商大正天空大樓股份有限公司 Unmanned indoor navigation system
TWI817498B (en) * 2020-02-28 2023-10-01 日商大正天空大樓股份有限公司 Unmanned indoor navigation system
JP6923992B1 (en) * 2020-10-15 2021-08-25 株式会社大正スカイビル Building monitoring system
WO2022079863A1 (en) * 2020-10-15 2022-04-21 株式会社大正スカイビル Building monitoring system
JP2022065612A (en) * 2020-10-15 2022-04-27 株式会社大正スカイビル Building monitoring system

Also Published As

Publication number Publication date
JP6917569B2 (en) 2021-08-11

Similar Documents

Publication Publication Date Title
US11657365B2 (en) Secured parcel locker system with improved security
JP2018062804A (en) Electric lock device and electric lock system
US9852562B2 (en) Systems and methods for redundant access control systems based on mobile devices and removable wireless buttons
US8571471B2 (en) Batteryless lock with trusted time
AU2016280664B2 (en) Credential cache
US20160260271A1 (en) Systems and methods for redundant access control systems based on mobile devices
CN103635940A (en) Systems and methods for controlling a locking mechanism using a portable electronic device
EP3129569B1 (en) Temporarily pairing a mobile device with a peripheral device
WO2020066425A1 (en) Home delivery box, home delivery system, portable terminal, communication method, and information processing method
EP3547232A1 (en) Determining room service times based on lock audit records
JP6909991B2 (en) Electric lock system, server and electric lock device
US20240127655A1 (en) Smart lock
JP5785013B2 (en) Lock system
JP2017214789A (en) Electric lock system and electric lock device
JP2011169049A (en) Entrance/exit control system
KR102344137B1 (en) System and method for user authentication
JP6956378B2 (en) Electric lock control system
JP2018194888A (en) Dwelling unit management system for collective housing
KR20180052941A (en) Smart door lock and control method thereof
JP6796804B2 (en) Electric lock system and electric lock device
JP7054784B2 (en) Electric lock control system, communication method, and program
JP2019056224A (en) Electric lock control system, electric lock system, registration method, and program
CN111051630A (en) Electric lock control system, electric lock system, control method for electric lock control system, and program
CN113450482B (en) Electronic lock control method and device, server and electronic lock
JP2020026672A (en) Portable machine, vehicle control device, and control system

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20170117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200616

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200803

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210323

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210524

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210702

R151 Written notification of patent or utility model registration

Ref document number: 6917569

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151