JP2020125679A - Electric lock device, authentication key authentication system, method, and computer program - Google Patents

Electric lock device, authentication key authentication system, method, and computer program Download PDF

Info

Publication number
JP2020125679A
JP2020125679A JP2020079695A JP2020079695A JP2020125679A JP 2020125679 A JP2020125679 A JP 2020125679A JP 2020079695 A JP2020079695 A JP 2020079695A JP 2020079695 A JP2020079695 A JP 2020079695A JP 2020125679 A JP2020125679 A JP 2020125679A
Authority
JP
Japan
Prior art keywords
authentication
code
locking
synchronization
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2020079695A
Other languages
Japanese (ja)
Other versions
JP7170335B2 (en
Inventor
後藤 功
Isao Goto
功 後藤
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.)
Glamo Inc
Original Assignee
Glamo Inc
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 Glamo Inc filed Critical Glamo Inc
Priority to JP2020079695A priority Critical patent/JP7170335B2/en
Publication of JP2020125679A publication Critical patent/JP2020125679A/en
Application granted granted Critical
Publication of JP7170335B2 publication Critical patent/JP7170335B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)
  • Selective Calling Equipment (AREA)

Abstract

To suppress consumption of a driving power supply of an electric lock device by performing synchronization with a management server only at a necessary timing during authentication of an authentication key in the electric lock device.SOLUTION: This electric lock device comprises: a locking/unlocking mechanism for locking/unlocking a door; and an authentication information storage unit that stores an authentication code. Upon reception of an input of an authentication key constituted by a synchronization instruction code for instructing synchronization with a management server and the authentication code authenticating authority for locking/unlocking the door, an identification unit identifies the synchronization instruction code included in the authentication key. When the synchronization instruction code is included, a synchronization unit executes the synchronization with the management server, and updates the authentication code stored in authentication information storage means. When an authentication unit executes authentication for the authentication code included in the authentication key, a locking/unlocking control unit controls the locking/unlocking mechanism to lock/unblock the door in accordance with the authentication result.SELECTED DRAWING: Figure 3

Description

本発明は、建物の扉に取り付けられる電気錠装置に関し、特に認証キーを発行、管理する管理サーバ管理サーバとの同期処理による駆動電源の消費を抑える技術に関する。 The present invention relates to an electric lock device attached to a door of a building, and more particularly to a technique for suppressing driving power consumption by a synchronization process with a management server management server that issues and manages an authentication key.

近年、「スマートロック」とよばれるスマートフォン、タブレットなどの携帯端末で開錠可能な電気錠装置が大きな注目を集めている。
このような電気錠装置は、従来の金属製の鍵をデジタル化することによって、鍵の受け渡しが極めて容易にし、家族や友人、宅配業者等に日時、期間等を定めた一時的な鍵を渡すことができる。
In recent years, an electric lock device called a “smart lock” that can be unlocked by a mobile terminal such as a smartphone or a tablet has attracted great attention.
In such an electric lock device, by digitizing a conventional metal key, it is extremely easy to hand over the key, and a temporary key with a fixed date, time, etc. is given to family members, friends, courier companies, etc. be able to.

この点、特許文献1では、1又は複数の電子錠に対する遠隔からの管理方法であって、前記1又は複数の電子錠に対する開錠権限の指定を受け取るステップと、前記開錠権限に対応する開錠情報を生成するステップと、前記開錠情報をユーザー端末に送信するステップと、前記開錠情報に基づく開錠要求を受け取るステップと、前記開錠要求に応じて開錠信号を前記1又は複数の電子錠のうちの少なくとも1つに送信するステップとを含むことを特徴とする管理方法が提案されている。 In this regard, Patent Document 1 discloses a remote management method for one or more electronic locks, which includes a step of receiving a specification of unlocking authority for the one or more electronic locks and an unlocking operation corresponding to the unlocking authority. Generating lock information, transmitting the unlock information to a user terminal, receiving an unlock request based on the unlock information, and sending an unlock signal to the one or more of the unlock signals in response to the unlock request. And sending to at least one of the electronic locks.

特開2017−25584号公報号公報JP, 2017-25584, A JP, gazette

電気錠装置はその性質上、認証キーを管理等する管理サーバと同期するめの通信が発生するが、設置場所の都合等でLANケーブルを敷設することが困難な場合があり、設置場所における設備インフラから独立設置可能な無線通信システムの導入、具体的には、及びローパワーワイドエリア(LPWA)などの導入が望まれる。
一方で、電気錠装置を他の設備から独立した装置とするためには、通信システムのみならず、駆動電源についても内蔵させるのが好適であるが、電気錠装置が管理サーバと頻繁に通信を行えば、駆動電源をすぐに消費し、すぐに駆動電源の取り換えを要することになるという不都合を生じる。
Due to the nature of the electric lock device, communication occurs in order to synchronize with the management server that manages the authentication key, but it may be difficult to lay a LAN cable due to reasons such as the installation location. Therefore, it is desired to introduce a wireless communication system that can be independently installed, specifically, a low power wide area (LPWA) and the like.
On the other hand, in order to make the electric lock device independent of other equipment, it is preferable to incorporate not only the communication system but also the drive power supply, but the electric lock device frequently communicates with the management server. If this is done, the drive power supply will be consumed immediately, and the drive power supply must be replaced immediately.

そこで、本発明は、電気錠装置における認証キーの認証において、必要なタイミングでのみ管理サーバとの同期処理を実行し、電気錠装置の駆動電源の消費を抑えることを目的とする。 Therefore, it is an object of the present invention to suppress the consumption of the drive power of the electric lock device by executing the synchronization process with the management server only when necessary in the authentication of the authentication key in the electric lock device.

上記目的を達成するため、本発明の一の観点に係る電気錠装置は、扉を施開錠する電気錠装置であって、上記扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、上記扉を施開錠する施開錠機構と、上記認証コードを記憶する認証情報記憶手段と、上記管理サーバとの同期を指示する同期指示コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付手段と、上記認証キーに含まれる上記同期指示コードを判別する判別処理手段と、上記認証キーに上記同期指示コードが含まれていた場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理手段と、上記認証情報記憶手段を参照して、上記認証キーに含まれる認証コードの認証処理を実行する認証処理手段と、上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御手段と、を有する。 In order to achieve the above object, an electric lock device according to one aspect of the present invention is an electric lock device that locks and unlocks a door, and management that issues an authentication code that authenticates the authority to lock and unlock the door. A server, which is communicable via a network, and a locking/unlocking mechanism for locking/unlocking the door, authentication information storage means for storing the authentication code, and a synchronization instruction code for instructing synchronization with the management server. And an input accepting unit that accepts an input of an authentication key configured by an authentication code that authenticates the authority to lock and unlock the door, a determination processing unit that determines the synchronization instruction code included in the authentication key, and A synchronization processing means for executing synchronization with the management server and updating the authentication code stored in the authentication information storage means when the authentication key includes the synchronization instruction code, and the authentication information storage means. Referring to the authentication processing means for executing the authentication processing of the authentication code included in the authentication key, and controlling the locking and unlocking mechanism according to the authentication result based on the authentication code to lock and unlock the door. Locking and unlocking control means.

また、上記認証コードには、所定の失効条件が設定されており、上記認証コードの失効条件の具備を判断する判断処理手段と、上記認証コードが失効条件を具備したと判断された場合に、上記認証コードを失効させる設定手段と、をさらに有するものとしてもよい。 Further, in the authentication code, a predetermined revocation condition is set, when the determination processing means for determining the provision of the revocation condition of the authentication code, and the authentication code is determined to have the revocation condition, Setting means for revoking the authentication code may be further included.

また、上記入力受付手段はさらに、上記扉を施開錠する権限を認証する認証コードのみによって構成される上記認証キーの入力を受け付けるものとしてもよい。 Further, the input receiving means may further receive an input of the authentication key configured only by an authentication code for authenticating the authority to lock and unlock the door.

また、バッテリーを内蔵し、無線通信により上記管理サーバと情報の送受信を実行するものとしてもよい。 Further, a battery may be built in and information may be transmitted/received to/from the management server by wireless communication.

また、上記無線通信は、LPWA(Low Power Wide Area)ネットワークを介して実行されるものとしてもよい。 Moreover, the wireless communication may be performed via an LPWA (Low Power Wide Area) network.

また、本発明の別の観点に係る認証キーの認証システムは、扉を施開錠する施開錠機構と、扉を施開錠する権限を認証する認証コードを記憶する認証情報記憶手段と、を有する電気錠装置と、上記扉を施開錠する権限を認証する認証コードを発行する管理サーバと、がネットワークを介して通信可能に構成されたシステムにより、認証コードを発行する処理と、上記電気錠装置と上記管理サーバとの同期を指示する同期指示コードと、上記認証コードとによって構成された認証キーの入力を受け付ける受付処理と、上記認証キーに含まれる上記同期指示コードを判別する判別処理と、上記認証キーに上記同期指示コードが含まれていた場合に、上記電気錠装置と上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理と、上記認証情報記憶手段を参照して、上記認証キーに含まれる認証コードの認証処理を実行する認証処理と、上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行する。 Further, an authentication system of an authentication key according to another aspect of the present invention includes a locking/unlocking mechanism for locking/unlocking a door, an authentication information storage unit for storing an authentication code for authenticating the authority to lock/unlock the door, And a management server that issues an authentication code that authenticates the authority to lock and unlock the door by a system that is configured to be communicable via a network. Reception processing for receiving an input of an authentication key configured by a synchronization instruction code for instructing synchronization between the electric lock device and the management server, and the authentication code, and determination for determining the synchronization instruction code included in the authentication key Synchronization for executing processing and synchronizing the electric lock device with the management server when the authentication key includes the synchronization instruction code, and updating the authentication code stored in the authentication information storage means. Processing, referring to the authentication information storage means, performing authentication processing of the authentication code included in the authentication key, and controlling the locking and unlocking mechanism according to the authentication result based on the authentication code. , And locking and unlocking control processing for locking and unlocking the door.

また、本発明の別の観点に係る電気錠装置は、扉を施開錠する電気錠装置であって、上記扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、上記扉を施開錠する施開錠機構と、上記認証コードを記憶する認証情報記憶手段と、上記管理サーバによる認証を要求する同期要求コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付手段と、上記認証キーに含まれる上記認証要求コードを判別する判別処理手段と、上記認証キーに上記認証要求コードが含まれていた場合に、上記管理サーバに対し、認証要求と共に上記認証キーを送信する認証要求送信手段と、上記管理サーバから、上記認証キーの認証結果を受信する認証結果受信手段と、上記認証情報記憶手段を参照して、上記認証キーに含まれる認証コードの認証処理を実行する認証処理手段と、上記認証処理手段による認証結果又は上記管理サーバから受信した認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御手段と、を有する。 An electric lock device according to another aspect of the present invention is an electric lock device that locks and unlocks a door, and includes a management server that issues an authentication code that authenticates the authority to lock and unlock the door, and a network. A lock/unlock mechanism for locking and unlocking the door, authentication information storage means for storing the authentication code, a synchronization request code for requesting authentication by the management server, and the door for locking. An input receiving unit that receives an input of an authentication key configured by an authentication code that authenticates the authority to unlock, a determination processing unit that determines the authentication request code included in the authentication key, and the authentication request to the authentication key. When the code is included, an authentication request sending unit that sends the authentication key together with the authentication request to the management server, and an authentication result receiving unit that receives the authentication result of the authentication key from the management server, The authentication information storage means is referred to, the authentication processing means for executing the authentication processing of the authentication code included in the authentication key, and the authentication result by the authentication processing means or the authentication result received from the management server, A locking/unlocking control means for controlling the locking/unlocking mechanism to lock/unlock the door.

また、本発明の別の観点に係る認証キーの認証方法は、扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、上記扉を施開錠する施開錠機構と、上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置によって実行される方法であって、上記電気錠装置が、上記管理サーバとの同期を指示する同期指示コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付処理と、上記認証キーに含まれる上記同期指示コードを判別する判別処理と、上記認証キーに上記同期指示コードが含まれていた場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理と、上記認証情報記憶手段を参照して、上記認証キーに含まれる認証コードの認証処理を実行する認証処理と、上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行する。 An authentication key authentication method according to another aspect of the present invention is configured to be communicable via a network with a management server that issues an authentication code that authenticates the authority to lock and unlock the door, and to perform the above-mentioned operation. A method executed by an electric lock device having a locking/unlocking mechanism for unlocking and an authentication information storage means for storing the authentication code, wherein the electric lock device instructs synchronization with the management server. An input acceptance process for accepting an input of an authentication key configured by a synchronization instruction code and an authentication code for authenticating the authority to lock and unlock the door, and a determination process for determining the synchronization instruction code included in the authentication key. A synchronization process for updating the authentication code stored in the authentication information storage means by executing synchronization with the management server when the authentication key contains the synchronization instruction code; Refer to the means, the authentication process for executing the authentication process of the authentication code included in the authentication key, and the lock/unlock mechanism is controlled according to the authentication result based on the authentication code to lock/unlock the door. The locking/unlocking control process is executed.

また、本発明の別の観点に係るコンピュータプログラムは、扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、上記扉を施開錠する施開錠機構と、上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置において実行されるコンピュータプログラムであって、上記電気錠装置に対し、上記管理サーバとの同期を指示する同期指示コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付処理と、上記認証キーに含まれる上記同期指示コードを判別する判別処理と、上記認証キーに上記同期指示コードが含まれていた場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理と、上記認証情報記憶手段を参照して、上記認証キーに含まれる認証コードの認証処理を実行する認証処理と、上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行させる。 A computer program according to another aspect of the present invention is configured to be communicable via a network with a management server that issues an authentication code that authenticates the authority to lock and unlock the door, and locks and unlocks the door. A computer program executed in an electric lock device having a locking/unlocking mechanism and authentication information storage means for storing the authentication code, the synchronization being for instructing the electric lock device to synchronize with the management server. An instruction code and an input reception process that receives an input of an authentication key configured by an authentication code that authenticates the authority to lock and unlock the door, a determination process that determines the synchronization instruction code included in the authentication key, When the authentication key includes the synchronization instruction code, synchronization with the management server is executed, and a synchronization process for updating the authentication code stored in the authentication information storage means, and the authentication information storage means Referring to the authentication process for executing the authentication process of the authentication code included in the authentication key and the authentication result based on the authentication code, the lock/unlock mechanism is controlled to lock/unlock the door. The lock/unlock control process is executed.

また、本発明の別の観点に係る認証キーの認証方法は、扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、上記扉を施開錠する施開錠機構と、上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置によって実行される方法であって、上記電気錠装置が、上記管理サーバによる認証を要求する同期要求コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付処理と、上記認証キーに含まれる上記認証要求コードを判別する判別処理と、上記認証キーに上記認証要求コードが含まれていた場合に、上記管理サーバに対し、認証要求と共に上記認証キーを送信する認証要求送信処理と、上記管理サーバから、上記認証キーの認証結果を受信する認証結果受信処理と、上記認証情報記憶手段を参照して、上記認証キーに含まれる認証コードの認証処理を実行する認証処理と、上記認証処理による認証結果又は上記管理サーバから受信した認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行する。 An authentication key authentication method according to another aspect of the present invention is configured to be communicable via a network with a management server that issues an authentication code that authenticates the authority to lock and unlock the door, and to perform the above-mentioned operation. A method executed by an electric lock device having an unlocking mechanism for unlocking and an authentication information storage means for storing the authentication code, wherein the electric lock device requires synchronization by the management server. An input reception process that receives an input of an authentication key configured by a request code and an authentication code that authenticates the authority to lock and unlock the door, a determination process that determines the authentication request code included in the authentication key, When the above authentication key includes the above authentication request code, an authentication request transmission process of transmitting the above authentication key together with the authentication request to the above management server, and the above authentication key authentication result from the above management server. Authentication result receiving process, and an authentication process for executing the authentication process of the authentication code included in the authentication key by referring to the authentication information storage means, the authentication result by the authentication process or the authentication result received from the management server According to the above, the locking/unlocking mechanism is controlled to perform the locking/unlocking control process for locking/unlocking the door.

また、本発明の別の観点に係るコンピュータプログラムは、扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、上記扉を施開錠する施開錠機構と、上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置において実行されるコンピュータプログラムであって、上記電気錠装置に対し、上記管理サーバによる認証を要求する同期要求コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付処理と、上記認証キーに含まれる上記認証要求コードを判別する判別処理と、上記認証キーに上記認証要求コードが含まれていた場合に、上記管理サーバに対し、認証要求と共に上記認証キーを送信する認証要求送信処理と、上記管理サーバから、上記認証キーの認証結果を受信する認証結果受信処理と、上記認証情報記憶手段を参照して、上記認証キーに含まれる認証コードの認証処理を実行する認証処理と、上記認証処理による認証結果又は上記管理サーバから受信した認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行させる。 A computer program according to another aspect of the present invention is configured to be communicable via a network with a management server that issues an authentication code that authenticates the authority to lock and unlock the door, and locks and unlocks the door. A computer program executed in an electric lock device having a locking/unlocking mechanism and authentication information storage means for storing the authentication code, wherein a synchronization request for requesting the electric lock device to perform authentication by the management server. An input reception process that receives an input of an authentication key configured by a code and an authentication code that authenticates the authority to lock and unlock the door; a determination process that determines the authentication request code included in the authentication key; When the authentication request code is included in the authentication key, an authentication request sending process of sending the authentication key together with the authentication request to the management server, and receiving the authentication result of the authentication key from the management server The authentication result receiving process, the authentication process for executing the authentication process of the authentication code included in the authentication key by referring to the authentication information storage means, the authentication result by the authentication process or the authentication result received from the management server. Accordingly, the locking/unlocking mechanism is controlled to execute the locking/unlocking control process of locking/unlocking the door.

本発明によれば、電気錠装置における認証キーの認証において、必要なタイミングでのみ管理サーバとの同期処理が実行されるため、電気錠装置の駆動電源の消費を抑えることができる。 According to the present invention, in the authentication of the authentication key in the electric lock device, the synchronization process with the management server is executed only at a necessary timing, so that it is possible to suppress the consumption of the driving power supply of the electric lock device.

本発明の第一の実施形態に係る電気錠装置を示した外観斜視図である。It is an appearance perspective view showing the electric lock device concerning a first embodiment of the present invention. 本実施形態に係る電気錠装置において、認証キーの発行と認証の流れの概略を示した図である。In the electric lock device which concerns on this embodiment, it is the figure which showed the issuance of an authentication key and the outline of the flow of authentication. 本実施形態に係る電気錠装置が備える機能を示した機能ブロック図である。It is a functional block diagram showing a function with which an electric lock device concerning this embodiment is provided. 本実施形態に係る電気錠装置において、認証情報記憶部に記憶されるデータの一例を示した図である。It is the figure which showed an example of the data memorize|stored in the authentication information storage part in the electric lock device which concerns on this embodiment. 本実施形態において、ユーザ端末と管理サーバによって実行される処理の流れを示したシーケンス図である。In this embodiment, it is a sequence diagram showing a flow of processing executed by the user terminal and the management server. 本実施形態において、電気錠装置と管理サーバによって実行される処理の流れを示したシーケンス図である。In this embodiment, it is a sequence diagram showing a flow of processing executed by the electric lock device and the management server. 本実施形態において、管理サーバによって実行される処理の流れを示した処理フロー図である。It is a processing flow figure showing a flow of processing performed by a management server in this embodiment. 本発明の第二の実施形態に係る電気錠装置が備える機能を示した機能ブロック図である。It is a functional block diagram showing a function with which an electric lock device concerning a second embodiment of the present invention is provided. 本実施形態に係る電気錠装置において、認証情報記憶部に記憶されるデータの一例を示した図である。It is the figure which showed an example of the data memorize|stored in the authentication information storage part in the electric lock device which concerns on this embodiment. 本発明の第三の実施形態に係る電気錠装置によって実行される処理の流れを示したシーケンス図である。It is a sequence diagram showing a flow of processing performed by an electric lock device concerning a third embodiment of the present invention. 本発明の第四の実施形態に係る電気錠装置が備える機能を示した機能ブロック図である。It is a functional block diagram showing a function with which an electric lock device concerning a fourth embodiment of the present invention is provided. 本発明の第四の実施形態に係る電気錠装置によって実行される処理の流れを示したシーケンス図である。It is the sequence diagram which showed the flow of the process performed by the electric locking device which concerns on 4th embodiment of this invention. 本発明の第五の実施形態に係る電気錠装置が備える機能を示した機能ブロック図である。It is a functional block diagram which showed the function with which the electric locking device which concerns on 5th embodiment of this invention is equipped. 本実施形態において、電気錠装置と管理サーバによって実行される処理の流れを示したシーケンス図である。In this embodiment, it is a sequence diagram showing a flow of processing executed by the electric lock device and the management server.

次に、本発明の実施形態に係る電気錠装置について、図を参照して説明する。
図1及び図2に示されるように、本実施形態に係る電気錠装置1は建物の扉に取り付けられ、扉を施開錠する装置である。
この電気錠装置1は、タッチパネル等の情報入力手段により入力可能な英数字等、デジタルデータとして処理可能な認証キーに基づいて扉の施開錠を可能とする装置であり、必ずしも物理的な鍵を必要としないものである。
Next, an electric lock device according to an embodiment of the present invention will be described with reference to the drawings.
As shown in FIGS. 1 and 2, the electric lock device 1 according to the present embodiment is a device that is attached to a door of a building and locks and unlocks the door.
This electric lock device 1 is a device that enables locking and unlocking of a door based on an authentication key that can be processed as digital data, such as alphanumeric characters that can be input by information input means such as a touch panel, and is not necessarily a physical key. Is one that does not require.

また、本実施形態においては、通常使用する認証キー(以下、通常使用される認証キーを「マスターキー」と称することがある)とは別に、一時的に使用可能な認証キー(以下、「一時的に使用される認証キーを「ワンタイムキー」と称することがある」)を発行することが想定されている。
具体的な場面の一例について、図2を参照して説明する。住居の扉のマスターキーを持つ居住者等のユーザAは、一時的に住居に入室するユーザBに対してワンタイムキーを付与すべく、管理サーバ2にワンタイムキーの発行を要求する。これに応じて管理サーバ2はワンタイムキーを発行し、ユーザAにワンタイムキーを通知する。ワンタイムキーを受け取ったユーザAはこれをユーザBに通知し、これによりユーザBは、ワンタイムキーを用いて扉を施開錠する。
In addition, in the present embodiment, in addition to a normally used authentication key (hereinafter, a normally used authentication key may be referred to as a “master key”), a temporarily usable authentication key (hereinafter, “temporary key”) may be used. It is envisaged that the authentication key used for the purpose will be called "one-time key").
An example of a specific scene will be described with reference to FIG. A user A, such as a resident who has a master key for the door of the residence, requests the management server 2 to issue a one-time key in order to give the one-time key to the user B who temporarily enters the residence. In response to this, the management server 2 issues a one-time key and notifies the user A of the one-time key. The user A who has received the one-time key notifies the user B of this, so that the user B uses the one-time key to lock and unlock the door.

<機能構成>
本発明の第一の実施形態に係る電気錠装置1について詳述する。
図2に示されるように、電気錠装置1は、CPU(Central Processing Unit)などの演算装置、RAM(Random Access Memory)やROM(Read Only Memory)などの記憶装置により、認証情報記憶部11、判別処理部12、同期処理部13、認証処理部14、入出力制御部15、施開錠制御部16、及び通信処理部17からなる機能部を構成する。また、物理的な機構として、入出力部1A、施開錠機構1B、及び駆動電源1Cを備える。
<Functional configuration>
The electric lock device 1 according to the first embodiment of the present invention will be described in detail.
As illustrated in FIG. 2, the electric lock device 1 includes an authentication information storage unit 11 including an arithmetic device such as a CPU (Central Processing Unit) and a storage device such as a RAM (Random Access Memory) or a ROM (Read Only Memory). A functional unit including a determination processing unit 12, a synchronization processing unit 13, an authentication processing unit 14, an input/output control unit 15, an unlocking control unit 16, and a communication processing unit 17 is configured. The physical mechanism includes an input/output unit 1A, a locking/unlocking mechanism 1B, and a driving power supply 1C.

また、電気錠装置1は、ネットワークNWを介して管理サーバ2と通信可能に構成されている。
ここで、電気錠装置1が管理サーバ2と通信を行うネットワークNWは、無線局を基地局とするLPWA(Low Power Wide Area)通信方式のネットワークNWである。
Further, the electric lock device 1 is configured to be communicable with the management server 2 via the network NW.
Here, the network NW in which the electric lock device 1 communicates with the management server 2 is an LPWA (Low Power Wide Area) communication network NW in which a wireless station serves as a base station.

認証情報記憶部11は、認証キーを構成する認証コードを記憶する記憶部であり、この認証情報記憶部11に記憶されている認証コードを備えた認証キーが、電気錠装置1を施開錠するのに正当な権限を有する認証キーと認められる。
ここで、認証コードは施開錠の正当権限を認証するための情報であり、後述の通り、認証コードが認証キーそのものである場合(「マスターキー」の場合)もあれば、認証コードが認証キーの一部を構成する場合(「ワンタイムキー」の場合)もあるが、認証情報記憶部11に記憶される認証コードは必ずしも一つではなく、状況に応じて複数、記憶される。
The authentication information storage unit 11 is a storage unit that stores an authentication code forming an authentication key, and the authentication key having the authentication code stored in the authentication information storage unit 11 locks and unlocks the electric lock device 1. It is recognized as an authentication key that has the proper authority to operate.
Here, the authentication code is information for authenticating the right to lock and unlock, and as described later, the authentication code may be the authentication key itself (in the case of a "master key") or the authentication code may be authenticated. There is a case where a part of the key is configured (a case of "one-time key"), but the authentication code stored in the authentication information storage unit 11 is not necessarily one, and a plurality of authentication codes are stored depending on the situation.

また、認証キーは上述の通り、マスターキーとワンタイムキーがあるが、マスターキーは、扉を施開錠する権限を認証する認証コードのみによって構成され、この認証コードが認証情報記憶部11に記憶される。
一方、ワンタイムキーは、認証コードと、電気錠装置1に対して管理サーバ2との同期を指示する同期指示コードとによって構成されている。このワンタイムキーについては、同期指示コードを除いた認証コードが認証情報記憶部11に記憶される。
なお、マスターキーの認証コードと、ワンタイムキーの認証コードは通常、互いに異なるものである。
As described above, the authentication key includes the master key and the one-time key, but the master key is composed only of the authentication code for authenticating the authority to lock and unlock the door, and this authentication code is stored in the authentication information storage unit 11. Remembered.
On the other hand, the one-time key is composed of an authentication code and a synchronization instruction code for instructing the electric lock device 1 to synchronize with the management server 2. For this one-time key, the authentication code excluding the synchronization instruction code is stored in the authentication information storage unit 11.
The master key authentication code and the one-time key authentication code are usually different from each other.

判別処理部12は、電気錠装置1に認証キーが入力された際、当該認証キーに同期指示コードが含まれるか否かを判別する。この処理では、同期指示コードを別途、参照用テーブルに保持し、これを参照することにより、認証キーに同期指示コードが含まれるか否かを判別することができる。 When the authentication key is input to the electric lock device 1, the determination processing unit 12 determines whether or not the authentication key includes a synchronization instruction code. In this process, it is possible to determine whether or not the authentication instruction code is included in the authentication key by separately holding the synchronization instruction code in the reference table and referring to it.

同期処理部13は、判別処理部12による判別処理の結果、認証キーに同期指示コードが含まれていた場合に、管理サーバ2との同期を実行し、管理サーバ2側の認証情報記憶部21の情報に基づき、認証情報記憶部11に記憶されている認証コードを更新する処理を実行する。これにより、ワンタイムキーに含まれる認証コードが、管理サーバ2に登録されている最新の認証コードに基づいて認証されることになる。
なお、同期処理においては、ワンタイムキーの認証コードのみを更新させるようにすることもできるし、電気錠装置1の認証情報記憶部11に記憶されている認証コードを全て更新させるようにすることもできる。また、同期指示コードを含むワンタイムキーが入力された場合に限らず、同期指示コードの単独入力や、別途設けた同期指示手段により、認証情報記憶部11の同期を図ることができるようになっていてもよい。
As a result of the determination processing by the determination processing unit 12, the synchronization processing unit 13 performs synchronization with the management server 2 when the authentication key includes the synchronization instruction code, and the authentication information storage unit 21 on the management server 2 side. A process of updating the authentication code stored in the authentication information storage unit 11 is executed based on the information of 1. As a result, the authentication code included in the one-time key is authenticated based on the latest authentication code registered in the management server 2.
In the synchronization processing, it is possible to update only the one-time key authentication code, or to update all the authentication codes stored in the authentication information storage unit 11 of the electric lock device 1. Can also Further, not only when the one-time key including the synchronization instruction code is input, the synchronization information code can be input independently or the synchronization instruction means provided separately can synchronize the authentication information storage unit 11. May be.

認証処理部14は、認証情報記憶部11を参照して、認証キーに含まれる認証コードの認証処理を実行する。
上述の通り、マスターキーは認証コードそのものであるため、認証キーがマスターキーである場合には、マスターキーたる認証コードが認証情報記憶部11に記憶されている認証コードと一致するか否かが判別される。
一方、ワンタイムキーは同期指示コードと認証コードとによって構成されるため、認証キーがワンタイムキーである場合には、同期処理部13による同期処理の実行後、ワンタイムキーのうちの認証コードの部分が認証情報記憶部11に記憶されている認証コードと一致するか否かが判別される。
The authentication processing unit 14 refers to the authentication information storage unit 11 and executes the authentication process of the authentication code included in the authentication key.
As described above, since the master key is the authentication code itself, if the authentication key is the master key, whether the authentication code as the master key matches the authentication code stored in the authentication information storage unit 11 or not. To be determined.
On the other hand, since the one-time key is composed of the synchronization instruction code and the authentication code, when the authentication key is the one-time key, after the synchronization processing is performed by the synchronization processing unit 13, the authentication code of the one-time key is used. It is discriminated whether or not the part of is coincident with the authentication code stored in the authentication information storage unit 11.

入出力制御部15は、入出力部1Aを制御して、各種のデータの入力や出力を実行させる。具体的には、入出力部1Aを制御して、認証キーの入力を受け付けたり、認証の結果を出力したりする。 The input/output control unit 15 controls the input/output unit 1A to execute input and output of various data. Specifically, it controls the input/output unit 1A to accept the input of the authentication key and output the authentication result.

施開錠制御部16は、認証キーに基づく認証結果に応じて、施開錠機構1Bを制御して扉を施開錠させる。 The lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door according to the authentication result based on the authentication key.

通信処理部17は、管理サーバ2とネットワークNWを介した通信を実行するための処理部である。 The communication processing unit 17 is a processing unit for executing communication with the management server 2 via the network NW.

入出力部1Aは、入出力制御部15からの制御信号に基づき、各種のデータの入力を受け付けたり、出力させたりするタッチパネル式ディスプレイ等によって実現される。
なお、図1に示す本実施形態では、入出力部1Aをタッチパネル式ディスプレイによって実現した例を示したが、これに限らず、テンキーなどの入力処理部と液晶ディスプレイなどの出力処理部とによって実現することもできる。
The input/output unit 1A is realized by a touch panel type display or the like that receives and outputs various data based on a control signal from the input/output control unit 15.
In the present embodiment shown in FIG. 1, an example in which the input/output unit 1A is realized by a touch panel display is shown, but the present invention is not limited to this, and it is realized by an input processing unit such as a numeric keypad and an output processing unit such as a liquid crystal display. You can also do it.

施開錠機構1Bは、施開錠制御部16からの制御信号に基づき、扉を施開錠する機構であり、モータやソレノイドなどの駆動装置とデッドボルトなどの錠前などによって構成される。 The locking/unlocking mechanism 1B is a mechanism for locking/unlocking the door based on a control signal from the locking/unlocking control unit 16, and is configured by a drive device such as a motor or a solenoid and a lock such as a dead bolt.

駆動電源1Cは、各機能部や機構を駆動させる電源であり、ボタン電池や乾電池など、電気錠装置1に組み込んで使用される電池によって構成される。 The drive power supply 1C is a power supply for driving each functional unit and mechanism, and is configured by a battery such as a button battery or a dry battery that is used by being incorporated in the electric lock device 1.

なお、電気錠装置1は、上述した各機能部や機構のほか、既知の電気錠装置1が備える機能や機構を適宜に備える。 The electric lock device 1 appropriately includes the functions and mechanisms included in the known electric lock device 1 in addition to the above-described functional units and mechanisms.

管理サーバ2は、扉を施開錠する権限を認証する認証コードを発行、管理する装置であり、ネットワークNWを介して、電気錠装置1やユーザ端末3と通信可能に構成されている。
この管理サーバ2は、CPU(Central Processing Unit)などの演算装置、RAM(Random Access Memory)やROM(Read Only Memory)、ハードディスクドライブ(HDD)などの記憶装置により、認証情報記憶部21、発行処理部22、設定処理部23、判断処理部24、及び通信処理部25からなる機能部を構成する。
The management server 2 is a device that issues and manages an authentication code that authenticates the authority to lock and unlock the door, and is configured to be communicable with the electric lock device 1 and the user terminal 3 via the network NW.
The management server 2 includes a CPU (Central Processing Unit) or other computing device, a RAM (Random Access Memory) or ROM (Read Only Memory), a hard disk drive (HDD) or other storage device, and the authentication information storage unit 21 and the issuing process. A functional unit including the unit 22, the setting processing unit 23, the determination processing unit 24, and the communication processing unit 25 is configured.

認証情報記憶部21は、認証キーを構成する認証コードを記憶する記憶部である。
この認証情報記憶部21には図4に示されるように、電気錠装置1を識別する識別情報毎に、各電気錠装置1に対して発行された認証コード、各認証コードに設定されている失効条件が相互に関連付けて記憶されている。
この認証情報記憶部11には、各電気錠装置1を施開錠するのに正当な認証コードが全て記憶されており、電気錠装置1からの要求によって同期される際には、この認証情報記憶部11に記憶されている認証コードが全て、認証情報記憶部11に反映される。
The authentication information storage unit 21 is a storage unit that stores an authentication code that constitutes an authentication key.
In the authentication information storage unit 21, as shown in FIG. 4, for each identification information for identifying the electric lock device 1, the authentication code issued to each electric lock device 1 and each authentication code are set. Revocation conditions are stored in association with each other.
This authentication information storage unit 11 stores all authentication codes that are valid for locking and unlocking each electric lock device 1, and when the electric lock device 1 is synchronized by a request, this authentication information is stored. All the authentication codes stored in the storage unit 11 are reflected in the authentication information storage unit 11.

失効条件は、認証コードを失効させる条件に係るものであり、この失効条件を具備すると認証コードは失効する。逆に、失効条件を具備しない限りは、認証コードは有効な状態にある。
この失効条件には例えば、有効期限や有効回数などがあり、失効条件が設定された認証コードは当該失効条件に則り、一定の期間を過ぎたり、一定の使用回数に達したりすると失効させられる。
The revocation condition relates to the condition for revoking the authentication code, and if the revocation condition is satisfied, the authentication code will be revoked. On the contrary, unless the revocation condition is satisfied, the authentication code is valid.
The revocation condition includes, for example, an expiration date and the number of times of validity, and the authentication code for which the revocation condition is set is revoked according to the revocation condition after a certain period of time or a certain number of times of use.

なお、電気錠装置1の認証情報記憶部11において言及したのと同様、認証キーはマスターキーとワンタイムキーがあるが、マスターキーの場合には、マスターキーそのものである認証コードが認証情報記憶部21に記憶される。一方、ワンタイムキーの場合には、同期指示コードを除いた認証コードが認証情報記憶部21に記憶される。 As described in the authentication information storage unit 11 of the electric lock device 1, the authentication key has a master key and a one-time key. In the case of the master key, the authentication code, which is the master key itself, stores the authentication information. It is stored in the unit 21. On the other hand, in the case of the one-time key, the authentication code excluding the synchronization instruction code is stored in the authentication information storage unit 21.

発行処理部22は、認証キーを構成する認証コードを発行すると共に、当該認証コードと同期指示コードによって構成される認証キーを発行する処理を実行する。 The issuance processing unit 22 issues the authentication code that constitutes the authentication key, and also executes the processing that issues the authentication key configured by the authentication code and the synchronization instruction code.

設定処理部23は、認証コードに対して所定の失効条件を設定したり、設定した失効条件の具備を判断し、失効条件を具備した認証コードを失効させたりする。
なお、失効条件は例えば、ユーザからワンタイムキーの発行要求と共に受け付け、発行処理部22が発行したワンタイムキーを構成する認証コードに当該失効条件を設定する。
また、失効条件が使用回数である場合には、電気錠装置1からワンタイムキーの使用に係る情報を受信する都度、あるいは同期を受け付ける都度、使用回数をカウントし、所定の使用回数に達した時に、認証コードを失効させる。
また、認証コードの失効は、認証情報記憶部21から失効した認証コードを削除するものであってもよいし、失効した認証コードに失効の情報を関連付け、認証に用いることができないようにするものであってもよい。
The setting processing unit 23 sets a predetermined revocation condition for the authentication code, determines whether the set revocation condition is satisfied, and revokes the authentication code having the revocation condition.
It should be noted that the revocation condition is, for example, accepted together with the one-time key issuance request from the user, and the revocation condition is set in the authentication code that constitutes the one-time key issued by the issuance processing unit 22.
When the revocation condition is the number of times of use, the number of times of use is counted each time the information related to the use of the one-time key is received from the electric lock device 1 or each time the synchronization is accepted, and the predetermined number of times of use is reached. Sometimes revokes an authorization code.
The revocation of the authentication code may be to delete the revoked authentication code from the authentication information storage unit 21, or to associate the revoked authentication code with the revocation information so that it cannot be used for authentication. May be

判断処理部24は、認証コードに設定された失効条件を参照して、失効条件の具備を判断する。失効条件の具備の判断は、随時実行されるものであってもよいし、電気錠装置1から同期を要求されたタイミングで実行されるものであってもよい。 The determination processing unit 24 refers to the revocation condition set in the authentication code and determines whether the revocation condition is satisfied. The determination of whether or not the revocation condition is provided may be performed at any time, or may be performed at the timing when synchronization is requested by the electric lock device 1.

通信処理部25は、電気錠装置1やユーザ端末3との間で、ネットワークNWを介したデータの送受信を可能とする処理部である。
これにより、電気錠装置1との同期を実行したり、ユーザ端末3との間でワンタイムキーの発行要求を受け付けたり、発行したワンタイムキーを通知したりすることができる。
The communication processing unit 25 is a processing unit that enables data transmission/reception between the electric lock device 1 and the user terminal 3 via the network NW.
As a result, it is possible to perform synchronization with the electric lock device 1, receive a one-time key issue request with the user terminal 3, and notify the issued one-time key.

ユーザ端末3は、認証キーを使用すると共に、管理サーバ2にワンタイムキーの発行を要求するユーザが使用する端末である。このユーザ端末3は例えば、データの送受信が可能な携帯型電話機等の可搬型端末のほか、タブレット端末や所謂パーソナルコンピュータ等によって実現される。 The user terminal 3 is a terminal used by a user who uses the authentication key and requests the management server 2 to issue a one-time key. The user terminal 3 is realized by, for example, a portable terminal such as a mobile phone capable of transmitting and receiving data, a tablet terminal, a so-called personal computer, or the like.

ユーザ端末3が管理サーバ2と通信を行うネットワークNWは例えば、インターネット等である。
ユーザはこのユーザ端末3により、管理サーバ2にワンタイムキーの発行を要求したり、管理サーバ2からワンタイムキーを受信したりする。
The network NW with which the user terminal 3 communicates with the management server 2 is, for example, the Internet.
The user uses the user terminal 3 to request the management server 2 to issue a one-time key and receive the one-time key from the management server 2.

<処理の流れ>
次に、本実施形態に係る電気錠装置1、管理サーバ2、及びユーザ端末3によって構成されたシステムにおいて実行される一連の処理の流れについて説明する。
まず、図5により、ワンタイムキーが発行される際の流れについて説明する。
ユーザは、ユーザ端末3により管理サーバ2にアクセスし、所定の電気錠装置1に使用するワンタイムキーの発行を要求する(S101)。
ワンタイムキーの発行要求においては、電気錠装置1を特定するための識別情報のほか、ワンタイムキーに任意に設定される失効条件を通知する。
<Process flow>
Next, a flow of a series of processing executed in the system configured by the electric lock device 1, the management server 2, and the user terminal 3 according to the present embodiment will be described.
First, the flow when the one-time key is issued will be described with reference to FIG.
The user accesses the management server 2 through the user terminal 3 and requests the issuance of the one-time key used for the predetermined electric lock device 1 (S101).
In the issuance request of the one-time key, in addition to the identification information for specifying the electric lock device 1, the revocation condition arbitrarily set in the one-time key is notified.

これに応じて管理サーバ2は、発行処理部22により認証コードを発行し(S102)、当該発行した認証コードを認証情報記憶部21に登録する(S103)。なお、このとき、ユーザから失効条件の設定要求があった場合には、設定処理部23により当該発行された認証コードに失効条件を設定し、認証情報記憶部21に登録する。 In response to this, the management server 2 issues an authentication code by the issue processing unit 22 (S102), and registers the issued authentication code in the authentication information storage unit 21 (S103). At this time, when the user requests the setting of the revocation condition, the setting processing unit 23 sets the revocation condition in the issued authentication code and registers it in the authentication information storage unit 21.

発行された認証コードには同期指示コードが付与され、ワンタイムキーとして、管理サーバ2からユーザ端末3に通知される(S104)。 A synchronization instruction code is attached to the issued authentication code, and the management server 2 notifies the user terminal 3 as a one-time key (S104).

なお、本例では、ユーザ端末3から管理サーバ2に対してワンタイムキーの発行を要求するものとしたが、これに限らず、電気錠装置1から管理サーバ2に対してワンタイムキーの発行を要求するようにすることもできる。
この場合には、電気錠装置1の入出力部1Aからワンタイムキーの発行要求や失効条件が入力されると、これが電気錠装置1の識別情報と共に管理サーバ2に送信され、管理サーバ2において発行されたワンタイムキーが電気錠装置1に通知される。
In this example, the user terminal 3 requests the management server 2 to issue a one-time key, but the present invention is not limited to this, and the electric lock device 1 issues a one-time key to the management server 2. Can be requested.
In this case, when a one-time key issuance request or a revocation condition is input from the input/output unit 1A of the electric lock device 1, this is transmitted to the management server 2 together with the identification information of the electric lock device 1, and in the management server 2. The issued one-time key is notified to the electric lock device 1.

また、本例にかからず、ワンタイムキーの発行要求時に、ユーザがワンタイムキーの受取人として別のユーザのユーザ端末3を指定し、当該別のユーザのユーザ端末3にワンタイムキーを通知するようにすることもできる。図2の例であれば、ユーザAが管理サーバ2に対し、ワンタイムキーの発行要求時にワンタイムキーの受取人としてユーザBの情報を送り、管理サーバ2から直接、ユーザBへワンタイムキーを通知するようにすることもできる。 Further, regardless of this example, at the time of requesting issuance of the one-time key, the user designates the user terminal 3 of another user as the recipient of the one-time key, and the one-time key is assigned to the user terminal 3 of the other user. It is also possible to notify. In the example of FIG. 2, the user A sends the information of the user B as the recipient of the one-time key to the management server 2 when issuing the one-time key, and the management server 2 directly sends the one-time key to the user B. Can be notified.

なお、本実施形態においては、管理サーバ2の発行処理部22が認証コードを発行すると共に、認証コードに同期指示コードを結合させてワンタイムキーを生成し、これをユーザに通知するものとした。他方で、別の実施例においては、管理サーバ2からユーザ端末3に対しては認証コードのみを通知するものとし、管理サーバ2からワンタイムキー用の認証コードの通知を受けたユーザが自ら、当該認証コードに同期指示コードを結合させてワンタイムキーを作るものとしてもよい。 In this embodiment, the issuing processing unit 22 of the management server 2 issues the authentication code, combines the synchronization instruction code with the authentication code to generate a one-time key, and notifies the user of this. .. On the other hand, in another embodiment, only the authentication code is notified from the management server 2 to the user terminal 3, and the user who receives the notification of the authentication code for the one-time key from the management server 2 himself, A one-time key may be created by combining a synchronization instruction code with the authentication code.

続いて、本実施形態に係る電気錠装置1において、認証キーが認証され、扉の施開錠がなされる際に実行される一連の処理の流れについて、図6を参照して説明する。
電気錠装置1は、入出力部1Aにより、ユーザから扉の施開錠要求と共に認証キーの入力を受け付る(S201)。
Subsequently, in the electric lock device 1 according to the present embodiment, a flow of a series of processes executed when the authentication key is authenticated and the door is locked and unlocked will be described with reference to FIG. 6.
The electric lock device 1 receives the input of the authentication key from the user together with the door lock/unlock request through the input/output unit 1A (S201).

判別処理部12は、認証キーに同期指示コードが含まれているか否かを判別する(S202)。
この結果、同期指示コードが含まれていた場合には、同期処理部13により、管理サーバ2との同期が実行される(S203)。同期の実行においては、電気錠装置1から管理サーバ2に対し、電気錠装置1の識別情報と共に同期要求が送信され、これを受信した管理サーバ2は、認証情報記憶部21を参照して、対応する識別情報によって識別される電気錠装置1に関連付けられた認証コードを電気錠装置1に対して送信する(S204)。これにより、管理サーバ2から電気錠装置1に対して送信された認証コードに基づき、認証情報記憶部11の認証コードが更新される(S205)。
The discrimination processing unit 12 discriminates whether or not the synchronization instruction code is included in the authentication key (S202).
As a result, if the synchronization instruction code is included, the synchronization processing unit 13 executes synchronization with the management server 2 (S203). In executing the synchronization, the electric lock device 1 transmits a synchronization request together with the identification information of the electric lock device 1 to the management server 2, and the management server 2 having received the synchronization request refers to the authentication information storage unit 21, The authentication code associated with the electric lock device 1 identified by the corresponding identification information is transmitted to the electric lock device 1 (S204). As a result, the authentication code in the authentication information storage unit 11 is updated based on the authentication code transmitted from the management server 2 to the electric lock device 1 (S205).

認証コードが同期によって更新された後、あるいは、S202の処理において認証キーに同期指示コードが含まれていないと判別された場合には、認証処理部14により認証コードの認証処理が実行される(S206)。即ち、入力された認証キーを構成する認証コードが、認証情報記憶部11に登録されている認証コードと一致し、正当な施開錠の権限を証するものであるかが判別される。 After the authentication code is updated by synchronization, or when it is determined in step S202 that the synchronization instruction code is not included in the authentication key, the authentication processing unit 14 executes the authentication code authentication process ( S206). That is, it is determined whether or not the authentication code forming the input authentication key matches the authentication code registered in the authentication information storage unit 11 and proves the legitimate locking/unlocking authority.

認証の結果、認証に失敗した場合には、施開錠操作を行うことなく、エラー情報を入出力部1Aによって表示させるなどして処理を終了する(S207)。
一方、認証に成功した場合には、施開錠制御部16により施開錠機構1Bを制御して、ユーザによって要求された扉の施開錠を行う(S208)。
When the authentication fails as a result of the authentication, the process ends by displaying the error information on the input/output unit 1A without performing the locking/unlocking operation (S207).
On the other hand, when the authentication is successful, the lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door requested by the user (S208).

続いて、本実施形態において、認証コードの失効条件の具備が判断される際の処理の流れについて、図7を参照して説明する。
判断処理部24は、記認証コードに設定された失効条件を参照して、失効条件の具備を判断する(S301)。失効条件の具備の判断は、随時実行されるものであってもよいし、電気錠装置1から同期を要求されたタイミングで実行されるものであってもよい。
Next, in the present embodiment, a flow of processing when it is determined that the authentication code has a revocation condition is described with reference to FIG. 7.
The determination processing unit 24 refers to the revocation condition set in the authentication code and determines whether the revocation condition is satisfied (S301). The determination of whether or not the revocation condition is provided may be performed at any time, or may be performed at the timing when synchronization is requested by the electric lock device 1.

その結果、認証コードが失効条件を具備していると判断された場合には、設定処理部23は、失効条件を具備した認証コードを失効させる(S302)。
認証コードの失効により、失効した認証コードに基づいた施開錠の要求があった場合には、これを正当でないものとして、施開錠を行わないようにすることができる。
As a result, when it is determined that the authentication code has the revocation condition, the setting processing unit 23 revokes the authentication code having the revocation condition (S302).
When there is a request for locking/unlocking based on the revoked authentication code due to the revocation of the authentication code, this can be regarded as invalid and the locking/unlocking can be prevented.

以上の本実施形態に係る電気錠装置1によれば、電気錠装置1における認証キーの認証において、同期指示コードを備えたワンタイムキーによる認証要求があったときにのみ管理サーバ2との同期処理が実行されるため、電気錠装置1の駆動電源1Cの消費を抑えることができる。 According to the electric lock device 1 according to the present embodiment described above, in the authentication of the authentication key in the electric lock device 1, the synchronization with the management server 2 is performed only when the authentication request is made by the one-time key having the synchronization instruction code. Since the process is executed, consumption of the driving power source 1C of the electric lock device 1 can be suppressed.

なお、本実施形態においては、認証情報記憶部11、21には認証コードを記憶するものとしたが、これに限らず、認証キーを記憶させるようにしてもよい。即ち、ワンタイムキーについては、同期指示コードと認証コードを結合させたものを認証情報記憶部11、21に記憶するようにしてもよく、この場合、認証処理部14はワンタイムキーの認証において、同期指示コードと認証コードが結合した状態の認証キーを認証する。
また、このような各種のパターンの設定は例えば、予め設定させる、同期指示コードの種類によって指定させる、最初の同期時に管理サーバ2から次に入力された場合の動作を電気錠装置1側に登録させる、といった方法がある。
Although the authentication code is stored in the authentication information storage units 11 and 21 in the present embodiment, the present invention is not limited to this, and the authentication key may be stored. That is, as the one-time key, a combination of the synchronization instruction code and the authentication code may be stored in the authentication information storage units 11 and 21, and in this case, the authentication processing unit 14 performs the one-time key authentication. , Authenticate the authentication key with the synchronization instruction code and the authentication code combined.
In addition, such various pattern settings are, for example, preset, specified by the type of the synchronization instruction code, and registered in the electric lock device 1 side when an operation is next input from the management server 2 during the first synchronization. There is a method of making it.

続いて、本発明の第二の実施形態に係る電気錠装置4について説明する。
本例では、電気錠装置4側で、ワンタイムキーを構成する認証コードに設定された失効条件の具備を判断する。
このような例に係る電気錠装置4は図8に示されるように、第一の実施形態に係る電気錠装置1と同様に、認証情報記憶部11、判別処理部12、同期処理部13、認証処理部14、入出力制御部15、施開錠制御部16、及び通信処理部17からなる機能部と、入出力部1A、施開錠機構1B、及び駆動電源1Cからなる機構を備えるほか、設定処理部18と判断処理部19を備える。
Next, the electric lock device 4 according to the second embodiment of the present invention will be described.
In this example, the electric lock device 4 determines whether the revocation condition set in the authentication code forming the one-time key is satisfied.
As shown in FIG. 8, the electric lock device 4 according to such an example is similar to the electric lock device 1 according to the first embodiment, and includes the authentication information storage unit 11, the determination processing unit 12, the synchronization processing unit 13, In addition to the functional unit including the authentication processing unit 14, the input/output control unit 15, the locking/unlocking control unit 16, and the communication processing unit 17, the input/output unit 1A, the locking/unlocking mechanism 1B, and the driving power supply 1C are provided. A setting processing unit 18 and a judgment processing unit 19 are provided.

本実施形態における設定処理部18は、認証コードに対して設定されている失効条件の具備を判断し、失効条件を具備した認証コードを失効させる。
なお、失効条件が使用回数である場合には、ワンタイムキーが使用される都度、使用回数をカウントし、所定の使用回数に達した時に認証コードを失効させる。
また、認証コードの失効は、認証情報記憶部11から、失効した認証コードを削除するものであってもよいし、失効した認証コードに失効の情報を関連付け、認証に用いることができないようにするものであってもよい。
The setting processing unit 18 according to the present embodiment determines that the revocation condition set for the authentication code is provided, and revokes the authentication code provided with the revocation condition.
When the revocation condition is the number of times of use, the number of times of use is counted each time the one-time key is used, and the authentication code is revoked when the predetermined number of times of use is reached.
The revocation of the authentication code may be to delete the revoked authentication code from the authentication information storage unit 11, or associate the revoked authentication code with the revocation information so that it cannot be used for authentication. It may be one.

判断処理部19は、認証コードに設定された失効条件を参照して、失効条件の具備を判断する。失効条件の具備の判断は、随時実行されるものであってもよいし、ユーザから施開錠を要求されたタイミングで実行されるものであってもよい。 The determination processing unit 19 refers to the revocation condition set in the authentication code and determines whether the revocation condition is satisfied. The determination of whether or not the revocation condition is provided may be performed at any time, or may be performed at the timing when the user requests the locking and unlocking.

なお、本実施形態において、電気錠装置1が備える認証情報記憶部11には図9に示されるように、電気錠装置1に対して発行された認証コードと当該認証コードに設定されている失効条件が相互に関連付けて記憶されている。 In the present embodiment, the authentication information storage unit 11 included in the electric lock device 1 has the authentication code issued to the electric lock device 1 and the revocation set in the authentication code, as shown in FIG. The conditions are stored in association with each other.

このような構成からなる本実施形態に係る電気錠装置1では、失効条件が電気錠装置1側で判断されるため、ワンタイムキーを用いた施開錠については、初回のみ同期が実行されれば、その後のワンタイムキーの管理は電気錠装置1で行われる。そのため、二回目の認証要求以降においては、必ずしも同期してから認証を行う必要がない。これにより、認証処理部14による認証においては、二回目の認証要求以降、同期指示コードを除いた認証コードのみによる認証を受け付け、認証情報記憶部11に記憶されている認証コードと認証するようにしてもよく、これによれば、同期処理の負担が軽減され、駆動電源1Cの消費をさらに抑えることができる。 In the electric lock device 1 according to the present embodiment having such a configuration, the revocation condition is determined by the electric lock device 1 side, and therefore, the locking and unlocking using the one-time key is performed only for the first time. For example, the subsequent management of the one-time key is performed by the electric lock device 1. Therefore, after the second authentication request, it is not always necessary to perform the authentication after the synchronization. Thus, in the authentication by the authentication processing unit 14, after the second authentication request, only the authentication code excluding the synchronization instruction code is accepted, and the authentication code stored in the authentication information storage unit 11 is authenticated. According to this, the load of the synchronization processing is reduced, and the consumption of the driving power supply 1C can be further suppressed.

次に、本発明の第三の実施形態に係る電気錠装置5について説明する。
本例では、ワンタイムキーが入力された場合、認証情報記憶部11を参照して、ワンタイムキーから同期指示コードを除いた認証コードが登録されており、且つ有効な状態であるか否かを判別し、有効な状態で登録されていた場合には、同期することなく、施開錠を行うようにする。他方、有効な状態で登録されていなかった場合には、通常通り同期処理を実行した上で、認証処理部14による認証処理を実行する。これにより、ワンタイムキーによる認証要求について、同期が必要なのときにのみ同期を実行するものとすることができる。
なお、本例については、上述した第二の実施形態に係る電気錠装置4の変形例として説明するものとし、特段の言及がない限り、本実施形態に係る電気錠装置5は、第二の実施形態に係る電気錠装置4と同様の機能部を備える。
Next, the electric lock device 5 according to the third embodiment of the present invention will be described.
In this example, when the one-time key is input, whether or not the authentication code excluding the synchronization instruction code from the one-time key is registered by referring to the authentication information storage unit 11 and is in a valid state. If it has been registered, it is locked and unlocked without synchronization. On the other hand, when it is not registered in the valid state, the synchronization processing is executed as usual, and then the authentication processing by the authentication processing unit 14 is executed. As a result, with respect to the authentication request by the one-time key, the synchronization can be executed only when the synchronization is required.
Note that this example will be described as a modification of the electric lock device 4 according to the second embodiment described above, and unless otherwise specified, the electric lock device 5 according to the present embodiment is the second lock device. A functional unit similar to that of the electric lock device 4 according to the embodiment is provided.

本例の電気錠装置5において、認証処理部14は認証キーの入力が受け付けられた際、認証キーがマスターキーであるかワンタイムキーであるかを問わず、認証情報記憶部11を参照して、認証キーに含まれる認証コードの認証処理を実行する。即ち、本例では、入力を受け付けた認証キーが、同期指示コードを含むワンタイムキーであった場合でも、まずは認証コードに基づいて認証が行われる。 In the electric lock device 5 of this example, when the authentication key input is accepted, the authentication processing unit 14 refers to the authentication information storage unit 11 regardless of whether the authentication key is a master key or a one-time key. Then, the authentication process of the authentication code included in the authentication key is executed. That is, in this example, even if the authentication key that has received the input is the one-time key including the synchronization instruction code, authentication is first performed based on the authentication code.

また、本例における判別処理部12は、認証処理部14による認証コードの認証の結果、認証に失敗した場合に、認証キーに同期指示コードが含まれるか否かを判別する。この結果、認証コードの認証に失敗した認証キーに同期指示コードが含まれていると判別された場合には一旦、同期処理部13によって同期が実行された後、改めて認証処理部14による認証処理が実行される。一方、認証コードの認証に失敗した認証キーに同期指示コードが含まれていないものと判別された場合には、入力された認証キーは施開錠のための正当な権限を有しないものとして、施開錠が行われることなく、処理が終了する。 In addition, the discrimination processing unit 12 in this example discriminates whether or not the synchronization instruction code is included in the authentication key when the authentication fails as a result of the authentication code authentication by the authentication processing unit 14. As a result, when it is determined that the authentication key that has failed the authentication of the authentication code includes the synchronization instruction code, once the synchronization is performed by the synchronization processing unit 13, the authentication processing by the authentication processing unit 14 is performed again. Is executed. On the other hand, if it is determined that the authentication key that has failed the authentication of the authentication code does not include the synchronization instruction code, the input authentication key does not have the proper authority for locking and unlocking. The process ends without locking and unlocking.

続いて、本実施形態に係る電気錠装置5において、認証キーが認証され、扉の施開錠がなされる際に実行される一連の処理の流れについて、図10を参照して説明する。
電気錠装置1は、入出力部1Aにより、ユーザから扉の施開錠要求と共に認証キーの入力を受け付る(S401)。
Subsequently, in the electric lock device 5 according to the present embodiment, a flow of a series of processes executed when the authentication key is authenticated and the door is locked and unlocked will be described with reference to FIG. 10.
The electric lock device 1 receives an input of an authentication key together with a door lock/unlock request from the user through the input/output unit 1A (S401).

これに応じて認証処理部14は、認証キーに含まれる認証コードの認証処理を実行する(S402)。このとき、入力を受け付けた認証キーが、同期指示コードを含むワンタイムキーであった場合でも、まずは認証コードに基づいて認証が行われることになる。
この結果、認証に成功した場合には、施開錠制御部16が施開錠機構1Bを制御して、ユーザによって要求された扉の施開錠を行う(S410)。
In response to this, the authentication processing unit 14 executes the authentication processing of the authentication code included in the authentication key (S402). At this time, even if the authentication key that has received the input is the one-time key including the synchronization instruction code, the authentication is first performed based on the authentication code.
As a result, when the authentication is successful, the lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door requested by the user (S410).

S402における認証処理の結果、認証に失敗した場合には、判別処理部12により、認証キーに同期指示コードが含まれているか否かが判別される(S403)。
この結果、同期指示コードが含まれていなかった場合には、S402において示された認証失敗という認証結果に基づき、施開錠操作を行うことなく、エラー情報を入出力部1Aによって表示させるなどして処理を終了する(S404)。
If the result of the authentication processing in S402 is that the authentication has failed, the determination processing unit 12 determines whether or not the synchronization key is included in the authentication key (S403).
As a result, if the synchronization instruction code is not included, the error information is displayed by the input/output unit 1A without performing the locking/unlocking operation based on the authentication result of the authentication failure shown in S402. Then, the process ends (S404).

一方、同期指示コードが含まれていた場合には、同期処理部13により、管理サーバ2との同期が実行される(S405)。同期の実行においては、電気錠装置5から管理サーバ2に対し、電気錠装置5の識別情報と共に同期要求が送信され、これを受信した管理サーバ2は、認証情報記憶部21を参照して、対応する識別情報によって識別される電気錠装置5に関連付けられた認証コードを電気錠装置5に対して送信する(S406)。これにより、管理サーバ2から電気錠装置5に対して送信された認証コードに基づき、認証情報記憶部11の認証コードが更新される(S407)。 On the other hand, if the synchronization instruction code is included, the synchronization processing unit 13 executes synchronization with the management server 2 (S405). In executing the synchronization, the electric lock device 5 transmits a synchronization request to the management server 2 together with the identification information of the electric lock device 5, and the management server 2 receiving this request refers to the authentication information storage unit 21, The authentication code associated with the electric lock device 5 identified by the corresponding identification information is transmitted to the electric lock device 5 (S406). As a result, the authentication code in the authentication information storage unit 11 is updated based on the authentication code transmitted from the management server 2 to the electric lock device 5 (S407).

認証コードが同期処理によって更新されると、改めて認証処理部14により、認証キーに含まれる認証コードに基づいた認証処理が実行される(S408)。
認証の結果、認証に失敗した場合には、施開錠操作を行うことなく、エラー情報を入出力部1Aによって表示させるなどして処理を終了する(S409)。
一方、認証に成功した場合には、施開錠制御部16が施開錠機構1Bを制御して、ユーザによって要求された扉の施開錠を行う(S410)。
When the authentication code is updated by the synchronization processing, the authentication processing unit 14 again executes the authentication processing based on the authentication code included in the authentication key (S408).
If the authentication fails as a result of the authentication, the process ends by displaying the error information on the input/output unit 1A without performing the locking/unlocking operation (S409).
On the other hand, when the authentication is successful, the lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door requested by the user (S410).

本実施形態に係る電気錠装置5によれば、同期指示コードを含むワンタイムキーの入力を受け付けた場合でも、同期が必要な場合にのみ同期が実行されるため、同期処理の負担が軽減され、駆動電源1Cの消費をさらに抑えることができる。 According to the electric lock device 5 according to the present embodiment, even when the input of the one-time key including the synchronization instruction code is accepted, the synchronization is executed only when the synchronization is necessary, so that the load of the synchronization process is reduced. The consumption of the driving power supply 1C can be further suppressed.

<付記1>
扉を施開錠する電気錠装置であって、
上記扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、
上記管理サーバとの同期を指示する同期指示コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付手段と、
上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理手段と、
上記入力を受け付けた認証キーを構成する認証コードの認証処理に失敗した場合に、上記入力を受け付けた認証キーに含まれる上記同期指示コードを判別する判別処理手段と、
上記入力を受け付けた認証キーに上記同期指示コードが含まれていた場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理手段と、
上記同期処理を実行した後に、上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーに含まれる認証コードの認証処理を実行する第二の認証処理手段と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御手段と、を有する、
電気錠装置。
<Appendix 1>
An electric lock device for locking and unlocking a door,
It is configured to be communicable via a network with a management server that issues an authentication code that authenticates the authority to lock and unlock the door.
A locking and unlocking mechanism for locking and unlocking the door,
Authentication information storage means for storing the authentication code,
An input receiving unit that receives an input of an authentication key configured by a synchronization instruction code that instructs synchronization with the management server and an authentication code that authenticates the authority to lock and unlock the door,
A first authentication processing means for executing authentication processing of an authentication code that constitutes the authentication key that has received the input;
When the authentication process of the authentication code forming the authentication key that has received the input has failed, a determination processing unit that determines the synchronization instruction code included in the authentication key that has received the input,
A synchronization processing unit that executes synchronization with the management server and updates the authentication code stored in the authentication information storage unit when the authentication key that received the input includes the synchronization instruction code.
After executing the synchronization processing, referring to the authentication information storage means, a second authentication processing means for executing the authentication processing of the authentication code included in the authentication key that received the input,
In accordance with an authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control means for locking and unlocking the door is provided.
Electric lock device.

次に、本発明の第四の実施形態に係る電気錠装置6について説明する。
本例では、マスターキー及びワンタイムキーのいずれについても認証コードのみから構成され、認証キーに同期指示コードが含まれない。したがって、上述した実施形態とは異なり、ワンタイムキーは同期指示コードを備えておらず、管理サーバ2が発行される認証キーは全て、認証コードのみによって構成される。そして、同期については、電気錠装置6が所定の条件に基づいて行う。
Next, an electric lock device 6 according to the fourth embodiment of the present invention will be described.
In this example, both the master key and the one-time key are composed of only the authentication code, and the authentication key does not include the synchronization instruction code. Therefore, unlike the above-described embodiment, the one-time key does not include the synchronization instruction code, and all the authentication keys issued by the management server 2 are composed of only the authentication code. Then, the synchronization is performed by the electric lock device 6 based on a predetermined condition.

本実施形態に係る電気錠装置6は図11に示されるように、第二の実施形態に係る電気錠装置4と同様に、認証情報記憶部11、同期処理部13、認証処理部14、入出力制御部15、施開錠制御部16、通信処理部17、設定処理部18、及び判断処理部19からなる機能部と、入出力部1A、施開錠機構1B、及び駆動電源1Cからなる機構を備えるが、電気錠装置1が備えた判別処理部12は備えていない。
なお、各機能部については、特段の言及がない限り、第二の実施形態に係る電気錠装置4の各機能部と同様の機能を奏する。
As shown in FIG. 11, the electric lock device 6 according to the present embodiment is similar to the electric lock device 4 according to the second embodiment in that it includes an authentication information storage unit 11, a synchronization processing unit 13, an authentication processing unit 14, and an input unit. A functional unit including an output control unit 15, a locking/unlocking control unit 16, a communication processing unit 17, a setting processing unit 18, and a determination processing unit 19, an input/output unit 1A, a locking/unlocking mechanism 1B, and a driving power supply 1C. Although the mechanism is provided, the discrimination processing unit 12 provided in the electric lock device 1 is not provided.
Note that each functional unit has the same function as each functional unit of the electric lock device 4 according to the second embodiment, unless otherwise specified.

本実施形態において、同期処理部13は、入力を受け付けられた認証キーについて認証が行われた結果、認証に失敗した場合に、管理サーバ2との同期処理を実行する。
即ち、本例では、同期する前に一旦、認証を行い、失敗した場合には同期によって認証情報記憶部11を更新して改めて認証を行うことにより、認証キーが入力される都度、同期処理を行わないで済むようにしている。
In the present embodiment, the synchronization processing unit 13 executes the synchronization process with the management server 2 when the authentication fails as a result of the authentication performed on the input authentication key.
That is, in this example, the authentication is performed once before the synchronization, and when the authentication fails, the authentication information storage unit 11 is updated by the synchronization and the authentication is performed again, so that the synchronization process is performed each time the authentication key is input. I try not to do it.

続いて、本実施形態に係る電気錠装置6において、認証キーが認証され、扉の施開錠がなされる際に実行される一連の処理の流れについて、図12を参照して説明する。
電気錠装置6は、入出力部1Aにより、ユーザから扉の施開錠要求と共に認証キーの入力を受け付る(S501)。
Subsequently, in the electric lock device 6 according to the present embodiment, a flow of a series of processes executed when the authentication key is authenticated and the door is locked and unlocked will be described with reference to FIG. 12.
The electric lock device 6 receives the input of the authentication key from the user together with the door locking/unlocking request through the input/output unit 1A (S501).

これに応じて認証処理部14は、認証キーを構成する認証コードの認証処理を実行する(S502)。
この結果、認証に成功した場合には、施開錠制御部16が施開錠機構1Bを制御して、ユーザによって要求された扉の施開錠を行う(S508)。
In response to this, the authentication processing unit 14 executes the authentication processing of the authentication code forming the authentication key (S502).
As a result, when the authentication is successful, the lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door requested by the user (S508).

S502における認証処理の結果、認証に失敗した場合には、同期処理部13により、管理サーバ2との同期が実行される(S503)。同期の実行においては、電気錠装置6から管理サーバ2に対し、電気錠装置6の識別情報と共に同期要求が送信され、これを受信した管理サーバ2は、認証情報記憶部21を参照して、対応する識別情報によって識別される電気錠装置6に関連付けられた認証コードを電気錠装置6に対して送信する(S504)。これにより、管理サーバ2から電気錠装置6に対して送信された認証コードに基づき、認証情報記憶部11の認証コードが更新される(S505)。 As a result of the authentication processing in S502, if the authentication fails, the synchronization processing unit 13 executes synchronization with the management server 2 (S503). In executing the synchronization, the electric lock device 6 transmits a synchronization request to the management server 2 together with the identification information of the electric lock device 6, and the management server 2 that receives the synchronization request refers to the authentication information storage unit 21, The authentication code associated with the electric lock device 6 identified by the corresponding identification information is transmitted to the electric lock device 6 (S504). As a result, the authentication code in the authentication information storage unit 11 is updated based on the authentication code transmitted from the management server 2 to the electric lock device 6 (S505).

認証コードが同期処理によって更新されると、改めて認証処理部14により、認証キーを構成する認証コードに基づいた認証処理が実行される(S506)。
認証の結果、認証に失敗した場合には、施開錠操作を行うことなく、エラー情報を入出力部1Aによって表示させるなどして処理を終了する(S507)。
一方、認証に成功した場合には、施開錠制御部16が施開錠機構1Bを制御して、ユーザによって要求された扉の施開錠を行う(S508)。
When the authentication code is updated by the synchronization processing, the authentication processing unit 14 again executes the authentication processing based on the authentication code forming the authentication key (S506).
When the authentication fails as a result of the authentication, the process ends by displaying the error information on the input/output unit 1A without performing the locking/unlocking operation (S507).
On the other hand, when the authentication is successful, the lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door requested by the user (S508).

以上の本実施形態に係る電気錠装置6によれば、認証に失敗したときのみ、管理サーバ2と同期して最新の認証キーを確認するようにするため、やはり同期処理の負担が軽減され、駆動電源1Cの消費を抑えることができる。また、ワンタイムキーに同期指示コードが含まれないため、ワンタイムキーの発行において、管理サーバ2に認証コードのみを発行させ、これにユーザが同期指示コードを付け加えさせる場合のような煩雑さがなく、便利である。 According to the electric lock device 6 according to the present embodiment described above, since the latest authentication key is confirmed by synchronizing with the management server 2 only when the authentication fails, the load of the synchronization process is also reduced. It is possible to suppress the consumption of the driving power source 1C. Further, since the one-time key does not include the synchronization instruction code, there is a complication when the management server 2 issues only the authentication code and the user adds the synchronization instruction code to the one-time key when issuing the one-time key. Not convenient.

<付記2>
扉を施開錠する電気錠装置であって、
上記扉を施開錠する権限を認証する認証コードを発行する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、
上記扉を施開錠する権限を認証する認証コードによって構成された認証キーの入力を受け付ける入力受付手段と、
上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理手段と、
上記認証コードの認証処理に失敗した場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理手段と、
上記同期を実行した後に、上記認証情報記憶手段を参照して、上記認証キーを構成する認証コードの認証処理を実行する第二の認証処理手段と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御手段と、を有する、
電気錠装置。
<Appendix 2>
An electric lock device for locking and unlocking a door,
It is configured to be communicable via a network with a management server that issues an authentication code that authenticates the authority to lock and unlock the door.
A locking and unlocking mechanism for locking and unlocking the door,
Authentication information storage means for storing the authentication code,
An input receiving means for receiving an input of an authentication key configured by an authentication code for authenticating the authority to lock and unlock the door,
A first authentication processing means for performing an authentication process of an authentication code forming the authentication key that received the input, with reference to the authentication information storage means;
Synchronization processing means for executing synchronization with the management server and updating the authentication code stored in the authentication information storage means when the authentication processing of the authentication code fails.
After performing the synchronization, a second authentication processing unit that executes the authentication process of the authentication code forming the authentication key with reference to the authentication information storage unit,
In accordance with an authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control means for locking and unlocking the door is provided.
Electric lock device.

次に、本発明の第五の実施形態に係る電気錠装置7について説明する。
本例では、管理サーバ8側で、ワンタイムキーの認証処理が実行される。
このような例に係る電気錠装置7は図10に示されるように、第一の実施形態に係る電気錠装置1と同様に、認証情報記憶部11、判別処理部12、認証処理部14、入出力制御部15、施開錠制御部16、及び通信処理部17からなる機能部と、入出力部1A、施開錠機構1B、及び駆動電源1Cからなる機構を備えるが、電気錠装置1が備えた同期処理部13は備えていない。
一方、管理サーバ8は、第一の実施形態における管理サーバ2と同様に、認証情報記憶部21、発行処理部22、設定処理部23、判断処理部24、通信処理部25を備えるほか、認証処理部26を備える。
Next, an electric lock device 7 according to a fifth embodiment of the present invention will be described.
In this example, the one-time key authentication process is executed on the management server 8 side.
As shown in FIG. 10, the electric lock device 7 according to such an example, like the electric lock device 1 according to the first embodiment, includes an authentication information storage unit 11, a determination processing unit 12, an authentication processing unit 14, The electric lock device 1 includes a functional unit including an input/output control unit 15, a locking/unlocking control unit 16, and a communication processing unit 17, and a mechanism including an input/output unit 1A, a locking/unlocking mechanism 1B, and a driving power supply 1C. Does not include the synchronization processing unit 13.
On the other hand, the management server 8 includes an authentication information storage unit 21, an issuance processing unit 22, a setting processing unit 23, a determination processing unit 24, and a communication processing unit 25, as well as the management server 2 in the first embodiment. The processing unit 26 is provided.

認証処理部26は、電気錠装置1から認証要求と共に受信したワンタイムキー、あるいはワンタイムキーに含まれる認証コードに基づき、認証情報記憶部21を参照して認証処理を実行する。
なお、第一及び第二の実施形態においては、ワンタイムキーは同期指示コードと認証コードから構成されたが、本実施形態では、同期指示コードに代えて、管理サーバ2による認証を要求する認証要求コードが認証コードと共にワンタイムキーを構成する。このようなワンタイムキーの構成により、施開錠要求と共にワンタイムキーの入力を受け付けた電気錠装置7は、ワンタイムキーによる認証を管理サーバ8に要求する。
The authentication processing unit 26 executes the authentication process by referring to the authentication information storage unit 21 based on the one-time key received from the electric lock device 1 together with the authentication request or the authentication code included in the one-time key.
In the first and second embodiments, the one-time key is composed of the synchronization instruction code and the authentication code, but in the present embodiment, instead of the synchronization instruction code, the authentication requesting the management server 2 is authenticated. The request code together with the authorization code constitutes the one-time key. With such a one-time key configuration, the electric lock device 7, which has received the input of the one-time key together with the lock/unlock request, requests the management server 8 for authentication by the one-time key.

なお、本例における判別処理部12は、電気錠装置1に認証キーが入力された際、当該認証キーに認証要求コードが含まれるか否かを判別する。この処理では、認証要求コードを別途、参照用テーブルに保持し、これを参照することにより、認証キーに認証要求コードが含まれるか否かを判別することができる。 When the authentication key is input to the electric lock device 1, the determination processing unit 12 in this example determines whether or not the authentication key includes an authentication request code. In this process, it is possible to determine whether or not the authentication request code is included in the authentication key by separately holding the authentication request code in the reference table and referring to the table.

続いて、本実施形態に係る電気錠装置7と管理サーバ8により、認証キーが認証される際の一連の処理の流れについて、図14を参照して説明する。
電気錠装置7は、入出力部1Aにより、ユーザから扉の施開錠要求と共に認証キーの入力を受け付る(S601)。
Subsequently, a flow of a series of processes when the authentication key is authenticated by the electric lock device 7 and the management server 8 according to the present embodiment will be described with reference to FIG.
The electric lock device 7 receives the input of the authentication key from the user together with the door lock/unlock request through the input/output unit 1A (S601).

判別処理部12は、認証キーに認証要求コードが含まれているか否かを判別する(S602)。
この結果、認証要求コードが含まれていた場合には、通信処理部17により、管理サーバ8に対し、認証要求と共に認証キーを送信する(S603)。
これに応じて、管理サーバ8は、認証処理部26により認証情報記憶部21を参照して、認証キーの認証処理を実行し(S604)、その結果を電気錠装置7に対して送信する(S605)。
The discrimination processing unit 12 discriminates whether or not the authentication request code is included in the authentication key (S602).
As a result, if the authentication request code is included, the communication processing unit 17 transmits the authentication request and the authentication key to the management server 8 (S603).
In response to this, the management server 8 refers to the authentication information storage unit 21 by the authentication processing unit 26, executes the authentication processing of the authentication key (S604), and sends the result to the electric lock device 7 ( S605).

管理サーバ8から認証結果を受信した電気錠装置7は、認証結果に応じた処理を実行する(S606)。即ち、認証結果が認証成功を示すものであれば、施開錠制御部16により施開錠機構1Bを制御して、ユーザによって要求された扉の施開錠を行う(S607)。一方、認証結果が認証失敗を示すものであれば、施開錠操作を行うことなく、エラー情報を入出力部1Aによって表示させるなどする(S609)。 The electric lock device 7, which has received the authentication result from the management server 8, executes processing according to the authentication result (S606). That is, if the authentication result indicates successful authentication, the lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door requested by the user (S607). On the other hand, if the authentication result indicates the authentication failure, the error information is displayed by the input/output unit 1A without performing the locking/unlocking operation (S609).

また、S602において、認証要求コードの有無を判別した結果、認証要求コードがないものと判別された場合には、認証処理部14により、認証情報記憶部11を参照して、入力された認証キーの認証処理が実行される(S608)。
認証の結果、認証に失敗した場合には、施開錠操作を行うことなく、エラー情報を入出力部1Aによって表示させるなどして処理を終了する(S609)。
一方、認証に成功した場合には、施開錠制御部16により施開錠機構1Bを制御して、ユーザによって要求された扉の施開錠を行う(S607)。
Further, in S602, when it is determined that there is no authentication request code as a result of determining the presence or absence of the authentication request code, the authentication processing unit 14 refers to the authentication information storage unit 11 and inputs the input authentication key. The authentication process is executed (S608).
When the authentication fails as a result of the authentication, the process ends by displaying the error information on the input/output unit 1A without performing the locking/unlocking operation (S609).
On the other hand, if the authentication is successful, the lock/unlock control unit 16 controls the lock/unlock mechanism 1B to lock/unlock the door requested by the user (S607).

以上の本実施形態に係る電気錠装置7によれば、管理サーバ8側で認証処理を実行しつつ、認証要求コードを備えたワンタイムキーによる認証要求があったときにのみ管理サーバ8との同期処理が実行されるため、やはり電気錠装置7の駆動電源1Cの消費を抑えることができる。 According to the electric lock device 7 according to the present embodiment described above, the management server 8 side executes the authentication process, and the management server 8 is connected only when the authentication request is made by the one-time key including the authentication request code. Since the synchronization process is executed, consumption of the driving power supply 1C of the electric lock device 7 can be suppressed.

なお、以上の本発明の実施形態においては、認証キーの入力について、タッチパネル等の情報入力手段によるものとしたが、これに限らず、第一乃至第五のいずれの実施形態についても、認証キーをICカード等に記録させ、これを電気錠装置1に読み取らせて認証させるようにすることもできる。 In the above-described embodiment of the present invention, the input of the authentication key is performed by the information input means such as the touch panel, but the present invention is not limited to this, and the authentication key can be used in any of the first to fifth embodiments. Can be recorded in an IC card or the like, and the electronic lock device 1 can read this to be authenticated.

また、以上の本発明の実施形態については例えば、設定により、第一乃至第五のいずれの実施形態にも変更できるようにすることもできる。また、設定はユーザの指示に応じて変更するようにしてもよいし、管理サーバ2、8が所定の条件の合致に応じて変更するようにしてもよい。
また、各実施形態における機能や構成は処理に矛盾を生じない限り、適宜の設計により、その一部あるいは全てを他の実施形態に適用することが可能である。
Further, the above-described embodiment of the present invention can be changed to any of the first to fifth embodiments by setting, for example. Further, the setting may be changed according to a user's instruction, or the management servers 2 and 8 may be changed according to the matching of a predetermined condition.
Further, the functions and configurations of the respective embodiments can be partially or entirely applied to other embodiments by appropriate design as long as there is no contradiction in processing.

なお、以上の本発明の実施形態においては、電気錠装置1、4、5、6、7あるいは管理サーバ8に認証機能や失効条件を判断する機能などをもたせたが、施開錠機構1Bなど、扉の施開錠に必要な物理的機構を除き、本発明の実施に必要な処理を実行するソフトウェア資源は、複数の装置等に分散して保持させたり、別途設けた所定の装置に集約させたりすることもできる。例えば、扉には施開錠機構1Bなどの物理的機構のみを備えさせ、このような物理的機構とは別に設けた外部装置(管理サーバとは異なり、扉等に施開錠機構1Bとは別に取り付けるもの。)に認証機能やその他の処理機能を備えさせることができる。 In the above-described embodiment of the present invention, the electric lock device 1, 4, 5, 6, 7 or the management server 8 is provided with the authentication function and the function of determining the revocation condition. Except for the physical mechanism required to lock and unlock the door, the software resources that execute the processes required to carry out the present invention are distributed and held in a plurality of devices, or aggregated in a separately provided device. It can also be done. For example, the door is provided with only a physical mechanism such as the locking/unlocking mechanism 1B, and an external device provided separately from such a physical mechanism (unlike the management server, (Attached separately) can be provided with an authentication function and other processing functions.

1 電気錠装置
11 認証情報記憶部
12 判別処理部
13 同期処理部
14 認証処理部
15 入出力制御部
16 施開錠制御部
17 通信処理部
18 判断処理部
19 設定処理部
1A 入出力部
1B 施開錠機構
1C 駆動電源
2 管理サーバ
21 認証情報記憶部
22 発行処理部
23 設定処理部
24 判断処理部
25 通信処理部
26 認証処理部
3 ユーザ端末
4 電気錠装置
5 電気錠装置
6 電気錠装置
7 電気錠装置
8 管理サーバ
NW ネットワーク
DESCRIPTION OF SYMBOLS 1 Electric lock device 11 Authentication information storage unit 12 Discrimination processing unit 13 Synchronization processing unit 14 Authentication processing unit 15 Input/output control unit 16 Lock/unlock control unit 17 Communication processing unit 18 Judgment processing unit 19 Setting processing unit 1A Input/output unit 1B Unlocking mechanism 1C Drive power supply 2 Management server 21 Authentication information storage unit 22 Issuing processing unit 23 Setting processing unit 24 Judgment processing unit 25 Communication processing unit 26 Authentication processing unit 3 User terminal 4 Electric locking device 5 Electric locking device 6 Electric locking device 7 Electric lock device 8 Management server NW network

Claims (9)

扉を施開錠する電気錠装置であって、
上記扉を施開錠する権限を認証する認証コードを記憶する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、
上記扉を施開錠する権限を認証する認証コードによって構成された認証キーの入力を受け付ける入力受付手段と、
上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理手段と、
上記認証コードの認証処理に失敗した場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理手段と、
上記同期を実行した後に、上記認証情報記憶手段を参照して、上記認証キーを構成する認証コードの認証処理を実行する第二の認証処理手段と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御手段と、を有する、
電気錠装置。
An electric lock device for locking and unlocking a door,
It is configured to be communicable via a network with a management server that stores an authentication code that authenticates the authority to lock and unlock the door.
A locking and unlocking mechanism for locking and unlocking the door,
Authentication information storage means for storing the authentication code,
An input receiving means for receiving an input of an authentication key configured by an authentication code for authenticating the authority to lock and unlock the door,
A first authentication processing means for performing an authentication process of an authentication code forming the authentication key that received the input, with reference to the authentication information storage means;
Synchronization processing means for executing synchronization with the management server and updating the authentication code stored in the authentication information storage means when the authentication processing of the authentication code fails.
After performing the synchronization, a second authentication processing unit that executes the authentication process of the authentication code forming the authentication key with reference to the authentication information storage unit,
In accordance with an authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control means for locking and unlocking the door is provided.
Electric lock device.
扉を施開錠する電気錠装置であって、
上記扉を施開錠する権限を認証する認証コードを記憶する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、
上記管理サーバとの同期を指示する同期指示コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付手段と、
上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理手段と、
上記入力を受け付けた認証キーを構成する認証コードの認証処理に失敗した場合に、上記入力を受け付けた認証キーに含まれる上記同期指示コードを判別する判別処理手段と、
上記入力を受け付けた認証キーに上記同期指示コードが含まれていた場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理手段と、
上記同期処理を実行した後に、上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーに含まれる認証コードの認証処理を実行する第二の認証処理手段と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御手段と、を有する、
電気錠装置。
An electric lock device for locking and unlocking a door,
It is configured to be communicable via a network with a management server that stores an authentication code that authenticates the authority to lock and unlock the door.
A locking and unlocking mechanism for locking and unlocking the door,
Authentication information storage means for storing the authentication code,
An input receiving unit that receives an input of an authentication key configured by a synchronization instruction code that instructs synchronization with the management server and an authentication code that authenticates the authority to lock and unlock the door,
A first authentication processing means for performing an authentication process of an authentication code forming the authentication key that received the input, with reference to the authentication information storage means;
When the authentication process of the authentication code forming the authentication key that has received the input has failed, a determination processing unit that determines the synchronization instruction code included in the authentication key that has received the input,
A synchronization processing unit that executes synchronization with the management server and updates the authentication code stored in the authentication information storage unit when the authentication key that received the input includes the synchronization instruction code.
After executing the synchronization processing, referring to the authentication information storage means, a second authentication processing means for executing the authentication processing of the authentication code included in the authentication key that received the input,
In accordance with an authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control means for locking and unlocking the door is provided.
Electric lock device.
上記認証コードには、所定の失効条件が設定されており、
上記認証コードの失効条件の具備を判断する判断処理手段と、
上記認証コードが失効条件を具備したと判断された場合に、上記認証コードを失効させる設定手段と、をさらに有する、
請求項1又は2記載の電気錠装置。
The certification code has a set revocation condition,
Judgment processing means for judging whether the above-mentioned authentication code has a revocation condition,
And further comprising setting means for revoking the authentication code when it is determined that the authentication code satisfies the revocation condition.
The electric lock device according to claim 1 or 2.
バッテリーを内蔵し、無線通信により上記管理サーバと情報の送受信を実行する、
請求項1乃至3いずれかの項に記載の電気錠装置。
It has a built-in battery and sends and receives information to and from the management server by wireless communication.
The electric lock device according to any one of claims 1 to 3.
上記無線通信は、LPWA(Low Power Wide Area)ネットワークを介して実行される、
請求項4記載の電気錠装置。
The wireless communication is executed via an LPWA (Low Power Wide Area) network,
The electric lock device according to claim 4.
扉を施開錠する権限を認証する認証コードを記憶する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置によって実行される方法であって、
上記電気錠装置が、
上記扉を施開錠する権限を認証する認証コードによって構成された認証キーの入力を受け付ける入力受付処理と、
上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理と、
上記認証コードの認証処理に失敗した場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理と、
上記同期を実行した後に、上記認証情報記憶手段を参照して、上記認証キーを構成する認証コードの認証処理を実行する第二の認証処理と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行する、
認証コードの認証方法。
It is configured to communicate via a network with a management server that stores an authentication code that authenticates the authority to lock and unlock the door,
A locking and unlocking mechanism for locking and unlocking the door,
A method executed by an electric lock device, comprising: an authentication information storage unit that stores the authentication code;
The electric lock device is
An input reception process that receives an input of an authentication key configured by an authentication code that authenticates the authority to lock and unlock the door,
A first authentication process for executing an authentication process of an authentication code forming the authentication key that has received the input, with reference to the authentication information storage means;
When the authentication process of the authentication code fails, the synchronization process is performed to synchronize with the management server and update the authentication code stored in the authentication information storage means.
After executing the synchronization, referring to the authentication information storage means, a second authentication process for executing the authentication process of the authentication code forming the authentication key,
Depending on the authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control process for locking and unlocking the door is executed.
The authentication method of the authentication code.
扉を施開錠する権限を認証する認証コードを記憶する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置において実行されるコンピュータプログラムであって、
上記電気錠装置に対し、
上記扉を施開錠する権限を認証する認証コードによって構成された認証キーの入力を受け付ける入力受付処理と、
上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理と、
上記認証コードの認証処理に失敗した場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理と、
上記同期を実行した後に、上記認証情報記憶手段を参照して、上記認証キーを構成する認証コードの認証処理を実行する第二の認証処理と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行させる、
コンピュータプログラム。
It is configured to communicate via a network with a management server that stores an authentication code that authenticates the authority to lock and unlock the door,
A locking and unlocking mechanism for locking and unlocking the door,
A computer program executed in an electric lock device including: an authentication information storage unit that stores the authentication code;
For the above electric lock device,
An input reception process that receives an input of an authentication key configured by an authentication code that authenticates the authority to lock and unlock the door,
A first authentication process for executing an authentication process of an authentication code forming the authentication key that has received the input, with reference to the authentication information storage means;
When the authentication process of the authentication code fails, the synchronization process is performed to synchronize with the management server and update the authentication code stored in the authentication information storage means.
After executing the synchronization, referring to the authentication information storage means, a second authentication process for executing the authentication process of the authentication code forming the authentication key,
Depending on the authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control process for locking and unlocking the door is executed.
Computer program.
扉を施開錠する権限を認証する認証コードを記憶する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置によって実行される方法であって、
上記電気錠装置が、
上記管理サーバとの同期を指示する同期指示コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付処理と、
上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理と、
上記入力を受け付けた認証キーを構成する認証コードの認証処理に失敗した場合に、上記入力を受け付けた認証キーに含まれる上記同期指示コードを判別する判別処理と、
上記入力を受け付けた認証キーに上記同期指示コードが含まれていた場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理と、
上記同期処理を実行した後に、上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーに含まれる認証コードの認証処理を実行する第二の認証処理と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行する、
認証コードの認証方法。
It is configured to communicate via a network with a management server that stores an authentication code that authenticates the authority to lock and unlock the door,
A locking and unlocking mechanism for locking and unlocking the door,
A method executed by an electric lock device, comprising: an authentication information storage unit that stores the authentication code;
The electric lock device is
An input receiving process for receiving an input of an authentication key configured by a synchronization instruction code for instructing synchronization with the management server and an authentication code for authenticating the authority to lock and unlock the door,
A first authentication process for executing an authentication process of an authentication code forming the authentication key that has received the input, with reference to the authentication information storage means;
When the authentication process of the authentication code forming the authentication key that has received the input has failed, a determination process that determines the synchronization instruction code included in the authentication key that has received the input,
When the authentication key that has received the input includes the synchronization instruction code, synchronization processing is performed to perform synchronization with the management server, and update the authentication code stored in the authentication information storage means,
After executing the synchronization processing, referring to the authentication information storage means, a second authentication processing for executing the authentication processing of the authentication code included in the authentication key that received the input,
Depending on the authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control process for locking and unlocking the door is executed.
The authentication method of the authentication code.
扉を施開錠する権限を認証する認証コードを記憶する管理サーバと、ネットワークを介して通信可能に構成され、
上記扉を施開錠する施開錠機構と、
上記認証コードを記憶する認証情報記憶手段と、を有する電気錠装置において実行されるコンピュータプログラムであって、
上記電気錠装置に対し、
上記管理サーバとの同期を指示する同期指示コードと、上記扉を施開錠する権限を認証する認証コードとによって構成された認証キーの入力を受け付ける入力受付処理と、
上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーを構成する認証コードの認証処理を実行する第一の認証処理と、
上記入力を受け付けた認証キーを構成する認証コードの認証処理に失敗した場合に、上記入力を受け付けた認証キーに含まれる上記同期指示コードを判別する判別処理と、
上記入力を受け付けた認証キーに上記同期指示コードが含まれていた場合に、上記管理サーバとの同期を実行し、上記認証情報記憶手段に記憶されている認証コードを更新する同期処理と、
上記同期処理を実行した後に、上記認証情報記憶手段を参照して、上記入力を受け付けた認証キーに含まれる認証コードの認証処理を実行する第二の認証処理と、
上記認証コードに基づく認証結果に応じて、上記施開錠機構を制御し、上記扉を施開錠させる施開錠制御処理と、を実行させる、
コンピュータプログラム。
It is configured to communicate via a network with a management server that stores an authentication code that authenticates the authority to lock and unlock the door,
A locking and unlocking mechanism for locking and unlocking the door,
A computer program executed in an electric lock device including: an authentication information storage unit that stores the authentication code;
For the above electric lock device,
An input receiving process for receiving an input of an authentication key configured by a synchronization instruction code for instructing synchronization with the management server and an authentication code for authenticating the authority to lock and unlock the door,
A first authentication process for executing an authentication process of an authentication code forming the authentication key that has received the input, with reference to the authentication information storage means;
When the authentication process of the authentication code forming the authentication key that has received the input has failed, a determination process that determines the synchronization instruction code included in the authentication key that has received the input,
When the authentication key that has received the input includes the synchronization instruction code, synchronization processing is performed to perform synchronization with the management server, and update the authentication code stored in the authentication information storage means,
After executing the synchronization processing, referring to the authentication information storage means, a second authentication processing for executing the authentication processing of the authentication code included in the authentication key that received the input,
Depending on the authentication result based on the authentication code, the locking and unlocking mechanism is controlled, and the locking and unlocking control process for locking and unlocking the door is executed.
Computer program.
JP2020079695A 2020-04-28 2020-04-28 ELECTRIC LOCK DEVICE, AUTHENTICATION KEY AUTHENTICATION SYSTEM, METHOD, AND COMPUTER PROGRAM Active JP7170335B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020079695A JP7170335B2 (en) 2020-04-28 2020-04-28 ELECTRIC LOCK DEVICE, AUTHENTICATION KEY AUTHENTICATION SYSTEM, METHOD, AND COMPUTER PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020079695A JP7170335B2 (en) 2020-04-28 2020-04-28 ELECTRIC LOCK DEVICE, AUTHENTICATION KEY AUTHENTICATION SYSTEM, METHOD, AND COMPUTER PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018230687A Division JP6714245B2 (en) 2018-12-10 2018-12-10 Electric lock device, authentication key authentication system, method, and computer program

Publications (2)

Publication Number Publication Date
JP2020125679A true JP2020125679A (en) 2020-08-20
JP7170335B2 JP7170335B2 (en) 2022-11-14

Family

ID=72083696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020079695A Active JP7170335B2 (en) 2020-04-28 2020-04-28 ELECTRIC LOCK DEVICE, AUTHENTICATION KEY AUTHENTICATION SYSTEM, METHOD, AND COMPUTER PROGRAM

Country Status (1)

Country Link
JP (1) JP7170335B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468295A (en) * 2020-11-26 2021-03-09 武汉嘟嘟有位科技有限公司 Internet of things communication encryption method and system based on parking lock equipment and computer equipment
JP2023103511A (en) * 2022-01-14 2023-07-27 株式会社共栄通信 automatic unlocking system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09505957A (en) * 1993-11-05 1997-06-10 ユナイテッド テクノロジーズ オートモーティブ,インコーポレイテッド Method of resynchronizing transmitter and receiver for vehicle entry security device using encryption code or rolling code
JP2008158815A (en) * 2006-12-25 2008-07-10 Matsushita Electric Works Ltd Authentication system
JP2009163389A (en) * 2007-12-28 2009-07-23 Hitachi Ltd System, method, program and storage medium for managing identification data
WO2015040939A1 (en) * 2013-09-20 2015-03-26 アプリックスIpホールディングス株式会社 Transmitting/receiving system, transmission device, receiving device, control method for same, and program
JP2017025584A (en) * 2015-07-22 2017-02-02 株式会社フォトシンス Management method and management device from remote place with respect to electronic lock
JP2017223092A (en) * 2016-06-17 2017-12-21 大和ハウス工業株式会社 Key management system
JP2018016995A (en) * 2016-07-27 2018-02-01 株式会社オプナス Locking/unlocking device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09505957A (en) * 1993-11-05 1997-06-10 ユナイテッド テクノロジーズ オートモーティブ,インコーポレイテッド Method of resynchronizing transmitter and receiver for vehicle entry security device using encryption code or rolling code
JP2008158815A (en) * 2006-12-25 2008-07-10 Matsushita Electric Works Ltd Authentication system
JP2009163389A (en) * 2007-12-28 2009-07-23 Hitachi Ltd System, method, program and storage medium for managing identification data
WO2015040939A1 (en) * 2013-09-20 2015-03-26 アプリックスIpホールディングス株式会社 Transmitting/receiving system, transmission device, receiving device, control method for same, and program
JP2017025584A (en) * 2015-07-22 2017-02-02 株式会社フォトシンス Management method and management device from remote place with respect to electronic lock
JP2017223092A (en) * 2016-06-17 2017-12-21 大和ハウス工業株式会社 Key management system
JP2018016995A (en) * 2016-07-27 2018-02-01 株式会社オプナス Locking/unlocking device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468295A (en) * 2020-11-26 2021-03-09 武汉嘟嘟有位科技有限公司 Internet of things communication encryption method and system based on parking lock equipment and computer equipment
JP2023103511A (en) * 2022-01-14 2023-07-27 株式会社共栄通信 automatic unlocking system

Also Published As

Publication number Publication date
JP7170335B2 (en) 2022-11-14

Similar Documents

Publication Publication Date Title
US10868815B2 (en) Leveraging flexible distributed tokens in an access control system
CN107211245B (en) Method and system for position tracking of a locking device
US12002314B2 (en) Authentication of Internet of Things devices, including electronic locks
US11989984B2 (en) Electronic lock pairing via passcode
KR20140126675A (en) Access control system
JP6999474B2 (en) Electric lock system and lock control terminal
JP2019092011A (en) Key information sharing system, distribution device, and user terminal
JP2020125679A (en) Electric lock device, authentication key authentication system, method, and computer program
US20220335764A1 (en) Establishment of secure bluetooth connection to internet of things devices, such as electronic locks
US11671499B2 (en) System and method of establishing server connections to internet of things devices, including electronic locks
JP2012144899A (en) Electronic key management device, locking/unlocking system, electronic key management method and program
US20220406113A1 (en) Multifamily electronic lock credential management
JP6714245B2 (en) Electric lock device, authentication key authentication system, method, and computer program
JP7001524B2 (en) Electric lock
JP4421634B2 (en) Joint key management system, joint key management server, mobile phone, and joint key management method
US20220327875A1 (en) Providing access to a lock for a service provider using a grant token and credential
JP2015031035A (en) Key right lending system
US11995931B2 (en) Universal credential
CN105827403A (en) Security method, security gate and server
EP3553755B1 (en) Method for providing access to a physical space
JP7250370B1 (en) Authentication system, electric lock device, authentication method, and computer program
JP4201136B2 (en) Function lock device for mobile phone and mobile phone
JP6934441B2 (en) Management server, authentication method, computer program and service cooperation system
JP2016071688A (en) Authentication processing device, program, authentication processing system, and authentication processing method
JP2024011232A (en) Device for authenticating temporary entering person, method and program therefore

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210902

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221025

R150 Certificate of patent or registration of utility model

Ref document number: 7170335

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150