JP2020173796A - Communication system and communication device - Google Patents

Communication system and communication device Download PDF

Info

Publication number
JP2020173796A
JP2020173796A JP2020052415A JP2020052415A JP2020173796A JP 2020173796 A JP2020173796 A JP 2020173796A JP 2020052415 A JP2020052415 A JP 2020052415A JP 2020052415 A JP2020052415 A JP 2020052415A JP 2020173796 A JP2020173796 A JP 2020173796A
Authority
JP
Japan
Prior art keywords
solution
communication
cipher
collation
communication device
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
JP2020052415A
Other languages
Japanese (ja)
Other versions
JP7465127B2 (en
Inventor
洋介 大橋
Yosuke Ohashi
洋介 大橋
昌輝 古田
Masateru Furuta
昌輝 古田
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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to PCT/JP2020/015654 priority Critical patent/WO2020209248A1/en
Priority to DE112020001900.4T priority patent/DE112020001900T5/en
Priority to US17/600,847 priority patent/US20220167162A1/en
Priority to CN202080016381.6A priority patent/CN113544671A/en
Publication of JP2020173796A publication Critical patent/JP2020173796A/en
Application granted granted Critical
Publication of JP7465127B2 publication Critical patent/JP7465127B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

To provide a novel and improved communication system and communication device, which allow for reducing time it takes from completion of communication with an external device to outputting of communication data corresponding to a communication result to another device.SOLUTION: A communication system is provided, comprising: a communication device configured to send a selective solution selected according to a result of first communication with an external device; and a control device configured to receive the selective solution from the communication device through second communication taking place between the communication device and a communication counterpart different from that in the first communication.SELECTED DRAWING: Figure 1

Description

本発明は、通信システム及び通信機に関する。 The present invention relates to communication systems and communication devices.

従来、通信機と外部機器との間で通信を行う通信システムがある(例えば、特許文献1参照)。例えば、通信機と外部機器との間の通信で導き出された結果を処理することによって生成された通信データを、通信機から別の装置に出力する場合がある。かかる場合、一般的には、通信機において結果が導き出された後に、結果が処理されて通信データが生成される。 Conventionally, there is a communication system that communicates between a communication device and an external device (see, for example, Patent Document 1). For example, the communication data generated by processing the result derived from the communication between the communication device and the external device may be output from the communication device to another device. In such a case, in general, after the result is derived in the communication device, the result is processed to generate communication data.

特開2012−036582号公報Japanese Unexamined Patent Publication No. 2012-036582

しかし、通信機において結果が導き出されてから通信データを生成すると、通信データの送信が完了するまでに時間がかかるという問題があった。
そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、外部装置との通信が完了してから、通信結果に対応する通信データを別の装置へ出力するまでのタイミングを早期化可能とした、新規かつ改良された通信システム、及び通信機を提供することにある。
However, if the communication data is generated after the result is derived in the communication device, there is a problem that it takes time to complete the transmission of the communication data.
Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to output communication data corresponding to a communication result to another device after communication with an external device is completed. It is an object of the present invention to provide a new and improved communication system and a communication device that can accelerate the timing of the process.

上記課題を解決するために、本発明のある観点によれば、外部機器との第1通信の結果に応じて選択された選択解を送信する通信機と、前記第1通信とは前記通信機との通信相手が異なる第2通信により前記通信機から前記選択解を受信する制御装置と、を有する、通信システムが提供される。 In order to solve the above problems, according to a certain viewpoint of the present invention, a communication device that transmits a selected solution selected according to the result of the first communication with an external device, and the first communication are the communication devices. A communication system is provided that includes a control device that receives the selected solution from the communication device by a second communication with a different communication partner with the communication system.

また、上記課題を解決するために、本発明の別の観点によれば、外部機器との第1通信の結果に応じて選択された選択解を取得する取得部と、前記第1通信とは通信相手が異なる第2通信により前記選択解を制御装置に送信する通信部と、を備える、通信機が提供される。 Further, in order to solve the above problems, according to another viewpoint of the present invention, the acquisition unit that acquires the selected solution selected according to the result of the first communication with the external device, and the first communication are A communication device is provided that includes a communication unit that transmits the selected solution to the control device by a second communication with a different communication partner.

以上説明したように本発明によれば、処理時間の増加を抑制可能な通信システム及び通信機が提供される。 As described above, according to the present invention, there is provided a communication system and a communication device capable of suppressing an increase in processing time.

通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of a communication system. 車両における通信機の配置を示す図である。It is a figure which shows the arrangement of the communication device in a vehicle. 距離測定の手順を示す説明図である。It is explanatory drawing which shows the procedure of distance measurement. (a)測定値が正当である場合の暗号選択解の送信を示す説明図であり、(b)測定値が正当でない場合の暗号選択解の送信を示す説明図であり、(c)第1暗号選択解が第1暗号照合解に一致しない場合における照合ECUへの通知例を示す説明図である。It is explanatory drawing which shows (a) transmission of a cryptographic selective solution when a measured value is valid, (b) is an explanatory diagram which shows transmission of a cryptographic selective solution when a measured value is not valid, and (c) first. It is explanatory drawing which shows the example of notification to the collation ECU when the cipher selection solution does not match the 1st cipher collation solution. 照合ECUへの通知と、マスタ通信機における測定値の判定結果と、スレーブ通信機における測定値の判定結果との対応関係の例をまとめた表である。It is a table summarizing the example of the correspondence relationship between the notification to the collation ECU, the determination result of the measured value in the master communication device, and the determination result of the measured value in the slave communication device. スレーブ通信機と端末との間において通信エラーが生じた場合における照合ECUへの通知例を示す説明図である。It is explanatory drawing which shows the example of the notification to the collation ECU when a communication error occurs between a slave communication device and a terminal.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. In the present specification and the drawings, components having substantially the same functional configuration are designated by the same reference numerals, so that duplicate description will be omitted.

<1.一実施形態>
以下、通信システム及び通信機の一実施形態について図1〜図4を用いて説明する。
<1. One Embodiment>
Hereinafter, an embodiment of the communication system and the communication device will be described with reference to FIGS. 1 to 4.

<<1.1.構成例>>
図1を用いて、本実施形態に係る通信システムの構成例について説明する。図1に示すように、本実施形態に係る通信システムは、電子キーシステム4を備える。電子キーシステム4は、無線を通じて端末2が正規のものか否かを確認することにより(端末2を認証することにより)車載装置3の作動可否を制御する。より具体的に、本例の電子キーシステム4は、車両1及び端末2のうち、一方によって認証に必要なキーID(ID情報)が送信され、当該キーIDが他方によって受信された場合に、当該他方によって受信されたキーIDと当該他方に登録されたキーIDとを照合するID照合(以下、「スマート照合」とも記載する。)を実行するスマート照合システムである。
<< 1.1. Configuration example >>
A configuration example of the communication system according to the present embodiment will be described with reference to FIG. As shown in FIG. 1, the communication system according to the present embodiment includes an electronic key system 4. The electronic key system 4 controls whether or not the in-vehicle device 3 can be operated by confirming whether or not the terminal 2 is legitimate by wirelessly (by authenticating the terminal 2). More specifically, in the electronic key system 4 of this example, when the key ID (ID information) required for authentication is transmitted by one of the vehicle 1 and the terminal 2, and the key ID is received by the other. It is a smart collation system that executes ID collation (hereinafter, also referred to as "smart collation") for collating the key ID received by the other party with the key ID registered in the other party.

後にも説明するように、本例では、スマート照合が車両1において行われる場合を主に想定する。しかし、スマート照合は端末2において行われてもよい。また、スマート照合は、無線通信による端末2の認証の一例である。したがって、端末2の認証の手法はスマート照合に限定されない。電子キーシステム4によってスマート照合が実行される場合、図1に示すように、端末2は、電子キー5であることが望ましい。電子キー5は、例えば車両1との無線通信を通じたスマート照合に使用され、スマート照合に基づいて車載装置3の作動を実行するキー機能を有する。 As will be described later, in this example, it is mainly assumed that the smart collation is performed in the vehicle 1. However, the smart collation may be performed on the terminal 2. Further, smart collation is an example of authentication of the terminal 2 by wireless communication. Therefore, the authentication method of the terminal 2 is not limited to smart collation. When smart collation is performed by the electronic key system 4, the terminal 2 is preferably the electronic key 5, as shown in FIG. The electronic key 5 is used for smart collation through wireless communication with, for example, the vehicle 1, and has a key function of executing the operation of the in-vehicle device 3 based on the smart collation.

(車両の各構成)
続いて、車両1の各構成について説明する。車両1は、車載装置3と、照合ECU(Electronic Control Unit)8と、ボディECU9と、エンジンECU10と、LF(Low Frequency)送信機13と、UHF(Ultra High Frequency)受信機14と、通信機31とを備える。図1に示すように、車載装置3としては、車両ドアの施解錠を制御するドアロック装置6が例として挙げられる他、車両1のエンジン7が例として挙げられる。
(Vehicle configuration)
Subsequently, each configuration of the vehicle 1 will be described. The vehicle 1 includes an in-vehicle device 3, a collation ECU (Electronic Control Unit) 8, a body ECU 9, an engine ECU 10, an LF (Low Frequency) transmitter 13, a UHF (Ultra High Frequency) receiver 14, and a communication device. 31 and. As shown in FIG. 1, as the in-vehicle device 3, the door lock device 6 for controlling the locking and unlocking of the vehicle door can be mentioned as an example, and the engine 7 of the vehicle 1 can be mentioned as an example.

照合ECU8は、揮発性メモリ15と、不揮発性メモリ16と、処理実行部17と、更新部44cと、照合部46と、更新制御部47と、認証部48と、受信部49とを有する。認証部48は、スマート照合を実行し、スマート照合によって端末2を認証する。照合ECU8の不揮発性メモリ16には、端末2に固有のキーIDと、キー固有鍵とが登録されている。キーID及びキー固有鍵は、スマート照合に使用される。揮発性メモリ15、処理実行部17、更新部44c、照合部46、更新制御部47及び受信部49については、後に詳細に説明する。 The collation ECU 8 includes a volatile memory 15, a non-volatile memory 16, a processing execution unit 17, an update unit 44c, a collation unit 46, an update control unit 47, an authentication unit 48, and a reception unit 49. The authentication unit 48 executes smart collation and authenticates the terminal 2 by smart collation. A key ID unique to the terminal 2 and a key unique key are registered in the non-volatile memory 16 of the collation ECU 8. The key ID and key unique key are used for smart collation. The volatile memory 15, the processing execution unit 17, the update unit 44c, the collation unit 46, the update control unit 47, and the reception unit 49 will be described in detail later.

ボディECU9は、車載電装品の電源を管理する。例えば、ボディECU9は、車両ドアの施解錠を切り替えるドアロック装置6を制御する。また、エンジンECU10は、エンジン7を制御する。照合ECU8、ボディECU9、及び、エンジンECU10の間は、車両1の内部の通信線11を介して接続されている。通信線11を介した通信におけるプロトコルは、例えばCAN(Controller Area Network)であってもよいし、LIN(Local Interconnect Network)であってもよい。 The body ECU 9 manages the power supply of the in-vehicle electrical components. For example, the body ECU 9 controls a door lock device 6 for switching the locking and unlocking of the vehicle door. Further, the engine ECU 10 controls the engine 7. The collation ECU 8, the body ECU 9, and the engine ECU 10 are connected to each other via a communication line 11 inside the vehicle 1. The protocol for communication via the communication line 11 may be, for example, CAN (Controller Area Network) or LIN (Local Interconnect Network).

LF送信機13は、車両1と端末2とのスマート照合の通信実行に際して、端末2へLF帯の電波を送信する。また、端末2によってLF帯の電波が受信され、端末2によってUHF帯の電波が送信されると、UHF受信機14は、端末2から送信されたUHF帯の電波を受信する。なお、LF送信機13は、例えば車両1の室外に位置する端末2に電波を送信する室外用のLF送信機と、車両1の室内に位置する端末2に電波を送信する室内用のLF送信機とを備えることが好ましい。通信機31については、後に詳細に説明する。 The LF transmitter 13 transmits radio waves in the LF band to the terminal 2 when executing smart collation communication between the vehicle 1 and the terminal 2. Further, when the terminal 2 receives the LF band radio wave and the terminal 2 transmits the UHF band radio wave, the UHF receiver 14 receives the UHF band radio wave transmitted from the terminal 2. The LF transmitter 13 is, for example, an outdoor LF transmitter that transmits radio waves to a terminal 2 located outside the vehicle 1 and an indoor LF transmitter that transmits radio waves to a terminal 2 located indoors of the vehicle 1. It is preferable to have a machine. The communication device 31 will be described in detail later.

(端末の各構成)
続いて、端末2の各構成について説明する。端末2は、端末制御部20と、LF受信部21と、UHF送信部22と、UWB(Ultra Wide Band)送受信部33とを備える。端末制御部20は、端末2を制御する。端末制御部20は、不揮発性メモリ23を備える。端末制御部20の不揮発性メモリ23には、端末2に固有のキーIDと、キー固有鍵とが登録されている。キーID及びキー固有鍵は、スマート照合に使用される。
(Each configuration of the terminal)
Subsequently, each configuration of the terminal 2 will be described. The terminal 2 includes a terminal control unit 20, an LF receiving unit 21, a UHF transmitting unit 22, and a UWB (Ultra Wide Band) transmitting / receiving unit 33. The terminal control unit 20 controls the terminal 2. The terminal control unit 20 includes a non-volatile memory 23. A key ID unique to the terminal 2 and a key unique key are registered in the non-volatile memory 23 of the terminal control unit 20. The key ID and key unique key are used for smart collation.

LF受信部21は、車両1と端末2とのスマート照合の通信実行に際して、車両1から送信されたLF電波を受信する。LF受信部21によって車両1から送信されたLF電波が受信されると、UHF送信部22は、車両1へUHF電波を送信する。UWB送受信部33については、後に詳細に説明する。 The LF receiving unit 21 receives the LF radio wave transmitted from the vehicle 1 when executing the smart collation communication between the vehicle 1 and the terminal 2. When the LF radio wave transmitted from the vehicle 1 is received by the LF receiving unit 21, the UHF transmitting unit 22 transmits the UHF radio wave to the vehicle 1. The UWB transmitter / receiver 33 will be described in detail later.

(スマート照合)
続いて、スマート照合の流れを説明する。まず、車両1のLF送信機13は、定期又は不定期にウェイク信号をLF送信する。端末2は、LF受信部21によってウェイク信号を受信すると、待機状態から起動し、UHF送信部22によってアック信号をUHF送信する。照合ECU8は、UHF受信機14によってウェイク信号に対するアック信号を端末2から受信すると、認証部48によってスマート照合を開始する。このとき、照合ECU8の認証部48は、室外の端末2が室外用のLF送信機13のウェイク信号を受信した場合には、室外の端末2と車両1との間の室外スマート照合を実行する。一方、照合ECU8の認証部48は、室内の端末2が室内用のLF送信機13のウェイク信号を受信した場合には、室内の端末2との間の室内スマート照合を実行する。
(Smart collation)
Next, the flow of smart collation will be described. First, the LF transmitter 13 of the vehicle 1 transmits the wake signal LF periodically or irregularly. When the terminal 2 receives the wake signal by the LF receiving unit 21, the terminal 2 is activated from the standby state, and the UHF transmitting unit 22 transmits the ack signal by UHF. When the collation ECU 8 receives the ack signal for the wake signal from the terminal 2 by the UHF receiver 14, the authentication unit 48 starts smart collation. At this time, when the outdoor terminal 2 receives the wake signal of the outdoor LF transmitter 13, the authentication unit 48 of the collation ECU 8 executes the outdoor smart collation between the outdoor terminal 2 and the vehicle 1. .. On the other hand, when the indoor terminal 2 receives the wake signal of the indoor LF transmitter 13, the authentication unit 48 of the collation ECU 8 executes the indoor smart collation with the indoor terminal 2.

ここで、スマート照合には、端末2に登録されたキーIDとあらかじめ車両1に登録されたキーIDとの一致を確認するキーID照合が含まれてもよいし、キー固有鍵を用いた要求応答認証が含まれてもよい。要求応答認証は、乱数である要求コードに対してキー固有鍵を使用した応答コードを車両1及び端末2の双方に演算させ、これら応答コードの一致を確認する認証である。本例では、照合ECU8の認証部48が、キーID照合及び要求応答認証の両方が成立する場合、スマート照合を成立とする場合を主に想定する。 Here, the smart collation may include a key ID collation for confirming a match between the key ID registered in the terminal 2 and the key ID registered in the vehicle 1 in advance, or a request using the key unique key. Response authentication may be included. The request response authentication is an authentication in which both the vehicle 1 and the terminal 2 are made to calculate a response code using the key unique key for the request code which is a random number, and the matching of these response codes is confirmed. In this example, it is mainly assumed that the authentication unit 48 of the collation ECU 8 establishes smart collation when both key ID verification and request response authentication are established.

(距離測定システム)
図1に示すように、本実施形態に係る通信システムは、距離測定システム30を備える。以下、距離測定システム30について説明する。なお、距離測定システム30は、直接的には車両1及び端末2の間の距離に準じた測定値Vmを測定する。しかし、説明を簡便にするため、以下では、距離測定システム30が車両1及び端末2の間の距離を測定すると表現する場合もある。
(Distance measurement system)
As shown in FIG. 1, the communication system according to the present embodiment includes a distance measuring system 30. Hereinafter, the distance measurement system 30 will be described. The distance measuring system 30 directly measures the measured value Vm according to the distance between the vehicle 1 and the terminal 2. However, for the sake of brevity, the distance measuring system 30 may be described below as measuring the distance between the vehicle 1 and the terminal 2.

ここで、車両1と端末2とが遠く離れている場合には、車両1と端末2との間の通信接続がされないため、スマート照合が成立しないのが通例である。しかし、車両1から遠く離れた端末2を中継器などにより車両1に通信接続してスマート照合を成立させてしまう不正行為がなされる場合がある。かかる不正行為への対策のため、距離測定システム30は、車両1及び端末2の間の距離に準じた測定値Vmを測定する機能を備え、測定値Vmの正当性からスマート照合の成立可否を決定する機能(不正通信検出機能)を備える。 Here, when the vehicle 1 and the terminal 2 are far apart, the communication connection between the vehicle 1 and the terminal 2 is not made, so that the smart collation is not usually established. However, there is a case where a fraudulent act is performed in which a terminal 2 far away from the vehicle 1 is communicated with the vehicle 1 by a repeater or the like to establish smart collation. As a countermeasure against such fraudulent activity, the distance measuring system 30 has a function of measuring the measured value Vm according to the distance between the vehicle 1 and the terminal 2, and whether or not the smart collation can be established is determined based on the validity of the measured value Vm. It has a function to determine (illegal communication detection function).

距離測定システム30は、端末2が備える、UWB送受信部33と、車両1が備える、通信機31とによって主に実現される。UWB送受信部33は、通信機31との間で距離測定のための通信を実行する。また、通信機31は、端末2との間で距離測定のための通信を実行する。本例では、車両1が複数の通信機31(特に、マスタ通信機34とスレーブ通信機35)を備える場合を主に想定する。しかし、車両1が備える通信機31の数は限定されない。 The distance measurement system 30 is mainly realized by the UWB transmission / reception unit 33 included in the terminal 2 and the communication device 31 included in the vehicle 1. The UWB transmission / reception unit 33 executes communication for distance measurement with the communication device 31. Further, the communication device 31 executes communication for distance measurement with the terminal 2. In this example, it is mainly assumed that the vehicle 1 includes a plurality of communication devices 31 (particularly, a master communication device 34 and a slave communication device 35). However, the number of communication devices 31 included in the vehicle 1 is not limited.

本例では、マスタ通信機34は、通信線36を介して照合ECU8に接続されている。スレーブ通信機35は、通信線37を介してマスタ通信機34と接続されている。通信線36及び通信線37を介して通信における通信プロトコルは、例えばLINであってもよいし、CANであってもよい。なお、通信線36には、UART(Universal Asynchronous Receiver Transmitter)などの通信インターフェースが用いられていてもよい。 In this example, the master communication device 34 is connected to the collation ECU 8 via the communication line 36. The slave communication device 35 is connected to the master communication device 34 via a communication line 37. The communication protocol in communication via the communication line 36 and the communication line 37 may be, for example, LIN or CAN. A communication interface such as a UART (Universal Asynchronous Receiver Transmitter) may be used for the communication line 36.

マスタ通信機34は、通信制御部38と、インターフェース部39と、揮発性メモリ40bと、不揮発性メモリ41bと、取得部42bと、第2通信部43bと、更新部44bと、測定部45bとを備える。インターフェース部39は、照合ECU8及びスレーブ通信機35それぞれと通信可能なインターフェースである。例えば、インターフェース部39は、スレーブ通信機35に対して作動信号を出力する。通信制御部38は、スレーブ通信機35の作動を制御する。通信制御部38は、スレーブ通信機35が複数存在する場合などには、複数のスレーブ通信機35の作動順を設定したり、複数のスレーブ通信機35の一部を選択的に作動させたりする。揮発性メモリ40b、不揮発性メモリ41b、取得部42b、第2通信部43b、更新部44b及び測定部45bについては、後に詳細に説明する。 The master communication device 34 includes a communication control unit 38, an interface unit 39, a volatile memory 40b, a non-volatile memory 41b, an acquisition unit 42b, a second communication unit 43b, an update unit 44b, and a measurement unit 45b. To be equipped. The interface unit 39 is an interface capable of communicating with each of the collation ECU 8 and the slave communication device 35. For example, the interface unit 39 outputs an operation signal to the slave communication device 35. The communication control unit 38 controls the operation of the slave communication device 35. When there are a plurality of slave communication devices 35, the communication control unit 38 sets the operation order of the plurality of slave communication devices 35, or selectively operates a part of the plurality of slave communication devices 35. .. The volatile memory 40b, the non-volatile memory 41b, the acquisition unit 42b, the second communication unit 43b, the update unit 44b, and the measurement unit 45b will be described in detail later.

スレーブ通信機35は、揮発性メモリ40aと、不揮発性メモリ41aと、取得部42aと、第1通信部43aと、更新部44aと、測定部45aとを備える。揮発性メモリ40a、不揮発性メモリ41a、取得部42a、第1通信部43a、更新部44a及び測定部45aについては、後に詳細に説明する。 The slave communication device 35 includes a volatile memory 40a, a non-volatile memory 41a, an acquisition unit 42a, a first communication unit 43a, an update unit 44a, and a measurement unit 45a. The volatile memory 40a, the non-volatile memory 41a, the acquisition unit 42a, the first communication unit 43a, the update unit 44a, and the measurement unit 45a will be described in detail later.

ここで、図2を参照しながら、通信機31の設置の一例について説明する。図2に示した例では、車両1の5箇所に通信機31が設置されている。通信機31のうち、マスタ通信機34は、車両1の室内に配置されることにより、車室内に測距用電波を送信する。測距用電波については、後に説明する。第1スレーブ通信機35aは、車両1の運転席前側の隅に配置されることにより、車両1前方及び運転席側に測距用電波を送信する。第2スレーブ通信機35bは、車両1の助手席前側の隅に配置されることにより、車両1前方及び助手席側に測距用電波を送信する。 Here, an example of installation of the communication device 31 will be described with reference to FIG. In the example shown in FIG. 2, communication devices 31 are installed at five locations in the vehicle 1. Of the communication devices 31, the master communication device 34 is arranged in the interior of the vehicle 1 to transmit radio waves for distance measurement into the interior of the vehicle. The radio wave for distance measurement will be described later. The first slave communication device 35a is arranged in the front corner of the driver's seat of the vehicle 1 to transmit radio waves for distance measurement to the front of the vehicle 1 and the driver's seat side. The second slave communication device 35b is arranged in the front corner of the passenger seat of the vehicle 1 to transmit radio waves for distance measurement to the front of the vehicle 1 and the passenger seat side.

第3スレーブ通信機35cは、車両1の運転席後側の隅に配置されることにより、車両1後方及び運転席側に測距用電波を送信する。第4スレーブ通信機35dは、車両1の助手席後側の隅に配置されることにより、車両1後方及び助手席側に測距用電波を送信する。ただし、通信機31の設置は、かかる例に限定されない。 The third slave communication device 35c is arranged in the corner on the rear side of the driver's seat of the vehicle 1 to transmit radio waves for distance measurement to the rear of the vehicle 1 and the driver's seat side. The fourth slave communication device 35d is arranged in the corner behind the passenger seat of the vehicle 1 to transmit radio waves for distance measurement to the rear of the vehicle 1 and the passenger seat side. However, the installation of the communication device 31 is not limited to such an example.

図1に戻って説明を続ける。スレーブ通信機35の不揮発性メモリ41a、及び、マスタ通信機34の不揮発性メモリ41bは、第1暗号鍵をそれぞれ記憶している。すなわち、スレーブ通信機35が使用する第1暗号鍵と、マスタ通信機34が使用する第1暗号鍵とは、共通する暗号鍵である。さらに、マスタ通信機34の不揮発性メモリ41b、及び、照合ECU8の不揮発性メモリ16は、第2暗号鍵をそれぞれ記憶している。すなわち、マスタ通信機34が使用する第2暗号鍵と、照合ECU8が使用する第2暗号鍵とは、共通する暗号鍵である。 The explanation will be continued by returning to FIG. The non-volatile memory 41a of the slave communication device 35 and the non-volatile memory 41b of the master communication device 34 each store the first encryption key. That is, the first encryption key used by the slave communication device 35 and the first encryption key used by the master communication device 34 are common encryption keys. Further, the non-volatile memory 41b of the master communication device 34 and the non-volatile memory 16 of the collation ECU 8 store the second encryption key, respectively. That is, the second encryption key used by the master communication device 34 and the second encryption key used by the collation ECU 8 are common encryption keys.

本例では、スレーブ通信機35の不揮発性メモリ41a、及び、マスタ通信機34の不揮発性メモリ41bそれぞれが記憶する第1暗号鍵と、マスタ通信機34の不揮発性メモリ41b、及び、照合ECU8の不揮発性メモリ16それぞれが記憶する第2暗号鍵とが、異なる場合を主に想定する。しかし、当該第1暗号鍵と、当該第2暗号鍵とは、同一であってもよい。なお、当該第1暗号鍵及び当該第2暗号鍵それぞれがどのように使用されるかは、後に詳細に説明する。 In this example, the first encryption key stored in each of the non-volatile memory 41a of the slave communication device 35 and the non-volatile memory 41b of the master communication device 34, the non-volatile memory 41b of the master communication device 34, and the collation ECU 8. It is mainly assumed that the second encryption key stored in each of the non-volatile memories 16 is different. However, the first encryption key and the second encryption key may be the same. How each of the first encryption key and the second encryption key is used will be described in detail later.

(距離測定のための通信)
続いて、距離測定のための通信および測定値の判定結果の通知について説明する。例えば、照合ECU8から距離測定要求が出力されると、マスタ通信機34のインターフェース部39は、照合ECU8から距離測定要求の入力を受け付ける。インターフェース部39によって距離測定要求の入力を受け付けられると、通信制御部38は、インターフェース部39を介して距離測定要求をスレーブ通信機35に出力する。なお、照合ECU8から距離測定要求が出力されるタイミングは、スマート通信が確立したとき(例えば、車両1から送信されたウェイク信号に対し、端末2からのアック信号を車両1が受信したとき)であってもよいし、室外スマート照合又は室内スマート照合が成立したときであってもよい。
(Communication for distance measurement)
Subsequently, communication for distance measurement and notification of the determination result of the measured value will be described. For example, when the distance measurement request is output from the collation ECU 8, the interface unit 39 of the master communication device 34 receives the input of the distance measurement request from the collation ECU 8. When the interface unit 39 receives the input of the distance measurement request, the communication control unit 38 outputs the distance measurement request to the slave communication device 35 via the interface unit 39. The timing at which the distance measurement request is output from the collation ECU 8 is when smart communication is established (for example, when the vehicle 1 receives an ack signal from the terminal 2 with respect to the wake signal transmitted from the vehicle 1). It may be present, or it may be when the outdoor smart collation or the indoor smart collation is established.

通信機31(マスタ通信機34及びスレーブ通信機35)は、距離測定要求の入力を受け付けると、端末2との間で距離測定のための通信をそれぞれ開始する。 When the communication device 31 (master communication device 34 and slave communication device 35) receives the input of the distance measurement request, the communication device 31 (master communication device 34 and slave communication device 35) starts communication for distance measurement with the terminal 2, respectively.

続いて、距離測定のための通信について説明する。なお、本例では、距離測定のための通信に使用される電波(測距用電波及びその応答電波)がUWB帯の電波を使用して行われる場合を主に想定する。そこで、以下では、距離測定のための通信に使用される電波を「UWB電波Sa」と記載する場合がある。しかし、距離測定のための通信に使用される電波は、UWB帯の電波に限定されない。 Next, communication for distance measurement will be described. In this example, it is mainly assumed that the radio waves used for communication for distance measurement (radio waves for distance measurement and its response radio waves) are performed using radio waves in the UWB band. Therefore, in the following, the radio wave used for communication for distance measurement may be described as "UWB radio wave Sa". However, the radio waves used for communication for distance measurement are not limited to radio waves in the UWB band.

まず、距離測定のための通信においては、通信機31(すなわち、マスタ通信機34及びスレーブ通信機35)は、UWB電波Saを送信する。端末2のUWB送受信部33は、通信機31からUWB電波Saを受信すると、その応答としてUWB電波Saを返信する。そして、通信機31は、端末2から送信されたUWB電波Saを受信する。このとき、通信機31の測定部45(すなわち、マスタ通信機34の測定部45b及びスレーブ通信機35の測定部45a)は、通信機31及び端末2の間の距離に準じた測定値Vm(距離に相当する測距値)を測定する。 First, in the communication for distance measurement, the communication device 31 (that is, the master communication device 34 and the slave communication device 35) transmits the UWB radio wave Sa. When the UWB transmission / reception unit 33 of the terminal 2 receives the UWB radio wave Sa from the communication device 31, it returns the UWB radio wave Sa as a response. Then, the communication device 31 receives the UWB radio wave Sa transmitted from the terminal 2. At this time, the measuring unit 45 of the communication device 31 (that is, the measuring unit 45b of the master communication device 34 and the measuring unit 45a of the slave communication device 35) has a measured value Vm (that is, a measured value Vm (that is,) according to the distance between the communication device 31 and the terminal 2. Measure the distance measurement value corresponding to the distance).

より具体的には、通信機31の測定部45は、UWB電波Saの送信からその応答であるUWB電波Saの受信までの伝搬時間を計算し、この伝搬時間から通信機31及び端末2の間の距離に準じた測定値Vm(距離に相当する測距値)を算出する。また、測定部45は、測定値Vmが正当であるか否かを判定する。測定値Vmが正当であるか否かは、例えば測定値Vmが規定値Vk未満であるか否かによって判定される。 More specifically, the measuring unit 45 of the communication device 31 calculates the propagation time from the transmission of the UWB radio wave Sa to the reception of the UWB radio wave Sa which is the response, and from this propagation time between the communication device 31 and the terminal 2. Calculate the measured value Vm (distance measurement value corresponding to the distance) according to the distance of. Further, the measuring unit 45 determines whether or not the measured value Vm is valid. Whether or not the measured value Vm is valid is determined by, for example, whether or not the measured value Vm is less than the specified value Vk.

(暗号鍵の更新)
上記のように、通信機31は、端末2との間で距離測定のための通信(第1通信)を行う。そして、通信機31は、距離測定のための通信の結果として測定値Vmを得る。通信機31は、測定値Vmが正当であるか否かを示す判定結果を得る。通信機31は、判定結果を、通信線を介した通信(第2通信)により照合ECU8に送信する。例えば、スレーブ通信機35は、通信線37、マスタ通信機34及び通信線36を介して、判定結果を照合ECU8に送信する。また、マスタ通信機34は、通信線36を介して、判定結果を照合ECU8に送信する。なお、距離測定のための通信と通信線を介した通信とは、通信機31との通信相手が異なる。
(Update encryption key)
As described above, the communication device 31 performs communication (first communication) for distance measurement with the terminal 2. Then, the communication device 31 obtains the measured value Vm as a result of the communication for the distance measurement. The communication device 31 obtains a determination result indicating whether or not the measured value Vm is valid. The communication device 31 transmits the determination result to the collation ECU 8 by communication (second communication) via the communication line. For example, the slave communication device 35 transmits the determination result to the collation ECU 8 via the communication line 37, the master communication device 34, and the communication line 36. Further, the master communication device 34 transmits the determination result to the collation ECU 8 via the communication line 36. The communication partner with the communication device 31 is different between the communication for measuring the distance and the communication via the communication line.

照合ECU8は、通信線を介した通信により通信機31から判定結果を受信する。照合ECU8においては、判定結果に応じてスマート照合の照合結果を有効又は無効にする。 The collation ECU 8 receives the determination result from the communication device 31 by communication via the communication line. In the collation ECU 8, the collation result of smart collation is enabled or invalidated according to the determination result.

このとき、通信機31は、判定結果をそのまま照合ECU8に送信するのではなく、判定結果を処理することによって通信データを生成し、通信データを照合ECU8に送信する場合が想定される。かかる場合には、通信機31において結果が導き出されてから通信データが生成されると、通信データの送信が完了するまでに時間が掛かってしまう。そこで、本実施形態では、通信機31は、端末2との通信が完了してから、通信結果に対応する通信データを照合ECU8に送信するまでのタイミングを早期化する。 At this time, it is assumed that the communication device 31 does not transmit the determination result to the collation ECU 8 as it is, but generates communication data by processing the determination result and transmits the communication data to the collation ECU 8. In such a case, if the communication data is generated after the result is derived in the communication device 31, it takes time to complete the transmission of the communication data. Therefore, in the present embodiment, the communication device 31 accelerates the timing from the completion of the communication with the terminal 2 to the transmission of the communication data corresponding to the communication result to the collation ECU 8.

なお、端末2は、通信機31と通信(第1通信)を行う外部機器の一例であり、距離測定のための通信は、通信機31と外部機器との間で行われる通信(第1通信)の一例であり、測定値Vmは、通信機31と外部機器との間で行われる通信(第1通信)の結果の一例である。したがって、通信機31と通信(第1通信)を行う外部機器は、端末2に限定されないし、通信機31と外部機器との間で行われる通信(第1通信)は、距離測定のための通信に限定されないし、通信機31と外部機器との間で行われる通信(第1通信)の結果は、測定値Vmに限定されない。 The terminal 2 is an example of an external device that communicates with the communication device 31 (first communication), and the communication for distance measurement is communication performed between the communication device 31 and the external device (first communication). ), And the measured value Vm is an example of the result of communication (first communication) performed between the communication device 31 and the external device. Therefore, the external device that communicates with the communication device 31 (first communication) is not limited to the terminal 2, and the communication (first communication) performed between the communication device 31 and the external device is for distance measurement. The result of communication (first communication) performed between the communication device 31 and the external device is not limited to the measured value Vm.

また、測定値Vmが正当であるか否かを示す判定結果は、通信機31と外部機器との間で行われる通信(第1通信)の結果に対応する通信データの一例である。したがって、通信機31と外部機器との間で行われる通信(第1通信)の結果に対応する通信データは、測定値Vmが正当であるか否かを示す判定結果に限定されない。例えば、通信機31と外部機器との間で行われる通信(第1通信)の結果に対応する通信データは、通信機31と外部機器との間で行われる通信(第1通信)に基づく何らかの判定結果(例えば、正常判定を示す結果または異常判定を示す結果など)であってもよい。 Further, the determination result indicating whether or not the measured value Vm is valid is an example of communication data corresponding to the result of communication (first communication) performed between the communication device 31 and the external device. Therefore, the communication data corresponding to the result of the communication (first communication) performed between the communication device 31 and the external device is not limited to the determination result indicating whether or not the measured value Vm is valid. For example, the communication data corresponding to the result of the communication (first communication) performed between the communication device 31 and the external device is some based on the communication (first communication) performed between the communication device 31 and the external device. It may be a determination result (for example, a result indicating a normal determination or a result indicating an abnormality determination).

照合ECU8は、通信機31との間で通信線を介した通信(第2通信)を行う制御装置の一例であり、通信線を介した通信は、通信機31と制御装置との間で行われる通信(第2通信)の一例である。したがって、通信機31との間で通信線を介した通信(第2通信)を行う制御装置は、照合ECU8に限定されないし、通信機31と制御装置との間で行われる通信(第2通信)は、通信線を介した通信に限定されない。また、本例では、判定結果に対する処理の例として暗号鍵を用いた暗号化を想定する。しかし、判定結果に対する処理は、暗号鍵を用いた暗号化に限定されない。 The collation ECU 8 is an example of a control device that performs communication (second communication) with the communication device 31 via a communication line, and communication via the communication line is performed between the communication device 31 and the control device. This is an example of communication (second communication). Therefore, the control device that performs communication (second communication) with the communication device 31 via the communication line is not limited to the collation ECU 8, and the communication (second communication) performed between the communication device 31 and the control device. ) Is not limited to communication via a communication line. Further, in this example, encryption using an encryption key is assumed as an example of processing for the determination result. However, the processing for the determination result is not limited to the encryption using the encryption key.

照合ECU8の更新制御部47は、所定条件(以下、「解生成条件」とも言う。)が満たされた場合に、乱数α及び乱数βを生成し、乱数βを照合ECU8の更新部44cに出力するとともに、乱数α及び乱数βを、通信線36を介してマスタ通信機34に送信する。これによって、鍵生成条件が初めて満たされた場合には、乱数が初めて生成される。鍵生成条件が2回目以降に満たされた場合には、乱数が更新される。マスタ通信機34のインターフェース部39は、照合ECU8から通信線36を介して乱数α及び乱数βを受信すると、乱数α及び乱数βを更新部44bに出力するとともに、通信線37を介して乱数αをスレーブ通信機35に送信する。 The update control unit 47 of the collation ECU 8 generates a random number α and a random number β when a predetermined condition (hereinafter, also referred to as a “solution generation condition”) is satisfied, and outputs the random number β to the update unit 44c of the collation ECU 8. At the same time, the random number α and the random number β are transmitted to the master communication device 34 via the communication line 36. As a result, when the key generation condition is satisfied for the first time, a random number is generated for the first time. If the key generation condition is satisfied from the second time onward, the random number is updated. When the interface unit 39 of the master communication device 34 receives the random number α and the random number β from the collation ECU 8 via the communication line 36, the interface unit 39 outputs the random number α and the random number β to the update unit 44b and outputs the random number α and the random number β to the update unit 44b, and also outputs the random number α via the communication line 37. Is transmitted to the slave communication device 35.

スレーブ通信機35の更新部44aは、マスタ通信機34から通信線37を介して乱数αが受信されると、乱数αと第1暗号鍵とに基づいて第1暗号選択解を生成する。より詳細に、スレーブ通信機35の更新部44aは、第1暗号鍵を用いて乱数αを暗号化することによって第1暗号選択解を生成する。ここでの乱数αは、第1選択解に相当し得る。そして、更新部44aは、第1暗号選択解を初めて生成した場合には、生成した第1暗号選択解を揮発性メモリ40aに記憶させる。一方、更新部44aは、第1暗号選択解を2回目以降に生成した場合には、生成した第1暗号選択解によって揮発性メモリ40aに記憶されている第1暗号選択解を更新する。かかる構成によれば、第1暗号選択解のセキュリティ性が向上する。 When the random number α is received from the master communication device 34 via the communication line 37, the update unit 44a of the slave communication device 35 generates a first encryption selection solution based on the random number α and the first encryption key. More specifically, the update unit 44a of the slave communication device 35 generates the first encryption selective solution by encrypting the random number α using the first encryption key. The random number α here can correspond to the first-choice solution. Then, when the first cipher selection solution is generated for the first time, the update unit 44a stores the generated first cipher selection solution in the volatile memory 40a. On the other hand, when the first cipher selection solution is generated from the second time onward, the update unit 44a updates the first cipher selection solution stored in the volatile memory 40a by the generated first cipher selection solution. According to such a configuration, the security of the first cipher selection solution is improved.

図1には、スレーブ通信機35の揮発性メモリ40aに記憶されている第1暗号選択解が示されている。ここで、第1暗号選択解の数は限定されないが、少なくとも判定結果の種類に対応する数の第1暗号選択解が揮発性メモリ40aに記憶される。本例では、判定結果が2種類であるため、2つの第1暗号選択解が揮発性メモリ40aに記憶される。すなわち、更新部44aは、測定値Vmが正当であることを示す判定結果に対応する第1暗号選択解、及び、測定値Vmが正当ではないことを示す判定結果に対応する第1暗号選択解を、揮発性メモリ40aに記憶させる。判定結果は、1種類であってもよいし、3種類以上であってもよい。 FIG. 1 shows a first cipher selection solution stored in the volatile memory 40a of the slave communication device 35. Here, the number of the first cipher selection solutions is not limited, but at least the number of the first cipher selection solutions corresponding to the type of the determination result is stored in the volatile memory 40a. In this example, since there are two types of determination results, the two first cipher selection solutions are stored in the volatile memory 40a. That is, the update unit 44a has a first cipher selection solution corresponding to the determination result indicating that the measured value Vm is valid, and a first cipher selection solution corresponding to the determination result indicating that the measured value Vm is not valid. Is stored in the volatile memory 40a. The determination result may be one type or three or more types.

マスタ通信機34の更新部44bは、インターフェース部39から乱数αが入力されると、乱数αと第1暗号鍵とに基づいて第1暗号照合解を生成する。より詳細に、マスタ通信機34の更新部44bは、第1暗号鍵を用いて乱数αを暗号化することによって第1暗号照合解を生成する。ここでの乱数αは、第1照合解に相当し得る。そして、更新部44bは、第1暗号照合解を初めて生成した場合には、生成した第1暗号照合解を揮発性メモリ40bに記憶させる。一方、更新部44bは、第1暗号照合解を2回目以降に生成した場合には、生成した第1暗号照合解によって揮発性メモリ40bに記憶されている第1暗号照合解を更新する。かかる構成によれば、第1暗号照合解のセキュリティ性が向上する。 When the random number α is input from the interface unit 39, the update unit 44b of the master communication device 34 generates a first encryption collation solution based on the random number α and the first encryption key. More specifically, the update unit 44b of the master communication device 34 generates the first encryption collation solution by encrypting the random number α using the first encryption key. The random number α here can correspond to the first collation solution. Then, when the first cryptographic collation solution is generated for the first time, the update unit 44b stores the generated first cryptographic collation solution in the volatile memory 40b. On the other hand, when the first cipher collation solution is generated from the second time onward, the update unit 44b updates the first cipher collation solution stored in the volatile memory 40b by the generated first cipher collation solution. According to such a configuration, the security of the first cryptographic collation solution is improved.

図1には、マスタ通信機34の揮発性メモリ40bに記憶されている第1暗号照合解が示されている。ここで、第1暗号照合解の数は限定されないが、少なくとも判定結果の種類に対応する数の第1暗号照合解が揮発性メモリ40bに記憶される。本例では、判定結果が2種類であるため、2つの第1暗号照合解が揮発性メモリ40bに記憶される。すなわち、更新部44bは、測定値Vmが正当であることを示す判定結果に対応する第1暗号照合解、及び、測定値Vmが正当ではないことを示す判定結果に対応する第1暗号照合解を、揮発性メモリ40bに記憶させる。 FIG. 1 shows a first cryptographic collation solution stored in the volatile memory 40b of the master communication device 34. Here, the number of the first cryptographic collation solutions is not limited, but at least the number of the first cryptographic collation solutions corresponding to the type of the determination result is stored in the volatile memory 40b. In this example, since there are two types of determination results, the two first cryptographic collation solutions are stored in the volatile memory 40b. That is, the update unit 44b has a first cryptographic collation solution corresponding to the determination result indicating that the measured value Vm is valid, and a first cryptographic collation solution corresponding to the determination result indicating that the measured value Vm is not valid. Is stored in the volatile memory 40b.

また、マスタ通信機34の更新部44bは、インターフェース部39から乱数βが入力されると、乱数βと第2暗号鍵とに基づいて第2暗号選択解を生成する。より詳細に、マスタ通信機34の更新部44bは、第2暗号鍵を用いて乱数βを暗号化することによって第2暗号選択解を生成する。ここでの乱数βは、第2選択解に相当し得る。そして、更新部44bは、第2暗号選択解を初めて生成した場合には、生成した第2暗号選択解を揮発性メモリ40bに記憶させる。一方、更新部44bは、第2暗号選択解を2回目以降に生成した場合には、生成した第2暗号選択解によって揮発性メモリ40bに記憶されている第2暗号選択解を更新する。かかる構成によれば、第2暗号選択解のセキュリティ性が向上する。 Further, when the random number β is input from the interface unit 39, the update unit 44b of the master communication device 34 generates a second encryption selection solution based on the random number β and the second encryption key. More specifically, the update unit 44b of the master communication device 34 generates a second encryption selective solution by encrypting the random number β using the second encryption key. The random number β here may correspond to the second-choice solution. Then, when the second cipher selection solution is generated for the first time, the update unit 44b stores the generated second cipher selection solution in the volatile memory 40b. On the other hand, when the second cipher selection solution is generated from the second time onward, the update unit 44b updates the second cipher selection solution stored in the volatile memory 40b by the generated second cipher selection solution. According to such a configuration, the security of the second cipher selection solution is improved.

図1には、マスタ通信機34の揮発性メモリ40bに記憶されている第2暗号選択解が示されている。ここで、第2暗号選択解の数は限定されないが、少なくとも判定結果の種類に対応する数の第2暗号選択解が揮発性メモリ40bに記憶される。本例では、判定結果が2種類であるため、2つの第2暗号選択解が揮発性メモリ40bに記憶される。すなわち、更新部44bは、測定値Vmが正当であることを示す判定結果に対応する第2暗号選択解、及び、測定値Vmが正当ではないことを示す判定結果に対応する第2暗号選択解を、揮発性メモリ40bに記憶させる。 FIG. 1 shows a second cipher selection solution stored in the volatile memory 40b of the master communication device 34. Here, the number of the second cipher selection solutions is not limited, but at least the number of the second cipher selection solutions corresponding to the type of the determination result is stored in the volatile memory 40b. In this example, since there are two types of determination results, the two second cipher selection solutions are stored in the volatile memory 40b. That is, the update unit 44b has a second cipher selection solution corresponding to the determination result indicating that the measured value Vm is valid, and a second cipher selection solution corresponding to the determination result indicating that the measured value Vm is not valid. Is stored in the volatile memory 40b.

照合ECU8の更新部44cは、更新制御部47から乱数βが入力されると、乱数βと第2暗号鍵とに基づいて第2暗号照合解を生成する。より詳細に、照合ECU8の更新部44cは、第2暗号鍵を用いて乱数βを暗号化することによって第2暗号照合解を生成する。ここでの乱数βは、第2照合解に相当し得る。そして、更新部44cは、第2暗号照合解を初めて生成した場合には、生成した第2暗号照合解を揮発性メモリ15に記憶させる。一方、更新部44cは、第2暗号照合解を2回目以降に生成した場合には、生成した第2暗号照合解によって揮発性メモリ15に記憶されている第2暗号照合解を更新する。かかる構成によれば、第2暗号照合解のセキュリティ性が向上する。 When the random number β is input from the update control unit 47, the update unit 44c of the collation ECU 8 generates a second encryption collation solution based on the random number β and the second encryption key. More specifically, the update unit 44c of the collation ECU 8 generates a second encryption collation solution by encrypting the random number β using the second encryption key. The random number β here can correspond to the second collation solution. Then, when the second cipher collation solution is generated for the first time, the update unit 44c stores the generated second cipher collation solution in the volatile memory 15. On the other hand, when the second cipher collation solution is generated from the second time onward, the update unit 44c updates the second cipher collation solution stored in the volatile memory 15 by the generated second cipher collation solution. According to such a configuration, the security of the second cryptographic collation solution is improved.

図1には、照合ECU8の揮発性メモリ15に記憶されている第2暗号照合解が示されている。ここで、第1暗号選択解の数は限定されないが、少なくとも判定結果の種類に対応する数の第2暗号照合解が揮発性メモリ15に記憶される。本例では、判定結果が2種類であるため、2つの第2暗号照合解が揮発性メモリ15に記憶される。すなわち、更新部44cは、測定値Vmが正当であることを示す判定結果に対応する第2暗号照合解、及び、測定値Vmが正当ではないことを示す判定結果に対応する第2暗号照合解を、揮発性メモリ15に記憶させる。 FIG. 1 shows a second cryptographic collation solution stored in the volatile memory 15 of the collation ECU 8. Here, the number of the first cipher selection solutions is not limited, but at least the number of the second cipher collation solutions corresponding to the type of the determination result is stored in the volatile memory 15. In this example, since there are two types of determination results, the two second cryptographic collation solutions are stored in the volatile memory 15. That is, the update unit 44c has a second cryptographic collation solution corresponding to the determination result indicating that the measured value Vm is valid, and a second cryptographic collation solution corresponding to the determination result indicating that the measured value Vm is not valid. Is stored in the volatile memory 15.

なお、解生成条件は、距離測定要求が照合ECU8から出力されるタイミングと同様に、スマート通信が確立したという条件(例えば、車両1から送信されたウェイク信号に対し、端末2からのアック信号を車両1が受信したという条件)であってもよいし、室外スマート照合又は室内スマート照合が成立したという条件であってもよい。すなわち、解生成条件は、端末2の認証のための通信が確立したという条件であってもよいし、端末2の認証の一部が成立したという条件であってもよい。 The solution generation condition is the same as the timing when the distance measurement request is output from the collation ECU 8, and the condition that the smart communication is established (for example, the wake signal transmitted from the vehicle 1 is subjected to the ack signal from the terminal 2). It may be a condition that the vehicle 1 has received it), or it may be a condition that the outdoor smart collation or the indoor smart collation has been established. That is, the solution generation condition may be a condition that communication for authentication of the terminal 2 is established, or a condition that a part of the authentication of the terminal 2 is established.

かかる構成によれば、端末2の認証が行われるたびに暗号選択解が更新されれば、暗号選択解のセキュリティ性が向上する。特に、端末2の認証が行われるときに距離測定のための通信が行われ、測定値Vmが正当であるか否かが判定され、判定結果に対応する暗号選択解が照合ECU8に送信されるよう構成されている場合が想定される。かかる場合に、端末2の認証が行われるたびに暗号選択解が更新されれば、暗号選択解が照合ECU8に送信されるたびに暗号選択解が更新されることとなるため、暗号選択解のセキュリティ性がより向上する。 According to such a configuration, if the encryption selection solution is updated every time the terminal 2 is authenticated, the security of the encryption selection solution is improved. In particular, when the terminal 2 is authenticated, communication for distance measurement is performed, it is determined whether or not the measured value Vm is valid, and a cipher selection solution corresponding to the determination result is transmitted to the collation ECU 8. It is assumed that it is configured as such. In such a case, if the encryption selection solution is updated every time the terminal 2 is authenticated, the encryption selection solution is updated every time the encryption selection solution is transmitted to the collation ECU 8, so that the encryption selection solution is updated. Security is further improved.

本例では、解生成条件が、端末2の認証のための通信が確立したという条件である場合、かつ、照合ECU8からマスタ通信機34に対して出力される距離測定要求に、乱数α及び乱数βが付される場合を主に想定する。しかし、距離測定要求に乱数α及び乱数βが付されていなくてもよく、距離測定要求と乱数α及び乱数βとは、別々に照合ECU8からマスタ通信機34に対して出力されてもよい。 In this example, when the solution generation condition is the condition that the communication for the authentication of the terminal 2 is established, and the distance measurement request output from the collation ECU 8 to the master communication device 34 is a random number α and a random number. It is mainly assumed that β is added. However, the distance measurement request may not be accompanied by the random number α and the random number β, and the distance measurement request and the random number α and the random number β may be separately output from the collation ECU 8 to the master communication device 34.

解生成条件は、かかる例に限定されない。例えば、解生成条件は、所定時間が経過したという条件を含んでもよい。かかる構成によれば、所定時間が経過した後も同じ暗号鍵が使用されてしまうことがなくなるため、暗号選択解のセキュリティ性が向上することが期待される。所定時間は、1度だけ到来する時間であってもよいし、複数回到来する時間であってもよい。また、複数回到来する時間は、定期的に複数回到来する時間であってもよい。 The solution generation conditions are not limited to this example. For example, the solution generation condition may include a condition that a predetermined time has elapsed. According to such a configuration, the same encryption key is not used even after a predetermined time has elapsed, so that it is expected that the security of the encryption selection solution will be improved. The predetermined time may be a time that arrives only once, or a time that arrives a plurality of times. Further, the time that arrives a plurality of times may be a time that arrives a plurality of times on a regular basis.

あるいは、解生成条件は、端末2と通信機31との間で行われた共通の暗号鍵を使用した通信(暗号通信)の回数が所定回数に達したという条件を含んでもよい。かかる構成によれば、暗号通信の回数が所定回数に達した後も同じ暗号鍵が使用されてしまうことがなくなるため、暗号選択解のセキュリティ性が向上することが期待される。なお、端末2と通信機31との間で行われた暗号通信の回数は、例えば、端末2及び通信機31それぞれから照合ECU8に通知され、照合ECU8によって管理されていればよい。 Alternatively, the solution generation condition may include a condition that the number of times of communication (encryption communication) using the common encryption key performed between the terminal 2 and the communication device 31 has reached a predetermined number of times. According to such a configuration, the same encryption key is not used even after the number of times of encrypted communication reaches a predetermined number of times, so that it is expected that the security of the encryption selection solution is improved. The number of encrypted communications performed between the terminal 2 and the communication device 31 may be notified to the collation ECU 8 from each of the terminal 2 and the communication device 31 and managed by the collation ECU 8.

また、本例では、更新制御部47によって乱数が生成される場合を想定する。しかし、更新制御部47によって生成されるデータは、乱数に限定されない。例えば、更新制御部47によって生成されるデータは、規則的に変化するデータであってもよい。すなわち、更新制御部47によって生成されるデータは、時間の経過とともに変化し得る情報であればよく、より望ましくは出力されるたびに変化する情報であるのがよい。また、本例では、セキュリティ性を向上させるため、乱数αと乱数βとが異なる値である場合を主に想定する。しかし、乱数αと乱数βとは同一の値であってもよい。 Further, in this example, it is assumed that a random number is generated by the update control unit 47. However, the data generated by the update control unit 47 is not limited to random numbers. For example, the data generated by the update control unit 47 may be data that changes regularly. That is, the data generated by the update control unit 47 may be any information that can change with the passage of time, and more preferably information that changes each time it is output. Further, in this example, in order to improve security, it is mainly assumed that the random number α and the random number β have different values. However, the random number α and the random number β may have the same value.

以上のように、第1暗号選択解及び第1暗号照合解は、第1暗号鍵を用いた共通鍵暗号方式による暗号化に基づいて生成される。かかる構成によれば、通信の秘匿性が向上する。また、第1暗号鍵による暗号化の対象である第1選択解及び第1照合解が同じ値(上記例では、第1選択解及び第1照合解が共に乱数α)であれば、第1暗号選択解及び第1暗号照合解は、同じ値として生成される。かかる構成によれば、第1暗号選択解及び第1暗号照合解との照合は、双方が一致するか否かに基づいて容易に判定され得る。しかし、第1暗号選択解及び第1暗号照合解は、同じ値として生成されなくてもよく、第1暗号選択解及び第1暗号照合解の対応関係が把握されていれば、かかる対応関係に基づいて、第1暗号選択解及び第1暗号照合解との照合が行われ得る。 As described above, the first cipher selection solution and the first cipher collation solution are generated based on the encryption by the common key cryptosystem using the first cipher key. According to such a configuration, the confidentiality of communication is improved. Further, if the first selection solution and the first collation solution to be encrypted by the first encryption key have the same value (in the above example, both the first selection solution and the first collation solution are random numbers α), the first The cipher selection solution and the first cipher collation solution are generated as the same value. According to such a configuration, the collation with the first cipher selection solution and the first cipher collation solution can be easily determined based on whether or not both of them match. However, the first cipher selection solution and the first cipher collation solution do not have to be generated as the same value, and if the correspondence between the first cipher selection solution and the first cipher collation solution is known, such a correspondence can be obtained. Based on this, collation with the first cipher selection solution and the first cipher collation solution can be performed.

同様に、第2暗号選択解及び第2暗号照合解は、第2暗号鍵を用いた共通鍵暗号方式による暗号化に基づいて生成される。かかる構成によれば、通信の秘匿性が向上する。また、また、第2暗号鍵による暗号化の対象である第2選択解及び第2照合解が同じ値(上記例では、第2選択解及び第2照合解が共に乱数β)であれば、第2暗号選択解及び第2暗号照合解は、同じ値として生成される。かかる構成によれば、第2暗号選択解及び第2暗号照合解との照合は、双方が一致するか否かに基づいて容易に判定され得る。しかし、第2暗号選択解及び第2暗号照合解は、同じ値として生成されなくてもよく、第2暗号選択解及び第2暗号照合解の対応関係が把握されていれば、かかる対応関係に基づいて、第2暗号選択解及び第2暗号照合解との照合が行われ得る。 Similarly, the second cipher selection solution and the second cipher collation solution are generated based on encryption by a common key cryptosystem using a second cipher key. According to such a configuration, the confidentiality of communication is improved. Further, if the second selection solution and the second collation solution to be encrypted by the second encryption key have the same value (in the above example, both the second selection solution and the second collation solution are random numbers β). The second cipher selection solution and the second cipher collation solution are generated as the same value. According to such a configuration, the collation with the second cipher selection solution and the second cipher collation solution can be easily determined based on whether or not both of them match. However, the second cipher selection solution and the second cipher collation solution do not have to be generated as the same value, and if the correspondence between the second cipher selection solution and the second cipher collation solution is known, such a correspondence can be obtained. Based on this, collation with the second cipher selection solution and the second cipher collation solution can be performed.

(判定結果の通知)
通信機31は、測定値Vmが正当であるか否かを示す判定結果に応じて選択された暗号選択解を照合ECU8に送信する。そして、照合ECU8は、通信機31から送信された暗号選択解を受信する。かかる構成によれば、通信機31と端末2との間の距離測定のための通信が完了する前から、判定結果に対応する暗号選択解が用意されている。したがって、かかる構成によれば、距離測定のための通信が完了してから、判定結果に対応する暗号選択解を照合ECU8へ出力するまでのタイミングを早期化することが可能となる。
(Notification of judgment result)
The communication device 31 transmits to the collation ECU 8 a cipher selection solution selected according to a determination result indicating whether or not the measured value Vm is valid. Then, the collation ECU 8 receives the cipher selection solution transmitted from the communication device 31. According to such a configuration, a cipher selection solution corresponding to the determination result is prepared even before the communication for measuring the distance between the communication device 31 and the terminal 2 is completed. Therefore, according to such a configuration, it is possible to accelerate the timing from the completion of the communication for distance measurement to the output of the cipher selection solution corresponding to the determination result to the collation ECU 8.

照合ECU8の照合部46は、受信した暗号選択解と当該暗号選択解に対応して用意された暗号照合解とを照合する。かかる構成によれば、受信した暗号選択解に対応する暗号照合解があらかじめ用意されている。したがって、かかる構成によれば、暗号選択解を受信してから、当該暗号選択解に適合する暗号照合解を得て当該暗号照合解に対応する判定結果を得るタイミングを早期化することが可能となる。 The collation unit 46 of the collation ECU 8 collates the received cipher selection solution with the cipher collation solution prepared corresponding to the cipher selection solution. According to such a configuration, a cryptographic collation solution corresponding to the received cryptographic selection solution is prepared in advance. Therefore, according to such a configuration, it is possible to accelerate the timing of obtaining the cipher collation solution matching the cipher selection solution and obtaining the determination result corresponding to the cipher collation solution after receiving the cipher selection solution. Become.

本例では、スレーブ通信機35、及び、マスタ通信機34の双方によって、測定値Vmが正当であるか否かを示す判定結果が送信される。 In this example, both the slave communication device 35 and the master communication device 34 transmit a determination result indicating whether or not the measured value Vm is valid.

まず、スレーブ通信機35の取得部42aは、測定部45aによって得られた判定結果に対応する第1暗号選択解を揮発性メモリ40aから取得し、第1通信部43aは、取得部42aによって取得された第1暗号選択解を、通信線37を介してマスタ通信機34に送信する。かかる構成によれば、判定結果に対応する第1暗号選択解があらかじめ用意されているため、判定結果が得られてから、当該判定結果に対応する第1暗号選択解を送信するまでの時間が短縮され得る。 First, the acquisition unit 42a of the slave communication device 35 acquires the first cipher selection solution corresponding to the determination result obtained by the measurement unit 45a from the volatile memory 40a, and the first communication unit 43a is acquired by the acquisition unit 42a. The obtained first cipher selection solution is transmitted to the master communication device 34 via the communication line 37. According to such a configuration, since the first cipher selection solution corresponding to the determination result is prepared in advance, the time from the acquisition of the determination result to the transmission of the first cipher selection solution corresponding to the determination result is obtained. Can be shortened.

より詳細に、取得部42aは、測定部45aによって測定値Vmが正当であることを示す判定結果が得られた場合、測定値Vmが正当であることを示す判定結果に対応する第1暗号選択解を揮発性メモリ40aから取得し、第1通信部43aは、測定値Vmが正当であることを示す判定結果に対応する第1暗号選択解を、通信線37を介してマスタ通信機34に送信する。かかる構成によれば、後にも説明するように、照合ECU8によって測定値Vmが正当であることを示す判定結果が得られる。 More specifically, when the measurement unit 45a obtains a determination result indicating that the measured value Vm is valid, the acquisition unit 42a selects the first code corresponding to the determination result indicating that the measured value Vm is valid. The solution is acquired from the volatile memory 40a, and the first communication unit 43a transmits the first code selection solution corresponding to the determination result indicating that the measured value Vm is valid to the master communication device 34 via the communication line 37. Send. According to such a configuration, as will be described later, the collation ECU 8 can obtain a determination result indicating that the measured value Vm is valid.

一方、取得部42aは、測定部45aによって測定値Vmが正当ではないことを示す判定結果が得られた場合、測定値Vmが正当ではないことを示す判定結果に対応する第1暗号選択解を揮発性メモリ40aから取得し、第1通信部43aは、測定値Vmが正当ではないことを示す判定結果に対応する第1暗号選択解を、通信線37を介してマスタ通信機34に送信する。かかる構成によれば、後にも説明するように、照合ECU8によって測定値Vmが正当ではないことを示す判定結果が得られる。 On the other hand, when the measurement unit 45a obtains a determination result indicating that the measured value Vm is not valid, the acquisition unit 42a obtains a first code selection solution corresponding to the determination result indicating that the measured value Vm is not valid. Acquired from the volatile memory 40a, the first communication unit 43a transmits the first code selection solution corresponding to the determination result indicating that the measured value Vm is not valid to the master communication device 34 via the communication line 37. .. According to such a configuration, as will be described later, the collation ECU 8 can obtain a determination result indicating that the measured value Vm is not valid.

マスタ通信機34の取得部42bは、第2通信部43bによってスレーブ通信機35から通信線37を介して第1暗号選択解が受信されると、第2通信部43bによって受信された第1暗号選択解と揮発性メモリ40bに記憶された第1暗号照合解とを照合する。かかる構成によれば、第1暗号照合解があらかじめ用意されているため、第1暗号選択解を受信してから、当該第1暗号選択解に対応する第1暗号選択解を得るまでの時間が短縮され得る。 When the acquisition unit 42b of the master communication unit 34 receives the first cipher selection solution from the slave communication unit 35 via the communication line 37 by the second communication unit 43b, the first cipher received by the second communication unit 43b The selected solution is collated with the first cryptographic collation solution stored in the volatile memory 40b. According to this configuration, since the first cipher collation solution is prepared in advance, the time from receiving the first cipher selection solution to obtaining the first cipher selection solution corresponding to the first cipher selection solution is obtained. Can be shortened.

第2通信部43bは、取得部42bによって第1暗号選択解と適合する第1暗号照合解が揮発性メモリ40bから取得された場合、取得部42bによって取得された第1暗号照合解に対応する第2暗号選択解を、通信線36を介して照合ECU8に送信する。かかる構成によれば、第1暗号照合解に対応する第2暗号選択解があらかじめ用意されているため、第1暗号照合解を受信してから、当該第1暗号照合解に対応する第2暗号選択解を送信するまでの時間が短縮され得る。 The second communication unit 43b corresponds to the first cipher collation solution acquired by the acquisition unit 42b when the first cipher collation solution matching the first cipher selection solution is acquired from the volatile memory 40b by the acquisition unit 42b. The second cipher selection solution is transmitted to the collation ECU 8 via the communication line 36. According to this configuration, since the second cipher selection solution corresponding to the first cipher collation solution is prepared in advance, the second cipher corresponding to the first cipher collation solution is received after the first cipher collation solution is received. The time to send the selected solution can be shortened.

より詳細に、第2通信部43bは、取得部42bによって第1暗号選択解と適合する第1暗号照合解として、測定値Vmが正当であることを示す判定結果に対応する第1暗号照合解が揮発性メモリ40bから取得された場合、測定値Vmが正当であることを示す判定結果に対応する第2暗号選択解を、通信線36を介して照合ECU8に送信する。かかる構成によれば、後にも説明するように、照合ECU8によって測定値Vmが正当であることを示す判定結果が得られる。 More specifically, the second communication unit 43b is the first cipher collation solution corresponding to the determination result indicating that the measured value Vm is valid as the first cipher collation solution that matches the first cipher selection solution by the acquisition unit 42b. Is acquired from the volatile memory 40b, a second cipher selection solution corresponding to the determination result indicating that the measured value Vm is valid is transmitted to the collation ECU 8 via the communication line 36. According to such a configuration, as will be described later, the collation ECU 8 can obtain a determination result indicating that the measured value Vm is valid.

一方、第2通信部43bは、取得部42bによって第1暗号選択解と適合する第1暗号照合解として、測定値Vmが正当ではないことを示す判定結果に対応する第1暗号照合解が揮発性メモリ40bから取得された場合、測定値Vmが正当ではないことを示す判定結果に対応する第2暗号選択解を、通信線36を介して照合ECU8に送信する。かかる構成によれば、後にも説明するように、照合ECU8によって測定値Vmが正当ではないことを示す判定結果が得られる。 On the other hand, in the second communication unit 43b, as the first cipher collation solution that matches the first cipher selection solution by the acquisition unit 42b, the first cipher collation solution corresponding to the determination result indicating that the measured value Vm is not valid is volatile. When acquired from the sex memory 40b, a second cipher selection solution corresponding to a determination result indicating that the measured value Vm is not valid is transmitted to the collation ECU 8 via the communication line 36. According to such a configuration, as will be described later, the collation ECU 8 can obtain a determination result indicating that the measured value Vm is not valid.

なお、第2通信部43bによって受信された第1暗号選択解に適合する第1暗号照合解が取得部42bによって揮発性メモリ40bから取得されない場合も想定される。かかる場合には、第2通信部43bは、通信線36を介して照合ECU8に対して何も送信しなくてもよい。あるいは、通信部43bは、第1暗号照合解が取得されないことを示す情報を、通信線36を介して照合ECU8に対して送信してもよい。これによって、照合ECU8の受信部49によって第1暗号照合解が取得されないことを示す情報が受信されれば、照合ECU8の照合部46は、マスタ通信機34から第2暗号照合解が受信されない状況が生じても、その状況がマスタ通信機34において第1暗号照合解が取得されないことが理由で生じたことを把握することができる。 It is also assumed that the first cipher collation solution matching the first cipher selection solution received by the second communication unit 43b is not acquired from the volatile memory 40b by the acquisition unit 42b. In such a case, the second communication unit 43b does not have to transmit anything to the collation ECU 8 via the communication line 36. Alternatively, the communication unit 43b may transmit information indicating that the first cryptographic collation solution is not acquired to the collation ECU 8 via the communication line 36. As a result, if the receiving unit 49 of the collation ECU 8 receives information indicating that the first cryptographic collation solution is not acquired, the collation unit 46 of the collation ECU 8 does not receive the second cryptographic collation solution from the master communication device 34. Even if the above occurs, it can be grasped that the situation has occurred because the first cryptographic collation solution is not acquired in the master communication device 34.

さらに、マスタ通信機34の取得部42bは、測定部45bによって得られた判定結果に対応する第2暗号選択解を揮発性メモリ40bから取得し、第2通信部43bは、取得部42bによって取得された第2暗号選択解を、通信線36を介して照合ECU8に送信する。かかる構成によれば、判定結果に対応する第2暗号選択解があらかじめ用意されているため、判定結果が得られてから、当該判定結果に対応する第2暗号選択解を送信するまでの時間が短縮され得る。 Further, the acquisition unit 42b of the master communication device 34 acquires the second cipher selection solution corresponding to the determination result obtained by the measurement unit 45b from the volatile memory 40b, and the second communication unit 43b acquires it by the acquisition unit 42b. The second cipher selection solution is transmitted to the collation ECU 8 via the communication line 36. According to such a configuration, since the second cipher selection solution corresponding to the determination result is prepared in advance, the time from the acquisition of the determination result to the transmission of the second cipher selection solution corresponding to the determination result is obtained. Can be shortened.

より詳細に、取得部42bは、測定部45bによって測定値Vmが正当であることを示す判定結果が得られた場合、測定値Vmが正当であることを示す判定結果に対応する第2暗号選択解を揮発性メモリ40bから取得し、第2通信部43bは、測定値Vmが正当であることを示す判定結果に対応する第2暗号選択解を、通信線36を介して照合ECU8に送信する。かかる構成によれば、後にも説明するように、照合ECU8によって測定値Vmが正当であることを示す判定結果が得られる。 More specifically, when the measurement unit 45b obtains a determination result indicating that the measured value Vm is valid, the acquisition unit 42b selects a second code corresponding to the determination result indicating that the measured value Vm is valid. The solution is acquired from the volatile memory 40b, and the second communication unit 43b transmits the second code selection solution corresponding to the determination result indicating that the measured value Vm is valid to the matching ECU 8 via the communication line 36. .. According to such a configuration, as will be described later, the collation ECU 8 can obtain a determination result indicating that the measured value Vm is valid.

一方、取得部42bは、測定部45bによって測定値Vmが正当ではないことを示す判定結果が得られた場合、測定値Vmが正当ではないことを示す判定結果に対応する第2暗号選択解を揮発性メモリ40bから取得し、第2通信部43bは、測定値Vmが正当ではないことを示す判定結果に対応する第2暗号選択解を、通信線36を介して照合ECU8に送信する。かかる構成によれば、後にも説明するように、照合ECU8によって測定値Vmが正当ではないことを示す判定結果が得られる。 On the other hand, when the measurement unit 45b obtains a determination result indicating that the measured value Vm is not valid, the acquisition unit 42b obtains a second code selection solution corresponding to the determination result indicating that the measured value Vm is not valid. Acquired from the volatile memory 40b, the second communication unit 43b transmits a second code selection solution corresponding to the determination result indicating that the measured value Vm is not valid to the matching ECU 8 via the communication line 36. According to such a configuration, as will be described later, the collation ECU 8 can obtain a determination result indicating that the measured value Vm is not valid.

照合ECU8の照合部46は、受信部49によってマスタ通信機34から通信線36を介して第2暗号選択解が受信された場合、受信部49によって受信された第2暗号選択解と揮発性メモリ15に記憶された第2暗号照合解とを照合する。かかる構成によれば、受信部49によって受信された第2暗号選択解に対応する第2暗号照合解があらかじめ用意されている。したがって、かかる構成によれば、受信部49によって第2暗号選択解が受信されてから、当該第2暗号選択解に適合する第2暗号照合解を得て当該第2暗号照合解に対応する判定結果を得るタイミングを早期化することが可能となる。 When the collating unit 46 of the collating ECU 8 receives the second cipher selection solution from the master communication device 34 via the communication line 36 by the receiving unit 49, the collating unit 46 receives the second cipher selection solution and the volatile memory by the receiving unit 49. It is collated with the second cryptographic collation solution stored in 15. According to such a configuration, a second cipher collation solution corresponding to the second cipher selection solution received by the receiving unit 49 is prepared in advance. Therefore, according to such a configuration, after the second cipher selection solution is received by the receiving unit 49, a second cipher collation solution matching the second cipher selection solution is obtained and a determination corresponding to the second cipher collation solution is obtained. It is possible to accelerate the timing of obtaining results.

処理実行部17は、照合部46によって第2暗号選択解と適合する第2暗号照合解を揮発性メモリ15から取得した場合、取得した第2暗号照合解に対応する判定結果を得る。より詳細に、処理実行部17は、第2暗号選択解と適合する第2暗号照合解として、測定値Vmが正当であることを示す判定結果に対応する第2暗号照合解を揮発性メモリ15から取得した場合、測定値Vmが正当であることを示す判定結果を得る。一方、処理実行部17は、第2暗号選択解と適合する第2暗号照合解として、測定値Vmが正当ではないことを示す判定結果に対応する第2暗号照合解を揮発性メモリ15から取得した場合、測定値Vmが正当ではないことを示す判定結果を得る。 When the collation unit 46 acquires the second cipher collation solution that matches the second cipher selection solution from the volatile memory 15, the processing execution unit 17 obtains a determination result corresponding to the acquired second cipher collation solution. More specifically, the processing execution unit 17 uses the volatile memory 15 as the second cipher collation solution that matches the second cipher selection solution, and sets the second cipher collation solution corresponding to the determination result indicating that the measured value Vm is valid. When obtained from, a determination result indicating that the measured value Vm is valid is obtained. On the other hand, the processing execution unit 17 acquires a second cipher collation solution corresponding to the determination result indicating that the measured value Vm is not valid from the volatile memory 15 as the second cipher collation solution compatible with the second cipher selection solution. If so, a determination result indicating that the measured value Vm is not valid is obtained.

なお、照合部46によって第2暗号選択解と適合する第2暗号照合解が揮発性メモリ15から取得されない場合も想定される。かかる場合には、処理実行部17は、測定値Vmが正当ではないことを示す判定結果を得ればよい(測定値Vmが正当ではないと判定すればよい)。 It is also assumed that the collation unit 46 does not acquire the second cipher collation solution that matches the second cipher selection solution from the volatile memory 15. In such a case, the processing execution unit 17 may obtain a determination result indicating that the measured value Vm is not valid (it may be determined that the measured value Vm is not valid).

処理実行部17は、測定値Vmが正当か否かを示す判定結果に基づいて、スマート照合の成立可否を決定する。例えば、処理実行部17は、少なくとも一つの通信機31から測定値Vmが正当であることを示す判定結果が入力された場合、スマート照合の成立を有効にする。一方、処理実行部17は、いずれの通信機31からも測定値Vmが正当であることを示す判定結果が入力されない場合、スマート照合の成立を無効にする。照合ECU8は、スマート照合の成立が有効にされた場合に、車載装置3の作動を許可又は実行する。 The processing execution unit 17 determines whether or not the smart collation can be established based on the determination result indicating whether or not the measured value Vm is valid. For example, the processing execution unit 17 enables the establishment of smart collation when a determination result indicating that the measured value Vm is valid is input from at least one communication device 31. On the other hand, the processing execution unit 17 invalidates the establishment of the smart collation when the determination result indicating that the measured value Vm is valid is not input from any of the communication devices 31. The collation ECU 8 permits or executes the operation of the in-vehicle device 3 when the establishment of smart collation is enabled.

<<1.2.動作例>>
次に、図3及び図4を用いて、本実施形態の距離測定システム30の作用について説明する。
<< 1.2. Operation example >>
Next, the operation of the distance measurement system 30 of the present embodiment will be described with reference to FIGS. 3 and 4.

図3に示すように、ステップS101において、照合ECU8は、マスタ通信機34へ距離測定要求を送信する。また、更新制御部47は、乱数α、βを生成し、距離測定要求とともに乱数α、βをマスタ通信機34へ送信する。このとき、更新部44cは、乱数β及び第2暗号鍵を用いて第2暗号照合解を更新する。上記したように、距離測定要求及び乱数α、βは、例えばスマート通信が確立したとき(例えば、車両1から送信されたウェイク信号に対し、端末2からのアック信号を車両1が受信したとき)に送信されてもよいし、室外スマート照合又は室内スマート照合が成立したときに送信されてもよい。スマート通信が確立したとは、例えば車両1から送信されたウェイク信号に対し、端末2からのアック信号を車両1が受信したことである。さらに、上記したように、距離測定要求と乱数α、βとは、別のタイミングに送信されてもよい。 As shown in FIG. 3, in step S101, the collation ECU 8 transmits a distance measurement request to the master communication device 34. Further, the update control unit 47 generates random numbers α and β, and transmits the random numbers α and β to the master communication device 34 together with the distance measurement request. At this time, the update unit 44c updates the second encryption collation solution using the random number β and the second encryption key. As described above, the distance measurement request and the random numbers α and β are, for example, when smart communication is established (for example, when the vehicle 1 receives an ack signal from the terminal 2 with respect to the wake signal transmitted from the vehicle 1). It may be transmitted to when the outdoor smart collation or the indoor smart collation is established. The establishment of smart communication means that, for example, the vehicle 1 receives an ack signal from the terminal 2 in response to a wake signal transmitted from the vehicle 1. Further, as described above, the distance measurement request and the random numbers α and β may be transmitted at different timings.

ステップS102において、マスタ通信機34のインターフェース部39は、距離測定要求及び乱数α、βを受信すると、マスタ通信機34の更新部44bは、乱数α及び第1暗号鍵を用いて第1暗号照合解を更新し、乱数β及び第2暗号鍵を用いて第2暗号選択解を更新する。また、マスタ通信機34の通信制御部38は、スレーブ通信機35a〜35dの作動順を設定し、作動順に従ってスレーブ通信機35a〜35dに、距離測定要求及び乱数αを通知する。このように、距離測定要求の通知のタイミングをスレーブ通信機35a〜35dの間で異ならせることによって、スレーブ通信機35a〜35dの作動タイミングを異ならせることができる。 In step S102, when the interface unit 39 of the master communication device 34 receives the distance measurement request and the random numbers α and β, the update unit 44b of the master communication device 34 uses the random number α and the first encryption key to perform the first encryption verification. The solution is updated, and the second cipher selection solution is updated using the random number β and the second encryption key. Further, the communication control unit 38 of the master communication device 34 sets the operation order of the slave communication devices 35a to 35d, and notifies the slave communication devices 35a to 35d of the distance measurement request and the random number α according to the operation order. In this way, by making the timing of notification of the distance measurement request different between the slave communication devices 35a to 35d, the operation timing of the slave communication devices 35a to 35d can be made different.

スレーブ通信機35a〜35dそれぞれの更新部44aは、距離測定要求及び乱数αの通知を受けると、乱数α及び第1暗号鍵を用いて第1暗号選択解を更新する。これにより、第1暗号選択解、第1暗号照合解、第2暗号選択解及び第2暗号照合解が、今回の通信でのみ有効なユニークな値に更新される。 Upon receiving the distance measurement request and the notification of the random number α, the update unit 44a of each of the slave communication devices 35a to 35d updates the first cipher selection solution using the random number α and the first encryption key. As a result, the first cipher selection solution, the first cipher collation solution, the second cipher selection solution, and the second cipher collation solution are updated to unique values that are valid only in this communication.

本例では、マスタ通信機34によって使用される第1暗号鍵とスレーブ通信機35によって使用される第1暗号鍵とは、共通の暗号鍵である。すなわち、第1暗号選択解及び第1暗号照合解は、共通鍵暗号方式で暗号化される。また、第1暗号選択解の元になるデータ(すなわち、第1選択解)と、第1暗号照合解の元になるデータ(すなわち、第1照合解)とが同じ値(本例では、乱数α)である場合、第1暗号選択解及び第1暗号照合解は同じ値となる。 In this example, the first encryption key used by the master communication device 34 and the first encryption key used by the slave communication device 35 are common encryption keys. That is, the first cipher selection solution and the first cipher collation solution are encrypted by the common key cryptosystem. Further, the data that is the source of the first cryptographic selective solution (that is, the first selective solution) and the data that is the source of the first cryptographic collation solution (that is, the first collation solution) have the same value (in this example, a random number). In the case of α), the first cipher selection solution and the first cipher collation solution have the same value.

同様に、本例では、マスタ通信機34によって使用される第2暗号鍵と照合ECU8によって使用される第2暗号鍵とは、共通の暗号鍵である。すなわち、第2暗号選択解及び第2暗号照合解は、共通鍵暗号方式で暗号化される。また、第2暗号選択解の元になるデータ(すなわち、第2選択解)と、第2暗号照合解の元になるデータ(すなわち、第2照合解)とが同じ値(本例では、乱数β)である場合、第2暗号選択解及び第2暗号照合解は同じ値となる。 Similarly, in this example, the second encryption key used by the master communication device 34 and the second encryption key used by the collation ECU 8 are common encryption keys. That is, the second cipher selection solution and the second cipher collation solution are encrypted by the common key cryptosystem. Further, the data that is the source of the second cryptographic selective solution (that is, the second selective solution) and the data that is the source of the second cryptographic collation solution (that is, the second collation solution) have the same value (in this example, a random number). In the case of β), the second cipher selection solution and the second cipher collation solution have the same value.

ステップS103において、スレーブ通信機35a〜35dそれぞれは、距離測定要求及び乱数αの通知を受けると(すなわち、自身の作動タイミングになると)、端末2からのUWB電波Saを受信し、これに対する応答のUWB電波Saを端末2へ送信する。端末2のUWB送受信部33は、スレーブ通信機35a〜35dそれぞれからの応答を受信すると、さらにUWB電波Saを送信する。スレーブ通信機35a〜35dそれぞれの測定部45aは、応答のUWB電波Saを送信してから再びUWB電波Saを受信するまでの時間を計測する。そして、スレーブ通信機35a〜35dそれぞれの測定部45aは、計測した時間から、自身と端末2との間の距離に準じた測定値Vmを算出する。 In step S103, each of the slave communication devices 35a to 35d receives the UWB radio wave Sa from the terminal 2 when receiving the distance measurement request and the notification of the random number α (that is, when it comes to its own operation timing), and responds to the UWB radio wave Sa. The UWB radio wave Sa is transmitted to the terminal 2. Upon receiving the response from each of the slave communication devices 35a to 35d, the UWB transmission / reception unit 33 of the terminal 2 further transmits the UWB radio wave Sa. The measuring units 45a of each of the slave communication devices 35a to 35d measure the time from transmitting the response UWB radio wave Sa to receiving the UWB radio wave Sa again. Then, the measuring units 45a of each of the slave communication devices 35a to 35d calculate the measured value Vm according to the distance between itself and the terminal 2 from the measured time.

スレーブ通信機35a〜35dそれぞれの測定部45aは、算出した測定値Vmの正当性を判定する。スレーブ通信機35a〜35dそれぞれの測定部45aは、測定値Vmが規定値Vk未満の場合、車両1及び端末2の間の距離が正当であると判定する。一方、スレーブ通信機35a〜35dそれぞれの測定部45aは、測定値Vmが規定値Vk以上の場合、車両1及び端末2の間の距離が正当ではないと判定する。 The measuring units 45a of each of the slave communication devices 35a to 35d determine the validity of the calculated measured value Vm. When the measured value Vm is less than the specified value Vk, the measuring unit 45a of each of the slave communication devices 35a to 35d determines that the distance between the vehicle 1 and the terminal 2 is valid. On the other hand, when the measured value Vm is the specified value Vk or more, the measuring units 45a of each of the slave communication devices 35a to 35d determine that the distance between the vehicle 1 and the terminal 2 is not valid.

一方、マスタ通信機34は、自身の作動タイミングになると、距離測定要求の通知を行わず、自身が端末2からのUWB電波Saを受信し、これに対する応答のUWB電波Saを端末2へ送信する。端末2のUWB送受信部33は、マスタ通信機34からの応答を受信すると、さらにUWB電波Saを送信する。マスタ通信機34の測定部45bは、応答のUWB電波Saを送信してから再びUWB電波Saを受信するまでの時間を計測する。そして、マスタ通信機34の測定部45bは、計測した時間から、自身と端末2との間の距離に準じた測定値Vmを算出する。 On the other hand, when the operation timing of the master communication device 34 is reached, the master communication device 34 does not notify the distance measurement request, receives the UWB radio wave Sa from the terminal 2, and transmits the UWB radio wave Sa in response to the UWB radio wave Sa to the terminal 2. .. Upon receiving the response from the master communication device 34, the UWB transmission / reception unit 33 of the terminal 2 further transmits the UWB radio wave Sa. The measuring unit 45b of the master communication device 34 measures the time from transmitting the response UWB radio wave Sa to receiving the UWB radio wave Sa again. Then, the measuring unit 45b of the master communication device 34 calculates the measured value Vm according to the distance between itself and the terminal 2 from the measured time.

マスタ通信機34の測定部45bは、算出した測定値Vmの正当性を判定する。マスタ通信機34の測定部45bは、測定値Vmが規定値Vk未満の場合、車両1及び端末2の間の距離が正当であると判定する。一方、マスタ通信機34の測定部45bは、測定値Vmが規定値Vk以上の場合、車両1及び端末2の間の距離が正当ではないと判定する。 The measuring unit 45b of the master communication device 34 determines the validity of the calculated measured value Vm. When the measured value Vm is less than the specified value Vk, the measuring unit 45b of the master communication device 34 determines that the distance between the vehicle 1 and the terminal 2 is valid. On the other hand, when the measured value Vm is the specified value Vk or more, the measuring unit 45b of the master communication device 34 determines that the distance between the vehicle 1 and the terminal 2 is not valid.

ステップS104において、スレーブ通信機35a〜35dそれぞれの第1通信部43aは、測定部45aによって測定値Vmが正当であるか否かを示す判定結果が得られると、当該判定結果に対応する第1暗号選択解をマスタ通信機34へ通知する。 In step S104, when the first communication unit 43a of each of the slave communication devices 35a to 35d obtains a determination result indicating whether or not the measured value Vm is valid by the measurement unit 45a, the first communication unit corresponding to the determination result. Notify the master communication device 34 of the cipher selection solution.

ステップS105において、マスタ通信機34の第2通信部43bは、スレーブ通信機35a〜35dそれぞれから、測定値Vmが正当であるか否かを示す判定結果が通知されると、スレーブ通信機35a〜35dそれぞれから通知された判定結果に対応する第2暗号選択解を照合ECU8に通知する。さらに、マスタ通信機34の第2通信部43bは、測定部45bによって測定値Vmが正当であるか否かを示す判定結果が得られると、測定部45bによって得られた判定結果に対応する第2暗号選択解を照合ECU8に通知する。 In step S105, when the second communication unit 43b of the master communication device 34 is notified from each of the slave communication devices 35a to 35d of the determination result indicating whether or not the measured value Vm is valid, the slave communication devices 35a to 35a to The collation ECU 8 is notified of the second cipher selection solution corresponding to the determination result notified from each of the 35d. Further, when the measurement unit 45b obtains a determination result indicating whether or not the measured value Vm is valid, the second communication unit 43b of the master communication device 34 corresponds to the determination result obtained by the measurement unit 45b. 2 Notify the collation ECU 8 of the cipher selection solution.

続いて、図4(a)及び図4(b)を用いて、判定結果の通知の仕方について説明する。 Subsequently, a method of notifying the determination result will be described with reference to FIGS. 4 (a) and 4 (b).

図4(a)に示すように、スレーブ通信機35の測定部45aによって、測定値Vmが正当であると判定された場合、スレーブ通信機35の取得部42aは、揮発性メモリ40aから測定値Vmが正当であることを示す判定結果に対応する第1暗号選択解Aを取得する。第1通信部43aは、測定値Vmが正当であることを示す判定結果に対応する第1暗号選択解Aをマスタ通信機34へ送信する。 As shown in FIG. 4A, when the measuring unit 45a of the slave communication device 35 determines that the measured value Vm is valid, the acquisition unit 42a of the slave communication device 35 takes the measured value from the volatile memory 40a. The first cipher selection solution A corresponding to the determination result indicating that Vm is valid is acquired. The first communication unit 43a transmits the first cipher selection solution A corresponding to the determination result indicating that the measured value Vm is valid to the master communication device 34.

マスタ通信機34の揮発性メモリ40bは、測定値Vmが正当であることを示す判定結果に対応する、第1暗号照合解A’及び第2暗号選択解Cを記憶している。照合部46によって、スレーブ通信機35から入力された、測定値Vmが正当であることを示す判定結果に対応する第1暗号選択解Aと、揮発性メモリ40bに登録された第1暗号照合解A’とが一致することが確認されると、第2通信部43bは、第1暗号照合解A’に対応する第2暗号選択解Cを、照合ECU8へ送信する。 The volatile memory 40b of the master communication device 34 stores the first cipher collation solution A'and the second cipher selection solution C corresponding to the determination result indicating that the measured value Vm is valid. The first cipher selection solution A corresponding to the determination result indicating that the measured value Vm is valid, which is input from the slave communication device 35 by the collation unit 46, and the first cipher collation solution registered in the volatile memory 40b. When it is confirmed that A'matches, the second communication unit 43b transmits the second cipher selection solution C corresponding to the first cipher collation solution A'to the collation ECU 8.

照合ECU8の揮発性メモリ15は、測定値Vmが正当であることを示す判定結果に対応する、第2暗号照合解C’を記憶している。照合部46によって、マスタ通信機34から入力された、測定値Vmが正当であることを示す判定結果に対応する第2暗号選択解Cと、揮発性メモリ15に登録された第2暗号照合解C’とが一致することが確認されると、処理実行部17は、第2暗号照合解C’に対応する判定結果、すなわち、測定値Vmが正当であることを示す判定結果を得る。 The volatile memory 15 of the collation ECU 8 stores the second cryptographic collation solution C'corresponding to the determination result indicating that the measured value Vm is valid. The second cipher selection solution C corresponding to the determination result indicating that the measured value Vm is valid, which is input from the master communication device 34 by the collation unit 46, and the second cipher collation solution registered in the volatile memory 15. When it is confirmed that C'matches, the processing execution unit 17 obtains a determination result corresponding to the second cryptographic collation solution C', that is, a determination result indicating that the measured value Vm is valid.

なお、マスタ通信機34の測定部45bによって測定値Vmが正当であると判定された場合も同様に、マスタ通信機34の取得部42bは、測定値Vmが正当であることを示す判定結果に対応する第2暗号選択解Cを揮発性メモリ40bから取得する。そして、第2通信部43bは、第2暗号選択解Cを照合ECU8へ送信する。これによって、照合ECU8においては、測定値Vmが正当であることを示す判定結果が認識される。 Similarly, when the measurement unit 45b of the master communication device 34 determines that the measured value Vm is valid, the acquisition unit 42b of the master communication device 34 determines that the measured value Vm is valid. The corresponding second cryptographic selective solution C is acquired from the volatile memory 40b. Then, the second communication unit 43b transmits the second cipher selection solution C to the collation ECU 8. As a result, the collation ECU 8 recognizes a determination result indicating that the measured value Vm is valid.

図4(b)に示すように、スレーブ通信機35の測定部45aによって、測定値Vmが正当ではないと判定された場合、スレーブ通信機35の取得部42aは、揮発性メモリ40aから測定値Vmが正当ではないことを示す判定結果に対応する第1暗号選択解Bを取得する。第1通信部43aは、測定値Vmが正当ではないことを示す判定結果に対応する第1暗号選択解Bをマスタ通信機34へ送信する。 As shown in FIG. 4B, when the measuring unit 45a of the slave communication device 35 determines that the measured value Vm is not valid, the acquisition unit 42a of the slave communication device 35 measures the measured value from the volatile memory 40a. The first cipher selection solution B corresponding to the determination result indicating that Vm is not valid is acquired. The first communication unit 43a transmits the first cipher selection solution B corresponding to the determination result indicating that the measured value Vm is not valid to the master communication device 34.

マスタ通信機34の揮発性メモリ40bは、測定値Vmが正当ではないことを示す判定結果に対応する、第1暗号照合解B’及び第2暗号選択解Dを記憶している。照合部46によって、スレーブ通信機35から入力された、測定値Vmが正当ではないことを示す判定結果に対応する第1暗号選択解Bと、揮発性メモリ40bに登録された第1暗号照合解B’とが一致することが確認されると、第2通信部43bは、第1暗号照合解B’に対応する第2暗号選択解Dを照合ECU8へ送信する。 The volatile memory 40b of the master communication device 34 stores the first cipher collation solution B'and the second cipher selection solution D corresponding to the determination result indicating that the measured value Vm is not valid. The first cipher selection solution B corresponding to the determination result indicating that the measured value Vm is not valid, which is input from the slave communication device 35 by the collation unit 46, and the first cipher collation solution registered in the volatile memory 40b. When it is confirmed that B'matches, the second communication unit 43b transmits the second cipher selection solution D corresponding to the first cipher collation solution B'to the collation ECU 8.

照合ECU8の揮発性メモリ15は、測定値Vmが正当であることを示す判定結果に対応する、第2暗号照合解D’を記憶している。照合部46によって、マスタ通信機34から入力された、揮発性メモリ15に登録された測定値Vmが正当ではないことを示す判定結果に対応する第2暗号選択解Dと、揮発性メモリ15に登録された第2暗号照合解D’とが一致することが確認されると、処理実行部17は、第2暗号照合解D’に対応する判定結果、すなわち、測定値Vmが正当ではないことを示す判定結果を得る。 The volatile memory 15 of the collation ECU 8 stores a second cryptographic collation solution D'corresponding to a determination result indicating that the measured value Vm is valid. The second cipher selection solution D corresponding to the determination result indicating that the measured value Vm registered in the volatile memory 15 input from the master communication device 34 by the collating unit 46 is not valid, and the volatile memory 15 When it is confirmed that the registered second cryptographic verification solution D'matches, the processing execution unit 17 indicates that the determination result corresponding to the second cryptographic verification solution D', that is, the measured value Vm is not valid. The judgment result indicating is obtained.

なお、マスタ通信機34の測定部45bによって測定値Vmが正当ではないと判定された場合も同様に、マスタ通信機34の取得部42bは、測定値Vmが正当ではないことを示す判定結果に対応する第2暗号選択解Dを揮発性メモリ40bから取得する。そして、第2通信部43bは、第2暗号選択解Dを照合ECU8へ送信する。これによって、照合ECU8においては、測定値Vmが正当ではないことを示す判定結果が認識される。 Similarly, when the measurement unit 45b of the master communication device 34 determines that the measured value Vm is not valid, the acquisition unit 42b of the master communication device 34 gives a determination result indicating that the measured value Vm is not valid. The corresponding second cryptographic selective solution D is obtained from the volatile memory 40b. Then, the second communication unit 43b transmits the second cipher selection solution D to the collation ECU 8. As a result, the collation ECU 8 recognizes a determination result indicating that the measured value Vm is not valid.

また、マスタ通信機34の取得部42bにスレーブ通信機35から入力された第1暗号選択解が、揮発性メモリ40bに登録された第1暗号照合解A’、B’のどちらとも一致しない場合も想定される。かかる場合には、上記したように、第2通信部43bは、第2暗号選択解C、Dのいずれも照合ECU8へ送信しなくてよく、取得部42bによって第1暗号照合解が取得されないことを示す情報を照合ECU8へ送信するとよい。 Further, when the first cipher selection solution input from the slave communication device 35 to the acquisition unit 42b of the master communication device 34 does not match either of the first cipher collation solutions A'and B'registered in the volatile memory 40b. Is also assumed. In such a case, as described above, the second communication unit 43b does not have to transmit any of the second cipher selection solutions C and D to the collation ECU 8, and the acquisition unit 42b does not acquire the first cipher collation solution. It is preferable to transmit the information indicating the above to the collation ECU 8.

図4(c)に具体的な例を示す。図4(c)に示したように、マスタ通信機34の取得部42bにスレーブ通信機35から入力された第1暗号選択解Eが、揮発性メモリ40bに登録された第1暗号照合解A’、B’のどちらとも一致しない場合(図4(c)では「暗号解不一致」)も想定される。かかる場合には、上記したように、第2通信部43bは、スレーブ通信機35における測定値Vmの判定結果として取得部42bによって第1暗号照合解が取得されないことを示す情報(図4(c)では「暗号解不一致」)を照合ECU8へ送信する。 A specific example is shown in FIG. 4 (c). As shown in FIG. 4C, the first cipher selection solution E input from the slave communication device 35 to the acquisition unit 42b of the master communication device 34 is the first cipher collation solution A registered in the volatile memory 40b. It is also assumed that neither'or B'matches (“cryptographic mismatch” in FIG. 4C). In such a case, as described above, the second communication unit 43b indicates that the acquisition unit 42b does not acquire the first cryptographic collation solution as the determination result of the measured value Vm in the slave communication device 35 (FIG. 4 (c). ), The "encryption mismatch") is transmitted to the collation ECU 8.

これによって、照合ECU8においては、スレーブ通信機35における測定値Vmの判定結果に対応する第1暗号照合解が取得されないことが認識される。なお、スレーブ通信機35における測定値Vmの判定結果に対応する第1暗号照合解が取得されない理由として、スレーブ通信機35に対する不正行為が行われていることなどが想定される。 As a result, it is recognized that the collation ECU 8 does not acquire the first cryptographic collation solution corresponding to the determination result of the measured value Vm in the slave communication device 35. It is assumed that the reason why the first cryptographic collation solution corresponding to the determination result of the measured value Vm in the slave communication device 35 is not acquired is that the slave communication device 35 is cheated.

図5は、照合ECU8への通知と、マスタ通信機34における測定値Vmの判定結果と、スレーブ通信機35における測定値Vmの判定結果との対応関係の例をまとめた表である。図5に示した例において、「OK」は、測定値Vmが正当であることを示し、「NG」は、測定値Vmが正当ではないことを示す。「暗号解不一致」は、その通信機31での測定値Vmの判定結果に対応する第1暗号照合解または第2暗号選択解が取得されないことを示す。 FIG. 5 is a table summarizing an example of the correspondence between the notification to the collation ECU 8, the determination result of the measured value Vm in the master communication device 34, and the determination result of the measured value Vm in the slave communication device 35. In the example shown in FIG. 5, "OK" indicates that the measured value Vm is valid, and "NG" indicates that the measured value Vm is not valid. “Cryptographic decipherment mismatch” indicates that the first cryptographic collation solution or the second cryptographic selection solution corresponding to the determination result of the measured value Vm in the communication device 31 is not acquired.

図5の1〜4行目に示したように、マスタ通信機34の第2通信部43bは、1つに集約された第2暗号選択解を照合ECU8に通知してもよい。すなわち、スレーブ通信機35a〜35dそれぞれから通知された判定結果と、マスタ通信機34の測定部45bによって得られた判定結果との少なくともいずれか一つが、測定Vmが正当であることを示す場合が想定される。かかる場合には、マスタ通信機34の第2通信部43bは、測定Vmが正当であることを示す判定結果に対応する第2暗号選択解Cを照合ECU8に通知してもよい。 As shown in the first to fourth lines of FIG. 5, the second communication unit 43b of the master communication device 34 may notify the collation ECU 8 of the second cipher selection solution aggregated into one. That is, at least one of the determination result notified from each of the slave communication devices 35a to 35d and the determination result obtained by the measurement unit 45b of the master communication device 34 may indicate that the measurement Vm is valid. is assumed. In such a case, the second communication unit 43b of the master communication device 34 may notify the collation ECU 8 of the second cipher selection solution C corresponding to the determination result indicating that the measurement Vm is valid.

したがって、マスタ通信機34の第2通信部43bは、マスタ通信機34の測定部45bによって測定Vmが正当であることを示す判定結果が得られた場合には、スレーブ通信機35a〜35dそれぞれから通知された判定結果が得られるのを待たずして、測定Vmが正当であることを示す判定結果に対応する第2暗号選択解Cを照合ECU8に通知してもよい。 Therefore, when the measurement unit 45b of the master communication device 34 obtains a determination result indicating that the measurement Vm is valid, the second communication unit 43b of the master communication device 34 can be used from the slave communication devices 35a to 35d, respectively. Instead of waiting for the notified determination result to be obtained, the collation ECU 8 may be notified of the second cipher selection solution C corresponding to the determination result indicating that the measurement Vm is valid.

一方、スレーブ通信機35a〜35dそれぞれから通知された判定結果と、マスタ通信機34の測定部45bによって得られた判定結果との全部が、測定Vmが正当ではないことを示す場合が想定される。かかる場合には、マスタ通信機34の第2通信部43bは、測定Vmが正当ではないことを示す判定結果に対応する第2暗号選択解Dを照合ECU8に通知してもよい。 On the other hand, it is assumed that all of the determination results notified from the slave communication devices 35a to 35d and the determination results obtained by the measurement unit 45b of the master communication device 34 indicate that the measurement Vm is not valid. .. In such a case, the second communication unit 43b of the master communication device 34 may notify the collation ECU 8 of the second cipher selection solution D corresponding to the determination result indicating that the measurement Vm is not valid.

また、図5の5〜7行目には、第2暗号選択解に加えて「暗号解不一致」がマスタ通信機34から照合ECU8に通知される例が示されている。 Further, in the 5th to 7th lines of FIG. 5, an example is shown in which the master communication device 34 notifies the collation ECU 8 of "cipher resolution mismatch" in addition to the second cipher selection solution.

例えば、スレーブ通信機35a〜35dそれぞれから通知された判定結果と、マスタ通信機34の測定部45bによって得られた判定結果とのうち、少なくともいずれか一つが、測定Vmが正当であることを示す場合、かつ、少なくともいずれか一つに対応する第1暗号照合解または第2暗号選択解が取得されない場合が想定される。かかる場合には、マスタ通信機34の第2通信部43bは、測定Vmが正当であることを示す判定結果に対応する第2暗号選択解Cと「暗号解不一致(すなわち、第1暗号照合解または第2暗号選択解が取得されないことを示す情報)」とを照合ECU8に通知してもよい(図5の5〜6行目)。 For example, at least one of the determination result notified from each of the slave communication devices 35a to 35d and the determination result obtained by the measurement unit 45b of the master communication device 34 indicates that the measurement Vm is valid. In this case, it is assumed that the first cipher collation solution or the second cipher selection solution corresponding to at least one of them is not acquired. In such a case, the second communication unit 43b of the master communication device 34 has the second cipher selection solution C corresponding to the determination result indicating that the measurement Vm is valid and the "cipher solution mismatch (that is, the first cipher collation solution). Alternatively, information indicating that the second cipher selection solution is not acquired) ”may be notified to the collation ECU 8 (lines 5 to 6 in FIG. 5).

例えば、図5の5行目に示したように、スレーブ通信機35a〜35dそれぞれから通知された判定結果の少なくともいずれか一つに対応する第1暗号照合解または第2暗号選択解が取得されない場合、かつ、マスタ通信機34の測定部45bによって得られた判定結果が、測定Vmが正当であることを示す場合が想定される。かかる場合には、マスタ通信機34の第2通信部43bは、測定Vmが正当であることを示す判定結果に対応する第2暗号選択解Cと「暗号解不一致(すなわち、第1暗号照合解または第2暗号選択解が取得されないことを示す情報)」とを照合ECU8に通知してもよい。 For example, as shown in the fifth line of FIG. 5, the first cipher collation solution or the second cipher selection solution corresponding to at least one of the determination results notified from each of the slave communication devices 35a to 35d is not acquired. In this case, it is assumed that the determination result obtained by the measurement unit 45b of the master communication device 34 indicates that the measurement Vm is valid. In such a case, the second communication unit 43b of the master communication device 34 has the second cipher selection solution C corresponding to the determination result indicating that the measurement Vm is valid and the "cipher solution mismatch (that is, the first cipher collation solution). Alternatively, information indicating that the second cipher selection solution is not acquired) ”may be notified to the collation ECU 8.

例えば、図5の6行目に示したように、スレーブ通信機35a〜35dそれぞれから通知された判定結果が、測定Vmが正当であることを示す場合、かつ、マスタ通信機34の測定部45bによって得られた判定結果に対応する第2暗号選択解が取得されない場合が想定される。かかる場合には、マスタ通信機34の第2通信部43bは、測定Vmが正当であることを示す判定結果に対応する第2暗号選択解Cと「暗号解不一致(すなわち、第1暗号照合解または第2暗号選択解が取得されないことを示す情報)」とを照合ECU8に通知してもよい。 For example, as shown in the sixth line of FIG. 5, when the determination results notified from each of the slave communication devices 35a to 35d indicate that the measurement Vm is valid, and the measurement unit 45b of the master communication device 34 It is assumed that the second cipher selection solution corresponding to the determination result obtained by is not acquired. In such a case, the second communication unit 43b of the master communication device 34 has the second cipher selection solution C corresponding to the determination result indicating that the measurement Vm is valid and the "cipher solution mismatch (that is, the first cipher collation solution). Alternatively, information indicating that the second cipher selection solution is not acquired) ”may be notified to the collation ECU 8.

例えば、図5の7行目に示したように、スレーブ通信機35a〜35dそれぞれから通知された判定結果と、マスタ通信機34の測定部45bによって得られた判定結果との全部に対応する第1暗号照合解または第2暗号選択解が取得されない場合が想定される。かかる場合には、マスタ通信機34の第2通信部43bは、測定Vmが正当ではないことを示す判定結果に対応する第2暗号選択解Dと「暗号解不一致(すなわち、第1暗号照合解または第2暗号選択解が取得されないことを示す情報)」とを照合ECU8に通知してもよい。 For example, as shown in the 7th line of FIG. 5, the determination result notified from each of the slave communication devices 35a to 35d and the determination result obtained by the measurement unit 45b of the master communication device 34 correspond to all of the first. It is assumed that the 1-cipher collation solution or the 2nd cipher selection solution is not acquired. In such a case, the second communication unit 43b of the master communication device 34 has the second cipher selection solution D corresponding to the determination result indicating that the measurement Vm is not valid and the "cipher solution mismatch (that is, the first cipher collation solution). Alternatively, information indicating that the second cipher selection solution is not acquired) ”may be notified to the collation ECU 8.

また、スレーブ通信機35a〜35dおよびマスタ通信機34それぞれと端末2との間の通信の少なくともいずれかにおいて通信エラーが生じたことが理由となり、その通信機と端末2との間において距離測定のための通信ができなくなる場合が想定される。かかる場合には、端末2と通信機31との間において通信エラーが生じたことを示す情報が、照合ECU8に通知されてもよい。 Further, the reason is that a communication error has occurred in at least one of the communication between the slave communication devices 35a to 35d and the master communication device 34 and the terminal 2, and the distance between the communication device and the terminal 2 is measured. It is assumed that communication will not be possible. In such a case, information indicating that a communication error has occurred between the terminal 2 and the communication device 31 may be notified to the collation ECU 8.

図6に具体的な例を示す。図6に示したように、スレーブ通信機35と端末2との間において通信エラーが生じ、スレーブ通信機35と端末2との間において距離測定のための通信ができなくなる場合が想定される。かかる場合には、スレーブ通信機35の第1通信部43aは、スレーブ通信機35と端末2との間において通信エラーが生じたことを示す情報を、マスタ通信機34に送信してもよい。そして、マスタ通信機34の第2通信部43bは、スレーブ通信機35と端末2との間において通信エラーが生じたことを示す情報を、照合ECU8に送信してもよい。 A specific example is shown in FIG. As shown in FIG. 6, it is assumed that a communication error occurs between the slave communication device 35 and the terminal 2, and communication for distance measurement cannot be performed between the slave communication device 35 and the terminal 2. In such a case, the first communication unit 43a of the slave communication device 35 may transmit information indicating that a communication error has occurred between the slave communication device 35 and the terminal 2 to the master communication device 34. Then, the second communication unit 43b of the master communication device 34 may transmit information indicating that a communication error has occurred between the slave communication device 35 and the terminal 2 to the collation ECU 8.

図6に示した例と同様に、マスタ通信機34と端末2との間において通信エラーが生じ、マスタ通信機34と端末2との間において距離測定のための通信ができなくなる場合が想定される。かかる場合には、マスタ通信機34の第2通信部43bは、マスタ通信機34と端末2との間において通信エラーが生じたことを示す情報を、照合ECU8に送信してもよい。 Similar to the example shown in FIG. 6, it is assumed that a communication error occurs between the master communication device 34 and the terminal 2 and communication for distance measurement cannot be performed between the master communication device 34 and the terminal 2. To. In such a case, the second communication unit 43b of the master communication device 34 may transmit information indicating that a communication error has occurred between the master communication device 34 and the terminal 2 to the collation ECU 8.

また、照合ECU8の照合部46によって、マスタ通信機34から入力された第2暗号選択解が、揮発性メモリ15に登録された第2暗号照合解C’、D’のどちらとも一致しない場合も想定される。かかる場合には、上記したように、処理実行部17によって、測定値Vmが正当ではないと認識されればよい。このように、照合ECU8において、測定値Vmが正当であると判定されるためには、正しい暗号選択解が必要となるため、セキュリティ性が向上され得る。 Further, the second cipher selection solution input from the master communication device 34 by the collation unit 46 of the collation ECU 8 may not match either of the second cipher collation solutions C'and D'registered in the volatile memory 15. is assumed. In such a case, as described above, the processing execution unit 17 may recognize that the measured value Vm is not valid. As described above, in order for the collation ECU 8 to determine that the measured value Vm is valid, a correct cipher selection solution is required, so that security can be improved.

図3に戻り、ステップS106において、照合ECU8の処理実行部17は、判定結果に基づいて、スマート照合の可否を判定する。例えば、処理実行部17は、少なくともいずれか一つの通信機31から入力された第2暗号選択解から、測定値Vmが正当であることを示す判定結果を得れば、スマート照合の照合結果を有効とする。一方、処理実行部17は、全ての通信機31から入力された第2暗号選択解から、測定値Vmが正当ではないことを示す判定結果を得れば、スマート照合の照合結果を無効とする。 Returning to FIG. 3, in step S106, the processing execution unit 17 of the collation ECU 8 determines whether or not smart collation is possible based on the determination result. For example, if the processing execution unit 17 obtains a determination result indicating that the measured value Vm is valid from the second cipher selection solution input from at least one of the communication devices 31, the processing execution unit 17 obtains the collation result of the smart collation. Make it valid. On the other hand, if the processing execution unit 17 obtains a determination result indicating that the measured value Vm is not valid from the second cipher selection solution input from all the communication devices 31, the collation result of the smart collation is invalidated. ..

なお、図5の1〜4行目に示したように、1つに集約された第2暗号選択解がマスタ通信機34から照合ECU8に入力される場合も想定される。かかる場合には、照合ECU8の処理実行部17は、マスタ通信機34から入力された第2暗号選択解から、測定値Vmが正当であることを示す判定結果を得れば、スマート照合の照合結果を有効とすればよい。一方、処理実行部17は、マスタ通信機34から入力された第2暗号選択解から、測定値Vmが正当ではないことを示す判定結果を得れば、スマート照合の照合結果を無効とすればよい。 As shown in the 1st to 4th lines of FIG. 5, it is assumed that the second cipher selection solution aggregated into one is input to the collation ECU 8 from the master communication device 34. In such a case, if the processing execution unit 17 of the collation ECU 8 obtains a determination result indicating that the measured value Vm is valid from the second cipher selection solution input from the master communication device 34, the collation of the smart collation The result should be valid. On the other hand, if the processing execution unit 17 obtains a determination result indicating that the measured value Vm is not valid from the second cipher selection solution input from the master communication device 34, the processing execution unit 17 may invalidate the collation result of the smart collation. Good.

さらに、図5の5〜7行目に示したように、第2暗号選択解に加えて「暗号解不一致」がマスタ通信機34から照合ECU8に通知される場合も想定される。かかる場合には、照合ECU8の処理実行部17は、マスタ通信機34から入力された第2暗号選択解から、測定値Vmが正当であることを示す判定結果を得た場合、スマート照合の照合結果を有効としてもよいし、(暗号解不一致であるため)無効としてもよい。一方、処理実行部17は、マスタ通信機34から入力された第2暗号選択解から、測定値Vmが正当ではないことを示す判定結果を得た場合、スマート照合の照合結果を無効とすればよい。 Further, as shown in the 5th to 7th lines of FIG. 5, in addition to the second cipher selection solution, it is assumed that the master communication device 34 notifies the collation ECU 8 of "cipher resolution mismatch". In such a case, when the processing execution unit 17 of the collation ECU 8 obtains a determination result indicating that the measured value Vm is valid from the second cipher selection solution input from the master communication device 34, the collation of the smart collation The result may be valid or invalid (because of the cryptographic mismatch). On the other hand, when the processing execution unit 17 obtains a determination result indicating that the measured value Vm is not valid from the second cipher selection solution input from the master communication device 34, the processing execution unit 17 may invalidate the collation result of the smart collation. Good.

例えば、照合ECU8は、室外の端末2とスマート照合(室外スマート照合)が成立し、かつ、処理実行部17がスマート照合の照合結果を有効とした場合、ボディECU9によるドアロック装置6の施解錠作動を許可又は実行する。これによって、例えば、ドア施錠時に車外ドアハンドルがタッチ操作されると、車両ドアが解錠され、ドア解錠時に車外ドアハンドルのロックボタンが押し操作されると、車両ドアが施錠される。 For example, when the collation ECU 8 establishes smart collation (outdoor smart collation) with the outdoor terminal 2 and the processing execution unit 17 validates the collation result of smart collation, the body ECU 9 locks and unlocks the door lock device 6. Allow or execute operation. As a result, for example, when the vehicle door handle is touch-operated when the door is locked, the vehicle door is unlocked, and when the lock button of the vehicle exterior door handle is pressed when the door is unlocked, the vehicle door is locked.

一方、照合ECU8は、室内の端末2とスマート照合(室内スマート照合)が成立し、かつ、処理実行部17がスマート照合の照合結果を有効とした場合、室内のエンジンスイッチ50による車両電源の遷移操作が許可される。これによって、ブレーキペダルを踏み込まれながらエンジンスイッチ50が操作されると、エンジン7が始動する。 On the other hand, when the collation ECU 8 establishes smart collation (indoor smart collation) with the terminal 2 in the room and the processing execution unit 17 enables the collation result of smart collation, the transition of the vehicle power supply by the engine switch 50 in the room. Operation is allowed. As a result, when the engine switch 50 is operated while the brake pedal is depressed, the engine 7 is started.

照合ECU8は、処理実行部17がスマート照合の照合結果を無効とした場合、スマート照合の成立の有無に拘わらず、車載装置3の作動を禁止する。これによって、例えば、中継器などを用いた不正通信によって車載装置3が作動されてしまうことが防止される。 When the processing execution unit 17 invalidates the collation result of the smart collation, the collation ECU 8 prohibits the operation of the in-vehicle device 3 regardless of whether or not the smart collation is established. As a result, for example, it is possible to prevent the in-vehicle device 3 from being operated by unauthorized communication using a repeater or the like.

<<1.3.効果>>
上記の実施形態によれば、外部機器との第1通信の結果に応じて選択された選択解を送信する通信機と、第1通信とは通信機との通信相手が異なる第2通信により通信機から選択解を受信する制御装置と、を有する、通信システムが提供される。かかる構成によれば、外部機器と通信機との間の通信が完了する前から、第1の通信の結果に対応する選択解が用意されている。したがって、かかる構成によれば、通信が完了してから、第1の通信の結果に対応する選択解を制御装置へ出力するまでのタイミングを早期化することが可能となる。
<< 1.3. Effect >>
According to the above embodiment, the communication device that transmits the selected solution selected according to the result of the first communication with the external device and the first communication communicate with each other by the second communication in which the communication partner with the communication device is different. A communication system is provided that comprises a control device that receives a selective solution from the machine. According to such a configuration, a selective solution corresponding to the result of the first communication is prepared even before the communication between the external device and the communication device is completed. Therefore, according to such a configuration, it is possible to accelerate the timing from the completion of the communication to the output of the selective solution corresponding to the result of the first communication to the control device.

また、制御装置は、受信した選択解と選択解に対応して用意された照合解とを照合してよい。かかる構成によれば、受信した暗号選択解に対応する暗号照合解があらかじめ用意されている。したがって、かかる構成によれば、選択解を受信してから、当該選択解に適合する照合解を得て当該照合解に対応する判定結果を得るタイミングを早期化することが可能となる。 Further, the control device may collate the received selective solution with the collation solution prepared corresponding to the selective solution. According to such a configuration, a cryptographic collation solution corresponding to the received cryptographic selection solution is prepared in advance. Therefore, according to such a configuration, it is possible to accelerate the timing of obtaining the collation solution matching the selection solution and obtaining the determination result corresponding to the collation solution after receiving the selection solution.

通信機は、選択解を暗号化した暗号選択解を送信し、制御装置は、暗号選択解を受信し、暗号選択解と照合解を暗号化した暗号照合解とを照合してよい。かかる構成によれば、判定結果そのものではなく、暗号選択解及び暗号照合解が用いられるため、判定結果の秘匿性が向上する。また、暗号選択解及び暗号照合解は、共通鍵暗号方式による暗号化に基づいて生成されてよい。かかる構成によれば、通信の秘匿性が向上する。 The communication device may transmit a cryptographic selective solution in which the selective solution is encrypted, and the control device may receive the cryptographic selective solution and collate the cryptographic selective solution with the cryptographic collation solution in which the collation solution is encrypted. According to such a configuration, since the cipher selection solution and the cipher collation solution are used instead of the determination result itself, the confidentiality of the determination result is improved. Further, the cipher selection solution and the cipher collation solution may be generated based on the encryption by the common key cryptosystem. According to such a configuration, the confidentiality of communication is improved.

通信システムは、所定条件が満たされた場合に、選択解および照合解を更新する更新制御部を備え、通信機は、更新後の選択解と第1暗号鍵とに基づいて暗号選択解を更新し、制御装置は、更新後の照合解と第1暗号鍵と共通する暗号鍵である第2暗号鍵とに基づいて暗号照合解を更新してよい。かかる構成によれば、暗号選択解及び暗号照合解の秘匿性が向上する。 The communication system includes an update control unit that updates the selection solution and the collation solution when a predetermined condition is satisfied, and the communication device updates the encryption selection solution based on the updated selection solution and the first encryption key. Then, the control device may update the encryption verification solution based on the updated verification solution and the second encryption key which is the encryption key common to the first encryption key. According to such a configuration, the confidentiality of the cipher selection solution and the cipher collation solution is improved.

通信機は、第1通信機と、第2通信機とを含み、第1通信機は、外部機器との第1通信の結果に応じた第1暗号選択解を第2通信機に送信する第1通信部を備え、第2通信機は、第1通信機から受信した第1暗号選択解と適合する第1暗号照合解が取得された場合に、第1暗号照合解に対応する第2暗号選択解を制御装置に送信する第2通信部を備えてよい。かかる構成によれば、あらかじめ暗号選択鍵及び暗号照合解が用意されているため、処理時間の増加が抑制されつつ、通信の秘匿性が向上する。 The communication device includes a first communication device and a second communication device, and the first communication device transmits a first cipher selection solution according to the result of the first communication with an external device to the second communication device. The second communication device includes one communication unit, and the second communication device corresponds to the first cryptographic collation solution when the first cipher collation solution matching the first cipher selection solution received from the first communication device is acquired. It may include a second communication unit that transmits the selected solution to the control device. According to this configuration, since the encryption selection key and the encryption verification solution are prepared in advance, the increase in processing time is suppressed and the confidentiality of communication is improved.

第2通信部は、正常判定に対応する第1暗号選択解を受信し、正常判定に対応する第1暗号選択解に適合する第1暗号照合解が取得された場合には、正常判定に対応する第2暗号選択解を制御装置に送信し、異常判定に対応する第1暗号選択解を受信し、異常判定に対応する第1暗号選択解に適合する第1暗号照合解が取得された場合には、異常判定に対応する第2暗号選択解を制御装置に送信してもよい。かかる構成によれば、あらかじめ暗号選択鍵及び暗号照合解が用意されているため、処理時間の増加が抑制されつつ、通信の秘匿性が向上する。第1暗号選択解と第2暗号選択解とが異なっていれば、判定結果の秘匿性がさらに向上する。 The second communication unit receives the first cipher selection solution corresponding to the normal judgment, and when the first cipher collation solution matching the first cipher selection solution corresponding to the normal judgment is acquired, corresponds to the normal judgment. When the second cipher selection solution to be used is transmitted to the control device, the first cipher selection solution corresponding to the abnormality determination is received, and the first cipher matching solution matching the first cipher selection solution corresponding to the abnormality determination is acquired. The second cipher selection solution corresponding to the abnormality determination may be transmitted to the control device. According to this configuration, since the encryption selection key and the encryption verification solution are prepared in advance, the increase in processing time is suppressed and the confidentiality of communication is improved. If the first cipher selection solution and the second cipher selection solution are different, the confidentiality of the determination result is further improved.

<<1.4.変形例>>
以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。
<< 1.4. Modification example >>
Although the preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, the present invention is not limited to such examples. It is clear that a person having ordinary knowledge in the field of technology to which the present invention belongs can come up with various modifications or modifications within the scope of the technical ideas described in the claims. , These are also naturally understood to belong to the technical scope of the present invention.

例えば、本実施形態は、以下のように変更して実施することができる。本実施形態及び以下の変更例は、技術的に矛盾しない範囲で互いに組み合わせて実施することができる。 For example, this embodiment can be modified and implemented as follows. The present embodiment and the following modified examples can be implemented in combination with each other within a technically consistent range.

(暗号選択解及び暗号照合解に関する変形例)
上記例では、第2暗号選択解が、第1暗号選択解とは別の暗号鍵によって生成される場合を想定した。しかし、第2暗号選択解は、第1暗号選択解を共通鍵暗号方式によって暗号化したものでもよい。すなわち、マスタ通信機34において、スレーブ通信機35から受信した第1暗号選択解に対して、共通鍵暗号方式による暗号化処理が実行されることによって第2暗号選択解が生成されてもよい。かかる構成によれば、スレーブ通信機35及びマスタ通信機34の間と、マスタ通信機34及び照合ECU8の間とにおいて、送信される暗号選択解を異ならせることができる。これは、秘匿性の向上に寄与する。
(Variation example of cryptographic selection solution and cryptographic collation solution)
In the above example, it is assumed that the second cipher selection solution is generated by a cipher key different from the first cipher selection solution. However, the second cipher selection solution may be one in which the first cipher selection solution is encrypted by a common key cryptosystem. That is, in the master communication device 34, the second encryption selection solution may be generated by executing the encryption processing by the common key encryption method for the first encryption selection solution received from the slave communication device 35. According to such a configuration, the cipher selection solution to be transmitted can be made different between the slave communication device 35 and the master communication device 34 and between the master communication device 34 and the collation ECU 8. This contributes to the improvement of confidentiality.

上記例では、マスタ通信機34から照合ECU8に送信されるデータが、第2暗号選択解である場合を想定した。しかし、マスタ通信機34から照合ECU8に送信されるデータは限定されない。例えば、マスタ通信機34から照合ECU8に送信されるデータは、第1暗号選択解に応じて送信されるデータであればよい。
上記例では、暗号選択解及び暗号照合解の更新が、乱数α、βと暗号鍵とを用いて行われる場合を想定した。しかし、暗号選択解及び暗号照合解の更新手法は、限定されない。例えば、暗号選択解及び暗号照合解の更新は、所定の演算式を用いた暗号選択解及び暗号照合解の再暗号化によって行われてもよい。
In the above example, it is assumed that the data transmitted from the master communication device 34 to the collation ECU 8 is the second cipher selection solution. However, the data transmitted from the master communication device 34 to the collation ECU 8 is not limited. For example, the data transmitted from the master communication device 34 to the collation ECU 8 may be any data transmitted according to the first cipher selection solution.
In the above example, it is assumed that the cryptographic selection solution and the cryptographic collation solution are updated using random numbers α and β and a cryptographic key. However, the method for updating the cipher selection solution and the cipher collation solution is not limited. For example, the update of the cipher selection solution and the cipher collation solution may be performed by re-encrypting the cipher selection solution and the cipher collation solution using a predetermined arithmetic expression.

上記例では、距離測定要求とともに乱数α、βが送信される場合を想定した。しかし、乱数α、βの送信タイミングは、特に限定されない。例えば、乱数α、βは、距離測定要求よりも前に送信されてもよい。 In the above example, it is assumed that random numbers α and β are transmitted together with the distance measurement request. However, the transmission timing of the random numbers α and β is not particularly limited. For example, the random numbers α and β may be transmitted before the distance measurement request.

上記例では、乱数α、βが、照合ECU8から出力される場合を想定した。しかし、乱数α、βは、照合ECU8とは異なるブロックから出力されてもよい。例えば、乱数α、βは、マスタ通信機34から出力されてもよいし、スレーブ通信機35から出力されてもよい。すなわち、乱数α、βは、照合ECU8、マスタ通信機34、及び、スレーブ通信機35のうち、少なくともいずれか一つから出力されて、照合ECU8、マスタ通信機34、及び、スレーブ通信機35の間で共有されればよい。 In the above example, it is assumed that the random numbers α and β are output from the collation ECU 8. However, the random numbers α and β may be output from a block different from the collation ECU 8. For example, the random numbers α and β may be output from the master communication device 34 or may be output from the slave communication device 35. That is, the random numbers α and β are output from at least one of the collation ECU 8, the master communication device 34, and the slave communication device 35, and are output from the collation ECU 8, the master communication device 34, and the slave communication device 35. It may be shared between them.

上記例では、第1暗号選択解及び第2暗号選択解が、別の乱数に基づいて生成される場合を想定した。しかし、第1暗号選択解及び第2暗号選択解は、同じ乱数に基づいて生成されてもよい。同様に、第1暗号照合解及び第2暗号照合解が、別の乱数に基づいて生成される場合を想定した。しかし、第1暗号照合解及び第2暗号照合解は、同じ乱数に基づいて生成されてもよい。 In the above example, it is assumed that the first cipher selection solution and the second cipher selection solution are generated based on different random numbers. However, the first cipher selection solution and the second cipher selection solution may be generated based on the same random number. Similarly, it is assumed that the first cryptographic collation solution and the second cryptographic collation solution are generated based on different random numbers. However, the first cryptographic collation solution and the second cryptographic collation solution may be generated based on the same random number.

上記例では、第1暗号選択解及び第2暗号選択解が、別の暗号鍵に基づいて生成される場合を想定した。しかし、第1暗号選択解及び第2暗号選択解は、同じ暗号鍵に基づいて生成されてもよい。同様に、第1暗号照合解及び第2暗号照合解が、別の暗号鍵に基づいて生成される場合を想定した。しかし、第1暗号照合解及び第2暗号照合解は、共通する暗号鍵に基づいて生成されてもよい。 In the above example, it is assumed that the first cipher selection solution and the second cipher selection solution are generated based on different encryption keys. However, the first cipher selection solution and the second cipher selection solution may be generated based on the same encryption key. Similarly, it is assumed that the first cryptographic collation solution and the second cryptographic collation solution are generated based on different encryption keys. However, the first cryptographic collation solution and the second cryptographic collation solution may be generated based on a common encryption key.

暗号選択解及び暗号照合解は、更新されなくてもよい。すなわち、更新部44は、省略されてもよい。
上記例では、すべてのスレーブ通信機35に同じ暗号選択解が登録される場合を想定した。しかし、スレーブ通信機35ごとに異なる暗号選択解が登録されていてもよい。
暗号鍵の登録方法は、特に限定されない。
暗号選択解及び暗号照合解を演算する演算式(アルゴリズム)は、特に限定されない。すなわち、暗号選択解及び暗号照合解の生成方法は、特に限定されない。
暗号選択解及び暗号照合解は、必須の要件ではなく、暗号化されていない選択解及び照合解が用いられてもよい。このとき、選択解及び照合解は、同じであってもよいし、異なっていてもよい。
The cryptographic selection solution and the cryptographic collation solution do not have to be updated. That is, the update unit 44 may be omitted.
In the above example, it is assumed that the same cipher selection solution is registered in all slave communication devices 35. However, a different encryption selection solution may be registered for each slave communication device 35.
The method of registering the encryption key is not particularly limited.
The arithmetic expression (algorithm) for calculating the cipher selection solution and the cipher collation solution is not particularly limited. That is, the method of generating the cipher selection solution and the cipher collation solution is not particularly limited.
The cryptographic selection solution and the cryptographic collation solution are not essential requirements, and an unencrypted selection solution and a collation solution may be used. At this time, the selective solution and the collation solution may be the same or different.

(距離測定のための通信に関する変形例)
距離測定のための通信開始のトリガがどのようなトリガであるかに関わらず、距離測定のための通信が行われるタイミングは、スマート照合の前であってもよいし、スマート照合の後であってもよいし、スマート照合の途中であってもよい。例えば、距離測定のための通信がスマート照合の前又は途中で実行される場合に、処理実行部17によってスマート照合の成立が無効にされる場合があり得る。かかる場合には、処理実行部17は、スマート照合を途中で強制的に終了させてもよい。すなわち、処理実行部17は、スマート照合の成立を無効にした場合に、スマート照合(スマート通信)を成立させない何らかの処理を行えばよい。
(Modified example of communication for distance measurement)
Regardless of what kind of trigger the communication start trigger for distance measurement is, the timing at which communication for distance measurement is performed may be before smart collation or after smart collation. It may be in the middle of smart collation. For example, when the communication for distance measurement is executed before or during the smart collation, the processing execution unit 17 may invalidate the establishment of the smart collation. In such a case, the processing execution unit 17 may forcibly terminate the smart collation in the middle. That is, when the establishment of smart collation is invalidated, the processing execution unit 17 may perform some processing that does not establish smart collation (smart communication).

上記例では、測定値Vmが、スレーブ通信機35と端末2との間の電波の伝播時間から測定される場合を主に説明した。しかし、測定値Vmを測定する手法は、かかる例に限定されない。例えば、測定値Vmは、スレーブ通信機35及び端末2のうち、一方から送信された電波を他方が受信した場合、当該他方が電波の受信強度(RSSI:Received Signal Strength Indicator)を測定し、この受信強度から距離に準じた測定値を算出してもよい。このとき、通信機31及び端末2のいずれか一方は、UWB電波Saの送信だけを行い、他方は、UWB電波Saの受信だけを行ってもよい。 In the above example, the case where the measured value Vm is measured from the propagation time of the radio wave between the slave communication device 35 and the terminal 2 has been mainly described. However, the method for measuring the measured value Vm is not limited to such an example. For example, when the other of the slave communication device 35 and the terminal 2 receives the radio wave transmitted from one of the slave communication device 35 and the terminal 2, the measured value Vm measures the reception strength (RSSI: Received Signal Strength Indicator) of the radio wave. The measured value according to the distance may be calculated from the reception intensity. At this time, either one of the communication device 31 and the terminal 2 may only transmit the UWB radio wave Sa, and the other may only receive the UWB radio wave Sa.

上記例では、端末2がUWB送受信部33を備える場合を想定した。しかし、端末2は、UWB送受信部33を備えていなくてもよい。かかる場合には、通信機31は、端末2からの電波の反射波の受信結果に基づいて、測定値Vmを求めればよい。 In the above example, it is assumed that the terminal 2 includes the UWB transmission / reception unit 33. However, the terminal 2 does not have to include the UWB transmission / reception unit 33. In such a case, the communication device 31 may obtain the measured value Vm based on the reception result of the reflected wave of the radio wave from the terminal 2.

上記例では、スレーブ通信機35の測定部45a、及び、マスタ通信機34の測定部45bによって測定値Vmが測定される場合を主に説明した。このとき、測距用電波は、スレーブ通信機35及びマスタ通信機34それぞれから端末2に送信される。しかし、測定値Vmは、スレーブ通信機35及びマスタ通信機34以外によって測定されてもよい。例えば、測定値Vmは、端末2によって測定されてもよい。このとき、測距用電波は、端末2からスレーブ通信機35及びマスタ通信機34それぞれに送信されればよい。 In the above example, the case where the measured value Vm is measured by the measuring unit 45a of the slave communication device 35 and the measuring unit 45b of the master communication device 34 has been mainly described. At this time, the radio wave for distance measurement is transmitted to the terminal 2 from each of the slave communication device 35 and the master communication device 34. However, the measured value Vm may be measured by a device other than the slave communication device 35 and the master communication device 34. For example, the measured value Vm may be measured by the terminal 2. At this time, the radio wave for distance measurement may be transmitted from the terminal 2 to the slave communication device 35 and the master communication device 34, respectively.

上記例では、端末2からUWB電波Saが最初に送信される場合を想定した。しかし、通信機31からUWB電波Saが最初に送信されてもよい。 In the above example, it is assumed that the UWB radio wave Sa is first transmitted from the terminal 2. However, the UWB radio wave Sa may be transmitted first from the communication device 31.

上記例では、スレーブ通信機35の測定部45aによって測定値Vmが測定される場合を主に説明した。このとき、測距用電波は、スレーブ通信機35から端末2に送信される。しかし、測定値Vmは、スレーブ通信機35以外によって測定されてもよい。例えば、測定値Vmは、端末2によって測定されてもよい。このとき、測距用電波は、端末2からスレーブ通信機35に送信されればよい。 In the above example, the case where the measured value Vm is measured by the measuring unit 45a of the slave communication device 35 has been mainly described. At this time, the radio wave for distance measurement is transmitted from the slave communication device 35 to the terminal 2. However, the measured value Vm may be measured by a device other than the slave communication device 35. For example, the measured value Vm may be measured by the terminal 2. At this time, the radio wave for distance measurement may be transmitted from the terminal 2 to the slave communication device 35.

また、複数のチャネルそれぞれを使用して電波送信が行われてもよい。このとき、測定部45は、複数のチャネルそれぞれを使用して行われた電波送信の結果(伝播時間または受信強度)に基づいて、測定値Vmを算出してもよい。
・距離測定のための通信(測距用電波及びその応答電波)の方式は、UWB電波Saを使用した方式に限定されない。例えば、距離測定のための通信として、他の周波数の電波が使用されてもよい。一例として、距離測定のための通信として、ブルートゥース(登録商標)通信が使用されてもよい。
In addition, radio wave transmission may be performed using each of the plurality of channels. At this time, the measuring unit 45 may calculate the measured value Vm based on the result (propagation time or reception intensity) of radio wave transmission performed using each of the plurality of channels.
-The method of communication for distance measurement (radio wave for distance measurement and its response radio wave) is not limited to the method using UWB radio wave Sa. For example, radio waves of other frequencies may be used as communication for distance measurement. As an example, Bluetooth® communication may be used as the communication for distance measurement.

端末2と通信機31との間で行われる第1通信は、距離測定のための通信に限定されない。例えば、第1通信は、情報を送受信する通信であればよい。
端末2と通信機31との間で行われる第1通信は、通信相手を認証する通信であってもよい。例えば、通信相手を認証する通信としては、距離測定のための通信、ID照合のための通信、及び生体情報を認証するための通信などが挙げられる。
The first communication performed between the terminal 2 and the communication device 31 is not limited to the communication for distance measurement. For example, the first communication may be communication for transmitting and receiving information.
The first communication performed between the terminal 2 and the communication device 31 may be a communication for authenticating a communication partner. For example, examples of communication for authenticating a communication partner include communication for distance measurement, communication for ID verification, and communication for authenticating biometric information.

端末2と通信機31との間で行われる第1通信は、通信相手を操作するための通信であってもよい。例えば、通信相手を操作するための通信としては、メディアプレーヤーの選曲を行うための通信、ラジオ選局又は音量調整の操作を行うための通信、ナビゲーションシステムの操作を行うための通信、空調の操作を行うための通信、及び、エンジンの遷移を操作するための通信などが挙げられる。また、通信相手を操作するための通信には、通信の結果を基に、ライト点灯又は表示などによって、ユーザに対しておもてなしをする機能を有するものが含まれる。 The first communication performed between the terminal 2 and the communication device 31 may be communication for operating a communication partner. For example, as communication for operating a communication partner, communication for selecting music of a media player, communication for performing radio channel selection or volume adjustment operation, communication for operating a navigation system, and air conditioning operation. Communication for performing the above, communication for manipulating the transition of the engine, and the like. Further, the communication for operating the communication partner includes a communication having a function of providing hospitality to the user by turning on or displaying a light based on the result of the communication.

(システムの各種変形例)
上記例では、複数の通信機31のうちマスタ通信機34だけが、直接的に照合ECU8に接続されている場合を想定した。しかし、複数の通信機31が、照合ECU8に接続されていてもよい。また、通信機31は、マスタ通信機34及びスレーブ通信機35に分かれていなくてもよい。
(Various modifications of the system)
In the above example, it is assumed that only the master communication device 34 out of the plurality of communication devices 31 is directly connected to the collation ECU 8. However, a plurality of communication devices 31 may be connected to the collation ECU 8. Further, the communication device 31 does not have to be divided into a master communication device 34 and a slave communication device 35.

車両1のLF送信機13は、車両1の周囲にLF電波(ウェイク信号)エリアを形成するように車両1に設けられてもよい。例えば、車両1のLF送信機13は、運転席ドアの周囲、助手席ドアの周囲、バックドアの周囲、及び、室内に、LF電波エリアを形成してもよい。
通信制御部38は、LF送信機13によって形成されたLF電波エリアに基づき、通信機31の作動を制御してもよい。例えば、通信制御部38は、運転席ドアの周囲のLF電波エリアに端末2が進入し、室外スマート照合が成立した場合、運転席に近い第1スレーブ通信機35a及び第3スレーブ通信機35cのみを作動させ、残りを作動させなくてもよい。
The LF transmitter 13 of the vehicle 1 may be provided in the vehicle 1 so as to form an LF radio wave (wake signal) area around the vehicle 1. For example, the LF transmitter 13 of the vehicle 1 may form an LF radio wave area around the driver's door, around the passenger's door, around the back door, and in the room.
The communication control unit 38 may control the operation of the communication device 31 based on the LF radio wave area formed by the LF transmitter 13. For example, in the communication control unit 38, when the terminal 2 enters the LF radio wave area around the driver's door and the outdoor smart collation is established, only the first slave communication device 35a and the third slave communication device 35c near the driver's seat are established. You do not have to activate the rest.

上記例では、スマート照合の種類に関わらず、スマート照合が行われる場合に、距離測定のための通信が行われる場合を主に説明した。しかし、スマート照合が行われる場合であっても、スマート照合の種類に応じて、距離測定のための通信を行うか否かが制御されてもよい。例えば、室外スマート照合が行われる場合には、距離測定のための通信が行われず、室内スマート照合が行われる場合にのみ、距離測定の通信が行われてもよい。すなわち、通信制御部38は、車両1の外側に形成されるLF電波エリアでは、通信機31を作動せず、室内に形成されるLF電波エリアでは、通信機31を作動させてもよい。 In the above example, regardless of the type of smart collation, when smart collation is performed, the case where communication for distance measurement is performed is mainly described. However, even when smart collation is performed, it may be controlled whether or not communication for distance measurement is performed depending on the type of smart collation. For example, when outdoor smart collation is performed, communication for distance measurement is not performed, and distance measurement communication may be performed only when indoor smart collation is performed. That is, the communication control unit 38 may not operate the communication device 31 in the LF radio wave area formed outside the vehicle 1, and may operate the communication device 31 in the LF radio wave area formed indoors.

上記例では、スマート照合の成立可否を決定する処理実行部17が照合ECU8に設けられる場合を主に説明した。しかし、処理実行部17が設けられる位置は限定されない。例えば、処理実行部17は、マスタ通信機34に設けられてもよいし、スレーブ通信機35に設けられてもよいし、端末2に設けられてもよい。
上記例では、マスタ通信機34が、各通信機31によって得られた判定結果を照合ECU8へ送信するばあいを想定した。このとき、マスタ通信機34は、各通信機31によって得られた判定結果を、別々のタイミングで照合ECU8へ送信してもよいし、同じタイミングで照合ECU8へまとめて送信してもよい。
In the above example, the case where the processing execution unit 17 for determining whether or not the smart collation is established is provided in the collation ECU 8 has been mainly described. However, the position where the processing execution unit 17 is provided is not limited. For example, the processing execution unit 17 may be provided in the master communication device 34, the slave communication device 35, or the terminal 2.
In the above example, it is assumed that the master communication device 34 transmits the determination result obtained by each communication device 31 to the collation ECU 8. At this time, the master communication device 34 may transmit the determination results obtained by each communication device 31 to the collation ECU 8 at different timings, or may collectively transmit the determination results to the collation ECU 8 at the same timing.

上記例では、距離測定のための通信による結果として、測定値Vmが正当であるか否かを示す判定結果がスレーブ通信機35からからマスタ通信機34へ送信される場合を想定した。しかし、距離測定のための通信による結果として、他の判定結果がスレーブ通信機35からからマスタ通信機34へ送信されてもよい。例えば、距離測定のための通信による結果として、測定値Vmがどの程度であるかを示すレベルがスレーブ通信機35からからマスタ通信機34へ送信されてもよいし、処理実行部17がマスタ通信機34に設けられた場合などには、スマート照合の照合結果を有効にするか無効にするかがスレーブ通信機35からからマスタ通信機34へ送信されてもよい。 In the above example, as a result of communication for distance measurement, it is assumed that a determination result indicating whether or not the measured value Vm is valid is transmitted from the slave communication device 35 to the master communication device 34. However, as a result of communication for distance measurement, another determination result may be transmitted from the slave communication device 35 to the master communication device 34. For example, as a result of communication for distance measurement, a level indicating how much the measured value Vm is may be transmitted from the slave communication device 35 to the master communication device 34, or the processing execution unit 17 may transmit the master communication. When the machine 34 is provided, the slave communication device 35 may transmit to the master communication device 34 whether to enable or disable the collation result of the smart collation.

上記例では、通信機31と端末2との距離に準じた測定値Vmの正当性が、通信機31によって判定される場合を主に説明した。しかし、測定値Vmの正当性は、端末2によって判定されてもよい。このとき、端末2は、測定値Vmの正当性の判定結果を通信機31に通知すればよい。 In the above example, the case where the validity of the measured value Vm according to the distance between the communication device 31 and the terminal 2 is determined by the communication device 31 has been mainly described. However, the validity of the measured value Vm may be determined by the terminal 2. At this time, the terminal 2 may notify the communication device 31 of the determination result of the validity of the measured value Vm.

車両1及び端末2の間の各種通信に使用される電波の周波数及び通信方式は、種々の態様に変更され得る。 The frequency and communication method of radio waves used for various communications between the vehicle 1 and the terminal 2 can be changed in various modes.

上記例では、スマート照合システムにおいて、ウェイク信号が車両1から端末2に送信される場合を主に説明した。しかし、ウェイク信号は、端末2から車両1に送信されてもよい。
上記例では、端末2の正否の確認が、キーIDの照合及び要求応答認証によって行われる場合を主に説明した。しかし、端末2の正否を確認する方式は、かかる例に限定されない。例えば、端末2の正否を確認する方式は、端末2及び車両1が通信を通じて、端末2及び車両1が正規のペアであるか否かを確認することが可能な方式であればよい。
In the above example, in the smart collation system, the case where the wake signal is transmitted from the vehicle 1 to the terminal 2 has been mainly described. However, the wake signal may be transmitted from the terminal 2 to the vehicle 1.
In the above example, the case where the confirmation of the correctness of the terminal 2 is performed by the verification of the key ID and the request / response authentication has been mainly described. However, the method for confirming the correctness of the terminal 2 is not limited to such an example. For example, the method for confirming the correctness of the terminal 2 may be a method in which the terminal 2 and the vehicle 1 can confirm whether or not the terminal 2 and the vehicle 1 are a regular pair through communication.

上記例では、電子キーシステム4が、スマート照合を実行するスマート照合システムである場合を主に説明した。しかし、電子キーシステム4は、スマート照合システムに限定されない。例えば、電子キーシステム4は、端末2の正否を確認することが可能なシステムであればよい。あるいは、電子キーシステム4は省略されてもよく、UWB通信を用いて端末2の正否が確認されてもよい。 In the above example, the case where the electronic key system 4 is a smart collation system that executes smart collation has been mainly described. However, the electronic key system 4 is not limited to the smart collation system. For example, the electronic key system 4 may be a system capable of confirming the correctness of the terminal 2. Alternatively, the electronic key system 4 may be omitted, and the correctness of the terminal 2 may be confirmed using UWB communication.

上記例では、端末2が電子キー5である場合を主に説明した。しかし、端末2は電子キー5である場合に限定されない。例えば、端末2は、車両1との無線通信が実行可能な高機能携帯電話であってもよい。 In the above example, the case where the terminal 2 is the electronic key 5 has been mainly described. However, the terminal 2 is not limited to the case where the electronic key 5 is used. For example, the terminal 2 may be a high-performance mobile phone capable of performing wireless communication with the vehicle 1.

上記例では、通信機31及び照合ECU8(制御装置)が車両1に搭載される場合を想定した。しかし、通信機31及び照合ECU8(制御装置)は、車両1に搭載されることに限定されず、種々の機器又は装置に搭載されてもよい。 In the above example, it is assumed that the communication device 31 and the collation ECU 8 (control device) are mounted on the vehicle 1. However, the communication device 31 and the collation ECU 8 (control device) are not limited to being mounted on the vehicle 1, and may be mounted on various devices or devices.

1…車両、2…端末、3…車載装置、4…電子キーシステム、5…電子キー、15…揮発性メモリ、17…処理実行部、20…端末制御部、30…距離測定システム、31…通信機、45…測定部、33…UWB送受信部、34…マスタ通信機、35…スレーブ通信機、38…通信制御部、39…インターフェース部、40a…揮発性メモリ、40b…揮発性メモリ、42…取得部、43…通信部、44…更新部、45…測定部、46…照合部、47…更新制御部、48…認証部、49…受信部。


1 ... Vehicle, 2 ... Terminal, 3 ... In-vehicle device, 4 ... Electronic key system, 5 ... Electronic key, 15 ... Volatile memory, 17 ... Processing execution unit, 20 ... Terminal control unit, 30 ... Distance measurement system, 31 ... Communication device, 45 ... Measurement unit, 33 ... UWB transmission / reception unit, 34 ... Master communication device, 35 ... Slave communication device, 38 ... Communication control unit, 39 ... Interface unit, 40a ... Volatile memory, 40b ... Volatile memory, 42 ... acquisition unit, 43 ... communication unit, 44 ... update unit, 45 ... measurement unit, 46 ... collation unit, 47 ... update control unit, 48 ... authentication unit, 49 ... reception unit.


Claims (15)

外部機器との第1通信の結果に応じて選択された選択解を送信する通信機と、
前記第1通信とは前記通信機との通信相手が異なる第2通信により前記通信機から前記選択解を受信する制御装置と、
を有する、通信システム。
A communication device that transmits a selected solution selected according to the result of the first communication with an external device, and
A control device that receives the selected solution from the communication device by a second communication in which the communication partner with the communication device is different from that of the first communication.
A communication system that has.
前記制御装置は、
受信した前記選択解と前記選択解に対応して用意された照合解とを照合する、
請求項1に記載の通信システム。
The control device is
Collate the received selected solution with the collation solution prepared corresponding to the selected solution.
The communication system according to claim 1.
前記通信機は、前記選択解を暗号化した暗号選択解を送信し、
前記制御装置は、前記暗号選択解を受信し、前記暗号選択解と前記照合解を暗号化した暗号照合解とを照合する、
請求項2に記載の通信システム。
The communication device transmits a cryptographic selective solution in which the selective solution is encrypted.
The control device receives the cipher selection solution and collates the cipher selection solution with the cipher collation solution that encrypts the collation solution.
The communication system according to claim 2.
前記暗号選択解及び前記暗号照合解は、共通鍵暗号方式による暗号化に基づいて生成される、
請求項3に記載の通信システム。
The cipher selection solution and the cipher collation solution are generated based on encryption by a common key cryptosystem.
The communication system according to claim 3.
前記通信システムは、
所定条件が満たされた場合に、前記選択解および前記照合解を更新する更新制御部を備え、
前記通信機は、更新後の前記選択解と第1暗号鍵とに基づいて前記暗号選択解を更新し、
前記制御装置は、更新後の前記照合解と前記第1暗号鍵と共通する暗号鍵である第2暗号鍵とに基づいて前記暗号照合解を更新する、
請求項4に記載の通信システム。
The communication system
An update control unit that updates the selected solution and the collated solution when a predetermined condition is satisfied is provided.
The communication device updates the cryptographic selection solution based on the updated selection solution and the first encryption key.
The control device updates the cryptographic collation solution based on the updated collation solution and the second cryptographic key which is a cryptographic key common to the first cryptographic key.
The communication system according to claim 4.
前記更新制御部は、前記外部機器の認証のための通信が確立した場合、前記外部機器の認証の一部が成立した場合、所定時間が経過した場合又は前記通信機と前記制御装置との間の暗号通信の回数が所定回数に達した場合、前記所定条件を満たしたものと判定する、
請求項5に記載の通信システム。
The update control unit is used when communication for authentication of the external device is established, when a part of the authentication of the external device is established, when a predetermined time has elapsed, or between the communication device and the control device. When the number of times of encrypted communication in the above reaches a predetermined number of times, it is determined that the predetermined condition is satisfied.
The communication system according to claim 5.
前記通信システムは、
複数の暗号選択解を記憶する第1記憶部と、
複数の暗号照合解を記憶する第2記憶部と、を有し、
前記通信機は、前記第1記憶部に記憶された前記複数の暗号選択解から前記第1通信の結果に応じて選択された前記暗号選択解を送信し、
前記制御装置は、前記通信機から受信した前記暗号選択解と前記第2記憶部に記憶された前記複数の暗号照合解とを照合する、
請求項3〜6のいずれか一項に記載の通信システム。
The communication system
A first storage unit that stores multiple cryptographic selection solutions,
It has a second storage unit that stores a plurality of cryptographic collation solutions, and has
The communication device transmits the cipher selection solution selected according to the result of the first communication from the plurality of cipher selection solutions stored in the first storage unit.
The control device collates the cipher selection solution received from the communication device with the plurality of cipher collation solutions stored in the second storage unit.
The communication system according to any one of claims 3 to 6.
前記通信機は、
前記第1通信の結果が正常判定を示す場合、前記正常判定に対応する暗号選択解を前記制御装置に送信し、
前記第1通信の結果が異常判定を示す場合、前記異常判定に対応する暗号選択解を前記制御装置に送信する、
請求項3〜7のいずれか一項に記載の通信システム。
The communication device
When the result of the first communication indicates a normal determination, a cipher selection solution corresponding to the normal determination is transmitted to the control device.
When the result of the first communication indicates an abnormality determination, a cipher selection solution corresponding to the abnormality determination is transmitted to the control device.
The communication system according to any one of claims 3 to 7.
前記通信機は、第1通信機と、第2通信機とを含み、
前記第1通信機は、
前記外部機器との前記第1通信の結果に応じた第1暗号選択解を前記第2通信機に送信する第1通信部を備え、
前記第2通信機は、
前記第1通信機から受信した前記第1暗号選択解と適合する第1暗号照合解が取得された場合に、前記第1暗号照合解に対応する第2暗号選択解を前記制御装置に送信する第2通信部を備える、
請求項3〜8のいずれか一項に記載の通信システム。
The communication device includes a first communication device and a second communication device.
The first communication device is
A first communication unit for transmitting a first cipher selection solution according to the result of the first communication with the external device to the second communication device is provided.
The second communication device is
When a first cipher collation solution that matches the first cipher selection solution received from the first communication device is acquired, a second cipher selection solution corresponding to the first cipher collation solution is transmitted to the control device. Equipped with a second communication unit,
The communication system according to any one of claims 3 to 8.
前記第1通信部は、
前記第1通信の結果が正常判定を示す場合、前記正常判定に対応する第1暗号選択解を前記第2通信機に送信し、
前記第1通信の結果が異常判定を示す場合、前記異常判定に対応する第1暗号選択解を前記第2通信機に送信する、
請求項9に記載の通信システム。
The first communication unit
When the result of the first communication indicates a normal determination, the first cipher selection solution corresponding to the normal determination is transmitted to the second communication device.
When the result of the first communication indicates an abnormality determination, the first cipher selection solution corresponding to the abnormality determination is transmitted to the second communication device.
The communication system according to claim 9.
前記第2通信部は、
前記正常判定に対応する第1暗号選択解を受信し、前記正常判定に対応する第1暗号選択解に適合する前記第1暗号照合解が取得された場合には、前記正常判定に対応する第2暗号選択解を前記制御装置に送信し、
前記異常判定に対応する第1暗号選択解を受信し、前記異常判定に対応する第1暗号選択解に適合する前記第1暗号照合解が取得された場合には、前記異常判定に対応する第2暗号選択解を前記制御装置に送信する、
請求項10に記載の通信システム。
The second communication unit
When the first cipher selection solution corresponding to the normal determination is received and the first cipher collation solution matching the first cipher selection solution corresponding to the normal determination is obtained, the first cipher matching solution corresponding to the normal determination is obtained. 2 Send the cipher selection solution to the control device,
When the first cipher selection solution corresponding to the abnormality determination is received and the first cipher collation solution matching the first cipher selection solution corresponding to the abnormality determination is acquired, the first cipher matching solution corresponding to the abnormality determination is obtained. 2 Send the cipher selection solution to the control device,
The communication system according to claim 10.
前記第2通信部は、
受信した第1暗号選択解に適合する第1暗号照合解が取得されない場合には、前記第1暗号照合解が取得されないことを示す情報を前記制御装置に送信する、
請求項9〜11のいずれか一項に記載の通信システム。
The second communication unit
When the first cipher collation solution matching the received first cipher selection solution is not acquired, information indicating that the first cipher collation solution is not acquired is transmitted to the control device.
The communication system according to any one of claims 9 to 11.
前記制御装置は、
前記第2暗号選択解を受信する受信部と、
前記第2暗号選択解と第2暗号照合解とを照合する照合部と、を備える、
請求項9〜12のいずれか一項に記載の通信システム。
The control device is
A receiver that receives the second cipher selection solution and
A collation unit for collating the second cipher selection solution and the second cipher collation solution is provided.
The communication system according to any one of claims 9 to 12.
前記第1暗号選択解及び前記第1暗号照合解は、共通鍵暗号方式による第1暗号化に基づいて生成され、
前記第2暗号選択解及び前記第2暗号照合解は、共通鍵暗号方式による第2暗号化に基づいて生成される、
請求項13に記載の通信システム。
The first cipher selection solution and the first cipher collation solution are generated based on the first encryption by the common key cryptosystem.
The second cipher selection solution and the second cipher collation solution are generated based on the second encryption by the common key cryptosystem.
The communication system according to claim 13.
外部機器との第1通信の結果に応じて選択された選択解を取得する取得部と、
前記第1通信とは通信相手が異なる第2通信により前記選択解を制御装置に送信する通信部と、
を備える、通信機。

An acquisition unit that acquires a selected solution selected according to the result of the first communication with an external device,
A communication unit that transmits the selected solution to the control device by a second communication with a communication partner different from that of the first communication.
A communication device.

JP2020052415A 2019-04-12 2020-03-24 Communication system and communication device Active JP7465127B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/JP2020/015654 WO2020209248A1 (en) 2019-04-12 2020-04-07 Communication system and communication instrument
DE112020001900.4T DE112020001900T5 (en) 2019-04-12 2020-04-07 Communication system and communication device
US17/600,847 US20220167162A1 (en) 2019-04-12 2020-04-07 Communication system and communication device
CN202080016381.6A CN113544671A (en) 2019-04-12 2020-04-07 Communication system and communication device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019076299 2019-04-12
JP2019076299 2019-04-12

Publications (2)

Publication Number Publication Date
JP2020173796A true JP2020173796A (en) 2020-10-22
JP7465127B2 JP7465127B2 (en) 2024-04-10

Family

ID=72831468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020052415A Active JP7465127B2 (en) 2019-04-12 2020-03-24 Communication system and communication device

Country Status (2)

Country Link
JP (1) JP7465127B2 (en)
CN (1) CN113544671A (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3250452B2 (en) * 1996-04-16 2002-01-28 トヨタ自動車株式会社 Engine start control device
JP2001239897A (en) 2000-02-28 2001-09-04 Toshiba Corp Vehicular information processing device, on-vehicle information processing device and information processing method
JP4164004B2 (en) 2003-07-01 2008-10-08 本田技研工業株式会社 Vehicle anti-theft device
JP4156493B2 (en) 2003-11-04 2008-09-24 株式会社東海理化電機製作所 Vehicle security device and ID code management device
JP2005268903A (en) * 2004-03-16 2005-09-29 Toshiba Corp Cryptographic key sharing device, cryptographic key sharing method, program, and communication equipment
JP2010011400A (en) 2008-06-30 2010-01-14 National Institute Of Advanced Industrial & Technology Cipher communication system of common key system
JP2010136015A (en) 2008-12-03 2010-06-17 Tokai Rika Co Ltd Portable unit and vehicular communication system
JP6693327B2 (en) * 2016-08-02 2020-05-13 トヨタ自動車株式会社 Vehicle control device

Also Published As

Publication number Publication date
CN113544671A (en) 2021-10-22
JP7465127B2 (en) 2024-04-10

Similar Documents

Publication Publication Date Title
US9218700B2 (en) Method and system for secure and authorized communication between a vehicle and wireless communication devices or key fobs
JP6676597B2 (en) Car sharing system
JPH086520B2 (en) Remote access system
JP7114413B2 (en) Authentication system and authentication method
US20240089101A1 (en) Communication system and control device
US10938829B2 (en) Car sharing system
US20210264705A1 (en) Method for Securing a Communication between a Mobile Communication Apparatus and a Vehicle
WO2020209141A1 (en) Unauthorized communication prevention system and unauthorized communication prevention method
JP2018178461A (en) User authentication system and user authentication method
WO2020209248A1 (en) Communication system and communication instrument
JP2020173796A (en) Communication system and communication device
JP2017020228A (en) Electronic key and electronic key system
JP2020088408A (en) Authentication system and authentication method
JP2010180596A (en) Electronic key system and key authentication method
JP2019100059A (en) On-vehicle apparatus and remote keyless entry system
JP7366819B2 (en) Communication systems and control equipment
CN113449285A (en) Authentication system and authentication method
JP5985845B2 (en) Electronic key registration method
WO2020158860A1 (en) Authentication system and authentication method
JP7258634B2 (en) Communication system and communication device
EP4047571A1 (en) Method and device for providing an authorization to access an interactive good
JP5647030B2 (en) Electronic key registration system
JP2016211259A (en) Unauthorized communication establishment prevention system
JP2022017856A (en) Authentication system and authentication method
JP2020077904A (en) Portable device and collation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230808

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240329

R150 Certificate of patent or registration of utility model

Ref document number: 7465127

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150