JP6986905B2 - Electronic key and communication control method - Google Patents

Electronic key and communication control method Download PDF

Info

Publication number
JP6986905B2
JP6986905B2 JP2017164138A JP2017164138A JP6986905B2 JP 6986905 B2 JP6986905 B2 JP 6986905B2 JP 2017164138 A JP2017164138 A JP 2017164138A JP 2017164138 A JP2017164138 A JP 2017164138A JP 6986905 B2 JP6986905 B2 JP 6986905B2
Authority
JP
Japan
Prior art keywords
unlocking
electric lock
electronic key
control unit
communication control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017164138A
Other languages
Japanese (ja)
Other versions
JP2019039276A (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.)
U-SHINLTD.
Original Assignee
U-SHINLTD.
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 U-SHINLTD. filed Critical U-SHINLTD.
Priority to JP2017164138A priority Critical patent/JP6986905B2/en
Publication of JP2019039276A publication Critical patent/JP2019039276A/en
Application granted granted Critical
Publication of JP6986905B2 publication Critical patent/JP6986905B2/en
Active 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 key and a communication control method.

現在、扉施解錠制御装置の操作部に対し、プッシュ操作等を行った場合に、ユーザーが所持する無線通信機との間で無線通信を行い、扉を自動的に施錠または解錠するスマートエントリーシステムが実用化されている(例えば、特許文献1参照。)。 Currently, when a push operation is performed on the operation unit of the door lock / unlock control device, wireless communication is performed with the wireless communication device owned by the user, and the door is automatically locked or unlocked. The system has been put into practical use (see, for example, Patent Document 1).

特開2003−343131号公報Japanese Unexamined Patent Publication No. 2003-343131

しかしながら、この種の認証方法は、利便性が高い一方で、帰宅時に扉を解錠し、施錠した直後に、外から解錠できてしまう問題や、システムの脆弱性を突き中継器を利用して不正解錠を行う所謂リレーアタックが行われ、窃盗等の犯罪が発生する懸念があった。 However, while this type of authentication method is highly convenient, it uses a repeater to detect the problem that the door can be unlocked from the outside immediately after the door is unlocked and locked immediately after returning home, and the system is vulnerable. There was a concern that crimes such as theft would occur due to the so-called relay attack that unlocks illegally.

そこで、本発明は、上述の課題に鑑みてなされたものであり、鍵の不正解錠を防止することにより、防犯性を向上させる電子キーおよび通信制御方法を提供することを目的とする。 Therefore, the present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide an electronic key and a communication control method for improving crime prevention by preventing unauthorized unlocking of the key.

形態1;本発明の1またはそれ以上の実施形態は、ユーザーが所持し、ドアを施解錠する電気錠と無線通信を行なう電子キーであって、前記電気錠との間の前記無線通信を制御する通信制御部を備え、前記通信制御部は、前記電気錠との間で、施錠のための認証通信が完了した後、所定期間、前記電気錠との間の解錠のための認証通信を無効化することを特徴とする電子キーを提案している。 Embodiment 1; One or more embodiments of the present invention is an electronic key possessed by a user and performing wireless communication with an electric lock that locks and unlocks a door, and controls the wireless communication between the electric lock and the electric lock. A communication control unit is provided, and the communication control unit performs authentication communication for unlocking with the electric lock for a predetermined period after the authentication communication for locking is completed with the electric lock. We are proposing an electronic key that features invalidation.

形態2;本発明の1またはそれ以上の実施形態は、前記通信制御部が、前記所定期間内に、前記電気錠からの前記解錠のための認証信号を受信したことを検知した場合に、前記所定期間を延長することを特徴とする電子キーを提案している。 Embodiment 2; In one or more embodiments of the present invention, when the communication control unit detects that the authentication signal for unlocking from the electric lock has been received within the predetermined period, the communication control unit has received the authentication signal for unlocking. We are proposing an electronic key characterized by extending the predetermined period.

形態3;本発明の1またはそれ以上の実施形態は、ユーザーが、前記所定期間を可変するための可変部を備えたことを特徴とする電子キーを提案している。 Embodiment 3; One or more embodiments of the present invention propose an electronic key characterized in that the user includes a variable portion for varying the predetermined period.

形態4;本発明の1またはそれ以上の実施形態は、ユーザーが、前記解錠のための認証通信の無効化を解除する解除部を備えたことを特徴とする電子キーを提案している。 Embodiment 4; One or more embodiments of the present invention propose an electronic key comprising a release unit for releasing the invalidation of the authentication communication for unlocking by the user.

形態5;本発明の1またはそれ以上の実施形態は、ユーザーが所持し、ドアを施解錠する電気錠と無線通信を行なう電子キーにおける通信制御方法であって、前記電気錠との間の前記無線通信を制御する通信制御部が、前記電気錠との間で、施錠のための認証通信が完了した後、所定期間、前記電気錠との間の解錠のための認証通信を無効化することを特徴とする通信制御方法を提案している。 Embodiment 5; One or more embodiments of the present invention is a communication control method in an electronic key that is possessed by a user and performs wireless communication with an electric lock that locks and unlocks a door, and is said to be between the electric lock and the electric lock. The communication control unit that controls the wireless communication invalidates the authentication communication for unlocking with the electric lock for a predetermined period after the authentication communication for locking with the electric lock is completed. We are proposing a communication control method characterized by this.

本発明の1またはそれ以上の実施形態によれば、錠の不正解錠を防止することにより、防犯性を向上させることができるという効果がある。 According to one or more embodiments of the present invention, there is an effect that crime prevention can be improved by preventing unauthorized unlocking of the lock.

本発明の実施形態に係る電子キーが用いられる施解錠システムの構成を示す図である。It is a figure which shows the structure of the locking / unlocking system which uses the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーの構成を示す図である。It is a figure which shows the structure of the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電気錠の構成を示す図である。It is a figure which shows the structure of the electric lock which concerns on embodiment of this invention. 本発明の実施形態に係る電気錠と電子キーの外観を示す図である。It is a figure which shows the appearance of the electric lock and the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーが用いられる施解錠システムの通信エリアを示す図である。It is a figure which shows the communication area of the locking / unlocking system which uses the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーが用いられる施解錠システムにおけるストーカー対策機能を例示した図である。It is a figure which exemplifies the stalker measures function in the locking / unlocking system which uses the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーが用いられる施解錠システムにおけるリレーアタック対策機能を例示した図である。It is a figure which illustrates the relay attack measures function in the locking / unlocking system which uses the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーが用いられる施解錠システムにおける置き忘れ対策機能を例示した図である。It is a figure which exemplifies the misplacement prevention function in the locking / unlocking system which uses the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーの処理フローである。It is a processing flow of the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーの処理フローである。It is a processing flow of the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーの処理フローである。It is a processing flow of the electronic key which concerns on embodiment of this invention. 本発明の実施形態に係る電子キーの処理フローである。It is a processing flow of the electronic key which concerns on embodiment of this invention.

以下、本発明の実施形態について、図1から図12を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to FIGS. 1 to 12.

<施解錠システムの構成>
図1に示すように、本発明の実施形態に係る電子キーが用いられる施解錠システムは、電子キー100と、電気錠200と、から構成されており、当該システムは、電子キー100と電気錠200との間で、無線信号を送受信して施解錠の制御を行なう。
<Configuration of locking / unlocking system>
As shown in FIG. 1, the locking / unlocking system in which the electronic key according to the embodiment of the present invention is used is composed of an electronic key 100 and an electric lock 200, and the system includes an electronic key 100 and an electric lock. A wireless signal is transmitted to and received from the 200 to control locking and unlocking.

<電子キーの構成>
電子キー100は、図2に示すように、施錠スイッチ110と、解錠スイッチ120と、LF受信部130と、受信アンテナ140と、UHF発信部150と、送信アンテナ160と、通信制御部170とから構成されている。また、通信制御部170には、メモリ171、タイマー172、可変部173、解除部174が内蔵されている。電子キー100は、ユーザーが電子キー100の施錠スイッチ110あるいは解錠スイッチ120を押下する、または、電気錠200から送信される無線信号を用いて、電気錠200との間での認証処理を経たのち、電気錠200にドアの施錠、解錠を行なわせるものである。
<Electronic key configuration>
As shown in FIG. 2, the electronic key 100 includes a lock switch 110, an unlock switch 120, an LF receiving unit 130, a receiving antenna 140, a UHF transmitting unit 150, a transmitting antenna 160, and a communication control unit 170. It is composed of. Further, the communication control unit 170 has a built-in memory 171, a timer 172, a variable unit 173, and a release unit 174. The electronic key 100 has undergone authentication processing with the electric lock 200 by the user pressing the lock switch 110 or the unlock switch 120 of the electronic key 100, or by using a wireless signal transmitted from the electric lock 200. After that, the electric lock 200 is used to lock and unlock the door.

以下、認証方式について説明する。
まず、第1の認証方式として、ユーザーが施錠スイッチ110または解錠スイッチ120を押下すると、電子キー100が休止状態から起動し、UHF帯の解錠信号あるいは施錠信号を送信アンテナ160を介して、電気錠200に送信する。この種の認証方式をワイヤレス認証と呼ぶ。
Hereinafter, the authentication method will be described.
First, as the first authentication method, when the user presses the lock switch 110 or the unlock switch 120, the electronic key 100 is activated from the hibernation state, and the UHF band unlock signal or the lock signal is transmitted via the transmission antenna 160. It is transmitted to the electric lock 200. This type of authentication method is called wireless authentication.

一方、別の認証方式として、ユーザーによる後述する電気錠200に設けられた起動スイッチ(操作部)270の操作によって、電気錠200から送信されたLF帯の磁界信号である、後述するチャレンジコード信号を受信アンテナ140を介して、LF受信部130が受信し、通信制御部170に受信したチャレンジコード信号を出力する。通信制御部170は、チャレンジコード信号が入力されると、電子キー100を休止状態から起動する。また、通信制御部170は、入力されたチャレンジコード信号と、メモリ171に格納された電子キー固有のIDコードと、から算出したレスポンスコードを作成する。通信制御部170は、チャレンジコード信号を入力すると、電子キー100のメモリ171に格納されたチャレンジコードと一致したときに、送信アンテナ160を介して、UHF発信部150からUHF帯のレスポンスコード信号を電気錠200に送信する。この種の認証方式をパッシブ認証と呼ぶ。 On the other hand, as another authentication method, a challenge code signal described later, which is a magnetic field signal in the LF band transmitted from the electric lock 200 by the operation of the activation switch (operation unit) 270 provided on the electric lock 200 described later by the user. Is received by the LF receiving unit 130 via the receiving antenna 140, and the received challenge code signal is output to the communication control unit 170. When the challenge code signal is input, the communication control unit 170 activates the electronic key 100 from the hibernation state. Further, the communication control unit 170 creates a response code calculated from the input challenge code signal and the ID code unique to the electronic key stored in the memory 171. When the communication control unit 170 inputs the challenge code signal and matches the challenge code stored in the memory 171 of the electronic key 100, the communication control unit 170 transmits a UHF band response code signal from the UHF transmitter unit 150 via the transmission antenna 160. Send to the electric lock 200. This type of authentication method is called passive authentication.

チャレンジコード信号は、後述する制御部250に予め設定されたチャレンジコードを制御部250への電子キー100の登録順に従って設定したものであり、制御部250に登録された複数の電子キー100に付与され、各電子キー固有のIDコードに関連づけられてメモリ252に記憶されている。チャレンジコード信号は、登録された複数個ある電子キー100が、通信エリア(LF範囲)内にある場合に、混信を避けるため、それぞれの電子キー100に、順番に送られるものである。すなわち、1番目に登録された電子キー100に対応するチャレンジコード信号を送信すると、1番に関連付けされた電子キー100だけが、レスポンスコード信号を返信し、その他の電子キー100は、レスポンスコード信号を返信することはない。なお、チャレンジコード信号には、施錠用チャレンジコード信号と解錠用チャレンジコード信号とがあり、レスポンスコード信号には、施錠用レスポンスコード信号と解錠用レスポンスコード信号とがある。以下では、これらの信号を用途に応じて、区別して記載する。 The challenge code signal is a challenge code preset in the control unit 250, which will be described later, set in accordance with the registration order of the electronic keys 100 in the control unit 250, and is given to a plurality of electronic keys 100 registered in the control unit 250. It is stored in the memory 252 in association with the ID code unique to each electronic key. When a plurality of registered electronic keys 100 are within the communication area (LF range), the challenge code signal is sequentially sent to each of the electronic keys 100 in order to avoid interference. That is, when the challenge code signal corresponding to the first registered electronic key 100 is transmitted, only the electronic key 100 associated with the first electronic key 100 returns the response code signal, and the other electronic keys 100 return the response code signal. Will not reply. The challenge code signal includes a lock challenge code signal and an unlock challenge code signal, and the response code signal includes a lock response code signal and an unlock response code signal. In the following, these signals will be described separately according to the intended use.

本実施形態に係る電子キー100は、上記のように、ワイヤレス認証およびパッシブ認証の双方に対応するものである。 As described above, the electronic key 100 according to the present embodiment supports both wireless authentication and passive authentication.

通信制御部170は、上述の周知の機能に加え、電気錠200との間で、施錠のための認証通信が完了した後、所定期間、電気錠200との間の解錠のための認証通信を無効化する。なお、所定期間のカウントは、電子キー100内のタイマー172によって行う。 In addition to the well-known functions described above, the communication control unit 170 communicates with the electric lock 200 for unlocking for a predetermined period after the authentication communication for locking is completed. To disable. The counting of the predetermined period is performed by the timer 172 in the electronic key 100.

ここで、施錠のための認証通信が完了とは、ワイヤレス認証により、ユーザーが電子キー100の施錠スイッチ110を押圧し、電子キー100から電気錠200へ送信された信号が認証されることにより電気錠200が施錠される場合およびパッシブ認証により、電気錠200からの施錠用チャレンジコード信号に応じて、電子キー100が施錠用レスポンスコード信号を返信し、電子キー100から電気錠200へ送信された施錠用レスポンスコード信号が認証されることにより、電気錠200が施錠される場合の双方を含む。 Here, the completion of the authentication communication for locking means that the user presses the lock switch 110 of the electronic key 100 by wireless authentication, and the signal transmitted from the electronic key 100 to the electric lock 200 is authenticated to generate electricity. When the lock 200 is locked and by passive authentication, the electronic key 100 returns a lock response code signal in response to the lock challenge code signal from the electric lock 200, and is transmitted from the electronic key 100 to the electric lock 200. This includes both cases where the electric lock 200 is locked by authenticating the lock response code signal.

また、電子キー100が、電気錠200との間の解錠のための認証通信を無効化するとは、具体的に、電気錠200から送信される解錠用チャレンジコード信号に応答して、電子キー100から電気錠200に対して、解錠用レスポンスコード信号を返信することを禁止する処理を例示できる。 Further, the electronic key 100 invalidates the authentication communication for unlocking with the electric lock 200, specifically, in response to the unlocking challenge code signal transmitted from the electric lock 200, electronically. For example, a process for prohibiting the return of the unlocking response code signal from the key 100 to the electric lock 200 can be exemplified.

また、電子キー100が、電気錠200との間の解錠のための認証通信を無効化する処理として、電子キー100において、所定期間、電気錠200から送信される解錠用チャレンジコード信号の受信を禁止するようにしてもよい。具体的には、電気錠200との間で、施錠のための認証通信が完了した時点で、タイマー172を起動させるとともに、例えば、受信アンテナ140とLF受信部130との間に直列に配置されたスイッチング部を通信制御部170が制御して、タイマーのカウントアップまでの間、受信アンテナ140とLF受信部130との間を開放するようにしてもよい。 Further, as a process of invalidating the authentication communication for unlocking with the electric lock 200 by the electronic key 100, the unlocking challenge code signal transmitted from the electric lock 200 in the electronic key 100 for a predetermined period is performed. Reception may be prohibited. Specifically, when the authentication communication for locking is completed with the electric lock 200, the timer 172 is activated and, for example, the timer 172 is arranged in series between the receiving antenna 140 and the LF receiving unit 130. The switching unit 170 may be controlled by the communication control unit 170 to open the space between the receiving antenna 140 and the LF receiving unit 130 until the timer counts up.

また、上記では、電子キー100を例示したが、電子キー100に代えて、メカニカルキーを用いて、電気錠200のキーシリンダを回すことによって、錠が施錠されたことを電子キー100が検知した場合に、上記の無効化の処理を実行する場合にも適用することができる。 Further, although the electronic key 100 has been illustrated above, the electronic key 100 has detected that the lock has been locked by turning the key cylinder of the electric lock 200 using a mechanical key instead of the electronic key 100. In some cases, it can also be applied when executing the above invalidation process.

さらに、上記では、電気錠200からの施錠用チャレンジコード信号に応じて、電子キー100が施錠用レスポンスコード信号を返信した時点から、所定期間、電気錠200との間の解錠のための認証通信を無効化することを例示したが、電気錠200から施錠となった旨の信号を電子キー100に送信し、電子キー100が、その信号を受信した時点から、所定期間、電気錠200との間の解錠のための認証通信を無効化するようにしてもよい。 Further, in the above, the authentication for unlocking with the electric lock 200 is performed for a predetermined period from the time when the electronic key 100 returns the lock response code signal in response to the lock challenge code signal from the electric lock 200. Although the example of disabling communication is illustrated, a signal indicating that the lock has been locked is transmitted from the electric lock 200 to the electronic key 100, and the electric lock 200 is used for a predetermined period from the time when the electronic key 100 receives the signal. You may want to disable the authentication communication for unlocking between.

また、通信制御部170は、上記所定期間内に、電気錠200からの解錠のための認証信号を受信したことを検知した場合には、上記所定期間を延長する。 Further, when the communication control unit 170 detects that the authentication signal for unlocking from the electric lock 200 is received within the predetermined period, the communication control unit 170 extends the predetermined period.

可変部180は、ユーザーの操作により、上記所定期間を可変する。解除部190は、ユーザーの操作により、解錠のための認証通信の無効化を解除する。 The variable unit 180 changes the predetermined period by the operation of the user. The unlocking unit 190 cancels the invalidation of the authentication communication for unlocking by the user's operation.

<電気錠の構成>
電気錠200は、図3に示すように、LF発信部210と、送信アンテナ220と、UHF受信部230と、受信アンテナ240と、制御部250と、ドア施錠/解錠ユニット260と、起動スイッチ(操作部)270と、ドア開閉検知部280と、バッテリー290とから構成されている。また、制御部250は、タイマー251と、メモリ252とから構成され、ドア施錠/解錠ユニット260は、施解錠検知部261と、錠機構263とから構成されている。
<Composition of electric lock>
As shown in FIG. 3, the electric lock 200 includes an LF transmitting unit 210, a transmitting antenna 220, a UHF receiving unit 230, a receiving antenna 240, a control unit 250, a door locking / unlocking unit 260, and a start switch. (Operation unit) 270, a door open / close detection unit 280, and a battery 290. Further, the control unit 250 is composed of a timer 251 and a memory 252, and the door locking / unlocking unit 260 is composed of a locking / unlocking detection unit 261 and a locking mechanism 263.

LF発信部210は、送信アンテナ220を介して、電子キー100にチャレンジコード信号を送信する。UHF受信部230は、受信アンテナ240を介して、電子キー100からレスポンスコード信号あるいは施錠/解錠信号を受信する。 The LF transmitting unit 210 transmits a challenge code signal to the electronic key 100 via the transmitting antenna 220. The UHF receiving unit 230 receives a response code signal or a lock / unlock signal from the electronic key 100 via the receiving antenna 240.

制御部250は、電気錠200全体の動作を後述するメモリ252に格納された制御プログラムにより制御する。制御部250内のタイマー251は、予め定められた所定時間を計時する。メモリ252は、前述した制御プログラムや様々なデータ等を格納する。 The control unit 250 controls the operation of the entire electric lock 200 by a control program stored in the memory 252, which will be described later. The timer 251 in the control unit 250 clocks a predetermined predetermined time. The memory 252 stores the above-mentioned control program, various data, and the like.

ドア施錠/解錠ユニット260の施解錠検知部261は、錠機構263の施解錠状態を検知する。 The lock / unlock detection unit 261 of the door lock / unlock unit 260 detects the lock / unlock state of the lock mechanism 263.

起動スイッチ(操作部)270は、ユーザーの操作を受け付ける。そして、起動スイッチ(操作部)270がユーザーの操作を受け付けると、制御部250が、LF発信部210から通信エリアに向けてチャレンジコード信号を送信するよう制御する。なお、チャレンジコード信号の送信は、錠機構263の施解錠状態や制御内容に応じて、施錠用チャレンジコード信号か、解錠用チャレンジコード信号かを判断して送信が行われる。ドア開閉検知部280は、ドアの開閉状態を検知する。バッテリー290は、制御部250およびドア施錠/解錠ユニット260に電力を供給する電源である。 The start switch (operation unit) 270 accepts a user's operation. Then, when the start switch (operation unit) 270 receives the user's operation, the control unit 250 controls the LF transmission unit 210 to transmit the challenge code signal toward the communication area. The challenge code signal is transmitted by determining whether it is a lock challenge code signal or an unlock challenge code signal according to the lock / unlock state of the lock mechanism 263 and the control content. The door open / close detection unit 280 detects the open / closed state of the door. The battery 290 is a power source that supplies electric power to the control unit 250 and the door locking / unlocking unit 260.

<電子キーおよび電気錠の外観構成>
図4に示すように、電子キー100は、本体に施錠スイッチ110および解錠スイッチ120を備えた外観構成を有し、電気錠200は、例えば、ドア左側中央部で、かつ、ドアハンドル203の上部に設けられた外観構成を有する。電気錠200は、図4に示すようにドア201に装備され、錠機構(図示せず)と接続するドアハンドル203と、扉の外側に取付けられる操作錠部202とを備え、この操作錠部202に起動スイッチ(操作部)270が設けられている。
<Appearance configuration of electronic key and electric lock>
As shown in FIG. 4, the electronic key 100 has an external configuration in which the lock switch 110 and the unlock switch 120 are provided in the main body, and the electric lock 200 is, for example, in the central portion on the left side of the door and on the door handle 203. It has an exterior configuration provided on the top. As shown in FIG. 4, the electric lock 200 is provided on the door 201 and includes a door handle 203 connected to a lock mechanism (not shown) and an operation lock portion 202 attached to the outside of the door. The start switch (operation unit) 270 is provided in 202.

また、図5に示すように、ドア201は、室外側で、略外壁と同一平面をなしており、電気錠200を中心として室内、室外に略同一の面積を有する通信エリア(LF範囲)が形成されている。また、同様に、電気錠200を中心として室内、室外に略同一の面積を有し、通信エリア(LF範囲)よりも通信エリア領域が広い通信エリア(UHF範囲)が形成されている。なお、UHF範囲の通信エリアがLF範囲の通信エリアよりも広い通信エリアを有するのは、使用周波数帯に起因するものである。 Further, as shown in FIG. 5, the door 201 has substantially the same plane as the outer wall on the outdoor side, and has a communication area (LF range) having substantially the same area indoors and outdoors centering on the electric lock 200. It is formed. Similarly, a communication area (UHF range) having substantially the same area indoors and outdoors around the electric lock 200 and having a wider communication area area than the communication area (LF range) is formed. The reason why the communication area in the UHF range has a wider communication area than the communication area in the LF range is due to the frequency band used.

図6から図8は、本実施形態に係る電子キーが用いられる施解錠システムにおけるストーカー対策、リレーアタック対策、置き忘れ対策を示したものである。
ここで、ストーカー対策とは、図6に示すように、帰宅後、タッチ解錠操作(起動スイッチ(操作部)270による解錠操作)(1)を行い、入室して施錠操作を行なった(2)後、電子キー100が室内のLF検知エリアに留まっていても、一定時間は室外側からのタッチボタン(起動スイッチ(操作部)270)の操作では解錠できない機能をいう。
6 to 8 show measures against stalking, measures against relay attack, and measures against misplacement in the locking / unlocking system using the electronic key according to the present embodiment.
Here, as a measure against stalking, as shown in FIG. 6, after returning home, a touch unlocking operation (unlocking operation by the start switch (operation unit) 270) (1) was performed, and the room was entered and the locking operation was performed (1). 2) After that, even if the electronic key 100 stays in the LF detection area in the room, it means a function that cannot be unlocked by operating the touch button (start switch (operation unit) 270) from the outside of the room for a certain period of time.

また、リレーアタック対策とは、図7に示すように、室内からのタッチ解錠操作(起動スイッチ(操作部)270による解錠操作)(1)を行い、室外で施錠操作を行なった(2)後、電子キー100が室外のLF検知エリアの外に出るまでのおおよその時間が経過(3)するまでは、仮に、室外からタッチ解錠操作(4)−1があっても、電気錠200はチャレンジコード信号の送信を停止して、解錠できないようにする機能をいう。 As a measure against relay attack, as shown in FIG. 7, a touch unlocking operation from the room (unlocking operation by the start switch (operation unit) 270) (1) was performed, and a locking operation was performed outdoors (2). ) After that, until the approximate time until the electronic key 100 goes out of the outdoor LF detection area (3) elapses, even if there is a touch unlock operation (4) -1 from the outdoor, the electric lock Reference numeral 200 is a function of stopping the transmission of the challenge code signal so that the lock cannot be unlocked.

また、置き忘れ対策とは、図8に示すように、帰宅後、タッチ解錠操作(起動スイッチ(操作部)270による解錠操作)(1)を行い、入室して施錠操作を行なった(2)後、ドアのそばのLF検知エリアに電子キー100が放置されている場合、当該電子キー100を無効化して(3)、仮に、室外からタッチ操作があっても、電気錠200はチャレンジコード信号の送信を停止して、解錠できない(4)ようにする機能をいう。なお、無効化された電子キー100は、電気錠200が解錠になった時点で復旧される。 As a measure against misplacement, as shown in FIG. 8, after returning home, a touch unlocking operation (unlocking operation by the start switch (operation unit) 270) (1) was performed, and the room was entered and the locking operation was performed (2). After that, if the electronic key 100 is left in the LF detection area near the door, the electronic key 100 is invalidated (3), and even if there is a touch operation from the outside, the electric lock 200 is a challenge code. A function that stops the transmission of signals so that the lock cannot be unlocked (4). The invalidated electronic key 100 is restored when the electric lock 200 is unlocked.

<電子キーの処理>
図9から図12を用いて、本実施形態に係る電子キー100の処理について説明する。
<Processing of electronic keys>
The processing of the electronic key 100 according to the present embodiment will be described with reference to FIGS. 9 to 12.

図9は、電子キー100の操作入力を判断する処理フローと、タイマー172が所定時間を計時すると電気錠200との間の解錠のための認証通信の無効化を解除する処理フローである。
まず、電子キー100の通信制御部170は、LF受信部130において、LF信号(解錠用チャレンジコード信号あるいは施錠用チャレンジコード信号)を受信したか否かを判断する(ステップS101)。このとき、通信制御部170が、LF受信部130において、LF信号を受信したと判断したとき(ステップS101の「Yes」)には、(2)に処理を進める。
FIG. 9 is a processing flow for determining the operation input of the electronic key 100 and a processing flow for canceling the invalidation of the authentication communication for unlocking between the electric lock 200 and the electric lock 200 when the timer 172 clocks a predetermined time.
First, the communication control unit 170 of the electronic key 100 determines whether or not the LF signal (unlocking challenge code signal or locking challenge code signal) has been received by the LF receiving unit 130 (step S101). At this time, when the communication control unit 170 determines that the LF signal is received by the LF receiving unit 130 (“Yes” in step S101), the process proceeds to (2).

一方で、通信制御部170が、LF受信部130において、LF信号を受信していないと判断したとき(ステップS101の「No」)には、施錠スイッチ110あるいは解錠スイッチ120が押されたか否かを判断する(ステップS102)。このとき、通信制御部170が、施錠スイッチ110あるいは解錠スイッチ120が押されたと判断したとき(ステップS102の「Yes」)には、(3)に処理を進める。 On the other hand, when the communication control unit 170 determines that the LF reception unit 130 has not received the LF signal (“No” in step S101), whether or not the lock switch 110 or the unlock switch 120 is pressed. (Step S102). At this time, when the communication control unit 170 determines that the lock switch 110 or the unlock switch 120 has been pressed (“Yes” in step S102), the process proceeds to (3).

また、通信制御部170が、施錠スイッチ110あるいは解錠スイッチ120が押されていないと判断したとき(ステップS102の「No」)には、禁止タイマーが無限に設定済か否かを判断する(ステップS103)。このとき、通信制御部170は、禁止タイマーが無限に設定済であると判断したとき(ステップS103の「Yes」)には、ステップS101に処理を戻す。ここで、禁止タイマーとは、所定時間、電子キー100が電気錠200に対して、解錠用レスポンスコード信号の返信を禁止するためのタイマー172である。 Further, when the communication control unit 170 determines that the lock switch 110 or the unlock switch 120 is not pressed (“No” in step S102), it is determined whether or not the prohibition timer has been set infinitely (“No”). Step S103). At this time, when the communication control unit 170 determines that the prohibition timer has been set infinitely (“Yes” in step S103), the process returns to step S101. Here, the prohibition timer is a timer 172 for prohibiting the electronic key 100 from returning the unlocking response code signal to the electric lock 200 for a predetermined time.

一方で、通信制御部170は、禁止タイマーが無限に設定済でないと判断したとき(ステップS103の「No」)には、電気錠200に対する解錠用レスポンスコード信号の返信を禁止して所定時間が経過しているか否かを判断する(ステップS104)。このとき、通信制御部170が、電気錠200に対する解錠用レスポンスコード信号の返信を禁止して所定時間が経過していないと判断した場合(ステップS104の「No」)には、処理をステップS101に処理を戻す。また、通信制御部170が、電気錠200に対する解錠用レスポンスコード信号の返信を禁止して所定時間が経過していると判断した場合(ステップS104の「Yes」)には、通信制御部170は、解錠用レスポンスコード信号の返信を許可し(ステップS105)、解除部190が電気錠200との間の解錠のための認証通信の無効化を解除する。また、禁止タイマーのタイムカウントをクリアにして(ステップS106)、処理をステップS101に処理を戻す。 On the other hand, when the communication control unit 170 determines that the prohibition timer has not been set infinitely (“No” in step S103), the communication control unit 170 prohibits the reply of the unlocking response code signal to the electric lock 200 for a predetermined time. Is determined (step S104). At this time, if the communication control unit 170 prohibits the reply of the unlocking response code signal to the electric lock 200 and determines that the predetermined time has not elapsed (“No” in step S104), the process is stepped. The process is returned to S101. Further, when the communication control unit 170 prohibits the reply of the unlocking response code signal to the electric lock 200 and determines that the predetermined time has elapsed (“Yes” in step S104), the communication control unit 170 Allows the reply of the unlocking response code signal (step S105), and the unlocking unit 190 cancels the invalidation of the authentication communication for unlocking with the electric lock 200. Further, the time count of the prohibition timer is cleared (step S106), and the process is returned to step S101.

図10は、通信制御部170がLF受信部130においてLF信号を受信したときの処理フローである。
通信制御部170が、LF受信部130において、LF信号を受信したと判断したとき(ステップS101の「Yes」)には、受信したLF信号が解錠用チャレンジコード信号であるのか否かを判断する(ステップS107)。通信制御部170が、受信したLF信号が解錠用チャレンジコード信号でないと判断したとき(ステップS107の「No」)には、処理をステップS112に移す。
FIG. 10 is a processing flow when the communication control unit 170 receives the LF signal in the LF reception unit 130.
When the communication control unit 170 determines that the LF signal has been received by the LF reception unit 130 (“Yes” in step S101), it determines whether or not the received LF signal is an unlocking challenge code signal. (Step S107). When the communication control unit 170 determines that the received LF signal is not the unlocking challenge code signal (“No” in step S107), the process shifts to step S112.

一方で、通信制御部170が、受信したLF信号が解錠用チャレンジコード信号であると判断したとき(ステップS107の「Yes」)には、電気錠200に対する解錠用レスポンスコード信号の返信が禁止されているか否かを判断する(ステップS108)。通信制御部170が、電気錠200に対する解錠用レスポンスコード信号の返信が禁止されていないと判断したとき(ステップS108の「No」)には、電気錠200に対して、解錠用レスポンスコード信号を返信し(ステップS109)、ステップS101に処理を戻す。通信制御部170が、電気錠200に対する解錠用レスポンスコード信号の返信が禁止されていると判断したとき(ステップS108の「Yes」)には、禁止タイマーが無限に設定済か否かを判断し(ステップS110)、通信制御部170は、禁止タイマーが無限に設定済でないと判断した場合(ステップS110の「No」)には、所定時間の禁止タイマーを再スタートさせ(ステップS111)、これにより、通信制御部170が、所定期間内に、電気錠200からの解錠のための認証信号を受信したことを検知した場合に、所定期間を延長するように設定し、処理をステップS101に戻す。この処理は、後述するステップS116において禁止タイマーが設定されたにも関わらず、解錠用LFが送信されてきたため、不正に送信された可能性が高いと判定してタイマーを延長するものである。また、通信制御部170は、禁止タイマーが無限に設定済であると判断した場合(ステップS110の「Yes」)には、処理をステップS101に戻す。 On the other hand, when the communication control unit 170 determines that the received LF signal is the unlocking challenge code signal (“Yes” in step S107), the unlocking response code signal is returned to the electric lock 200. It is determined whether or not it is prohibited (step S108). When the communication control unit 170 determines that the reply of the unlocking response code signal to the electric lock 200 is not prohibited (“No” in step S108), the unlocking response code is given to the electric lock 200. The signal is returned (step S109), and the process returns to step S101. When the communication control unit 170 determines that the reply of the unlocking response code signal to the electric lock 200 is prohibited (“Yes” in step S108), it is determined whether or not the prohibition timer has been set indefinitely. If the communication control unit 170 determines that the prohibition timer has not been set indefinitely (“No” in step S110), the communication control unit 170 restarts the prohibition timer for a predetermined time (step S111). When the communication control unit 170 detects that the authentication signal for unlocking from the electric lock 200 is received within the predetermined period, the communication control unit 170 is set to extend the predetermined period, and the process is set to step S101. return. In this process, since the unlocking LF has been transmitted even though the prohibition timer was set in step S116 described later, it is determined that there is a high possibility that the unlocking timer has been transmitted illegally, and the timer is extended. .. Further, when the communication control unit 170 determines that the prohibition timer has been set infinitely (“Yes” in step S110), the process returns to step S101.

ステップS107において、通信制御部170が、受信したLF信号が解錠用チャレンジコード信号でないと判断したとき(ステップS107の「No」)には、受信したLF信号が施錠用チャレンジコード信号であるのか否かを判断する(ステップS112)。通信制御部170が、受信したLF信号が施錠用チャレンジコード信号でないと判断したとき(ステップS112の「No」)には、処理をステップS101に戻す。 When the communication control unit 170 determines in step S107 that the received LF signal is not the unlocking challenge code signal (“No” in step S107), is the received LF signal a locking challenge code signal? It is determined whether or not (step S112). When the communication control unit 170 determines that the received LF signal is not the lock challenge code signal (“No” in step S112), the process returns to step S101.

一方で、通信制御部170が、受信したLF信号が施錠用チャレンジコード信号であると判断したとき(ステップS112の「Yes」)には、電気錠200に対して、施錠用レスポンスコード信号の返信し(ステップS113)、解錠用レスポンスコードの返信を禁止する(ステップS114)。これにより、通信制御部170は、電気錠200との間で、施錠のための認証通信が完了した後、電気錠200との間の解錠のための認証通信を無効化する。すなわち、不正に解錠用LFが送られてきたとしても解錠レスポンス信号を送らないため解錠することはできないようにする。よって、中継器を利用した不正解錠行為を阻止することができる。そして、通信制御部170は、禁止タイマーが無限に設定済か否かを判断し(ステップS115)、禁止タイマーが無限に設定済でないと判断した場合(ステップS115の「No」)には、所定時間の禁止タイマーをスタートさせ(ステップS116)、処理をステップS101に戻す。これにより、上記した解錠のための認証通信の無効化が所定期間継続することになる。また、通信制御部170は、禁止タイマーが無限に設定済であると判断した場合(ステップS115の「Yes」)には、処理をステップS101に戻す。 On the other hand, when the communication control unit 170 determines that the received LF signal is the lock challenge code signal (“Yes” in step S112), the lock response code signal is returned to the electric lock 200. (Step S113), and the reply of the unlocking response code is prohibited (step S114). As a result, the communication control unit 170 invalidates the authentication communication for unlocking with the electric lock 200 after the authentication communication for locking is completed with the electric lock 200. That is, even if the unlocking LF is illegally sent, the unlocking response signal is not sent, so that the unlocking cannot be performed. Therefore, it is possible to prevent unauthorized unlocking using the repeater. Then, the communication control unit 170 determines whether or not the prohibition timer has been set infinitely (step S115), and if it determines that the prohibition timer has not been set infinitely (“No” in step S115), it is predetermined. The time prohibition timer is started (step S116), and the process is returned to step S101. As a result, the invalidation of the authentication communication for unlocking described above will continue for a predetermined period. If the communication control unit 170 determines that the prohibition timer has been set infinitely (“Yes” in step S115), the process returns to step S101.

図11は、ステップS102において解錠スイッチ120と施錠スイッチ110のいずれか一方が押されたときの処理フローである。
通信制御部170が、LF受信部130において、LF信号を受信していないと判断し(ステップS101の「No」)、次いで、施錠スイッチ110あるいは解錠スイッチ120が押されたと判断したとき(ステップS102の「Yes」)には、次に、解錠スイッチ120と施錠スイッチ110とが同時に押されたか否かを判断する(ステップS117)。このとき、通信制御部170が、解錠スイッチ120と施錠スイッチ110とが同時に押されたと判断した場合(ステップS117の「Yes」)には、処理を(4)に移す。
FIG. 11 is a processing flow when either the unlock switch 120 or the lock switch 110 is pressed in step S102.
When the communication control unit 170 determines that the LF reception unit 130 has not received the LF signal (“No” in step S101), and then determines that the lock switch 110 or the unlock switch 120 has been pressed (step). Next, in "Yes" of S102, it is determined whether or not the unlock switch 120 and the lock switch 110 are pressed at the same time (step S117). At this time, if the communication control unit 170 determines that the unlock switch 120 and the lock switch 110 are pressed at the same time (“Yes” in step S117), the process shifts to (4).

一方で、通信制御部170が、解錠スイッチ120と施錠スイッチ110とが同時に押されていないと判断した場合(ステップS117の「No」)には、通信制御部170は、ユーザーによって、解錠スイッチ120が操作されたか否かを判断する(ステップS118)。通信制御部170が、ユーザーによる解錠スイッチ120の操作があったと判断した場合(ステップS118の「Yes」)には、電気錠200に対して、解錠駆動要求を送信し(ステップS119)、さらに、電気錠200に対する解錠用レスポンスコード信号の返信を許可して(ステップS120)、禁止タイマーのカウントアップをクリアして(ステップS121)、処理をステップS101に戻す。すなわち、解除部190によって、解錠のための認証通信の無効化が解除される。 On the other hand, when the communication control unit 170 determines that the unlock switch 120 and the lock switch 110 are not pressed at the same time (“No” in step S117), the communication control unit 170 is unlocked by the user. It is determined whether or not the switch 120 has been operated (step S118). When the communication control unit 170 determines that the unlock switch 120 has been operated by the user (“Yes” in step S118), the unlock drive request is transmitted to the electric lock 200 (step S119). Further, the reply of the unlocking response code signal to the electric lock 200 is permitted (step S120), the count-up of the prohibition timer is cleared (step S121), and the process is returned to step S101. That is, the unlocking unit 190 cancels the invalidation of the authentication communication for unlocking.

通信制御部170が、ユーザーによる解錠スイッチ120の操作がなかったと判断した場合(ステップS118の「No」)には、ユーザーによって、施錠スイッチ110が操作されたか否かを判断する(ステップS122)。このとき、通信制御部170が、ユーザーによる施錠スイッチ110の操作があったと判断した場合(ステップS122の「Yes」)には、電気錠200に対して、施錠駆動要求を送信し(ステップS123)、さらに、電気錠200に対する解錠用レスポンスコード信号の返信を禁止する(ステップS124)。これにより、通信制御部170は、電気錠200との間で、施錠のための認証通信が完了した後、電気錠200との間の解錠のための認証通信を無効化する。次いで、禁止タイマーが無限に設定済か否かを判断し(ステップS125)、禁止タイマーが無限に設定済でないと判断した場合(ステップS125の「No」)には、所定時間の禁止タイマーを再スタートさせて(ステップS126)、処理をステップS101に戻す。これにより、上記した解錠のための認証通信の無効化が所定期間継続することになる。すなわち、不正に解錠用LFが送られてきたとしても解錠レスポンス信号を送らないため解錠することはできないようにする。一方で、通信制御部170が、ユーザーによる施錠スイッチ110の操作がなかったと判断した場合(ステップS122の「No」)にも、処理をステップS101に戻す。 When the communication control unit 170 determines that the unlock switch 120 has not been operated by the user (“No” in step S118), it is determined whether or not the lock switch 110 has been operated by the user (step S122). .. At this time, if the communication control unit 170 determines that the lock switch 110 has been operated by the user (“Yes” in step S122), the lock drive request is transmitted to the electric lock 200 (step S123). Further, the reply of the unlocking response code signal to the electric lock 200 is prohibited (step S124). As a result, the communication control unit 170 invalidates the authentication communication for unlocking with the electric lock 200 after the authentication communication for locking is completed with the electric lock 200. Next, it is determined whether or not the prohibition timer has been set infinitely (step S125), and if it is determined that the prohibition timer has not been set infinitely (“No” in step S125), the prohibition timer for a predetermined time is reset. It is started (step S126), and the process is returned to step S101. As a result, the invalidation of the authentication communication for unlocking described above will continue for a predetermined period. That is, even if the unlocking LF is illegally sent, the unlocking response signal is not sent, so that the unlocking cannot be performed. On the other hand, even when the communication control unit 170 determines that the lock switch 110 has not been operated by the user (“No” in step S122), the process is returned to step S101.

図12は、解錠スイッチ120と施錠スイッチ110とを同時に押し、ユーザーが意図して解錠を禁止するときの処理フローである。
通信制御部170が、解錠スイッチ120と施錠スイッチ110とが同時に押されたと判断した場合(ステップS117の「Yes」)には、同時押しタイマーを3秒に設定して起動し(ステップS127)、同時押しタイマーのカウントを「1」だけアップする(ステップS128)。
FIG. 12 is a processing flow when the unlocking switch 120 and the locking switch 110 are pressed at the same time and the user intentionally prohibits unlocking.
When the communication control unit 170 determines that the unlock switch 120 and the lock switch 110 are pressed at the same time (“Yes” in step S117), the simultaneous press timer is set to 3 seconds and activated (step S127). , The count of the simultaneous push timer is increased by "1" (step S128).

次いで、通信制御部170が、解錠スイッチ120と施錠スイッチ110の同時押しが解除されたか否かを判断し(ステップS129)、通信制御部170が、解錠スイッチ120と施錠スイッチ110の同時押しが解除されたと判断した場合(ステップS129の「Yes」)には、再度、解錠スイッチ120と施錠スイッチ110とが同時に押されたか否かを判断し(ステップS130)、再度、解錠スイッチ120と施錠スイッチ110とが同時に押されたと判断した場合(ステップS130の「Yes」)には、処理をステップS127に戻す。また、通信制御部170が、解錠スイッチ120と施錠スイッチ110の同時押しが解除されていないと判断した場合(ステップS129の「No」)および、再度、解錠スイッチ120と施錠スイッチ110とが同時に押されてはいないと判断した場合(ステップS130の「No」)には、次いで、通信制御部170は、同時押しタイマーが3秒経過したか否かを判断する(ステップS131)。 Next, the communication control unit 170 determines whether or not the simultaneous pressing of the unlock switch 120 and the lock switch 110 is released (step S129), and the communication control unit 170 simultaneously presses the unlock switch 120 and the lock switch 110. When it is determined that is released (“Yes” in step S129), it is determined again whether or not the unlock switch 120 and the lock switch 110 are pressed at the same time (step S130), and the unlock switch 120 is again determined. When it is determined that the lock switch 110 and the lock switch 110 are pressed at the same time (“Yes” in step S130), the process returns to step S127. Further, when the communication control unit 170 determines that the simultaneous pressing of the unlock switch 120 and the lock switch 110 has not been released (“No” in step S129), the unlock switch 120 and the lock switch 110 are again pressed. When it is determined that they are not pressed at the same time (“No” in step S130), the communication control unit 170 then determines whether or not the simultaneous pressing timer has elapsed for 3 seconds (step S131).

ステップS131において、同時押しタイマーが3秒経過していないと判断した場合(ステップS131の「No」)には、処理をステップS129に戻す。一方で、同時押しタイマーが3秒経過していると判断した場合(ステップS131の「Yes」)には、通信制御部170は、最初に同時押しされてから、継続して3秒間、同時押しされたか否かを判断する(ステップS132)。 If it is determined in step S131 that the simultaneous push timer has not elapsed for 3 seconds (“No” in step S131), the process returns to step S129. On the other hand, when it is determined that the simultaneous pressing timer has elapsed for 3 seconds (“Yes” in step S131), the communication control unit 170 is simultaneously pressed for 3 seconds continuously after being pressed simultaneously for the first time. It is determined whether or not it has been done (step S132).

このとき、通信制御部170が、最初に同時押しされてから、継続して3秒間、同時押しされたと判断した場合(ステップS132の「Yes」)には、所定時間の禁止タイマーを無限に設定し(ステップS133)、処理をステップS101に戻す。つまり、解除部190によって解錠のための認証通信の無効化が解除されない限り、タイマー172により所定時間が経過したことを計時して無効化が解除されることはないように可変部180が所定期間を無限に設定する。一方で、通信制御部170が、最初に同時押しされてから、継続して3秒間、同時押しされていないと判断した場合(ステップS132の「No」)には、禁止タイマーが無限に設定済か否かを判断する(ステップS134)。そして、禁止タイマーが無限に設定済であると判断した場合(ステップS134の「Yes」)には、処理をステップS101に戻し、禁止タイマーが無限に設定済でないと判断した場合(ステップS134の「No」)には、所定時間に、スイッチ同時押しカウンタのカウンタ値と2分を乗じたものを加算した値を禁止タイマーの設定時間として、禁止タイマーを再スタートさせ(ステップS135)、処理をステップS101に戻す。つまり、可変部180が所定期間を延長する。なお、本実施形態では所定時間に加算する値をスイッチ同時押しカウンタのカウンタ値と2分を乗じたものとしたが、これに限定されるものではない。 At this time, if it is determined that the communication control unit 170 is simultaneously pressed for 3 seconds continuously after being simultaneously pressed (“Yes” in step S132), the prohibition timer for a predetermined time is set infinitely. (Step S133), and the process returns to step S101. That is, unless the unlocking unit 190 cancels the invalidation of the authentication communication for unlocking, the variable unit 180 is predetermined so that the invalidation is not canceled by timing the elapse of the predetermined time by the timer 172. Set the period to infinity. On the other hand, when the communication control unit 170 determines that the simultaneous pressing has not been performed for 3 consecutive seconds since the first simultaneous pressing (“No” in step S132), the prohibition timer has been set infinitely. Whether or not it is determined (step S134). Then, when it is determined that the prohibition timer has been set infinitely (“Yes” in step S134), the process is returned to step S101, and when it is determined that the prohibition timer has not been set infinitely (“Yes” in step S134). In "No"), the prohibition timer is restarted (step S135) with the value obtained by adding the counter value of the switch simultaneous pressing counter multiplied by 2 minutes to the predetermined time as the setting time of the prohibition timer, and the process is stepped. Return to S101. That is, the variable portion 180 extends the predetermined period. In the present embodiment, the value to be added to the predetermined time is multiplied by the counter value of the switch simultaneous pressing counter and 2 minutes, but the present invention is not limited to this.

<本実施形態の効果>
以上、説明したように、本実施形態によれば、電子キー100が、電気錠200との間の無線通信を制御する通信制御部170を備え、通信制御部170が、電気錠200との間で、施錠のための認証通信が完了した後、所定期間、電気錠200との間の解錠のための認証通信を無効化する。つまり、電気錠200からの施錠用チャレンジコード信号に応じて、電子キー100が、施錠用レスポンスコード信号を返信し、または、ユーザーが電子キー100を操作して施錠信号を送信して、電気錠200において施錠認証通信がなされると、電子キー100が電気錠200を解錠するための解錠通信を一定時間無効化する構成とした。
したがって、例えば、帰宅時に扉を解錠し、施錠した直後に外から解錠できてしまう問題や、システムの脆弱性を突き中継器を利用して、不正解錠を行う、所謂、リレーアタックが行われて、窃盗等の犯罪が発生するということを未然に防ぐことができる。
また、所定時間後は、機能回復するため、ユーザーが次に電子キー100を使うときに不便さを感じることがない。
さらに、電子キー100のみの変更で対応することが可能であるため、電気錠200を変更する必要がなく、電子キー100だけ変更すればリレーアタック等の不正行為を阻止する電気錠200となり、コストを抑えて盗難防止性能を高めることができる。
<Effect of this embodiment>
As described above, according to the present embodiment, the electronic key 100 includes a communication control unit 170 that controls wireless communication with the electric lock 200, and the communication control unit 170 is between the electric lock 200 and the electric lock 200. Then, after the authentication communication for locking is completed, the authentication communication for unlocking with the electric lock 200 is invalidated for a predetermined period. That is, in response to the lock challenge code signal from the electric lock 200, the electronic key 100 returns the lock response code signal, or the user operates the electronic key 100 to transmit the lock signal to transmit the electric lock. When the lock authentication communication is performed in the 200, the electronic key 100 invalidates the unlock communication for unlocking the electric lock 200 for a certain period of time.
Therefore, for example, there is a so-called relay attack in which the door is unlocked when returning home and the door can be unlocked from the outside immediately after locking, or the system is vulnerable and illegally unlocked using a repeater. It is possible to prevent crimes such as theft from occurring.
Further, since the function is restored after a predetermined time, the user does not feel inconvenience when using the electronic key 100 next time.
Further, since it is possible to respond by changing only the electronic key 100, it is not necessary to change the electric lock 200, and if only the electronic key 100 is changed, the electric lock 200 becomes an electric lock 200 that prevents fraudulent acts such as relay attack, and the cost is high. It is possible to improve the anti-theft performance by suppressing.

また、本実施形態によれば、通信制御部170が、所定期間内に、電気錠200からの解錠のための認証信号を受信したことを検知した場合には、上記所定期間を延長することとした。
そのため、電子キー100に対して、解錠用チャレンジコード信号が不正に送られている状況下であっても、電子キー100が電気錠200を解錠するための解錠通信の無効化を継続するため、セキュリティ性を向上させることができる。
Further, according to the present embodiment, when the communication control unit 170 detects that the authentication signal for unlocking from the electric lock 200 is received within the predetermined period, the predetermined period is extended. And said.
Therefore, even under the situation where the unlocking challenge code signal is illegally sent to the electronic key 100, the electronic key 100 continues to invalidate the unlocking communication for unlocking the electric lock 200. Therefore, the security can be improved.

また、本実施形態によれば、ユーザーが、所定期間を可変するための可変部を備える構成とした。
これにより、解錠認証を無効にする時間をユーザーが設定可能であるため、ユーザーの都合に応じて、個別に設定が可能となり、利便性が高くなる。
Further, according to the present embodiment, the user is provided with a variable portion for changing a predetermined period.
As a result, since the user can set the time for disabling the unlock authentication, it is possible to set it individually according to the convenience of the user, which is highly convenient.

また、本実施形態によれば、ユーザーが、解錠のための認証通信の無効化を解除する解除部を備える構成とした。
これにより、必要な場合には、ユーザーの意思により、解錠操作が可能であるため、利便性が低下することがない。
なお、実施形態においては、電子キー100の解錠スイッチ120を押下することにより、認証通信の停止を解除できることを例示いたが、このように、既存のスイッチを流用することにより、コストアップを抑制して、機能強化を図ることができる。
Further, according to the present embodiment, the user is provided with a release unit for canceling the invalidation of the authentication communication for unlocking.
As a result, if necessary, the unlocking operation can be performed at the user's will, so that the convenience is not reduced.
In the embodiment, it is exemplified that the stop of the authentication communication can be released by pressing the unlock switch 120 of the electronic key 100. However, by diverting the existing switch in this way, the cost increase is suppressed. Then, the function can be enhanced.

なお、本発明の各処理を実行するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、当該記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、電子キー100の各処理に係る上述した種々の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器などのハードウェアを含むものであってもよい。また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリなどの書き込み可能な不揮発性メモリ、CD−ROMなどの可搬媒体、コンピュータシステムに内蔵されるハードディスクなどの記憶装置のことをいう。 By recording a program for executing each process of the present invention on a computer-readable recording medium, causing the computer system to read the program recorded on the recording medium, and executing the program, each of the electronic keys 100 is executed. The various processes described above may be performed. The "computer system" here may include hardware such as an OS and peripheral devices. Further, the "computer system" includes the homepage providing environment (or display environment) if the WWW system is used. The "computer-readable recording medium" includes flexible disks, magneto-optical disks, ROMs, writable non-volatile memories such as flash memories, portable media such as CD-ROMs, hard disks built into computer systems, and the like. Refers to the storage device of.

さらに「コンピュータ読み取り可能な記録媒体」とは、インターネットなどのネットワークや電話回線などの通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、このプログラムを記憶装置などに格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネットなどのネットワーク(通信網)や電話回線などの通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。 Further, the "computer-readable recording medium" is a volatile memory inside a computer system that serves as a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line (for example, DRAM (Dynamic)). It also includes those that hold the program for a certain period of time, such as Random Access Memory)). Further, the program may be transmitted from a computer system in which this program is stored in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the "transmission medium" for transmitting a program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. Further, the above program may be for realizing a part of the above-mentioned functions. Further, it may be a so-called difference file (difference program) that can realize the above-mentioned function in combination with a program already recorded in the computer system.

以上、この発明の実施形態および実施例につき、図面を参照して詳述してきたが、具体的な構成はこの実施形態あるいは実施例に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。例えば、本実施形態においては、電気錠の設置場所として便宜的に、家屋のドアを例示して説明したが、本実施形態に係る電気錠が車両のドアに設けられるような施解錠システムにおいても、同等の効果を期待できる。 Although the embodiments and examples of the present invention have been described in detail with reference to the drawings, the specific configuration is not limited to the embodiments or the embodiments and does not deviate from the gist of the present invention. Design etc. are also included. For example, in the present embodiment, the door of the house has been illustrated as an example for the convenience of installing the electric lock, but also in the locking / unlocking system in which the electric lock according to the present embodiment is provided on the door of the vehicle. , The same effect can be expected.

100;電子キー
110;施錠スイッチ
120;解錠スイッチ
130;LF受信部
140;受信アンテナ
150;UHF発信部
160;送信アンテナ
170;通信制御部
171;メモリ
172;タイマー
173;可変部
174;解除部
200;電気錠
201;ドア
202;操作錠部
203;ドアハンドル
210;LF発信部
220;送信アンテナ
230;UHF受信部
240;受信アンテナ
250;制御部
251;タイマー
252;メモリ
260;ドア施錠/解錠ユニット
261;施解錠検知部
263;錠機構
270;起動スイッチ(操作部)
280;ドア開閉検知部
290;バッテリー
100; Electronic key 110; Lock switch 120; Unlock switch 130; LF receiver 140; Receive antenna 150; UHF transmitter 160; Transmit antenna 170; Communication control unit 171; Memory 172; Timer 173; Variable unit 174; Release unit 200; Electric lock 201; Door 202; Operation lock 203; Door handle 210; LF transmitter 220; Transmit antenna 230; UHF receiver 240; Receiver antenna 250; Control unit 251; Timer 252; Memory 260; Door lock / unlock Lock unit 261; Lock / unlock detection unit 263; Lock mechanism 270; Start switch (operation unit)
280; Door open / close detector 290; Battery

Claims (4)

ユーザーが所持し、ドアを施解錠する電気錠と無線通信を行なう電子キーであって、
前記電気錠との間の前記無線通信を制御する通信制御部を備え、
前記通信制御部は、前記電気錠との間で、施錠のための認証通信が完了した後、所定期間、前記電気錠との間の解錠のための認証通信を無効化し、
前記通信制御部が、前記所定期間内に、前記電気錠からの前記解錠のための認証信号を受信したことを検知した場合に、前記所定期間を延長することを特徴とする電子キー。
An electronic key that is possessed by the user and that communicates wirelessly with an electric lock that locks and unlocks the door.
A communication control unit for controlling the wireless communication with the electric lock is provided.
The communication control unit invalidates the authentication communication for unlocking with the electric lock for a predetermined period after the authentication communication for locking is completed with the electric lock .
An electronic key characterized in that when the communication control unit detects that an authentication signal for unlocking from the electric lock has been received within the predetermined period, the predetermined period is extended.
ユーザーが、前記所定期間を可変するための可変部を備えたことを特徴とする請求項1に記載の電子キー。 User, the electronic key according to claim 1, characterized in that with a variable section for varying the predetermined time period. ユーザーが、前記解錠のための認証通信の無効化を解除する解除部を備えたことを特徴とする請求項1または請求項のいずれかに記載の電子キー。 The electronic key according to claim 1 or 2 , wherein the user includes a release unit for releasing the invalidation of the authentication communication for unlocking. ユーザーが所持し、ドアを施解錠する電気錠と無線通信を行なう電子キーにおける通信制御方法であって、
前記電気錠との間の前記無線通信を制御する通信制御部が、前記電気錠との間で、施錠のための認証通信が完了した後、所定期間、前記電気錠との間の解錠のための認証通信を無効化し、前記通信制御部が、前記所定期間内に、前記電気錠からの前記解錠のための認証信号を受信したことを検知した場合に、前記所定期間を延長することを特徴とする通信制御方法。
It is a communication control method in an electronic key that is possessed by the user and performs wireless communication with an electric lock that locks and unlocks the door.
After the communication control unit that controls the wireless communication with the electric lock completes the authentication communication for locking with the electric lock, the unlocking with the electric lock is performed for a predetermined period. When the communication control unit detects that the authentication signal for unlocking from the electric lock is received within the predetermined period, the authentication communication for the purpose is invalidated, and the predetermined period is extended. A communication control method characterized by.
JP2017164138A 2017-08-29 2017-08-29 Electronic key and communication control method Active JP6986905B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017164138A JP6986905B2 (en) 2017-08-29 2017-08-29 Electronic key and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017164138A JP6986905B2 (en) 2017-08-29 2017-08-29 Electronic key and communication control method

Publications (2)

Publication Number Publication Date
JP2019039276A JP2019039276A (en) 2019-03-14
JP6986905B2 true JP6986905B2 (en) 2021-12-22

Family

ID=65725431

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017164138A Active JP6986905B2 (en) 2017-08-29 2017-08-29 Electronic key and communication control method

Country Status (1)

Country Link
JP (1) JP6986905B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004300802A (en) * 2003-03-31 2004-10-28 Mitsubishi Motors Corp Radio encryption collating key device for vehicle
JP5508220B2 (en) * 2010-10-14 2014-05-28 株式会社東海理化電機製作所 Electronic key system

Also Published As

Publication number Publication date
JP2019039276A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
US10137859B2 (en) Automotive security apparatus and associated methods
WO2017006755A1 (en) Mobile electronic key device and electronic key system
JP6693327B2 (en) Vehicle control device
US9786110B2 (en) On-vehicle apparatus control system and on-vehicle control device
JP6794931B2 (en) Vehicle control system
US20190106084A1 (en) Car sharing system
KR102225967B1 (en) Defense of a relay attack
JP3894870B2 (en) Remote locking and unlocking device for vehicles
JP7365515B2 (en) System and method for key fob communication disconnection
US5955981A (en) Security for remote operation devices
US20150235492A1 (en) Triple Password Proximity-Interrogative Smart Fob Switching Of Electrical Device
JP5460550B2 (en) Electronic key system
WO2007011311A2 (en) Biometric transponder system
JP6986905B2 (en) Electronic key and communication control method
JP2009030400A (en) Locking/unlocking control system
JP2020033707A (en) Electronic key system, authentication device and portable device
JP6836878B2 (en) Electric lock
JP2009293283A (en) Electronic key system of vehicle
JP2019073206A (en) System and the like
KR101734947B1 (en) Smart key system, and preventing method for hacking in the same
GB2592851A (en) Key fob
JP5451660B2 (en) Electronic key and electronic key system
JP2015132050A (en) Automatic locking system
JP7348787B2 (en) Control device, smart key system, control method, and portable device
JP2018204201A (en) Portable machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200803

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210722

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211116

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211130

R150 Certificate of patent or registration of utility model

Ref document number: 6986905

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150