JP6811426B2 - Electric lock system, electric lock device, and program for electric lock - Google Patents

Electric lock system, electric lock device, and program for electric lock Download PDF

Info

Publication number
JP6811426B2
JP6811426B2 JP2016213655A JP2016213655A JP6811426B2 JP 6811426 B2 JP6811426 B2 JP 6811426B2 JP 2016213655 A JP2016213655 A JP 2016213655A JP 2016213655 A JP2016213655 A JP 2016213655A JP 6811426 B2 JP6811426 B2 JP 6811426B2
Authority
JP
Japan
Prior art keywords
electric lock
lock device
information terminal
mobile information
mobile phone
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.)
Active
Application number
JP2016213655A
Other languages
Japanese (ja)
Other versions
JP2018071227A (en
Inventor
佐藤 繁
繁 佐藤
昌典 栗田
昌典 栗田
雄 川上
雄 川上
真介 植田
真介 植田
隆行 菅原
隆行 菅原
貴弘 神前
貴弘 神前
圭太郎 干場
圭太郎 干場
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic 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 JP2016213655A priority Critical patent/JP6811426B2/en
Publication of JP2018071227A publication Critical patent/JP2018071227A/en
Application granted granted Critical
Publication of JP6811426B2 publication Critical patent/JP6811426B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、一般に、電気錠システム、電気錠装置、及び電気錠用プログラムに関し、特に、建物の扉を電動で施錠する電気錠システム、電気錠装置、及び電気錠用プログラムに関する。 The present invention generally relates to electric lock systems, electric lock devices, and electric lock programs, and more particularly to electric lock systems, electric lock devices, and electric lock programs that electrically lock building doors.

従来、部屋のドアに組み込まれた電気錠の解錠制御に使用される非接触式カード錠が提案されている(例えば特許文献1参照)。非接触ICカードには、部屋に関する情報(物件コード、部屋番号、有効期限、チェックイン・チェックアウトの日付時間、滞在時間など)が記憶されている。 Conventionally, a non-contact card lock used for unlocking control of an electric lock incorporated in a room door has been proposed (see, for example, Patent Document 1). Information about the room (property code, room number, expiration date, check-in / check-out date / time, staying time, etc.) is stored in the non-contact IC card.

電気錠は、非接触ICカードとデータ通信を行い、非接触ICカードから読み取ったカード情報を登録情報と比較照合して、カード情報の内容が入室を許可して良い内容と判断したときには、電気錠を解錠制御する。 The electric lock performs data communication with the non-contact IC card, compares and collates the card information read from the non-contact IC card with the registered information, and when it is judged that the content of the card information is acceptable for admission to the room, it is electric. Unlock control is performed.

特開2005−23734号公報Japanese Unexamined Patent Publication No. 2005-23734

非接触ICカード(携帯情報端末)を電気錠の解錠制御に使用する場合、非接触ICカードにあらかじめカード情報を登録する必要がある。ここで、非接触式カード錠(電気錠装置)が所望の非接触ICカードにカード情報を非接触通信によって登録する場合に、意図しない別の非接触ICカードにカード情報が誤って送信されて、別の非接触ICカードにカード情報が誤登録される可能性があった。 When a non-contact IC card (portable information terminal) is used for unlocking control of an electric lock, it is necessary to register card information in the non-contact IC card in advance. Here, when the contactless card lock (electric lock device) registers the card information in the desired contactless IC card by contactless communication, the card information is erroneously transmitted to another contactless IC card unintentionally. , There was a possibility that the card information was erroneously registered in another contactless IC card.

本発明の目的は、意図しない携帯情報端末の誤登録が発生しにくい電気錠システム、電気錠装置、及び電気錠用プログラムを提供することにある。 An object of the present invention is to provide an electric lock system, an electric lock device, and a program for an electric lock, which are less likely to cause an unintended false registration of a personal digital assistant.

本発明の一態様の電気錠システムは、電気錠を制御する電気錠装置と、前記電気錠の解錠及び施錠の少なくとも一方の操作を行うための携帯情報端末とを備える。前記携帯情報端末は、前記操作を行うために鍵情報を前記電気錠装置へ無線送信する第1通信部を備える。前記電気錠装置は、第2通信部と、記憶部と、認証部と、錠側制御部とを備える、前記第2通信部は、前記携帯情報端末との間で無線通信を行う。前記記憶部は、前記操作を許可する1以上の前記携帯情報端末の鍵情報を認証情報として記憶する。前記認証部は、前記第2通信部が前記携帯情報端末から受信した前記鍵情報を前記記憶部に記憶された前記認証情報と照合することによって前記携帯情報端末の認証を行う。前記錠側制御部は、前記認証部による前記携帯情報端末の認証が成立すると前記電気錠の施錠及び解錠のうち前記操作に対応する制御を行う。前記電気錠装置が、前記操作を許可する前記携帯情報端末の前記鍵情報を前記電気錠装置に登録する登録モードで動作を開始すると、前記携帯情報端末の動作モードを登録モードとするよう要求する要求信号を前記第2通信部が送信している。前記電気錠装置は、前記登録モードにおいて、前記電気錠の解錠及び施錠を制御する制御モードに比べて、前記第2通信部の送信出力を低下させることによって、前記登録モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第1通信可能距離を、前記制御モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第2通信可能距離に比べて短くする。
本発明の一態様の電気錠システムは、電気錠を制御する電気錠装置と、前記電気錠の解錠及び施錠の少なくとも一方の操作を行うための携帯情報端末とを備える。前記携帯情報端末は、前記操作を行うために鍵情報を前記電気錠装置へ無線送信する第1通信部を備える。前記電気錠装置は、前記携帯情報端末との間で無線通信を行う第2通信部と、前記操作を許可する1以上の前記携帯情報端末の鍵情報を認証情報として記憶する記憶部と、前記第2通信部が前記携帯情報端末から受信した前記鍵情報を前記記憶部に記憶された前記認証情報と照合することによって前記携帯情報端末の認証を行う認証部と、前記認証部による前記携帯情報端末の認証が成立すると前記電気錠の施錠及び解錠のうち前記操作に対応する制御を行う錠側制御部とを備える。前記操作を許可する前記携帯情報端末の前記鍵情報を前記電気錠装置に登録する登録モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第1通信可能距離が、前記操作を行うために前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第2通信可能距離に比べて短い。前記携帯情報端末は、前記登録モードで動作中であることを表示する表示部を、更に備える。前記電気錠装置は、前記登録モードにおいて登録する前記携帯情報端末の台数情報を前記第2通信部から前記携帯情報端末に送信する。前記携帯情報端末の前記表示部は、前記第1通信部が受信した前記台数情報に基づいて、前記登録モードにおいて前記電気錠装置に登録される前記携帯情報端末の台数を表示する。
本発明の一態様の電気錠システムは、電気錠を制御する電気錠装置と、前記電気錠の解錠及び施錠の少なくとも一方の操作を行うための携帯情報端末とを備える。前記携帯情報端末は、前記操作を行うために鍵情報を前記電気錠装置へ無線送信する第1通信部を備える。前記電気錠装置は、前記携帯情報端末との間で無線通信を行う第2通信部と、前記操作を許可する1以上の前記携帯情報端末の鍵情報を認証情報として記憶する記憶部と、前記第2通信部が前記携帯情報端末から受信した前記鍵情報を前記記憶部に記憶された前記認証情報と照合することによって前記携帯情報端末の認証を行う認証部と、前記認証部による前記携帯情報端末の認証が成立すると前記電気錠の施錠及び解錠のうち前記操作に対応する制御を行う錠側制御部とを備える。前記操作を許可する前記携帯情報端末の前記鍵情報を前記電気錠装置に登録する登録モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第1通信可能距離が、前記操作を行うために前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第2通信可能距離に比べて短い。前記登録モードに移行した状態で、前記電気錠装置との距離が前記第1通信可能距離以下である前記携帯情報端末の台数が登録予定台数と異なるときは、前記電気錠装置と前記携帯情報端末の間で行われる無線通信の通信可能距離が前記第1通信可能距離よりも短い第3通信可能距離に設定される。
The electric lock system of one aspect of the present invention includes an electric lock device for controlling the electric lock and a portable information terminal for performing at least one operation of unlocking and locking the electric lock. The mobile information terminal includes a first communication unit that wirelessly transmits key information to the electric lock device in order to perform the operation. The electric lock device includes a second communication unit, a storage unit, an authentication unit, and a lock side control unit. The second communication unit performs wireless communication with the mobile information terminal. The storage unit stores the key information of one or more mobile information terminals that permit the operation as authentication information. The authentication unit authenticates the mobile information terminal by collating the key information received from the mobile information terminal by the second communication unit with the authentication information stored in the storage unit. When the authentication of the mobile information terminal is established by the authentication unit, the lock-side control unit controls the locking and unlocking of the electric lock corresponding to the operation. When the electric lock device starts operation in the registration mode in which the key information of the mobile information terminal that permits the operation is registered in the electric lock device, the operation mode of the mobile information terminal is requested to be the registration mode. The second communication unit transmits the request signal. In the registration mode, the electric lock device reduces the transmission output of the second communication unit as compared with a control mode for controlling unlocking and locking of the electric lock, whereby the electric lock device is used in the registration mode. Compare the first communicable distance of wireless communication between the mobile information terminal and the mobile information terminal with the second communicable distance of wireless communication between the electric lock device and the mobile information terminal in the control mode. And shorten it.
The electric lock system of one aspect of the present invention includes an electric lock device for controlling the electric lock and a portable information terminal for performing at least one operation of unlocking and locking the electric lock. The mobile information terminal includes a first communication unit that wirelessly transmits key information to the electric lock device in order to perform the operation. The electric lock device includes a second communication unit that performs wireless communication with the mobile information terminal, a storage unit that stores key information of one or more mobile information terminals that permit the operation as authentication information, and the storage unit. An authentication unit that authenticates the mobile information terminal by the second communication unit collating the key information received from the mobile information terminal with the authentication information stored in the storage unit, and the mobile information by the authentication unit. When the authentication of the terminal is established, it includes a lock-side control unit that controls the locking and unlocking of the electric lock corresponding to the operation. The first communicable distance of wireless communication performed between the electric lock device and the mobile information terminal in the registration mode in which the key information of the mobile information terminal that permits the operation is registered in the electric lock device is the said. It is shorter than the second communicable distance of the wireless communication performed between the electric lock device and the mobile information terminal for performing the operation. The mobile information terminal further includes a display unit for displaying that the mobile information terminal is operating in the registration mode. The electric lock device transmits information on the number of mobile information terminals to be registered in the registration mode from the second communication unit to the mobile information terminal. The display unit of the mobile information terminal displays the number of mobile information terminals registered in the electric lock device in the registration mode based on the number information received by the first communication unit.
The electric lock system of one aspect of the present invention includes an electric lock device for controlling the electric lock and a portable information terminal for performing at least one operation of unlocking and locking the electric lock. The mobile information terminal includes a first communication unit that wirelessly transmits key information to the electric lock device in order to perform the operation. The electric lock device includes a second communication unit that performs wireless communication with the mobile information terminal, a storage unit that stores key information of one or more mobile information terminals that permit the operation as authentication information, and the storage unit. An authentication unit that authenticates the mobile information terminal by the second communication unit collating the key information received from the mobile information terminal with the authentication information stored in the storage unit, and the mobile information by the authentication unit. When the authentication of the terminal is established, it includes a lock-side control unit that controls the locking and unlocking of the electric lock corresponding to the operation. The first communicable distance of wireless communication performed between the electric lock device and the mobile information terminal in the registration mode in which the key information of the mobile information terminal that permits the operation is registered in the electric lock device is the said. It is shorter than the second communicable distance of the wireless communication performed between the electric lock device and the mobile information terminal for performing the operation. In the state of shifting to the registration mode, when the number of the mobile information terminals whose distance to the electric lock device is equal to or less than the first communicable distance is different from the planned number of registrations, the electric lock device and the mobile information terminal The communicable distance of the wireless communication between the two is set to a third communicable distance shorter than the first communicable distance.

本発明の一態様の電気錠装置は、上記の電気錠システムが備える電気錠装置である。 The electric lock device according to one aspect of the present invention is the electric lock device included in the above electric lock system.

本発明の一態様の電気錠用プログラムは、コンピュータを、前記電気錠システムにおける前記携帯情報端末として機能させるためのプログラムである。 The electric lock program of one aspect of the present invention is a program for causing a computer to function as the portable information terminal in the electric lock system.

本発明によれば、意図しない携帯情報端末の誤登録が発生しにくい電気錠システム、電気錠装置、及び電気錠用プログラムを提供することができる。 According to the present invention, it is possible to provide an electric lock system, an electric lock device, and an electric lock program in which unintended erroneous registration of a personal digital assistant is unlikely to occur.

図1は、本発明の一実施形態に係る電気錠システムのブロック図である。FIG. 1 is a block diagram of an electric lock system according to an embodiment of the present invention. 図2は、同上の電気錠システムの登録動作を説明するシーケンス図である。FIG. 2 is a sequence diagram illustrating the registration operation of the electric lock system of the above. 図3は、同上の電気錠システムにおいて電気錠装置と携帯情報端末との通信可能距離を説明する説明図である。FIG. 3 is an explanatory diagram illustrating a communicable distance between the electric lock device and the mobile information terminal in the same electric lock system. 図4は、同上の電気錠システムの変形例1の登録動作を説明するシーケンス図である。FIG. 4 is a sequence diagram illustrating the registration operation of the first modification of the electric lock system described above.

以下に説明する実施形態は、本発明の種々の実施形態の一つに過ぎない。本発明の実施形態は、下記実施形態に限定されることはなく、この実施形態以外も含み得る。また、下記の実施形態は、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能である。 The embodiments described below are merely one of the various embodiments of the present invention. The embodiment of the present invention is not limited to the following embodiment, and may include other embodiments. Further, the following embodiments can be variously modified according to the design and the like as long as they do not deviate from the technical idea of the present invention.

(1)構成
本実施形態に係る電気錠システム1は、建物(例えば戸建て住宅)に設けられた玄関扉を電動で解錠及び施錠するためのシステムである。
(1) Configuration The electric lock system 1 according to the present embodiment is a system for electrically unlocking and locking the entrance door provided in a building (for example, a detached house).

本実施形態の電気錠システム1は、図1に示すように、玄関扉に設けられた電気錠装置2と、玄関扉の解錠及び施錠を許可された使用者(例えば建物の住人など)が使用する複数台(例えば3台)の携帯電話端末3(3A,3B,3C)と、を備えている。 As shown in FIG. 1, the electric lock system 1 of the present embodiment includes an electric lock device 2 provided on the front door and a user (for example, a resident of a building) who is permitted to unlock and lock the front door. It is equipped with a plurality of (for example, three) mobile phone terminals 3 (3A, 3B, 3C) to be used.

図1の例では、玄関扉の解錠及び施錠を許可された携帯電話端末3の台数が3台であるが、携帯電話端末3の台数は1台でも、2台以上でもよく、電気錠システム1が適用される建物ごとに携帯電話端末3の台数は変化する。以下の説明において、複数台の携帯電話端末3のそれぞれについて説明する場合は、携帯電話端末3A,3B,3Cと記載し、携帯電話端末3A,3B,3Cに共通する説明を行う場合は携帯電話端末3と記載する。 In the example of FIG. 1, the number of mobile phone terminals 3 permitted to unlock and lock the entrance door is three, but the number of mobile phone terminals 3 may be one or two or more, and the electric lock system. The number of mobile phone terminals 3 varies depending on the building to which 1 is applied. In the following description, when each of the plurality of mobile phone terminals 3 is described, it is described as mobile phone terminals 3A, 3B, 3C, and when the description common to the mobile phone terminals 3A, 3B, 3C is given, the mobile phone Described as terminal 3.

また、電気錠システム1が適用される建物に出入り口が2箇所以上ある場合に、2箇所以上の出入り口の扉のそれぞれに電気錠装置2が設けられてもよく、電気錠装置2の台数は適宜変更が可能である。 Further, when the building to which the electric lock system 1 is applied has two or more entrances and exits, the electric lock device 2 may be provided for each of the doors of the two or more entrances and exits, and the number of the electric lock devices 2 is appropriate. It can be changed.

電気錠装置2は、錠側制御回路21と、電気錠22と、錠側通信部23と、記憶部24と、操作部25と、モード切替スイッチ26と、リセットスイッチ27とを備えている。本実施形態では、玄関扉に取り付けられるケースに、電気錠装置2の全ての構成要素が収納されているが、玄関扉に取り付けられる第1ケースと、建物の屋内側に設置される第2ケースとに、電気錠装置2の構成要素が分散して収納されていてもよい。 The electric lock device 2 includes a lock-side control circuit 21, an electric lock 22, a lock-side communication unit 23, a storage unit 24, an operation unit 25, a mode changeover switch 26, and a reset switch 27. In the present embodiment, all the components of the electric lock device 2 are housed in the case attached to the entrance door, but the first case attached to the entrance door and the second case installed on the indoor side of the building. In addition, the components of the electric lock device 2 may be dispersed and stored.

錠側制御回路21は、例えばプロセッサとメモリとを有するマイクロコンピュータを備えている。プロセッサがメモリに格納されているプログラムを実行することによって、認証部211及び錠側制御部212などの機能が実現される。プロセッサが実行するプログラムは、マイクロコンピュータのメモリにあらかじめ記憶されているが、メモリカード等の記録媒体に記録されて提供されてもよいし、電気通信回線を通じて提供されてもよい。 The lock-side control circuit 21 includes, for example, a microcomputer having a processor and a memory. When the processor executes a program stored in the memory, functions such as the authentication unit 211 and the lock side control unit 212 are realized. The program executed by the processor is stored in the memory of the microcomputer in advance, but may be recorded in a recording medium such as a memory card and provided, or may be provided through a telecommunications line.

認証部211は、携帯電話端末3から受信した鍵情報を記憶部24に記憶されている認証情報と照合することによって、鍵情報を送信してきた携帯電話端末3が、電気錠22の施錠及び解錠を許可された携帯電話端末3であるか否かを判断する。本実施形態では、携帯電話端末3において電気錠22を解錠する操作が行われると、携帯電話端末3が当該携帯電話端末3に割り当てられた識別情報と鍵情報とを電気錠装置2へ送信する。認証部211は、携帯電話端末3から受信した当該携帯電話端末3の識別情報及び鍵情報を、記憶部24に記憶されている認証情報と照合することによって、鍵情報を送信してきた携帯電話端末3の認証を行う。 The authentication unit 211 collates the key information received from the mobile phone terminal 3 with the authentication information stored in the storage unit 24, so that the mobile phone terminal 3 that has transmitted the key information locks and unlocks the electric lock 22. It is determined whether or not the mobile phone terminal 3 is permitted to lock. In the present embodiment, when the operation of unlocking the electric lock 22 is performed on the mobile phone terminal 3, the mobile phone terminal 3 transmits the identification information and the key information assigned to the mobile phone terminal 3 to the electric lock device 2. To do. The authentication unit 211 has transmitted the key information by collating the identification information and the key information of the mobile phone terminal 3 received from the mobile phone terminal 3 with the authentication information stored in the storage unit 24. Authenticate 3

錠側制御部212は、認証部211による携帯電話端末3の認証が成立すると、電気錠22の解錠及び施錠のうち携帯電話端末3での操作に対応した制御命令を電気錠22に出力する。 When the authentication unit 211 authenticates the mobile phone terminal 3, the lock-side control unit 212 outputs to the electric lock 22 a control command corresponding to the operation of the mobile phone terminal 3 among unlocking and locking the electric lock 22. ..

電気錠22は建物の玄関扉に設けられている。電気錠22は、デッドボルトと、駆動部と、駆動回路とを備えている。駆動回路は、錠側制御部212から出力される制御指令(解錠指令又は施錠指令)に応じて駆動信号を生成し、生成した駆動信号を駆動部に出力する。駆動部は、電動モータと、電動モータの駆動力をデッドボルトに伝達する伝達機構とを備える。駆動部は、駆動回路から入力される駆動信号に従って駆動モータを駆動する。駆動モータの駆動力が伝達機構を介してデッドボルトに伝達されることによって、デッドボルトが施錠位置又は解錠位置に移動する。ここで、デッドボルトが施錠位置に移動した状態では、デッドボルトの少なくとも一部が、玄関扉を支持する扉枠に設けられたボルト穴に挿入されており、この状態では玄関扉が閉じた状態で保持される。デッドボルトが解錠位置に移動した状態では、デッドボルトの全体がボルト穴の外に出ており、この状態では玄関扉の開閉が可能になる。 The electric lock 22 is provided at the entrance door of the building. The electric lock 22 includes a dead bolt, a drive unit, and a drive circuit. The drive circuit generates a drive signal in response to a control command (unlocking command or lock command) output from the lock side control unit 212, and outputs the generated drive signal to the drive unit. The drive unit includes an electric motor and a transmission mechanism that transmits the driving force of the electric motor to the dead bolt. The drive unit drives the drive motor according to a drive signal input from the drive circuit. The driving force of the drive motor is transmitted to the dead bolt via the transmission mechanism, so that the dead bolt moves to the locking position or the unlocking position. Here, when the dead bolt is moved to the locked position, at least a part of the dead bolt is inserted into the bolt hole provided in the door frame supporting the entrance door, and in this state, the entrance door is closed. It is held at. When the dead bolt is moved to the unlocked position, the entire dead bolt is out of the bolt hole, and in this state, the front door can be opened and closed.

錠側通信部23は、例えばアンテナと、通信回路とを備えている。錠側通信部23は、例えばBLE(Bluetooth Low Energy)の規格に準拠した近距離無線通信を行うように構成されている。BLEとは、無線PAN(Personal Area Network)技術であるBluetooth(登録商標)の仕様における、バージョン4.0の呼称である。錠側通信部23は、錠側制御回路21からの指令に従って、ビーコン信号を間欠的に送信する。また、錠側通信部23は、ビーコン信号に応答して鍵側通信部32から送信される応答信号を受信する。ここで、ビーコン信号及び応答信号は、電波を媒体とする無線信号である。 The lock-side communication unit 23 includes, for example, an antenna and a communication circuit. The lock-side communication unit 23 is configured to perform short-range wireless communication conforming to, for example, a BLE (Bluetooth Low Energy) standard. BLE is the name of version 4.0 in the specifications of Bluetooth (registered trademark), which is a wireless PAN (Personal Area Network) technology. The lock-side communication unit 23 intermittently transmits a beacon signal in accordance with a command from the lock-side control circuit 21. Further, the lock-side communication unit 23 receives a response signal transmitted from the key-side communication unit 32 in response to the beacon signal. Here, the beacon signal and the response signal are radio signals using radio waves as a medium.

記憶部24は、例えば、EEPROM(Electrically Erasable and Programmable Read-Only Memory)のような電気的に書き換え可能な不揮発性メモリである。記憶部24は、電気錠22の解錠操作及び施錠操作が許可された1台以上の携帯電話端末3について識別情報と鍵情報とを認証情報として記憶する。 The storage unit 24 is an electrically rewritable non-volatile memory such as an EEPROM (Electrically Erasable and Programmable Read-Only Memory). The storage unit 24 stores identification information and key information as authentication information for one or more mobile phone terminals 3 that are permitted to unlock and lock the electric lock 22.

操作部25は例えば押釦スイッチを備える。操作部25は、錠側制御回路21に電気的に接続されており、玄関扉の屋外側に設けられている。使用者が押しボタンスイッチを押すことにより、錠側制御回路21に操作信号が入力される。 The operation unit 25 includes, for example, a push button switch. The operation unit 25 is electrically connected to the lock side control circuit 21 and is provided on the outdoor side of the entrance door. When the user presses the push button switch, an operation signal is input to the lock side control circuit 21.

モード切替スイッチ26は例えば押釦スイッチである。モード切替スイッチ26は、例えば電気錠装置2の本体において建物の屋内側に露出している部位に設けられている。モード切替スイッチ26が、例えば所定時間(例えば2秒間)以上連続して押されると、モード切替スイッチ26から錠側制御回路21に切替信号が出力されて、錠側制御回路21の動作モードが制御モードから登録モードに切り替わる。ここで、制御モードとは、電気錠22の解錠及び施錠を制御する動作モードである。登録モードとは、所望の携帯電話端末3を電気錠22の解錠及び施錠に使用できるようにするために、当該携帯電話端末3の識別情報及び鍵情報を電気錠装置2に登録するための動作モードである。 The mode changeover switch 26 is, for example, a push button switch. The mode changeover switch 26 is provided, for example, in a portion of the main body of the electric lock device 2 that is exposed to the indoor side of the building. When the mode changeover switch 26 is continuously pressed for a predetermined time (for example, 2 seconds) or longer, a changeover signal is output from the mode changeover switch 26 to the lock side control circuit 21 to control the operation mode of the lock side control circuit 21. Switch from mode to registration mode. Here, the control mode is an operation mode for controlling the unlocking and locking of the electric lock 22. The registration mode is for registering the identification information and the key information of the mobile phone terminal 3 in the electric lock device 2 so that the desired mobile phone terminal 3 can be used for unlocking and locking the electric lock 22. The operation mode.

リセットスイッチ27は例えば押釦スイッチである。リセットスイッチ27は、例えば電気錠装置2の本体において建物の屋内側に露出している部位に設けられている。リセットスイッチ27が、例えば所定時間(例えば2秒間)以上連続して押されると、リセットスイッチ27から錠側制御回路21にリセット信号が出力され、錠側制御回路21が記憶部24に記憶されている認証情報を消去(初期化)する。 The reset switch 27 is, for example, a push button switch. The reset switch 27 is provided, for example, in the main body of the electric lock device 2 at a portion exposed on the indoor side of the building. When the reset switch 27 is continuously pressed for a predetermined time (for example, 2 seconds) or longer, a reset signal is output from the reset switch 27 to the lock side control circuit 21, and the lock side control circuit 21 is stored in the storage unit 24. Delete (initialize) the existing authentication information.

携帯電話端末3は例えばスマートホンである。携帯電話端末3は、鍵側制御回路31と、鍵側通信部32と、表示部33と、記憶部34と、操作部35と、を備えている。ただし、携帯電話端末3はスマートホンに限らず、電気錠用プログラム(アプリ)を実行可能な携帯情報端末であればよい。 The mobile phone terminal 3 is, for example, a smart phone. The mobile phone terminal 3 includes a key-side control circuit 31, a key-side communication unit 32, a display unit 33, a storage unit 34, and an operation unit 35. However, the mobile phone terminal 3 is not limited to a smart phone, and may be any mobile information terminal capable of executing an electric lock program (application).

鍵側制御回路31は、例えばプロセッサとメモリとを有するマイクロコンピュータを備えている。プロセッサがメモリに格納されているプログラムを実行することによって、鍵側制御回路31の機能が実現される。プロセッサが実行するプログラムは、マイクロコンピュータのメモリにあらかじめ記憶されているが、メモリカード等の記録媒体に記録されて提供されてもよいし、電気通信回線を通じて提供されてもよい。 The key-side control circuit 31 includes, for example, a microcomputer having a processor and a memory. The function of the key side control circuit 31 is realized by the processor executing the program stored in the memory. The program executed by the processor is stored in the memory of the microcomputer in advance, but may be recorded in a recording medium such as a memory card and provided, or may be provided through a telecommunications line.

鍵側通信部32は、例えばアンテナと、通信回路とを備えている。鍵側通信部32は、錠側通信部23との間で、例えばBLEの規格に準拠した近距離無線通信を行うように構成されている。鍵側通信部32は、鍵側制御回路31からの指令に従って、応答信号を送信する。また、鍵側通信部32は、錠側通信部23から間欠的に送信されるビーコン信号を受信する。鍵側通信部32は、ビーコン信号を受信すると、ビーコン信号を受信したことを通知するACK(ACKnowledgement)を電気錠装置2に送信する。携帯電話端末3からのACKを電気錠装置2が受信することにより、携帯電話端末3の認証を行うための認証通信が電気錠装置2と携帯電話端末3との間で開始される。 The key-side communication unit 32 includes, for example, an antenna and a communication circuit. The key-side communication unit 32 is configured to perform short-range wireless communication with the lock-side communication unit 23, for example, in accordance with the BLE standard. The key-side communication unit 32 transmits a response signal in accordance with a command from the key-side control circuit 31. Further, the key-side communication unit 32 receives a beacon signal intermittently transmitted from the lock-side communication unit 23. When the key side communication unit 32 receives the beacon signal, it transmits an ACK (ACKnowledgement) notifying that the beacon signal has been received to the electric lock device 2. When the electric lock device 2 receives the ACK from the mobile phone terminal 3, the authentication communication for authenticating the mobile phone terminal 3 is started between the electric lock device 2 and the mobile phone terminal 3.

表示部33は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイなどの薄型ディスプレイ装置である。表示部33は、鍵側制御回路31によって表示内容が制御される。 The display unit 33 is a thin display device such as a liquid crystal display or an organic EL (Electro Luminescence) display. The display content of the display unit 33 is controlled by the key side control circuit 31.

記憶部34は、例えば、EEPROMのような電気的に書き換え可能な不揮発性メモリである。記憶部34は、携帯電話端末3に割り当てられた個別の識別情報と、電気錠装置2に登録した際に電気錠装置2から付与される鍵情報とを記憶する。また、記憶部34には、携帯電話端末3のコンピュータが実行する電気錠用プログラムが記憶されている。この電気錠用プログラムは予めメモリに記憶されていてもよいし、電気通信回線を介して、あるいは記録媒体に記憶された状態で提供されてもよい。 The storage unit 34 is an electrically rewritable non-volatile memory such as EEPROM. The storage unit 34 stores the individual identification information assigned to the mobile phone terminal 3 and the key information given by the electric lock device 2 when registered in the electric lock device 2. Further, the storage unit 34 stores an electric lock program executed by the computer of the mobile phone terminal 3. This electric lock program may be stored in a memory in advance, or may be provided via a telecommunication line or in a state of being stored in a recording medium.

操作部35は、例えば表示部33を構成するディスプレイ装置に設けられたタッチパネルからなる。タッチパネルは静電容量方式、感圧式などのタッチセンサを備える。使用者が表示部33を構成するディスプレイ装置に触れる操作(タップ操作、スワイプ操作など)を行うと、操作部35は操作に応じた信号を鍵側制御回路31に出力する。 The operation unit 35 includes, for example, a touch panel provided on the display device constituting the display unit 33. The touch panel is equipped with a capacitive touch sensor or a pressure sensitive touch sensor. When the user touches the display device constituting the display unit 33 (tap operation, swipe operation, etc.), the operation unit 35 outputs a signal corresponding to the operation to the key side control circuit 31.

(2)動作
以下に、本実施形態の電気錠システム1の動作について説明する。
(2) Operation The operation of the electric lock system 1 of the present embodiment will be described below.

(2.1)登録モードの動作
登録モードでの電気錠装置2の動作について図2を参照して説明する。
(2.1) Operation of Registration Mode The operation of the electric lock device 2 in the registration mode will be described with reference to FIG.

電気錠システム1の使用者(例えば、住宅の住人など)が、携帯電話端末3Aを電気錠装置2に登録する場合、電気錠装置2の動作モードを制御モードから登録モードに切り替える。すなわち、使用者は、携帯電話端末3Aを電気錠装置2と通信可能な距離に置いた状態で、動作モードを制御モードから登録モードに切り替えるために、電気錠装置2のモード切替スイッチ26を操作する(ステップS1)。本実施形態では、モード切替スイッチ26が所定時間以上連続して押されると、錠側制御回路21が動作モードを制御モードから登録モードに切り替える(ステップS2)。 When a user of the electric lock system 1 (for example, a resident of a house) registers the mobile phone terminal 3A in the electric lock device 2, the operation mode of the electric lock device 2 is switched from the control mode to the registration mode. That is, the user operates the mode changeover switch 26 of the electric lock device 2 in order to switch the operation mode from the control mode to the registration mode while the mobile phone terminal 3A is placed at a distance capable of communicating with the electric lock device 2. (Step S1). In the present embodiment, when the mode changeover switch 26 is continuously pressed for a predetermined time or longer, the lock side control circuit 21 switches the operation mode from the control mode to the registration mode (step S2).

錠側制御回路21は、動作モードが制御モードから登録モードに切り替えられると、錠側通信部23の送信出力を、制御モードでの送信出力の設定値よりも低い値に制限する(ステップS3)。本実施形態では、登録モードでの錠側通信部23の送信出力の設定値(第1設定値)を、制御モードでの錠側通信部23の送信出力の設定値(第2設定値)よりも20dB低い値に制限している。これにより、電気錠装置2と携帯電話端末3との通信可能距離は、制御モードにおける第2通信可能距離(例えば数m程度)から、登録モードにおける第1通信可能距離(例えば数十cm〜1m程度)に制限される。よって、使用者は、電気錠装置2との距離が第1通信可能距離以下である携帯電話端末3しか電気錠装置2に登録できない。つまり、電気錠装置2との距離が第1通信可能距離よりも長い距離にある携帯情報端末は電気錠装置2は登録されにくい。 When the operation mode is switched from the control mode to the registration mode, the lock side control circuit 21 limits the transmission output of the lock side communication unit 23 to a value lower than the set value of the transmission output in the control mode (step S3). .. In the present embodiment, the set value (first set value) of the transmission output of the lock side communication unit 23 in the registration mode is set from the set value (second set value) of the transmission output of the lock side communication unit 23 in the control mode. Is also limited to a value 20 dB lower. As a result, the communicable distance between the electric lock device 2 and the mobile phone terminal 3 varies from the second communicable distance in the control mode (for example, about several m) to the first communicable distance in the registration mode (for example, several tens of cm to 1 m). Degree). Therefore, the user can register only the mobile phone terminal 3 whose distance to the electric lock device 2 is equal to or less than the first communicable distance in the electric lock device 2. That is, it is difficult for the electric lock device 2 to be registered in the mobile information terminal whose distance from the electric lock device 2 is longer than the first communicable distance.

錠側制御回路21は、登録モードで動作を開始すると、携帯電話端末3の動作モードを登録モードとするよう要求する要求信号を錠側通信部23からブロードキャストで送信する(ステップS4)。 When the lock-side control circuit 21 starts operation in the registration mode, the lock-side communication unit 23 broadcasts a request signal requesting that the operation mode of the mobile phone terminal 3 be the registration mode (step S4).

携帯電話端末3の鍵側制御回路31は、携帯電話端末3を電気錠装置2の鍵として動作させるための電気錠用プログラム(アプリ)をバックグラウンドで実行している。 The key side control circuit 31 of the mobile phone terminal 3 executes an electric lock program (app) for operating the mobile phone terminal 3 as a key of the electric lock device 2 in the background.

携帯電話端末3の鍵側通信部32は、当該携帯電話端末3と電気錠装置2との距離が第1通信可能距離以下であれば、電気錠装置2の錠側通信部23が送信した要求信号を受信することができる。使用者は、電気錠装置2と通信可能な範囲に1台の携帯電話端末3Aのみを配置しており、携帯電話端末3Aの鍵側通信部32が、電気錠装置2の錠側通信部23によって送信された要求信号を受信する。携帯電話端末3Aの鍵側通信部32が要求信号を受信すると、鍵側制御回路31は、動作モードを登録モードに設定するために操作するモード切替ボタン(アイコン)を表示部33に表示する(ステップS5)。ここで、登録モードとは、携帯電話端末3の識別情報を電気錠装置2に登録し、電気錠装置2から付与された鍵情報を携帯電話端末3に登録するための動作モードである。 If the distance between the mobile phone terminal 3 and the electric lock device 2 is equal to or less than the first communicable distance, the key side communication unit 32 of the mobile phone terminal 3 sends a request transmitted by the lock side communication unit 23 of the electric lock device 2. Can receive signals. The user arranges only one mobile phone terminal 3A within a range in which communication with the electric lock device 2 is possible, and the key side communication unit 32 of the mobile phone terminal 3A is the lock side communication unit 23 of the electric lock device 2. Receives the request signal transmitted by. When the key side communication unit 32 of the mobile phone terminal 3A receives the request signal, the key side control circuit 31 displays a mode switching button (icon) to be operated to set the operation mode to the registration mode on the display unit 33 ( Step S5). Here, the registration mode is an operation mode for registering the identification information of the mobile phone terminal 3 in the electric lock device 2 and registering the key information given by the electric lock device 2 in the mobile phone terminal 3.

使用者が携帯電話端末3の表示部33に表示されたモード切替ボタンを操作しなければ、鍵側制御回路31は、所定の待機時間が経過した後にモード切替ボタンの表示を終了し、動作モードを登録モードに移行しない。電気錠装置2の錠側通信部23が、要求信号の送信時点から一定時間が経過するまでの間に、携帯電話端末3から応答信号を受信しなければ、錠側制御回路21は動作モードを登録モードから制御モードに切り替えて、携帯電話端末3の登録処理を終了する。 If the user does not operate the mode switching button displayed on the display unit 33 of the mobile phone terminal 3, the key side control circuit 31 ends the display of the mode switching button after the predetermined standby time has elapsed, and the operation mode Does not shift to registration mode. If the lock-side communication unit 23 of the electric lock device 2 does not receive a response signal from the mobile phone terminal 3 within a certain period of time from the time when the request signal is transmitted, the lock-side control circuit 21 sets the operation mode. The registration mode is switched to the control mode, and the registration process of the mobile phone terminal 3 is completed.

一方、使用者が携帯電話端末3の表示部33に表示されたモード切替ボタンのタップ操作を行うと(ステップS6)、鍵側制御回路31は、操作部35からの入力信号に基づいて動作モードを登録モードに設定する(ステップS7)。鍵側制御回路31は登録モードで動作を開始すると、鍵側通信部32の送信出力を通常モード(登録モード以外の動作モード)における第2設定値から、登録モードにおける第1設定値に低下させる。これにより、携帯電話端末3Aにおいても、携帯電話端末3と電気錠装置2との通信可能距離が、通常モードにおける第2通信可能距離から、登録モードにおける第1通信可能距離に制限される(ステップS8)。 On the other hand, when the user taps the mode switching button displayed on the display unit 33 of the mobile phone terminal 3 (step S6), the key side control circuit 31 operates the operation mode based on the input signal from the operation unit 35. Is set to the registration mode (step S7). When the key-side control circuit 31 starts operation in the registration mode, the transmission output of the key-side communication unit 32 is reduced from the second set value in the normal mode (operation mode other than the registration mode) to the first set value in the registration mode. .. As a result, also in the mobile phone terminal 3A, the communicable distance between the mobile phone terminal 3 and the electric lock device 2 is limited from the second communicable distance in the normal mode to the first communicable distance in the registration mode (step). S8).

鍵側制御回路31は、鍵側通信部32の送信出力を低下させた後、要求信号に対する応答信号と、記憶部34から読み出した識別情報とを、鍵側通信部32から電気錠装置2に送信する(ステップS9)。 After reducing the transmission output of the key-side communication unit 32, the key-side control circuit 31 transfers the response signal to the request signal and the identification information read from the storage unit 34 from the key-side communication unit 32 to the electric lock device 2. Transmit (step S9).

電気錠装置2の錠側制御回路21は、要求信号の送信時から一定時間(例えば数十秒から数分程度の時間)内に錠側通信部23が応答信号を受信すると、応答信号を送信してきた携帯電話端末3を登録する処理を行う。すなわち、電気錠装置2の錠側制御回路21は、応答信号を送信してきた携帯電話端末3Aに付与する鍵情報を作成し、この鍵情報と電気錠装置2の識別情報とを錠側通信部23から携帯電話端末3Aにユニキャストで送信する(ステップS10)。電気錠装置2の錠側制御回路21は、携帯電話端末3Aの識別情報と鍵情報とを対応付けて記憶部24に記憶することで、解錠操作及び施錠操作を許可する端末として携帯電話端末3Aを登録する(ステップS11)。 The lock-side control circuit 21 of the electric lock device 2 transmits a response signal when the lock-side communication unit 23 receives the response signal within a certain period of time (for example, a time of several tens of seconds to several minutes) from the time of transmitting the request signal. The process of registering the mobile phone terminal 3 that has been performed is performed. That is, the lock side control circuit 21 of the electric lock device 2 creates key information to be given to the mobile phone terminal 3A that has transmitted the response signal, and the key information and the identification information of the electric lock device 2 are combined with the lock side communication unit. It is transmitted from 23 to the mobile phone terminal 3A by unicast (step S10). The lock side control circuit 21 of the electric lock device 2 stores the identification information of the mobile phone terminal 3A and the key information in the storage unit 24 in association with each other, so that the mobile phone terminal can be used as a terminal for permitting the unlocking operation and the locking operation. Register 3A (step S11).

一方、携帯電話端末3Aの鍵側通信部32が電気錠装置2から当該電気錠装置2の識別情報と鍵情報とを受信すると、携帯電話端末3Aの鍵側制御回路31は、電気錠装置2の識別情報と鍵情報とを対応付けて記憶部34に記憶する(ステップS12)。また、鍵側制御回路31は、登録モードでの動作状態を示す表示内容を表示部33に表示する(ステップS13)。ここで、登録モードでの動作状態を示す表示内容とは、例えば、登録モードを実行中であることの表示、及び電気錠装置2の識別情報などである。携帯電話端末3Aの使用者は、表示部33の表示内容に基づいて、携帯電話端末3Aを電気錠装置2に登録中であることなどの情報を、確認することができる。また、電気錠装置2の錠側制御回路21が、登録する携帯電話端末3の台数の情報を錠側通信部23から携帯電話端末3Aに送信してもよく、表示部33が電気錠装置2に登録される携帯電話端末3の台数を表示してもよい。 On the other hand, when the key-side communication unit 32 of the mobile phone terminal 3A receives the identification information and the key information of the electric lock device 2 from the electric lock device 2, the key-side control circuit 31 of the mobile phone terminal 3A receives the electric lock device 2. The identification information and the key information of the above are associated with each other and stored in the storage unit 34 (step S12). Further, the key side control circuit 31 displays the display content indicating the operating state in the registration mode on the display unit 33 (step S13). Here, the display contents indicating the operating state in the registration mode include, for example, a display indicating that the registration mode is being executed, identification information of the electric lock device 2, and the like. The user of the mobile phone terminal 3A can confirm information such as that the mobile phone terminal 3A is being registered in the electric lock device 2 based on the display content of the display unit 33. Further, the lock side control circuit 21 of the electric lock device 2 may transmit information on the number of mobile phone terminals 3 to be registered from the lock side communication unit 23 to the mobile phone terminal 3A, and the display unit 33 may transmit the information on the number of mobile phone terminals 3 to be registered. The number of mobile phone terminals 3 registered in may be displayed.

携帯電話端末3Aの鍵側制御回路31は、電気錠装置2の識別情報と鍵情報とを記憶部34に記憶すると、登録処理を行ったことを示す実施情報を鍵側通信部32から電気錠装置2に送信する(ステップS14)。 When the key side control circuit 31 of the mobile phone terminal 3A stores the identification information and the key information of the electric lock device 2 in the storage unit 34, the key side communication unit 32 electronically locks the execution information indicating that the registration process has been performed. It is transmitted to the device 2 (step S14).

電気錠装置2の錠側通信部23が、携帯電話端末3Aから送信された実施情報を受信すると、登録処理が完了したと判断し(ステップS15)、登録処理の完了を通知する通知信号を錠側通信部23から携帯電話端末3Aに送信する(ステップS16)。 When the lock-side communication unit 23 of the electric lock device 2 receives the execution information transmitted from the mobile phone terminal 3A, it determines that the registration process has been completed (step S15), and locks the notification signal notifying the completion of the registration process. It is transmitted from the side communication unit 23 to the mobile phone terminal 3A (step S16).

ここで、携帯電話端末3Aの鍵側通信部32が電気錠装置2から通知信号を受信すると、鍵側制御回路31は、電気錠装置2に登録されたことを示す登録完了表示を表示部33に表示させる(ステップS17)。携帯電話端末3Aの鍵側制御回路31は、動作モードを登録モードから通常モードに切り替え、通信可能距離を登録モードにおける第1通信可能距離から通常モードにおける第2通信可能距離に切り替えるように、鍵側通信部32の送信出力を増加する。 Here, when the key-side communication unit 32 of the mobile phone terminal 3A receives the notification signal from the electric lock device 2, the key-side control circuit 31 displays a registration completion display indicating that it has been registered in the electric lock device 2. Is displayed (step S17). The key side control circuit 31 of the mobile phone terminal 3A switches the operation mode from the registration mode to the normal mode, and switches the communicable distance from the first communicable distance in the registration mode to the second communicable distance in the normal mode. The transmission output of the side communication unit 32 is increased.

また、電気錠装置2の錠側制御回路21は、登録処理が完了したと判断すると、動作モードを登録モードから制御モードに切り替える。電気錠装置2の錠側制御回路21は、通信可能距離を登録モードにおける第1通信可能距離から制御モードにおける第2通信可能距離に切り替えるように、錠側通信部23の送信出力を増加させる。ここで、電気錠装置2の錠側制御回路21は、登録処理が完了したと判断すると、動作モードを登録モードから制御モードに自動的に切り替えてもよいし、登録モードにおいてモード切替スイッチ26が操作されると、登録モードから制御モードに切り替えてもよい。 Further, when the lock side control circuit 21 of the electric lock device 2 determines that the registration process is completed, the operation mode is switched from the registration mode to the control mode. The lock-side control circuit 21 of the electric lock device 2 increases the transmission output of the lock-side communication unit 23 so as to switch the communicable distance from the first communicable distance in the registration mode to the second communicable distance in the control mode. Here, when the lock side control circuit 21 of the electric lock device 2 determines that the registration process is completed, the operation mode may be automatically switched from the registration mode to the control mode, or the mode changeover switch 26 may switch in the registration mode. When operated, the registration mode may be switched to the control mode.

上述のように、本実施形態では、登録モードでの第1通信可能距離L1が、制御モード(通常モード)での第2通信可能距離L2に比べて短くなる(図3参照)。すなわち、登録モードでの第1通信可能距離L1が、制御モード(通常モード)での第2通信可能距離L2よりも短いため、電気錠装置2と通信可能な携帯電話端末3を、電気錠装置2との距離が第1通信可能距離L1以下である携帯電話端末3に絞り込むことができる。よって、登録対象の携帯電話端末3A以外の意図しない携帯電話端末4と、電気錠装置2との距離が第1通信可能距離L1よりも長ければ、意図しない携帯電話端末4が、電気錠装置2に誤って登録されるのを抑制できる。 As described above, in the present embodiment, the first communicable distance L1 in the registration mode is shorter than the second communicable distance L2 in the control mode (normal mode) (see FIG. 3). That is, since the first communicable distance L1 in the registration mode is shorter than the second communicable distance L2 in the control mode (normal mode), the mobile phone terminal 3 capable of communicating with the electric lock device 2 is locked. It is possible to narrow down the distance to the mobile phone terminal 3 which is equal to or less than the first communicable distance L1. Therefore, if the distance between the unintended mobile phone terminal 4 other than the mobile phone terminal 3A to be registered and the electric lock device 2 is longer than the first communicable distance L1, the unintended mobile phone terminal 4 is the electric lock device 2. It is possible to prevent accidental registration in.

また、本実施形態では、電気錠装置2は、登録モードにおいて1台の携帯電話端末3の鍵情報を記憶部24に登録すると登録モードを終了するように構成されている。複数台の携帯電話端末3を電気錠装置2に登録する場合は、その都度、電気錠装置2のモード切替スイッチ26を操作して、電気錠装置2を登録モードに切り替え、電気錠装置2に携帯電話端末3を1台ずつ登録すればよい。 Further, in the present embodiment, the electric lock device 2 is configured to end the registration mode when the key information of one mobile phone terminal 3 is registered in the storage unit 24 in the registration mode. When registering a plurality of mobile phone terminals 3 in the electric lock device 2, each time, the mode changeover switch 26 of the electric lock device 2 is operated to switch the electric lock device 2 to the registration mode, and the electric lock device 2 is used. The mobile phone terminals 3 may be registered one by one.

(2.2)制御モードの動作
制御モードでの電気錠システム1の動作について説明する。以下では、携帯電話端末3を用いて電気錠22を解錠する場合の動作について説明するが、電気錠22を施錠する場合の動作も同様であり、その説明は省略する。
(2.2) Operation of Control Mode The operation of the electric lock system 1 in the control mode will be described. Hereinafter, the operation when the electric lock 22 is unlocked by using the mobile phone terminal 3 will be described, but the operation when the electric lock 22 is locked is also the same, and the description thereof will be omitted.

電気錠装置2の錠側通信部23は、制御モードでは、錠側制御回路21からの指令に従って、ビーコン信号を間欠的(例えば2秒間隔)に送信する。携帯電話端末3と電気錠装置2との距離が第2通信可能距離L2以下となる検知エリアに携帯電話端末3が入ると、携帯電話端末3の鍵側通信部32がビーコン信号を受信し、受信したビーコン信号を鍵側制御回路31に出力する。鍵側制御回路31は、鍵側通信部32からビーコン信号を受け取ると、ビーコン信号を受け取ったことを通知するACKを鍵側通信部32から電気錠装置2に送信する。 In the control mode, the lock-side communication unit 23 of the electric lock device 2 intermittently transmits a beacon signal (for example, at 2-second intervals) according to a command from the lock-side control circuit 21. When the mobile phone terminal 3 enters the detection area where the distance between the mobile phone terminal 3 and the electric lock device 2 is equal to or less than the second communicable distance L2, the key side communication unit 32 of the mobile phone terminal 3 receives the beacon signal. The received beacon signal is output to the key side control circuit 31. When the key side control circuit 31 receives the beacon signal from the key side communication unit 32, the key side control circuit 31 transmits an ACK notifying that the beacon signal has been received from the key side communication unit 32 to the electric lock device 2.

錠側通信部23は、鍵側通信部32からのACKを受信すると、受信したACKを錠側制御回路21に出力する。そして、錠側制御回路21がACKを受け取ることで、携帯電話端末3の認証を行うための認証通信が開始される。認証通信が開始されると、錠側制御回路21は、携帯電話端末3の識別情報と鍵情報とを要求する要求信号を錠側通信部23から携帯電話端末3に送信する。鍵側制御回路31は、鍵側通信部32が要求信号を受信すると、電気錠装置2の識別情報に対応した鍵情報と携帯電話端末3の識別情報とを記憶部34から読み出し、識別情報及び鍵情報を含む応答信号を鍵側通信部32から電気錠装置2に送信する。 When the lock-side communication unit 23 receives the ACK from the key-side communication unit 32, the lock-side communication unit 23 outputs the received ACK to the lock-side control circuit 21. Then, when the lock side control circuit 21 receives the ACK, the authentication communication for authenticating the mobile phone terminal 3 is started. When the authentication communication is started, the lock side control circuit 21 transmits a request signal requesting the identification information and the key information of the mobile phone terminal 3 from the lock side communication unit 23 to the mobile phone terminal 3. When the key-side communication unit 32 receives the request signal, the key-side control circuit 31 reads out the key information corresponding to the identification information of the electric lock device 2 and the identification information of the mobile phone terminal 3 from the storage unit 34, and reads the identification information and the identification information. A response signal including the key information is transmitted from the key side communication unit 32 to the electric lock device 2.

錠側制御回路21は、錠側通信部23が応答信号を受信すると、応答信号に含まれている識別情報及び鍵情報を、記憶部24に記憶されている認証情報と照合することによって、携帯電話端末3の認証を行う。錠側制御回路21は、携帯電話端末3の認証に成功すると、操作部25の操作入力(操作信号)を有効にする。言い換えると、携帯電話端末3の認証に成功するまでは、操作部25の操作入力は無効になっている。したがって、錠側制御回路21は、使用者により操作部25が操作されても、携帯電話端末3の認証に成功するまでは操作部25からの操作信号を受け付けない。 When the lock-side communication unit 23 receives the response signal, the lock-side control circuit 21 carries the identification information and the key information contained in the response signal by collating with the authentication information stored in the storage unit 24. Authenticate the telephone terminal 3. When the mobile phone terminal 3 is successfully authenticated, the lock side control circuit 21 enables the operation input (operation signal) of the operation unit 25. In other words, the operation input of the operation unit 25 is invalid until the authentication of the mobile phone terminal 3 is successful. Therefore, even if the operation unit 25 is operated by the user, the lock side control circuit 21 does not accept the operation signal from the operation unit 25 until the authentication of the mobile phone terminal 3 is successful.

操作部25の操作入力が有効な状態で使用者が操作部25を操作すると、錠側制御部212は、操作部25からの操作信号に従って解錠信号を生成する。錠側制御部212で生成された解錠信号は電気錠22の駆動回路に入力される。駆動回路は、解錠信号に従ってデッドボルトを解錠位置に移動させる駆動信号を生成し、生成した駆動信号を駆動部に出力する。そして、駆動部は、駆動回路からの駆動信号に従ってデッドボルトを解錠位置に移動させる。デッドボルトが解錠位置に移動した状態では、玄関扉を開けることができ、携帯電話端末3の使用者は玄関扉を開けて、建物の中に入ることができる。 When the user operates the operation unit 25 while the operation input of the operation unit 25 is valid, the lock side control unit 212 generates an unlocking signal according to the operation signal from the operation unit 25. The unlocking signal generated by the lock side control unit 212 is input to the drive circuit of the electric lock 22. The drive circuit generates a drive signal for moving the dead bolt to the unlock position according to the unlock signal, and outputs the generated drive signal to the drive unit. Then, the drive unit moves the dead bolt to the unlocking position according to the drive signal from the drive circuit. When the dead bolt is moved to the unlocked position, the entrance door can be opened, and the user of the mobile phone terminal 3 can open the entrance door and enter the building.

ここにおいて、電気錠装置2は、玄関扉の開閉を検知する開閉センサを備えてもよい。錠側制御部212は、デッドボルトを解錠位置に移動させた後に、開閉センサによって玄関扉が閉まったことを検知すると、施錠信号を電気錠22の駆動回路に出力する。電気錠22の駆動回路は施錠信号にしたがってデッドボルトを施錠位置に移動させるので、玄関扉を自動的に施錠することができる。 Here, the electric lock device 2 may include an open / close sensor that detects the opening / closing of the front door. After moving the dead bolt to the unlocking position, the lock side control unit 212 outputs a lock signal to the drive circuit of the electric lock 22 when it detects that the entrance door is closed by the open / close sensor. Since the drive circuit of the electric lock 22 moves the dead bolt to the locking position according to the locking signal, the entrance door can be automatically locked.

本実施形態の電気錠システム1では、電気錠装置2から送信されるビーコン信号の検知エリアに携帯電話端末3が入って携帯電話端末3からACKを受信した時点で携帯電話端末3の認証を開始するように構成されている。そのため、使用者が操作部25を操作する時点では携帯電話端末3の認証が終了している可能性が高く、使用者が操作部25を操作した時点で電気錠22を施錠又は解錠することが可能である。 In the electric lock system 1 of the present embodiment, authentication of the mobile phone terminal 3 is started when the mobile phone terminal 3 enters the detection area of the beacon signal transmitted from the electric lock device 2 and receives an ACK from the mobile phone terminal 3. It is configured to do. Therefore, there is a high possibility that the authentication of the mobile phone terminal 3 has been completed when the user operates the operation unit 25, and the electric lock 22 is locked or unlocked when the user operates the operation unit 25. Is possible.

また、本実施形態の電気錠システム1では、携帯電話端末3の認証に成功するまでは操作部25の操作入力(操作信号)が無効になっている。したがって、電気錠装置2に登録済みの携帯電話端末3を所持していない人によって、電気錠22が解錠されるリスクを低減することができる。 Further, in the electric lock system 1 of the present embodiment, the operation input (operation signal) of the operation unit 25 is invalid until the authentication of the mobile phone terminal 3 is successful. Therefore, it is possible to reduce the risk that the electric lock 22 is unlocked by a person who does not have the mobile phone terminal 3 registered in the electric lock device 2.

(3)変形例
以下に、上記実施形態の変形例に係る電気錠システムを列記する。なお、以下に説明する変形例の各構成は、上記実施形態で説明した各構成と適宜組み合わせて適用可能である。
(3) Modified Examples The electric lock systems according to the modified examples of the above-described embodiment are listed below. It should be noted that each configuration of the modification described below can be applied in combination with each configuration described in the above embodiment as appropriate.

(3.1)変形例1
上記の実施形態では、電気錠装置2の動作モードが制御モードから登録モードに切り替えられた状態で、1台の携帯電話端末3を電気錠装置2に登録しているが、複数台の携帯電話端末3を電気錠装置2に登録してもよい。
(3.1) Modification 1
In the above embodiment, one mobile phone terminal 3 is registered in the electric lock device 2 in a state where the operation mode of the electric lock device 2 is switched from the control mode to the registration mode, but a plurality of mobile phones The terminal 3 may be registered in the electric lock device 2.

この場合の登録動作について図4を参照して説明する。図4のシーケンス図は、電気錠装置2が制御モードから登録モードに切り替えられた状態で、2台の携帯電話端末3A,3Bが電気錠装置2に登録される場合の動作を示している。 The registration operation in this case will be described with reference to FIG. The sequence diagram of FIG. 4 shows an operation when two mobile phone terminals 3A and 3B are registered in the electric lock device 2 in a state where the electric lock device 2 is switched from the control mode to the registration mode.

電気錠システム1の使用者が、2台の携帯電話端末3A,3Bを電気錠装置2に登録する場合、電気錠装置2の動作モードを制御モードから登録モードに切り替える。すなわち、使用者は、携帯電話端末3A,3Bを電気錠装置2と通信可能な距離(第1通信可能距離以下の距離)に置いた状態で、動作モードを制御モードから登録モードに切り替えるために、電気錠装置2のモード切替スイッチ26を操作する(ステップS21)。本実施形態では、モード切替スイッチ26が所定時間以上連続して押されると、錠側制御回路21は動作モードを制御モードから登録モードに切り替える(ステップS22)。 When the user of the electric lock system 1 registers the two mobile phone terminals 3A and 3B in the electric lock device 2, the operation mode of the electric lock device 2 is switched from the control mode to the registration mode. That is, in order for the user to switch the operation mode from the control mode to the registration mode while the mobile phone terminals 3A and 3B are placed at a distance capable of communicating with the electric lock device 2 (a distance equal to or less than the first communicable distance). , The mode changeover switch 26 of the electric lock device 2 is operated (step S21). In the present embodiment, when the mode changeover switch 26 is continuously pressed for a predetermined time or longer, the lock side control circuit 21 switches the operation mode from the control mode to the registration mode (step S22).

錠側制御回路21は、動作モードが制御モードから登録モードに切り替えられると、錠側通信部23の送信出力を、制御モードでの送信出力の設定値よりも低い値に制限する(ステップS23)。本実施形態では、登録モードでの錠側通信部23の送信出力の設定値(第1設定値)を、制御モードでの錠側通信部23の送信出力の設定値(第2設定値)よりも20dB低い値に制限している。これにより、電気錠装置2と携帯電話端末3との通信可能距離は、制御モードにおける第2通信可能距離(例えば10m程度)から、登録モードにおける第1通信可能距離(例えば1m程度)に制限される。 When the operation mode is switched from the control mode to the registration mode, the lock-side control circuit 21 limits the transmission output of the lock-side communication unit 23 to a value lower than the set value of the transmission output in the control mode (step S23). .. In the present embodiment, the set value (first set value) of the transmission output of the lock side communication unit 23 in the registration mode is set from the set value (second set value) of the transmission output of the lock side communication unit 23 in the control mode. Is also limited to a value 20 dB lower. As a result, the communicable distance between the electric lock device 2 and the mobile phone terminal 3 is limited from the second communicable distance in the control mode (for example, about 10 m) to the first communicable distance in the registration mode (for example, about 1 m). To.

錠側制御回路21は、登録モードで動作を開始すると、携帯電話端末3の動作モードを登録モードとするよう要求する要求信号を錠側通信部23からブロードキャストで送信する(ステップS24)。 When the lock-side control circuit 21 starts operation in the registration mode, the lock-side communication unit 23 broadcasts a request signal requesting that the operation mode of the mobile phone terminal 3 be the registration mode (step S24).

携帯電話端末3A,3Bの鍵側制御回路31は、携帯電話端末3A,3Bを電気錠装置2の鍵として動作させるための電気錠用プログラム(アプリ)をバックグラウンドで実行している。 The key side control circuit 31 of the mobile phone terminals 3A and 3B executes an electric lock program (app) for operating the mobile phone terminals 3A and 3B as a key of the electric lock device 2 in the background.

携帯電話端末3(3A,3B)の鍵側通信部32は、当該携帯電話端末3と電気錠装置2との距離が第1通信可能距離以下であれば、電気錠装置2の錠側通信部23が送信した要求信号を受信することができる。使用者は、電気錠装置2と通信可能な範囲に2台の携帯電話端末3A,3Bを配置しており、携帯電話端末3A,3Bが、電気錠装置2の錠側通信部23によって送信された要求信号を受信する。 The key-side communication unit 32 of the mobile phone terminal 3 (3A, 3B) is the lock-side communication unit of the electric lock device 2 if the distance between the mobile phone terminal 3 and the electric lock device 2 is equal to or less than the first communicable distance. The request signal transmitted by the 23 can be received. The user arranges two mobile phone terminals 3A and 3B within a range capable of communicating with the electric lock device 2, and the mobile phone terminals 3A and 3B are transmitted by the lock side communication unit 23 of the electric lock device 2. Receive the request signal.

携帯電話端末3A,3Bの鍵側通信部32が要求信号を受信すると、鍵側制御回路31は、動作モードを登録モードに設定するために操作するモード切替ボタン(アイコン)を表示部33に表示する(ステップS25,S26)。 When the key-side communication unit 32 of the mobile phone terminals 3A and 3B receives the request signal, the key-side control circuit 31 displays a mode switching button (icon) to be operated to set the operation mode to the registration mode on the display unit 33. (Steps S25 and S26).

使用者が携帯電話端末3A,3Bの表示部33に表示されたモード切替ボタンを操作しなければ、鍵側制御回路31は、所定の待機時間が経過した後にモード切替ボタンの表示を終了し、動作モードを登録モードに移行しない。電気錠装置2の錠側通信部23が、要求信号の送信時点から一定時間が経過するまでの間に、携帯電話端末3A,3Bから応答信号を受信しなければ、錠側制御回路21は動作モードを登録モードから制御モードに切り替えて、携帯電話端末3の登録処理を終了する。 If the user does not operate the mode switching button displayed on the display unit 33 of the mobile phone terminals 3A and 3B, the key side control circuit 31 ends the display of the mode switching button after the predetermined standby time has elapsed. The operation mode is not changed to the registration mode. If the lock-side communication unit 23 of the electric lock device 2 does not receive a response signal from the mobile phone terminals 3A and 3B within a certain period of time from the time when the request signal is transmitted, the lock-side control circuit 21 operates. The mode is switched from the registration mode to the control mode, and the registration process of the mobile phone terminal 3 is completed.

図4の例では使用者はまず携帯電話端末3Aを電気錠装置2に登録する。 In the example of FIG. 4, the user first registers the mobile phone terminal 3A in the electric lock device 2.

使用者が携帯電話端末3Aの表示部33に表示されたモード切替ボタンのタップ操作を行うと(ステップS27)、鍵側制御回路31は、操作部35からの入力信号に基づいて動作モードを登録モードに設定する(ステップS28)。携帯電話端末3Aの鍵側制御回路31は登録モードで動作を開始すると、鍵側通信部32の送信出力を通常モードにおける第2設定値から、登録モードにおける第1設定値に低下させる。これにより、携帯電話端末3Aにおいても、携帯電話端末3Aと電気錠装置2との通信可能距離が、通常モードにおける第2通信可能距離から、登録モードにおける第1通信可能距離に制限される(ステップS29)。 When the user taps the mode switching button displayed on the display unit 33 of the mobile phone terminal 3A (step S27), the key side control circuit 31 registers the operation mode based on the input signal from the operation unit 35. Set to the mode (step S28). When the key side control circuit 31 of the mobile phone terminal 3A starts operation in the registration mode, the transmission output of the key side communication unit 32 is reduced from the second set value in the normal mode to the first set value in the registration mode. As a result, also in the mobile phone terminal 3A, the communicable distance between the mobile phone terminal 3A and the electric lock device 2 is limited from the second communicable distance in the normal mode to the first communicable distance in the registration mode (step). S29).

携帯電話端末3Aの鍵側制御回路31は、鍵側通信部32の送信出力を低下させた状態で、要求信号に対する応答信号と、記憶部34から読み出した識別情報とを、鍵側通信部32から電気錠装置2に送信する(ステップS30)。 The key-side control circuit 31 of the mobile phone terminal 3A converts the response signal to the request signal and the identification information read from the storage unit 34 into the key-side communication unit 32 in a state where the transmission output of the key-side communication unit 32 is reduced. To the electric lock device 2 (step S30).

電気錠装置2の錠側制御回路21は、要求信号の送信時から一定時間内に錠側通信部23が応答信号を受信すると、応答信号を送信してきた携帯電話端末3Aを登録する処理を行う。すなわち、電気錠装置2の錠側制御回路21は、応答信号を送信してきた携帯電話端末3Aに付与する鍵情報を作成し、この鍵情報と電気錠装置2の識別情報とを錠側通信部23から携帯電話端末3Aにユニキャストで送信する(ステップS31)。電気錠装置2の錠側制御回路21は、携帯電話端末3Aの識別情報と鍵情報とを対応付けて記憶部24に記憶することで、解錠操作及び施錠操作を許可する端末として携帯電話端末3Aを登録する(ステップS32)。 When the lock-side communication unit 23 receives the response signal within a certain period of time from the time when the request signal is transmitted, the lock-side control circuit 21 of the electric lock device 2 performs a process of registering the mobile phone terminal 3A that has transmitted the response signal. .. That is, the lock side control circuit 21 of the electric lock device 2 creates key information to be given to the mobile phone terminal 3A that has transmitted the response signal, and the key information and the identification information of the electric lock device 2 are combined with the lock side communication unit. A unicast transmission is performed from 23 to the mobile phone terminal 3A (step S31). The lock side control circuit 21 of the electric lock device 2 stores the identification information of the mobile phone terminal 3A and the key information in the storage unit 24 in association with each other, so that the mobile phone terminal can be used as a terminal for permitting the unlocking operation and the locking operation. Register 3A (step S32).

一方、携帯電話端末3Aの鍵側通信部32が電気錠装置2から当該電気錠装置2の識別情報と鍵情報とを受信すると、携帯電話端末3Aの鍵側制御回路31は、電気錠装置2の識別情報と鍵情報とを対応付けて記憶部34に記憶する(ステップS33)。また、携帯電話端末3Aの鍵側制御回路31は、登録モードでの動作状態を示す表示内容を表示部33に表示する(ステップS34)。ここで、登録モードでの動作状態を示す表示内容とは、例えば、登録モードを実行中であることの表示、電気錠装置2の識別情報などである。携帯電話端末3Aの使用者は、表示部33の表示内容に基づいて、携帯電話端末3Aを電気錠装置2に登録中であることなどの情報を、確認することができる。また、電気錠装置2の錠側制御回路21が、登録する携帯電話端末3の台数の情報(台数情報)を錠側通信部23から携帯電話端末3Aに送信しており、表示部33が電気錠装置2に登録される携帯電話端末3の台数を表示している。 On the other hand, when the key-side communication unit 32 of the mobile phone terminal 3A receives the identification information and the key information of the electric lock device 2 from the electric lock device 2, the key-side control circuit 31 of the mobile phone terminal 3A receives the electric lock device 2. The identification information and the key information of the above are associated with each other and stored in the storage unit 34 (step S33). Further, the key side control circuit 31 of the mobile phone terminal 3A displays the display content indicating the operating state in the registration mode on the display unit 33 (step S34). Here, the display contents indicating the operating state in the registration mode include, for example, a display indicating that the registration mode is being executed, identification information of the electric lock device 2, and the like. The user of the mobile phone terminal 3A can confirm information such as that the mobile phone terminal 3A is being registered in the electric lock device 2 based on the display content of the display unit 33. Further, the lock side control circuit 21 of the electric lock device 2 transmits information (number information) of the number of mobile phone terminals 3 to be registered from the lock side communication unit 23 to the mobile phone terminal 3A, and the display unit 33 is electric. The number of mobile phone terminals 3 registered in the lock device 2 is displayed.

携帯電話端末3Aの鍵側制御回路31は、電気錠装置2の識別情報と鍵情報とを記憶部34に記憶すると、登録処理を行ったことを示す実施情報を鍵側通信部32から電気錠装置2に送信する(ステップS35)。電気錠装置2の錠側通信部23が携帯電話端末3Aから実施情報を受信すると、錠側制御回路21は携帯電話端末3Aでの登録処理が完了したと判断する。 When the key side control circuit 31 of the mobile phone terminal 3A stores the identification information and the key information of the electric lock device 2 in the storage unit 34, the key side communication unit 32 electronically locks the execution information indicating that the registration process has been performed. It is transmitted to the device 2 (step S35). When the lock-side communication unit 23 of the electric lock device 2 receives the execution information from the mobile phone terminal 3A, the lock-side control circuit 21 determines that the registration process at the mobile phone terminal 3A is completed.

使用者は携帯電話端末3Aを電気錠装置2に登録すると、携帯電話端末3Bを電気錠装置2に登録する。使用者が携帯電話端末3Bの表示部33に表示されたモード切替ボタンのタップ操作を行うと(ステップS36)、鍵側制御回路31は、操作部35からの入力信号に基づいて動作モードを登録モードに設定する(ステップS37)。携帯電話端末3Bの鍵側制御回路31は登録モードで動作を開始すると、通信可能距離を通常モードでの第2通信可能距離から登録モードでの第1通信可能距離に短くするように、送信出力を低下する(ステップS38)。 When the user registers the mobile phone terminal 3A in the electric lock device 2, the user registers the mobile phone terminal 3B in the electric lock device 2. When the user taps the mode switching button displayed on the display unit 33 of the mobile phone terminal 3B (step S36), the key side control circuit 31 registers the operation mode based on the input signal from the operation unit 35. Set to the mode (step S37). When the key side control circuit 31 of the mobile phone terminal 3B starts operation in the registration mode, the transmission output is shortened so that the communicable distance is shortened from the second communicable distance in the normal mode to the first communicable distance in the registration mode. (Step S38).

携帯電話端末3Bの鍵側制御回路31は、鍵側通信部32の送信出力を低下させた状態で、要求信号に対する応答信号と、記憶部34から読み出した識別情報とを、鍵側通信部32から電気錠装置2に送信する(ステップS39)。 The key-side control circuit 31 of the mobile phone terminal 3B converts the response signal to the request signal and the identification information read from the storage unit 34 into the key-side communication unit 32 in a state where the transmission output of the key-side communication unit 32 is reduced. To the electric lock device 2 (step S39).

電気錠装置2の錠側制御回路21は、要求信号の送信時から一定時間内に錠側通信部23が応答信号を受信すると、応答信号を送信してきた携帯電話端末3Bを登録する処理を行う。すなわち、電気錠装置2の錠側制御回路21は、応答信号を送信してきた携帯電話端末3Bに付与する鍵情報を作成し、この鍵情報と電気錠装置2の識別情報とを錠側通信部23から携帯電話端末3Bにユニキャストで送信する(ステップS40)。電気錠装置2の錠側制御回路21は、携帯電話端末3Bの識別情報と鍵情報とを対応付けて記憶部24に記憶することで、解錠操作及び施錠操作を許可する端末として携帯電話端末3Bを登録する(ステップS41)。 When the lock-side communication unit 23 receives the response signal within a certain period of time from the time when the request signal is transmitted, the lock-side control circuit 21 of the electric lock device 2 performs a process of registering the mobile phone terminal 3B that has transmitted the response signal. .. That is, the lock side control circuit 21 of the electric lock device 2 creates key information to be given to the mobile phone terminal 3B that has transmitted the response signal, and the key information and the identification information of the electric lock device 2 are combined with the lock side communication unit. The unicast is transmitted from 23 to the mobile phone terminal 3B (step S40). The lock side control circuit 21 of the electric lock device 2 stores the identification information of the mobile phone terminal 3B and the key information in the storage unit 24 in association with each other, so that the mobile phone terminal can be used as a terminal for permitting the unlocking operation and the locking operation. Register 3B (step S41).

一方、携帯電話端末3Bの鍵側通信部32が電気錠装置2から当該電気錠装置2の識別情報と鍵情報とを受信すると、携帯電話端末3Bの鍵側制御回路31は、電気錠装置2の識別情報と鍵情報とを対応付けて記憶部34に記憶する(ステップS42)。また、携帯電話端末3Bの鍵側制御回路31は、登録モードでの動作状態を示す表示内容を表示部33に表示する(ステップS43)。ここで、登録モードでの動作状態を示す表示内容とは、例えば、登録モードを実行中であることの表示、電気錠装置2に登録される携帯電話端末3の台数、電気錠装置2の識別情報などである。携帯電話端末3Bの使用者は、表示部33の表示内容に基づいて、携帯電話端末3Bを電気錠装置2に登録中であることなどの情報を、確認することができる。また、表示部33には電気錠装置2に登録された携帯電話端末3の台数(ここでは2台)が表示されており、携帯電話端末3Bの使用者は表示部33に表示された台数をもとに、意図しない携帯情報端末が登録されていないかを確認することができる。 On the other hand, when the key-side communication unit 32 of the mobile phone terminal 3B receives the identification information and the key information of the electric lock device 2 from the electric lock device 2, the key-side control circuit 31 of the mobile phone terminal 3B receives the electric lock device 2. The identification information and the key information of the above are associated with each other and stored in the storage unit 34 (step S42). Further, the key side control circuit 31 of the mobile phone terminal 3B displays the display content indicating the operating state in the registration mode on the display unit 33 (step S43). Here, the display contents indicating the operating state in the registration mode include, for example, a display indicating that the registration mode is being executed, the number of mobile phone terminals 3 registered in the electric lock device 2, and identification of the electric lock device 2. Information etc. The user of the mobile phone terminal 3B can confirm information such as that the mobile phone terminal 3B is being registered in the electric lock device 2 based on the display content of the display unit 33. Further, the display unit 33 displays the number of mobile phone terminals 3 (here, two) registered in the electric lock device 2, and the user of the mobile phone terminal 3B displays the number displayed on the display unit 33. Based on this, it is possible to confirm whether or not an unintended mobile information terminal is registered.

携帯電話端末3Bの鍵側制御回路31は、電気錠装置2の識別情報と鍵情報とを記憶部34に記憶すると、登録処理を行ったことを示す実施情報を鍵側通信部32から電気錠装置2に送信する(ステップS44)。 When the key side control circuit 31 of the mobile phone terminal 3B stores the identification information and the key information of the electric lock device 2 in the storage unit 34, the key side communication unit 32 electronically locks the execution information indicating that the registration process has been performed. It is transmitted to the device 2 (step S44).

電気錠装置2の錠側通信部23が携帯電話端末3Bから実施情報を受信すると、錠側制御回路21は携帯電話端末3Bでの登録処理が完了したと判断する。 When the lock-side communication unit 23 of the electric lock device 2 receives the execution information from the mobile phone terminal 3B, the lock-side control circuit 21 determines that the registration process at the mobile phone terminal 3B has been completed.

その後、電気錠装置2の錠側通信部23が携帯電話端末3からの要求信号を一定時間以上受信できなければ、錠側制御回路21は携帯電話端末3の登録処理が完了したと判断する(ステップS45)。電気錠装置2の錠側制御回路21は、登録処理の完了を通知する通知信号を錠側通信部23から携帯電話端末3A,3Bに送信する(ステップS46)。 After that, if the lock-side communication unit 23 of the electric lock device 2 cannot receive the request signal from the mobile phone terminal 3 for a certain period of time or longer, the lock-side control circuit 21 determines that the registration process of the mobile phone terminal 3 is completed ( Step S45). The lock-side control circuit 21 of the electric lock device 2 transmits a notification signal notifying the completion of the registration process from the lock-side communication unit 23 to the mobile phone terminals 3A and 3B (step S46).

ここで、携帯電話端末3Aの鍵側通信部32が電気錠装置2から通知信号を受信すると、鍵側制御回路31は、電気錠装置2に登録されたことを示す登録完了表示を表示部33に表示させる(ステップS47)。携帯電話端末3Aの鍵側制御回路31は、動作モードを登録モードから通常の制御モードに切り替え、通信可能距離を登録モードにおける第1通信可能距離から制御モードにおける第2通信可能距離に切り替えるように、鍵側通信部32の送信出力を増加する。 Here, when the key-side communication unit 32 of the mobile phone terminal 3A receives the notification signal from the electric lock device 2, the key-side control circuit 31 displays a registration completion display indicating that it has been registered in the electric lock device 2. Is displayed (step S47). The key side control circuit 31 of the mobile phone terminal 3A switches the operation mode from the registration mode to the normal control mode, and switches the communicable distance from the first communicable distance in the registration mode to the second communicable distance in the control mode. , The transmission output of the key side communication unit 32 is increased.

同様に、携帯電話端末3Bの鍵側通信部32が電気錠装置2から通知信号を受信すると、鍵側制御回路31は、電気錠装置2に登録されたことを示す登録完了表示を表示部33に表示させる(ステップS48)。携帯電話端末3Bの鍵側制御回路31は、動作モードを登録モードから通常の制御モードに切り替え、通信可能距離を登録モードにおける第1通信可能距離から制御モードにおける第2通信可能距離に切り替えるように、鍵側通信部32の送信出力を増加する。 Similarly, when the key-side communication unit 32 of the mobile phone terminal 3B receives the notification signal from the electric lock device 2, the key-side control circuit 31 displays a registration completion display indicating that the mobile phone terminal 3B has been registered in the electric lock device 2. Is displayed (step S48). The key side control circuit 31 of the mobile phone terminal 3B switches the operation mode from the registration mode to the normal control mode, and switches the communicable distance from the first communicable distance in the registration mode to the second communicable distance in the control mode. , The transmission output of the key side communication unit 32 is increased.

また、電気錠装置2の錠側制御回路21は、登録処理が終了したと判断すると、動作モードを登録モードから制御モードに切り替える。電気錠装置2の錠側制御回路21は、通信可能距離を登録モードにおける第1通信可能距離から制御モードにおける第2通信可能距離に切り替えるように、錠側通信部23の送信出力を増加させる。ここで、電気錠装置2の錠側制御回路21は、登録処理が終了したと判断すると、動作モードを登録モードから制御モードに自動的に切り替えてもよいし、モード切替スイッチ26が操作されると、登録モードから制御モードに自動的に切り替えてもよい。 Further, when the lock side control circuit 21 of the electric lock device 2 determines that the registration process is completed, the operation mode is switched from the registration mode to the control mode. The lock-side control circuit 21 of the electric lock device 2 increases the transmission output of the lock-side communication unit 23 so as to switch the communicable distance from the first communicable distance in the registration mode to the second communicable distance in the control mode. Here, when the lock side control circuit 21 of the electric lock device 2 determines that the registration process is completed, the operation mode may be automatically switched from the registration mode to the control mode, or the mode changeover switch 26 is operated. Then, the registration mode may be automatically switched to the control mode.

ところで、電気錠装置2はリセットスイッチ27を備えており、リセットスイッチ27が操作されると、錠側制御回路21は記憶部24に記憶された認証情報を消去する。携帯電話端末3の設定ミスが発生したり、意図しない携帯情報端末が電気錠装置2に登録されたと使用者が判断した場合、使用者はリセットスイッチ27を用いて所定の操作を行う。例えば、使用者がリセットスイッチ27を所定の時間以上連続して押し続けると、錠側制御回路21は、記憶部24に記憶された認証情報を消去しており、携帯電話端末3の登録作業をやり直すことができる。 By the way, the electric lock device 2 includes a reset switch 27, and when the reset switch 27 is operated, the lock side control circuit 21 erases the authentication information stored in the storage unit 24. When a setting error of the mobile phone terminal 3 occurs or the user determines that an unintended mobile information terminal is registered in the electric lock device 2, the user performs a predetermined operation by using the reset switch 27. For example, when the user keeps pressing the reset switch 27 continuously for a predetermined time or longer, the lock side control circuit 21 erases the authentication information stored in the storage unit 24, and the registration work of the mobile phone terminal 3 is performed. You can start over.

(3.2)変形例2
実施形態及び変形例1の電気錠システム1において、登録モードにおいて登録される携帯電話端末3の台数である登録予定台数を電気錠装置2に設定してもよい。例えば、使用者が、電気錠装置2に登録する携帯電話端末3の操作部35を用いて登録予定台数を入力すると、携帯電話端末3から電気錠装置2に登録予定台数の情報が送信される。
(3.2) Modification 2
In the electric lock system 1 of the embodiment and the modification 1, the number of mobile phone terminals 3 registered in the registration mode, which is the number of planned registrations, may be set in the electric lock device 2. For example, when the user inputs the planned number of registered units using the operation unit 35 of the mobile phone terminal 3 registered in the electric lock device 2, the information on the planned number of registered numbers is transmitted from the mobile phone terminal 3 to the electric lock device 2. ..

電気錠装置2の錠側制御回路21の動作モードが制御モードから登録モードに切り替えられると、錠側通信部23が要求信号を送信し、電気錠装置2との距離が第1通信可能距離L1以下である全ての携帯電話端末3から応答信号を送信させる。このとき、電気錠装置2の錠側制御回路21は、錠側通信部23が応答信号を受信した携帯電話端末3の台数と、登録予定台数とを比較する。電気錠装置2の錠側制御回路21は、電気錠装置2との距離が第1通信可能距離以下である携帯電話端末3の台数が登録予定台数と異なるときは、錠側通信部23と鍵側通信部32との無線通信の通信可能距離を第1通信可能距離よりも短い第3通信可能距離に設定する。 When the operation mode of the lock side control circuit 21 of the electric lock device 2 is switched from the control mode to the registration mode, the lock side communication unit 23 transmits a request signal, and the distance from the electric lock device 2 is the first communicable distance L1. Response signals are transmitted from all of the following mobile phone terminals 3. At this time, the lock-side control circuit 21 of the electric lock device 2 compares the number of mobile phone terminals 3 for which the lock-side communication unit 23 has received the response signal with the number of planned registrations. When the number of mobile phone terminals 3 whose distance from the electric lock device 2 is equal to or less than the first communicable distance is different from the planned number to be registered, the lock side control circuit 21 of the electric lock device 2 has a key with the lock side communication unit 23. The communicable distance of wireless communication with the side communication unit 32 is set to a third communicable distance shorter than the first communicable distance.

これにより、電気錠装置2と通信可能な携帯電話端末3を制限でき、意図しない携帯電話端末3が電気錠装置2に誤登録される可能性を低減できる。 As a result, the mobile phone terminal 3 capable of communicating with the electric lock device 2 can be limited, and the possibility that an unintended mobile phone terminal 3 is erroneously registered in the electric lock device 2 can be reduced.

(3.3)その他の変形例
上記の実施形態及び変形例1では、携帯情報端末がスマートホンのような携帯電話端末3であるが、携帯情報端末に電話機能は必須ではなく、携帯情報端末は電気錠用プログラムがインストールされたタブレット端末でもよい。
(3.3) Other Modified Examples In the above-described embodiment and modified example 1, the mobile information terminal is a mobile phone terminal 3 such as a smart phone, but the mobile information terminal does not have a telephone function and is a mobile information terminal. May be a tablet terminal on which an electric lock program is installed.

上記の実施形態及び変形例1では、携帯電話端末3の鍵側通信部32が電気錠装置2から要求信号を受信すると、鍵側制御回路31が登録モードに切り替えるためのモード切替ボタンを表示部33に表示しているが、携帯電話端末3の動作はこれに限定されない。すなわち、携帯電話端末3の使用者が、操作部35を操作して電気錠用プログラムを起動し、所定の操作を行って、携帯電話端末3の動作モードを登録モードに切り替えてもよい。 In the above embodiment and the first modification, when the key side communication unit 32 of the mobile phone terminal 3 receives the request signal from the electric lock device 2, the key side control circuit 31 displays a mode switching button for switching to the registration mode. Although it is displayed in 33, the operation of the mobile phone terminal 3 is not limited to this. That is, the user of the mobile phone terminal 3 may operate the operation unit 35 to activate the electric lock program and perform a predetermined operation to switch the operation mode of the mobile phone terminal 3 to the registration mode.

上記の実施形態及び変形例1では、登録モードでの第1通信可能距離L1を、操作時の第2通信可能距離L2より短くするために、錠側通信部23及び鍵側通信部32の両方で送信出力を低下させているが、少なくとも錠側通信部23で送信出力を低下させればよい。 In the above embodiment and the first modification, both the lock-side communication unit 23 and the key-side communication unit 32 are used in order to make the first communicable distance L1 in the registration mode shorter than the second communicable distance L2 during operation. Although the transmission output is reduced by, at least the lock side communication unit 23 may reduce the transmission output.

また、上記の実施形態及び変形例1において、錠側通信部23及び鍵側通信部32の送信出力を変化させる代わりに、受信感度を変化させることで、登録モードでの第1通信可能距離L1を、操作時の第2通信可能距離L2より短くしてもよい。この場合、錠側通信部23及び鍵側通信部32の両方で受信感度を低下させる必要はなく、少なくとも錠側通信部23で受信感度を低下させればよい。 Further, in the above embodiment and the first modification, the first communicable distance L1 in the registration mode is changed by changing the reception sensitivity instead of changing the transmission output of the lock side communication unit 23 and the key side communication unit 32. May be shorter than the second communicable distance L2 at the time of operation. In this case, it is not necessary for both the lock-side communication unit 23 and the key-side communication unit 32 to reduce the reception sensitivity, and at least the lock-side communication unit 23 may reduce the reception sensitivity.

また、錠側通信部23及び鍵側通信部32の送信出力と受信感度とをそれぞれ変化させることで、登録モードでの第1通信可能距離L1を、制御モードでの第2通信可能距離L2より短くしてもよい。この場合も、錠側通信部23及び鍵側通信部32の両方で送信出力と受信感度とをそれぞれ変化させる必要はなく、少なくとも錠側通信部23で両方で送信出力と受信感度とを変化させればよい。 Further, by changing the transmission output and the reception sensitivity of the lock-side communication unit 23 and the key-side communication unit 32, the first communicable distance L1 in the registration mode can be changed from the second communicable distance L2 in the control mode. It may be shortened. In this case as well, it is not necessary for both the lock-side communication unit 23 and the key-side communication unit 32 to change the transmission output and the reception sensitivity, respectively, and at least the lock-side communication unit 23 changes the transmission output and the reception sensitivity. Just do it.

また、電気錠装置2の本体にモード切替スイッチ26は取り付けられているが、モード切替スイッチ26を覆う扉が電気錠装置2の本体に設けられてもよい。扉は本体に対して開閉可能な状態で取り付けられており、モード切替スイッチ26を操作しないときには、モード切替スイッチ26が扉で覆われているので、モード切替スイッチ26が意図せずに操作される可能性が低下する。 Further, although the mode changeover switch 26 is attached to the main body of the electric lock device 2, a door covering the mode changeover switch 26 may be provided in the main body of the electric lock device 2. The door is attached to the main body in a state where it can be opened and closed, and when the mode changeover switch 26 is not operated, the mode changeover switch 26 is covered with the door, so that the mode changeover switch 26 is operated unintentionally. Possibility decreases.

本実施形態の電気錠システム1では、携帯電話端末3が、電気錠22の解錠及び施錠の両方の操作を行うことができるが、携帯電話端末3は、電気錠22の解錠及び施錠の一方の操作だけを行うものでもよい。 In the electric lock system 1 of the present embodiment, the mobile phone terminal 3 can perform both unlocking and locking of the electric lock 22, but the mobile phone terminal 3 unlocks and locks the electric lock 22. It may be the one that performs only one operation.

本実施形態の電気錠システム1は戸建て住宅に適用されているが、集合住宅の各住戸に適用されてもよいし、例えば事務所、店舗、又は工場などの非住宅用の建物に適用されてもよい。 Although the electric lock system 1 of the present embodiment is applied to a detached house, it may be applied to each dwelling unit of an apartment house, or is applied to a non-residential building such as an office, a store, or a factory. May be good.

本実施形態の電気錠システム1は建物に設けられた玄関扉を電動で解錠及び施錠するためのシステムであるが、建物内の部屋の壁に設けられた扉を電動で解錠及び施錠するためのシステムでもよい。ここにおいて、扉は開き戸でもよいし、引き戸でもよい。 The electric lock system 1 of the present embodiment is a system for electrically unlocking and locking the entrance door provided in the building, but electrically unlocks and locks the door provided on the wall of the room in the building. It may be a system for. Here, the door may be a hinged door or a sliding door.

(4)まとめ
以上説明したように、第1の態様の電気錠システム1は、電気錠22を制御する電気錠装置2と、電気錠22の解錠及び施錠の少なくとも一方の操作を行うための携帯電話端末3とを備える。携帯電話端末3は、操作を行うために鍵情報を電気錠装置2へ無線送信する第1通信部(鍵側通信部32)を備える。電気錠装置2は、第2通信部(錠側通信部23)と、記憶部24と、認証部211と、錠側制御部212とを備える。第2通信部は携帯電話端末3との間で無線通信を行う。記憶部24は、操作を許可する1以上の携帯電話端末3の鍵情報を認証情報として記憶する。認証部211は、第2通信部が携帯電話端末3から受信した鍵情報を記憶部24に記憶された認証情報と照合することによって携帯電話端末3の認証を行う。錠側制御部212は、認証部211による携帯電話端末3の認証が成立すると電気錠22の施錠及び解錠のうち操作に対応する制御を行う。登録モードにおいて電気錠装置2と携帯電話端末3との間で行われる無線通信の第1通信可能距離L1が、操作を行うために電気錠装置2と携帯電話端末3との間で行われる無線通信の第2通信可能距離L2に比べて短い。登録モードとは、操作を許可する携帯電話端末3の鍵情報を電気錠装置2に登録するモードである。
(4) Summary As described above, the electric lock system 1 of the first aspect is for operating at least one of the electric lock device 2 for controlling the electric lock 22 and the unlocking and locking of the electric lock 22. It includes a mobile phone terminal 3. The mobile phone terminal 3 includes a first communication unit (key side communication unit 32) that wirelessly transmits key information to the electric lock device 2 in order to perform an operation. The electric lock device 2 includes a second communication unit (lock side communication unit 23), a storage unit 24, an authentication unit 211, and a lock side control unit 212. The second communication unit performs wireless communication with the mobile phone terminal 3. The storage unit 24 stores the key information of one or more mobile phone terminals 3 that are permitted to operate as authentication information. The authentication unit 211 authenticates the mobile phone terminal 3 by collating the key information received from the mobile phone terminal 3 by the second communication unit with the authentication information stored in the storage unit 24. When the authentication of the mobile phone terminal 3 is established by the authentication unit 211, the lock-side control unit 212 controls the operation of locking and unlocking the electric lock 22. The first communicable distance L1 of the wireless communication performed between the electric lock device 2 and the mobile phone terminal 3 in the registration mode is the wireless communication performed between the electric lock device 2 and the mobile phone terminal 3 in order to perform an operation. It is shorter than the second communicable distance L2 of communication. The registration mode is a mode in which the key information of the mobile phone terminal 3 permitting the operation is registered in the electric lock device 2.

第1の態様によれば、登録モードでの第1通信可能距離L1を、操作を行う場合の第2通信可能距離よりも短くしているので、電気錠装置2との距離が第1通信可能距離L1よりも長い携帯情報端末の誤登録を抑制できる。したがって、意図しない携帯情報端末の誤登録を抑制できる。また、意図しない携帯情報端末の誤登録を抑制するために、登録モードにおいて電気錠装置2と携帯電話端末3との通信を暗号化する必要性が低下する。 According to the first aspect, since the first communicable distance L1 in the registration mode is shorter than the second communicable distance when the operation is performed, the distance to the electric lock device 2 is the first communicable distance. It is possible to suppress erroneous registration of a mobile information terminal longer than the distance L1. Therefore, it is possible to suppress unintended erroneous registration of the mobile information terminal. Further, in order to suppress unintended erroneous registration of the mobile information terminal, the need to encrypt the communication between the electric lock device 2 and the mobile phone terminal 3 in the registration mode is reduced.

第2の態様の電気錠システムでは、第1の態様において、携帯電話端末3が、登録モードで動作中であることを表示する表示部33を、更に備えてもよい。携帯電話端末3の使用者は、表示部33の表示内容をもとに、登録モードで動作中であることを確認できる。 In the electric lock system of the second aspect, in the first aspect, a display unit 33 indicating that the mobile phone terminal 3 is operating in the registration mode may be further provided. The user of the mobile phone terminal 3 can confirm that the mobile phone terminal 3 is operating in the registration mode based on the display contents of the display unit 33.

第3の態様の電気錠システムでは、第2の態様において、電気錠装置2は、登録モードにおいて登録する携帯電話端末3の台数情報を第2通信部から携帯電話端末3に送信してもよい。携帯電話端末3の表示部33は、第1通信部が受信した台数情報に基づいて、登録モードにおいて電気錠装置2に登録される携帯電話端末3の台数を表示してもよい。 In the electric lock system of the third aspect, in the second aspect, the electric lock device 2 may transmit the number information of the mobile phone terminals 3 to be registered in the registration mode from the second communication unit to the mobile phone terminal 3. .. The display unit 33 of the mobile phone terminal 3 may display the number of mobile phone terminals 3 registered in the electric lock device 2 in the registration mode based on the number information received by the first communication unit.

携帯電話端末3の使用者は、表示部33に表示された携帯電話端末3の台数をもとに、意図しない携帯情報端末が電気錠装置2に登録されていないかを確認できる。 The user of the mobile phone terminal 3 can confirm whether or not an unintended mobile information terminal is registered in the electric lock device 2 based on the number of mobile phone terminals 3 displayed on the display unit 33.

第4の態様の電気錠システムでは、第1〜第3のいずれか1つの態様において、登録モードに移行した状態で、電気錠装置2との距離が第1通信可能距離以下である携帯電話端末3の台数が登録予定台数と異なるときは、電気錠装置2と携帯電話端末3の間で行われる無線通信の通信可能距離が第1通信可能距離よりも短い第3通信可能距離に設定されてもよい。 In the electric lock system of the fourth aspect, in any one of the first to third aspects, the mobile phone terminal whose distance to the electric lock device 2 is equal to or less than the first communicable distance in the state of shifting to the registration mode. When the number of units 3 is different from the planned number of registered units, the communicable distance of wireless communication performed between the electric lock device 2 and the mobile phone terminal 3 is set to the third communicable distance shorter than the first communicable distance. May be good.

これにより、意図しない携帯電話端末3が電気錠装置2に誤登録される可能性を低減できる。 As a result, the possibility that the unintended mobile phone terminal 3 is erroneously registered in the electric lock device 2 can be reduced.

第5の態様の電気錠システムでは、第1又は第2の態様において、電気錠装置2は、登録モードにおいて1台の携帯情報端末の鍵情報を記憶部24に登録すると登録モードを終了するように構成されてもよい。電気錠装置2に1台の携帯電話端末3が登録されると、電気錠装置2が登録モードを終了するので、意図しない携帯電話端末3が電気錠装置2に誤登録される可能性を低減できる。 In the electric lock system of the fifth aspect, in the first or second aspect, the electric lock device 2 terminates the registration mode when the key information of one mobile information terminal is registered in the storage unit 24 in the registration mode. It may be configured in. When one mobile phone terminal 3 is registered in the electric lock device 2, the electric lock device 2 terminates the registration mode, so that the possibility that the unintended mobile phone terminal 3 is erroneously registered in the electric lock device 2 is reduced. it can.

第6の態様の電気錠システムでは、第1〜第5のいずれか1つの態様において、携帯電話端末3は、現在の動作状態を表示する表示部33を、更に備えてもよい。電気錠装置2は、登録モードを終了すると第2通信部から携帯電話端末3に通知信号を送信してもよい。携帯電話端末3の表示部33は、第1通信部が受信した通知信号に基づいて、登録モードが終了したことを表示すればよい。 In the electric lock system of the sixth aspect, in any one of the first to fifth aspects, the mobile phone terminal 3 may further include a display unit 33 for displaying the current operating state. When the registration mode is terminated, the electric lock device 2 may transmit a notification signal from the second communication unit to the mobile phone terminal 3. The display unit 33 of the mobile phone terminal 3 may display that the registration mode has ended based on the notification signal received by the first communication unit.

これにより、携帯電話端末3の使用者は表示部33の表示に基づいて登録モードが終了したことを確認でき、携帯電話端末3を用いて電気錠22の操作が可能になったことを把握できる。 As a result, the user of the mobile phone terminal 3 can confirm that the registration mode has ended based on the display of the display unit 33, and can grasp that the electric lock 22 can be operated by using the mobile phone terminal 3. ..

また、一態様の電気錠装置2は、上述の電気錠システム1に用いられる。意図しない携帯電話端末3の電気錠装置2への誤登録が低減される。 Further, the electric lock device 2 of one aspect is used in the electric lock system 1 described above. Unintentional erroneous registration of the mobile phone terminal 3 in the electric lock device 2 is reduced.

また、一態様の電気錠用プログラムは、コンピュータを、電気錠システム1における前記携帯電話端末3として機能させるためのプログラムである。意図しない携帯電話端末3の電気錠装置2への誤登録が低減される。なお、この電気錠用プログラムは予めメモリに記憶されていてもよいし、電気通信回線を介して、あるいは記録媒体に記憶された状態で提供されてもよい。 Further, the electric lock program of one aspect is a program for causing the computer to function as the mobile phone terminal 3 in the electric lock system 1. Unintentional erroneous registration of the mobile phone terminal 3 in the electric lock device 2 is reduced. The electric lock program may be stored in a memory in advance, or may be provided via a telecommunication line or in a state of being stored in a recording medium.

1 電気錠システム
2 電気錠装置
3,3A〜3C,4 携帯電話端末(携帯電話端末)
21 錠側制御回路
211 認証部
212 錠側制御部
22 電気錠
23 錠側通信部(第2通信部)
24 記憶部
31 鍵側制御回路
32 鍵側通信部(第1通信部)
33 表示部
L1 第1通信可能距離
L2 第2通信可能距離
1 Electric lock system 2 Electric lock device 3,3A-3C, 4 Mobile phone terminal (mobile phone terminal)
21 Lock-side control circuit 211 Authentication unit 212 Lock-side control unit 22 Electric lock 23 Lock-side communication unit (second communication unit)
24 Storage unit 31 Key side control circuit 32 Key side communication unit (first communication unit)
33 Display unit L1 1st communicable distance L2 2nd communicable distance

Claims (8)

電気錠を制御する電気錠装置と、前記電気錠の解錠及び施錠の少なくとも一方の操作を行うための携帯情報端末とを備え、
前記携帯情報端末は、
前記操作を行うために鍵情報を前記電気錠装置へ無線送信する第1通信部を備え、
前記電気錠装置は、
前記携帯情報端末との間で無線通信を行う第2通信部と、
前記操作を許可する1以上の前記携帯情報端末の鍵情報を認証情報として記憶する記憶部と、
前記第2通信部が前記携帯情報端末から受信した前記鍵情報を前記記憶部に記憶された前記認証情報と照合することによって前記携帯情報端末の認証を行う認証部と、
前記認証部による前記携帯情報端末の認証が成立すると前記電気錠の施錠及び解錠のうち前記操作に対応する制御を行う錠側制御部とを備え、
前記電気錠装置が、前記操作を許可する前記携帯情報端末の前記鍵情報を前記電気錠装置に登録する登録モードで動作を開始すると、前記携帯情報端末の動作モードを登録モードとするよう要求する要求信号を前記第2通信部が送信しており、
前記電気錠装置は、前記登録モードにおいて、前記電気錠の解錠及び施錠を制御する制御モードに比べて、前記第2通信部の送信出力を低下させることによって、前記登録モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第1通信可能距離を、前記制御モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第2通信可能距離に比べて短くする
ことを特徴とする電気錠システム。
It is provided with an electric lock device for controlling an electric lock and a portable information terminal for performing at least one operation of unlocking and locking the electric lock.
The mobile information terminal is
A first communication unit that wirelessly transmits key information to the electric lock device for performing the operation is provided.
The electric lock device is
A second communication unit that performs wireless communication with the mobile information terminal,
A storage unit that stores the key information of one or more mobile information terminals that permit the operation as authentication information, and
An authentication unit that authenticates the mobile information terminal by collating the key information received from the mobile information terminal with the authentication information stored in the storage unit by the second communication unit.
When the authentication of the mobile information terminal is established by the authentication unit, the lock side control unit that controls the locking and unlocking of the electric lock corresponding to the operation is provided.
When the electric lock device starts the operation in the registration mode in which the key information of the mobile information terminal that permits the operation is registered in the electric lock device, the operation mode of the mobile information terminal is requested to be the registration mode. The second communication unit is transmitting the request signal,
In the registration mode, the electric lock device reduces the transmission output of the second communication unit as compared with a control mode for controlling unlocking and locking of the electric lock , whereby the electric lock device is used in the registration mode. Compare the first communicable distance of wireless communication between the mobile information terminal and the mobile information terminal with the second communicable distance of wireless communication between the electric lock device and the mobile information terminal in the control mode. electric lock system wherein the Shorten Te.
前記携帯情報端末は、前記登録モードで動作中であることを表示する表示部を、更に備える
ことを特徴とする請求項1に記載の電気錠システム。
The electric lock system according to claim 1, wherein the mobile information terminal further includes a display unit for displaying that the mobile information terminal is operating in the registration mode.
電気錠を制御する電気錠装置と、前記電気錠の解錠及び施錠の少なくとも一方の操作を行うための携帯情報端末とを備え、
前記携帯情報端末は、
前記操作を行うために鍵情報を前記電気錠装置へ無線送信する第1通信部を備え、
前記電気錠装置は、
前記携帯情報端末との間で無線通信を行う第2通信部と、
前記操作を許可する1以上の前記携帯情報端末の鍵情報を認証情報として記憶する記憶部と、
前記第2通信部が前記携帯情報端末から受信した前記鍵情報を前記記憶部に記憶された前記認証情報と照合することによって前記携帯情報端末の認証を行う認証部と、
前記認証部による前記携帯情報端末の認証が成立すると前記電気錠の施錠及び解錠のうち前記操作に対応する制御を行う錠側制御部とを備え、
前記操作を許可する前記携帯情報端末の前記鍵情報を前記電気錠装置に登録する登録モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第1通信可能距離が、前記操作を行うために前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第2通信可能距離に比べて短く、
前記携帯情報端末は、前記登録モードで動作中であることを表示する表示部を、更に備え、
前記電気錠装置は、前記登録モードにおいて登録する前記携帯情報端末の台数情報を前記第2通信部から前記携帯情報端末に送信し、
前記携帯情報端末の前記表示部は、前記第1通信部が受信した前記台数情報に基づいて、前記登録モードにおいて前記電気錠装置に登録される前記携帯情報端末の台数を表示する
ことを特徴とする電気錠システム。
It is provided with an electric lock device for controlling an electric lock and a portable information terminal for performing at least one operation of unlocking and locking the electric lock.
The mobile information terminal is
A first communication unit that wirelessly transmits key information to the electric lock device for performing the operation is provided.
The electric lock device is
A second communication unit that performs wireless communication with the mobile information terminal,
A storage unit that stores the key information of one or more mobile information terminals that permit the operation as authentication information, and
An authentication unit that authenticates the mobile information terminal by collating the key information received from the mobile information terminal with the authentication information stored in the storage unit by the second communication unit.
When the authentication of the mobile information terminal is established by the authentication unit, the lock-side control unit that controls the locking and unlocking of the electric lock corresponding to the operation is provided.
The first communicable distance of wireless communication performed between the electric lock device and the mobile information terminal in the registration mode in which the key information of the mobile information terminal that permits the operation is registered in the electric lock device is the said. It is shorter than the second communicable distance of wireless communication performed between the electric lock device and the mobile information terminal for operation.
The mobile information terminal further includes a display unit for displaying that the mobile information terminal is operating in the registration mode.
The electric lock device transmits the number information of the mobile information terminal to be registered in the registration mode from the second communication unit to the mobile information terminal.
The display unit of the mobile information terminal is characterized in that it displays the number of mobile information terminals registered in the electric lock device in the registration mode based on the number information received by the first communication unit. It is that power Kijo system.
電気錠を制御する電気錠装置と、前記電気錠の解錠及び施錠の少なくとも一方の操作を行うための携帯情報端末とを備え、
前記携帯情報端末は、
前記操作を行うために鍵情報を前記電気錠装置へ無線送信する第1通信部を備え、
前記電気錠装置は、
前記携帯情報端末との間で無線通信を行う第2通信部と、
前記操作を許可する1以上の前記携帯情報端末の鍵情報を認証情報として記憶する記憶部と、
前記第2通信部が前記携帯情報端末から受信した前記鍵情報を前記記憶部に記憶された前記認証情報と照合することによって前記携帯情報端末の認証を行う認証部と、
前記認証部による前記携帯情報端末の認証が成立すると前記電気錠の施錠及び解錠のうち前記操作に対応する制御を行う錠側制御部とを備え、
前記操作を許可する前記携帯情報端末の前記鍵情報を前記電気錠装置に登録する登録モードにおいて前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第1通信可能距離が、前記操作を行うために前記電気錠装置と前記携帯情報端末との間で行われる無線通信の第2通信可能距離に比べて短く、
前記登録モードに移行した状態で、前記電気錠装置との距離が前記第1通信可能距離以下である前記携帯情報端末の台数が登録予定台数と異なるときは、前記電気錠装置と前記携帯情報端末の間で行われる無線通信の通信可能距離が前記第1通信可能距離よりも短い第3通信可能距離に設定される
ことを特徴とする電気錠システム。
It is provided with an electric lock device for controlling an electric lock and a portable information terminal for performing at least one operation of unlocking and locking the electric lock.
The mobile information terminal is
A first communication unit that wirelessly transmits key information to the electric lock device for performing the operation is provided.
The electric lock device is
A second communication unit that performs wireless communication with the mobile information terminal,
A storage unit that stores the key information of one or more mobile information terminals that permit the operation as authentication information, and
An authentication unit that authenticates the mobile information terminal by collating the key information received from the mobile information terminal with the authentication information stored in the storage unit by the second communication unit.
When the authentication of the mobile information terminal is established by the authentication unit, the lock side control unit that controls the locking and unlocking of the electric lock corresponding to the operation is provided.
The first communicable distance of wireless communication performed between the electric lock device and the mobile information terminal in the registration mode in which the key information of the mobile information terminal that permits the operation is registered in the electric lock device is the said. It is shorter than the second communicable distance of wireless communication performed between the electric lock device and the mobile information terminal for operation.
When the number of the mobile information terminals whose distance to the electric lock device is equal to or less than the first communicable distance is different from the planned number of registrations in the state of shifting to the registration mode, the electric lock device and the mobile information terminal wireless communication communicable distance Kijo system power you characterized in that it is set to a short third communicable distance than the first communication range of the performed between.
前記電気錠装置は、前記登録モードにおいて1台の前記携帯情報端末の前記鍵情報を前記記憶部に登録すると前記登録モードを終了するように構成された
ことを特徴とする請求項1又は2に記載の電気錠システム。
According to claim 1 or 2, the electric lock device is configured to terminate the registration mode when the key information of one mobile information terminal is registered in the storage unit in the registration mode. The electric lock system described.
前記携帯情報端末は、現在の動作状態を表示する表示部を、更に備え、
前記電気錠装置は、前記登録モードを終了すると前記第2通信部から前記携帯情報端末に通知信号を送信し、
前記携帯情報端末の前記表示部は、前記第1通信部が受信した前記通知信号に基づいて、前記登録モードが終了したことを表示する
ことを特徴とする請求項1〜5のいずれか1項に記載の電気錠システム。
The mobile information terminal further includes a display unit for displaying the current operating state.
When the registration mode is completed, the electric lock device transmits a notification signal from the second communication unit to the mobile information terminal.
One of claims 1 to 5, wherein the display unit of the mobile information terminal displays that the registration mode has ended based on the notification signal received by the first communication unit. The electric lock system described in.
請求項1〜6のいずれか1項に記載の電気錠システムが備える電気錠装置。 The electric lock device provided in the electric lock system according to any one of claims 1 to 6. コンピュータを、
請求項1〜6のいずれか1項に記載の電気錠システムにおける前記携帯情報端末として機能させるための電気錠用プログラム。
Computer,
A program for an electric lock for functioning as the mobile information terminal in the electric lock system according to any one of claims 1 to 6.
JP2016213655A 2016-10-31 2016-10-31 Electric lock system, electric lock device, and program for electric lock Active JP6811426B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016213655A JP6811426B2 (en) 2016-10-31 2016-10-31 Electric lock system, electric lock device, and program for electric lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016213655A JP6811426B2 (en) 2016-10-31 2016-10-31 Electric lock system, electric lock device, and program for electric lock

Publications (2)

Publication Number Publication Date
JP2018071227A JP2018071227A (en) 2018-05-10
JP6811426B2 true JP6811426B2 (en) 2021-01-13

Family

ID=62114916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016213655A Active JP6811426B2 (en) 2016-10-31 2016-10-31 Electric lock system, electric lock device, and program for electric lock

Country Status (1)

Country Link
JP (1) JP6811426B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111746519A (en) * 2020-06-05 2020-10-09 重庆长安汽车股份有限公司 Safety monitoring method for short-distance remote control parking and computer readable storage medium
WO2023275980A1 (en) * 2021-06-29 2023-01-05 京セラ株式会社 Image processing device and communication system

Also Published As

Publication number Publication date
JP2018071227A (en) 2018-05-10

Similar Documents

Publication Publication Date Title
JP5292862B2 (en) Security system, server device, security method, electronic key management method, and program
KR20140115631A (en) Doorlock control system using smartphone and method thereof
EP3129569B1 (en) Temporarily pairing a mobile device with a peripheral device
US10755500B2 (en) Access control system and access control method using the same
KR101767496B1 (en) Digital Door-Lock having Automatic Unlock Funciton Using Smart Phone and Control Method Thereof
KR101866375B1 (en) Control method and apparatus of proximity access controller
JP6811426B2 (en) Electric lock system, electric lock device, and program for electric lock
KR101979373B1 (en) Portable communication apparatus installed door-lock application
JP6811428B2 (en) Electric lock system and electric lock device
CN109219682B (en) Electronic lock system and electronic lock device
KR100649571B1 (en) Registration and Deletion Method of Wireless Transmitter-Receiver for Digital Door Lock, and Digital Door Lock and Wireless Transmitter-Receiver using the same
JP6890273B2 (en) Electric lock control system, electric lock system, registration method, and program
JP7054784B2 (en) Electric lock control system, communication method, and program
JP6796804B2 (en) Electric lock system and electric lock device
JP6956378B2 (en) Electric lock control system
JP6931831B2 (en) Electric lock control system, electric lock system, control method and program
WO2020004450A1 (en) Communication device, communication system, method for controlling information terminal, and information terminal program
JP6817581B2 (en) Electric lock control system, electric lock system, control method of electric lock control system, and program
JP2019108683A (en) Electric lock control system, display method, and program
JP6920650B2 (en) Electric lock control system, electric lock system, registration method, program
JP6937486B2 (en) Electric lock control system, electric lock system, control method and program
KR200407889Y1 (en) Door lock system having mode selecting function of home automation
KR20030050583A (en) System and method for locking and unlocking door using mobile phone
KR20040034085A (en) System and method for locking and unlocking door using mobile phone
WO2020013149A1 (en) Control method, program, mobile terminal, and electric lock 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: 20190226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200128

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200318

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200528

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201127

R151 Written notification of patent or utility model registration

Ref document number: 6811426

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151