JP2018020611A - Vehicle door unlocking device - Google Patents

Vehicle door unlocking device Download PDF

Info

Publication number
JP2018020611A
JP2018020611A JP2016151577A JP2016151577A JP2018020611A JP 2018020611 A JP2018020611 A JP 2018020611A JP 2016151577 A JP2016151577 A JP 2016151577A JP 2016151577 A JP2016151577 A JP 2016151577A JP 2018020611 A JP2018020611 A JP 2018020611A
Authority
JP
Japan
Prior art keywords
vehicle
time
threshold time
response time
door
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016151577A
Other languages
Japanese (ja)
Other versions
JP6658390B2 (en
Inventor
正 柴田
Tadashi Shibata
正 柴田
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2016151577A priority Critical patent/JP6658390B2/en
Publication of JP2018020611A publication Critical patent/JP2018020611A/en
Application granted granted Critical
Publication of JP6658390B2 publication Critical patent/JP6658390B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To properly unlock a vehicle door by determining a relay attack with high accuracy.SOLUTION: A request signal is transmitted to a portable machine, and an answer signal transmitted by the portable machine according to the request signal is received. At the time, a response time until the answer signal is received after transmitting the request signal is measured. When the response time is shorter than a threshold time stored corresponding to identification information included in the answer signal received by the reception section, a door is unlocked. When the response time is longer than the threshold time, the door is not unlocked. The threshold time used for the determination at the time is determined on the basis of a result obtained by an actual measurement of the response time in the measurement section of a vehicle door unlocking device.SELECTED DRAWING: Figure 8

Description

本発明は、車両に搭載されて、車両利用者の携帯機と通信を行うことによって車両のドアの解錠を行う技術に関する。   The present invention relates to a technique for unlocking a vehicle door by being mounted on a vehicle and communicating with a portable device of a vehicle user.

車両のドアの解錠を行う技術としては、車両利用者が携帯機(いわゆる携帯キー)のボタンを操作すると、携帯機から車両に信号が送信されて、ドアの解錠が行われる技術が知られている。このような技術を採用すると、ドアの解錠を行う際に鍵を鍵穴に挿入する手間を省くことができ、また、鍵穴を設けなくてもよいので、ピッキングを防止することもできる。   As a technique for unlocking a door of a vehicle, a technique is known in which when a vehicle user operates a button of a portable device (so-called portable key), a signal is transmitted from the portable device to the vehicle and the door is unlocked. It has been. When such a technique is adopted, it is possible to save the trouble of inserting the key into the keyhole when unlocking the door, and it is not necessary to provide the keyhole, so that picking can be prevented.

近年では、車両利用者が携帯機を持っていれば、ボタン操作等の特別な操作を行わなくても、該携帯機と車両とが自動的に通信を行って、ドアの解錠を行う技術が広まりつつある。このような技術は、車両利用者の利便性の更なる向上を図ることができるものの、いわゆるリレーアタックと称される不正行為が行われる虞があった。   In recent years, if a vehicle user has a portable device, the portable device and the vehicle automatically communicate with each other and unlock the door without performing a special operation such as a button operation. Is spreading. Although such a technique can further improve the convenience of the vehicle user, there is a risk that an illegal act called a so-called relay attack may be performed.

すなわち、上述の技術では、携帯機は、車両の通信範囲内(例えば、車両から1〜2mの範囲内)に進入すると車両からのリクエスト信号を受信し、該リクエスト信号に応じて識別情報(ID)を含むアンサー信号を車両に送信する。そして、車両は、アンサー信号に含まれる識別情報が正しいものであればドアの解錠を行う。従って、本来ならば、携帯機が車両の通信範囲内に存在しないと、例えば、携帯機が車両から離れた車両利用者の住居等に存在すると、携帯機にリクエスト信号が届かないので、アンサー信号が車両に送信されることもなく、車両のドアが解錠されることはない。
リレーアタックは、このように携帯機が車両の通信範囲内に存在しない場合であっても、リクエスト信号およびアンサー信号を車両と携帯機との間で送受信させて、ドアの不正解錠を行う技術である。詳しくは、車両の通信範囲内を含む複数箇所に中継装置を配置し、これらの中継装置を介して、リクエスト信号およびアンサー信号を、車両から離れた位置に存在する携帯機と車両との間で送受信させて、ドアの不正解錠を行う技術である。従って、リレーアタックが行われることによって、例えば、車両利用者が就寝中であり、携帯機が車両から10mほど離れた車両利用者の住居に存在する場合であっても、ドアが不正解錠されて車両が盗難される虞がある。
That is, in the above-described technology, when the portable device enters the communication range of the vehicle (for example, within a range of 1 to 2 m from the vehicle), the portable device receives a request signal from the vehicle, and identifies information (ID) according to the request signal. ) Is sent to the vehicle. The vehicle unlocks the door if the identification information included in the answer signal is correct. Therefore, if the portable device does not exist within the communication range of the vehicle, for example, if the portable device is present in a vehicle user's residence away from the vehicle, the request signal does not reach the portable device. Is not transmitted to the vehicle and the vehicle door is not unlocked.
Relay attack is a technology that allows unauthorized unlocking of doors by transmitting and receiving request signals and answer signals between the vehicle and the portable device even when the portable device is not within the communication range of the vehicle. It is. Specifically, relay devices are arranged at a plurality of locations including within the communication range of the vehicle, and the request signal and the answer signal are transmitted between the portable device and the vehicle that are located away from the vehicle via these relay devices. It is a technology that allows unauthorized door unlocking by transmitting and receiving. Therefore, when the relay attack is performed, for example, even when the vehicle user is sleeping and the portable device exists in the residence of the vehicle user about 10 m away from the vehicle, the door is illegally unlocked. The vehicle may be stolen.

このようなリレーアタックによる不正解錠を防止することを目的として、リクエスト信号が送信してからアンサー信号を受信するまでの応答時間を計測し、この応答時間が所定の閾時間以上である場合にはドアの解錠を行わない車両ドア解錠装置が提案されている(特許文献1)。すなわち、リレーアタックが行われる場合は、リクエスト信号およびアンサー信号は中継装置を経由することから、中継装置を介さない場合よりも応答時間が長くなることが推測される。そこで、この車両ドア解錠装置では、応答時間が所定の閾時間以上である場合は、中継装置が利用された(リレーアタックが行われた)と判定して、ドアの解錠を行わないこととしている。   In order to prevent such unauthorized unlocking by relay attack, the response time from when the request signal is transmitted until the answer signal is received is measured, and this response time is equal to or longer than a predetermined threshold time. Has proposed a vehicle door unlocking device that does not unlock the door (Patent Document 1). That is, when a relay attack is performed, the request signal and the answer signal pass through the relay device, so it is estimated that the response time is longer than when the relay device is not passed. Therefore, in this vehicle door unlocking device, if the response time is equal to or greater than a predetermined threshold time, it is determined that the relay device has been used (relay attack has been performed) and the door is not unlocked. It is said.

特許第3909226号公報Japanese Patent No. 3909226

しかし、上述の車両ドア解錠装置では、リレーアタックの判定を高い精度で行うことが困難であるため、車両のドアを適切に解錠することができないという問題があった。すなわち、上述の車両ドア解錠装置は、ロット単位で(複数体がまとめて)生産されるので、車両ドア解錠装置には、次のような手順で閾時間が記憶される。先ず、開発段階において、中継装置を介さない場合の応答時間を推定し、この応答時間に基づいて閾時間を決定する。そして、製造段階において、この閾時間を、複数体の車両ドア解錠装置に一律に記憶させる。もっとも、車両ドア解錠装置がロット単位で生産された場合であっても製造誤差などの個体差があるため、生産された複数体の車両ドア解錠装置間で応答時間にバラツキがある。このため、一律に記憶された閾時間は、それぞれの車両ドア解錠装置の実際の応答時間に対応していない場合があり、この場合は、リレーアタックの判定を高い精度で行うことができないという問題があった。   However, in the above-described vehicle door unlocking device, it is difficult to determine the relay attack with high accuracy, and thus there is a problem that the vehicle door cannot be unlocked appropriately. That is, since the vehicle door unlocking device described above is produced in units of lots (a plurality of units are collected together), the threshold time is stored in the vehicle door unlocking device in the following procedure. First, in the development stage, a response time when no relay device is used is estimated, and a threshold time is determined based on this response time. In the manufacturing stage, the threshold time is uniformly stored in a plurality of vehicle door unlocking devices. However, even when the vehicle door unlocking device is produced in units of lots, there are individual differences such as manufacturing errors, and thus there is a variation in response time among the produced vehicle door unlocking devices. For this reason, the uniformly stored threshold time may not correspond to the actual response time of each vehicle door unlocking device, and in this case, the relay attack cannot be determined with high accuracy. There was a problem.

この発明は、従来技術が有する上述した課題に鑑みてなされたものであり、リレーアタックの判定を高い精度で行うことによって、車両のドアを適切に解錠する技術の提供を目的とする。   The present invention has been made in view of the above-described problems of the prior art, and an object thereof is to provide a technique for appropriately unlocking a vehicle door by performing a relay attack determination with high accuracy.

上述した課題を解決するために本発明の車両ドア解錠装置は、携帯機に向けてリクエスト信号を送信し、リクエスト信号に応じて携帯機が送信したアンサー信号を受信する。この際、リクエスト信号を送信してからアンサー信号を受信するまでの応答時間を計測する。そして、受信部が受信したアンサー信号に含まれる識別情報に対応付けて記憶された閾時間よりも応答時間が短い場合はドアを解錠し、該閾時間よりも応答時間が長い場合はドアを解錠しないこととしている。このときの判断に利用される上述の閾時間は、応答時間を当該車両ドア解錠装置の計測部で実測した結果に基づいて決定される。   In order to solve the above-described problem, the vehicle door unlocking device of the present invention transmits a request signal to the portable device and receives an answer signal transmitted by the portable device in response to the request signal. At this time, the response time from when the request signal is transmitted to when the answer signal is received is measured. When the response time is shorter than the threshold time stored in association with the identification information included in the answer signal received by the receiving unit, the door is unlocked. When the response time is longer than the threshold time, the door is unlocked. It is decided not to unlock. The above threshold time used for the determination at this time is determined based on the result of actual measurement of the response time by the measurement unit of the vehicle door unlocking device.

このような車両ドア解錠装置では、応答時間を当該車両ドア解錠装置の計測部で実測した結果に基づいて閾時間が決定されるので、閾時間は、当該車両ドア解錠装置の応答時間に対応するものとなる。このため、リレーアタックの判定を高い精度で行うことができ、車両のドアを適切に解錠することができる。   In such a vehicle door unlocking device, the threshold time is determined based on the result of the response time actually measured by the measurement unit of the vehicle door unlocking device, and therefore the threshold time is the response time of the vehicle door unlocking device. It will correspond to. For this reason, determination of relay attack can be performed with high accuracy, and the door of the vehicle can be unlocked appropriately.

本実施例のドアロック制御装置100の大まかな内部構成を示す説明図である。It is explanatory drawing which shows the rough internal structure of the door lock control apparatus 100 of a present Example. 本実施例のドアロック制御装置100が実行する解錠処理のフローチャートである。It is a flowchart of the unlocking process which the door lock control apparatus 100 of a present Example performs. 本実施例のドアロック制御装置100に対してリレーアタックが行われる際の大まかな構成を示す説明図である。It is explanatory drawing which shows a rough structure when a relay attack is performed with respect to the door lock control apparatus 100 of a present Example. リレーアタックの有無による応答時間の相違を示す説明図である。It is explanatory drawing which shows the difference in the response time by the presence or absence of a relay attack. 従来のドアロック制御装置に記憶されている閾時間を示す説明図である。It is explanatory drawing which shows the threshold time memorize | stored in the conventional door lock control apparatus. 従来のドアロック制御装置の閾時間を利用した場合の問題点を示す説明図である。It is explanatory drawing which shows the problem at the time of utilizing the threshold time of the conventional door lock control apparatus. 本実施例のドアロック制御装置100に記憶されている閾時間を示す説明図である。It is explanatory drawing which shows the threshold time memorize | stored in the door lock control apparatus 100 of a present Example. 本実施例のドアロック制御装置100の閾時間を利用した場合の効果を示す説明図である。It is explanatory drawing which shows the effect at the time of utilizing the threshold time of the door lock control apparatus 100 of a present Example. 変形例1のドアロック制御装置100に記憶されている閾時間を示す説明図である。It is explanatory drawing which shows the threshold time memorize | stored in the door lock control apparatus 100 of the modification 1. 変形例2のドアロック制御装置100に記憶されている閾時間を示す説明図である。It is explanatory drawing which shows the threshold time memorize | stored in the door lock control apparatus 100 of the modification 2. 変形例3のドアロック制御装置300の大まかな内部構成を示す説明図である。It is explanatory drawing which shows the rough internal structure of the door lock control apparatus 300 of the modification 3. 変形例3のドアロック制御装置300によって実行される閾時間記憶処理のフローチャートである。It is a flowchart of the threshold time memory | storage process performed by the door lock control apparatus 300 of the modification 3. 車両1のエンジンの始動を許可するための構成を示す説明図である。FIG. 3 is an explanatory diagram showing a configuration for permitting the start of the engine of the vehicle 1.

以下では、上述した本願発明の内容を明確にするために実施例について説明する。
A.装置構成 :
図1には、本実施例の「ドアロック制御装置100」の大まかな構成が示されている。本実施例では「ドアロック制御装置100」が本発明における「車両ドア解錠装置」に相当する。
ドアロック制御装置100は、車両1に設けられており、車両1の利用者が携帯する携帯機200と通信を行うことによって車両1のドアを解錠および施錠する装置である。詳しくは、ドアロック制御装置100は、携帯機200に「リクエスト信号」を送信すると共に、該「リクエスト信号」に応答して携帯機200から送信される「アンサー信号」に基づいて、車両1のドアを解錠および施錠する装置である。ドアロック制御装置100は、図示されるように、RF受信部11と、車外LF送信部12と、車内LF送信部13と、ID判定部14と、記憶部15と、応答時間計測部16と、リレーアタック判定部17と、解錠指示部18と、施錠指示部19とを備えている。尚、これら9つの「部」は、ドアロック制御装置100の内部を便宜的に分類した抽象的な概念であり、ドアロック制御装置100が物理的に9つの部分に区分されることを表すものではない。従って、これらの「部」は、CPUで実行されるコンピュータープログラムとして実現することもできるし、LSIやメモリーを含む電子回路として実現することもできるし、更にはこれらを組み合わせることによって実現することもできる。
Hereinafter, examples will be described in order to clarify the contents of the present invention described above.
A. Device configuration :
FIG. 1 shows a rough configuration of the “door lock control device 100” of the present embodiment. In this embodiment, the “door lock control device 100” corresponds to the “vehicle door unlocking device” in the present invention.
The door lock control device 100 is provided in the vehicle 1 and is a device that unlocks and locks the door of the vehicle 1 by communicating with a portable device 200 carried by a user of the vehicle 1. Specifically, the door lock control device 100 transmits a “request signal” to the portable device 200 and, based on an “answer signal” transmitted from the portable device 200 in response to the “request signal”, A device for unlocking and locking a door. As shown in the figure, the door lock control device 100 includes an RF receiving unit 11, an out-of-vehicle LF transmitting unit 12, an in-vehicle LF transmitting unit 13, an ID determining unit 14, a storage unit 15, and a response time measuring unit 16. The relay attack determination unit 17, the unlock instruction unit 18, and the lock instruction unit 19 are provided. These nine “parts” are abstract concepts classified for convenience in the interior of the door lock control device 100, and represent that the door lock control device 100 is physically divided into nine parts. is not. Therefore, these “units” can be realized as a computer program executed by the CPU, can be realized as an electronic circuit including an LSI or a memory, or can be realized by combining them. it can.

RF受信部11には、RF受信アンテナ11aが接続されている。RF受信部11は、RF受信アンテナ11aを介して、携帯機200から「アンサー信号」として送信されるRF信号(例えば、周波数315MHzの信号)を受信する。
車外LF送信部12には、車両1のドアの外側(例えばドアの外側の把持部など)に設けられた車外LF送信アンテナ12aが接続されている。車外LF送信部12は、車外LF送信アンテナ12aを介して、「リクエスト信号」としてLF信号(例えば、周波数125kHzの信号)を送信する。この車外LF送信アンテナ12aから送信される「リクエスト信号」の到達範囲(以下「車外到達範囲」という)は、車両1の外側であって車両1の近辺までとなるように(例えば、車両1のドアから1mの範囲内に)設定されている。従って、車外LF送信部12から送信される「リクエスト信号」は、「車外到達範囲(車両1の外側であって車両1の近辺)」に存在する携帯機200、すなわち、車両1の傍らに居る車両1の利用者が携帯している携帯機200に受信されることとなる。
車内LF送信部13には、車両1内に設けられた車内LF送信アンテナ13aが接続されている。車内LF送信部13は、車内LF送信アンテナ13aを介して、「リクエスト信号」としてLF信号(例えば、周波数125kHzの信号)を送信する。この車内LF送信アンテナ13aから送信される「リクエスト信号」の到達範囲(以下「車内到達範囲」)は、車両1の車室内に設定されている。従って、車内LF送信部13から送信される「リクエスト信号」は、「車内到達範囲(車両1の車室内)」に存在する携帯機200、すなわち、車両1の乗員が携帯している携帯機200に受信されることとなる。
An RF receiving antenna 11 a is connected to the RF receiving unit 11. The RF reception unit 11 receives an RF signal (for example, a signal having a frequency of 315 MHz) transmitted as an “answer signal” from the portable device 200 via the RF reception antenna 11a.
An out-of-vehicle LF transmitting unit 12 is connected to an out-of-vehicle LF transmitting antenna 12a provided outside the door of the vehicle 1 (for example, a grip portion outside the door). The LF transmission unit 12 outside the vehicle transmits an LF signal (for example, a signal having a frequency of 125 kHz) as a “request signal” via the LF transmission antenna 12a outside the vehicle. The reachable range of the “request signal” transmitted from the outside-LF transmission antenna 12a (hereinafter referred to as “outside-vehicle reachable range”) is outside the vehicle 1 and close to the vehicle 1 (for example, the vehicle 1 (Within 1 m from the door). Therefore, the “request signal” transmitted from the outside LF transmitter 12 is in the portable device 200 existing in the “outside vehicle reach (outside the vehicle 1 and in the vicinity of the vehicle 1)”, that is, beside the vehicle 1. It is received by the portable device 200 carried by the user of the vehicle 1.
An in-vehicle LF transmission antenna 13 a provided in the vehicle 1 is connected to the in-vehicle LF transmission unit 13. The in-vehicle LF transmitter 13 transmits an LF signal (for example, a signal having a frequency of 125 kHz) as a “request signal” via the in-vehicle LF transmission antenna 13a. The reach range of the “request signal” transmitted from the in-vehicle LF transmitting antenna 13 a (hereinafter “in-vehicle reach range”) is set in the vehicle interior of the vehicle 1. Therefore, the “request signal” transmitted from the in-vehicle LF transmission unit 13 is a portable device 200 existing in the “in-vehicle reachable range (vehicle interior of the vehicle 1)”, that is, the portable device 200 carried by the passenger of the vehicle 1. Will be received.

ID判定部14は、RF受信部11が受信した「アンサー信号」に基づいて携帯機200のID(識別情報)を検出し、検出したIDが予め記憶部15に記憶(登録)されたIDに一致しているか否かを判定する。すなわち、携帯機200は固有のIDを有しており、この携帯機200から送信される「アンサー信号」には、この固有のIDが含まれている。そこで、ID判定部14は、このIDが予め登録されたIDに一致しているか否かを判定する。
応答時間計測部16は、車外LF送信部12が「リクエスト信号」を送信してから(あるいは送信処理を開始してから)RF受信部11が「アンサー信号」を受信するまで(あるいは受信処理を終了するまで)の応答時間を計測する。
リレーアタック判定部17は、上述の応答時間に基づいてリレーアタックが行われたか否かを判定する。詳しくは後述するが、リレーアタックとは、車両1のドアを不正に解錠するための行為である。リレーアタックが行われる場合はリレーアタックが行われない場合よりも上述の応答時間が長くなることから、リレーアタック判定部17は、上述の応答時間が所定の閾時間より長くなった場合にリレーアタックが行われたと判定する。
The ID determination unit 14 detects the ID (identification information) of the portable device 200 based on the “answer signal” received by the RF reception unit 11, and the detected ID is set to the ID stored (registered) in the storage unit 15 in advance. It is determined whether or not they match. That is, the portable device 200 has a unique ID, and the “answer signal” transmitted from the portable device 200 includes this unique ID. Therefore, the ID determination unit 14 determines whether or not this ID matches a previously registered ID.
The response time measurement unit 16 transmits the “request signal” from the vehicle LF transmission unit 12 (or starts the transmission process) until the RF reception unit 11 receives the “answer signal” (or performs the reception process). Measure the response time until it is finished.
The relay attack determination unit 17 determines whether or not a relay attack has been performed based on the response time described above. As will be described in detail later, the relay attack is an action for illegally unlocking the door of the vehicle 1. When the relay attack is performed, the above-described response time becomes longer than when the relay attack is not performed. Therefore, the relay attack determination unit 17 performs the relay attack when the above-described response time is longer than a predetermined threshold time. Is determined to have been performed.

解錠指示部18は、ID判定部14およびリレーアタック判定部17の判定結果に基づいて、車両1のドアを解錠するための解錠信号を送信する。すなわち、ID判定部14が「アンサー信号」から検出した携帯機200のIDが記憶部15に登録されているIDに一致していると判定し、且つ、リレーアタック判定部17がリレーアタックなし(リレーアタックが行われていない)と判定した場合に、ドアロックアクチュエーター(ドアロックの駆動装置)に解錠信号を送信する。ドアロックアクチュエーターは、解錠信号を受信すると、ドアロックを駆動して車両1のドアを解錠する。   The unlocking instruction unit 18 transmits an unlocking signal for unlocking the door of the vehicle 1 based on the determination results of the ID determination unit 14 and the relay attack determination unit 17. That is, the ID determination unit 14 determines that the ID of the portable device 200 detected from the “answer signal” matches the ID registered in the storage unit 15, and the relay attack determination unit 17 has no relay attack ( When it is determined that the relay attack is not performed), an unlock signal is transmitted to the door lock actuator (door lock driving device). When receiving the unlock signal, the door lock actuator drives the door lock to unlock the door of the vehicle 1.

施錠指示部19は、乗員が車両1の車室から退出した(降車した)場合に、車両1のドアを施錠するための施錠信号を送信する。詳しくは、車内LF送信部13から送信した「リクエスト信号」に対応してRF受信部11が「アンサー信号」を受信していれば乗員が車室内に存在すると判断し、その後、エンジンが停止されてドアが閉じられた際に、車外LF送信部12から送信した「リクエスト信号」に対応してRF受信部11が「アンサー信号」を受信していれば乗員が車室外に存在する(降車した)と判断して、ドアロックアクチュエーターに施錠信号を送信する。ドアロックアクチュエーターは、施錠信号を受信すると、ドアロックを駆動して車両1のドアを施錠する。   The locking instruction unit 19 transmits a locking signal for locking the door of the vehicle 1 when the occupant exits (gets off) from the passenger compartment of the vehicle 1. Specifically, if the RF receiver 11 receives an “answer signal” in response to the “request signal” transmitted from the in-vehicle LF transmitter 13, it is determined that the passenger is present in the passenger compartment, and then the engine is stopped. If the RF receiver 11 receives an “answer signal” corresponding to the “request signal” transmitted from the outside LF transmitter 12 when the door is closed, the occupant is outside the vehicle compartment ) And a lock signal is transmitted to the door lock actuator. When receiving the locking signal, the door lock actuator drives the door lock to lock the door of the vehicle 1.

尚、車外LF送信部12は本発明における「送信部」に相当し、RF受信部11は本発明における「受信部」に相当し、応答時間計測部16は本発明における「計測部」に相当し、解錠指示部18は本発明における「解錠部」に相当する。   The outside LF transmission unit 12 corresponds to the “transmission unit” in the present invention, the RF reception unit 11 corresponds to the “reception unit” in the present invention, and the response time measurement unit 16 corresponds to the “measurement unit” in the present invention. The unlocking instruction unit 18 corresponds to the “unlocking unit” in the present invention.

B.解錠処理 :
以下では、本実施例のドアロック制御装置100によって実行される解錠処理について説明する。図2には、ドアロック制御装置100によって実行される解錠処理のフローチャートが示されている。この処理は、タイマ割り込み処理として(例えば、0.1秒毎に)実行される。
ドアロック制御装置100は、解錠処理を開始すると先ず、車外LF送信部12から「リクエスト信号」を送信する(S101)。この「リクエスト信号」は、「車外到達範囲(車両1の外側であって車両1の近辺)」に存在する携帯機200に向けて送信される。続いて、車外LF送信部12が「リクエスト信号」を送信してから(あるいは送信処理を開始してから)RF受信部11が「アンサー信号」を受信するまで(あるいは受信処理を終了するまで)の応答時間の計測を、応答時間計測部16が開始する(S102)。
B. Unlocking process:
Below, the unlocking process performed by the door lock control apparatus 100 of a present Example is demonstrated. FIG. 2 shows a flowchart of the unlocking process executed by the door lock control device 100. This process is executed as a timer interrupt process (for example, every 0.1 second).
When the unlocking process is started, the door lock control device 100 first transmits a “request signal” from the outside LF transmitting unit 12 (S101). This “request signal” is transmitted toward the portable device 200 existing in the “external reach (outside of the vehicle 1 and in the vicinity of the vehicle 1)”. Subsequently, after the outside LF transmitter 12 transmits the “request signal” (or after the transmission process is started), until the RF receiver 11 receives the “answer signal” (or until the reception process ends). The response time measurement unit 16 starts measuring the response time (S102).

こうして車外LF送信部12から「リクエスト信号」を送信すると共に(S101)、応答時間の計測を開始したら(S102)、携帯機200から「アンサー信号」を受信したか否か、すなわち、S101の処理で車外LF送信部12から送信された「リクエスト信号」に応答する「アンサー信号」をRF受信部11が受信したか否かを判断する(S103)。その結果、未だ「アンサー信号」を受信していなければ(S103:no)、「リクエスト信号」を送信してからの時間が制限時間(例えば50m秒)以上となったか否か(タイムアウトとなったか否か)を判断する(S104)。その結果、未だタイムアウトとなっていなければ(S104:no)、「アンサー信号」の受信を待機し(S103)、タイムアウトとなったら(S104:yes)、そのまま解錠処理を終了する。   In this way, the “request signal” is transmitted from the outside LF transmitter 12 (S101), and when the response time measurement is started (S102), whether or not the “answer signal” is received from the portable device 200, that is, the processing of S101 Then, it is determined whether or not the RF receiver 11 has received an “answer signal” in response to the “request signal” transmitted from the LF transmitter 12 outside the vehicle (S103). As a result, if the “answer signal” has not been received yet (S103: no), whether or not the time since the transmission of the “request signal” has exceeded a time limit (eg, 50 milliseconds) (whether a timeout has occurred) (S104). As a result, if it has not timed out yet (S104: no), it waits for reception of an "answer signal" (S103), and if timed out (S104: yes), the unlocking process is terminated as it is.

タイムアウトとなる前に「アンサー信号」を受信した場合は(S103:yes)、応答時間の計測を終了すると共に計測した応答時間を記憶部15に記憶する(S105)。また、ID判定部14は、受信した「アンサー信号」からIDを検出し(S106)、検出したIDが予め記憶部15に記憶(登録)されたIDに一致しているか否かを判断する(S107)。この結果、「アンサー信号」から検出したIDが登録されていない場合は(S107:no)、車両1に対応している携帯機200とは異なる機器から送信された「アンサー信号」であると判断できるので、この場合は、車両1のドアは解錠しない(解錠信号を送信しない)。
これに対して、「アンサー信号」から検出したIDが登録されている場合は(S107:yes)、車両1に対応している携帯機200から送信された「アンサー信号」であると判断できる。この場合は、続いて、S105の処理で記憶した応答時間が閾時間未満であるか否かをリレーアタック判定部17が判断する(S108)。その結果、応答時間が閾時間未満である場合は(S108:yes)、リレーアタックなし(リレーアタックが行われなかった)と判定できるので、ドアロックアクチュエーターに解錠信号を送信することで車両1のドアを解錠する(S109)。これに対して、応答時間が閾時間以上である場合は(S108:no)、リレーアタックあり(リレーアタックが行われた)と判定できるので、車両1のドアは解錠せず(解錠信号は送信せず)、リレーアタックが行われたことを記憶する(S110)。
When the “answer signal” is received before the timeout occurs (S103: yes), the measurement of the response time is terminated and the measured response time is stored in the storage unit 15 (S105). The ID determination unit 14 detects the ID from the received “answer signal” (S106), and determines whether or not the detected ID matches the ID stored (registered) in the storage unit 15 in advance ( S107). As a result, when the ID detected from the “answer signal” is not registered (S107: no), it is determined that the “answer signal” is transmitted from a device different from the portable device 200 corresponding to the vehicle 1. In this case, the door of the vehicle 1 is not unlocked (the unlock signal is not transmitted).
On the other hand, when the ID detected from the “answer signal” is registered (S107: yes), it can be determined that the “answer signal” is transmitted from the portable device 200 corresponding to the vehicle 1. In this case, subsequently, the relay attack determination unit 17 determines whether or not the response time stored in the process of S105 is less than the threshold time (S108). As a result, when the response time is less than the threshold time (S108: yes), it can be determined that there is no relay attack (relay attack was not performed), so the vehicle 1 is transmitted by transmitting an unlock signal to the door lock actuator. The door is unlocked (S109). On the other hand, when the response time is equal to or longer than the threshold time (S108: no), it can be determined that there is a relay attack (relay attack has been performed), so the door of the vehicle 1 is not unlocked (unlock signal) Is not transmitted), the fact that the relay attack has been performed is stored (S110).

尚、リレーアタックありと判定した場合は、車両1から警告音を発報することとしてもよい。こうすると、リレーアタックが行われることを抑止することができる。また、リレーアタックありと判定した場合は、リレーアタックが行われたことを車両1の利用者(携帯機200の所有者)に報知することとしてもよい。例えば、車両1に設けられ表示部にリレーアタックが行われたことを示す情報を表示することとしてもよいし、車両1の利用者が所有する携帯機200から警告音を発報することとしてもよいし、車両1の利用者が所有するスマートフォン等の携帯端末にリレーアタックが行われたことを示す情報を送信することとしてもよい。こうすると、車両1の利用者のリレーアタックに対する注意を喚起することができる。上述したような報知は、リレーアタック判定部17によって行われる。従って、リレーアタック判定部17は、本発明における「報知部」に相当する。   When it is determined that there is a relay attack, a warning sound may be issued from the vehicle 1. This can prevent the relay attack from being performed. If it is determined that there is a relay attack, the user of the vehicle 1 (the owner of the portable device 200) may be notified that the relay attack has been performed. For example, information indicating that a relay attack has been performed may be displayed on the display unit provided in the vehicle 1, or a warning sound may be issued from the portable device 200 owned by the user of the vehicle 1. It is good also as transmitting the information which shows that the relay attack was performed to portable terminals, such as a smart phone which the user of the vehicle 1 owns. If it carries out like this, the attention with respect to the relay attack of the user of the vehicle 1 can be called. The notification as described above is performed by the relay attack determination unit 17. Therefore, the relay attack determination unit 17 corresponds to a “notification unit” in the present invention.

以上のように、本実施例のドアロック制御装置100は、「アンサー信号」から検出したIDが登録されており、且つ、応答時間が閾時間未満である場合は、車両1のドアを解錠する。すなわち、この場合は、リレーアタックが行われておらず、車両1に対応する携帯機200を携帯する車両1の利用者が「車外到達範囲(車両1の外側であって車両1の近辺)」に居ると判断できるので、車両1のドアを解錠する。これに対して、「アンサー信号」から検出したIDが登録されていても、応答時間が閾時間以上である場合は、リレーアタックが行われたと判断して、車両1のドアを解錠しないこととしている。   As described above, the door lock control device 100 according to the present embodiment unlocks the door of the vehicle 1 when the ID detected from the “answer signal” is registered and the response time is less than the threshold time. To do. That is, in this case, the relay attack is not performed, and the user of the vehicle 1 carrying the portable device 200 corresponding to the vehicle 1 is “a vehicle reachable range (outside the vehicle 1 and in the vicinity of the vehicle 1)”. Therefore, the door of the vehicle 1 is unlocked. In contrast, even if the ID detected from the “answer signal” is registered, if the response time is equal to or longer than the threshold time, it is determined that the relay attack has been performed and the door of the vehicle 1 is not unlocked. It is said.

図3には、本実施例のドアロック制御装置100に対してリレーアタックが行われる際の大まかな構成が示されている。リレーアタックとは、携帯機200が「車外到達範囲(車両1の外側であって車両1の近辺)」に存在しない場合であっても、例えば、携帯機200が車両1から離れた車両1利用者の住居等に存在する場合であっても、携帯機200とドアロック制御装置100との間で「リクエスト信号」および「アンサー信号」を送受信させて、車両1のドアを解錠させる(不正解錠を行う)技術である。詳しくは、図3に示すように、車外LF送信部12から送信される「リクエスト信号」を携帯機200まで中継する中継装置R1,R2を配置する。これらのうち中継装置R1は、車外LF送信部12から送信される「リクエスト信号」を直接受信できるように「車外到達範囲(車両1の外側であって車両1の近辺)」に配置する。そして、中継装置R1は、車外LF送信部12から送信される「リクエスト信号」を増幅したり周波数を変換したりして(例えば、RF信号に変換して)、中継装置R2に送信する。中継装置R2は、中継装置R1から受信した「リクエスト信号」の周波数を、車外LF送信部12から送信される「リクエスト信号」の周波数と同じにして(例えば、LF信号に変換して)携帯機200に送信する。こうすることで、携帯機200が「車外到達範囲(車両1の外側であって車両1の近辺)」に存在しない場合であっても、携帯機200は、車外LF送信部12から送信される「リクエスト信号」を受信することとなる。   FIG. 3 shows a rough configuration when a relay attack is performed on the door lock control device 100 of the present embodiment. For example, even when the portable device 200 does not exist in the “external reach (outside the vehicle 1 and in the vicinity of the vehicle 1)”, the relay attack is, for example, the use of the vehicle 1 in which the portable device 200 is separated from the vehicle 1 Even if it exists in a person's residence etc., a "request signal" and an "answer signal" are transmitted / received between the portable device 200 and the door lock control device 100, and the door of the vehicle 1 is unlocked (non- Technology for correct unlocking). Specifically, as illustrated in FIG. 3, relay devices R <b> 1 and R <b> 2 that relay the “request signal” transmitted from the vehicle exterior LF transmission unit 12 to the portable device 200 are arranged. Among these, the relay device R1 is arranged in the “external reach (outside the vehicle 1 and in the vicinity of the vehicle 1)” so that the “request signal” transmitted from the external LF transmitter 12 can be directly received. Then, the relay device R1 amplifies the “request signal” transmitted from the outside LF transmission unit 12 or converts the frequency (for example, converts it to an RF signal), and transmits it to the relay device R2. The relay device R2 sets the frequency of the “request signal” received from the relay device R1 to be the same as the frequency of the “request signal” transmitted from the outside LF transmission unit 12 (for example, converts it to an LF signal). 200. By doing so, the portable device 200 is transmitted from the outside LF transmission unit 12 even when the portable device 200 does not exist in the “outside vehicle reachable range (outside the vehicle 1 and in the vicinity of the vehicle 1)”. A “request signal” is received.

また、携帯機200から送信される「アンサー信号」をRF受信部11まで中継する中継装置R3,R4を配置する。携帯機200は、上述の中継装置R1,R2を介して「リクエスト信号」を受信した場合であっても、「アンサー信号」を送信するので、この「アンサー信号」を中継装置R3は受信する。そして、中継装置R3は、この「アンサー信号」を増幅して中継装置R4に送信し、中継装置R4は、この「アンサー信号」を増幅してRF受信部11に送信する。こうすることで、携帯機200が「車外到達範囲(車両1の外側であって車両1の近辺)」に存在しない場合であっても、RF受信部11は、携帯機200から送信される「アンサー信号」を受信することとなる。尚、携帯機200から送信される「アンサー信号」はRF信号であるため、当然ながら、LF信号(リクエスト信号)より到達距離が長い。このため、上述した「アンサー信号」を中継するための中継装置R3,R4を配置することなく、リレーアタックが行われることもある。   Also, relay devices R3 and R4 that relay the “answer signal” transmitted from the portable device 200 to the RF receiver 11 are arranged. Even when the portable device 200 receives the “request signal” via the relay devices R1 and R2, the relay device R3 receives the “answer signal” because it transmits the “answer signal”. Then, the relay device R3 amplifies this “answer signal” and transmits it to the relay device R4, and the relay device R4 amplifies this “answer signal” and transmits it to the RF receiver 11. In this way, even when the portable device 200 does not exist in the “external reach (outside of the vehicle 1 and in the vicinity of the vehicle 1)”, the RF receiver 11 is transmitted from the portable device 200. An answer signal is received. In addition, since the “answer signal” transmitted from the portable device 200 is an RF signal, the reach distance is naturally longer than the LF signal (request signal). For this reason, the relay attack may be performed without arranging the relay devices R3 and R4 for relaying the above-mentioned “answer signal”.

以上のようにリレーアタックが行われると、携帯機200が「車外到達範囲(車両1の外側であって車両1の近辺)」に存在しない場合であっても、携帯機200とドアロック制御装置100との間で「リクエスト信号」および「アンサー信号」が送受信されてしまうので、車両1のドアが解錠されてしまう虞がある。
そこで、本実施例のドアロック制御装置100では、リレーアタックが行われない場合と、リレーアタックが行われる場合とでは応答時間(車外LF送信部12が「リクエスト信号」を送信してから(あるいは送信処理を開始してから)RF受信部11が「アンサー信号」を受信するまで(あるいは受信処理を終了するまで)の時間)に相違があることに着目して、リレーアタックが行われた場合に車両1のドアが解錠されないようにしている。すなわち、リレーアタックが行われる場合は、車外LF送信部12から送信される「リクエスト信号」は中継装置R1,R2を経由し、携帯機200から送信される「アンサー信号」は中継装置R3,R4を経由する。従って、図4に示すように、リレーアタックが行われる場合(図中、RAなし)は、リレーアタックが行われない場合(図中、RAあり)よりも応答時間が長くなる。そこで、所定の閾時間を設定し、応答時間が閾時間未満である場合は、リレーアタックなし(リレーアタックが行われなかった)と判定して車両1のドアを解錠し、応答時間が閾時間以上である場合は、リレーアタックあり(リレーアタックが行われた)と判定して、車両1のドアを解錠しないこととしている。
When the relay attack is performed as described above, the portable device 200 and the door lock control device even if the portable device 200 does not exist in the “external reach (outside of the vehicle 1 and in the vicinity of the vehicle 1)”. Since the “request signal” and the “answer signal” are transmitted to and received from 100, the door of the vehicle 1 may be unlocked.
Therefore, in the door lock control device 100 of the present embodiment, the response time (when the vehicle exterior LF transmission unit 12 transmits a “request signal” (or when the relay attack is not performed and when the relay attack is performed) (or When a relay attack is performed focusing on the fact that there is a difference in the time from when the transmission process is started until the RF receiver 11 receives the “answer signal” (or until the reception process ends) The door of the vehicle 1 is prevented from being unlocked. That is, when a relay attack is performed, the “request signal” transmitted from the LF transmitter 12 outside the vehicle passes through the relay devices R1 and R2, and the “answer signal” transmitted from the portable device 200 is transmitted to the relay devices R3 and R4. Via. Therefore, as shown in FIG. 4, when a relay attack is performed (without RA in the figure), the response time is longer than when a relay attack is not performed (with RA in the figure). Therefore, when a predetermined threshold time is set and the response time is less than the threshold time, it is determined that there is no relay attack (no relay attack was performed), the door of the vehicle 1 is unlocked, and the response time is the threshold value. If it is more than the time, it is determined that there is a relay attack (relay attack has been performed), and the door of the vehicle 1 is not unlocked.

ここで、上述したようなドアロック制御装置100や携帯機200は、一般的にはロット単位でまとめて(複数体がまとめて)生産される。従って、ドアロック制御装置100には、次のような手順で閾時間が記憶される。先ず、開発段階において、上述のような中継装置を介さない場合の応答時間を推定し、この応答時間に基づいて閾時間を決定する。例えば、数体のドアロック制御装置100を試作して、中継装置を介さない場合の実際の応答時間を計測し、この応答時間にマージン(許容量)を加えた時間を閾時間とする。そして、製造段階において、この閾時間を、ロット内の複数のドアロック制御装置100に一律に記憶させる。例えば、図5に示すように、同ロットで製造される複数のドアロック制御装置100a、ドアロック制御装置100b、ドアロック制御装置100c、・・・・・・の記憶部15には、互いに異なるIDが記憶されるものの、閾時間としては一律にTthが記憶される。   Here, the door lock control device 100 and the portable device 200 as described above are generally produced in batches (multiple units are collected). Accordingly, the door lock control device 100 stores the threshold time in the following procedure. First, in the development stage, the response time when not using the relay device as described above is estimated, and the threshold time is determined based on this response time. For example, several door lock control devices 100 are prototyped, an actual response time when no relay device is used is measured, and a time obtained by adding a margin (allowable amount) to the response time is set as a threshold time. In the manufacturing stage, this threshold time is uniformly stored in the plurality of door lock control devices 100 in the lot. For example, as shown in FIG. 5, the storage units 15 of a plurality of door lock control devices 100a, door lock control devices 100b, door lock control devices 100c,... Manufactured in the same lot are different from each other. Although ID is stored, Tth is uniformly stored as the threshold time.

もっとも、ドアロック制御装置100や携帯機200がロット単位でまとめて生産された場合であっても製造誤差などの個体差があるため、ドアロック制御装置100と携帯機200の組み合わせによって、応答時間にバラツキがある。このため、一律に記憶された閾時間は、それぞれのドアロック制御装置100の応答時間に対応していないことがあり、この場合は、リレーアタックの判定を高い精度で行うことができず、車両1のドアを適切に解錠できないという問題があった。例えば、ドアロック制御装置100a、ドアロック制御装置100b、ドアロック制御装置100c、・・・・・・に、閾時間として一律にTthが記憶されている場合は、それぞれに同じ携帯機200を利用した場合であっても、図6に示すように、リレーアタックの判定を誤ってしまうことがある。例えば、ドアロック制御装置100aであれば、リレーアタックなしの場合の応答時間は閾時間Tthより短く、リレーアタックありの場合の応答時間は閾時間Tthより長くなるので、適切にリレーアタックの判定を行うことができる。このため、リレーアタックなしの場合は車両1のドアを解錠することができ、リレーアタックありの場合は車両1のドアを解錠しないようにすることができる。これに対して、ドアロック制御装置100bであれば、リレーアタックなしの場合の応答時間もリレーアタックありの場合の応答時間も閾時間Tthより短くなってしまうので、何れの場合もリレーアタックなしと判定されてしまう。このため、リレーアタックなしの場合だけでなく、リレーアタックありの場合も車両1のドアを解錠してしまう。また、ドアロック制御装置100cであれば、リレーアタックなしの場合の応答時間もリレーアタックありの場合の応答時間も閾時間Tthより長くなってしまうので、何れの場合もリレーアタックありと判定されてしまう。このため、リレーアタックありの場合だけでなく、リレーアタックなしの場合も車両1のドアを解錠することができなくなってしまう。   Of course, even when the door lock control device 100 and the portable device 200 are produced in batch units, there are individual differences such as manufacturing errors. Therefore, the response time depends on the combination of the door lock control device 100 and the portable device 200. There are variations. Therefore, the uniformly stored threshold time may not correspond to the response time of each door lock control device 100. In this case, the relay attack cannot be determined with high accuracy, and the vehicle There was a problem that the door 1 could not be unlocked properly. For example, when Tth is uniformly stored as the threshold time in the door lock control device 100a, the door lock control device 100b, the door lock control device 100c,..., The same portable device 200 is used for each. Even in this case, as shown in FIG. 6, the determination of the relay attack may be wrong. For example, in the case of the door lock control device 100a, the response time when there is no relay attack is shorter than the threshold time Tth, and the response time when there is a relay attack is longer than the threshold time Tth. It can be carried out. For this reason, the door of the vehicle 1 can be unlocked when there is no relay attack, and the door of the vehicle 1 can be prevented from being unlocked when there is a relay attack. On the other hand, in the case of the door lock control device 100b, the response time in the case of no relay attack is also shorter than the threshold time Tth in the case of the relay attack. It will be judged. For this reason, the door of the vehicle 1 is unlocked not only when there is no relay attack but also when there is a relay attack. In the case of the door lock control device 100c, the response time without the relay attack and the response time with the relay attack are longer than the threshold time Tth. Therefore, in both cases, it is determined that there is the relay attack. End up. For this reason, the door of the vehicle 1 cannot be unlocked not only when there is a relay attack but also when there is no relay attack.

そこで、本実施例では、ロット単位で生産されるドアロック制御装置100であっても、それぞれの個体に対応する閾時間を記憶させることとしている。詳しくは、製造段階において、それぞれのドアロック制御装置100について、中継装置を介さない場合の応答時間を応答時間計測部16に計測させ、この応答時間に基づいて閾時間を決定し、この閾時間をそれぞれのドアロック制御装置100に記憶させる。例えば、図7に示すように、ドアロック制御装置100aについて、中継装置を介さない場合の応答時間をそれぞれの応答時間計測部16で計測し、この応答時間にマージン(許容量)を加えた時間を閾時間Taとして記憶部15に記憶させる。同様に、ドアロック制御装置100b、ドアロック制御装置100cについても、それぞれ中継装置を介さない場合の応答時間を計測し、この応答時間にマージン(許容量)を加えた時間を閾時間Tb、閾時間Tcとしてそれぞれの記憶部15に記憶させる。   Therefore, in this embodiment, the threshold time corresponding to each individual is stored even in the door lock control device 100 produced in lot units. Specifically, in the manufacturing stage, for each door lock control device 100, the response time when the relay device is not passed is measured by the response time measurement unit 16, and the threshold time is determined based on the response time. Is stored in each door lock control device 100. For example, as shown in FIG. 7, for the door lock control device 100a, the response time when the relay device is not passed is measured by each response time measurement unit 16, and a margin (allowable amount) is added to the response time. Is stored in the storage unit 15 as the threshold time Ta. Similarly, with respect to the door lock control device 100b and the door lock control device 100c, the response time when the relay device is not used is measured, and the time obtained by adding a margin (allowable amount) to the response time is defined as the threshold time Tb and the threshold value. The time Tc is stored in each storage unit 15.

こうすると、それぞれのドアロック制御装置100の記憶部15に記憶された閾時間は、それぞれのドアロック制御装置100の中継装置を介さない場合の応答時間に対応するものとなるので、リレーアタックの判定を高い精度で行うことができ、車両1のドアを適切に解錠することができる。例えば、図8に示すように、ドアロック制御装置100a〜100c間で応答時間にバラツキがあったとしても、閾時間Ta〜Tcは、それぞれのドアロック制御装置100a〜100cの応答時間に対応しているので、リレーアタックの判定を正確に行うことができる。この結果、ドアロック制御装置100a〜100c間で応答時間にバラツキがあったとしても、リレーアタックなしの場合は車両1のドアを解錠することができ、リレーアタックありの場合は車両1のドアを解錠しないようにすることができる。   Thus, the threshold time stored in the storage unit 15 of each door lock control device 100 corresponds to the response time when the relay device of each door lock control device 100 is not passed. The determination can be performed with high accuracy, and the door of the vehicle 1 can be unlocked appropriately. For example, as shown in FIG. 8, even if there is a variation in response time between the door lock control devices 100a to 100c, the threshold times Ta to Tc correspond to the response times of the respective door lock control devices 100a to 100c. Therefore, it is possible to accurately determine the relay attack. As a result, even if there is a variation in response time between the door lock control devices 100a to 100c, the door of the vehicle 1 can be unlocked when there is no relay attack, and the door of the vehicle 1 when there is a relay attack. Can be unlocked.

C.変形例 :
C−1.変形例1 :
上述した実施例では、1つのドアロック制御装置100につき1つの携帯機200が利用可能である場合について説明したが、1つのドアロック制御装置100につき複数の携帯機200が利用可能である場合もある。例えば、1つの車両1を夫婦で利用する場合は、携帯機200aを夫が利用し、携帯機200bを妻が利用する場合がある。
このような場合は、携帯機200aと携帯機200bとの間にも製造誤差などの個体差があるので、携帯機200aを利用して車両1のドアを解錠する場合と、携帯機200bを利用して車両1のドアを解錠する場合とでは、応答時間が互いに異なることが推定される。すなわち、1つのドアロック制御装置100であっても、携帯機200aとの間で「リクエスト信号」および「アンサー信号」を送受信する場合と、携帯機200bとの間で「リクエスト信号」および「アンサー信号」を送受信する場合とでは、応答時間が互いに異なることが推定される。従って、複数の携帯機200で同じ閾時間を利用すると、リレーアタックの判定を高い精度で行うことができず、車両1のドアを適切に解錠できない虞がある。
C. Modified example:
C-1. Modification 1
In the above-described embodiment, the case where one portable device 200 can be used for one door lock control device 100 has been described. However, a plurality of portable devices 200 may be used for one door lock control device 100. is there. For example, when one vehicle 1 is used by a couple, the husband may use the portable device 200a and the wife may use the portable device 200b.
In such a case, since there are individual differences such as manufacturing errors between the portable device 200a and the portable device 200b, the case where the door of the vehicle 1 is unlocked using the portable device 200a and the portable device 200b are It is estimated that the response times are different from each other when the door of the vehicle 1 is unlocked. That is, even if one door lock control device 100 transmits / receives “request signal” and “answer signal” to / from portable device 200a, “request signal” and “answer” to / from portable device 200b. It is estimated that the response times are different from those in the case of transmitting / receiving the “signal”. Therefore, if the same threshold time is used in a plurality of portable devices 200, the relay attack cannot be determined with high accuracy, and the door of the vehicle 1 may not be unlocked appropriately.

そこで、変形例1では、1つのドアロック制御装置100に利用される複数の携帯機200について、それぞれに対応するIDと閾時間を記憶させることとする。詳しくは、製造段階において、それぞれの携帯機200を利用した場合について、中継装置を介さない場合の応答時間を計測し、この応答時間に基づいて閾時間を決定し、この閾時間をそれぞれの携帯機200のIDに対応付けて記憶させる。例えば、図9に示すように、ドアロック制御装置100aについては、IDが00100a1の携帯機200を利用した場合の応答時間を計測し、この応答時間にマージン(許容量)を加えた時間を閾時間Ta1として、このID(00100a1)に対応付けて記憶させる。また、IDが00100a2の携帯機200を利用した場合の応答時間を計測し、この応答時間にマージン(許容量)を加えた時間を閾時間Ta2として、00100a2に対応付けて記憶させる。同様に、ドアロック制御装置100b、ドアロック制御装置100cについても、それぞれの携帯機を利用した場合の応答時間を計測し、この応答時間にマージン(許容量)を加えた時間をそれぞれの閾時間として、それぞれのIDに対応付けて記憶させる。   Therefore, in the first modification, the ID and threshold time corresponding to each of a plurality of portable devices 200 used for one door lock control device 100 are stored. Specifically, in the manufacturing stage, when each portable device 200 is used, the response time when the relay device is not used is measured, the threshold time is determined based on the response time, and the threshold time is determined for each portable device. The information is stored in association with the ID of the machine 200. For example, as shown in FIG. 9, for the door lock control device 100a, the response time when using the portable device 200 with the ID 00100a1 is measured, and the time obtained by adding a margin (allowable amount) to this response time is a threshold value. The time Ta1 is stored in association with this ID (00100a1). Further, the response time when using the portable device 200 with the ID 00100a2 is measured, and the time obtained by adding a margin (allowable amount) to the response time is stored as a threshold time Ta2 in association with 00100a2. Similarly, for the door lock control device 100b and the door lock control device 100c, the response time when each portable device is used is measured, and the time obtained by adding a margin (allowable amount) to this response time is the respective threshold time. And stored in association with each ID.

このようにした場合は、ドアロック制御装置100は、「アンサー信号」を受信すると、該「アンサー信号」からIDを検出すると共に、該IDに対応する閾時間を特定する。そして、応答時間が特定した閾時間(IDに対応する閾時間)未満であれば、リレーアタックなしと判定して車両1のドアを解錠し(解錠信号を送信し)、応答時間が特定した閾時間(IDに対応する閾時間)以上であれば、リレーアタックありと判定して車両1のドアを解錠しない(解錠信号を送信しない)こととする。   In this case, when receiving the “answer signal”, the door lock control device 100 detects the ID from the “answer signal” and specifies the threshold time corresponding to the ID. If the response time is less than the specified threshold time (threshold time corresponding to the ID), it is determined that there is no relay attack, the door of the vehicle 1 is unlocked (an unlock signal is transmitted), and the response time is specified. If it is equal to or greater than the threshold time (threshold time corresponding to the ID), it is determined that there is a relay attack and the door of the vehicle 1 is not unlocked (unlock signal is not transmitted).

変形例1のような構成とすると、それぞれのドアロック制御装置100の記憶部15に記憶された閾時間は、それぞれの携帯機200を利用した場合の応答時間に対応するものとなる。このため、1つのドアロック制御装置100について複数の携帯機200が利用される場合であっても、リレーアタックの判定を高い精度で行うことができ、車両1のドアを適切に解錠することができる。   If it is set as the structure like the modification 1, the threshold time memorize | stored in the memory | storage part 15 of each door lock control apparatus 100 will respond | correspond to the response time at the time of using each portable device 200. FIG. For this reason, even when a plurality of portable devices 200 are used for one door lock control device 100, the determination of the relay attack can be performed with high accuracy, and the door of the vehicle 1 is appropriately unlocked. Can do.

尚、変形例1においてリレーアタックありと判定した場合も、車両1から警告音を発報することとしてもよい。こうすると、リレーアタックが行われることを抑止することができる。また、変形例1においてリレーアタックありと判定した場合は、リレーアタックが行われたこと、および、その際に「アンサー信号」を送信した携帯機200のIDを車両1の利用者(携帯機200の所有者)に報知することとしてもよい。例えば、車両1に設けられ表示部にリレーアタックが行われたことおよびIDを示す情報を表示することとしてもよいし、車両1の利用者が所有する該IDの携帯機200から警告音を発報することとしてもよいし、車両1の利用者が所有するスマートフォン等の携帯端末にリレーアタックが行われたことおよびIDを示す情報を送信することとしてもよい。こうすると、特定のIDの携帯機200へのリレーアタックに対する車両1の利用者の注意を喚起することができる。上述したような報知は、リレーアタック判定部17によって行われる。   Even when it is determined that there is a relay attack in the first modification, a warning sound may be issued from the vehicle 1. This can prevent the relay attack from being performed. If it is determined that there is a relay attack in the first modification, the ID of the portable device 200 that transmitted the “answer signal” at that time is used as the user of the vehicle 1 (the portable device 200). To the owner). For example, information indicating that a relay attack has been performed and information indicating an ID may be displayed on the display unit provided in the vehicle 1, or a warning sound may be generated from the portable device 200 having the ID owned by the user of the vehicle 1. It is good also as reporting, and it is good also as transmitting the information which shows that relay attack was performed and ID showing to portable terminals, such as a smart phone which the user of the vehicle 1 owns. If it carries out like this, the user's attention of the vehicle 1 with respect to the relay attack to the portable device 200 of specific ID can be called. The notification as described above is performed by the relay attack determination unit 17.

C−2.変形例2 :
上述した実施例および変形例1では、1つの携帯機(ID)につき1つの閾時間を記憶させる場合について説明したが、1つの携帯機(ID)につき複数の閾時間を記憶させることとしてもよい。ここで、携帯機200が「アンサー信号」を送信する際にドアロック制御装置100が検出する電界強度Eは、ドアロック制御装置100と携帯機200の位置関係によって変化する。そして、この電界強度Eの大きさによって、上述した応答時間は変化する。詳しくは、一般的には電界強度Eが大きくなるほど応答時間は短くなり、電界強度Eが小さくなるほど応答時間は長くなる。従って、電界強度Eに拘わらず同じ閾時間を利用すると、リレーアタックの判定を高い精度で行うことができず、車両1のドアを適切に解錠できない虞がある。
C-2. Modification 2
In the above-described embodiment and Modification 1, the case where one threshold time is stored for each portable device (ID) has been described. However, a plurality of threshold times may be stored for each portable device (ID). . Here, the electric field intensity E detected by the door lock control device 100 when the portable device 200 transmits an “answer signal” varies depending on the positional relationship between the door lock control device 100 and the portable device 200. The response time described above varies depending on the magnitude of the electric field strength E. Specifically, in general, the response time becomes shorter as the electric field strength E becomes larger, and the response time becomes longer as the electric field strength E becomes smaller. Therefore, if the same threshold time is used regardless of the electric field strength E, the relay attack cannot be determined with high accuracy, and the door of the vehicle 1 may not be unlocked properly.

そこで、変形例2では、1つの携帯機(ID)につき、電界強度Eの大きさに対応させて複数の閾時間を記憶させることとする。詳しくは、製造段階において、種々の電界強度E(種々の位置関係)で携帯機200を利用した場合について、中継装置を介さない場合の応答時間を計測し、この応答時間に基づいて閾時間を決定し、この閾時間を電界強度Eの大きさに対応付けて記憶させる。例えば、図10に示すように、ドアロック制御装置100aについては、IDが00100a1の携帯機200による電界強度Eの大きさがx1未満である場合に対応させて閾時間Ta10を記憶させ、x1以上x2未満である場合に対応させて閾時間Ta20を記憶させ、x2以上である場合に対応させて閾時間Ta30を記憶させる。同様に、ドアロック制御装置100b、ドアロック制御装置100cについても、それぞれのIDの携帯機200による電界強度Eの大きさに対応させて閾時間を記憶させる。   In the second modification, therefore, a plurality of threshold times are stored for each portable device (ID) corresponding to the magnitude of the electric field strength E. Specifically, in the manufacturing stage, when the portable device 200 is used with various electric field strengths E (various positional relationships), the response time when the relay device is not used is measured, and the threshold time is determined based on the response time. This threshold time is stored in association with the magnitude of the electric field intensity E. For example, as shown in FIG. 10, for the door lock control device 100a, the threshold time Ta10 is stored in correspondence with the case where the magnitude of the electric field strength E by the portable device 200 with the ID 00100a1 is less than x1, and x1 or more The threshold time Ta20 is stored in correspondence with the case where it is less than x2, and the threshold time Ta30 is stored in correspondence with the case where it is greater than x2. Similarly, the door lock control device 100b and the door lock control device 100c also store the threshold time corresponding to the magnitude of the electric field strength E by the portable device 200 of each ID.

このようにした場合は、ドアロック制御装置100は、「アンサー信号」を受信すると、該「アンサー信号」からIDを検出すると共に、該「アンサー信号」の電界強度Eを検出し、該電界強度Eに対応する閾時間を特定する。そして、応答時間が特定した閾時間(電界強度Eに対応する閾時間)未満であれば、リレーアタックなしと判定して車両1のドアを解錠し(解錠信号を送信し)、応答時間が特定した閾時間(電界強度Eに対応する閾時間)以上であれば、リレーアタックありと判定して車両1のドアを解錠しない(解錠信号を送信しない)こととする。尚、電界強度Eの検出は、RF受信部11によって行われる。   In this case, when receiving the “answer signal”, the door lock control device 100 detects the ID from the “answer signal” and also detects the electric field strength E of the “answer signal”. A threshold time corresponding to E is specified. If the response time is less than the specified threshold time (threshold time corresponding to the electric field strength E), it is determined that there is no relay attack, the door of the vehicle 1 is unlocked (an unlock signal is transmitted), and the response time is reached. Is greater than the specified threshold time (threshold time corresponding to the electric field strength E), it is determined that there is a relay attack and the door of the vehicle 1 is not unlocked (unlock signal is not transmitted). The electric field strength E is detected by the RF receiver 11.

変形例2のような構成とすると、それぞれのドアロック制御装置100の記憶部15に記憶された閾時間は、電界強度Eの大きさに対応するものとなる。このため、電界強度Eの大きさによって応答時間が異なる場合であっても、リレーアタックの判定を高い精度で行うことができ、車両1のドアを適切に解錠することができる。   With the configuration as in the second modification, the threshold time stored in the storage unit 15 of each door lock control device 100 corresponds to the magnitude of the electric field strength E. For this reason, even when the response time varies depending on the magnitude of the electric field strength E, the determination of the relay attack can be performed with high accuracy, and the door of the vehicle 1 can be unlocked appropriately.

尚、変形例2においてリレーアタックありと判定した場合も、車両1から警告音を発報することとしてもよい。こうすると、リレーアタックが行われることを抑止することができる。また、変形例2においてリレーアタックありと判定した場合は、リレーアタックが行われたこと、および、その際の電界強度Eを車両1の利用者(携帯機200の所有者)に報知することとしてもよい。例えば、車両1に設けられ表示部にリレーアタックが行われたことおよび電界強度Eを示す情報を表示することとしてもよいし、車両1の利用者が所有するスマートフォン等の携帯端末にリレーアタックが行われたことおよび電界強度Eを示す情報を送信することとしてもよい。こうすると、車両1の利用者のリレーアタックに対する注意を喚起することができるだけでなく、電界強度Eを報知することでリレーアタックが行われた際の中継装置(RF受信部11にリクエスト信号を直接送信する中継装置R4)のおおよその位置を車両1の利用者に認識させることができる。上述したような報知は、リレーアタック判定部17によって行われる。   Even when it is determined that there is a relay attack in the second modification, a warning sound may be issued from the vehicle 1. This can prevent the relay attack from being performed. Further, when it is determined that there is a relay attack in the second modification, the relay attack is performed and the electric field strength E at that time is notified to the user of the vehicle 1 (owner of the portable device 200). Also good. For example, information indicating that the relay attack has been performed and the electric field strength E is provided on the display unit provided in the vehicle 1, and the relay attack may be displayed on a mobile terminal such as a smartphone owned by the user of the vehicle 1. Information indicating what has been done and the electric field strength E may be transmitted. In this way, not only can the user of the vehicle 1 be alerted to the relay attack, but also the relay device (the RF receiver 11 can send the request signal directly when the relay attack is performed by notifying the electric field strength E). It is possible to make the user of the vehicle 1 recognize the approximate position of the transmitting relay device R4). The notification as described above is performed by the relay attack determination unit 17.

また、変形例2では、ドアロック制御装置100が検出する電界強度E(ドアロック制御装置100が受信するアンサー信号(RF信号)の電界強度)に対応させて閾時間を記憶させることとしたが、携帯機200が検出する電界強度(携帯機200が受信するリクエスト信号(LF信号)の電界強度)に対応させて閾時間を記憶させることとしてもよい。このような場合、携帯機200は検出した電界強度をアンサー信号に含ませてドアロック制御装置100に送信する。こうすることによって、ドアロック制御装置100は、携帯機200が検出した電界強度を認識することができ、この電界強度に基づいて、リレーアタックの判定を行うことができる。   In the second modification, the threshold time is stored in correspondence with the electric field strength E detected by the door lock control device 100 (the electric field strength of the answer signal (RF signal) received by the door lock control device 100). The threshold time may be stored in association with the electric field strength detected by the portable device 200 (the electric field strength of the request signal (LF signal) received by the portable device 200). In such a case, the portable device 200 includes the detected electric field strength in the answer signal and transmits it to the door lock control device 100. By doing so, the door lock control device 100 can recognize the electric field strength detected by the portable device 200, and can determine the relay attack based on the electric field strength.

C−3.変形例3 :
上述した実施例、変形例1、変形例2では、製造段階でドアロック制御装置100に閾時間を記憶させることとしたが、ドアロック制御装置100の使用が開始された後に閾時間を記憶させることとしてもよい。詳しくは、リレーアタックが行われていないと推定される状況(リレーアタックが行われていない可能性の高い状況)を検出して、この状況における応答時間(中継装置を介さない場合の応答時間)を計測し、この応答時間にマージン(許容量)を加えた時間を閾時間として記憶する。
C-3. Modification 3
In the above-described embodiment, modification 1, and modification 2, the threshold time is stored in the door lock control device 100 at the manufacturing stage. However, the threshold time is stored after the use of the door lock control device 100 is started. It is good as well. Specifically, a situation that is presumed that a relay attack is not being performed (a situation in which there is a high possibility that a relay attack is not being performed) is detected, and a response time in this situation (response time when not via a relay device) And the time obtained by adding a margin (allowable amount) to this response time is stored as a threshold time.

図11には、変形例3のドアロック制御装置300の大まかな構成が示されている。図11に示すように、ドアロック制御装置300は、実施例のドアロック制御装置100の構成に、降車検出部20と閾時間決定部21とを加えた構成を有している。これらのうち、降車検出部20は、乗員が車両1の車室から退出(降車)したタイミングを、リレーアタックが行われていないと推定される状況として検出する。すなわち、乗員が降車したタイミングでは、乗員に携帯されている携帯機200は車両1の周辺に存在するので、リレーアタックが行われていない状況と推定できる。また、閾時間決定部21は、リレーアタックが行われていないと推定される状況における応答時間を応答時間計測部16から取得し、この応答時間に基づいて閾時間を決定して記憶部15に記憶させる。   FIG. 11 shows a rough configuration of the door lock control device 300 of the third modification. As shown in FIG. 11, the door lock control device 300 has a configuration in which a getting-off detection unit 20 and a threshold time determination unit 21 are added to the configuration of the door lock control device 100 of the embodiment. Among these, the getting-off detection unit 20 detects the timing when the occupant exits (gets off) from the passenger compartment of the vehicle 1 as a situation where it is estimated that the relay attack is not performed. That is, at the timing when the occupant gets off, the portable device 200 carried by the occupant is present in the vicinity of the vehicle 1, and therefore it can be estimated that the relay attack is not performed. Further, the threshold time determination unit 21 acquires the response time in a situation where it is estimated that the relay attack is not performed from the response time measurement unit 16, determines the threshold time based on the response time, and stores the response time in the storage unit 15. Remember me.

図12には、変形例3のドアロック制御装置300によって実行される閾時間記憶処理のフローチャートが示されている。この処理は、タイマ割り込み処理として(例えば、0.1秒毎に)実行される。ドアロック制御装置300は、閾時間記憶処理を開始すると先ず、乗員が車両1から降車したタイミングであるか否かを判断する(S201)。この判断処理は次のように行う。例えば、車室内を撮影するカメラを設け、このカメラの画像に基づいて車室内に乗員が存在するか否かを判断する。そして、車両1のドアが開閉されると共に車室内に乗員が存在しなくなると、乗員が降車したタイミングであると判断する。あるいは、車内LF送信部13から「リクエスト信号」を所定時間毎に送信し、該「リクエスト信号」に応じて「アンサー信号」を受信している間は乗員が車室内に存在すると判断する。そして、車両1のドアが開閉されると共に車室内に乗員が存在しなくなると「アンサー信号」が受信できなくなると)、乗員が降車したタイミングであると判断する。   FIG. 12 shows a flowchart of threshold time storage processing executed by the door lock control device 300 of the third modification. This process is executed as a timer interrupt process (for example, every 0.1 second). When starting the threshold time storage process, the door lock control device 300 first determines whether or not it is the timing when the occupant gets out of the vehicle 1 (S201). This determination process is performed as follows. For example, a camera that captures the interior of the vehicle is provided, and it is determined whether there is an occupant in the vehicle based on the image of the camera. When the door of the vehicle 1 is opened and closed and no occupant is present in the passenger compartment, it is determined that it is the timing when the occupant got off the vehicle. Alternatively, while the “request signal” is transmitted from the in-vehicle LF transmission unit 13 every predetermined time and the “answer signal” is received according to the “request signal”, it is determined that the occupant is present in the passenger compartment. When the door of the vehicle 1 is opened and closed and no occupant is present in the passenger compartment, the “answer signal” cannot be received), and it is determined that it is time for the occupant to get off.

S201の判断処理の結果、乗員が降車したタイミングである場合は(S201:yes)、車外LF送信部12から「リクエスト信号」を送信すると共に(S202)、応答時間の計測を応答時間計測部16が開始する(S203)。こうして車外LF送信部12から「リクエスト信号」を送信すると共に(S202)、応答時間の計測を開始したら(S203)、携帯機200から「アンサー信号」を受信したか否か、すなわち、S202の処理で車外LF送信部12から送信された「リクエスト信号」に応答する「アンサー信号」をRF受信部11が受信したか否かを判断する(S204)。その結果、未だ「アンサー信号」を受信していなければ(S204:no)、「リクエスト信号」を送信してからの時間が制限時間(例えば50m秒)以上となったか否か(タイムアウトとなったか否か)を判断する(S205)。その結果、未だタイムアウトとなっていなければ(S205:no)、「アンサー信号」の受信を待機し(S204)、タイムアウトとなったら(S205:yes)、そのまま閾時間記憶処理を終了する。   As a result of the determination process of S201, when it is the timing when the occupant gets off (S201: yes), a “request signal” is transmitted from the outside LF transmission unit 12 (S202), and the response time is measured by the response time measurement unit 16. Starts (S203). Thus, the “request signal” is transmitted from the outside LF transmitter 12 (S202), and when the response time measurement is started (S203), whether or not the “answer signal” is received from the portable device 200, that is, the process of S202. Then, it is determined whether or not the RF receiver 11 has received an “answer signal” in response to the “request signal” transmitted from the LF transmitter 12 outside the vehicle (S204). As a result, if the “answer signal” has not been received yet (S204: no), whether or not the time since the transmission of the “request signal” has exceeded the time limit (for example, 50 milliseconds) (whether it has timed out) (S205). As a result, if the time-out has not yet occurred (S205: no), the reception of the “answer signal” is awaited (S204). If the time-out occurs (S205: yes), the threshold time storing process is terminated as it is.

タイムアウトとなる前に「アンサー信号」を受信した場合は(S204:yes)、応答時間の計測を終了すると共に計測した応答時間を記憶部15に記憶する(S206)。また、ID判定部14は、受信した「アンサー信号」からIDを検出し(S207)、検出したIDが予め記憶部15に記憶(登録)されたIDに一致しているか否かを判断する(S208)。この結果、「アンサー信号」から検出したIDが登録されていない場合は(S208:no)、そのまま閾時間記憶処理を終了する。
これに対して、「アンサー信号」から検出したIDが登録されている場合は(S208:yes)、S206の処理で記憶した応答時間にマージン(許容量)を加えた時間を閾時間として決定し、この閾時間を登録されているIDに対応付けて記憶する。
When the “answer signal” is received before the time-out occurs (S204: yes), the response time measurement is finished and the measured response time is stored in the storage unit 15 (S206). The ID determination unit 14 detects the ID from the received “answer signal” (S207), and determines whether or not the detected ID matches the ID stored (registered) in the storage unit 15 in advance ( S208). As a result, when the ID detected from the “answer signal” is not registered (S208: no), the threshold time storing process is terminated as it is.
On the other hand, when the ID detected from the “answer signal” is registered (S208: yes), the threshold time is determined by adding a margin (allowable amount) to the response time stored in the process of S206. The threshold time is stored in association with the registered ID.

変形例3のような構成とすると、製造段階で各個体に対応した閾時間を記憶させなくても、自動的に各個体に対応した閾時間が記憶させることができ、リレーアタックの判定を正確に行うことができる。また、種々の状況によって(例えば、経年劣化などによって)、応答時間が変化することも考えられるが、このような場合は、自動的に閾時間が修正されることとなり、リレーアタックの判定を正確に行うことができる。   With the configuration as in Modification 3, even if the threshold time corresponding to each individual is not stored at the manufacturing stage, the threshold time corresponding to each individual can be automatically stored, and the determination of relay attack is accurate. Can be done. In addition, the response time may change depending on various situations (for example, due to aging, etc.). In such a case, the threshold time is automatically corrected, and the relay attack is accurately determined. Can be done.

また、上述した実施例および変形例では、携帯機200を利用して車両1のドアを解錠する技術に本発明を採用した場合ついて説明したが、携帯機200を利用して車両1のエンジンの始動を許可する技術にも本発明を採用することができる。この場合は、図13に示すように、車両1のエンジンの始動を許可するエンジン始動許可部30が設けられることとなる。そして、このエンジン始動許可部30は、上述のID判定部14とリレーアタック判定部17の判定結果に基づいて、エンジンの始動を許可するエンジン始動許可信号を送信する。すなわち、携帯機200から送信される「アンサー信号」に含まれる固有のIDが予め登録されたIDに一致していると上述のID判定部14が判定し、且つ、リレーアタックなしと上述のリレーアタック判定部17が判定した場合に、エンジン始動許可信号を送信する。車両1のエンジン始動を制御する制御部(例えば、エンジン始動用のECU)は、エンジン始動許可部30からエンジン始動許可信号を受信すると、その後に所定の操作(例えば、所定のスイッチ操作やキー操作)が行われると、エンジンを始動させる。もちろん、携帯機200から送信される「アンサー信号」に含まれる固有のIDが予め登録されたIDに一致していないと上述のID判定部14が判定した場合や、リレーアタックありと上述のリレーアタック判定部17が判定した場合は、エンジン始動許可信号を送信しない。   In the above-described embodiments and modifications, the case where the present invention is applied to the technology for unlocking the door of the vehicle 1 using the portable device 200 has been described. However, the engine of the vehicle 1 using the portable device 200 is described. The present invention can also be applied to a technology that permits the starting of the system. In this case, as shown in FIG. 13, an engine start permission unit 30 that permits engine start of the vehicle 1 is provided. The engine start permission unit 30 transmits an engine start permission signal for permitting engine start based on the determination results of the ID determination unit 14 and the relay attack determination unit 17 described above. That is, the above-described ID determination unit 14 determines that the unique ID included in the “answer signal” transmitted from the portable device 200 matches a pre-registered ID, and the above-described relay does not indicate that there is no relay attack. When the attack determination unit 17 determines, an engine start permission signal is transmitted. Upon receiving an engine start permission signal from the engine start permission unit 30, a control unit (for example, an ECU for engine start) that controls the engine start of the vehicle 1 thereafter performs a predetermined operation (for example, a predetermined switch operation or key operation). ) Is started, the engine is started. Of course, when the above-described ID determination unit 14 determines that the unique ID included in the “answer signal” transmitted from the portable device 200 does not match a pre-registered ID, or when there is a relay attack, the above-described relay If the attack determination unit 17 determines, the engine start permission signal is not transmitted.

以上、実施例および変形例について説明したが、本発明は上記の実施例に限られるものではなく、その要旨を逸脱しない範囲において種々の態様で実施することができる。
例えば、上述した変形例3では、リレーアタックが行われていない状況と推定した場合に閾時間を記憶することとしたが、車両1の利用者や取扱業者(いわゆるディーラー)が所定の操作を行った場合に応答時間を計測して、この応答時間から閾時間を記憶することとしてもよい。尚、ここでいう所定の操作としては、車両1に設けられたスイッチの操作や、外部機器を車両1に接続し、外部機器から車両1に所定の情報を送信することによって車両1を特定の登録モードの状態に設定する操作などを挙げることができる。
また、上述した実施例および変形例において、閾時間を決定するにあたっては、応答時間を複数回(例えば100回)計測し、その計測結果(例えば平均)に基づいて閾時間を決定することとしてもよい。こうすると、閾時間の精度を高めることができる。
As mentioned above, although the Example and the modification were demonstrated, this invention is not restricted to said Example, In the range which does not deviate from the summary, it can implement in a various aspect.
For example, in the above-described third modification, the threshold time is stored when it is estimated that the relay attack is not performed. However, a user of the vehicle 1 or a dealer (so-called dealer) performs a predetermined operation. In this case, the response time may be measured, and the threshold time may be stored from this response time. In addition, as predetermined operation here, operation of the switch provided in the vehicle 1 or connection of an external device to the vehicle 1 and transmission of predetermined information from the external device to the vehicle 1 specify a specific vehicle 1. For example, an operation for setting the registration mode state can be given.
In the above-described embodiment and modification, when determining the threshold time, the response time may be measured a plurality of times (for example, 100 times), and the threshold time may be determined based on the measurement result (for example, the average). Good. In this way, the accuracy of the threshold time can be increased.

1…車両、 11…RF受信部、 12…車外LF送信部、
13…車内LF送信部、14…ID判定部、 15…記憶部、
16…応答時間計測部、17…リレーアタック判定部、18…解錠指示部、
19…施錠指示部、 20…降車検出部、 21…閾時間決定部、
30…エンジン始動許可部、 100、300…ドアロック制御装置、
200…携帯機。
DESCRIPTION OF SYMBOLS 1 ... Vehicle, 11 ... RF receiving part, 12 ... Outside LF transmitting part,
13 ... In-vehicle LF transmission unit, 14 ... ID determination unit, 15 ... Storage unit,
16 ... Response time measurement unit, 17 ... Relay attack determination unit, 18 ... Unlock instruction unit,
19 ... Locking instruction unit, 20 ... Alighting detection unit, 21 ... Threshold time determination unit,
30 ... Engine start permission unit, 100, 300 ... Door lock control device,
200: A portable device.

Claims (7)

車両(1)に搭載されて、識別情報を有する携帯機(200)と通信を行うことによって前記車両のドアの解錠を行う車両ドア解錠装置(100、200)であって、
前記携帯機に向けてリクエスト信号を送信する送信部(12)と、
前記リクエスト信号に応じて前記携帯機が送信したアンサー信号を受信する受信部(11)と、
前記送信部が前記リクエスト信号を送信してから前記受信部が前記アンサー信号を受信するまでの応答時間を計測する計測部(16)と、
前記識別情報に対応付けて閾時間を記憶する記憶部(15)と、
前記受信部が受信した前記アンサー信号に含まれる識別情報に対応付けて前記記憶部に記憶された前記閾時間よりも前記応答時間が短い場合は前記ドアを解錠し、該閾時間よりも前記応答時間が長い場合は前記ドアを解錠しない解錠部(18)と
を備え、
前記閾時間は、前記応答時間を当該車両ドア解錠装置の前記計測部で実測した結果に基づいて決定された時間である
ことを特徴とする車両ドア解錠装置。
A vehicle door unlocking device (100, 200) which is mounted on a vehicle (1) and unlocks the door of the vehicle by communicating with a portable device (200) having identification information,
A transmission unit (12) for transmitting a request signal to the portable device;
A receiver (11) for receiving an answer signal transmitted by the portable device in response to the request signal;
A measuring unit (16) for measuring a response time from when the transmitting unit transmits the request signal to when the receiving unit receives the answer signal;
A storage unit (15) for storing a threshold time in association with the identification information;
When the response time is shorter than the threshold time stored in the storage unit in association with the identification information included in the answer signal received by the receiving unit, the door is unlocked, and the door is shorter than the threshold time. When the response time is long, the door is not unlocked (18), and
The vehicle door unlocking device, wherein the threshold time is a time determined based on a result of actual measurement of the response time by the measurement unit of the vehicle door unlocking device.
請求項1に記載の車両ドア解錠装置であって、
前記記憶部は、複数の識別情報それぞれに対応付けて前記閾時間を記憶しており、
前記閾時間は、前記複数の識別情報毎の前記応答時間を当該車両ドア解錠装置が実測した結果に基づいて決定される
ことを特徴とする車両ドア解錠装置。
The vehicle door unlocking device according to claim 1,
The storage unit stores the threshold time in association with each of a plurality of pieces of identification information,
The threshold time is determined based on a result of actual measurement of the response time for each of the plurality of pieces of identification information by the vehicle door unlocking device.
請求項1または請求項2に記載の車両ドア解錠装置であって、
前記記憶部は、識別情報に加えて電界強度の大きさにも対応付けて、前記閾時間を記憶しており、
前記解錠部は、前記受信部が前記アンサー信号を受信した際の電界強度を検出し、当該アンサー信号に含まれる識別情報と当該電界強度とに対応付けて前記記憶部に記憶された前記閾時間を読み出し、当該閾時間よりも前記応答時間が短い場合は、前記ドアを解錠し、当該閾時間よりも前記応答時間が長い場合は、前記ドアを解錠しないものであり、
前記記憶部に記憶された前記閾時間は、当該車両ドア解錠装置が前記アンサー信号を受信した際の電界強度の値と、この際の前記応答時間とを、実測した結果に基づいて決定される
ことを特徴とする車両ドア解錠装置。
The vehicle door unlocking device according to claim 1 or 2,
The storage unit stores the threshold time in association with the magnitude of the electric field strength in addition to the identification information,
The unlocking unit detects the electric field strength when the receiving unit receives the answer signal, and stores the threshold stored in the storage unit in association with the identification information and the electric field strength included in the answer signal. Read the time, if the response time is shorter than the threshold time, unlock the door, if the response time is longer than the threshold time, do not unlock the door,
The threshold time stored in the storage unit is determined based on the result of actual measurement of the value of the electric field strength when the vehicle door unlocking device receives the answer signal and the response time at this time. A vehicle door unlocking device.
請求項1または請求項2に記載の車両ドア解錠装置であって、
前記記憶部は、識別情報に加えて電界強度の大きさにも対応付けて、前記閾時間を記憶しており、
前記解錠部は、前記携帯機が前記リクエスト信号を受信した際の電界強度を検出し、当該携帯機の識別情報と当該電界強度とに対応付けて前記記憶部に記憶された前記閾時間を読み出し、当該閾時間よりも前記応答時間が短い場合は、前記ドアを解錠し、当該閾時間よりも前記応答時間が長い場合は、前記ドアを解錠しないものであり、
前記記憶部に記憶された前記閾時間は、当該携帯機が当該車両ドア解錠装置から前記リクエスト信号を受信した際の電界強度の値と、この際の前記応答時間とを、実測した結果に基づいて決定される
ことを特徴とする車両ドア解錠装置。
The vehicle door unlocking device according to claim 1 or 2,
The storage unit stores the threshold time in association with the magnitude of the electric field strength in addition to the identification information,
The unlocking unit detects the electric field strength when the portable device receives the request signal, and determines the threshold time stored in the storage unit in association with the identification information of the portable device and the electric field strength. Read, if the response time is shorter than the threshold time, unlock the door, if the response time is longer than the threshold time, do not unlock the door,
The threshold time stored in the storage unit is a result of actual measurement of the value of the electric field intensity when the portable device receives the request signal from the vehicle door unlocking device and the response time at this time. The vehicle door unlocking device characterized by being determined based on.
請求項1ないし請求項4の何れか一項に記載の車両ドア解錠装置であって、
前記車両の乗員が降車したことを検出する降車検出部(20)を備え、
前記閾時間は、前記降車検出部が前記車両の乗員が降車したことを検出した場合に決定される
ことを特徴とする車両ドア解錠装置。
The vehicle door unlocking device according to any one of claims 1 to 4,
A getting-off detection unit (20) for detecting that the vehicle occupant got off,
The threshold time is determined when the getting-off detection unit detects that an occupant of the vehicle has got off the vehicle door unlocking device.
請求項1ないし請求項5の何れか一項に記載の車両ドア解錠装置であって、
前記応答時間が前記閾時間より長いことから前記ドアが前記解錠部によって解錠されなかった場合に、前記ドアが解錠されなかったことを示す情報を、前記携帯機の所有者に報知する報知部(17)を備える
ことを特徴とする車両ドア解錠装置。
The vehicle door unlocking device according to any one of claims 1 to 5,
When the door is not unlocked by the unlocking unit because the response time is longer than the threshold time, information indicating that the door has not been unlocked is notified to the owner of the portable device. A vehicle door unlocking device comprising an informing unit (17).
請求項1ないし請求項6の何れか一項に記載の車両ドア解錠装置であって、
前記受信部が受信した前記アンサー信号に含まれる識別情報に対応付けて前記記憶部に記憶された前記閾時間よりも前記応答時間が短い場合は前記車両のエンジンの始動を許可し、該閾時間よりも前記応答時間が長い場合は前記エンジンの始動を許可しないエンジン始動許可部(30)を備える
ことを特徴とする車両ドア解錠装置。
The vehicle door unlocking device according to any one of claims 1 to 6,
When the response time is shorter than the threshold time stored in the storage unit in association with the identification information included in the answer signal received by the reception unit, the engine of the vehicle is permitted to start, and the threshold time The vehicle door unlocking device further includes an engine start permission unit (30) that does not permit the start of the engine when the response time is longer than the above.
JP2016151577A 2016-08-01 2016-08-01 Vehicle door unlocking device Active JP6658390B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016151577A JP6658390B2 (en) 2016-08-01 2016-08-01 Vehicle door unlocking device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016151577A JP6658390B2 (en) 2016-08-01 2016-08-01 Vehicle door unlocking device

Publications (2)

Publication Number Publication Date
JP2018020611A true JP2018020611A (en) 2018-02-08
JP6658390B2 JP6658390B2 (en) 2020-03-04

Family

ID=61166098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016151577A Active JP6658390B2 (en) 2016-08-01 2016-08-01 Vehicle door unlocking device

Country Status (1)

Country Link
JP (1) JP6658390B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019190044A (en) * 2018-04-19 2019-10-31 株式会社デンソー User access determination system
WO2020080076A1 (en) * 2018-10-19 2020-04-23 住友電装株式会社 Vehicle-mounted control device, vehicle-mounted control method, and computer program
WO2020166405A1 (en) * 2019-02-12 2020-08-20 パナソニックIpマネジメント株式会社 Remote control system
EP3723403A1 (en) 2019-04-10 2020-10-14 Toyota Jidosha Kabushiki Kaisha Communication device, communication system and communication method
CN117774887A (en) * 2024-02-28 2024-03-29 合众新能源汽车股份有限公司 Wireless key remote identification method, system, computer equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002525463A (en) * 1998-08-27 2002-08-13 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Security system
JP2006121226A (en) * 2004-10-19 2006-05-11 Sanyo Electric Co Ltd Communication apparatus, and program used for communication apparatus
JP2012175518A (en) * 2011-02-23 2012-09-10 Nippon Soken Inc Smart system
JP2013177132A (en) * 2013-05-01 2013-09-09 Denso Corp Control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002525463A (en) * 1998-08-27 2002-08-13 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Security system
JP2006121226A (en) * 2004-10-19 2006-05-11 Sanyo Electric Co Ltd Communication apparatus, and program used for communication apparatus
JP2012175518A (en) * 2011-02-23 2012-09-10 Nippon Soken Inc Smart system
JP2013177132A (en) * 2013-05-01 2013-09-09 Denso Corp Control system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019190044A (en) * 2018-04-19 2019-10-31 株式会社デンソー User access determination system
JP7000973B2 (en) 2018-04-19 2022-01-19 株式会社デンソー User access judgment system
WO2020080076A1 (en) * 2018-10-19 2020-04-23 住友電装株式会社 Vehicle-mounted control device, vehicle-mounted control method, and computer program
JP2020063022A (en) * 2018-10-19 2020-04-23 住友電装株式会社 On-vehicle control device, on-vehicle control method and computer program
JP7125323B2 (en) 2018-10-19 2022-08-24 住友電装株式会社 VEHICLE CONTROL DEVICE, VEHICLE CONTROL METHOD AND COMPUTER PROGRAM
WO2020166405A1 (en) * 2019-02-12 2020-08-20 パナソニックIpマネジメント株式会社 Remote control system
CN113396413A (en) * 2019-02-12 2021-09-14 松下知识产权经营株式会社 Remote control system
EP3905082A4 (en) * 2019-02-12 2022-03-23 Panasonic Intellectual Property Management Co., Ltd. Remote control system
EP3723403A1 (en) 2019-04-10 2020-10-14 Toyota Jidosha Kabushiki Kaisha Communication device, communication system and communication method
US11341793B2 (en) 2019-04-10 2022-05-24 Toyota Jidosha Kabushiki Kaisha Communication device, communication system and communication method
CN117774887A (en) * 2024-02-28 2024-03-29 合众新能源汽车股份有限公司 Wireless key remote identification method, system, computer equipment and medium

Also Published As

Publication number Publication date
JP6658390B2 (en) 2020-03-04

Similar Documents

Publication Publication Date Title
CN111918797B (en) Method and system for providing bluetooth-based Passive Entry and Passive Start (PEPS) for a vehicle
JP2018020611A (en) Vehicle door unlocking device
JP4859493B2 (en) Authentication processing system, authentication processing method, authentication apparatus, and authentication method
JP6609557B2 (en) Vehicle control system to prevent relay attack
US9919679B2 (en) Electronic key system
US8089342B2 (en) Electronic key system and method
JP4078087B2 (en) Electronic key system
JP5615326B2 (en) Position determination system for portable device, position determination method for portable device, position determination device for portable device
EP3318704B1 (en) Mobile electronic key device and electronic key system
JP6336931B2 (en) Vehicle anti-theft device
KR20140052099A (en) Smart key system and method for defensing relay station attack using the system
US11234114B2 (en) Device operation controller, device operation control method, and computer program
CN110710117B (en) Portable device and control method for portable device
JP2017160703A (en) Electronic key system
JP2010039776A (en) Authentication system and authentication method for article with location-indicating function
JP6702840B2 (en) Wireless communication correctness determination system
JP2016205001A (en) Electronic key system
EP3640880B1 (en) Vehicular control system
US20210370870A1 (en) On-vehicle control device, on-vehicle control method and computer program
JP2018188883A (en) Vehicle door unlocking system and vehicle door unlocking method
JP2010039773A (en) System and method for authenticating user of position-indicating function
JP7262948B2 (en) Portable device, communication control method applied to portable device
JP2010035128A (en) Intercom system
JP2011109589A (en) Apparatus for preventing fraud conducted using relay for electronic key system
WO2019116923A1 (en) In-vehicle control device, in-vehicle control system, in-vehicle control method and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190702

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200120

R151 Written notification of patent or utility model registration

Ref document number: 6658390

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250