JP4725893B2 - Electronic lock opening and closing system - Google Patents

Electronic lock opening and closing system Download PDF

Info

Publication number
JP4725893B2
JP4725893B2 JP2007163532A JP2007163532A JP4725893B2 JP 4725893 B2 JP4725893 B2 JP 4725893B2 JP 2007163532 A JP2007163532 A JP 2007163532A JP 2007163532 A JP2007163532 A JP 2007163532A JP 4725893 B2 JP4725893 B2 JP 4725893B2
Authority
JP
Japan
Prior art keywords
electronic key
electronic
key code
lock
unlocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007163532A
Other languages
Japanese (ja)
Other versions
JP2009002034A (en
Inventor
一男 川田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Fielding Ltd
Original Assignee
NEC Fielding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Fielding Ltd filed Critical NEC Fielding Ltd
Priority to JP2007163532A priority Critical patent/JP4725893B2/en
Publication of JP2009002034A publication Critical patent/JP2009002034A/en
Application granted granted Critical
Publication of JP4725893B2 publication Critical patent/JP4725893B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Description

本発明は、電子錠開閉システムにかかり、特に、電子錠を電子鍵にて開錠する電子錠開閉システムに関する。   The present invention relates to an electronic lock opening / closing system, and more particularly to an electronic lock opening / closing system for unlocking an electronic lock with an electronic key.

住宅や金庫など、部外者による開閉を望まない扉には、通常、錠が設けられており、この錠に対応する鍵のみで開錠、施錠することが可能となっている。そして、一般的には、物理的な錠と鍵が用いられ、鍵本体を錠に形成された鍵穴に差し込んで回転させることで、開錠・施錠を行っている。このとき、錠の鍵穴の物理的な形状と一致する鍵を対として用いると共に、対ごとに異なる形状の対となる錠及び鍵を製造することで、第三者による不正開錠を抑制している。また、利用者は、鍵の複製を作成することで、紛失などのリスクに対応していた。   Doors that are not desired to be opened and closed by outsiders, such as houses and safes, are usually provided with a lock, and can be unlocked and locked only with a key corresponding to this lock. In general, a physical lock and a key are used, and unlocking / locking is performed by inserting the key body into a key hole formed in the lock and rotating it. At this time, the key that matches the physical shape of the keyhole of the lock is used as a pair, and by manufacturing a lock and a key having a different shape for each pair, unauthorized opening by a third party is suppressed. Yes. In addition, the user has dealt with the risk of loss by creating a copy of the key.

しかしながら、上述した物理的な錠と鍵では、鍵本体がなくても、特定の道具などで開錠できてしまうという問題があった。また、物理的な形状であるため対となる錠と鍵は常に一定の形であり、このことから容易に複製を作成することができる、という問題がある。さらに、鍵が物理的であることから、鍵が変形するなどの破損した際は、使用できなくなるという問題が生じうる。一方で、紛失リスクや使用できなくなるリスクを回避するため、物理的な複製鍵を作成しておく必要があり、手間が生じると共に、複製鍵の紛失によって第三者に取得されてしまう、という問題があった。また、複数の扉があれば複数の物理的な鍵を用意する必要があった。   However, the above-described physical lock and key have a problem that they can be unlocked with a specific tool or the like without a key body. In addition, since it has a physical shape, the paired lock and key are always in a fixed shape, which makes it easy to create a copy. Furthermore, since the key is physical, there is a problem that when the key is damaged such as deformed, it cannot be used. On the other hand, in order to avoid the risk of loss or the loss of use, it is necessary to create a physical copy key. was there. Further, if there are a plurality of doors, it is necessary to prepare a plurality of physical keys.

以上のように、従来から使用される物理的な錠及び鍵の場合、ピッキング行為や無断複製による錠の開錠における多くの不安要素があった。また、鍵の紛失時は、錠および予備の鍵や家族等が保有する鍵など、すべて新しいものに交換する必要があり、手間がかかるという問題があった。   As described above, in the case of physical locks and keys that have been used conventionally, there have been many anxiety factors in unlocking the lock by picking action or unauthorized duplication. In addition, when the key is lost, it is necessary to replace all the keys such as locks, spare keys, and keys held by family members, which is troublesome.

一方で、上述した物理的な錠・鍵が有する不都合を改善すべく、近年では、電子錠に電子鍵から電子鍵コードを入力し、この電子鍵コードに基づいて電子錠が開錠・施錠を行う電子錠開閉システムが開発されている。その一例が、下記特許文献1に開示されている。この特許文献1に記載の電子錠システムでは、解施錠毎に電子鍵コードを変更し、セキュリティの強化を図っている。   On the other hand, in order to improve the disadvantages of the physical lock / key described above, in recent years, an electronic key code is input from the electronic key to the electronic lock, and the electronic lock is unlocked / locked based on the electronic key code. An electronic lock opening and closing system has been developed. One example thereof is disclosed in Patent Document 1 below. In the electronic lock system described in Patent Document 1, the electronic key code is changed for each unlocking to enhance security.

しかしながら、上述したシステムでは、解施錠毎に鍵となる電子鍵コードを変更しているものの、電子錠側のコードと電子鍵側のコードが一致すれば開錠できてしまうため、同一のコードが不正行為により生成された場合には、第三者に開錠される可能性も生じうる。従って、さらなるセキュリティの強化を図ることができない、という問題があった。   However, in the above-described system, although the electronic key code that is a key is changed for each unlocking, if the code on the electronic lock side matches the code on the electronic key side, the unlocking can be performed. If it is generated by fraud, there is a possibility that it may be unlocked by a third party. Therefore, there is a problem that it is not possible to further enhance security.

特開2005−155236号公報JP 2005-155236 A

このため、本発明では、電子錠のセキュリティ性の高い電子錠開閉システムを提供することをその目的とする。   Therefore, an object of the present invention is to provide an electronic lock opening / closing system with high security of the electronic lock.

本発明の一形態である電子錠開閉システムは、
電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する開錠操作手段を有する電子鍵と、この電子鍵から受信した電子鍵コードに基づいて開錠を行う開錠処理手段を有する電子錠と、を備え、
過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成手段と、
電子鍵コード生成手段にて新たに生成した電子鍵コードを少なくとも電子鍵に記憶する電子鍵コード記憶処理手段と、
を備えた、という構成を採っている。
An electronic lock opening and closing system according to one aspect of the present invention is
An electronic key having an unlocking operation means for storing the electronic key code and transmitting the electronic key code to the electronic lock during the unlocking operation, and an unlocking process for unlocking based on the electronic key code received from the electronic key An electronic lock having means,
Electronic key code generation means for newly generating an electronic key code including old key data which is at least part of information of an electronic key code used in the past and new key data which is newly generated information;
An electronic key code storage processing means for storing an electronic key code newly generated by the electronic key code generation means at least in an electronic key;
It has the structure of having.

本発明によると、電子錠の開錠に用いられる電子鍵コードを、過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たな情報である新キーデータとを含めて生成しているため、第三者による電子鍵コードの不正な生成を抑制することができ、不正行為による開錠を抑制することができる。従って、電子錠のセキュリティの向上を図ることができる、という従来例にない優れた効果を有する。   According to the present invention, the electronic key code used for unlocking the electronic lock includes the old key data which is at least a part of information of the electronic key code used in the past and the new key data which is new information. Since it is generated, unauthorized generation of an electronic key code by a third party can be suppressed, and unlocking due to fraud can be suppressed. Therefore, it has an excellent effect that the security of the electronic lock can be improved, which is unprecedented.

本発明は、扉等に取り付けられる電子錠と電子鍵とを電子制御し、開錠・施錠を行うシステムである。そして、電子錠と電子鍵を対応付ける電子鍵コードを、施錠時毎など所定のタイミングで新しいものに書き換え、容易に複製できない構成を有する点に特徴を有する。これにより、電子錠のセキュリティ性を高め、ユーザの鍵に対する安心感を向上させるものである。なお、本発明における電子錠は、例えば、住宅用扉(玄関等)や事務所出入り口扉など防犯を気にする建物の出入り口扉、金庫などの重要品を管理する箱等の扉にも適用することが可能であり、電子錠を取り付ける対象物は限定されない。   The present invention is a system for electronically controlling an electronic lock and an electronic key attached to a door or the like to perform unlocking and locking. The electronic key code for associating the electronic lock with the electronic key is rewritten to a new one at a predetermined timing such as at the time of locking, and has a configuration that cannot be easily duplicated. This enhances the security of the electronic lock and improves the sense of security for the user's key. The electronic lock in the present invention is also applied to doors of boxes that manage important items such as doors of buildings that are concerned about crime prevention, such as doors for houses (entrances, etc.) and doors of offices. The object to which the electronic lock is attached is not limited.

そして、本発明の一形態である電子錠開閉システムは、
電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する開錠操作手段を有する電子鍵と、この電子鍵から受信した電子鍵コードに基づいて開錠を行う開錠処理手段を有する電子錠と、を備え、
過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成手段と、
電子鍵コード生成手段にて新たに生成した電子鍵コードを少なくとも電子鍵に記憶する電子鍵コード記憶処理手段と、
を備えた、という構成を採っている。
And the electronic lock opening and closing system which is one form of the present invention,
An electronic key having an unlocking operation means for storing the electronic key code and transmitting the electronic key code to the electronic lock during the unlocking operation, and an unlocking process for unlocking based on the electronic key code received from the electronic key An electronic lock having means,
Electronic key code generation means for newly generating an electronic key code including old key data which is at least part of information of an electronic key code used in the past and new key data which is newly generated information;
An electronic key code storage processing means for storing an electronic key code newly generated by the electronic key code generation means at least in an electronic key;
It has the structure of having.

そして、上記電子鍵コード記憶処理手段は、電子鍵コード生成手段にて新たに生成した電子鍵コードを前記電子錠にも記憶し、電子錠に備えられた開錠処理手段は、電子鍵から受信した電子鍵コードと自己に記憶している電子鍵コードとを照合することによって開錠を行う、という構成を採っている。さらに、電子鍵コード生成手段及び電子鍵コード記憶処理手段は、電子錠が備え、当該電子錠の施錠時に作動する、という構成を採っている。   The electronic key code storage processing means also stores the electronic key code newly generated by the electronic key code generation means in the electronic lock, and the unlock processing means provided in the electronic lock receives the electronic key from the electronic key. The configuration is such that unlocking is performed by comparing the electronic key code with the electronic key code stored in itself. Further, the electronic key code generation means and the electronic key code storage processing means are provided with an electronic lock and are configured to operate when the electronic lock is locked.

上記発明である電子錠と電子鍵とによるシステムによると、電子錠の開錠に用いられる電子鍵コードを、過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たな情報である新キーデータとを含めて生成する。つまり、電子錠は、電子鍵から送信される電子鍵コードに含まれる過去の電子鍵コードの一部である旧キーデータと新キーデータとに基づいて、開錠処理を実行する。従って、過去に使用した電子鍵コードに含まれる情報も開錠条件となるため、不正行為による開錠を抑制することができ、電子錠のセキュリティの向上を図ることができる。   According to the system using the electronic lock and the electronic key according to the invention, the electronic key code used for unlocking the electronic lock is replaced with old key data that is at least part of the electronic key code used in the past, and a new It is generated including new key data that is information. That is, the electronic lock performs the unlocking process based on the old key data and the new key data that are part of the past electronic key code included in the electronic key code transmitted from the electronic key. Therefore, since the information included in the electronic key code used in the past is also an unlocking condition, unlocking due to fraud can be suppressed, and the security of the electronic lock can be improved.

また、上記構成に加え、電子錠に備えられた電子鍵コード生成手段は、施錠時に電子鍵から電子鍵コードを受信してこの受信した電子鍵コードと電子錠内に記憶している電子鍵コードとを照合し、照合結果に応じて新たな電子鍵コードを生成する、という構成を採っている。   In addition to the above-described configuration, the electronic key code generation means provided in the electronic lock receives the electronic key code from the electronic key at the time of locking, and the received electronic key code and the electronic key code stored in the electronic lock And a new electronic key code is generated according to the comparison result.

これにより、施錠時に、電子錠が電子鍵から受信した電子鍵コードが記憶しているコードと一致している場合に上述した新たな電子鍵コードを生成する。従って、一致する電子鍵コードを有する電子鍵で施錠する場合のみ、電子錠が新たに開錠可能な電子鍵コードを生成して電子鍵に記憶するため、施錠可能な電子鍵を限定することができる。その結果、電子錠のさらなるセキュリティの向上を図ることができる。   As a result, the new electronic key code is generated when the electronic key code received from the electronic key matches the stored code at the time of locking. Therefore, only when the electronic key having the matching electronic key code is locked, the electronic key generates a new unlockable electronic key code and stores it in the electronic key. it can. As a result, the security of the electronic lock can be further improved.

また、上記電子鍵コード生成手段は、直前の開錠時に使用された電子鍵コードの少なくとも一部の情報を旧キーデータとして新たな電子鍵コードを生成する、という構成を採っている。また、電子鍵コード生成手段は、直前の開錠時に使用された電子鍵コードに含まれている新キーデータを、新たに生成する電子鍵コードの旧キーデータに設定する、という構成を採っている。さらに、電子鍵コード生成手段は、旧キーデータと新キーデータとをそれぞれ暗号化して新たに生成する電子鍵コードに含める、という構成を採っている。   Further, the electronic key code generation means is configured to generate a new electronic key code by using at least a part of information of the electronic key code used at the time of the previous unlocking as old key data. Further, the electronic key code generation means adopts a configuration in which new key data included in the electronic key code used at the time of the previous unlocking is set to the old key data of the newly generated electronic key code. Yes. Further, the electronic key code generation means adopts a configuration in which the old key data and the new key data are respectively encrypted and included in a newly generated electronic key code.

これにより、直前の開錠時に使用された電子鍵コードの一部の情報を含めて電子鍵コードを生成しているため、使用する電子鍵をより限定することができる。従って、さらなるセキュリティの向上を図ることができる。また、旧キーデータと新キーデータとを別途暗号化して電子鍵コードに含めて生成するため、当該電子鍵コードを保護することができ、不正な開錠を抑制することができる。   Thereby, since the electronic key code is generated including a part of information of the electronic key code used at the time of the previous unlocking, the electronic key to be used can be further limited. Accordingly, it is possible to further improve security. Further, since the old key data and the new key data are separately encrypted and included in the electronic key code, the electronic key code can be protected, and unauthorized unlocking can be suppressed.

また、電子鍵コード生成手段は、開錠対象となる電子錠に固有の錠特定情報を含めて電子鍵コードを新たに生成し、電子錠の開錠処理手段は、電子鍵から受信した電子鍵コードに自己の錠特定情報が含まれている場合に開錠を行う、という構成を採っている。これにより、1つの電子鍵コードに複数の電子錠を特定する各錠特定情報を記憶しておくことで、1つの電子鍵コードで複数の電子錠を開錠することができる。従って、利便性の向上を図ることができる。   The electronic key code generation means newly generates an electronic key code including lock specifying information unique to the electronic lock to be unlocked, and the unlock processing means of the electronic lock receives the electronic key received from the electronic key. A configuration is adopted in which unlocking is performed when the code contains its own lock identification information. Thus, by storing each lock specifying information for specifying a plurality of electronic locks in one electronic key code, the plurality of electronic locks can be unlocked with one electronic key code. Therefore, the convenience can be improved.

さらに、上記構成に加え、電子錠にネットワークを介して接続された管理サーバを備え、電子錠に備えられた電子鍵コード記憶処理手段は、新たに生成した電子鍵コードを前記管理サーバに送信し、管理サーバは、電子錠から受信した電子鍵コードを記憶する、という構成を採っている。これにより、新たに生成した電子鍵コードを管理サーバに蓄積しておくことができ、鍵紛失時に迅速かつ適切に対応することができる。   Further, in addition to the above configuration, the electronic lock includes a management server connected to the electronic lock via a network, and the electronic key code storage processing means provided in the electronic lock transmits the newly generated electronic key code to the management server. The management server is configured to store the electronic key code received from the electronic lock. Thereby, the newly generated electronic key code can be stored in the management server, and it is possible to respond quickly and appropriately when the key is lost.

また、本発明の他の形態である電子錠は、
電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する電子鍵から受信した当該電子鍵コードに基づいて開錠を行う開錠処理手段を有すると共に、
過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成手段と、
電子鍵コード生成手段にて新たに生成した電子鍵コードを少なくとも電子鍵に記憶する電子鍵コード記憶処理手段と、
を備えた、という構成を採っている。
Moreover, the electronic lock which is the other form of this invention is
The electronic key code is stored and has an unlocking processing means for unlocking based on the electronic key code received from the electronic key transmitted to the electronic lock during the unlocking operation,
Electronic key code generation means for newly generating an electronic key code including old key data which is at least part of information of an electronic key code used in the past and new key data which is newly generated information;
An electronic key code storage processing means for storing an electronic key code newly generated by the electronic key code generation means at least in an electronic key;
It has the structure of having.

また、本発明の他の形態であるプログラムは、
電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する電子鍵から受信した当該電子鍵コードに基づいて開錠を行う開錠処理手段を有する電子錠に、
過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成手段と、
電子鍵コード生成手段にて新たに生成した電子鍵コードを少なくとも電子鍵に記憶する電子鍵コード記憶処理手段と、
を実現させる、という構成を採っている。
Moreover, the program which is the other form of this invention is:
An electronic lock having an unlocking processing means for storing an electronic key code and unlocking the electronic key code based on the electronic key code received from the electronic key transmitted to the electronic lock during the unlocking operation,
Electronic key code generation means for newly generating an electronic key code including old key data which is at least part of information of an electronic key code used in the past and new key data which is newly generated information;
An electronic key code storage processing means for storing an electronic key code newly generated by the electronic key code generation means at least in an electronic key;
Is adopted.

また、本発明の他の形態である電子鍵は、
電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する開錠操作手段を有する電子鍵であって、
電子錠にて新たに生成され送信された、過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを受信して記憶する電子鍵コード記憶処理手段を備えた、
という構成を採っている。
In addition, an electronic key which is another embodiment of the present invention is
An electronic key having an unlocking operation means for storing the electronic key code and transmitting the electronic key code to the electronic lock during the unlocking operation,
An electronic key code that includes old key data that is at least part of information of a previously used electronic key code and new key data that is newly generated information, which is newly generated and transmitted by an electronic lock. Electronic key code storage processing means for receiving and storing,
The structure is adopted.

さらに、本発明の他の形態である電子錠開閉方法は、
電子鍵コードを記憶した電子鍵が当該電子鍵コードを開錠操作時に電子錠に送信する開錠操作工程と、電子錠が前記電子鍵から受信した電子鍵コードに基づいて開錠を行う開錠処理工程と、を有すると共に、
開錠操作工程の前に、電子錠が、過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成工程と、この新たに生成した電子鍵コードを電子錠が少なくとも電子鍵に記憶する電子鍵コード記憶処理工程と、を有する、
という構成を採っている。
Furthermore, an electronic lock opening and closing method according to another embodiment of the present invention includes:
An unlocking operation step in which the electronic key storing the electronic key code transmits the electronic key code to the electronic lock during the unlocking operation, and the unlocking is performed based on the electronic key code received from the electronic key by the electronic lock. And having a processing step,
Prior to the unlocking operation step, the electronic lock has an electronic key code including old key data that is at least part of information of an electronic key code used in the past and new key data that is newly generated information. A newly generated electronic key code generation step, and an electronic key code storage processing step in which the electronic lock stores the newly generated electronic key code in at least the electronic key,
The structure is adopted.

上述した構成の電子錠、電子鍵、プログラム、方法の発明であっても、上記電子錠開閉システムと同様に作用するため、上述した本発明の目的を達成することができる。以下、実施例にて具体的な構成を説明する。   Even the invention of the electronic lock, the electronic key, the program, and the method having the above-described configuration operates in the same manner as the electronic lock opening / closing system, and thus the above-described object of the present invention can be achieved. Hereinafter, a specific configuration will be described in Examples.

本発明の第1の実施例を、図1乃至図14を参照して説明する。図1は、電子錠開閉システムの全体構成を示すブロック図である。図2は、電子錠の構成を示すブロック図であり、図3は、電子錠に組み込まれた制御部の構成を示す機能ブロック図である。図4は、電子鍵の構成を示すブロック図であり、図5は、電子鍵に組み込まれた制御部の構成を示す機能ブロック図である。図5は、管理サーバの構成を示すブロック図である。図7は、電子鍵コードの構成を示す図である。図8乃至図13は、電子錠開閉システムの動作を示す図である。図14は、電子錠開閉システムの他の全体構成例を示すブロック図である。   A first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing the overall configuration of the electronic lock opening / closing system. FIG. 2 is a block diagram illustrating a configuration of the electronic lock, and FIG. 3 is a functional block diagram illustrating a configuration of a control unit incorporated in the electronic lock. FIG. 4 is a block diagram showing the configuration of the electronic key, and FIG. 5 is a functional block diagram showing the configuration of the control unit incorporated in the electronic key. FIG. 5 is a block diagram showing the configuration of the management server. FIG. 7 is a diagram showing the configuration of the electronic key code. 8 to 13 are diagrams showing the operation of the electronic lock opening and closing system. FIG. 14 is a block diagram showing another example of the overall configuration of the electronic lock opening / closing system.

[構成]
図1に示すように、本実施例における電子錠開閉システムは、扉Dなどに取り付けされる電子錠1と、この電子錠1と対となる電子鍵3と、電子錠1にネットワークNを介して接続され鍵情報を管理する管理サーバ4と、を備えている。そして、電子錠1と電子鍵3との間では、電子鍵コード5が送受信されることとなる。以下、各構成について詳述する。
[Constitution]
As shown in FIG. 1, the electronic lock opening / closing system in this embodiment includes an electronic lock 1 attached to a door D or the like, an electronic key 3 paired with the electronic lock 1, and an electronic lock 1 via a network N. And a management server 4 that manages the key information. The electronic key code 5 is transmitted and received between the electronic lock 1 and the electronic key 3. Hereinafter, each configuration will be described in detail.

図2に示すように、電子錠1は、物理的な錠が含まれる錠11と、開錠ランプ等の動作確認用ランプ類を持つ表示部12と、鍵情報が記録されている記録部13と、管理サーバ4と通信を行うネットワーク通信部14と、保守メンテナンスを行うための操作盤やパソコン等を接続することが可能な接続部15と、日時を管理する日時部16と、電子鍵3と情報の受け渡しを行うコード通信部17と、電子鍵3が接続されたことを感知する接続感知部(開)18及び接続感知部(閉)19と、鍵情報の暗号解読を制御するための制御部20と、暗号解読の計算を行う演算部21と、各部が起動するための電気を供給する電源部22と、を備えている。   As shown in FIG. 2, an electronic lock 1 includes a lock 11 including a physical lock, a display unit 12 having operation check lamps such as an unlocking lamp, and a recording unit 13 in which key information is recorded. A network communication unit 14 that communicates with the management server 4, a connection unit 15 that can be connected to an operation panel or a personal computer for maintenance, a date and time unit 16 that manages date and time, and an electronic key 3 A code communication unit 17 for exchanging information, a connection detection unit (open) 18 and a connection detection unit (closed) 19 for detecting that the electronic key 3 is connected, and for controlling the decryption of the key information. A control unit 20, a calculation unit 21 that performs decryption calculation, and a power supply unit 22 that supplies electricity to activate each unit are provided.

そして、具体的には、上記制御部20には、所定のプログラムが組み込まれることで、図3に示すように、錠開閉処理部20aと、鍵コード生成処理部20bと、鍵コード記憶処理部20cと、が構築されている。鍵開閉処理部20a(開錠処理手段)は、電子鍵3から受信した電子鍵コード5に基づいて、錠11の開錠及び施錠を制御する。なお、電子鍵コード5に基づく具体的な開錠、施錠の判断処理については、後述する動作説明時に詳述する。   Specifically, the control unit 20 incorporates a predetermined program, so that as shown in FIG. 3, a lock opening / closing processing unit 20a, a key code generation processing unit 20b, and a key code storage processing unit. 20c is constructed. The key opening / closing processing unit 20a (unlocking processing means) controls the unlocking and locking of the lock 11 based on the electronic key code 5 received from the electronic key 3. The specific unlocking / locking determination process based on the electronic key code 5 will be described in detail when the operation is described later.

また、鍵コード生成処理部20b(電子鍵コード生成手段)は、施錠時に、電子鍵コード5を新たに生成する機能を有する。つまり、鍵コード生成処理部20bは、錠開閉処理部20aにて施錠の通知を受けると、その都度、電子鍵コード5を更新するよう作動する。そして、生成する電子鍵コード5は、例えば、図7に示すように、電子鍵コード5が更新されると同時に書き換わる「通信番号51」、電子鍵3自体が持つ一意の固有番号部分である「鍵固有番号52」、最新のキーデータを格納する「鍵情報番号(新)53」、最新より一つ前のキーデータを格納する「鍵情報番号(旧)54」、複数の錠に対応する場合等に使用される「補助番号55」、電子錠1自体が持つ一意の固有番号である「錠固有番号1 56」、2つ以上の電子錠に対し開錠・施錠を可能とする使用方法を選択した場合に追加使用され使用できる電子錠の一意の固有番号である「錠固有番号2 57」、「錠固有番号3 58」、「錠固有番号n 59」から構成されている。そして、鍵コード生成処理部20bは、生成した電子鍵コード5全体(「通信番号51」〜「錠固有番号n59」)をひとまとめにし、暗号化を施す。なお、電子鍵コード5のさらなる詳細な構成及び生成方法については、後述する動作説明時に詳述する。   The key code generation processing unit 20b (electronic key code generation means) has a function of newly generating the electronic key code 5 at the time of locking. That is, the key code generation processing unit 20b operates to update the electronic key code 5 each time a lock notification is received by the lock opening / closing processing unit 20a. The generated electronic key code 5 is, for example, as shown in FIG. 7, a “communication number 51” that is rewritten at the same time as the electronic key code 5 is updated, and a unique unique number portion possessed by the electronic key 3 itself. "Key unique number 52", "Key information number (new) 53" for storing the latest key data, "Key information number (old) 54" for storing key data immediately before the latest, corresponding to multiple locks “Auxiliary number 55” used when the electronic lock 1 is used, “Lock unique number 156” which is a unique unique number of the electronic lock 1 itself, and use that enables unlocking and locking of two or more electronic locks It is composed of “lock unique number 257”, “lock unique number 358”, and “lock unique number n 59”, which are unique unique numbers of electronic locks that can be additionally used when a method is selected. Then, the key code generation processing unit 20b collectively encrypts the generated electronic key code 5 as a whole ("communication number 51" to "lock unique number n59"). A more detailed configuration and generation method of the electronic key code 5 will be described in detail when the operation is described later.

そして、鍵コード記憶処理部20c(電子鍵コード記憶処理手段)は、鍵コード生成処理部20bにて新たに生成した電子鍵コード5を、コード通信部17を介して電子鍵3に記憶すると共に、自己(電子錠1)の記憶部13にも記憶する機能を有する。さらには、ネットワーク通信部14を介して管理サーバ4に新たに生成した電子鍵コード5を送信して、当該管理サーバ4にも記憶する。なお、電子鍵コード5の記憶処理方法については、後述する動作説明時に詳述する。   The key code storage processing unit 20c (electronic key code storage processing means) stores the electronic key code 5 newly generated by the key code generation processing unit 20b in the electronic key 3 via the code communication unit 17. , It also has a function of storing in its own (electronic lock 1) storage unit 13 as well. Furthermore, the newly generated electronic key code 5 is transmitted to the management server 4 via the network communication unit 14 and is also stored in the management server 4. The storage processing method for the electronic key code 5 will be described in detail when the operation is described later.

次に、図4及び図5を参照して、電子鍵3の構成について説明する。図4に示すように、電子錠3は、電子錠1と情報の受け渡しを行うコード通信部31と、鍵情報の書き換えに関して記録部とやり取りするなどの機能を持つ制御部32と、鍵情報を記録する記録部33と、保守メンテナンスを行うための操作盤やパソコン等を接続することが可能な接続部34と、各部が起動するための電気を供給する電源部35と、電子錠1との接続を感知する接続感知部36と、を備えている。   Next, the configuration of the electronic key 3 will be described with reference to FIGS. 4 and 5. As shown in FIG. 4, the electronic lock 3 includes a code communication unit 31 for exchanging information with the electronic lock 1, a control unit 32 having a function of exchanging information with the recording unit regarding rewriting of key information, and key information. A recording unit 33 for recording, a connection unit 34 capable of connecting an operation panel or a personal computer for performing maintenance, a power supply unit 35 for supplying electricity for starting up each unit, and the electronic lock 1 And a connection sensing unit 36 that senses the connection.

そして、具体的には、上記制御部32には、所定のプログラムが組み込まれることで、図5に示すように、錠開閉操作処理部32aと、鍵コード記憶処理部32bと、が構築されている。鍵開閉操作処理部32a(開錠操作手段)は、電子錠1に対して開閉操作を行う機能を有している。例えば、開錠・施錠時には、記憶部33に記憶されている電子鍵コード5を電子錠1に送信して、開錠・施錠を要求する機能を有する。そして、特に施錠時には、施錠要求に応じて電子錠1にて新たに生成され送信された電子鍵コード5を受信して、鍵コード記憶処理部32bに渡す。そして、この鍵コード記憶処理部32bは、新たな電子鍵コード5を記憶部33に記憶する。なお、この電子鍵3の具体的な開錠、施錠の処理については、後述する動作説明時に詳述する。   Specifically, a predetermined program is incorporated in the control unit 32, thereby building a lock opening / closing operation processing unit 32a and a key code storage processing unit 32b as shown in FIG. Yes. The key opening / closing operation processing unit 32a (unlocking operation means) has a function of performing an opening / closing operation on the electronic lock 1. For example, at the time of unlocking / locking, the electronic key code 5 stored in the storage unit 33 is transmitted to the electronic lock 1 to request unlocking / locking. In particular, at the time of locking, the electronic key code 5 newly generated and transmitted by the electronic lock 1 in response to the locking request is received and transferred to the key code storage processing unit 32b. Then, the key code storage processing unit 32 b stores the new electronic key code 5 in the storage unit 33. The specific unlocking and locking processing of the electronic key 3 will be described in detail when the operation is described later.

次に、図6を参照して管理サーバ4の構成について説明する。管理サーバ4は、所定のデータを入力することが可能な入力部41と、電子錠1や電子鍵3などの固有情報や鍵情報、グループ情報等の情報を記録する記録部42と、電子錠1との通信を行う通信部43と、保守メンテナンスを行うための操作盤や外部記録装置、パソコン等を接続することが可能な接続部44と、管理されている情報を表示するための出力を行う出力部45と、管理サーバ4に含まれる各部とのやり取りを行い、正しく動作させるための制御を行う制御部46と、暗号解読の計算を行う演算部47と、各部が起動するための電気を供給する電源部48と、を備えている。そして、上記制御部46は、電子錠1から新たに生成した電子鍵コード5を受信し、記憶部33に記憶する機能を有する。なお、この管理サーバ4にて実行される具体的な処理については、後述する動作説明時に詳述する。   Next, the configuration of the management server 4 will be described with reference to FIG. The management server 4 includes an input unit 41 that can input predetermined data, a recording unit 42 that records information such as unique information such as the electronic lock 1 and the electronic key 3, key information, and group information, and an electronic lock. A communication unit 43 that communicates with 1, a connection unit 44 that can be connected to an operation panel, an external recording device, a personal computer, etc. for maintenance and maintenance, and an output for displaying managed information An output unit 45 for performing communication with each unit included in the management server 4, a control unit 46 for performing control for correct operation, a calculation unit 47 for performing decryption calculation, and an electric power for starting each unit And a power supply unit 48 for supplying power. The control unit 46 has a function of receiving the electronic key code 5 newly generated from the electronic lock 1 and storing it in the storage unit 33. Note that specific processing executed by the management server 4 will be described in detail when the operation is described later.

ここで、電子錠1と管理サーバ4とを接続するネットワークNは、あらゆる通信網を使用可能であるが、セキュリティ対策が考えられた通信網もしくはセキュリティ用機器を用いた通信網で構成されていると望ましい。   Here, the network N connecting the electronic lock 1 and the management server 4 can use any communication network, but is configured by a communication network in which security measures are considered or a communication network using security devices. And desirable.

[動作]
次に、上記構成のシステムの動作を、図8乃至図13を参照して説明する。ここで、図8は、開錠時の電子錠1の動作を示すフローチャートである。図9は、施錠時における電子錠1と電子鍵3とによる動作を示すシーケンス図であり、図10乃至図11は、電子錠1の動作を示すフローチャートである。図12は、電子鍵データ更新時における電子錠1と管理サーバ4とによる動作を示すシーケンス図であり、図13は、電子錠1の動作を示すフローチャートである。
[Operation]
Next, the operation of the system configured as described above will be described with reference to FIGS. Here, FIG. 8 is a flowchart showing the operation of the electronic lock 1 at the time of unlocking. FIG. 9 is a sequence diagram illustrating the operation of the electronic lock 1 and the electronic key 3 during locking, and FIGS. 10 to 11 are flowcharts illustrating the operation of the electronic lock 1. FIG. 12 is a sequence diagram showing the operation of the electronic lock 1 and the management server 4 at the time of updating the electronic key data, and FIG. 13 is a flowchart showing the operation of the electronic lock 1.

はじめに、開錠時の動作を、図8の電子錠1の動作を示すフローチャートを参照して説明する。まず、電子錠1は、電子鍵3の接続感知部36による電子錠1への接触が、接続感知部(開)18か接続感知部(閉)19であるかを判断する(ステップS1)。そして、電子錠1は、接続感知部(開)18にて感知すると(ステップS1:開)、施錠状態が電子錠1の記録部13に記録されているかを確認する(ステップS2)。このとき、施錠状態である場合には(ステップS2:施錠)、電子錠1は、電子鍵3に対し、電子鍵3の記録部33に記録されている電子鍵コード5を、電子鍵3のコード通信部31から電子錠1に送信するように要求する(ステップS3)。これに応じて電子鍵3から電子鍵コード5が送信されると(開錠操作工程)、電子錠1は送信された電子鍵コード5を受信する(ステップS3)。なお、ステップS1にて電子鍵3から接続感知部(閉)19を感知した場合には(ステップS1:閉)、後述する施錠動作へ進む(ステップS8)。また、ステップS2で既に開錠状態である場合には(ステップS2:開錠)、開錠ランプを点滅し(ステップS9)、開錠されていることを知らせる動作を行う。   First, the operation at the time of unlocking will be described with reference to a flowchart showing the operation of the electronic lock 1 of FIG. First, the electronic lock 1 determines whether the contact of the electronic key 3 to the electronic lock 1 by the connection sensing unit 36 is the connection sensing unit (open) 18 or the connection sensing unit (closed) 19 (step S1). When the electronic lock 1 is sensed by the connection sensing unit (open) 18 (step S1: open), it is confirmed whether the lock state is recorded in the recording unit 13 of the electronic lock 1 (step S2). At this time, if the electronic lock 1 is in the locked state (step S2: locking), the electronic lock 1 uses the electronic key code 5 recorded in the recording unit 33 of the electronic key 3 for the electronic key 3. A request is sent from the code communication unit 31 to the electronic lock 1 (step S3). In response to this, when the electronic key code 5 is transmitted from the electronic key 3 (unlocking operation step), the electronic lock 1 receives the transmitted electronic key code 5 (step S3). When the connection sensing unit (closed) 19 is detected from the electronic key 3 in step S1 (step S1: closed), the process proceeds to a locking operation described later (step S8). If it is already unlocked at step S2 (step S2: unlocking), the unlocking lamp blinks (step S9), and an operation for notifying that it is unlocked is performed.

続いて、電子鍵3のコード通信部31から電子鍵コード5を受け取った電子錠1のコード通信部17は、制御部20に電子鍵コード5を渡し、電子錠1の記録部13に記録されている電子鍵コード5と照合を行う(ステップS4)。そして、電子鍵3から送信された電子鍵コード5と、自己に記憶している電子鍵コードとが一致すると(ステップS4:一致)、電子錠1は、制御部20から錠11に対し、開錠指示を行い(ステップS6)、それを受け取った錠11は、物理的に開錠動作を行う(開錠処理工程)。続いて、電子錠1は、記録部13にて開錠状態を記録する動作を行い(ステップS6)、表示部12にて開錠ランプを点灯させる動作を行う(ステップS7)。一方、電子鍵コード5の照合の結果、不一致であると(ステップS4:不一致)、電子錠1は、異常な状態であることを知らせるために表示部12において異常ランプを点滅させる動作を行う(ステップS10)。   Subsequently, the code communication unit 17 of the electronic lock 1 that has received the electronic key code 5 from the code communication unit 31 of the electronic key 3 passes the electronic key code 5 to the control unit 20 and is recorded in the recording unit 13 of the electronic lock 1. The electronic key code 5 is collated (step S4). When the electronic key code 5 transmitted from the electronic key 3 matches the electronic key code stored in itself (step S4: match), the electronic lock 1 is opened from the control unit 20 to the lock 11. The lock is instructed (step S6), and the lock 11 that has received it physically performs the unlocking operation (unlocking process step). Subsequently, the electronic lock 1 performs an operation of recording the unlocked state in the recording unit 13 (step S6), and performs an operation of turning on the unlocking lamp in the display unit 12 (step S7). On the other hand, if the electronic key code 5 is not matched as a result of the collation (step S4: mismatch), the electronic lock 1 performs an operation of blinking an abnormal lamp on the display unit 12 to notify that it is in an abnormal state ( Step S10).

ここで、電子錠1による電子鍵コード5の照合は、まずは、電子鍵3から受信した電子鍵コード5と、電子錠1自身が記憶している電子鍵コード5との全体が、一致しているか否かによって照合を行う。そして、全体が一致している場合には上述したように開錠動作を行うが、電子鍵コード5の全体が不一致であった場合には、再照合を行う。この再照合では、電子錠1の電子鍵コードに含まれる情報と、電子鍵3から送信されてきた電子鍵コードに含まれる情報のうち、一部の情報が一致しているか否かを照合し、予め定められた一部の情報が一致している場合に、開錠を行う。例えば、各電子鍵コードの鍵情報番号(新)53(新キーデータ)と鍵情報番号(旧)54(旧キーデータ)とがそれぞれ一致し、かつ、電子錠1に記憶されている錠固有番号が、電子鍵3から送信された電子鍵データ5に含まれている場合に、電子鍵コードが一致したと判断し、開錠を許可する。また、別の条件によって再照合してもよい。例えば、以下の条件(1),(2)を満たすことで電子鍵コードが一致したものとする。(1)電子錠1の電子鍵コードの鍵固有番号52と、電子鍵3の電子鍵コードの鍵固有番号52と、電子鍵3の鍵情報番号(旧)54に含まれる鍵固有番号と、が一致すること。(2)電子錠1が持つ錠固有番号が電子鍵3の電子鍵コードに記録されている錠固有番号の中で一致するものを有すると共に、電子鍵3の鍵情報番号(旧)54に含まれる錠固有番号の中で一致するものを有すること。以上の条件を満たすことで、電子鍵コードが一致したと判断してもよい。これにより、複数の電子錠1の錠固有番号が記憶された電子鍵コード5を用いることで、1つの電子鍵3で複数の電子錠1に対応することができる。   Here, collation of the electronic key code 5 by the electronic lock 1 is performed by first matching the electronic key code 5 received from the electronic key 3 with the electronic key code 5 stored in the electronic lock 1 itself. Collation is performed according to whether or not there is. Then, when the whole matches, the unlocking operation is performed as described above, but when the whole electronic key code 5 does not match, re-collation is performed. In this re-verification, it is verified whether a part of the information included in the electronic key code of the electronic lock 1 and the information included in the electronic key code transmitted from the electronic key 3 match. When some predetermined information matches, unlocking is performed. For example, the key information number (new) 53 (new key data) and the key information number (old) 54 (old key data) of each electronic key code match each other and are stored in the electronic lock 1 When the number is included in the electronic key data 5 transmitted from the electronic key 3, it is determined that the electronic key codes match, and unlocking is permitted. Moreover, you may re-collate by another condition. For example, it is assumed that the electronic key codes are matched by satisfying the following conditions (1) and (2). (1) the key unique number 52 of the electronic key code of the electronic lock 1, the key unique number 52 of the electronic key code of the electronic key 3, the key unique number included in the key information number (old) 54 of the electronic key 3, Match. (2) The lock unique number possessed by the electronic lock 1 has the same lock unique number recorded in the electronic key code of the electronic key 3 and is included in the key information number (old) 54 of the electronic key 3 Have the same lock identification number. By satisfying the above conditions, it may be determined that the electronic key codes match. Thus, by using the electronic key code 5 in which the lock unique numbers of the plurality of electronic locks 1 are stored, the single electronic key 3 can correspond to the plurality of electronic locks 1.

次に、施錠時の動作を、図9のシーケンス図、及び、図10,11の電子錠1の動作を示すフローチャートを参照して説明する。まず、電子錠1は、電子鍵3の接続感知部36による電子錠1への接触が(図9のステップS21)、接続感知部(開)18か接続感知部(閉)19を判断する(図10のステップS41)。そして、電子錠1は、接続感知部(開)18にて感知すると(図10のステップS41:開)、上述した開錠動作へ進む(図10のステップS45)。一方、電子錠1は、接続感知部(閉)19にて感知すると(図10のステップS41:閉)、施錠状態が電子錠1の記録部13に記録されているかを確認する(図10のステップS42)。このとき、開錠状態である場合には(図10のステップS42:開錠)、電子錠1は、電子鍵3に対し、電子鍵3の記録部33に記録されている鍵情報コード5を、電子鍵3のコード通信部31から電子錠1に送信するように要求すると共に(図9のステップS22)、これに応じて電子鍵3から送信された電子鍵コード5を受信する(図9のステップS23、図10のステップS43)。なお、ステップS42で既に施錠状態である場合には(図10のステップS42:施錠)、施錠ランプを点滅し(図10のステップS46)、開錠されていることを知らせる動作を行う。   Next, the operation at the time of locking will be described with reference to the sequence diagram of FIG. 9 and the flowchart showing the operation of the electronic lock 1 of FIGS. First, the electronic lock 1 determines whether the connection sensing unit 36 of the electronic key 3 contacts the electronic lock 1 (step S21 in FIG. 9), and determines whether the connection sensing unit (open) 18 or the connection sensing unit (closed) 19 is present ( Step S41 in FIG. When the electronic lock 1 is sensed by the connection sensing unit (open) 18 (step S41 in FIG. 10: open), the electronic lock 1 proceeds to the unlocking operation described above (step S45 in FIG. 10). On the other hand, when the electronic lock 1 is sensed by the connection sensing unit (closed) 19 (step S41 in FIG. 10: closed), it is confirmed whether the locked state is recorded in the recording unit 13 of the electronic lock 1 (FIG. 10). Step S42). At this time, in the unlocked state (step S42 in FIG. 10: unlocking), the electronic lock 1 uses the key information code 5 recorded in the recording unit 33 of the electronic key 3 for the electronic key 3. The electronic key 3 is requested to be transmitted from the code communication unit 31 of the electronic key 3 to the electronic lock 1 (step S22 in FIG. 9), and the electronic key code 5 transmitted from the electronic key 3 is received accordingly (FIG. 9). Step S23, step S43 of FIG. 10). If it is already locked in step S42 (step S42 in FIG. 10: locking), the locking lamp blinks (step S46 in FIG. 10), and an operation for notifying that it is unlocked is performed.

続いて、電子鍵3のコード通信部31から電子鍵コード5を受け取った電子錠1のコード通信部17は、制御部20に電子鍵コード5を渡し、記録部13に記録されている電子鍵コード5と照合を行う(図10のステップS44)。具体的には、受信した電子鍵コード5を、例えば、3DES暗号化アルゴリズムを用いて演算部21にて一度目の解読を行い、電子鍵コード5に含まれる全ての構成データを取り出す。なお、この段階においても、含まれている鍵情報番号(新)(新キーデータ)および鍵情報番号(旧)(旧キーデータ)は、暗号化状態であるため、再度、暗号解読動作を実行する。また、同様に、自己の記録部13に記録されている鍵情報コード5も同様に解読も行い、各構成データを取り出す。そして、電子鍵3から受信した電子鍵コード5と、自身に記憶している電子鍵コード5との全体が、一致しているか否か、照合を行う(図9のステップS24)。なお、上記開錠時においても、電子鍵コード5の暗号の解読は行われ、上述したように照合が行われる。   Subsequently, the code communication unit 17 of the electronic lock 1 that has received the electronic key code 5 from the code communication unit 31 of the electronic key 3 passes the electronic key code 5 to the control unit 20 and records the electronic key recorded in the recording unit 13. Collation with code 5 is performed (step S44 in FIG. 10). Specifically, the received electronic key code 5 is first decrypted by the computing unit 21 using, for example, a 3DES encryption algorithm, and all the configuration data included in the electronic key code 5 is extracted. Even at this stage, the included key information number (new) (new key data) and key information number (old) (old key data) are in the encrypted state, so the decryption operation is executed again. To do. Similarly, the key information code 5 recorded in its own recording unit 13 is decrypted in the same manner, and each component data is taken out. Then, it is checked whether or not the electronic key code 5 received from the electronic key 3 matches the electronic key code 5 stored in itself (step S24 in FIG. 9). Even at the time of unlocking, the electronic key code 5 is decrypted and collated as described above.

そして、電子鍵コードが一致すると(図10のステップS44:一致)、電子鍵コード5を更新すべく、新たな電子鍵コードの生成処理に進む(図10の符号Aに進む、電子鍵コード生成工程)。なお、以下では、新たに生成する電子鍵コードを新電子鍵コードと呼ぶ。このとき、新しい電子鍵コードが生成され書き換えられる旨のフラグが、記録部13に記憶されている電子鍵コードに設定される。なお、この書き換えフラグが設定された電子鍵コードは、直前(過去)に利用された電子鍵コードであり、以下では、旧電子鍵コードと呼ぶ。   If the electronic key codes match (step S44 in FIG. 10: match), the process proceeds to a new electronic key code generation process to update the electronic key code 5 (proceed to code A in FIG. 10). Process). Hereinafter, a newly generated electronic key code is referred to as a new electronic key code. At this time, a flag indicating that a new electronic key code is generated and rewritten is set in the electronic key code stored in the recording unit 13. Note that the electronic key code in which the rewrite flag is set is an electronic key code used immediately before (in the past), and is hereinafter referred to as an old electronic key code.

ここで、ステップS44にて、電子鍵コードの全体照合を行った結果、不一致であった場合には、再照合を行う(図10のステップS47)。具体的には、以下のように、電子錠1の電子鍵コードに含まれる情報と、電子鍵3から送信されてきた電子鍵コードに含まれる情報のうち、以下の部分の情報を個別に照合し、一致する条件(1),(2)を満たすことで電子鍵コードが一致したものとする。(1)電子錠1の電子鍵コードの鍵固有番号52と、電子鍵3の電子鍵コードの鍵固有番号52と、電子鍵3の鍵情報番号(旧)54に含まれる鍵固有番号と、が一致すること。(2)電子錠1が持つ錠固有番号が電子鍵3の電子鍵コードに記録されている錠固有番号の中で一致するものを有すると共に、電子鍵3の鍵情報番号(旧)54に含まれる錠固有番号の中で一致するものを有すること。以上の条件を満たすことで、電子鍵コードが一致したと判断し(図10のステップS47:一致)、新たな電子鍵コードの生成処理に進む(図11)。なお、電子鍵コードの再照合の条件は上記条件に限定されない。例えば、各電子鍵コードの鍵情報番号(新)53(新キーデータ)と鍵情報番号(旧)54(旧キーデータ)とがそれぞれ一致し、かつ、電子錠1に記憶されている錠固有番号が、電子鍵3から送信された電子鍵データ5に含まれている場合に、電子鍵コードが一致したと判断してもよい。   Here, if the result of the overall verification of the electronic key code in step S44 is a mismatch, rematching is performed (step S47 in FIG. 10). Specifically, as shown below, the following part of the information included in the electronic key code of the electronic lock 1 and the information included in the electronic key code transmitted from the electronic key 3 are individually verified. Then, it is assumed that the electronic key codes are matched by satisfying the matching conditions (1) and (2). (1) the key unique number 52 of the electronic key code of the electronic lock 1, the key unique number 52 of the electronic key code of the electronic key 3, the key unique number included in the key information number (old) 54 of the electronic key 3, Match. (2) The lock unique number possessed by the electronic lock 1 has the same lock unique number recorded in the electronic key code of the electronic key 3 and is included in the key information number (old) 54 of the electronic key 3 Have the same lock identification number. By satisfying the above conditions, it is determined that the electronic key codes match (step S47 in FIG. 10: match), and the process proceeds to a new electronic key code generation process (FIG. 11). Note that the conditions for re-collation of the electronic key code are not limited to the above conditions. For example, the key information number (new) 53 (new key data) and the key information number (old) 54 (old key data) of each electronic key code match each other and are stored in the electronic lock 1 When the number is included in the electronic key data 5 transmitted from the electronic key 3, it may be determined that the electronic key codes match.

一方、電子鍵コードが一致しなかった場合には(図10のステップS47:不一致)、電子錠1は、異常な状態であることを知らせるために表示部12において異常ランプを点滅させる動作を行う(図10のステップS48)。   On the other hand, if the electronic key codes do not match (step S47 in FIG. 10: mismatch), the electronic lock 1 performs an operation of blinking an abnormal lamp on the display unit 12 to notify that it is in an abnormal state. (Step S48 in FIG. 10).

その後、この書き換えフラグが設定された電子鍵コード5内のうち、一度目に解読した状態の鍵情報番号(新)53(新キーコード)を、新たに生成する電子鍵コード内の鍵情報番号(旧)54(旧キーコード)に設定し、暗号化された状態のまま上書きする。また、2桁の乱数を日時部16から取り出した14桁の日時情報の先頭にあわせ、16桁で構成された通信番号51として格納する。さらに、この「通信番号51」、接続された電子鍵3の「鍵固有番号52」、電子錠1の記録部13に記録されている「錠固有番号」、「鍵情報番号(旧)54」を全て合わせて、例えば、3DES暗号化アルゴリズムを用いて暗号化を行い、新たな鍵情報番号(新)53(新キーデータ)として生成して格納する。なお、「補助番号 55」は、錠固有番号がいくつ保持されているかを表す数用に4桁、拡張用4桁の計8桁の番号で構成され、保有する錠固有番号の増減により変更されることとなる。例えば、新たに対応する電子錠1を追加する場合に、「補助番号 55」が書き換えられ、また、その電子錠1の錠固有番号が電子鍵コード5内の「錠固有番号 56」等に追加される。そして、電子鍵コード5のすべての項目を暗号化し、電子鍵情コード5を完成させる(図9のステップS25、図11のステップS51)。なお、上記鍵情報番号(旧)54は、直前に使用した電子鍵コード5の一部の情報(例えば、鍵情報番号(新)53)であるが、これに限定されず、過去に利用された電子鍵コード5の一部あるいは全ての情報を用いてもよい。   Thereafter, the key information number (new) 53 (new key code) that has been decrypted for the first time in the electronic key code 5 in which the rewrite flag is set is the key information number in the newly generated electronic key code. Set to (old) 54 (old key code) and overwrite in the encrypted state. Further, a 2-digit random number is stored as a communication number 51 composed of 16 digits in accordance with the beginning of the 14-digit date / time information extracted from the date / time portion 16. Further, this “communication number 51”, “key unique number 52” of the connected electronic key 3, “lock unique number” recorded in the recording unit 13 of the electronic lock 1, and “key information number (old) 54”. Are combined, for example, encrypted using a 3DES encryption algorithm, and generated and stored as a new key information number (new) 53 (new key data). “Auxiliary number 55” is composed of a total of 8 digits, 4 digits for the number representing how many lock unique numbers are held and 4 digits for expansion. The Rukoto. For example, when a new corresponding electronic lock 1 is added, “auxiliary number 55” is rewritten, and the lock unique number of the electronic lock 1 is added to “lock unique number 56” in the electronic key code 5 or the like. Is done. Then, all items of the electronic key code 5 are encrypted to complete the electronic key information code 5 (step S25 in FIG. 9 and step S51 in FIG. 11). The key information number (old) 54 is a part of information of the electronic key code 5 used immediately before (for example, the key information number (new) 53), but is not limited to this and is used in the past. Some or all information of the electronic key code 5 may be used.

続いて、電子錠1は、新たに生成した電子鍵コード5を電子鍵3に送信する(図9のステップS26、図11のステップS52、電子鍵記憶処理工程)。すると、電子鍵3は、受け取った電子鍵コード5を記録部33に記録する(図9のステップS27)。また、電子鍵3は、記録部33に記録した鍵情報コード5を電子錠1に返送する(図9のステップ28)。そして、電子錠1は、電子鍵3から送信された電子鍵コード5を受信すると(図11のステップS53)、書き換えフラグが立つ旧電子鍵コード5を記録部13のワークエリアに移し、受信した新たな電子鍵コード5を記録部13に記録する(図9のステップS29、図11のステップS54)。その後、ワークエリアに移動した旧電子鍵コードを削除する(図9のステップS30、図11のステップS54)。   Subsequently, the electronic lock 1 transmits the newly generated electronic key code 5 to the electronic key 3 (step S26 in FIG. 9, step S52 in FIG. 11, electronic key storage processing step). Then, the electronic key 3 records the received electronic key code 5 in the recording unit 33 (step S27 in FIG. 9). Further, the electronic key 3 returns the key information code 5 recorded in the recording unit 33 to the electronic lock 1 (step 28 in FIG. 9). When receiving the electronic key code 5 transmitted from the electronic key 3 (step S53 in FIG. 11), the electronic lock 1 moves the old electronic key code 5 in which the rewrite flag is set to the work area of the recording unit 13 and receives it. A new electronic key code 5 is recorded in the recording unit 13 (step S29 in FIG. 9 and step S54 in FIG. 11). Thereafter, the old electronic key code moved to the work area is deleted (step S30 in FIG. 9 and step S54 in FIG. 11).

続いて、電子錠1は、制御部20から錠11に対し、施錠指示を行い(図11のステップS55)、それを受け取った錠11は、物理的に施錠動作を行う。続いて、電子錠1は、記録部13にて施錠状態を記録する動作を行い(図11のステップS56)、表示部12にて施錠ランプを点灯させる動作を行う(図11のステップS57)。このように、新たに生成された新電子鍵コードは、電子錠1と電子鍵3の双方に記憶されるため、この後の開錠処理に利用される。   Subsequently, the electronic lock 1 gives a lock instruction to the lock 11 from the control unit 20 (step S55 in FIG. 11), and the lock 11 that has received the lock physically performs a locking operation. Subsequently, the electronic lock 1 performs an operation of recording the lock state in the recording unit 13 (step S56 in FIG. 11), and performs an operation of turning on the lock lamp in the display unit 12 (step S57 in FIG. 11). In this way, the newly generated new electronic key code is stored in both the electronic lock 1 and the electronic key 3 and is used for the subsequent unlocking process.

次に、施錠時あるいは施錠後に行われる電子錠1から管理サーバ4への通信動作を、図12のシーケンス図、及び、図13の電子錠1の動作を示すフローチャートを参照して説明する。まず、電子錠1は、記録部13に記録される電子鍵コードが更新される度に(図12のステップS61)、管理サーバ4へ通信動作を行い、ネットワークNを介して管理サーバ4に対し通信許可を得るための申請通信を行う(図12のステップS62、図13のステップS71)。このとき、電子錠1は、当該電子錠1の錠固有番号を一緒に送信する。なお、通信は、例えば、3DES暗号化アルゴリズムを用いて、一方向性ハッシュ関数であるSHA−1認証アルゴリズムを使用し、IPsec技術により、安全に行われる。   Next, the communication operation from the electronic lock 1 to the management server 4 performed during or after locking will be described with reference to the sequence diagram of FIG. 12 and the flowchart showing the operation of the electronic lock 1 of FIG. First, every time the electronic key code recorded in the recording unit 13 is updated (step S61 in FIG. 12), the electronic lock 1 performs a communication operation to the management server 4 and communicates with the management server 4 via the network N. Application communication for obtaining communication permission is performed (step S62 in FIG. 12, step S71 in FIG. 13). At this time, the electronic lock 1 transmits the lock unique number of the electronic lock 1 together. Note that the communication is performed safely using the SHA-1 authentication algorithm, which is a one-way hash function, using, for example, a 3DES encryption algorithm and using IPsec technology.

続いて、通信許可申請通信を受け取った管理サーバ4は、一緒に送られる電子錠1の錠固有番号を確認する(図12のステップS63)。そして、送信された錠固有番号が、管理サーバ4に記憶されている情報に一致した場合には、管理サーバ4は、電子錠1との通信を許可とし、通信許可信号を電子錠1に送信する(図12のステップS64)。なお、不一致もしくはそれ以外の場合は、不許可を発信する。   Subsequently, the management server 4 that has received the communication permission application communication confirms the lock unique number of the electronic lock 1 sent together (step S63 in FIG. 12). If the transmitted lock unique number matches the information stored in the management server 4, the management server 4 permits communication with the electronic lock 1 and transmits a communication permission signal to the electronic lock 1. (Step S64 in FIG. 12). In case of disagreement or otherwise, a disapproval is sent.

そして、管理サーバ4より通信許可信号の受信を待っている状態の電子錠1は(図13のステップS72)、一定時間待機の後、通信許可に関する信号を受け取ることができなければ、未受信と判断し(図13のステップS72:未受信)、再許可申請に進む(図13のステップS77)。また、管理サーバ4から通信許可に関する信号を受信した場合でも(図13のステップS72:受信)、通信不許可信号である場合にも(図13のステップS73:不許可)、再許可申請に進む(図13のステップS77)。そして、電子錠1は、ネットワークNの通信状態が不良であることも考えられることから、管理サーバ4に対して再度通信許可申請を行い、通信許可の到着を待つ。一定時間待機後、通信許可連絡がなければ不許可と判断し、不許可信号を受信した場合も、不許可と判断する(図13のステップS77:不許可・未受信)。その後、電子錠1は、通信不許可・未受信を記録部13に記録して(図13のステップS78)、管理サーバ4との通信を終了する。一方、電子錠1は、管理サーバ4より通信許可信号を受け取った後は、更新された電子鍵コード5を上述した暗号化によるIPsec技術により、安全に送信する(図12のステップS65、図13のステップS74)。   Then, the electronic lock 1 in a state waiting for reception of a communication permission signal from the management server 4 (step S72 in FIG. 13) is not received if it cannot receive a signal regarding communication permission after waiting for a certain period of time. Judgment is made (step S72 in FIG. 13: not received) and the process proceeds to the re-permission application (step S77 in FIG. 13). Even when a signal relating to communication permission is received from the management server 4 (step S72 in FIG. 13: reception), even if it is a communication disapproval signal (step S73: disapproval in FIG. 13), the process proceeds to the re-permission application. (Step S77 in FIG. 13). And since the electronic lock 1 is also considered that the communication state of the network N is bad, it makes a communication permission application again with respect to the management server 4, and waits for the arrival of communication permission. After waiting for a certain period of time, if there is no communication permission notification, it is determined that the communication is not permitted, and even if a non-permission signal is received, it is determined that the communication is not permitted (step S77 in FIG. 13: not permitted / not received). Thereafter, the electronic lock 1 records communication disapproval / not received in the recording unit 13 (step S78 in FIG. 13), and ends the communication with the management server 4. On the other hand, after receiving the communication permission signal from the management server 4, the electronic lock 1 securely transmits the updated electronic key code 5 by the above-described encryption IPsec technology (step S65 in FIG. 12, FIG. 13). Step S74).

そして、電子錠1から電子鍵コード5の到着を待っている管理サーバ4は、一定時間待機の後、電子鍵コード5の到着がなければ、未着と判断する。このとき、管理サーバ4は、電子錠1から電子鍵コード5の未着を判断した後、電子鍵コード5の再送を電子錠1に依頼し、到着を待つ。但し、一定時間待機の後、電子鍵コード5の到着がなければ、未着と判断し、管理サーバ4は記録部42に電子鍵コードの未着を記録する。一方、管理サーバ4が電子鍵コード5を受信した場合には、管理サーバ4の記録部42に格納する(図12のステップS66)。その後、管理サーバ4は、電子鍵コード5を格納した旨の鍵コード格納完了通知を電子錠1に対し行う(図12のステップS67)。   Then, the management server 4 waiting for the arrival of the electronic key code 5 from the electronic lock 1 determines that it has not arrived if the electronic key code 5 has not arrived after waiting for a predetermined time. At this time, after determining that the electronic key code 5 has not arrived from the electronic lock 1, the management server 4 requests the electronic lock 1 to retransmit the electronic key code 5 and waits for arrival. However, if there is no arrival of the electronic key code 5 after waiting for a certain time, it is determined that the electronic key code 5 has not arrived, and the management server 4 records the absence of the electronic key code in the recording unit 42. On the other hand, when the management server 4 receives the electronic key code 5, it is stored in the recording unit 42 of the management server 4 (step S66 in FIG. 12). Thereafter, the management server 4 sends a key code storage completion notification indicating that the electronic key code 5 has been stored to the electronic lock 1 (step S67 in FIG. 12).

電子錠1は、管理サーバ4に電子鍵コード5が格納されたことを知らせる鍵コード格納完了通知を待っているが、一定時間待機の後、鍵情報格納完了通知を受信しなければ、未受信と判断する(図13のステップS75:未受信)。このとき、電子錠1は、管理サーバ4に対し、鍵コード格納完了通知の依頼を行い、鍵コード格納完了通知を待つ。但し、一定時間待機の後、鍵コード格納完了通知がなければ未受信と判断し、電子錠1は、鍵コード格納完了通知未受信を記録部13に記録する(図13のステップS79)。一方、電子錠1は、鍵コード格納完了通知を受け取った場合には、その旨を記録部13に記録する(図13のステップS76)。   The electronic lock 1 is waiting for a key code storage completion notification informing the management server 4 that the electronic key code 5 has been stored, but has not received the key information storage completion notification after waiting for a certain period of time. (Step S75 in FIG. 13: not received). At this time, the electronic lock 1 requests the management server 4 for a key code storage completion notification and waits for the key code storage completion notification. However, after waiting for a fixed time, if there is no key code storage completion notification, it is determined that the electronic lock 1 has not been received, and the electronic lock 1 records the key code storage completion notification not received in the recording unit 13 (step S79 in FIG. 13). On the other hand, when receiving the key code storage completion notification, the electronic lock 1 records that fact in the recording unit 13 (step S76 in FIG. 13).

以上のように、上記実施例によると、電子鍵コードは電子錠1にて作成され、施錠時に新しいものに書き換えられ、電子錠1と電子鍵3にそれぞれ保管される。従って、電子鍵コードが複製されにくくなり、防犯効果の向上を図ることができる。特に、電子鍵コード5には、前回の電子鍵コード5の一部の情報も記録されており、前回のキーデータ(旧キーデータ)と新たなキーデータ(新キーデータ)の2つの情報が一致しないと開錠できない仕組みとなっているため、不正な行為による開錠操作がより困難となり、さらなる防犯効果の向上を図ることができる。   As described above, according to the above embodiment, the electronic key code is created by the electronic lock 1, rewritten to a new one at the time of locking, and stored in the electronic lock 1 and the electronic key 3, respectively. Therefore, the electronic key code is hardly duplicated, and the crime prevention effect can be improved. In particular, a part of information of the previous electronic key code 5 is recorded in the electronic key code 5, and two pieces of information of the previous key data (old key data) and new key data (new key data) are stored. Since it is a mechanism that cannot be unlocked if they do not match, it is more difficult to perform the unlocking operation by an unauthorized act, and the crime prevention effect can be further improved.

また、管理サーバ4および電子錠1に電子鍵コードを保持しているため、仮に電子鍵3を紛失したとしても、電子錠1までも新しくする必要はなく、電子鍵3のみを作成することで継続利用が可能となり、経済性が向上しうる。また、仮に紛失した電子鍵3が他の人に拾われ使用されることがあったとしても、新しい電子鍵3を作成した後は新たな電子鍵コード5を生成して利用することとなるため、他人によって開錠されることを抑制することができる。   Further, since the management server 4 and the electronic lock 1 hold the electronic key code, even if the electronic key 3 is lost, it is not necessary to renew the electronic lock 1, and only the electronic key 3 is created. It can be used continuously and the economy can be improved. Even if the lost electronic key 3 is picked up and used by another person, a new electronic key code 5 is generated and used after the new electronic key 3 is created. It is possible to suppress unlocking by others.

また、複数の扉(電子錠)に対する固有情報を電子鍵コードに記憶しておき、例えば、照合時に開錠対象となる電子錠の固有情報を含む電子鍵コードによって開錠可能なよう設定しておくことで、複数の電子錠に対しても一つの電子鍵で操作が可能であり、従来のように多くの鍵を用意する必要がなくなる。   In addition, unique information for a plurality of doors (electronic locks) is stored in an electronic key code, for example, set so that it can be unlocked by an electronic key code including unique information of an electronic lock that is to be unlocked at the time of verification Thus, it is possible to operate a plurality of electronic locks with one electronic key, and there is no need to prepare many keys as in the prior art.

ここで、上記では、電子鍵コード5を電子錠1と電子鍵3の双方に記憶し、両方の電子鍵コード5の全部又は一部が一致するか否かによって照合を行う方法を例示したが、必ずしも照合方法は上記方法に限定されない。例えば、電子鍵コード5を電子鍵3側のみに記憶し、電子錠1は電子鍵3から受信した電子鍵コード5に基づいて、施錠・開錠の可否を判断してもよい。例えば、電子錠1側に判断基準を予め記憶しておき、受信した電子鍵コード5が判断基準を満たしているか否かに応じて施錠・開錠の可否を判断してもよい。   Here, in the above, the electronic key code 5 is stored in both the electronic lock 1 and the electronic key 3, and the method of performing the verification based on whether all or a part of both the electronic key codes 5 match is exemplified. The verification method is not necessarily limited to the above method. For example, the electronic key code 5 may be stored only on the electronic key 3 side, and the electronic lock 1 may determine whether or not locking / unlocking is possible based on the electronic key code 5 received from the electronic key 3. For example, determination criteria may be stored in advance on the electronic lock 1 side, and whether or not locking / unlocking is possible is determined according to whether or not the received electronic key code 5 satisfies the determination criteria.

また、上記では、新たな電子鍵コードの生成を施錠時に行うことを例示したが、電子鍵コードの生成タイミングは施錠時であることに限定されない。さらには、電子鍵コードの生成は電子錠1が行うこととして説明したが、電子鍵3側で生成してもよく、あるいは、電子錠1に接続された他のコンピュータなどで生成してもよい。つまり、上述した電子錠1が備える鍵コード生成処理部20bと鍵コード記憶処理部20cは、電子錠1以外の他の構成要素に備えられていてもよい。   In the above description, the generation of a new electronic key code is illustrated as being performed at the time of locking. However, the generation timing of the electronic key code is not limited to being at the time of locking. Furthermore, although it has been described that the electronic key code is generated by the electronic lock 1, it may be generated on the electronic key 3 side, or may be generated by another computer connected to the electronic lock 1. . That is, the key code generation processing unit 20b and the key code storage processing unit 20c included in the electronic lock 1 described above may be included in other components other than the electronic lock 1.

また、上記では、電子錠1にて新たに生成した電子鍵コードを、ネットワークNを介して管理サーバ4に記憶する場合を例示したが、必ずしも電子鍵コードを他のコンピュータや記憶装置に保管しておく必要は無い。例えば、図14に示すように、電子錠1はネットワークに接続されていなくてもよい。   In the above description, the electronic key code newly generated by the electronic lock 1 is stored in the management server 4 via the network N. However, the electronic key code is not necessarily stored in another computer or storage device. There is no need to keep it. For example, as shown in FIG. 14, the electronic lock 1 may not be connected to the network.

なお、電子鍵3は、図1等に例示した形状に限定されない。電子鍵3は、少なくともその先端部が、電子錠1側のコード通信部16および接続感知部17の形状と一致すればよく、他の部分の形状は腕時計型やペン型等にするなど、自由な形状が使用可能である。また、電子錠1も全体の形状を特定していないので、電子鍵の形状に合わせた形状にすることも考えられ、電子鍵、電子錠共に形状の自由度は高い。   The electronic key 3 is not limited to the shape illustrated in FIG. The electronic key 3 only needs to match at least the tip of the cord communication part 16 and the connection sensing part 17 on the electronic lock 1 side, and the other parts can be freely shaped such as a wristwatch or a pen. Various shapes can be used. Moreover, since the electronic lock 1 has not specified the whole shape, it can be considered to have a shape that matches the shape of the electronic key, and both the electronic key and the electronic lock have a high degree of freedom in shape.

本発明は、住宅用扉(玄関等)や事務所出入り口扉等、錠と鍵を使用するところに適用できる。特に、防犯を気にする建物の出入り口扉等への使用に最適である。   The present invention can be applied to a place where a lock and a key are used, such as a house door (entrance etc.) and an office doorway. In particular, it is most suitable for doorway doors in buildings where security is a concern.

電子錠開閉システムの全体構成を示すブロック図である。It is a block diagram which shows the whole structure of an electronic lock opening / closing system. 電子錠の構成を示すブロック図である。It is a block diagram which shows the structure of an electronic lock. 電子錠の制御部の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the control part of an electronic lock. 電子鍵の構成を示すブロック図である。It is a block diagram which shows the structure of an electronic key. 電子鍵の制御部の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the control part of an electronic key. 管理サーバの構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of a management server. 電子鍵データの構成を示す図である。It is a figure which shows the structure of electronic key data. 開錠時における電子錠の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the electronic lock at the time of unlocking. 施錠時におけるシステムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the system at the time of locking. 施錠時における電子錠の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the electronic lock at the time of locking. 施錠時における電子錠の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the electronic lock at the time of locking. 鍵コード更新時におけるシステムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the system at the time of key code update. 鍵コード更新時における電子錠の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the electronic lock at the time of key code update. 電子錠開閉システムの全体構成の変形例を示すブロック図である。It is a block diagram which shows the modification of the whole structure of an electronic lock opening / closing system.

符号の説明Explanation of symbols

1 電子錠
3 電子鍵
4 管理サーバ
5 電子鍵コード
1 Electronic lock 3 Electronic key 4 Management server 5 Electronic key code

Claims (10)

電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する開錠操作手段を有する電子鍵と、この電子鍵から受信した電子鍵コードに基づいて開錠を行う開錠処理手段を有する電子錠と、を備えた電子錠開閉システムであって、
過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成手段と、
前記電子鍵コード生成手段にて新たに生成した電子鍵コードを少なくとも前記電子鍵に記憶する電子鍵コード記憶処理手段と、
を備え、
前記電子鍵コード生成手段は、直前の開錠時に使用された電子鍵コードに含まれている前記新キーデータを、新たに生成する電子鍵コードの前記旧キーデータに設定すると共に、前記新たに生成する電子鍵コードの前記新キーデータを、乱数を含めて生成する、
ことを特徴とする電子錠開閉システム。
An electronic key having an unlocking operation means for storing the electronic key code and transmitting the electronic key code to the electronic lock during the unlocking operation, and an unlocking process for unlocking based on the electronic key code received from the electronic key An electronic lock opening and closing system comprising means,
Electronic key code generation means for newly generating an electronic key code including old key data which is at least part of information of an electronic key code used in the past and new key data which is newly generated information;
Electronic key code storage processing means for storing at least the electronic key code newly generated by the electronic key code generation means in the electronic key;
Bei to give a,
The electronic key code generation means sets the new key data included in the electronic key code used at the time of the previous unlocking to the old key data of the electronic key code to be newly generated, and newly Generating the new key data of the electronic key code to be generated, including a random number;
An electronic lock opening and closing system characterized by that.
前記電子鍵コード記憶処理手段は、前記電子鍵コード生成手段にて新たに生成した電子鍵コードを前記電子錠にも記憶し、
前記電子錠に備えられた開錠処理手段は、前記電子鍵から受信した前記電子鍵コードと自己に記憶している電子鍵コードとを照合することによって開錠を行う、
ことを特徴とする請求項1記載の電子錠開閉システム。
The electronic key code storage processing means also stores the electronic key code newly generated by the electronic key code generation means in the electronic lock,
The unlocking processing means provided in the electronic lock performs unlocking by comparing the electronic key code received from the electronic key with the electronic key code stored in itself.
The electronic lock opening and closing system according to claim 1.
前記電子鍵コード生成手段及び前記電子鍵コード記憶処理手段は、前記電子錠が備え、当該電子錠の施錠時に作動する、
ことを特徴とする請求項2記載の電子錠開閉システム。
The electronic key code generation means and the electronic key code storage processing means are provided in the electronic lock and operate when the electronic lock is locked.
The electronic lock opening and closing system according to claim 2.
前記電子錠に備えられた前記電子鍵コード生成手段は、施錠時に前記電子鍵から電子鍵コードを受信してこの受信した電子鍵コードと電子錠内に記憶している電子鍵コードとを照合し、照合結果に応じて新たな電子鍵コードを生成する、
ことを特徴とする請求項3記載の電子錠開閉システム。
The electronic key code generation means provided in the electronic lock receives the electronic key code from the electronic key at the time of locking, and collates the received electronic key code with the electronic key code stored in the electronic lock. , Generate a new electronic key code according to the verification result,
The electronic lock opening and closing system according to claim 3.
前記電子鍵コード生成手段は、前記旧キーデータと前記新キーデータとをそれぞれ暗号化して新たに生成する電子鍵コードに含める、
ことを特徴とする請求項1,2,3又は4記載の電子錠開閉システム。
The electronic key code generation means includes the electronic key code newly generated by encrypting the old key data and the new key data, respectively.
The electronic lock opening and closing system according to claim 1, 2, 3 or 4 .
前記電子鍵コード生成手段は、開錠対象となる電子錠に固有の錠特定情報を含めて電子鍵コードを新たに生成し、
前記電子錠の開錠処理手段は、前記電子鍵から受信した電子鍵コードに自己の錠特定情報が含まれている場合に開錠を行う、
ことを特徴とする請求項1,2,3,4又は5記載の電子錠開閉システム。
The electronic key code generation means newly generates an electronic key code including lock specifying information unique to the electronic lock to be unlocked,
The unlocking processing means of the electronic lock unlocks the electronic key code received from the electronic key when its own lock identification information is included,
The electronic lock opening and closing system according to claim 1, 2, 3, 4 or 5 .
前記電子錠にネットワークを介して接続された管理サーバを備え、
前記電子錠に備えられた電子鍵コード記憶処理手段は、新たに生成した前記電子鍵コードを前記管理サーバに送信し、
前記管理サーバは、前記電子錠から受信した電子鍵コードを記憶する、
ことを特徴とする請求項1,2,3,4,5又は6記載の電子錠開閉システム。
A management server connected to the electronic lock via a network;
The electronic key code storage processing means provided in the electronic lock transmits the newly generated electronic key code to the management server,
The management server stores an electronic key code received from the electronic lock;
The electronic lock opening and closing system according to claim 1, 2, 3, 4, 5 or 6 .
電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する電子鍵から受信した当該電子鍵コードに基づいて開錠を行う開錠処理手段を有する電子錠であって、
過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成手段と、
前記電子鍵コード生成手段にて新たに生成した電子鍵コードを少なくとも前記電子鍵に記憶する電子鍵コード記憶処理手段と、
を備え、
前記電子鍵コード生成手段は、直前の開錠時に使用された電子鍵コードに含まれている前記新キーデータを、新たに生成する電子鍵コードの前記旧キーデータに設定すると共に、前記新たに生成する電子鍵コードの前記新キーデータを、乱数を含めて生成する、
ことを特徴とする電子錠。
An electronic lock having an unlocking processing means for storing an electronic key code and unlocking the electronic key code based on the electronic key code received from the electronic key transmitted to the electronic lock during the unlocking operation,
Electronic key code generation means for newly generating an electronic key code including old key data which is at least part of information of an electronic key code used in the past and new key data which is newly generated information;
Electronic key code storage processing means for storing at least the electronic key code newly generated by the electronic key code generation means in the electronic key;
With
The electronic key code generation means sets the new key data included in the electronic key code used at the time of the previous unlocking to the old key data of the electronic key code to be newly generated, and newly Generating the new key data of the electronic key code to be generated, including a random number;
An electronic lock characterized by that.
電子鍵コードを記憶すると共にこの電子鍵コードを開錠操作時に電子錠に送信する電子鍵から受信した当該電子鍵コードに基づいて開錠を行う開錠処理手段を有する電子錠に、
過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成手段と、
前記電子鍵コード生成手段にて新たに生成した電子鍵コードを少なくとも前記電子鍵に記憶する電子鍵コード記憶処理手段と、
を実現させると共に、
前記電子鍵コード生成手段は、直前の開錠時に使用された電子鍵コードに含まれている前記新キーデータを、新たに生成する電子鍵コードの前記旧キーデータに設定すると共に、前記新たに生成する電子鍵コードの前記新キーデータを、乱数を含めて生成する、
ことを実現させるためのプログラム。
An electronic lock having an unlocking processing means for storing an electronic key code and unlocking the electronic key code based on the electronic key code received from the electronic key transmitted to the electronic lock during the unlocking operation,
Electronic key code generation means for newly generating an electronic key code including old key data which is at least part of information of an electronic key code used in the past and new key data which is newly generated information;
Electronic key code storage processing means for storing at least the electronic key code newly generated by the electronic key code generation means in the electronic key;
Together to realize,
The electronic key code generation means sets the new key data included in the electronic key code used at the time of the previous unlocking to the old key data of the electronic key code to be newly generated, and newly Generating the new key data of the electronic key code to be generated, including a random number;
A program to make things happen .
電子鍵コードを記憶した電子鍵が当該電子鍵コードを開錠操作時に電子錠に送信する開錠操作工程と、電子錠が前記電子鍵から受信した電子鍵コードに基づいて開錠を行う開錠処理工程と、を有する電子錠開閉方法であって、
前記開錠操作工程の前に、前記電子錠が、過去に使用した電子鍵コードの少なくとも一部の情報である旧キーデータと、新たに生成した情報である新キーデータと、を含む電子鍵コードを新たに生成する電子鍵コード生成工程と、この新たに生成した電子鍵コードを前記電子錠が少なくとも前記電子鍵に記憶する電子鍵コード記憶処理工程と、
を有し、
前記電子鍵コード生成工程は、直前の開錠時に使用された電子鍵コードに含まれている前記新キーデータを、新たに生成する電子鍵コードの前記旧キーデータに設定すると共に、前記新たに生成する電子鍵コードの前記新キーデータを、乱数を含めて生成する、
ことを特徴とする電子錠開閉方法。
An unlocking operation step in which the electronic key storing the electronic key code transmits the electronic key code to the electronic lock during the unlocking operation, and the unlocking is performed based on the electronic key code received from the electronic key by the electronic lock. An electronic lock opening and closing method comprising:
Before the unlocking operation step, the electronic lock includes old key data that is at least part of information of an electronic key code used in the past and new key data that is newly generated information. An electronic key code generation step for newly generating a code, and an electronic key code storage processing step in which the electronic lock stores the newly generated electronic key code in at least the electronic key;
I have a,
The electronic key code generation step sets the new key data included in the electronic key code used at the time of the previous unlocking to the old key data of the electronic key code to be newly generated, and newly Generating the new key data of the electronic key code to be generated, including a random number;
An electronic lock opening and closing method characterized by the above.
JP2007163532A 2007-06-21 2007-06-21 Electronic lock opening and closing system Expired - Fee Related JP4725893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007163532A JP4725893B2 (en) 2007-06-21 2007-06-21 Electronic lock opening and closing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007163532A JP4725893B2 (en) 2007-06-21 2007-06-21 Electronic lock opening and closing system

Publications (2)

Publication Number Publication Date
JP2009002034A JP2009002034A (en) 2009-01-08
JP4725893B2 true JP4725893B2 (en) 2011-07-13

Family

ID=40318713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007163532A Expired - Fee Related JP4725893B2 (en) 2007-06-21 2007-06-21 Electronic lock opening and closing system

Country Status (1)

Country Link
JP (1) JP4725893B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014059026A1 (en) 2012-10-09 2014-04-17 Rug Doctor, Inc. Kiosk for renting carpet cleaning machines
WO2015137185A1 (en) * 2014-03-11 2015-09-17 株式会社 村田製作所 Door unlocking system and door unlocking method
WO2015137186A1 (en) 2014-03-13 2015-09-17 株式会社 村田製作所 Door unlocking system and door unlocking method
JP6415863B2 (en) * 2014-06-06 2018-10-31 ウェブスペース株式会社 Locking / unlocking system
EP3176761A1 (en) * 2015-09-03 2017-06-07 Axis AB Method and apparatus for increasing reliability in monitoring systems
CN113034734B (en) * 2019-12-06 2023-02-10 中国石油天然气股份有限公司 Authorization method of electronic key, storage medium and computer device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03104511U (en) * 1990-02-15 1991-10-30
JP2003005859A (en) * 2001-04-16 2003-01-08 Yuichi Sumiya Method for managing program and data, and computer
JP2005174113A (en) * 2003-12-12 2005-06-30 Hmi:Kk User authentication system for computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03104511U (en) * 1990-02-15 1991-10-30
JP2003005859A (en) * 2001-04-16 2003-01-08 Yuichi Sumiya Method for managing program and data, and computer
JP2005174113A (en) * 2003-12-12 2005-06-30 Hmi:Kk User authentication system for computer

Also Published As

Publication number Publication date
JP2009002034A (en) 2009-01-08

Similar Documents

Publication Publication Date Title
JP4725893B2 (en) Electronic lock opening and closing system
CN109741500B (en) Temporary password setting and verification method for intelligent lock
JP5730573B2 (en) Lock management system
CN104468179B (en) The method and control device executed by control device
CN107209983A (en) Wireless key for certification is managed
CN207409010U (en) The newer temporary password access control system of encryption parameter dynamic
US20060085847A1 (en) Locking system and locking method
CN104282058B (en) The method for unlocking of the safety intelligent lock system of band video monitoring based on bluetooth
JPH0652518B2 (en) Security system and its management method
JPS63139440A (en) Key management system for public communication
US10366555B1 (en) Electromechanical lock security system
CN110163995B (en) Remote control electronic lock system
JP4373314B2 (en) Authentication system using biometric information
TW201643828A (en) Management and control system matched with mobile devices
Ahtsham et al. IoT based door lock surveillance system using cryptographic algorithms
JP4624322B2 (en) Terminal authentication system and server
WO2021056745A1 (en) Multi-party cooperation unlocking safe and unlocking method therefor
KR102301478B1 (en) Smart lock device, lock management system including the device, and lock management method using the system
JP4435062B2 (en) Key opening / closing system
US10510201B2 (en) Electromechanical lock security system
JP2009238125A (en) Authentication token, use equipment and authentication system
JP4043507B1 (en) Wireless lock system using biometrics authentication
CN104453456B (en) Automobile lock unlocking method
CN111447198B (en) Method for remotely unlocking intelligent password key
CN114783091B (en) Temporary password generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110210

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110315

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110401

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140422

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees