JP2017133286A - Electronic lock system - Google Patents

Electronic lock system Download PDF

Info

Publication number
JP2017133286A
JP2017133286A JP2016015420A JP2016015420A JP2017133286A JP 2017133286 A JP2017133286 A JP 2017133286A JP 2016015420 A JP2016015420 A JP 2016015420A JP 2016015420 A JP2016015420 A JP 2016015420A JP 2017133286 A JP2017133286 A JP 2017133286A
Authority
JP
Japan
Prior art keywords
electronic key
electronic
card
key
electronic lock
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
JP2016015420A
Other languages
Japanese (ja)
Other versions
JP6633401B2 (en
Inventor
國井 大
Masaru Kunii
大 國井
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.)
SHERLOCK CORP
Original Assignee
SHERLOCK CORP
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 SHERLOCK CORP filed Critical SHERLOCK CORP
Priority to JP2016015420A priority Critical patent/JP6633401B2/en
Publication of JP2017133286A publication Critical patent/JP2017133286A/en
Application granted granted Critical
Publication of JP6633401B2 publication Critical patent/JP6633401B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an electronic lock system that is capable of using a non-contact type IC card and a portable terminal, as an electronic key, and secures safety in performing paring between an electronic lock and the portable terminal.SOLUTION FOR THE PROBLEM: An electronic lock system, when an NFC communication unit of an electronic lock 1 receives communication from a non-contact type IC card 26 to which an electronic key ID is previously written by an electronic key management server 23, stores the electronic key ID of the IC card 26 in a memory of the electronic lock 1 to make the IC card be an electronic key. The electronic lock system, when the NFC communication unit receives communication from a portable terminal registration IC card 22 to which an electronic key ID for the portable terminal and encryption key information are previously written by the electronic key management server 23, stores the electronic key ID and encryption key information of the portable terminal registration IC card 22 in the memory of the electronic lock 1, and performs paring by a portable terminal 24 regularly acquiring an electronic key ID encrypted using the encryption key information from the electronic key management server 23 to make the portable terminal 24 be an electronic key.SELECTED DRAWING: Figure 1

Description

本発明は、電子錠システムに関し、特に、電子鍵として、非接触型ICカードと携帯端末がともに使用可能な電子錠システムに関する。   The present invention relates to an electronic lock system, and more particularly to an electronic lock system in which both a non-contact type IC card and a portable terminal can be used as an electronic key.

従来から、マンションやアパートなどのドアには、電子錠が取り付けられており、この電子錠を施解錠する電子錠システムにおいては、電子鍵として、非接触型ICカード(以下、単に「ICカード」という。)を使用するもの(特許文献1)と、スマートフォンなどの携帯端末を使用するもの(特許文献2)が知られている。これらはともに近距離無線通信技術を用いるもので、一般には、ICカードの場合は国際標準規格として承認されているNFC(Near Field Communication)通信規格を利用し、携帯端末の場合は同じく国際標準規格として承認されているBLE(Bluetooth(登録商標) Low Energy)通信規格を利用している。   Conventionally, an electronic lock is attached to a door of a condominium or an apartment. In an electronic lock system that locks and unlocks the electronic lock, a non-contact IC card (hereinafter simply referred to as an “IC card”) is used as an electronic key. That uses a mobile terminal such as a smartphone (Patent Document 2). Both of these use short-range wireless communication technology. In general, the NFC (Near Field Communication) communication standard approved as an international standard is used for an IC card, and the international standard is also used for a portable terminal. BLE (Bluetooth (registered trademark) Low Energy) communication standard approved as

ところで、同じ近距離無線通信といっても、その通信範囲は、NFC通信では通常、数cm〜10cm程度であり、BLE通信では通常、数m〜数十m程度である。このため、NFC通信を利用するICカードの場合は、正規のICカードか否かを判別するために電子錠の通信部に接近させて認証する必要がある。したがって、両手に荷物を抱えている場合には、解錠操作あるいは施錠操作を円滑、かつ迅速に行うことができないという問題がある。また、引っ越し業者など一定時間内に頻繁に室内への出入りを繰り返す場合には、解錠操作あるいは施錠操作を出入りの都度行うのは煩雑だという問題がある。   By the way, even if it is the same short-range wireless communication, the communication range is usually several cm to 10 cm in NFC communication, and is usually several m to several tens m in BLE communication. For this reason, in the case of an IC card using NFC communication, it is necessary to perform authentication by approaching the communication unit of the electronic lock in order to determine whether or not the IC card is a legitimate IC card. Therefore, there is a problem that when the baggage is held in both hands, the unlocking operation or the locking operation cannot be performed smoothly and quickly. In addition, when moving into and out of a room frequently within a certain period of time, such as a moving contractor, there is a problem that it is complicated to perform an unlocking operation or a locking operation each time it enters or exits.

一方、BLE通信による携帯端末を使用する場合は、上述の問題はないものの、電子錠と携帯端末間におけるペアリングの際に、非暗号化状態の電子鍵IDを数m〜数十m範囲でのBLE通信で送受信するため、前記電子鍵IDを無線傍受されて盗用される虞があり、安全性の面で問題がある。ここで、携帯端末においてもNFC通信を利用すれば、この問題を解消できるが、この場合には上述したICカードと同様の問題を生じるので望ましくない。   On the other hand, when using a portable terminal by BLE communication, the above-mentioned problem does not occur, but when pairing between the electronic lock and the portable terminal, the unencrypted electronic key ID is in the range of several meters to several tens of meters. Since the electronic key ID is wirelessly intercepted and stolen, there is a problem in terms of safety. Here, if the NFC communication is used also in the portable terminal, this problem can be solved. However, in this case, the same problem as the above-described IC card occurs, which is not desirable.

特開2010−174477号公報JP 2010-174477 A 特開2005−139644号公報JP 2005-139644 A

このように、電子鍵としてのICカード及び携帯端末には、それぞれ不都合があるが、電子鍵の使用者が自己の生活様式に合わせて、いずれかの電子鍵を選択し、あるいは、両者を必要に応じて使い分けて、安全に使用できることが望ましい。そのためには、一つの電子錠システムにおいて、電子鍵としてICカード及び携帯端末のいずれをも使用可能とするとともに、電子錠と携帯端末間におけるペアリングの際の安全性を確保する必要がある。本発明は、このような事情に鑑みてなされたもので、電子鍵として、ICカードと携帯端末がともに使用可能であり、また、電子錠と携帯端末間におけるペアリングの際の無線傍受を防いで、安全性を確保した電子錠システムを提供することを目的とする。   As described above, although the IC card and the portable terminal as electronic keys are inconvenient, the user of the electronic key selects one of the electronic keys according to his / her lifestyle or needs both. It is desirable to use it safely according to the usage. For that purpose, in one electronic lock system, it is necessary to be able to use either an IC card or a portable terminal as an electronic key, and to ensure safety during pairing between the electronic lock and the portable terminal. The present invention has been made in view of such circumstances, and both an IC card and a portable terminal can be used as an electronic key, and also prevents wireless interception during pairing between the electronic lock and the portable terminal. An object of the present invention is to provide an electronic lock system that ensures safety.

この目的を達成するため本発明の請求項1に係る電子錠システムは、電子錠と、電子鍵管理サーバとを備え、前記電子錠は、ICカードと通信するNFC通信部と、携帯端末と通信するBLE通信部と、これら各通信部で受信した電子鍵IDなどを記憶するメモリと、電子鍵IDが暗号化されているとこれを復号化する暗号復号部と、電子鍵IDが正規か否かを認証する認証部と、電子鍵IDが正規であると施錠信号または解錠信号を出力する施解錠信号出力御部と、各動作を制御する制御部とを備え、前記NFC通信部に、前記電子鍵管理サーバによりあらかじめ電子鍵が書き込まれた電子鍵とすべきICカードから通信があると、このICカードの電子鍵IDを前記メモリに記憶して電子鍵として使用可能にする一方、前記NFC通信部に、前記電子鍵管理サーバによりあらかじめ携帯端末用の電子鍵IDと暗号化及び復号化に使用する暗号鍵情報が書き込まれた携帯端末登録用ICカードから通信があると、前記電子鍵ID及び暗号鍵情報を前記メモリに記憶し、携帯端末が前記電子鍵管理サーバと通信して、このサーバから前記暗号鍵情報で暗号化された前記電子鍵IDを正規に取得すると、この携帯端末を電子鍵として使用可能にするものである。   To achieve this object, an electronic lock system according to claim 1 of the present invention includes an electronic lock and an electronic key management server, and the electronic lock communicates with an NFC communication unit that communicates with an IC card, and with a mobile terminal. A BLE communication unit that stores the electronic key ID received by each of these communication units, an encryption / decryption unit that decrypts the electronic key ID when it is encrypted, and whether the electronic key ID is valid An authentication unit that authenticates the electronic key ID, a lock / unlock signal output control unit that outputs a lock signal or an unlock signal when the electronic key ID is normal, and a control unit that controls each operation. When there is communication from an IC card that should be an electronic key to which an electronic key has been written in advance by the electronic key management server, the electronic key ID of the IC card is stored in the memory and can be used as an electronic key. NFC Communication Department When there is communication from the mobile terminal registration IC card in which the electronic key ID for the mobile terminal and the encryption key information used for encryption and decryption are written in advance by the electronic key management server, the electronic key ID and the encryption key Information is stored in the memory, and the portable terminal communicates with the electronic key management server, and when the electronic key ID encrypted with the encryption key information is properly obtained from the server, the portable terminal is used as an electronic key. It is intended to be used.

この構成によれば、電子鍵とすべきICカードから電子錠のNFC通信部に通信があると、前記ICカードの電子鍵IDを前記電子錠のメモリに記憶することにより、前記ICカードは、前記電子錠を施解錠する電子鍵となる。また、携帯端末登録用ICカードに電子鍵管理サーバにより書き込まれた暗号鍵情報で暗号化された電子鍵IDを、携帯端末登録用ICカードから電子錠のメモリに書き込む一方、携帯端末は、電子鍵管理サーバと通信して、前記暗号鍵情報で暗号化された電子鍵IDを正規に取得することにより、電子錠のBLE通信部と通信することなくペアリングを行って、前記電子錠を施解錠する電子鍵となる。   According to this configuration, when there is communication from the IC card to be an electronic key to the NFC communication unit of the electronic lock, the IC card is stored by storing the electronic key ID of the IC card in the memory of the electronic lock. It becomes an electronic key for locking and unlocking the electronic lock. Also, the electronic key ID encrypted with the encryption key information written by the electronic key management server on the mobile terminal registration IC card is written from the mobile terminal registration IC card to the memory of the electronic lock, while the mobile terminal By communicating with the key management server and properly acquiring the electronic key ID encrypted with the encryption key information, pairing is performed without communicating with the BLE communication unit of the electronic lock, and the electronic lock is unlocked. It becomes an electronic key to lock.

前記目的を達成するため本発明の請求項2に係る電子錠システムは、請求項1発明の構成に加えて、前記電子錠は動作モード設定部を備え、この動作モード設定部により電子鍵登録モードに設定された状態において、前記NFC通信部に、前記電子鍵とすべきICカードから通信があると、このICカードの電子鍵IDを前記メモリに記憶して電子鍵として使用可能とする一方、同じく電子鍵登録モードに設定された状態において、前記NFC通信部に、前記携帯端末登録用ICカードから通信があると、前記電子鍵ID及び暗号鍵情報を前記メモリに記憶し、前記電子鍵管理サーバから前記暗号鍵情報で暗号化された前記電子鍵IDを正規に取得した前記携帯端末を電子鍵として使用可能にするものである。   In order to achieve the above object, an electronic lock system according to a second aspect of the present invention includes the operation mode setting unit in addition to the configuration of the first aspect of the invention, and an electronic key registration mode is provided by the operation mode setting unit. In the state set to, when there is communication from the IC card to be the electronic key to the NFC communication unit, the electronic key ID of the IC card is stored in the memory and can be used as an electronic key. Similarly, in a state where the electronic key registration mode is set, when there is communication from the mobile terminal registration IC card to the NFC communication unit, the electronic key ID and encryption key information are stored in the memory, and the electronic key management is performed. The portable terminal that has obtained the electronic key ID encrypted with the encryption key information from a server can be used as an electronic key.

この構成によれば、動作モード設定部により電子鍵登録モードに設定された場合に、ICカードまたは携帯端末を電子鍵とする登録動作を行うものである。   According to this configuration, when the electronic key registration mode is set by the operation mode setting unit, the registration operation using the IC card or the portable terminal as the electronic key is performed.

前記目的を達成するため本発明の請求項3に係る電子錠システムは、上述の請求項1発明または請求項2発明の構成に加えて、正規操作確認情報入力手段を備え、前記正規操作確認情報入力手段から入力した正規の操作であること示す正規操作確認情報を前記認証部が認証した後に、前記NFC通信部と、電子鍵とすべきICカードあるいは携帯端末登録用ICカードとの通信を可能にするものである。   In order to achieve the above object, an electronic lock system according to a third aspect of the present invention includes a normal operation confirmation information input means in addition to the configuration of the first or second aspect of the invention, and the normal operation confirmation information. Communication between the NFC communication unit and an IC card to be used as an electronic key or an IC card for portable terminal registration is possible after the authentication unit authenticates normal operation confirmation information indicating that the operation is a normal operation input from an input unit. It is to make.

この構成によれば、正規操作確認情報入力手段からの正規操作確認情報が入力されて、正規操作であることが確認された後でなければ、電子鍵とすべきICカードあるいは携帯端末登録用ICカードと電子錠のNFC通信部との通信はできないものである。すなわち、正規操作であることが確認された後、ICカードと電子錠のNFC通信部との通信が可能となり、あらかじめICカードに書き込まれていた電子鍵IDを前記電子錠のメモリに記憶することにより、前記ICカードは前記電子錠を施解錠する電子鍵となる。また、正規操作であることが確認された後、携帯端末登録用ICカードにより暗号鍵情報で暗号化された電子鍵IDが電子錠のメモリに書き込まれ、携帯端末は、電子鍵管理サーバと通信して前記電子鍵IDを正規に取得することにより、電子錠のBLE通信部と通信することなくペアリングを行って、前記電子錠を施解錠する電子鍵となる。   According to this configuration, if the normal operation confirmation information is input from the normal operation confirmation information input means and it is not confirmed that the operation is a normal operation, the IC card or portable terminal registration IC to be used as an electronic key Communication between the card and the NFC communication part of the electronic lock is impossible. That is, after it is confirmed that the operation is normal, communication between the IC card and the NFC communication unit of the electronic lock becomes possible, and the electronic key ID previously written in the IC card is stored in the memory of the electronic lock. Thus, the IC card becomes an electronic key for locking and unlocking the electronic lock. In addition, after confirming that the operation is normal, the electronic key ID encrypted with the encryption key information by the IC card for portable terminal registration is written in the memory of the electronic lock, and the portable terminal communicates with the electronic key management server. By obtaining the electronic key ID properly, pairing is performed without communicating with the BLE communication unit of the electronic lock, and an electronic key for unlocking and unlocking the electronic lock is obtained.

前記目的を達成するため本発明の請求項4に係る電子錠システムは、前記請求項3の構成において、前記正規操作確認情報入力手段は、NFC通信機能を有し、あらかじめそのIDが電子錠のメモリに書き込まれたICカードからなることを特徴とする。   In order to achieve the above object, according to a fourth aspect of the present invention, in the electronic lock system according to the third aspect, the regular operation confirmation information input means has an NFC communication function, and the ID of the electronic lock system is the electronic lock in advance. It consists of an IC card written in a memory.

この構成によれば、正規操作確認情報入力手段であるICカードからの正規操作確認情報、たとえばICカードのID、をNFC通信部が受信して、認証部で認証されることで正規操作であることが確認される。   According to this configuration, the normal operation confirmation information from the IC card as the normal operation confirmation information input means, for example, the ID of the IC card, is received by the NFC communication unit and authenticated by the authentication unit. That is confirmed.

本発明の請求項1または請求項2に係る電子錠システムによれば、電子鍵としてICカードと携帯端末のいずれをも使用可能になるとともに、電子錠と携帯端末間で非暗号化情報のBLE通信を行うことなくペアリングを行うことができるので、ペアリングの際の無線傍受による電子鍵ID盗用の虞がなく、安全性が向上するという効果を奏する。   According to the electronic lock system according to claim 1 or 2 of the present invention, it is possible to use either an IC card or a portable terminal as an electronic key, and BLE of unencrypted information between the electronic lock and the portable terminal. Since pairing can be performed without performing communication, there is no risk of theft of the electronic key ID due to wireless interception during pairing, and the effect of improving safety is achieved.

本発明の請求項3に係る電子錠システムによれば、前記請求項1または請求項2の発明が奏する効果に加え、電子鍵化は正規操作であることが確認された後に行われるので、安全性がより一層向上するという効果を奏する。   According to the electronic lock system of the third aspect of the present invention, in addition to the effect produced by the first or second aspect of the invention, the electronic keying is performed after it is confirmed that the operation is a regular operation. There is an effect that the property is further improved.

また、本発明の請求項4に係る電子錠システムによれば、前記請求項3の発明が奏する効果に加え、ICカードから電子錠のNFC通信部に通信することで、正規操作確認情報が入力されるので、この入力動作を確実かつ容易にすることができるという効果を奏する。   Further, according to the electronic lock system of claim 4 of the present invention, in addition to the effect of the invention of claim 3, the normal operation confirmation information is input by communicating from the IC card to the NFC communication unit of the electronic lock. Therefore, there is an effect that the input operation can be surely and easily performed.

本発明の一実施形態における全体を示す構成図。The block diagram which shows the whole in one Embodiment of this invention. 同じく電子錠の外観を示す斜視図。The perspective view which similarly shows the external appearance of an electronic lock. 同じく電子錠の通信・制御機構を示すブロック図。The block diagram which similarly shows the communication and control mechanism of an electronic lock. 同じく電子鍵の登録動作を示すフローチャート。The flowchart which similarly shows the registration operation | movement of an electronic key. 同じく電子鍵の認証動作を示すフローチャート。The flowchart which similarly shows the authentication operation | movement of an electronic key.

以下、本発明の好適な一実施形態を添付図面に基づき説明する。まず、電子錠について説明する。図2に示すように、電子錠1は、円筒状の本体2を備え、この本体2の前面全体が通信部のタッチパネル3となっている。このタッチパネル3には、LED表示部4(図3参照)である3個のLED4a,4b,4cが設けられている。また、前記本体2の前面側周縁には、動作モード設定部5(図3参照)の入力部材である押しボタン5aが設けられている。さらに、前記本体2の後面側には、デッドボルトなどを駆動して施解錠するための施解錠機構6が設けられている。   Hereinafter, a preferred embodiment of the present invention will be described with reference to the accompanying drawings. First, the electronic lock will be described. As shown in FIG. 2, the electronic lock 1 includes a cylindrical main body 2, and the entire front surface of the main body 2 is a touch panel 3 serving as a communication unit. The touch panel 3 is provided with three LEDs 4a, 4b and 4c which are LED display units 4 (see FIG. 3). Further, a push button 5a, which is an input member of the operation mode setting unit 5 (see FIG. 3), is provided on the front side edge of the main body 2. Further, a locking / unlocking mechanism 6 for locking and unlocking by driving a dead bolt or the like is provided on the rear surface side of the main body 2.

電子錠1の本体2内部には、通信・制御機構が収納されている。図3に示すように、この通信・制御機構は、上述したLED表示部4、動作モード設定部5のほか、電子鍵であるICカードと通信するNFC通信部7と、同じく電子鍵であるスマートフォンなどの携帯端末と通信するBLE通信部8と、マイコン14からなる。このマイコン14は、前記各通信部7,8で受信した電子鍵IDなどの各種情報を記憶するメモリ9と、電子鍵IDが暗号化されている場合にはこれを復号化する暗号復号部10と、電子鍵IDや正規操作確認情報が正規か否かを認証する認証部11と、施解錠信号出力部12と、各種動作の制御を行う制御部13とを備えている。   A communication / control mechanism is housed inside the main body 2 of the electronic lock 1. As shown in FIG. 3, in addition to the LED display unit 4 and the operation mode setting unit 5 described above, the communication / control mechanism includes an NFC communication unit 7 that communicates with an IC card that is an electronic key, and a smartphone that is also an electronic key. BLE communication part 8 which communicates with portable terminals, such as these, and microcomputer 14. The microcomputer 14 includes a memory 9 that stores various information such as an electronic key ID received by the communication units 7 and 8, and an encryption / decryption unit 10 that decrypts the electronic key ID when the electronic key ID is encrypted. And an authentication unit 11 that authenticates whether or not the electronic key ID and the normal operation confirmation information are authentic, a locking / unlocking signal output unit 12, and a control unit 13 that controls various operations.

次に、正規操作確認情報を入力する登録済管理ICカード(以下、「登録済管理カード」という。)と、携帯端末を電子鍵として登録するために使用する携帯端末登録用ICカード(以下、「携帯端末登録用カード」という。)について説明する。登録済管理カード21はNFC通信機能を備えたICカードであり、あらかじめ設定されたIDが電子錠1のメモリ9に登録されている(図1参照)。そして、この登録済管理カード21は、電子錠1がマンションやアパートの各戸に設置されている場合には、各マンションや各アパートの全戸の電子錠1にそのIDを書き込んで、全戸に共通して使用可能とすると好適である。   Next, a registered management IC card (hereinafter referred to as “registered management card”) for inputting regular operation confirmation information, and a mobile terminal registration IC card (hereinafter referred to as “electronic card”) used for registering the mobile terminal as an electronic key. "Mobile terminal registration card") will be described. The registered management card 21 is an IC card having an NFC communication function, and a preset ID is registered in the memory 9 of the electronic lock 1 (see FIG. 1). And this registered management card 21 writes the ID in the electronic lock 1 of all the apartments and apartments when the electronic locks 1 are installed in the apartments and apartments. And can be used.

また、携帯端末登録用カード22もNFC通信機能を備えたICカードであり、そのメモリには、電子鍵管理サーバ23で生成された電子鍵IDと暗号鍵情報が、前記電子鍵管理サーバ23により書き込まれている(図1参照)。前記暗号鍵情報は前記電子鍵IDを暗号化及び復号化するために使用するものである。   The mobile terminal registration card 22 is also an IC card having an NFC communication function, and an electronic key ID and encryption key information generated by the electronic key management server 23 are stored in the memory by the electronic key management server 23. It has been written (see FIG. 1). The encryption key information is used to encrypt and decrypt the electronic key ID.

ここで、図1に基づいて、携帯端末登録用カード22を用いて行う、電子鍵とするスマートフォンなどのBLE通信機能を有する携帯端末24と電子錠1とのペアリングについて説明する。まず、携帯端末登録用カード22を電子錠1のタッチパネル3にかざしてNFC通信部7と通信し、電子鍵IDと暗号鍵情報を、前記電子錠1のメモリ9に書き込み、登録する。   Here, based on FIG. 1, the pairing with the portable terminal 24 which has BLE communication functions, such as a smart phone used as an electronic key, and the electronic lock 1 performed using the portable terminal registration card 22 will be described. First, the portable terminal registration card 22 is held over the touch panel 3 of the electronic lock 1 to communicate with the NFC communication unit 7, and the electronic key ID and encryption key information are written and registered in the memory 9 of the electronic lock 1.

一方、たとえば通信機能を備えたコンピュータからなる携帯端末電子鍵登録要求機25に、携帯端末登録用カード22のメモリに記憶されている電子鍵IDを入力し、携帯端末電子鍵要求機25は電子鍵管理サーバ23に、電子鍵とすべき携帯端末24の固有の識別番号である電話番号とともに、前記電子鍵IDを送信する。前記電子鍵管理サーバ23は、受信した電子鍵IDが、自己が生成した正規のものであるか判別し、正規のものであればPINコードを生成して、前記電話番号を有する携帯端末24に前記PINコードを送信する。   On the other hand, for example, an electronic key ID stored in the memory of the portable terminal registration card 22 is input to a portable terminal electronic key registration requesting machine 25 formed of a computer having a communication function. The electronic key ID is transmitted to the key management server 23 together with a telephone number which is a unique identification number of the portable terminal 24 to be an electronic key. The electronic key management server 23 determines whether or not the received electronic key ID is a legitimate one generated by itself, and if it is legitimate, generates a PIN code and sends it to the portable terminal 24 having the telephone number. Send the PIN code.

携帯端末24はあらかじめアプリケーションソフトをダウンロードしておき、PINコードを受信すると、PINコードと自己の電話番号を電子鍵管理サーバ23に送信する。電子鍵管理サーバ23は、PINコードと電話番号によって電子鍵とすべき正規の携帯端末24であることを確認すると、一次解錠用情報を生成する。この一次解錠用情報は、電子鍵IDと一次付加情報を暗号情報で暗号化したものである。前記一次付加情報は、たとえば携帯端末24を電子鍵として使用する開始日時及び終了日時と一次解錠用情報発行日時である。   When the portable terminal 24 downloads application software in advance and receives the PIN code, it transmits the PIN code and its own telephone number to the electronic key management server 23. When the electronic key management server 23 confirms that the electronic key is a legitimate portable terminal 24 to be used as an electronic key by the PIN code and the telephone number, it generates primary unlocking information. This primary unlocking information is obtained by encrypting an electronic key ID and primary additional information with encryption information. The primary additional information is, for example, the start date / time and end date / time and the primary unlocking information issuance date / time when the portable terminal 24 is used as an electronic key.

そして、電子鍵管理サーバ23は、暗号化情報である一次解錠用情報を暗号情報とともに携帯端末24に送信する。   Then, the electronic key management server 23 transmits primary unlocking information that is encrypted information to the portable terminal 24 together with the encrypted information.

携帯端末24は、受信した一次解錠用情報に二次付加情報、たとえば現在時刻を付加したうえ、受信した暗号情報を用いて暗号化して、二次解錠用情報を生成し、この二次解錠用情報を自己のメモリに記憶する。これによって、携帯端末24及び電子錠1には、同一の電子鍵IDが保存されるので、携帯端末24及び電子錠1間でのBLE通信を行うことなく、実質的なペアリングが終了し、前記携帯端末24は電子鍵として使用可能となる。   The mobile terminal 24 adds secondary additional information, for example, the current time, to the received primary unlocking information, encrypts it using the received encryption information, and generates secondary unlocking information. The unlocking information is stored in its own memory. Thereby, since the same electronic key ID is stored in the portable terminal 24 and the electronic lock 1, substantial pairing is completed without performing BLE communication between the portable terminal 24 and the electronic lock 1. The portable terminal 24 can be used as an electronic key.

続いて、電子鍵として使用するあらかじめ電子鍵管理サーバ23により電子鍵IDが書き込まれたICカード26(図1参照)を電子錠1に登録する動作を、図4に基づいて説明する。まず、電子錠1の本体2の押しボタン5aを短時間2回押しして、電子鍵登録モードに設定する(ステップ101)。次いで、5秒以内にICカードがタッチパネル3にかざされたか判断し(ステップ102,103)、5秒以内にICカードがタッチパネル3にかざされなかった場合には、LED表示部4の各LED4a,4b,4cを点滅させるなどにより、エラー表示し(ステップ104)、終了する。   Next, an operation of registering the IC card 26 (see FIG. 1), in which the electronic key ID is written in advance by the electronic key management server 23, used as an electronic key, in the electronic lock 1 will be described with reference to FIG. First, the push button 5a of the main body 2 of the electronic lock 1 is pressed twice for a short time to set the electronic key registration mode (step 101). Next, it is determined whether the IC card is held over the touch panel 3 within 5 seconds (steps 102 and 103). If the IC card is not held over the touch panel 3 within 5 seconds, each LED 4a, An error is displayed, for example, by blinking 4b and 4c (step 104), and the process ends.

一方、前記各ステップ102,103で、5秒以内にICカードがタッチパネル3にかざされたと判断した場合には、このICカードが登録済管理カード21か否かを判断して(ステップ105)、登録済管理カード21ではないと判断すると、すなわち不正操作だと判断すると、ステップ104に進んでエラー表示し、登録済管理カード21だと判断すると、すなわち正規操作と判断すると、ステップ106に進む。そして、5秒以内に、電子鍵とすべき未登録のICカード26がタッチパネル3にかざされたと判断する(ステップ106,107)と、前記ICカード26の電子鍵IDを前記メモリ9に書き込んで(ステップ108)、前記ICカード26の電子鍵登録動作を終了する。   On the other hand, if it is determined in steps 102 and 103 that the IC card is held over the touch panel 3 within 5 seconds, it is determined whether or not this IC card is a registered management card 21 (step 105). If it is determined that it is not a registered management card 21, that is, if it is an unauthorized operation, the process proceeds to step 104 and an error is displayed. If it is determined that it is a registered management card 21, that is, it is determined that it is a regular operation, the process proceeds to step 106. If it is determined that an unregistered IC card 26 to be used as an electronic key is held over the touch panel 3 within 5 seconds (steps 106 and 107), the electronic key ID of the IC card 26 is written in the memory 9. (Step 108), the electronic key registration operation of the IC card 26 is terminated.

また、前記ステップ107で未登録のICカード26ではないと判断した場合は、ステップ109に進み、タッチパネル3にかざされたICカードが、携帯端末登録用カード22か否か判断し、携帯端末登録用カード22でなければ、5秒経過するとエラー表示を行う(ステップ106,104)。一方、前記ステップ109で携帯端末登録用カード22であると判断すると、そのカード22のメモリに記憶されている電子鍵IDと、暗号鍵情報を、電子錠1のメモリ9に書き込んで(ステップ108)、携帯端末登録用カード22の電子鍵登録動作を終了する。   If it is determined in step 107 that the IC card 26 is not unregistered, the process proceeds to step 109, where it is determined whether the IC card held over the touch panel 3 is the mobile terminal registration card 22, and mobile terminal registration is performed. If the card 22 is not used, an error is displayed after 5 seconds (steps 106 and 104). On the other hand, if it is determined in step 109 that the card is a portable terminal registration card 22, the electronic key ID and the encryption key information stored in the memory of the card 22 are written in the memory 9 of the electronic lock 1 (step 108). ), The electronic key registration operation of the portable terminal registration card 22 is terminated.

続いて、図5に基づき、電子鍵が使用された場合に、正規なものか否か判定する認証動作について説明する。まず、電子錠1の本体2のボタン5aを短時間1回押しして、認証モードに設定する(ステップ201)。次いで、5秒経過するまでNFC通信部7がICカードスキャンを行い(ステップ202,203)、5秒以内にICカード26によるNFC通信部7に対する通信応答がなされる(ステップ204)と、このICカード26からその電子鍵IDを受信し、ステップ206に進む。   Next, an authentication operation for determining whether or not the electronic key is valid when the electronic key is used will be described with reference to FIG. First, the button 5a of the main body 2 of the electronic lock 1 is pressed once for a short time to set the authentication mode (step 201). Next, the NFC communication unit 7 scans the IC card until 5 seconds elapse (steps 202 and 203). When the communication response to the NFC communication unit 7 by the IC card 26 is made within 5 seconds (step 204), the IC card is scanned. The electronic key ID is received from the card 26 and the process proceeds to step 206.

そして、電子鍵IDがメモリ9に記憶している電子鍵IDと一致するか、否かを判断し(ステップ206)、一致しないと判断した場合は、LED表示部4の各LED4a,4b,4cを点滅させるなどにより、エラー表示して(ステップ208)、終了する。一方、前記ステップ206で一致と判断した場合は、施解錠信号出力部11から解錠信号を出力し(ステップ207)、図示していないモータを解錠動作させて終了する。   Then, it is determined whether or not the electronic key ID matches the electronic key ID stored in the memory 9 (step 206). If it is determined that the electronic key ID does not match, each LED 4a, 4b, 4c of the LED display unit 4 is determined. An error is displayed by blinking or the like (step 208), and the process is terminated. On the other hand, if it is determined in step 206 that they match, an unlock signal is output from the lock / unlock signal output unit 11 (step 207), and a motor (not shown) is unlocked and the process ends.

一方、前記ステップ202で5秒経過したと判断すると、LED表示部4の各LED4a,4b,4cを点滅させるなどにより、エラー表示して(ステップ208)、終了する。   On the other hand, if it is determined in step 202 that 5 seconds have elapsed, each LED 4a, 4b, 4c of the LED display unit 4 is displayed with an error, for example, by blinking (step 208), and the process ends.

また、ステップ204でICカードによるNFC通信部7に対する通信応答がなかった場合には、ICカードスキャンを停止し(ステップ209)、BLE通信部8がBLEスキャンを開始する(ステップ210)。携帯端末24によるBLE通信部8に対する通信応答がなされる(ステップ211)と、ステップ205に進み、暗号復号部10で、暗号化された電子鍵IDを復号化する。携帯端末24から送られるのは、上述した二次解錠用情報であり、暗号復号部10は、まず暗号情報で復号化して、一次解錠用情報と二次付加情報を得た後、前記一次解錠用情報をさらに暗号情報で復号化して、電子鍵IDと一次付加情報を得る。   If there is no communication response from the IC card to the NFC communication unit 7 in step 204, the IC card scan is stopped (step 209), and the BLE communication unit 8 starts the BLE scan (step 210). When the mobile terminal 24 makes a communication response to the BLE communication unit 8 (step 211), the process proceeds to step 205, where the encryption / decryption unit 10 decrypts the encrypted electronic key ID. What is sent from the portable terminal 24 is the above-described secondary unlocking information. The encryption / decryption unit 10 first decrypts the encrypted information to obtain the primary unlocking information and the secondary additional information, and then The primary unlocking information is further decrypted with encryption information to obtain an electronic key ID and primary additional information.

次いで、ステップ206に進み、認証部11が、復号化した電子鍵IDがメモリ9に記憶している電子鍵IDと一致するか、否かを判断し、一致しないと判断した場合は、LED表示部4の各LED4a,4b,4cを点滅させるなどにより、エラー表示して(ステップ208)、終了する。一方、前記ステップ206で一致と判断した場合は、施解錠信号出力部11から解錠信号を出力し(ステップ207)、図示していないモータを解錠動作させて終了する。   Next, the process proceeds to step 206, where the authentication unit 11 determines whether or not the decrypted electronic key ID matches the electronic key ID stored in the memory 9, and if it does not match, the LED display An error is displayed, for example, by blinking the LEDs 4a, 4b, 4c of the unit 4 (step 208), and the process ends. On the other hand, if it is determined in step 206 that they match, an unlock signal is output from the lock / unlock signal output unit 11 (step 207), and a motor (not shown) is unlocked and the process ends.

一方、ステップ211で携帯端末24によるBLE通信部8に対する通信応答がないと判断した場合には、BLEスキャンを停止し(ステップ212)、ステップ202に戻って、押しボタン5aを短時間1回押してから5秒経過したか、否か判断し、5秒経過していないと判断した場合は、ステップ203に進んで、以後、ステップ204以降の上述した動作を行う。また、前記ステップ202で、5秒経過したと判断した場合は、ステップ208に進んでエラー表示して終了する。   On the other hand, if it is determined in step 211 that there is no communication response to the BLE communication unit 8 by the portable terminal 24, the BLE scan is stopped (step 212), the process returns to step 202, and the push button 5a is pressed once for a short time. It is determined whether or not 5 seconds have passed since it is determined. If it is determined that 5 seconds have not elapsed, the process proceeds to step 203, and thereafter, the above-described operation from step 204 is performed. If it is determined in step 202 that 5 seconds have elapsed, the process proceeds to step 208, an error is displayed, and the process ends.

このように、電子鍵IDの認証がなされると、解錠動作が行われるのであるが、施錠動作は、解錠状態において電子鍵IDの認証がなされると行われる。この施錠動作における認証は、上述の解錠動作における認証と同一であるので、その説明は省略する。   As described above, when the electronic key ID is authenticated, the unlocking operation is performed. However, the locking operation is performed when the electronic key ID is authenticated in the unlocked state. Since the authentication in the locking operation is the same as the authentication in the unlocking operation described above, the description thereof is omitted.

なお、本発明は、上述の実施形態に限定されるものではなく、例えば、正規操作確認情報入力手段は、登録済管理カード21ではなく、押しボタンでもよく、あらかじめ設定した所定の押し回数と長短時間の組み合わせで押された場合を、正規操作確認情報の入力としてもよい。また、通信・制御機構は、本体2内に収納するのではなく、適宜なケースに収納して室外側の本体2近くに設置してもよい。さらに、携帯端末24としては、スマートフォンが好適であるが、BLE通信機能を備えていればよく、必ずしもスマートフォンに限らない。   The present invention is not limited to the above-described embodiment. For example, the normal operation confirmation information input means may be a push button instead of the registered management card 21. A case where the button is pressed for a combination of times may be input as regular operation confirmation information. Further, the communication / control mechanism may be housed in an appropriate case and installed near the body 2 outside the room, instead of being housed in the body 2. Furthermore, although the smart phone is suitable as the portable terminal 24, it should just be provided with the BLE communication function, and is not necessarily restricted to a smart phone.

1 電子錠
2 本体
4 LED表示部
4a,4b,4c LED
5 動作モード設定部
5a 押しボタン
7 NFC通信部
8 BLE通信部
9 メモリ
10 暗号復号部
11 認証部
12 施解錠信号出力部
13 制御部
14 マイコン
21 登録済管理カード
22 携帯端末登録用カード
23 電子鍵管理サーバ
24 携帯端末
25 携帯端末電子鍵要求機
26 ICカード
1 Electronic lock 2 Body 4 LED display 4a, 4b, 4c LED
DESCRIPTION OF SYMBOLS 5 Operation mode setting part 5a Push button 7 NFC communication part 8 BLE communication part 9 Memory 10 Encryption / decryption part 11 Authentication part 12 Locking / unlocking signal output part 13 Control part 14 Microcomputer 21 Registered management card 22 Mobile terminal registration card 23 Electronic key Management server 24 Mobile terminal 25 Mobile terminal electronic key request machine 26 IC card

Claims (4)

電子錠と、電子鍵管理サーバとを備え、
前記電子錠は、非接触型ICカードと通信するNFC通信部と、携帯端末と通信するBLE通信部と、これら各通信部で受信した電子鍵IDなどを記憶するメモリと、電子鍵IDが暗号化されているとこれを復号化する暗号復号部と、電子鍵IDが正規か否かを認証する認証部と、電子鍵IDが正規であると施錠信号または解錠信号を出力する施解錠信号出力御部と、各動作を制御する制御部とを備え、
前記NFC通信部に、前記電子鍵管理サーバによりあらかじめ電子鍵IDが書き込まれた電子鍵とすべき非接触型ICカードから通信があると、この非接触型ICカードの電子鍵IDを前記メモリに記憶して電子鍵とする一方、
前記NFC通信部に、前記電子鍵管理サーバによりあらかじめ携帯端末用の電子鍵IDと暗号化及び復号化に使用する暗号鍵情報が書き込まれた携帯端末登録用ICカードから通信があると、前記電子鍵ID及び暗号鍵情報を前記メモリに記憶し、携帯端末が前記電子鍵管理サーバと通信して、このサーバから前記暗号鍵情報で暗号化された前記電子鍵IDを正規に取得すると、この携帯端末を電子鍵とする
ことを特徴とする電子錠システム。
An electronic lock and an electronic key management server;
The electronic lock includes an NFC communication unit that communicates with a contactless IC card, a BLE communication unit that communicates with a mobile terminal, a memory that stores an electronic key ID received by each of these communication units, and an electronic key ID that is encrypted. An encryption / decryption unit that decrypts the electronic key ID, an authentication unit that authenticates whether the electronic key ID is valid, and an unlocking signal that outputs a locking signal or an unlocking signal when the electronic key ID is valid An output control unit and a control unit for controlling each operation;
When there is communication from the non-contact type IC card to be used as the electronic key in which the electronic key ID is written in advance by the electronic key management server to the NFC communication unit, the electronic key ID of the non-contact type IC card is stored in the memory. While memorizing it as an electronic key,
When there is communication in the NFC communication unit from a mobile terminal registration IC card in which an electronic key ID for mobile terminal and encryption key information used for encryption and decryption are written in advance by the electronic key management server, When the key ID and the encryption key information are stored in the memory, and the portable terminal communicates with the electronic key management server and obtains the electronic key ID encrypted with the encryption key information from the server, An electronic lock system characterized in that the terminal is an electronic key.
前記電子錠は、さらに動作モード設定部を備え、
前記動作モード設定部により電子鍵登録モードに設定された状態で、前記NFC通信部に、前記電子鍵とすべき非接触型ICカードから通信があると、この非接触型ICカードの電子鍵IDを前記メモリに記憶して電子鍵とする一方、
同じく前記動作モード設定部により電子鍵登録モードに設定された状態で、前記NFC通信部に、前記携帯端末登録用ICカードから通信があると、前記電子鍵ID及び暗号鍵情報を前記メモリに記憶し、前記電子鍵管理サーバと通信して、このサーバから前記暗号鍵情報で暗号化された前記電子鍵IDを正規に取得した携帯端末を電子鍵とする
ことを特徴とする前記請求項1に記載の電子錠システム。
The electronic lock further includes an operation mode setting unit,
When there is communication from the non-contact type IC card to be used as the electronic key to the NFC communication unit in the state set in the electronic key registration mode by the operation mode setting unit, the electronic key ID of the non-contact type IC card Is stored in the memory as an electronic key,
Similarly, when there is communication from the mobile terminal registration IC card to the NFC communication unit in the state set to the electronic key registration mode by the operation mode setting unit, the electronic key ID and encryption key information are stored in the memory. The portable key that communicates with the electronic key management server and obtains the electronic key ID encrypted with the encryption key information from the server is used as the electronic key. The electronic lock system described.
電子錠と電子鍵管理サーバに加えて、正規操作確認情報入力手段を備え、
前記電子錠は、前記正規操作確認情報入力手段から入力した正規の操作であること示す正規操作確認情報を前記認証部が認証した後に、
前記NFC通信部と、前記電子鍵とすべき非接触型ICカードあるいは前記携帯端末登録用ICカードとの通信が可能になる
ことを特徴とする前記請求項1または前記請求項2に記載の電子錠システム。
In addition to the electronic lock and electronic key management server, it has a regular operation confirmation information input means,
After the authentication unit authenticates the regular operation confirmation information indicating that the electronic lock is a regular operation input from the regular operation confirmation information input unit,
The electronic device according to claim 1 or 2, wherein communication between the NFC communication unit and the contactless IC card or the mobile terminal registration IC card to be used as the electronic key is possible. Lock system.
前記正規操作確認情報入力手段は、NFC通信機能を有し、あらかじめそのID情報が電子錠のメモリに書き込まれた非接触型ICカードであることを特徴とする前記請求項3に記載の電子錠システム。
4. The electronic lock according to claim 3, wherein the normal operation confirmation information input means is a non-contact type IC card having an NFC communication function and whose ID information is previously written in a memory of the electronic lock. system.
JP2016015420A 2016-01-29 2016-01-29 Electronic lock system Active JP6633401B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016015420A JP6633401B2 (en) 2016-01-29 2016-01-29 Electronic lock system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016015420A JP6633401B2 (en) 2016-01-29 2016-01-29 Electronic lock system

Publications (2)

Publication Number Publication Date
JP2017133286A true JP2017133286A (en) 2017-08-03
JP6633401B2 JP6633401B2 (en) 2020-01-22

Family

ID=59504783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016015420A Active JP6633401B2 (en) 2016-01-29 2016-01-29 Electronic lock system

Country Status (1)

Country Link
JP (1) JP6633401B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019190038A (en) * 2018-04-19 2019-10-31 シャーロック株式会社 Electronic key issuance method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005139644A (en) * 2003-11-04 2005-06-02 Shuichi Ogura Key information distribution system
WO2008038379A1 (en) * 2006-09-28 2008-04-03 Panasonic Corporation Portable telephone and access control method
JP2010174477A (en) * 2009-01-28 2010-08-12 Miwa Lock Co Ltd Card lock system
JP2012229560A (en) * 2011-04-26 2012-11-22 Tokai Rika Co Ltd Key wireless authentication system
JP2013076223A (en) * 2011-09-29 2013-04-25 Relations Inc Management system, locking device and movable body
EP2620919A1 (en) * 2012-01-26 2013-07-31 SimonsVoss Technologies AG Locking system
JP2015151039A (en) * 2014-02-17 2015-08-24 株式会社東海理化電機製作所 key information registration system
DE102014002665A1 (en) * 2014-02-28 2015-09-03 Deutsche Telekom Ag A method for linking a mobile location unit to a mobile surveillance unit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005139644A (en) * 2003-11-04 2005-06-02 Shuichi Ogura Key information distribution system
WO2008038379A1 (en) * 2006-09-28 2008-04-03 Panasonic Corporation Portable telephone and access control method
JP2010174477A (en) * 2009-01-28 2010-08-12 Miwa Lock Co Ltd Card lock system
JP2012229560A (en) * 2011-04-26 2012-11-22 Tokai Rika Co Ltd Key wireless authentication system
JP2013076223A (en) * 2011-09-29 2013-04-25 Relations Inc Management system, locking device and movable body
EP2620919A1 (en) * 2012-01-26 2013-07-31 SimonsVoss Technologies AG Locking system
JP2015151039A (en) * 2014-02-17 2015-08-24 株式会社東海理化電機製作所 key information registration system
DE102014002665A1 (en) * 2014-02-28 2015-09-03 Deutsche Telekom Ag A method for linking a mobile location unit to a mobile surveillance unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019190038A (en) * 2018-04-19 2019-10-31 シャーロック株式会社 Electronic key issuance method
JP7044616B2 (en) 2018-04-19 2022-03-30 シャーロック株式会社 How to issue an electronic key

Also Published As

Publication number Publication date
JP6633401B2 (en) 2020-01-22

Similar Documents

Publication Publication Date Title
TWI658194B (en) Mobile key devices systems and methods for programming and communicating with an electronic programmable key
US11330429B2 (en) Vehicle digital key sharing service method and system
US10783731B2 (en) Wireless tag-based lock actuation systems and methods
US20210070252A1 (en) Method and device for authenticating a user to a transportation vehicle
US20140040621A1 (en) Mobile Electronic Device
JP2008059450A (en) Vehicle information rewriting system
JP6717793B2 (en) Car sharing system and car sharing device
JP2006139757A (en) Locking system and locking method
US20220051498A1 (en) Authentication of internet of things devices, including electronic locks
KR102301742B1 (en) Method for registering and using non keypad smart door-lock key and access control system thereof
JP2019070960A (en) Car sharing system
KR101520573B1 (en) Smart key, control method and apparatus thereof
JP4624322B2 (en) Terminal authentication system and server
JP5178249B2 (en) Key authentication system
JP6916101B2 (en) Sharing system
JP6640906B2 (en) Key information generation system and key information generation method
JP6633401B2 (en) Electronic lock system
JP2014179683A (en) Key distribution system
KR102521936B1 (en) Method of secured sharing of vehicle key
KR20160109899A (en) Mobile, doorlock management method using the mobile and recording media storing program performing the said method
KR20210031542A (en) Enabling access to data
JP5985845B2 (en) Electronic key registration method
JP6298514B1 (en) Bluetooth communication system
US11869295B2 (en) Establishment of secure Bluetooth connection to Internet of Things devices, such as electronic locks
JP6763681B2 (en) Key data distribution system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190128

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191212

R150 Certificate of patent or registration of utility model

Ref document number: 6633401

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250