[go: up one dir, main page]

JP6956378B2 - Electric lock control system - Google Patents

Electric lock control system Download PDF

Info

Publication number
JP6956378B2
JP6956378B2 JP2017162802A JP2017162802A JP6956378B2 JP 6956378 B2 JP6956378 B2 JP 6956378B2 JP 2017162802 A JP2017162802 A JP 2017162802A JP 2017162802 A JP2017162802 A JP 2017162802A JP 6956378 B2 JP6956378 B2 JP 6956378B2
Authority
JP
Japan
Prior art keywords
lock
key device
electric lock
unit
communication unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2017162802A
Other languages
Japanese (ja)
Other versions
JP2019039238A (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 JP2017162802A priority Critical patent/JP6956378B2/en
Priority to EP18189931.1A priority patent/EP3447739A1/en
Publication of JP2019039238A publication Critical patent/JP2019039238A/en
Application granted granted Critical
Publication of JP6956378B2 publication Critical patent/JP6956378B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00841Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed by a portable device
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • G07C9/00904Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for hotels, motels, office buildings or the like

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Description

本開示は、一般に電気錠制御システムに関する。より詳細には、本開示は、建物に設けられた開閉部材を施錠又は解錠する電気錠を制御するための電気錠制御システムに関する。 The present disclosure generally relates to an electric lock control system. More particularly, the present disclosure relates to an electric lock control system for controlling an electric lock for locking or unlocking an opening and closing member provided in the building.

従来、携帯機(鍵装置)との間の無線通信に基づいてドア(開閉部材)の施解錠を制御するドア錠制御装置(電気錠制御システム)が開示されている(例えば、特許文献1参照)。特許文献1に記載のドア錠制御装置は、携帯機から送信された固有情報と、予め登録されている固有情報とを比較し、それらの固有情報が一致したときにドアを解錠する。また、ドア錠制御装置は、無線通信を通じて取得した携帯機の固有情報を、記憶手段に記憶することができる。 Conventionally, a door lock control device (electric lock control system) that controls locking / unlocking of a door (opening / closing member) based on wireless communication with a portable device (key device) has been disclosed (see, for example, Patent Document 1). ). The door lock control device described in Patent Document 1 compares the unique information transmitted from the portable device with the unique information registered in advance, and unlocks the door when the unique information matches. Further, the door lock control device can store the unique information of the portable device acquired through wireless communication in the storage means.

特開2009−264017号公報Japanese Unexamined Patent Publication No. 2009-264017

特許文献1に記載の電気錠制御システムでは、電気錠の制御に関する制御プログラムの更新が必要となる場合が起こり得る。このような場合、特許文献1に記載の電気錠制御システムでは、専用のメンテナンス装置を用いて制御プログラムの更新を行うことが想定され、利便性に乏しいという問題があった。 In the electric lock control system described in Patent Document 1, it may be necessary to update the control program related to the control of the electric lock. In such a case, the electric lock control system described in Patent Document 1 is assumed to update the control program using a dedicated maintenance device, and has a problem of poor convenience.

本開示は、上記の点に鑑みてなされており、電気錠の制御に関する制御プログラムの更新を行う場合の利便性を向上させることを目的とする。 The present disclosure has been made in view of the above points, and an object of the present disclosure is to improve convenience when updating a control program related to control of an electric lock.

本開示の一態様に係る電気錠制御システムは、錠側通信部と、錠側制御部と、を備える。前記錠側通信部は、鍵装置との間で通信を行う。前記錠側制御部は、前記鍵装置と前記錠側通信部との間の通信により、電気錠を制御して建物の開口部を開閉する開閉部材の施錠及び解錠の少なくとも一方を行う。前記錠側制御部は、前記鍵装置から前記錠側通信部が受信した前記電気錠の制御に関する制御プログラムの更新情報に基づいて、自己の前記制御プログラムを更新する。前記錠側通信部は、前記鍵装置で用いるプログラムの更新情報を更に受信する。前記錠側通信部は、前記鍵装置で用いるプログラムの更新情報を、前記鍵装置とは異なる他の鍵装置へ送信する。 The electric lock control system according to one aspect of the present disclosure includes a lock-side communication unit and a lock-side control unit. The lock-side communication unit communicates with the key device. The lock-side control unit locks and unlocks an opening / closing member that controls an electric lock to open / close an opening of a building by communication between the key device and the lock-side communication unit. The lock-side control unit updates its own control program based on the update information of the control program related to the control of the electric lock received by the lock-side communication unit from the key device. The lock-side communication unit further receives update information of the program used in the key device. The lock-side communication unit transmits update information of a program used in the key device to another key device different from the key device.

本開示は、電気錠の制御に関する制御プログラムの更新を行う場合の利便性を向上させることができる、という利点がある。 The present disclosure has an advantage that the convenience when updating the control program related to the control of the electric lock can be improved.

図1は、本開示の一実施形態に係る電気錠制御システムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an electric lock control system according to an embodiment of the present disclosure. 図2は、同上の電気錠制御システムの使用例の概念図である。FIG. 2 is a conceptual diagram of a usage example of the electric lock control system of the above. 図3は、同上の電気錠制御システムにおいて、電気錠制御システムの動作の一例を示すフローチャートである。FIG. 3 is a flowchart showing an example of the operation of the electric lock control system in the same electric lock control system. 図4は、同上の電気錠制御システムに用いられる鍵装置の動作の一例を示すフローチャートである。FIG. 4 is a flowchart showing an example of the operation of the key device used in the electric lock control system of the above.

(1)概要
以下、実施形態に係る電気錠制御システム1及び電気錠システム10の概要について説明する。本実施形態の電気錠システム10は、図1に示すように、電気錠制御システム1と、電気錠3と、を備えている。電気錠制御システム1は、図1に示すように、錠側通信部11と、錠側制御部12と、を備えている。
(1) Outline The outline of the electric lock control system 1 and the electric lock system 10 according to the embodiment will be described below. As shown in FIG. 1, the electric lock system 10 of the present embodiment includes an electric lock control system 1 and an electric lock 3. As shown in FIG. 1, the electric lock control system 1 includes a lock-side communication unit 11 and a lock-side control unit 12.

電気錠制御システム1は、図2に示すように、開閉部材5を施錠又は解錠する電気錠3を制御するためのシステムである。言い換えれば、電気錠3は、錠側制御部12により制御されて開閉部材5を施錠又は解錠する。開閉部材5は、建物4の開口部40を開閉する部材である。開閉部材5は、建物4の内側41と外側42とを隔てる扉又は窓であって、例えば、玄関扉、勝手口ドア、又は掃き出し窓等である。本実施形態では、開閉部材5は、玄関扉である。電気錠制御システム1及び電気錠3は、開閉部材5に設置されている。電気錠制御システム1の錠側通信部11は、鍵装置2との間で無線通信を行う。そして、電気錠制御システム1の錠側制御部12は、鍵装置2と錠側通信部11と間の通信により、電気錠3を制御する。 As shown in FIG. 2, the electric lock control system 1 is a system for controlling the electric lock 3 that locks or unlocks the opening / closing member 5. In other words, the electric lock 3 is controlled by the lock side control unit 12 to lock or unlock the opening / closing member 5. The opening / closing member 5 is a member that opens / closes the opening 40 of the building 4. The opening / closing member 5 is a door or window that separates the inside 41 and the outside 42 of the building 4, and is, for example, a front door, a kitchen door, a sweep-out window, or the like. In the present embodiment, the opening / closing member 5 is a front door. The electric lock control system 1 and the electric lock 3 are installed on the opening / closing member 5. The lock-side communication unit 11 of the electric lock control system 1 performs wireless communication with the key device 2. Then, the lock side control unit 12 of the electric lock control system 1 controls the electric lock 3 by communication between the key device 2 and the lock side communication unit 11.

鍵装置2は、電気錠制御システム1との通信機能を有している。本実施形態では、電気錠制御システム1と鍵装置2との間の通信方式は、電波を媒体とする無線通信である。また、本実施形態では、電気錠制御システム1及び鍵装置2は、いずれも電池駆動式である。また、本実施形態では、鍵装置2は、例えば電話機能を有する携帯端末である。本実施形態では、建物4が戸建て住宅である場合を例として説明する。したがって、電気錠制御システム1のユーザ6は、建物4の住人のうち、鍵装置2を所有する人である。 The key device 2 has a communication function with the electric lock control system 1. In the present embodiment, the communication method between the electric lock control system 1 and the key device 2 is wireless communication using radio waves as a medium. Further, in the present embodiment, both the electric lock control system 1 and the key device 2 are battery-powered. Further, in the present embodiment, the key device 2 is, for example, a mobile terminal having a telephone function. In the present embodiment, the case where the building 4 is a detached house will be described as an example. Therefore, the user 6 of the electric lock control system 1 is the person who owns the key device 2 among the residents of the building 4.

本実施形態では、鍵装置2に予め記憶されている鍵情報を、鍵装置2が電気錠制御システム1に送信することによって、開閉部材5の解錠及び施錠を可能にする。すなわち、錠側通信部11と鍵装置2とが通信し、錠側制御部12において鍵装置2の持つ鍵情報の認証に成功した場合に、電気錠制御システム1は開閉部材5の解錠及び施錠が可能な状態となる。ここで、電気錠制御システム1は、ユーザ6による錠側操作部13(後述する)の操作をトリガとして認証を行い、開閉部材5の施錠又は解錠を行ってもよい。また、電気錠制御システム1は、認証の成功後、ユーザ6による錠側操作部13の操作を待って開閉部材5の施錠又は解錠を行ってもよい。いずれにせよ、電気錠制御システム1は、鍵装置2との通信によって、開閉部材5を施錠状態から解錠状態へ切り替える解錠動作、及び開閉部材5を解錠状態から施錠状態へ切り替える施錠動作の少なくとも一方の動作を行う。 In the present embodiment, the key device 2 transmits the key information stored in advance in the key device 2 to the electric lock control system 1 to enable unlocking and locking of the opening / closing member 5. That is, when the lock-side communication unit 11 and the key device 2 communicate with each other and the lock-side control unit 12 succeeds in authenticating the key information possessed by the key device 2, the electric lock control system 1 unlocks the opening / closing member 5 and unlocks the opening / closing member 5. It is ready to be locked. Here, the electric lock control system 1 may perform authentication by using the operation of the lock side operation unit 13 (described later) by the user 6 as a trigger to lock or unlock the opening / closing member 5. Further, the electric lock control system 1 may lock or unlock the opening / closing member 5 after the successful authentication, waiting for the operation of the lock side operation unit 13 by the user 6. In any case, the electric lock control system 1 has an unlocking operation for switching the opening / closing member 5 from the locked state to the unlocked state and a locking operation for switching the opening / closing member 5 from the unlocked state to the locked state by communicating with the key device 2. Perform at least one of the actions of.

本実施形態では、錠側通信部11は、鍵装置2との通信により、更新情報を取得する。更新情報は、電気錠3の制御に関する制御プログラムの更新に用いられる情報である。制御プログラムは、錠側制御部12で用いられるプログラムである。制御プログラムが錠側制御部12で実行されることにより、上述の認証などの処理が実現される。言い換えれば、制御プログラムは、電気錠制御システム1のファームウェアである。 In the present embodiment, the lock-side communication unit 11 acquires update information by communicating with the key device 2. The update information is information used for updating the control program related to the control of the electric lock 3. The control program is a program used by the lock side control unit 12. When the control program is executed by the lock side control unit 12, the above-mentioned processing such as authentication is realized. In other words, the control program is the firmware of the electric lock control system 1.

そして、本実施形態では、錠側制御部12は、鍵装置2から錠側通信部11が受信した更新情報に基づいて、自己の制御プログラムを更新する。言い換えれば、錠側制御部12は、更新情報を受信する前に用いていた制御プログラムを、更新情報を用いて更新する。したがって、更新後においては、錠側制御部12は、最新の制御プログラムを実行することになる。ここで、更新情報は、制御プログラム自体であってもよいし、更新前の制御プログラムとの差分のデータであってもよい。 Then, in the present embodiment, the lock-side control unit 12 updates its own control program based on the update information received by the lock-side communication unit 11 from the key device 2. In other words, the lock side control unit 12 updates the control program used before receiving the update information by using the update information. Therefore, after the update, the lock side control unit 12 will execute the latest control program. Here, the update information may be the control program itself or the data of the difference from the control program before the update.

ここでいう「制御プログラムの更新」は、認証のアルゴリズムの変更、バグの修正など、主として制御プログラムで用いられるアルゴリズムの更新であり、制御プログラムで参照されるデータ自体の更新は含まない。したがって、例えば電気錠制御システム1に対する鍵装置2の登録は、「制御プログラムの更新」には含まれない。 The "control program update" referred to here is an algorithm update mainly used in the control program, such as a change in the authentication algorithm and a bug fix, and does not include an update of the data itself referred to by the control program. Therefore, for example, the registration of the key device 2 with respect to the electric lock control system 1 is not included in the "update of the control program".

上述のように、本実施形態では、錠側制御部12は、鍵装置2から受信した更新情報に基づいて、自己の制御プログラムを更新することが可能である。このため、本実施形態では、専用のメンテナンス装置を用いなくても、電気錠3の制御に関する制御プログラムを更新することが可能である。したがって、本実施形態では、専用のメンテナンス装置を用いる場合と比較して、電気錠3の制御に関する制御プログラムの更新を行う場合の利便性を向上させることができる、という利点がある。 As described above, in the present embodiment, the lock side control unit 12 can update its own control program based on the update information received from the key device 2. Therefore, in the present embodiment, it is possible to update the control program related to the control of the electric lock 3 without using a dedicated maintenance device. Therefore, the present embodiment has an advantage that the convenience when updating the control program related to the control of the electric lock 3 can be improved as compared with the case where the dedicated maintenance device is used.

(2)詳細
以下、本実施形態に係る電気錠制御システム1及び電気錠システム10の構成について、図1及び図2を参照して説明する。
(2) Details Hereinafter, the configurations of the electric lock control system 1 and the electric lock system 10 according to the present embodiment will be described with reference to FIGS. 1 and 2.

(2.1)電気錠制御システム
電気錠制御システム1は、図1に示すように、錠側通信部11と、錠側制御部12と、錠側操作部13と、錠側記憶部14と、を備えている。本実施形態では、錠側通信部11、錠側制御部12、錠側操作部13、及び錠側記憶部14が1つのケースに収納されている。
(2.1) Electric Lock Control System As shown in FIG. 1, the electric lock control system 1 includes a lock-side communication unit 11, a lock-side control unit 12, a lock-side operation unit 13, and a lock-side storage unit 14. , Is equipped. In the present embodiment, the lock-side communication unit 11, the lock-side control unit 12, the lock-side operation unit 13, and the lock-side storage unit 14 are housed in one case.

錠側通信部11は、例えば、アンテナと、通信回路と、を有している。錠側通信部11は、鍵装置2との間で電波を媒体とする無線通信を行う通信インタフェースである。無線通信にて使用する周波数帯域は、例えば、420MHz帯、920MHz帯、2.4GHz帯などである。錠側通信部11は、例えばBLE(Bluetooth Low Energy)の規格に準拠した近距離無線通信を行うように構成されている。ここで、「BLE」とは、無線PAN(Personal Area Network)技術であるBluetooth(登録商標)の仕様における、低消費電力仕様の呼称である。錠側通信部11は、錠側制御部12からの指令に従って、ビーコン信号を送信する。また、錠側通信部11は、ビーコン応答を受信する。ビーコン応答は、ビーコン信号に応答した鍵側通信部22(後述する)から送信される。つまり、錠側通信部11は、信号の送信機能及び受信機能を有しており、鍵側通信部22との間で双方向の通信を行うように構成されている。 The lock-side communication unit 11 has, for example, an antenna and a communication circuit. The lock-side communication unit 11 is a communication interface that performs wireless communication with the key device 2 using radio waves as a medium. The frequency band used in wireless communication is, for example, a 420 MHz band, a 920 MHz band, a 2.4 GHz band, or the like. The lock-side communication unit 11 is configured to perform short-range wireless communication conforming to, for example, a BLE (Bluetooth Low Energy) standard. Here, "BLE" is a name for a low power consumption specification in the specifications of Bluetooth (registered trademark) which is a wireless PAN (Personal Area Network) technology. The lock-side communication unit 11 transmits a beacon signal in accordance with a command from the lock-side control unit 12. Further, the lock-side communication unit 11 receives the beacon response. The beacon response is transmitted from the key-side communication unit 22 (described later) that responds to the beacon signal. That is, the lock-side communication unit 11 has a signal transmission function and a signal reception function, and is configured to perform bidirectional communication with the key-side communication unit 22.

本実施形態では、錠側通信部11は、1つの通信インタフェースであり、制御プログラムの更新用の通信と、鍵装置2の認証用の通信との両方を行うように構成されている。つまり、本実施形態では、錠側通信部11は、鍵装置2から制御プログラムの更新情報を受信するために用いられるだけではなく、鍵装置2と認証部121(後述する)との間の通信にも用いられる。 In the present embodiment, the lock-side communication unit 11 is one communication interface, and is configured to perform both communication for updating the control program and communication for authentication of the key device 2. That is, in the present embodiment, the lock-side communication unit 11 is not only used for receiving the update information of the control program from the key device 2, but also the communication between the key device 2 and the authentication unit 121 (described later). Also used for.

錠側制御部12は、例えば、プロセッサ及びメモリを有するマイクロコンピュータで構成されている。つまり、錠側制御部12は、プロセッサ及びメモリを有するコンピュータシステムで実現されている。そして、プロセッサが適宜のプログラムを実行することにより、コンピュータシステムが錠側制御部12として機能する。プログラムは、メモリに予め記録されていてもよいし、インターネット等の電気通信回線を通じて、又はメモリカード等の非一時的な記録媒体に記録されて提供されてもよい。錠側制御部12は、認証部121を有している。 The lock side control unit 12 is composed of, for example, a microcomputer having a processor and a memory. That is, the lock side control unit 12 is realized in a computer system having a processor and a memory. Then, when the processor executes an appropriate program, the computer system functions as the lock side control unit 12. The program may be pre-recorded in a memory, may be recorded through a telecommunication line such as the Internet, or may be recorded and provided on a non-temporary recording medium such as a memory card. The lock side control unit 12 has an authentication unit 121.

認証部121は、錠側通信部11が鍵装置2から受信した鍵情報を、錠側記憶部14が記憶する認証情報と照合することにより、鍵情報を送信してきた鍵装置2が、電気錠3の操作を許可された鍵装置2であるか否かを認証する認証処理を行う。すなわち、認証部121は、鍵装置2との通信により、鍵情報を送信してきた鍵装置2が正規の鍵装置であるか否かを認証する。錠側制御部12は、認証部121での認証に成功した場合、制御信号(解錠信号又は施錠信号)を電気錠3へ出力する。 The authentication unit 121 collates the key information received from the key device 2 by the lock-side communication unit 11 with the authentication information stored in the lock-side storage unit 14, so that the key device 2 that has transmitted the key information is an electric lock. An authentication process is performed to authenticate whether or not the key device 2 is permitted to operate the operation 3. That is, the authentication unit 121 authenticates whether or not the key device 2 that has transmitted the key information is a legitimate key device by communicating with the key device 2. When the authentication unit 121 succeeds in the authentication, the lock side control unit 12 outputs a control signal (unlocking signal or locking signal) to the electric lock 3.

錠側操作部13は、ユーザ6による操作入力を受け付ける機能を有している。錠側操作部13は、例えば押釦スイッチからなる。錠側操作部13は、建物4の内側41と外側42との各々に設けられている。その他、錠側操作部13は、例えば開閉部材5(玄関扉)に備わっているドアハンドル(取っ手)であってもよいし、ユーザ6がドアハンドルに触れる操作を検知するタッチセンサ等であってもよい。錠側操作部13は、ユーザ6による操作入力を受け付けると、操作入力に応じた操作信号を錠側制御部12に出力する。 The lock-side operation unit 13 has a function of receiving an operation input by the user 6. The lock side operation unit 13 includes, for example, a push button switch. The lock side operation unit 13 is provided on each of the inner 41 and the outer 42 of the building 4. In addition, the lock side operation unit 13 may be, for example, a door handle (handle) provided on the opening / closing member 5 (entrance door), a touch sensor for detecting an operation in which the user 6 touches the door handle, or the like. May be good. When the lock-side operation unit 13 receives the operation input by the user 6, the lock-side operation unit 13 outputs an operation signal corresponding to the operation input to the lock-side control unit 12.

錠側記憶部14は、例えばEEPROM(Electrically Erasable and Programmable Read-Only Memory)のような電気的に書き換え可能な不揮発性メモリを備える。錠側記憶部14は、電気錠3の制御を許可された1台以上の鍵装置2の鍵情報を認証情報として記憶する。本実施形態では、鍵装置2が登録されると、鍵装置2に固有の鍵情報が付与される。このため、錠側記憶部14は、鍵装置2の識別情報と、鍵装置2に付与された鍵情報とを対応付けて記憶する。識別情報は、例えば鍵装置2の固有のID(Identification)である。 The lock-side storage unit 14 includes an electrically rewritable non-volatile memory such as an EEPROM (Electrically Erasable and Programmable Read-Only Memory). The lock-side storage unit 14 stores the key information of one or more key devices 2 authorized to control the electric lock 3 as authentication information. In the present embodiment, when the key device 2 is registered, key information unique to the key device 2 is given. Therefore, the lock side storage unit 14 stores the identification information of the key device 2 and the key information given to the key device 2 in association with each other. The identification information is, for example, a unique ID (Identification) of the key device 2.

(2.2)鍵装置
鍵装置2は、例えばスマートフォンのような携帯端末である。鍵装置2は、図1に示すように、鍵側制御部21と、鍵側通信部22と、鍵側操作部23と、鍵側記憶部24と、表示部25と、を備えている。
(2.2) Key device The key device 2 is a mobile terminal such as a smartphone. As shown in FIG. 1, the key device 2 includes a key side control unit 21, a key side communication unit 22, a key side operation unit 23, a key side storage unit 24, and a display unit 25.

鍵側制御部21は、例えば、プロセッサ及びメモリを有するマイクロコンピュータで構成されている。つまり、鍵側制御部21は、プロセッサ及びメモリを有するコンピュータシステムで実現されている。そして、プロセッサが適宜のプログラムを実行することにより、コンピュータシステムが鍵側制御部21として機能する。プログラムは、メモリに予め記録されていてもよいし、インターネット等の電気通信回線を通じて、又はメモリカード等の非一時的な記録媒体に記録されて提供されてもよい。 The key side control unit 21 is composed of, for example, a microcomputer having a processor and a memory. That is, the key side control unit 21 is realized by a computer system having a processor and a memory. Then, when the processor executes an appropriate program, the computer system functions as the key side control unit 21. The program may be pre-recorded in a memory, may be recorded through a telecommunication line such as the Internet, or may be recorded and provided on a non-temporary recording medium such as a memory card.

鍵側通信部22は、第1通信部221と、第2通信部222と、を有している。第1通信部221及び第2通信部222の各々は、例えば、アンテナと、通信回路と、を有している。 The key-side communication unit 22 has a first communication unit 221 and a second communication unit 222. Each of the first communication unit 221 and the second communication unit 222 has, for example, an antenna and a communication circuit.

第1通信部221は、錠側通信部11との間で、例えばBLEの規格に準拠した近距離無線通信を行う通信インタフェースである。第1通信部221は、鍵側制御部21からの指令に従って、応答信号を錠側通信部11へ送信する。また、第1通信部221は、錠側通信部11から送信されるビーコン信号を受信する。第1通信部221は、ビーコン信号を受信すると、ビーコン信号を受信したことを通知するビーコン応答を錠側通信部11へ送信する。つまり、第1通信部221は、信号の送信機能及び受信機能を有しており、錠側通信部11との間で双方向の通信を行うように構成されている。鍵装置2からのビーコン応答を錠側通信部11が受信することにより、鍵装置2の認証を行うための認証通信が電気錠制御システム1と鍵装置2との間で開始される。 The first communication unit 221 is a communication interface that performs short-range wireless communication with the lock-side communication unit 11 in accordance with, for example, the BLE standard. The first communication unit 221 transmits a response signal to the lock side communication unit 11 in accordance with a command from the key side control unit 21. Further, the first communication unit 221 receives the beacon signal transmitted from the lock side communication unit 11. When the first communication unit 221 receives the beacon signal, the first communication unit 221 transmits a beacon response notifying that the beacon signal has been received to the lock side communication unit 11. That is, the first communication unit 221 has a signal transmission function and a signal reception function, and is configured to perform bidirectional communication with the lock side communication unit 11. When the lock side communication unit 11 receives the beacon response from the key device 2, the authentication communication for authenticating the key device 2 is started between the electric lock control system 1 and the key device 2.

第2通信部222は、例えばイーサネット(登録商標)規格に準拠した通信インタフェースであり、無線LAN(Local Area Network)に対応したルータに接続されている。本実施形態では、第2通信部222は、ルータとの間でWi−Fi(登録商標)に準拠した近距離無線通信を行う。第2通信部222は、ルータを介して、例えばインターネット等のネットワークN1に接続される。そして、第2通信部222は、ネットワークN1を介して、電気錠制御システム1とは異なる他システム(ここでは、サーバ7)との間で通信を行う。 The second communication unit 222 is, for example, a communication interface compliant with the Ethernet (registered trademark) standard, and is connected to a router compatible with a wireless LAN (Local Area Network). In the present embodiment, the second communication unit 222 performs Wi-Fi (registered trademark) -compliant short-range wireless communication with the router. The second communication unit 222 is connected to a network N1 such as the Internet via a router. Then, the second communication unit 222 communicates with another system (here, the server 7) different from the electric lock control system 1 via the network N1.

鍵側操作部23は、ユーザ(つまり、人)6による操作入力を受け付ける機能を有している。鍵側操作部23は、例えば鍵装置2のケースに設けられた押釦スイッチで構成されていてもよいし、鍵装置2のケースに設けられたレバーで構成されていてもよい。本実施形態では、鍵側操作部23は、表示部25を構成するディスプレイ装置に設けられたタッチパネルを有している。タッチパネルは、静電容量方式、感圧式などのタッチセンサを有する。ユーザ6が表示部25のディスプレイ装置に触れる操作(タップ操作、スワイプ操作等)を行うと、鍵側操作部23は、操作に応じた信号を鍵側制御部21に出力する。 The key-side operation unit 23 has a function of receiving an operation input by the user (that is, a person) 6. The key-side operation unit 23 may be composed of, for example, a push button switch provided in the case of the key device 2, or may be composed of a lever provided in the case of the key device 2. In the present embodiment, the key-side operation unit 23 has a touch panel provided on the display device constituting the display unit 25. The touch panel has a touch sensor such as a capacitance type or a pressure sensitive type. When the user 6 touches the display device of the display unit 25 (tap operation, swipe operation, etc.), the key side operation unit 23 outputs a signal corresponding to the operation to the key side control unit 21.

鍵側記憶部24は、例えばEEPROMのような電気的に書き換え可能な不揮発性メモリを備える。鍵側記憶部24は、鍵装置2に割り当てられた個別の識別情報、及び電気錠制御システム1から付与された鍵情報等を記憶する。また、鍵側記憶部24には、鍵装置2のコンピュータシステムが実行するプログラムが記憶されている。このプログラムは、予めメモリに記憶されていてもよいし、インターネット等の電気通信回線を通じて、又はメモリカード等の非一時的な記録媒体に記録されて提供されてもよい。本実施形態のように、鍵装置2がスマートフォンのような携帯端末であれば、鍵側記憶部24には、ユーザ6が任意にインストールしたアプリケーションが記憶されていてもよい。 The key-side storage unit 24 includes an electrically rewritable non-volatile memory such as EEPROM. The key side storage unit 24 stores individual identification information assigned to the key device 2, key information given by the electric lock control system 1, and the like. Further, the key side storage unit 24 stores a program executed by the computer system of the key device 2. This program may be stored in a memory in advance, may be recorded through a telecommunication line such as the Internet, or may be recorded and provided on a non-temporary recording medium such as a memory card. If the key device 2 is a mobile terminal such as a smartphone as in the present embodiment, the key side storage unit 24 may store an application arbitrarily installed by the user 6.

表示部25は、例えば液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等の薄型ディスプレイ装置である。表示部25は、鍵側制御部21によって表示内容が制御される。 The display unit 25 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 25 is controlled by the key side control unit 21.

(2.3)電気錠
電気錠3は、開閉部材5(ここでは、玄関扉)を解錠及び施錠する。電気錠3は、デッドボルトと、駆動部と、駆動回路と、を有している。駆動回路は、錠側制御部12から出力される制御信号(解錠信号又は施錠信号)に応じて駆動信号を作成し、この駆動信号を駆動部に出力する。駆動部は、電動モータと、電動モータの駆動力をデッドボルトに伝達する伝達機構と、を備えている。駆動部は、駆動回路から入力される駆動信号に従って駆動モータを駆動する。駆動モータの駆動力が伝達機構を介してデッドボルトに伝達されることによって、デッドボルトが施錠位置又は解錠位置に移動する。ここで、デッドボルトが施錠位置に移動した状態では、デッドボルトの少なくとも一部が、開閉部材5を支持する扉枠に設けられたボルト穴に挿入されており、この状態では開閉部材5が閉じた状態で保持される。デッドボルトが解錠位置に移動した状態では、デッドボルトの全体がボルト穴の外に出ており、この状態では開閉部材5の開閉が可能になる。
(2.3) Electric lock The electric lock 3 unlocks and locks the opening / closing member 5 (here, the entrance door). The electric lock 3 has a dead bolt, a drive unit, and a drive circuit. The drive circuit creates a drive signal according to a control signal (unlocking signal or locking signal) output from the lock side control unit 12, and outputs this 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, in the state where 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 opening / closing member 5, and in this state, the opening / closing member 5 is closed. It is held in a state of being. 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 opening / closing member 5 can be opened / closed.

(2.4)サーバ
サーバ7は、電気錠制御システム1が設置される建物4から離れた場所、例えば電気錠制御システム1の提供元、又は電気錠制御システム1を用いたサービスの提供元が所有する施設に設けられている。サーバ7は、ネットワークN1を介して鍵装置2の第2通信部222と通信を行う。サーバ7は、例えばプロセッサ及びメモリを含むコンピュータシステム(マイクロコンピュータを含む)を主構成とする。つまり、コンピュータシステムは、適宜のプログラムをプロセッサにて実行することにより、サーバ7として機能する。
(2.4) Server The server 7 is located away from the building 4 where the electric lock control system 1 is installed, for example, the provider of the electric lock control system 1 or the provider of the service using the electric lock control system 1. It is installed in the facility it owns. The server 7 communicates with the second communication unit 222 of the key device 2 via the network N1. The server 7 mainly includes, for example, a computer system (including a microcomputer) including a processor and a memory. That is, the computer system functions as the server 7 by executing an appropriate program on the processor.

サーバ7は、電気錠3の制御に関する制御プログラムの更新情報と、鍵装置2で用いるプログラムの更新情報とを記憶する。ここでいう「鍵装置2で用いるプログラム」は、鍵側制御部21で実行されるプログラムであり、言い換えれば、鍵装置2のファームウェアである。鍵装置2で用いる更新情報は、プログラム自体であってもよいし、更新前のプログラムとの差分のデータであってもよい。以下の説明では、これらの更新情報を「更新情報群」ともいう。 The server 7 stores the update information of the control program related to the control of the electric lock 3 and the update information of the program used by the key device 2. The "program used in the key device 2" here is a program executed by the key side control unit 21, in other words, the firmware of the key device 2. The update information used in the key device 2 may be the program itself or the data of the difference from the program before the update. In the following description, these updated information will also be referred to as "update information group".

更新情報群は、例えば電気錠制御システム1を用いたサービスの提供元により、適宜更新される。そして、サーバ7は、鍵装置2との通信により、鍵装置2からの要求に応じて、更新情報群を鍵装置2へ送信する。例えば、ユーザ6が鍵側操作部23を操作して特定の操作を行うことで、更新情報群を要求する要求信号が、鍵側通信部22からサーバ7へ送信される。サーバ7は、要求信号を受信すると、要求信号の送信元である鍵装置2に対して、更新情報群を送信する。 The update information group is appropriately updated by, for example, a service provider using the electric lock control system 1. Then, the server 7 transmits the update information group to the key device 2 in response to the request from the key device 2 by communicating with the key device 2. For example, when the user 6 operates the key-side operation unit 23 to perform a specific operation, a request signal requesting an update information group is transmitted from the key-side communication unit 22 to the server 7. When the server 7 receives the request signal, the server 7 transmits the update information group to the key device 2 which is the source of the request signal.

本実施形態のように鍵装置2がスマートフォンのような携帯端末である場合、更新情報群は、携帯端末の専用のアプリケーションに含まれる形で鍵装置2へ送信される。また、既に鍵装置2に専用のアプリケーションがインストールされている場合は、更新情報群は、専用のアプリケーションを更新するための情報として鍵装置2へ送信される。 When the key device 2 is a mobile terminal such as a smartphone as in the present embodiment, the update information group is transmitted to the key device 2 in a form included in a dedicated application of the mobile terminal. If the dedicated application is already installed in the key device 2, the update information group is transmitted to the key device 2 as information for updating the dedicated application.

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

(3.1)認証
まず、電気錠制御システム1による認証について説明する。錠側制御部12は、錠側通信部11を制御してアンテナを間欠的に駆動することで、ビーコン信号を送信する。ここで、鍵装置2を所有するユーザ6が電気錠制御システム1の通信エリアに立ち入ると、鍵側通信部22は、錠側通信部11からのビーコン信号を受信する。通信エリアは、鍵装置2での処理に必要な強度を持って、鍵装置2が電気錠制御システム1からの無線信号を受信可能な範囲である。
(3.1) Authentication First, authentication by the electric lock control system 1 will be described. The lock-side control unit 12 controls the lock-side communication unit 11 to intermittently drive the antenna to transmit a beacon signal. Here, when the user 6 who owns the key device 2 enters the communication area of the electric lock control system 1, the key side communication unit 22 receives the beacon signal from the lock side communication unit 11. The communication area has a strength required for processing by the key device 2, and is a range in which the key device 2 can receive a wireless signal from the electric lock control system 1.

鍵装置2は、ビーコン信号を受信すると、ビーコン応答を錠側通信部11へ送信する。鍵装置2からのビーコン応答を錠側通信部11が受信することにより、認証部121は、認証処理を実行する。認証処理に成功した場合、錠側制御部12は、自動的に又はユーザ6による錠側操作部13の操作を待って、電気錠3を制御して開閉部材5を施錠又は解錠する。一方、認証処理に失敗した場合、又は一定時間、鍵装置2からのビーコン応答を受信しなかった場合、錠側制御部12は電気錠3を制御しない。 Upon receiving the beacon signal, the key device 2 transmits a beacon response to the lock-side communication unit 11. When the lock-side communication unit 11 receives the beacon response from the key device 2, the authentication unit 121 executes the authentication process. When the authentication process is successful, the lock side control unit 12 automatically or waits for the operation of the lock side operation unit 13 by the user 6 to control the electric lock 3 to lock or unlock the opening / closing member 5. On the other hand, if the authentication process fails, or if the beacon response from the key device 2 is not received for a certain period of time, the lock side control unit 12 does not control the electric lock 3.

(3.2)電気錠制御システムにおける更新
次に、電気錠制御システム1の錠側制御部12が自己の制御プログラムを更新する動作について、図3を用いて説明する。以下の説明では、鍵装置2は、サーバ7との間の通信により、予め鍵装置2で用いるプログラムを更新しており、かつ、予め電気錠制御システム1の制御プログラムの更新情報を記憶していると仮定する。
(3.2) Update in the Electric Lock Control System Next, the operation of the lock side control unit 12 of the electric lock control system 1 to update its own control program will be described with reference to FIG. In the following description, the key device 2 updates the program used in the key device 2 in advance by communication with the server 7, and stores the update information of the control program of the electric lock control system 1 in advance. Suppose you have.

鍵装置2を所有するユーザ6が電気錠制御システム1の通信エリアに立ち入ると、電気錠制御システム1は、鍵装置2との間で通信を開始する(ステップS10)。そして、認証部121は、認証処理を実行する(ステップS11)。認証処理に失敗した場合(ステップS12:No)、上述のように、錠側制御部12は電気錠3を制御しない。この場合、鍵装置2が更新情報を記憶していたとしても、錠側通信部11は、鍵装置2から更新情報を受信しない。一方、認証処理に成功した場合(ステップS12:Yes)、錠側制御部12は、電気錠3を制御して開閉部材5を施錠又は解錠する(ステップS13)。 When the user 6 who owns the key device 2 enters the communication area of the electric lock control system 1, the electric lock control system 1 starts communication with the key device 2 (step S10). Then, the authentication unit 121 executes the authentication process (step S11). If the authentication process fails (step S12: No), the lock side control unit 12 does not control the electric lock 3 as described above. In this case, even if the key device 2 stores the update information, the lock side communication unit 11 does not receive the update information from the key device 2. On the other hand, when the authentication process is successful (step S12: Yes), the lock side control unit 12 controls the electric lock 3 to lock or unlock the opening / closing member 5 (step S13).

電気錠3を制御した後(つまり、認証に成功した後)、錠側通信部11は、鍵装置2と通信することにより、鍵装置2が記憶している更新情報を受信する。そして、錠側制御部12は、鍵装置2から更新情報を受信すると(ステップS14:Yes)、更新情報に基づいて自己の制御プログラムを更新する(ステップS15)。一方、鍵装置2が更新情報を記憶しておらず、錠側通信部11が鍵装置2から更新情報を受信できない場合(ステップS14:No)、錠側制御部12は、自己の制御プログラムの更新を行わない。 After controlling the electric lock 3 (that is, after the authentication is successful), the lock side communication unit 11 receives the update information stored in the key device 2 by communicating with the key device 2. Then, when the lock side control unit 12 receives the update information from the key device 2 (step S14: Yes), the lock side control unit 12 updates its own control program based on the update information (step S15). On the other hand, when the key device 2 does not store the update information and the lock side communication unit 11 cannot receive the update information from the key device 2 (step S14: No), the lock side control unit 12 has its own control program. Do not update.

(3.3)鍵装置における更新
次に、主として鍵装置2の鍵側制御部21が自己のプログラムを更新する動作について、図4を用いて説明する。以下の説明では、「(3.2)電気錠制御システムにおける更新」とは異なり、鍵装置2は、未だ鍵装置2で用いるプログラムを更新していないと仮定する。
(3.3) Update in the key device Next, the operation in which the key side control unit 21 of the key device 2 updates its own program will be described with reference to FIG. In the following description, unlike "(3.2) Update in the electric lock control system", it is assumed that the key device 2 has not yet updated the program used in the key device 2.

まず、鍵装置2は、ユーザ6が鍵側操作部23を操作したタイミングで、又は定期的に、サーバ7との間で通信する(ステップS20)。このとき、鍵装置2が未だ受信していない更新情報群がある場合(ステップS21:Yes)、鍵装置2は、サーバ7に更新情報群の送信を要求する。すると、サーバ7は、鍵装置2からの要求に応じて、更新情報群を鍵装置2へ送信する。鍵側制御部21は、鍵側通信部22がサーバ7から更新情報群を受信すると、更新情報群に含まれる鍵装置2で用いるプログラムの更新情報に基づいて、自己のプログラムを更新する(ステップS22)。また、鍵側制御部21は、更新情報群に含まれる制御プログラムの更新情報を鍵側記憶部24に記憶させる。言い換えれば、鍵装置2は、更新情報群に含まれる制御プログラムの更新情報を取得する(ステップS23)。一方、鍵装置2が未だ受信していない更新情報群がない場合(ステップS21:No)、鍵側制御部21は、自己のプログラムの更新を行わない。 First, the key device 2 communicates with the server 7 at the timing when the user 6 operates the key side operation unit 23 or periodically (step S20). At this time, if there is an update information group that the key device 2 has not yet received (step S21: Yes), the key device 2 requests the server 7 to transmit the update information group. Then, the server 7 transmits the update information group to the key device 2 in response to the request from the key device 2. When the key-side communication unit 22 receives the update information group from the server 7, the key-side control unit 21 updates its own program based on the update information of the program used by the key device 2 included in the update information group (step). S22). Further, the key side control unit 21 stores the update information of the control program included in the update information group in the key side storage unit 24. In other words, the key device 2 acquires the update information of the control program included in the update information group (step S23). On the other hand, when there is no update information group that the key device 2 has not yet received (step S21: No), the key side control unit 21 does not update its own program.

その後、鍵装置2を所有するユーザ6が電気錠制御システム1の通信エリアに立ち入ると、鍵装置2は、電気錠制御システム1との間で通信を開始する(ステップS24)。電気錠制御システム1で認証処理が実行され、認証処理に失敗した場合(ステップS25:No)、電気錠3は制御されず、開閉部材5の施錠及び解錠も行われない。この場合、鍵装置2が更新情報を記憶していたとしても、鍵装置2は、更新情報を電気錠制御システム1へ送信しない。 After that, when the user 6 who owns the key device 2 enters the communication area of the electric lock control system 1, the key device 2 starts communication with the electric lock control system 1 (step S24). When the authentication process is executed by the electric lock control system 1 and the authentication process fails (step S25: No), the electric lock 3 is not controlled, and the opening / closing member 5 is not locked or unlocked. In this case, even if the key device 2 stores the update information, the key device 2 does not transmit the update information to the electric lock control system 1.

認証処理に成功した場合であって(ステップS25:Yes)、鍵装置2が更新情報を記憶している場合(ステップS26:Yes)、鍵装置2は、更新情報を電気錠制御システム1へ送信する。認証処理に成功した場合であっても(ステップS25:Yes)、鍵装置2が更新情報を記憶していない場合(ステップS26:No)、鍵装置2は、更新情報を電気錠制御システム1へ送信しない。 When the authentication process is successful (step S25: Yes) and the key device 2 stores the update information (step S26: Yes), the key device 2 transmits the update information to the electric lock control system 1. do. Even if the authentication process is successful (step S25: Yes), even if the key device 2 does not store the update information (step S26: No), the key device 2 transfers the update information to the electric lock control system 1. Do not send.

上述のように、錠側制御部12は、鍵装置2が予め更新情報を取得している場合、鍵装置2から錠側通信部11が受信した更新情報に基づいて、自己の制御プログラムを更新する。このため、本実施形態では、専用のメンテナンス装置を用いなくても、電気錠3の制御に関する制御プログラムを更新することが可能である。 As described above, when the key device 2 has acquired the update information in advance, the lock side control unit 12 updates its own control program based on the update information received by the lock side communication unit 11 from the key device 2. do. Therefore, in the present embodiment, it is possible to update the control program related to the control of the electric lock 3 without using a dedicated maintenance device.

また、本実施形態では、錠側通信部11は、認証部121にて鍵装置2の認証に成功した状態で、制御プログラムの更新情報を受信している。つまり、錠側制御部12は、認証部121にて鍵装置2の認証に成功した場合にのみ、自己の制御プログラムを更新する。このため、本実施形態では、新たな認証手段を用意しなくても、不正な機器による不正な制御プログラムの改変を防止することが可能である、という利点がある。 Further, in the present embodiment, the lock-side communication unit 11 receives the update information of the control program in a state where the authentication unit 121 has succeeded in authenticating the key device 2. That is, the lock side control unit 12 updates its own control program only when the authentication unit 121 succeeds in authenticating the key device 2. Therefore, the present embodiment has an advantage that it is possible to prevent unauthorized modification of the control program by an unauthorized device without preparing a new authentication means.

(4)変形例
上述の実施形態は、本開示の様々な実施形態の一つに過ぎない。上述の実施形態は、本開示の目的を達成できれば、設計等に応じて種々の変更が可能である。以下、上述の実施形態の変形例を列挙する。以下に説明する変形例は、適宜組み合わせて適用可能である。
(4) Modified Example The above-described embodiment is only one of the various embodiments of the present disclosure. The above-described embodiment can be changed in various ways depending on the design and the like as long as the object of the present disclosure can be achieved. Hereinafter, modifications of the above-described embodiment will be listed. The modifications described below can be applied in combination as appropriate.

一実施形態に係る通信方法は、第1通信部221及び第2通信部222を有する鍵装置2の通信方法である。第1通信部221は、電気錠制御システム1との間で通信を行う。第2通信部222は、電気錠制御システム1とは異なる他システム(サーバ7)との間で通信を行う。この通信方法は、取得ステップと、送信ステップと、を有する。取得ステップは、第2通信部222と他システムとの通信により、電気錠制御システム1の制御対象である電気錠3の制御に関する制御プログラムの更新情報を取得するステップである。送信ステップは、第1通信部221と電気錠制御システム1との通信により、取得した更新情報の少なくとも一部を電気錠制御システム1へ送信するステップである。 The communication method according to one embodiment is a communication method of the key device 2 having the first communication unit 221 and the second communication unit 222. The first communication unit 221 communicates with the electric lock control system 1. The second communication unit 222 communicates with another system (server 7) different from the electric lock control system 1. This communication method includes an acquisition step and a transmission step. The acquisition step is a step of acquiring update information of a control program related to the control of the electric lock 3 which is the control target of the electric lock control system 1 by communicating with the second communication unit 222 and another system. The transmission step is a step of transmitting at least a part of the acquired update information to the electric lock control system 1 by communication between the first communication unit 221 and the electric lock control system 1.

一実施形態に係るプログラムは、コンピュータシステムに、上記の通信方法を実行させるためのプログラムである。 The program according to one embodiment is a program for causing a computer system to execute the above-mentioned communication method.

以下、実施形態の変形例を列挙する。以下に説明する変形例は、適宜組み合わせて適用可能である。 Hereinafter, modified examples of the embodiments are listed. The modifications described below can be applied in combination as appropriate.

上述の実施形態において、「制御プログラムの更新」には、例えばリモコン機能を有していない鍵装置2にリモコン機能を付与する等、機能の追加が含まれていてもよい。 In the above-described embodiment, the "update of the control program" may include the addition of a function such as adding the remote control function to the key device 2 that does not have the remote control function.

上述の実施形態では、錠側制御部12は、電気錠3を制御して開閉部材5を施錠又は解錠した後に、更新情報の有無を確認しているが、逆であってもよい。つまり、図3において、錠側制御部12は、ステップS13を実行する前に、ステップS14,S15を実行してもよい。 In the above-described embodiment, the lock-side control unit 12 controls the electric lock 3 to lock or unlock the opening / closing member 5, and then confirms the presence / absence of the update information, but the reverse may be performed. That is, in FIG. 3, the lock side control unit 12 may execute steps S14 and S15 before executing step S13.

上述の実施形態では、錠側通信部11は、認証部121にて鍵装置2の認証に成功した場合に、鍵装置2から更新情報を受信しているが、これに限定する趣旨ではない。例えば、錠側通信部11は、認証部121での鍵装置2の認証の成功・失敗を問わず、鍵装置2から更新情報を受信してもよい。言い換えれば、錠側制御部12は、認証部121での鍵装置2の認証の成功・失敗を問わず、自己の制御プログラムを更新してもよい。 In the above-described embodiment, the lock-side communication unit 11 receives the update information from the key device 2 when the authentication unit 121 succeeds in authenticating the key device 2, but the purpose is not limited to this. For example, the lock-side communication unit 11 may receive update information from the key device 2 regardless of the success or failure of the authentication of the key device 2 by the authentication unit 121. In other words, the lock side control unit 12 may update its own control program regardless of the success or failure of the authentication of the key device 2 by the authentication unit 121.

上述の実施形態では、鍵装置2は、専用のアプリケーションを更新する等して予め制御プログラムの更新情報を取得しているが、これに限定する趣旨ではない。例えば、電気錠制御システム1は、認証に成功したときに、鍵装置2を中継機として、サーバ7から制御プログラムの更新情報を取得してもよい。この場合、鍵装置2に予め制御プログラムの更新情報を取得させる必要はない。 In the above-described embodiment, the key device 2 acquires the update information of the control program in advance by updating a dedicated application or the like, but the purpose is not limited to this. For example, the electric lock control system 1 may acquire the update information of the control program from the server 7 by using the key device 2 as a repeater when the authentication is successful. In this case, it is not necessary for the key device 2 to acquire the update information of the control program in advance.

上述の実施形態において、制御プログラムのバージョンと、鍵装置2で用いるプログラムのバージョンとが互いに異なる場合でも、開閉部材5の施錠及び解錠の少なくとも一方が可能であってもよい。例えば、鍵装置2にて鍵装置2で用いるプログラムの更新を行い、電気錠制御システム1にて制御プログラムの更新を行っていない場合に、バージョンの相違が生じる。このような場合でも、錠側制御部12は、認証処理を実行し、かつ、電気錠3を制御して開閉部材5の施錠又は解錠を行ってもよい。この態様では、錠側制御部12は、制御プログラムを更新した場合、更新前の制御プログラムを錠側記憶部14に記憶させておくのが好ましい。また、この態様では、鍵側制御部21は、鍵装置2で用いるプログラムを更新した場合、更新前のプログラムを鍵側記憶部24に記憶させておくのが好ましい。 In the above-described embodiment, even if the version of the control program and the version of the program used in the key device 2 are different from each other, at least one of locking and unlocking of the opening / closing member 5 may be possible. For example, when the key device 2 updates the program used in the key device 2 and the electric lock control system 1 does not update the control program, a version difference occurs. Even in such a case, the lock side control unit 12 may execute the authentication process and control the electric lock 3 to lock or unlock the opening / closing member 5. In this aspect, when the control program is updated, the lock side control unit 12 preferably stores the control program before the update in the lock side storage unit 14. Further, in this aspect, when the key side control unit 21 updates the program used in the key device 2, it is preferable that the key side storage unit 24 stores the program before the update.

上述の実施形態において、錠側通信部11は、鍵装置2に対して、自己の制御プログラムに関する情報(例えば、制御プログラムのバージョン情報等)を送信してもよい。例えば、錠側通信部11は、所定の条件を満たすと、自己の制御プログラムに関する情報を鍵装置2へ送信する。所定の条件は、例えば開閉部材5の施錠又は解錠である。その他、所定の条件は、例えば鍵側操作部23が特定の操作を受け付けることである。この態様では、制御プログラムに関する情報が表示部25に表示されることで、制御プログラムの更新が必要であるか否かをユーザ6が把握し易い、という利点がある。 In the above-described embodiment, the lock-side communication unit 11 may transmit information about its own control program (for example, version information of the control program) to the key device 2. For example, the lock-side communication unit 11 transmits information about its own control program to the key device 2 when a predetermined condition is satisfied. The predetermined condition is, for example, locking or unlocking of the opening / closing member 5. In addition, a predetermined condition is that, for example, the key-side operation unit 23 accepts a specific operation. In this aspect, since the information about the control program is displayed on the display unit 25, there is an advantage that the user 6 can easily grasp whether or not the control program needs to be updated.

上述の実施形態において、錠側制御部12は、制御プログラムの更新が完了すると、制御プログラムの更新が完了した旨を表す情報を含む通知信号を、錠側通信部11から鍵装置2へ送信してもよい。また、錠側制御部12は、制御プログラムの更新の状況を表す情報を含む通知信号を、リアルタイムに錠側通信部11から鍵装置2へ送信してもよい。つまり、錠側通信部11は、鍵装置2に対して、自己の制御プログラムの更新の状況及び更新の完了の少なくとも一方に関する情報(通知信号)を送信してもよい。この場合、鍵装置2の表示部25には、例えば制御プログラムの更新の進捗を表す百分率、制御プログラムの更新の完了までに要する時間、又はプログレスバー(progress bar)等が表示される。制御プログラムの更新の状況を通知する場合は、錠側制御部12は、例えば鍵装置2からダウンロードしたデータ量と、更新情報の総データ量とに基づいて百分率などの情報をリアルタイムで計算し、計算した情報を錠側通信部11から鍵装置2へ送信する。この態様では、制御プログラムの更新が完了したか否か、又は制御プログラムの更新がどの程度進んでいるかをユーザ6が把握し易い、という利点がある。 In the above-described embodiment, when the update of the control program is completed, the lock-side control unit 12 transmits a notification signal including information indicating that the update of the control program is completed from the lock-side communication unit 11 to the key device 2. You may. Further, the lock-side control unit 12 may transmit a notification signal including information indicating the update status of the control program from the lock-side communication unit 11 to the key device 2 in real time. That is, the lock-side communication unit 11 may transmit information (notification signal) regarding at least one of the update status and the completion of the update of its own control program to the key device 2. In this case, the display unit 25 of the key device 2 displays, for example, a percentage indicating the progress of the update of the control program, the time required to complete the update of the control program, a progress bar, or the like. When notifying the update status of the control program, the lock side control unit 12 calculates information such as a percentage in real time based on, for example, the amount of data downloaded from the key device 2 and the total amount of update information. The calculated information is transmitted from the lock side communication unit 11 to the key device 2. In this aspect, there is an advantage that the user 6 can easily grasp whether or not the update of the control program is completed or how much the update of the control program has progressed.

上述の実施形態において、錠側制御部12は、自己の制御プログラムの更新中においては、電気錠の制御を行わないのが好ましい。この場合、制御プログラムの更新中においては、たとえ鍵装置2(制御プログラムの更新に用いる鍵装置2だけではなく、他の鍵装置2も含む)との認証に成功していたとしても、開閉部材5の施錠及び解錠が行われない。この態様では、制御プログラムの更新中において他の処理が入り込まないため、制御プログラムの更新に要する時間を短縮し易い、という利点がある。また、この態様では、制御プログラムの更新中において開閉部材5の施錠及び解錠が行われないので、安全性を確保し易い、という利点がある。 In the above-described embodiment, the lock-side control unit 12 preferably does not control the electric lock during the update of its own control program. In this case, during the update of the control program, even if the authentication with the key device 2 (including not only the key device 2 used for updating the control program but also other key devices 2) is successful, the opening / closing member 5 is not locked or unlocked. In this aspect, since other processing does not enter during the update of the control program, there is an advantage that the time required for updating the control program can be easily shortened. Further, in this aspect, since the opening / closing member 5 is not locked or unlocked during the update of the control program, there is an advantage that safety can be easily ensured.

上述の実施形態において、錠側通信部11は、制御プログラムの更新情報を一時に受信しているが、これに限定する趣旨ではない。例えば、錠側通信部11は、鍵装置2と通信可能な状態において、所定の回数に分けて制御プログラムの更新情報を受信してもよい。この態様では、制御プログラムの更新情報のデータ量が比較的多い場合でも、1回当たりの制御プログラムの更新情報の受信に要する時間を短縮することができる、という利点がある。また、この態様では、例えば鍵装置2が電気錠制御システム1の通信エリア内に立ち入るごとに制御プログラムの更新情報を受信すれば、日常においてユーザ6が建物4への出入りを繰り返している間に、制御プログラムを更新することが可能である。 In the above-described embodiment, the lock-side communication unit 11 receives the update information of the control program at one time, but the purpose is not limited to this. For example, the lock-side communication unit 11 may receive the update information of the control program in a predetermined number of times in a state where it can communicate with the key device 2. In this aspect, even when the amount of data of the update information of the control program is relatively large, there is an advantage that the time required for receiving the update information of the control program at one time can be shortened. Further, in this embodiment, for example, if the key device 2 receives the update information of the control program each time the key device 2 enters the communication area of the electric lock control system 1, the user 6 repeatedly enters and exits the building 4 on a daily basis. , It is possible to update the control program.

上述の実施形態において、制御プログラムの更新は、開閉部材5が施錠されている施錠状態(例えば、建物4の内側41から施錠された状態)にあるときに行われるのが好ましい。また、制御プログラムの更新は、開閉部材5が解錠されている解錠状態にあるときに行われてもよい。つまり、錠側制御部12は、開閉部材5の施錠状態及び解錠状態の少なくとも一方の状態にあるときの更新期間において、自己の制御プログラムを更新してもよい。この態様では、例えばユーザ6が建物4内に滞在しているとき、又はユーザ6が建物4を出入りするとき等の限定された期間において制御プログラムの更新が行われるので、ユーザ6の意図しないタイミングで制御プログラムの更新が行われ難い、という利点がある。 In the above-described embodiment, the update of the control program is preferably performed when the opening / closing member 5 is locked (for example, locked from the inside 41 of the building 4). Further, the control program may be updated when the opening / closing member 5 is in the unlocked state. That is, the lock side control unit 12 may update its own control program during the renewal period when the opening / closing member 5 is in at least one of the locked state and the unlocked state. In this aspect, since the control program is updated for a limited period of time, for example, when the user 6 is staying in the building 4 or when the user 6 enters and exits the building 4, the timing not intended by the user 6 is set. There is an advantage that it is difficult to update the control program.

上述の実施形態では、錠側通信部11は、ユーザ6の更新の意思に依らず、制御プログラムの更新情報を受信しているが、これに限定する趣旨ではない。例えば、錠側通信部11は、鍵装置2を所有するユーザ6による更新の意思を表す情報を含む信号を受信したとき、制御プログラムの更新情報を受信してもよい。 In the above-described embodiment, the lock-side communication unit 11 receives the update information of the control program regardless of the update intention of the user 6, but the purpose is not limited to this. For example, the lock-side communication unit 11 may receive the update information of the control program when the user 6 who owns the key device 2 receives the signal including the information indicating the intention to update.

この態様では、鍵側制御部21は、例えば錠側制御部12が図3におけるステップS15を実行する前に、ユーザ6による更新の意思を確認するためのメッセージを表示部25に表示する。メッセージは、例えば「制御プログラムの更新を行う準備ができています。更新しますか?」等である。ユーザ6は、このメッセージに対して、例えば「はい」、「いいえ」のいずれかを選択する操作を行うことで、制御プログラムを更新する意思の有無を入力する。鍵側制御部21は、鍵側操作部23が制御プログラムの更新を肯定する入力を受け付けると、ユーザ6による更新の意思を表す情報を含む信号を、鍵側通信部22から電気錠制御システム1へ送信する。 In this aspect, the key-side control unit 21 displays, for example, a message on the display unit 25 for confirming the intention of the user 6 to update before the lock-side control unit 12 executes step S15 in FIG. The message is, for example, "Ready to update the control program. Do you want to update?" The user 6 inputs whether or not he / she intends to update the control program by performing an operation of selecting, for example, "Yes" or "No" for this message. When the key-side operation unit 23 receives an input affirming the update of the control program, the key-side control unit 21 sends a signal including information indicating the intention of the update by the user 6 from the key-side communication unit 22 to the electric lock control system 1. Send to.

これにより、錠側制御部12は、ユーザ6による更新の意思を確認した上で、自己の制御プログラムを更新する。一方、錠側制御部12は、ユーザ6による更新の意思を確認できない場合は、自己の制御プログラムの更新を行わない。この態様では、ユーザ6が気付かない間に勝手に制御プログラムの更新が行われるのを防止することができる、という利点がある。 As a result, the lock side control unit 12 updates its own control program after confirming the intention of the user 6 to update. On the other hand, the lock side control unit 12 does not update its own control program when the user 6 cannot confirm the intention to update. This aspect has an advantage that it is possible to prevent the control program from being updated without the user's knowledge.

上述のように、錠側制御部12に用いるプログラムの更新は、ユーザ6の意思を介さずに自動的に行われてもよいし、ユーザ6の意思を確認した上で行われてもよい。例えば、ユーザインタフェースの変更、又は機能の追加など、ユーザ6の操作に関わる制御プログラムの更新であれば、ユーザの意思を確認するのが好ましい。一方、バグの修正など、ユーザ6の操作に関わらない制御プログラムの更新であれば、ユーザ6の意思を確認せずに自動的に行われてもよい。 As described above, the update of the program used for the lock side control unit 12 may be automatically performed without the intention of the user 6, or may be performed after confirming the intention of the user 6. For example, in the case of updating a control program related to the operation of the user 6, such as changing the user interface or adding a function, it is preferable to confirm the intention of the user. On the other hand, if the control program is updated without being related to the operation of the user 6, such as fixing a bug, the update may be automatically performed without confirming the intention of the user 6.

上述の実施形態において、錠側通信部11は、制御プログラムの更新情報の他に、鍵装置2で用いるプログラムの更新情報を更に受信してもよい。そして、錠側通信部11は、鍵装置2で用いるプログラムの更新情報を、鍵装置2とは異なる他の鍵装置2(つまり、制御プログラムの更新に用いる鍵装置2以外の鍵装置2)へ送信してもよい。鍵装置2で用いるプログラムの更新情報を送信するタイミングは、例えば他の鍵装置2を所有するユーザ6が電気錠制御システム1の通信エリアに立ち入るときである。この態様では、他の鍵装置2において、専用のアプリケーションを更新する等して鍵装置2で用いるプログラムの更新情報を取得しなくても、鍵装置2で用いるプログラムを更新することが可能である、という利点がある。この態様は、特に、サーバ7との通信機能を有さない鍵装置2に対して有用である。 In the above-described embodiment, the lock-side communication unit 11 may further receive the update information of the program used in the key device 2 in addition to the update information of the control program. Then, the lock-side communication unit 11 transfers the update information of the program used in the key device 2 to another key device 2 different from the key device 2 (that is, the key device 2 other than the key device 2 used to update the control program). You may send it. The timing for transmitting the update information of the program used by the key device 2 is, for example, when the user 6 who owns another key device 2 enters the communication area of the electric lock control system 1. In this aspect, it is possible to update the program used in the key device 2 without acquiring the update information of the program used in the key device 2 by updating the dedicated application in the other key device 2. , Has the advantage. This aspect is particularly useful for the key device 2 which does not have a communication function with the server 7.

(5)その他の変形例
以下、その他の変形例について列挙する。以下に説明する変形例は、「(4)変形例」に列挙した変形例を含めて、適宜組み合わせて適用可能である。
(5) Other modified examples The other modified examples are listed below. The modified examples described below can be applied in appropriate combinations, including the modified examples listed in "(4) Modified examples".

本開示における電気錠制御システム1又は通信方法の実行主体は、コンピュータシステムを含んでいる。コンピュータシステムは、ハードウェアとしてのプロセッサ及びメモリを有する。コンピュータシステムのメモリに記録されたプログラムをプロセッサが実行することによって、本開示における電気錠制御システム1又は通信方法の実行主体としての機能が実現される。プログラムは、コンピュータシステムのメモリに予め記録されていてもよいが、電気通信回線を通じて提供されてもよい。また、プログラムは、コンピュータシステムで読み取り可能なメモリカード、光学ディスク、ハードディスクドライブ等の非一時的な記録媒体に記録されて提供されてもよい。コンピュータシステムのプロセッサは、半導体集積回路(IC)又は大規模集積回路(LSI)を含む1乃至複数の電子回路で構成される。複数の電子回路は、1つのチップに集約されていてもよいし、複数のチップに分散して設けられていてもよい。複数のチップは、1つの装置に集約されていてもよいし、複数の装置に分散して設けられていてもよい。 The executing body of the electric lock control system 1 or the communication method in the present disclosure includes a computer system. A computer system has a processor and memory as hardware. When the processor executes the program recorded in the memory of the computer system, the function as the execution subject of the electric lock control system 1 or the communication method in the present disclosure is realized. The program may be pre-recorded in the memory of the computer system or may be provided through a telecommunication line. Further, the program may be provided by being recorded on a non-temporary recording medium such as a memory card, an optical disk, or a hard disk drive that can be read by a computer system. A processor in a computer system is composed of one or more electronic circuits including a semiconductor integrated circuit (IC) or a large scale integrated circuit (LSI). A plurality of electronic circuits may be integrated on one chip, or may be distributed on a plurality of chips. The plurality of chips may be integrated in one device, or may be distributed in a plurality of devices.

上述の実施形態では、錠側制御部12が1つの回路で実現されているが、2つ以上の回路で実現されていてもよい。例えば、錠側制御部12の機能が、2つ以上の回路に分散して設けられていてもよい。また、例えば、錠側制御部12の機能が、1つのケースに収まる1つの装置に設けられていてもよいし、複数の装置に分散して設けられていてもよい。さらに、錠側制御部12の少なくとも一部の機能は、例えば、クラウド(クラウドコンピューティング)によって実現されていてもよい。 In the above-described embodiment, the lock side control unit 12 is realized by one circuit, but it may be realized by two or more circuits. For example, the functions of the lock side control unit 12 may be distributed and provided in two or more circuits. Further, for example, the function of the lock side control unit 12 may be provided in one device that fits in one case, or may be provided in a plurality of devices in a distributed manner. Further, at least a part of the functions of the lock side control unit 12 may be realized by, for example, the cloud (cloud computing).

上述の実施形態では、認証部121は、錠側制御部12の機能の1つとして実現されているが、これに限定する趣旨ではない。例えば、認証部121は、錠側制御部12とは別の回路として設けられていてもよい。 In the above-described embodiment, the authentication unit 121 is realized as one of the functions of the lock side control unit 12, but the purpose is not limited to this. For example, the authentication unit 121 may be provided as a circuit separate from the lock side control unit 12.

上述の実施形態において、錠側通信部11は、1つの通信インタフェースであるが、これに限定する趣旨ではない。例えば、錠側通信部11は、制御プログラムの更新用の通信インタフェースと、鍵装置2の認証用の通信インタフェースと、を有していてもよい。 In the above-described embodiment, the lock-side communication unit 11 is one communication interface, but the purpose is not limited to this. For example, the lock-side communication unit 11 may have a communication interface for updating the control program and a communication interface for authenticating the key device 2.

上述の実施形態では、錠側通信部11及び錠側制御部12が1つのケースに収納されているが、これに限定する趣旨ではない。例えば、錠側通信部11及び錠側制御部12は、2つ以上のケースに分散して収納されていてもよい。 In the above-described embodiment, the lock-side communication unit 11 and the lock-side control unit 12 are housed in one case, but the present invention is not limited to this. For example, the lock-side communication unit 11 and the lock-side control unit 12 may be distributed and stored in two or more cases.

上述の実施形態では、鍵装置2の第2通信部222は、ルータを介してネットワークN1に接続されるが、これに限定する趣旨ではない。例えば、第2通信部222は、通信事業者が提供する携帯電話網(キャリア網)を介して、ネットワークN1に接続されてもよい。携帯電話網には、例えば3G(第3世代)回線、LTE(Long Term Evolution)回線等がある。その他、第2通信部222は、公衆無線LANを介してネットワークN1に接続されてもよい。 In the above-described embodiment, the second communication unit 222 of the key device 2 is connected to the network N1 via a router, but the present invention is not limited to this. For example, the second communication unit 222 may be connected to the network N1 via a mobile phone network (carrier network) provided by a telecommunications carrier. The mobile phone network includes, for example, a 3G (third generation) line, an LTE (Long Term Evolution) line, and the like. In addition, the second communication unit 222 may be connected to the network N1 via a public wireless LAN.

上述の実施形態では、鍵装置2は、第1通信部221と、第2通信部222の2つの通信部を備えているが、これに限定する趣旨ではない。例えば、第1通信部221及び第2通信部222は、1つの通信部で構成されていてもよい。 In the above-described embodiment, the key device 2 includes two communication units, a first communication unit 221 and a second communication unit 222, but the present invention is not limited to this. For example, the first communication unit 221 and the second communication unit 222 may be composed of one communication unit.

上述の実施形態では、鍵装置2は、スマートフォンのような携帯端末であるが、これに限定する趣旨ではない。例えば、鍵装置2は、コンピュータシステムを電気錠制御システム1の鍵として動作させるためのプログラム(アプリケーション)を実行可能な携帯端末であれば、タブレット型のコンピュータ等であってもよい。また、鍵装置2は、例えばユーザ6が所持する鞄などに収納又は取付可能な電子タグ、及びIC(Integrated Circuit)カード等であってもよい。 In the above-described embodiment, the key device 2 is a mobile terminal such as a smartphone, but the purpose is not limited to this. For example, the key device 2 may be a tablet-type computer or the like as long as it is a mobile terminal capable of executing a program (application) for operating the computer system as a key of the electric lock control system 1. Further, the key device 2 may be, for example, an electronic tag that can be stored or attached to a bag or the like owned by the user 6, an IC (Integrated Circuit) card, or the like.

ここで、鍵装置2がサーバ7との通信機能を有していない場合、例えば電気錠制御システム1向けのサービス提供事業者が鍵装置2で用いるプログラムの更新を行い、かつ、制御プログラムの更新情報を記憶させるのが好ましい。例えば、鍵装置2が電子タグである場合、ユーザ6は、サービス提供事業者に鍵装置2を一時的に預けることで、上記の作業をサービス提供事業者に行ってもらえばよい。 Here, when the key device 2 does not have a communication function with the server 7, for example, the service provider for the electric lock control system 1 updates the program used in the key device 2 and updates the control program. It is preferable to store the information. For example, when the key device 2 is an electronic tag, the user 6 may have the service provider perform the above work by temporarily depositing the key device 2 with the service provider.

上述の実施形態では、鍵装置2は、開閉部材5の解錠操作及び施錠操作の両方を行うことができるが、他の構成であってもよい。例えば、鍵装置2は、開閉部材5の解錠操作だけを行う構成であってもよい。すなわち、鍵装置2は、開閉部材5の施錠操作及び解錠操作のうち少なくとも解錠操作を行うように構成されていればよい。 In the above-described embodiment, the key device 2 can perform both the unlocking operation and the locking operation of the opening / closing member 5, but may have other configurations. For example, the key device 2 may be configured to only unlock the opening / closing member 5. That is, the key device 2 may be configured to perform at least the unlocking operation of the locking and unlocking operations of the opening / closing member 5.

上述の実施形態では、開閉部材5は、建物4の内側41と外側42とを隔てる扉(開き戸又は引戸)又は窓であるが、建物4の一部の区画の内側41と外側42とを隔てる扉であってもよい。例えば、建物4が複数の住戸を有する集合住宅、複数の店舗を有するテナントビル、及び複数の事務所を有するオフィスビルであれば、個々の区画(住戸、店舗、事務所)の内側41と外側42とを隔てる扉が開閉部材5となる。 In the above embodiment, the opening / closing member 5 is a door (swing door or sliding door) or window that separates the inside 41 and the outside 42 of the building 4, but separates the inside 41 and the outside 42 of a part of the building 4. It may be a door. For example, if the building 4 is an apartment house having a plurality of dwelling units, a tenant building having a plurality of stores, and an office building having a plurality of offices, the inside 41 and the outside of each section (dwelling unit, store, office) The door that separates the 42 is the opening / closing member 5.

上述の実施形態では、電気錠制御システム1は戸建て住宅に適用されているが、例えば集合住宅の各住戸に適用されてもよい。また、電気錠制御システム1は、集合住宅の共用部玄関に適用されてもよいし、事務所、店舗、工場などの非住宅用の建物4に適用されてもよい。 In the above-described embodiment, the electric lock control system 1 is applied to a detached house, but may be applied to each dwelling unit of an apartment house, for example. Further, the electric lock control system 1 may be applied to a common entrance of an apartment house, or may be applied to a non-residential building 4 such as an office, a store, or a factory.

(まとめ)
以上述べたように、第1の態様に係る電気錠制御システム(1)は、錠側通信部(11)と、錠側制御部(12)と、を備える。錠側通信部(11)は、鍵装置(2)との間で通信を行う。錠側制御部(12)は、鍵装置(2)と錠側通信部(11)との間の通信により、電気錠(3)を制御して建物(4)の開口部(40)を開閉する開閉部材(5)の施錠及び解錠の少なくとも一方を行う。錠側制御部(12)は、鍵装置(2)から錠側通信部(11)が受信した電気錠(3)の制御に関する制御プログラムの更新情報に基づいて、自己の制御プログラムを更新する。
(summary)
As described above, the electric lock control system (1) according to the first aspect includes a lock-side communication unit (11) and a lock-side control unit (12). The lock-side communication unit (11) communicates with the key device (2). The lock-side control unit (12) controls the electric lock (3) by communication between the key device (2) and the lock-side communication unit (11) to open and close the opening (40) of the building (4). At least one of locking and unlocking of the opening / closing member (5) is performed. The lock-side control unit (12) updates its own control program based on the update information of the control program related to the control of the electric lock (3) received by the lock-side communication unit (11) from the key device (2).

この態様によれば、電気錠(3)の制御に関する制御プログラムの更新を行う場合の利便性を向上させることができる、という利点がある。 According to this aspect, there is an advantage that the convenience when updating the control program related to the control of the electric lock (3) can be improved.

第2の態様に係る電気錠制御システム(1)は、第1の態様において、鍵装置(2)との通信により、鍵装置(2)が正規の鍵装置であるか否かの認証を行う認証部(121)を更に備える。錠側通信部(11)は、認証部(121)にて鍵装置(2)の認証に成功した状態で、制御プログラムの更新情報を受信する。 In the first aspect, the electric lock control system (1) according to the second aspect authenticates whether or not the key device (2) is a legitimate key device by communicating with the key device (2). A certification unit (121) is further provided. The lock-side communication unit (11) receives the update information of the control program in a state where the authentication unit (121) succeeds in authenticating the key device (2).

この態様によれば、新たな認証手段を用意しなくても、不正な機器による不正な制御プログラムの改変を防止することが可能である、という利点がある。 According to this aspect, there is an advantage that it is possible to prevent unauthorized modification of the control program by an unauthorized device without preparing a new authentication means.

第3の態様に係る電気錠制御システム(1)では、第2の態様において、錠側通信部(11)は、鍵装置(2)と認証部(121)との間の通信に用いられる。 In the electric lock control system (1) according to the third aspect, in the second aspect, the lock side communication unit (11) is used for communication between the key device (2) and the authentication unit (121).

この態様によれば、既存の認証用の通信インタフェースを用いることで、簡易な構成で制御プログラムの更新情報を受信する手段を実現できる、という利点がある。 According to this aspect, by using the existing communication interface for authentication, there is an advantage that a means for receiving the update information of the control program can be realized with a simple configuration.

第4の態様に係る電気錠制御システム(1)では、第1〜第3のいずれかの態様において、錠側通信部(11)は、鍵装置(2)に対して、自己の制御プログラムに関する情報を送信する。 In the electric lock control system (1) according to the fourth aspect, in any one of the first to third aspects, the lock side communication unit (11) relates to its own control program with respect to the key device (2). Send information.

この態様によれば、制御プログラムの更新が必要であるか否かをユーザ(6)が把握し易い、という利点がある。 According to this aspect, there is an advantage that the user (6) can easily grasp whether or not the control program needs to be updated.

第5の態様に係る電気錠制御システム(1)では、第1〜第4のいずれかの態様において、錠側通信部(11)は、鍵装置(2)に対して、自己の制御プログラムの更新の状況及び更新の完了の少なくとも一方に関する情報を送信する。 In the electric lock control system (1) according to the fifth aspect, in any one of the first to fourth aspects, the lock side communication unit (11) has a control program for the key device (2). Send information about the status of the update and at least one of the completion of the update.

この態様によれば、制御プログラムの更新が完了したか否か、又は制御プログラムの更新がどの程度進んでいるかをユーザ(6)が把握し易い、という利点がある。 According to this aspect, there is an advantage that the user (6) can easily grasp whether or not the update of the control program is completed or how much the update of the control program has progressed.

第6の態様に係る電気錠制御システム(1)では、第1〜第5のいずれかの態様において、錠側制御部(12)は、自己の制御プログラムの更新中においては、電気錠(3)の制御を行わない。 In the electric lock control system (1) according to the sixth aspect, in any one of the first to fifth aspects, the lock side control unit (12) is using the electric lock (3) while updating its own control program. ) Is not controlled.

この態様によれば、制御プログラムの更新中において他の処理が入り込まないため、制御プログラムの更新に要する時間を短縮し易い、という利点がある。 According to this aspect, since other processing does not enter during the update of the control program, there is an advantage that the time required for updating the control program can be easily shortened.

第7の態様に係る電気錠制御システム(1)では、第1〜第6のいずれかの態様において、錠側通信部(11)は、鍵装置(2)と通信可能な状態において、所定の回数に分けて制御プログラムの更新情報を受信する。 In the electric lock control system (1) according to the seventh aspect, in any one of the first to sixth aspects, the lock side communication unit (11) is predetermined in a state where it can communicate with the key device (2). Receive the update information of the control program divided into the number of times.

この態様によれば、制御プログラムの更新情報のデータ量が比較的多い場合でも、1回当たりの制御プログラムの更新情報の受信に要する時間を短縮することができる、という利点がある。 According to this aspect, even when the amount of data of the update information of the control program is relatively large, there is an advantage that the time required for receiving the update information of the control program at one time can be shortened.

第8の態様に係る電気錠制御システム(1)では、第1〜第7のいずれかの態様において、錠側制御部(12)は、更新期間において、自己の制御プログラムを更新する。更新期間は、開閉部材(5)が施錠されている施錠状態、及び開閉部材(5)が解錠されている解錠状態の少なくとも一方の状態にあるときの期間である。 In the electric lock control system (1) according to the eighth aspect, in any one of the first to seventh aspects, the lock side control unit (12) updates its own control program during the renewal period. The renewal period is a period when the opening / closing member (5) is in the locked state and the opening / closing member (5) is in the unlocked state.

この態様によれば、限定された期間において制御プログラムの更新が行われるので、ユーザ(6)の意図しないタイミングで制御プログラムの更新が行われ難い、という利点がある。 According to this aspect, since the control program is updated in a limited period of time, there is an advantage that it is difficult for the control program to be updated at a timing not intended by the user (6).

第9の態様に係る電気錠制御システム(1)では、第1〜第8のいずれかの態様において、錠側通信部(11)は、鍵装置(2)を所有するユーザ(6)による更新の意思を表す情報を含む信号を受信したとき、制御プログラムの更新情報を受信する。 In the electric lock control system (1) according to the ninth aspect, in any one of the first to eighth aspects, the lock side communication unit (11) is updated by the user (6) who owns the key device (2). When a signal including information indicating the intention of is received, the update information of the control program is received.

この態様によれば、ユーザ(6)が気付かない間に勝手に制御プログラムの更新が行われるのを防止することができる、という利点がある。 According to this aspect, there is an advantage that it is possible to prevent the control program from being updated without permission without the user (6) noticing it.

第10の態様に係る電気錠制御システム(1)では、第1〜第9のいずれかの態様において、錠側通信部(11)は、鍵装置(2)で用いるプログラムの更新情報を更に受信する。錠側通信部(11)は、鍵装置(2)で用いるプログラムの更新情報を、鍵装置(2)とは異なる他の鍵装置(2)へ送信する。 In the electric lock control system (1) according to the tenth aspect, in any one of the first to ninth aspects, the lock side communication unit (11) further receives the update information of the program used in the key device (2). do. The lock-side communication unit (11) transmits the update information of the program used in the key device (2) to another key device (2) different from the key device (2).

この態様によれば、他の鍵装置(2)において、専用のアプリケーションを更新する等して鍵装置(2)で用いるプログラムの更新情報を取得しなくても、鍵装置(2)で用いるプログラムを更新することが可能である、という利点がある。 According to this aspect, the program used in the key device (2) does not need to acquire the update information of the program used in the key device (2) by updating the dedicated application in the other key device (2). Has the advantage that it can be updated.

第11の態様に係る通信方法は、第1通信部(221)及び第2通信部(222)を有する鍵装置(2)の通信方法である。第1通信部(221)は、電気錠制御システム(1)との間で通信を行う。第2通信部(222)は、電気錠制御システム(1)とは異なる他システム(サーバ(7))との間で通信を行う。この通信方法は、取得ステップと、送信ステップと、を有する。取得ステップは、第2通信部(222)と他システムとの通信により、電気錠制御システム(1)の制御対象である電気錠(3)の制御に関する制御プログラムの更新情報を取得するステップである。送信ステップは、第1通信部(221)と電気錠制御システム(1)との通信により、取得した制御プログラムの更新情報の少なくとも一部を電気錠制御システム(1)へ送信するステップである。 The communication method according to the eleventh aspect is the communication method of the key device (2) having the first communication unit (221) and the second communication unit (222). The first communication unit (221) communicates with the electric lock control system (1). The second communication unit (222) communicates with another system (server (7)) different from the electric lock control system (1). This communication method includes an acquisition step and a transmission step. The acquisition step is a step of acquiring update information of a control program related to the control of the electric lock (3), which is the control target of the electric lock control system (1), by communicating with the second communication unit (222) and another system. .. The transmission step is a step of transmitting at least a part of the acquired control program update information to the electric lock control system (1) by communication between the first communication unit (221) and the electric lock control system (1).

この態様によれば、電気錠(3)の制御に関する制御プログラムの更新を行う場合の利便性を向上させることができる、という利点がある。 According to this aspect, there is an advantage that the convenience when updating the control program related to the control of the electric lock (3) can be improved.

第12の態様に係るプログラムは、コンピュータシステムに、第11の態様の通信方法を実行させるためのプログラムである。 The program according to the twelfth aspect is a program for causing a computer system to execute the communication method of the eleventh aspect.

この態様によれば、電気錠(3)の制御に関する制御プログラムの更新を行う場合の利便性を向上させることができる、という利点がある。 According to this aspect, there is an advantage that the convenience when updating the control program related to the control of the electric lock (3) can be improved.

第2〜第10の態様に係る構成については、電気錠制御システム(1)に必須の構成ではなく、適宜省略可能である。 The configuration according to the second to tenth aspects is not an essential configuration for the electric lock control system (1) and can be omitted as appropriate.

1 電気錠制御システム
11 錠側通信部
12 錠側制御部
121 認証部
2 鍵装置
221 第1通信部
222 第2通信部
3 電気錠
4 建物
40 開口部
5 開閉部材
6 ユーザ
7 サーバ(他システム)
1 Electric lock control system 11 Lock side communication unit 12 Lock side control unit 121 Authentication unit 2 Key device 221 1st communication unit 222 2nd communication unit 3 Electric lock 4 Building 40 Opening 5 Opening / closing member 6 User 7 Server (other system)

Claims (9)

鍵装置との間で通信を行う錠側通信部と、
前記鍵装置と前記錠側通信部との間の通信により、電気錠を制御して建物の開口部を開閉する開閉部材の施錠及び解錠の少なくとも一方を行う錠側制御部と、を備え、
前記錠側制御部は、前記鍵装置から前記錠側通信部が受信した前記電気錠の制御に関する制御プログラムの更新情報に基づいて、自己の前記制御プログラムを更新し、
前記錠側通信部は、前記鍵装置で用いるプログラムの更新情報を更に受信し、
前記錠側通信部は、前記鍵装置で用いるプログラムの更新情報を、前記鍵装置とは異なる他の鍵装置へ送信する
電気錠制御システム。
A lock-side communication unit that communicates with the key device,
A lock-side control unit for locking and unlocking an opening / closing member that controls an electric lock to open / close an opening of a building by communication between the key device and the lock-side communication unit is provided.
The lock-side control unit updates its own control program based on the update information of the control program related to the control of the electric lock received by the lock-side communication unit from the key device .
The lock-side communication unit further receives update information of the program used in the key device, and receives the update information.
The lock-side communication unit is an electric lock control system that transmits update information of a program used in the key device to another key device different from the key device.
前記鍵装置との通信により、前記鍵装置が正規の鍵装置であるか否かの認証を行う認証部を更に備え、
前記錠側通信部は、前記認証部にて前記鍵装置の認証に成功した状態で、前記制御プログラムの更新情報を受信する
請求項1記載の電気錠制御システム。
Further provided with an authentication unit that authenticates whether or not the key device is a legitimate key device by communicating with the key device.
The electric lock control system according to claim 1, wherein the lock-side communication unit receives update information of the control program in a state where the authentication unit has succeeded in authenticating the key device.
前記錠側通信部は、前記鍵装置と前記認証部との間の通信に用いられる
請求項2記載の電気錠制御システム。
The electric lock control system according to claim 2, wherein the lock-side communication unit is used for communication between the key device and the authentication unit.
前記錠側通信部は、前記鍵装置に対して、自己の前記制御プログラムに関する情報を送信する
請求項1乃至3のいずれか1項に記載の電気錠制御システム。
The electric lock control system according to any one of claims 1 to 3, wherein the lock-side communication unit transmits information about its own control program to the key device.
前記錠側通信部は、前記鍵装置に対して、自己の前記制御プログラムの更新の状況及び更新の完了の少なくとも一方に関する情報を送信する
請求項1乃至4のいずれか1項に記載の電気錠制御システム。
The electric lock according to any one of claims 1 to 4, wherein the lock-side communication unit transmits information regarding at least one of the update status and the completion of the update of its own control program to the key device. Control system.
前記錠側制御部は、自己の前記制御プログラムの更新中においては、前記電気錠の制御を行わない
請求項1乃至5のいずれか1項に記載の電気錠制御システム。
The electric lock control system according to any one of claims 1 to 5, wherein the lock side control unit does not control the electric lock during the update of its own control program.
前記錠側通信部は、前記鍵装置と通信可能な状態において、所定の回数に分けて前記制御プログラムの更新情報を受信する
請求項1乃至6のいずれか1項に記載の電気錠制御システム。
The electric lock control system according to any one of claims 1 to 6, wherein the lock-side communication unit receives update information of the control program in a predetermined number of times in a state in which communication with the key device is possible.
前記錠側制御部は、前記開閉部材が施錠されている施錠状態、及び前記開閉部材が解錠されている解錠状態の少なくとも一方の状態にあるときの更新期間において、自己の前記制御プログラムを更新する
請求項1乃至7のいずれか1項に記載の電気錠制御システム。
The lock-side control unit performs its own control program during an update period when the opening / closing member is locked and at least one of the opening / closing members is unlocked. The electric lock control system according to any one of claims 1 to 7 to be updated.
前記錠側通信部は、前記鍵装置を所有するユーザによる更新の意思を表す情報を含む信号を受信したとき、前記制御プログラムの更新情報を受信する
請求項1乃至8のいずれか1項に記載の電気錠制御システム。
6. Electric lock control system.
JP2017162802A 2017-08-25 2017-08-25 Electric lock control system Expired - Fee Related JP6956378B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017162802A JP6956378B2 (en) 2017-08-25 2017-08-25 Electric lock control system
EP18189931.1A EP3447739A1 (en) 2017-08-25 2018-08-21 Electric lock control system, communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017162802A JP6956378B2 (en) 2017-08-25 2017-08-25 Electric lock control system

Publications (2)

Publication Number Publication Date
JP2019039238A JP2019039238A (en) 2019-03-14
JP6956378B2 true JP6956378B2 (en) 2021-11-02

Family

ID=63350406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017162802A Expired - Fee Related JP6956378B2 (en) 2017-08-25 2017-08-25 Electric lock control system

Country Status (2)

Country Link
EP (1) EP3447739A1 (en)
JP (1) JP6956378B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949457B (en) * 2019-03-04 2022-03-04 北京华大智宝电子系统有限公司 Intelligent door lock control method and related device
JP7538548B2 (en) * 2022-05-18 2024-08-22 クロイ電機株式会社 Program update device and electronic lock system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007170022A (en) * 2005-12-21 2007-07-05 Miwa Lock Co Ltd Electronic lock system, non-contact medium issuing machine and electronic lock
JP5358119B2 (en) 2008-04-25 2013-12-04 株式会社東海理化電機製作所 Door lock control device
SE534135C2 (en) * 2009-09-17 2011-05-10 Phoniro Ab Distribution of lock access data for electromechanical locks in an access control system
CA3171210A1 (en) * 2012-05-08 2013-11-14 Schlage Lock Company Llc Remote management of electronic products
US9330514B2 (en) * 2012-07-25 2016-05-03 Utc Fire & Security Corporation Systems and methods for locking device management
US9894066B2 (en) * 2014-07-30 2018-02-13 Master Lock Company Llc Wireless firmware updates

Also Published As

Publication number Publication date
EP3447739A1 (en) 2019-02-27
JP2019039238A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
US11158144B2 (en) Access control system having automatic status update
US9779569B2 (en) Method for controlling door lock of home network system
US12361775B2 (en) Access control device, access control system and access control method using the same
CA2888971C (en) Electronic lock having a mobile device user interface
JP5292862B2 (en) Security system, server device, security method, electronic key management method, and program
US10529160B2 (en) Method for controlling door lock of home network system
JP6817581B2 (en) Electric lock control system, electric lock system, control method of electric lock control system, and program
EP3129569B1 (en) Temporarily pairing a mobile device with a peripheral device
KR101907923B1 (en) Locking system with enhanced smart phone security function and Method thereof, The recording medium
JP7054784B2 (en) Electric lock control system, communication method, and program
JP6956378B2 (en) Electric lock control system
WO2020013149A1 (en) Control method, program, mobile terminal, and electric lock control system
JP5785013B2 (en) Lock system
WO2017209030A1 (en) Electric lock system and electric lock device
JP7122623B2 (en) Communication device and communication system
JP6811426B2 (en) Electric lock system, electric lock device, and program for electric lock
JP6931831B2 (en) Electric lock control system, electric lock system, control method and program
JP6920650B2 (en) Electric lock control system, electric lock system, registration method, program
JP6890273B2 (en) Electric lock control system, electric lock system, registration method, and program
JP6796804B2 (en) Electric lock system and electric lock device
JP6536118B2 (en) Communication system and program
JP2020010235A (en) Control method, program, portable terminal, and electric lock control system
JP6934134B2 (en) Keyed operation system by short-range wireless communication unit
JP2019108683A (en) Electric lock control system, display method, and program
JP2018168668A (en) Electric lock system, electric lock control device, and control method of electric lock system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200413

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210302

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210428

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210917

R151 Written notification of patent or utility model registration

Ref document number: 6956378

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees