JP2018141263A - Keyless entry system for vehicle - Google Patents
Keyless entry system for vehicle Download PDFInfo
- Publication number
- JP2018141263A JP2018141263A JP2017034117A JP2017034117A JP2018141263A JP 2018141263 A JP2018141263 A JP 2018141263A JP 2017034117 A JP2017034117 A JP 2017034117A JP 2017034117 A JP2017034117 A JP 2017034117A JP 2018141263 A JP2018141263 A JP 2018141263A
- Authority
- JP
- Japan
- Prior art keywords
- vehicle
- portable device
- unit
- code
- update
- 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.)
- Pending
Links
Images
Landscapes
- Lock And Its Accessories (AREA)
Abstract
Description
本発明は、車両用キーレスエントリーシステムに関する。 The present invention relates to a vehicle keyless entry system.
車両用キーレスエントリーシステムは、車両のユーザが所持する携帯機と、車両に搭載された車載機を備えている。ユーザが携帯機の操作ボタンを押下すると、携帯機は操作信号を携帯機に送信する。操作信号を受信した車載機が車両のドアを施錠または解錠する。操作信号はIDコードを含んでいる。車載機は操作信号に含まれるIDコードが携帯機に付与されたIDコードと一致するかを照合する。これによって、ユーザが所持する携帯機のみによって、車両のドアの施錠および解錠を行えるようになっている。 The vehicle keyless entry system includes a portable device possessed by a user of the vehicle and an in-vehicle device mounted on the vehicle. When the user presses the operation button on the portable device, the portable device transmits an operation signal to the portable device. The in-vehicle device that has received the operation signal locks or unlocks the vehicle door. The operation signal includes an ID code. The in-vehicle device collates whether the ID code included in the operation signal matches the ID code assigned to the portable device. As a result, the vehicle door can be locked and unlocked only by the portable device possessed by the user.
ところが、操作信号を傍受できる中継機を用いれば、第三者であってもドアを不正に解錠できてしまう。このような第三者の不正解錠を防ぐために、車両用キーレスエントリーシステムでは操作信号の送信に応じて変動するカウンタコード(ローリングコードとも称する)を用いている。 However, if a relay device that can intercept operation signals is used, even a third party can unlock the door illegally. In order to prevent such an unauthorized unlocking by a third party, a vehicular keyless entry system uses a counter code (also referred to as a rolling code) that varies in response to transmission of an operation signal.
具体的には、携帯機および車載機のそれぞれが、携帯機側カウンタコード、車載機側カウンタコードを保持する。携帯機は携帯機側カウンタコードを操作信号に含ませて送信した後に、カウンタコードを更新する。操作信号を受信した車載機は、操作信号に含まれる携帯機側カウンタコードを車載機側カウンタコードと比較し、照合結果として操作信号が携帯機からのものと認められた場合、車両のドアの施錠または解錠を行い、車載機側カウンタコードを更新する(例えば、特許文献1参照)。中継機が傍受した操作信号を後から車載機に送信したとしても、すでに車載機側カウンタコードは更新されているため、車両のドアは解錠されない。 Specifically, each of the portable device and the in-vehicle device holds a portable device-side counter code and an in-vehicle device-side counter code. The portable device updates the counter code after transmitting the portable device-side counter code included in the operation signal. The in-vehicle device that has received the operation signal compares the portable device side counter code included in the operation signal with the in-vehicle device side counter code, and if the operation signal is recognized as being from the portable device as a comparison result, Locking or unlocking is performed, and the in-vehicle device side counter code is updated (for example, see Patent Document 1). Even if the operation signal intercepted by the relay device is transmitted to the in-vehicle device later, the in-vehicle device side counter code has already been updated, so the door of the vehicle is not unlocked.
ところが、Rolljamと呼ばれる中継機が開発されている。Rolljamは妨害電波を発生させながら操作信号を複数回傍受することで、不正解錠を行う。具体的には、ユーザが携帯機の操作ボタンを押下したときに、Rolljamは携帯機から送信された操作信号を傍受すると同時に、妨害電波を発生させる。操作信号は妨害電波によって車載機に到達せず、車両のドアは解錠されない。車両のドアが解錠されなかったため、ユーザは再度携帯機の操作ボタンを押下する。これによって、携帯機は2回目の操作信号を送信する。Rolljamは2回目の操作信号も傍受する。妨害電波の発生により2回目の操作信号も車載機に到達しないが、この直後にRolljamは先に傍受した最初の操作信号を車載機に送信する。 However, a repeater called Rolljam has been developed. Rolljam performs unauthorized unlocking by intercepting operation signals multiple times while generating jamming radio waves. Specifically, when the user presses the operation button of the portable device, Rolljam intercepts the operation signal transmitted from the portable device and simultaneously generates jamming radio waves. The operation signal does not reach the in-vehicle device due to the interference wave, and the vehicle door is not unlocked. Since the door of the vehicle has not been unlocked, the user presses the operation button of the portable device again. Thereby, the portable device transmits a second operation signal. Rolljam also intercepts the second operation signal. Although the second operation signal does not reach the in-vehicle device due to the generation of jamming waves, Rolljam immediately sends the first operation signal intercepted first to the in-vehicle device.
最初の操作信号および2回目の操作信号とも車載機に到達していないため、車載機側カウンタコードは更新されていない状態である。そのため、Rolljamが送信した最初の操作信号で車両のドアは解錠する。ユーザには、2回目の操作ボタンの押下によってドアが解錠したように見える。そのため、ユーザは最初の操作でドアが解錠しなかったのは通信状態が一時的に悪かっただけだと思い、中継機の存在に気づかない。その後、ユーザが車両を離れた隙に、第三者は、Rolljamから記憶している2回目の操作信号を車載機に送信すればドアを解錠することができる。すなわち、Rolljamを用いることで、車両窃盗等の不正行為が実施されるおそれがある。 Since neither the first operation signal nor the second operation signal has reached the in-vehicle device, the in-vehicle device side counter code is not updated. Therefore, the vehicle door is unlocked by the first operation signal sent by Rolljam. It seems to the user that the door is unlocked by pressing the operation button for the second time. Therefore, the user thinks that the door was not unlocked in the first operation only because the communication state was temporarily bad, and does not notice the presence of the repeater. Thereafter, when the user leaves the vehicle, the third party can unlock the door by transmitting the second operation signal stored from Rolljam to the in-vehicle device. That is, by using Rolljam, there is a risk that illegal acts such as vehicle theft will be carried out.
車両用キーレスエントリーシステムにおいて、Rolljamによる不正行為を防止し、セキュリティを向上させることが求められている。 In a keyless entry system for vehicles, it is required to prevent fraud by Rolljam and improve security.
本発明は、ユーザにより所持される携帯機と、
車両に搭載され、前記携帯機との通信および車載設備の動作制御を行う車載機と、を有する車両用キーレスエントリーシステムであって、
前記携帯機は、
ユーザによる車両の施錠または解錠の操作要求を受け付ける操作部と、
携帯機側の第1および第2のカウンタコードを記憶する携帯機記憶部と、
前記操作部が前記操作要求を受け付けると、前記携帯機側の第1および第2のカウンタコードを含む操作信号を前記車載機に送信する携帯機送信部と、
前記操作信号の送信時に前記携帯機側の第1のカウンタコードを更新する携帯機更新部と、を備え、
前記車載機は、
車載機側の第1および第2のカウンタコードを記憶する車載機記憶部と、
前記操作信号に含まれる携帯機側の第1および第2のカウンタコードを、前記車載機記憶部に記憶された車載機側の第1および第2のカウンタコードと照合する照合部と、
前記照合部の照合が成立した場合、車両のドアの施錠または解錠の動作を制御する制御部と、
前記照合部の照合が成立した場合、前記車載機側の第1のカウンタコードを更新する車載機更新部と、
車両の所定動作の際に、前記携帯機に応答要求信号を送信する車載機送信部と、
を備え、
前記携帯機更新部と前記車載機更新部は、前記応答要求信号の送信により開始される前記携帯機と前記車載機間のパッシブ通信において、それぞれ前記携帯機側の第2のカウンタコードおよび前記車載機側の第2のカウンタコードの更新を行う構成とした。
The present invention includes a portable device carried by a user;
A vehicle-less keyless entry system having an in-vehicle device mounted on a vehicle and performing communication control with the portable device and controlling operation of the in-vehicle equipment,
The portable device is
An operation unit for accepting an operation request for locking or unlocking the vehicle by a user;
A portable device storage unit for storing the first and second counter codes on the portable device side;
When the operation unit accepts the operation request, a portable device transmission unit that transmits an operation signal including first and second counter codes on the portable device side to the in-vehicle device;
A portable device updating unit that updates the first counter code on the portable device side when transmitting the operation signal,
The in-vehicle device is
An in-vehicle device storage unit for storing the first and second counter codes on the in-vehicle device side;
A collation unit that collates the first and second counter codes on the portable device side included in the operation signal with the first and second counter codes on the vehicle unit stored in the vehicle unit storage unit;
When verification of the verification unit is established, a control unit that controls the operation of locking or unlocking the door of the vehicle;
When the collation of the collation unit is established, the in-vehicle device update unit that updates the first counter code on the on-vehicle device side;
An in-vehicle device transmission unit that transmits a response request signal to the portable device during a predetermined operation of the vehicle;
With
In the passive communication between the portable device and the in-vehicle device that is started by the transmission of the response request signal, the portable device updating unit and the in-vehicle device updating unit are respectively a second counter code on the portable device side and the in-vehicle device. The second counter code on the machine side is updated.
本発明によれば、Rolljamを用いた第三者の車両に対する不正行為を防止することができ、セキュリティを向上させることができる。 ADVANTAGE OF THE INVENTION According to this invention, the fraudulent act with respect to the vehicle of the third party using Rolljam can be prevented, and security can be improved.
以下、本発明の実施の形態に係る車両用キーレスエントリーシステムを、図面を参照して説明する。
図1は、本発明の実施の形態に係る車両用キーレスエントリーシステム(以下、キーレスシステムKという。)の構成を示すブロック図である。
Hereinafter, a keyless entry system for a vehicle according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a vehicle keyless entry system (hereinafter referred to as a keyless system K) according to an embodiment of the present invention.
[キーレスシステム]
図1に示すように、キーレスシステムKは携帯機10と車載機20を備える。携帯機10は、車両のユーザが所持し、車両の内外に持ち運び可能なものである。車載機20は車両の内部に配置される。キーレスシステムKにおいて、ユーザの操作要求に応じて携帯機10が車載機20と通信を行う。携帯機10と車載機20の通信結果に基づいて、車載機20が車両のドアの施錠または解錠を行う。このドアの施錠または解錠の処理を、以降、RKE(リモートキーレスエントリー)処理という。車載機20はドアのアクチュエータ以外にも様々な車載設備にも接続されており、車載設備の動作制御も行う。車載機20は、ドアの施錠および解錠以外にも、車両が所定動作をする際に携帯機10の所在を確認するため、携帯機10と通信を行う。この携帯機10の所在を確認するための携帯機10と車載機20の通信を、パッシブ通信という。車両の所定動作とは、車載設備の動作と車両のドアの開閉動作を意味する。
[Keyless system]
As shown in FIG. 1, the keyless system K includes a
[携帯機]
携帯機10の筐体の一面には、ロックボタン11とアンロックボタン12とが設けられている。ロックボタン11とアンロックボタン12とは、ユーザの操作要求を受け付ける操作部として機能する。ユーザがロックボタン11またはアンロックボタン12を押下することによって、施錠または解錠の操作要求が携帯機10に入力され、携帯機10および車載機20がRKE処理を開始する。
[Portable machine]
A
図2は、携帯機の構成を示すブロック図である。
図2に示すように、携帯機10は、CPU(central processing unit)100、記憶部103(携帯機記憶部)、LF受信部104、RF送信部105および入力I/F106を備えている。CPU100は、機能構成として、制御部101および更新部102(携帯機更新部)を備えている。記憶部103は、不揮発性メモリであるフラッシュメモリおよびROM(read―only memory)ならびに揮発性メモリであるRAM(random―access memory)などの情報記憶媒体で構成される。CPUおよび情報記憶媒体は、携帯機10の筐体の内部に設置されている。記憶部103は、携帯機10の制御プログラムを記憶する。CPU100が記憶部103に記憶された制御プログラムを読み出して実行することで、前記した機能構成を実現する。特に記載しないが、CPU100の各部は、処理結果を一時的に記憶部103に記憶させ、必要なデータや処理対象を記憶部103から読み出し、処理終了後に一時的に記憶させたデータをリセットする。
FIG. 2 is a block diagram illustrating a configuration of the portable device.
As shown in FIG. 2, the
記憶部103は、また、車載機20との通信に必要な各種の情報を記憶する。本発明の実施の形態では、記憶部103は、例として、IDコード、ファンクションコード、携帯機側カウンタコードA(携帯機側の第1のカウンタコード)、携帯機側カウンタコードB(携帯機側の第2のカウンタコード)、基準値A、基準値B、カウンタ値A、カウンタ値B、暗号化および復号のための鍵等を記憶している。これらの情報については、携帯機10の各部の説明と共に詳説する。
The
入力I/F106は、ロックボタン11およびアンロックボタン12に接続する。ユーザがロックボタン11を押下すると、入力I/F106は、制御部101に車両の施錠の操作要求を入力する。ユーザがアンロックボタン12を押下すると、入力I/F106は、制御部101に車両の解錠の操作要求を入力する。
なお、ロックボタン11とアンロックボタン12とは、必ずしも別体のボタンから構成される必要は無く、一体のボタンで構成しても良い。その場合は、例えば、制御部101が、ボタンの押下回数に応じて解錠と施錠の操作要求を判別するようにしても良い。具体的には、例えば、制御部101は、ボタンの押下回数が奇数であれば解錠の操作要求であり、ボタンの押下回数が偶数であれば施錠の操作要求であると判別しても良い。
The input I /
Note that the
LF受信部104はLF受信アンテナ104aに接続する。LF受信アンテナ104aは、車載機20が送信したLF信号を受信する。LF受信部104は、受信したLF信号を制御部101に入力する。
The
制御部101は、携帯機10の全体的な動作の制御を行う。詳しくは後述するが、制御部101は、LF受信部104および入力I/F106からの入力に応じて、携帯機10の各部に入力するコマンドの生成と、車載機20に送信する信号の生成を行う。
入力I/F106が操作要求を入力すると、制御部101は、操作信号生成部として、車載機20に送信するための操作信号を生成する。
図3は、操作信号の構成を示す模式図である。図3に示すように、操作信号は、携帯機側カウンタコードA、ファンクションコードおよびIDコードを含む。
IDコードは、ユーザが所持する携帯機10に付与された固有の識別コードである。
ファンクションコードは、車載機20に指示する操作の内容を規定するコードである。実施の形態の例では、車両のドアの施錠と解錠それぞれを車載機20に指示するために、施錠と解錠に対してそれぞれ固有のファンクションコードが割り当てられている。
携帯機側カウンタコードAは、固定の基準値Aにカウンタ値Aを付加したものを、鍵を用いて暗号化したコードである。携帯機側カウンタコードBは、固定の基準値Bにカウンタ値Bを付加したものを、鍵を用いて暗号化したコードである。カウンタ値A、Bをカウントアップアップさせることにより、携帯機側カウンタコードA、Bもカウントアップして更新される。携帯機側カウンタコードA、Bに対して、それぞれ別個の基準値A、Bとカウンタ値A、Bを設ける。カウンタ値A、Bは、初期状態では、例えばいずれも1に設定するが、それぞれ異なるタイミングでカウントアップを行う。すなわち、携帯機側カウンタコードA、Bは異なるタイミングでカウントアップし、更新される。携帯機側カウンタコードAについては、操作信号の送信の際、すなわちRKE処理の際に更新を行う。携帯機側カウンタコードBについては、パッシブ通信の際に更新を行う。
The
When the input I /
FIG. 3 is a schematic diagram showing the configuration of the operation signal. As shown in FIG. 3, the operation signal includes a portable device counter code A, a function code, and an ID code.
The ID code is a unique identification code given to the
The function code is a code that defines the content of the operation instructed to the in-
The portable device side counter code A is a code obtained by encrypting a reference value A added with a counter value A using a key. The portable device side counter code B is a code obtained by encrypting a fixed reference value B with the counter value B added thereto using a key. By counting up the counter values A and B, the counter codes A and B on the portable device side are also counted up and updated. Separate reference values A and B and counter values A and B are provided for the portable device side counter codes A and B, respectively. The counter values A and B are both set to 1, for example, in the initial state, but are counted up at different timings. That is, the portable device side counter codes A and B are counted up and updated at different timings. The portable device side counter code A is updated when the operation signal is transmitted, that is, when the RKE process is performed. The portable device side counter code B is updated during passive communication.
入力I/F106が施錠または解錠の操作要求を入力すると、制御部101は、それぞれに対応するファンクションコード、IDコードおよび携帯機側カウンタコードA、Bを、記憶部103から取得して、操作信号を生成する。制御部101は生成した操作信号をRF送信部105に出力する。操作信号の出力後に、制御部101は、携帯機側カウンタコードAの更新を指示する更新コマンドを生成して更新部102に出力する。
When the input I /
RF送信部105は、携帯機10に信号を送信するためのRF送信アンテナ105bに接続している。RF送信部105は、制御部101が入力した操作信号を変調し、RF信号として車載機20に送信する。
The
制御部101が更新コマンドを入力すると、更新部102は、携帯機側カウンタコードAをカウントアップさせることにより、更新する。具体的な処理としては、更新部102は、まず、記憶部103からカウンタ値Aを取得してカウントアップさせる。例えば、更新部102は、初期状態で1であったカウンタ値Aを2にカウントアップさせる。更新部102はカウントアップしたカウンタ値Aで既存のカウンタ値Aを上書きする。更新部102はさらに、基準値Aに上書きしたカウンタ値Aを加算したものを、鍵を用いて暗号化し、新たな携帯機側カウンタコードAを生成する。カウンタ値Aをカウントアップさせたことにより、新たに生成した携帯機側カウンタコードAは、結果的に既存の携帯機側カウンタコードAをカウントアップさせたものとなっている。すなわち、本実施の形態において、携帯機側カウンタコードAの更新とは、携帯機側カウンタコードAのカウントアップ処理を意味する。更新部102は、新たに生成した携帯機側カウンタコードAを、既存の携帯機側カウンタコードAに上書きする形で記憶部103に保存する。
なお、ここでは、制御部101は、操作信号の出力後に更新コマンドを更新部102に出力する場合を説明したが、操作信号の出力前に更新コマンドを出力しても良い。すなわち、携帯機側カウンタコードAの更新は、操作信号の送信時に行えば良く、操作信号の送信の前後は問わない。
When the
Here, the case where the
LF受信部104が制御部101にLF信号を入力した場合の、制御部101の処理については、LF信号の種類に応じて異なる。車載機20が送信するLF信号は、応答要求信号と認証信号がある。詳細は車載機20の説明と共に後述するが、車載機20は応答要求信号と認証信号を前記したパッシブ通信において送信する。
The processing of the
パッシブ通信は、車載機20からの応答要求信号の送信により開始し、携帯機10が車載機20からの認証信号を受信することで成立する。応答要求信号は、携帯機10に応答信号の送信を求める内容である。認証信号は、携帯機10が送信した応答信号を認証したことを通知する信号である。本発明の実施の形態では、認証信号はカウンタコード更新要求(以下、単に「更新要求」ともいう)を含む。更新要求は、携帯機10の更新部102に対して携帯機側カウンタコードBを更新させる要求である。前記した携帯機側カウンタコードAの更新と同様に、携帯機側カウンタコードBの更新とは携帯機側カウンタコードBのカウントアップ処理である。したがって、更新要求とは、具体的には、携帯機10の更新部102に携帯機側カウンタコードBのカウントアップ処理を行わせるカウントアップ要求である。
Passive communication starts when a response request signal is transmitted from the in-
LF受信部104が応答要求信号を入力すると、制御部101は記憶部103からIDコードを取得し、IDコードを含む応答信号を生成する。制御部101は生成した応答信号をRF送信部105に出力する。RF送信部105は応答信号を変調して、RF信号として車載機20に送信する。
When the
LF受信部104が更新要求を含む認証信号を入力すると、制御部101は、操作信号の出力後と同様に、更新コマンドを生成して更新部102に出力する。更新部102は、携帯機側カウンタコードAの更新と同様の処理を行って、携帯機側カウンタコードBを更新する。具体的には、更新部102は、記憶部103からカウンタ値Bを取得して、例えば、初期状態で1であったカウンタ値Bを、2にカウントアップさせ、カウントアップしたカウンタ値Bで既存のカウンタ値Bを上書きする。更新部102はさらに、基準値Bに上書きしたカウンタ値Bを加算したものを、鍵を用いて暗号化し、新たな携帯機側カウンタコードBを生成する。更新部102は、記憶部103が記憶している携帯機側カウンタコードBを、新たに生成した携帯機側カウンタコードBで上書きする。
When the
更新部102による携帯機側カウンタコードBの更新が完了すると、制御部101は更新完了通知を生成して、RF送信部105に入力する。RF送信部105は、更新完了通知を変調してRF信号とし、RF送信アンテナ105bを介して車載機20に送信する。
When the update of the portable device side counter code B by the
[車載機]
図4は、車載機の構成を示すブロック図である。
図4に示すように、車載機20は、CPU200、記憶部204(車載機記憶部)、RF受信部205、入力I/F206、LF送信部209、ドアロックI/F210、ホーンI/F211、ハザードI/F212および通信I/F213を備える。CPU200は機能構成として、制御部201と、照合部202および更新部203(車載機更新部)を備えている。制御部201、照合部202および更新部203は、演算装置であるCPU、タイマ等を含んで構成される。記憶部204は、不揮発性メモリであるフラッシュメモリおよびROMならびに揮発性メモリであるRAMなどの情報記憶媒体で構成される。記憶部204は、車載機20の制御プログラムを記憶する。CPU200が記憶部204に記憶された制御プログラムを読み出して実行することで、前記した機能構成を実現する。特に記載しないが、CPU200の各部は、処理結果を一時的に記憶部204に記憶させ、必要なデータや処理対象を記憶部204から読み出し、処理終了後に一時的に記憶させたデータをリセットする。
[In-vehicle device]
FIG. 4 is a block diagram showing the configuration of the in-vehicle device.
As shown in FIG. 4, the in-
記憶部204は、また、携帯機10との通信に必要な情報および車載設備の制御に必要な情報を記憶する。本発明の実施の形態では、記憶部204は、例として、IDコード、ファンクションコード、車載機側カウンタコードC(車載機側の第1のカウンタコード)、車載機側カウンタコードD(車載機側の第2のカウンタコード)基準値C、基準値D、カウンタ値C、カウンタ値D、暗号化および復号のための鍵等を記憶している。IDコード、ファンクションコード、暗号化および復号のための鍵は、携帯機10の記憶部103が記憶するものと同じである。
The
カウンタ値Cは、携帯機10の記憶部103が記憶するカウンタ値Aより小さい数になるように設定する。初期状態では、例えば、カウンタ値Cは0に設定する。カウンタ値Dは、携帯機10の記憶部103が記憶するカウンタ値Bと同じ数になるように設定する。初期状態では、例えば、カウンタD値は1に設定する。
The counter value C is set to be smaller than the counter value A stored in the
車載機側カウンタコードCは、固定の基準値Cにカウンタ値Cを付加したものを、鍵を用いて暗号化したコードである。車載機側カウンタコードDは、それぞれ固定の基準値Dにカウンタ値Dを付加したものを、鍵を用いて暗号化したコードである。車載機20の基準値Cは携帯機10の基準値Aと同じものであり、車載機側カウンタコードCは携帯機側カウンタコードAと対になるものである。車載機20の基準値Dは携帯機10の基準値Bと同じものであり、車載機側カウンタコードDは携帯機側カウンタコードBと対になるものである。
The on-vehicle device side counter code C is a code obtained by encrypting a reference value C added with a counter value C using a key. The in-vehicle device side counter code D is a code obtained by encrypting a reference value D added with a counter value D using a key. The reference value C of the in-
カウンタ値C、Dをカウントアップさせると、車載機側カウンタコードC、Dもカウントアップする。車載機20のカウンタ値Cは携帯機10のカウンタ値Aより小さい数になるように設定されている。よって、車載機側カウンタコードCは、携帯機側カウンタコードAより小さい数になる。一方、車載機20のカウンタ値Cは携帯機10のカウンタ値Bと同じ数になるように設定されている。よって、車載機側カウンタコードDは、携帯機側カウンタコードBと同じ数になる。
When the counter values C and D are counted up, the on-vehicle device side counter codes C and D are also counted up. The counter value C of the in-
なお、ここで述べたカウンタ値A、B、C、Dの数の設定はあくまで一例である。例えば、カウンタ値Cとカウンタ値Aが同じ数になるように設定してもよく、カウンタ値Dがカウンタ値Bより小さい数になるように設定しても良い。 The setting of the number of counter values A, B, C, and D described here is merely an example. For example, the counter value C and the counter value A may be set to the same number, or the counter value D may be set to a number smaller than the counter value B.
携帯機側カウンタコードA、Bと同様に、車載機側カウンタコードC、Dも異なるタイミングで更新を行う。車載機側カウンタコードCは、対となる携帯機側カウンタコードAと同様に、RKE処理の際に更新を行う。ただし、更新の処理として、車載機側カウンタコードCをカウントアップさせるのではなく、車載機側カウンタコードCを携帯機側カウンタコードAで上書きする処理を行う。一方、車載機側カウンタコードDは、対となる携帯機側カウンタコードBと同様に、パッシブ通信の際に更新を行う。車載機側カウンタコードDは、携帯機側カウンタコードBと同様に、カウントアップさせることにより更新を行う。更新の具体的な処理の内容は、制御部201の処理の説明と共に後述する。
Similarly to the portable device side counter codes A and B, the onboard device side counter codes C and D are also updated at different timings. The in-vehicle device side counter code C is updated during the RKE process, like the paired portable device side counter code A. However, as the update process, the on-vehicle device side counter code C is not counted up, but the on-vehicle device side counter code C is overwritten with the portable device side counter code A. On the other hand, the in-vehicle device side counter code D is updated in the case of passive communication in the same manner as the paired portable device side counter code B. As with the portable device side counter code B, the onboard device side counter code D is updated by counting up. Details of the update process will be described later together with a description of the process of the
LF送信部209はLF送信アンテナ209aに接続する。ドアロックI/F210はドアロックアクチュエータ214に接続する。ホーンI/F211はホーン215に接続する。ハザードI/F212はハザードランプ216に接続する。通信I/F213はその他各種車載設備217に接続する。各種車載設備217は、例えば、エアコンユニット、オーディオ装置、エンジンコントローラ等である。
The
RF受信部205はRF受信アンテナ205aに接続する。RF受信部205は、RF受信アンテナ205aを介して、携帯機10が送信したRF信号を受信する。RF受信部205は受信したRF信号の、増幅、変換および復調を実行し、復調後の信号を、制御部201に出力する。前記したように、携帯機10が送信するRF信号は、RKE処理におけるドアの解錠または施錠の操作信号と、パッシブ通信における応答信号および更新完了通知である。
The
入力I/F206は各種スイッチ207とドア開閉センサ208に接続する。入力I/F206に接続する各種スイッチ207は、例えば、エンジンスイッチ、オーディオ操作スイッチ、エアコン操作スイッチである。ユーザが各種スイッチ207を操作すると、入力I/F206は各種スイッチ207に対応する操作信号を生成して、制御部201に出力する。また、入力I/F206は、ドア開閉センサ208がドアの開閉を検出すると、検出信号を生成して制御部201に出力する。
The input I /
制御部201は、車載機20の全体的な動作の制御を行う。制御部201は、例えば、RF受信部205および入力I/F206からの入力に応じて、車載機20の各部に入力するコマンドの生成と、携帯機10へ送信する信号の生成を行う。
RF受信部205が操作信号を入力すると、制御部201は、操作信号が含むIDコードと携帯機側カウンタコードA、Bを取得して照合部202に出力する。照合部202は、記憶部204からIDコードと車載機側カウンタコードC、Dを取得する。照合部202は、まず、操作信号のIDコードを記憶部のIDコードと照合し、照合が成立するか否かを判定する。具体的には、制御部201は、操作信号に含まれるIDコードが記憶部204のIDコードと一致した場合は照合が成立すると判定し、一致しなかった場合は照合が成立しないと判定する。
The
When the
照合部202は、IDコードの照合が成立した場合には、カウンタコードの照合を行う。照合部202は、カウンタコードの照合を二段階に分けて行う。照合部202は、i)携帯機側カウンタコードAが、車載機側カウンタコードCよりも大きいか否かを判断し、次にii)携帯機側カウンタコードBが車載機側カウンタコードと一致するか否かを判断する。照合部202は、i)の判断において、携帯機側カウンタコードAが車載機側カウンタコードCよりも大きかった場合のみ、ii)の判断を行う。携帯機側カウンタコードAが車載機側カウンタコードCと同じかそれより小さい場合は、ii)に進まずに照合の処理を終了する。そして、ii)の判断において、携帯機側カウンタコードBが車載機側カウンタコードDと一致した場合に、照合部202はカウンタコードの照合が成立したと判定する。照合の成立は、操作信号が車両のドアの施錠または解錠を許容できるものであることを意味する。
The
i)の判断において、携帯機側カウンタコードAが車載機側カウンタコードCより大きい場合でも、両者の差が予め設定した許容値より大きい場合には、照合部202は照合の処理を終了しても良い。例えば携帯機10と車載機20が通信できない状態では、ドアの施錠または解錠がされないため、ユーザが携帯機10のロックボタン11またはアンロックボタン12を何度も押下することがある。この場合は携帯機側カウンタコードAのみが更新されることになり、携帯機側カウンタコードAと車載機側カウンタコードCの差が大きくなる傾向がある。そのような場合を考慮して、携帯機側カウンタコードAと車載機側カウンタコードCの乖離はある程度許容しても良い。ただし、携帯機側カウンタコードAと車載機側カウンタコードCの乖離を無制限に許容してしまうと、セキュリティに影響を与える可能性がある。許容値は、ユーザの空押しの回数の傾向と、セキュリティの観点等から適宜設定することができる。
In the determination of i), even when the portable device side counter code A is larger than the in-vehicle device side counter code C, if the difference between the two is larger than the preset allowable value, the
なお、前記i)およびii)の判断の基準は、ここで述べた例に限定されるものではなく、カウンタ値の設定等に応じて適宜変更することができる。ここでは、カウンタ値Cはカウンタ値Aより小さくなるように設定し、カウンタ値Dはカウンタ値Bと同じになるように設定していることから、二つの判断の基準を異なるものとしている。例えば、カウンタ値A、Cとカウンタ値B、Dの関係を同じにした場合には、二つの判断の基準を同じにしても良い。 The criteria for the determinations in i) and ii) are not limited to the examples described here, and can be changed as appropriate according to the setting of the counter value. Here, since the counter value C is set to be smaller than the counter value A, and the counter value D is set to be the same as the counter value B, the two judgment criteria are different. For example, when the relationship between the counter values A and C and the counter values B and D is the same, the two determination criteria may be the same.
照合部202のカウンタコードの照合が成立した場合、制御部201は、操作信号に含まれる施錠または解錠を示すファンクションコードに従って、ドアの施錠または解錠の指令であるロックコマンドまたはアンロックコマンドを生成する。制御部201は生成したロックコマンドまたはアンロックコマンドをドアロックI/F210に入力する。ドアロックI/F210は、入力されたコマンドに従ってドアロックアクチュエータ214を駆動して、車両ドアの施錠または解錠を行う。
When verification of the counter code of the
照合部202のカウンタコードの照合が成立した場合、制御部201は、更新部203に車載機側カウンタコードCの更新を指示する更新コマンドを出力する。更新コマンドは、携帯機側カウンタコードAで車載機側カウンタコードCを上書きする処理を指示するものである。制御部201は、更新コマンドに操作信号の携帯機側カウンタコードAを含めて出力する。
When collation of the counter code of the
制御部201が更新コマンドを入力すると、更新部203は車載機側カウンタコードCの更新を行う。具体的には、更新部203はまず、記憶部204から鍵を取得し、その鍵を用いて携帯機側カウンタコードAを復号する。更新部203は復号した携帯機側カウンタコードAからカウンタ値Aを取得する。更新部203は、記憶部204に記憶されている既存のカウンタ値Cを取得したカウンタ値Aで上書きする。更新部203は、例えば、初期状態で0であったカウンタ値Cを、携帯機側カウンタコードのカウンタ値Aである1に上書きする。
When the
更新部203は、記憶部204から取得した基準値Cに上書きしたカウンタ値Cを加算したものを、鍵を用いて暗号化し、新たな車載機側カウンタコードCを生成する。更新部203は、記憶部204が記憶する車載機側カウンタコードCを、新たに生成した車載機側カウンタコードCで上書きする。車載機20のカウンタ値Cを、携帯機側カウンタコードAを構成するカウンタ値Aで上書きしているため、結果的に新たに生成した車載機側カウンタコードCは、携帯機側カウンタコードAと同じものである。すなわち、この新たに生成した車載機側カウンタコードCを既存の車載機側カウンタコードCに上書きすることは、携帯機側カウンタコードAで車載機側カウンタコードCを上書きすることを意味する。
The updating
なお、前記したように、携帯機10の記憶部103が記憶するカウンタ値Aは操作信号の送信後の更新処理で、例えば2にカウントアップしているため、更新後も、車載機側カウンタコードCは携帯機側カウンタコードAよりも小さい数となる。
As described above, the counter value A stored in the
照合部202のIDコードの照合が成立しない場合と、カウンタコードの照合が成立しない場合には、制御部201は車両のドアの施錠または解錠を行わない。さらに、カウンタコードの照合が成立しない場合は、制御部201は、警告の報知指令であるアラームコマンドを、ホーンI/F211とハザードI/F212とに出力する。携帯機側および車載機側カウンタコードA、B、C、Dの照合が成立しない場合は、Rolljam等の解錠を試みる中継機が操作信号を送信した可能性があるためである。具体的には、前記したi)の判断において、携帯機側カウンタコードAが車載機側カウンタコードCと同じかそれより小さい場合は、ii)に進まずにアラームコマンドを出力する。また、携帯機側カウンタコードAが車載機側カウンタコードCよりも大きく、ii)の判断に進んだときであっても、携帯機側カウンタコードBが車載機側カウンタコードDと一致しない場合は、アラームコマンドを出力する。
When the ID code verification of the
ホーンI/F211は、アラームコマンドに従って、ホーン215を鳴らす駆動信号を生成し、ホーン215に出力する。これにより、ホーン215は、入力した駆動信号に基づいて鳴動音を出力する。ハザードI/F212は、アラームコマンドが入力されると、ハザードランプ216を明滅させる明滅信号を生成し、ハザードランプ216に出力する。ハザードランプ216は、入力した明滅信号に基づいて明滅する。すなわち、本発明の実施の形態において、ホーンI/F211とホーン215、ハザードI/F212とハザードランプ216は、警告を報知する車載機報知部として機能する。
The horn I /
入力I/F206からの各種スイッチ207の操作信号およびドア開閉センサ208の検出信号が入力されると、制御部201は、パッシブ通信を開始するため応答要求信号を生成する。応答要求信号は、携帯機10に対して応答信号の送信を要求する内容である。前記したように、車両の所定動作は、車載設備の動作とドアの開閉動作を意味する。各種スイッチ207の操作信号の入力は車載設備の動作が行われることを意味し、ドア開閉センサ208の検出信号の入力はドアの開閉動作が行われたことを意味する。よって、操作信号および検出信号が入力されたタイミングで、パッシブ通信が行われる。
When the operation signals of the
制御部201は、生成した応答要求信号をLF送信部209に出力する。LF送信部209は制御部201から入力された応答要求信号を変調してLF信号とし、LF送信アンテナ209aを介して携帯機10に送信する。
The
前記したように、携帯機10は応答要求信号に対する返信として応答信号を送信する。RF受信部205が携帯機からの応答信号を制御部201に入力すると、制御部201は、応答信号が含むIDコードを取得して照合部202に出力する。照合部202は、記憶部204からIDコードを取得し、応答信号のIDコードと照合する。IDコードが一致する場合には、制御部201は更新要求を含む認証信号を生成して、LF送信部209に出力する。
As described above, the
制御部201が応答信号を入力すると、LF送信部209は認証信号を変調してLF信号とし、LF送信アンテナ209aを介して携帯機10に送信する。
When the
前記したように、更新要求に応じて携帯機10の更新部102が携帯機側カウンタコードBを更新すると、携帯機10から更新完了通知が送信される。RF受信部205から更新完了通知が入力されると、制御部201は、更新部203に対して更新コマンドを出力する。パッシブ通信において出力される更新コマンドは、車載機側カウンタコードDをカウントアップさせる処理を指示するものである。
As described above, when the
制御部201が更新コマンドを入力すると、更新部203は、記憶部204が記憶している車載機側カウンタコードDを、カウントアップ処理により更新する。具体的な処理としては、更新部203は、記憶部204からカウンタ値Dを取得してカウントアップさせる。例えば、更新部203は、初期状態で1であったカウンタ値Dを2にカウントアップさせる。更新部203はカウントアップしたカウンタ値Dで既存のカウンタ値Dを上書きする。更新部203はさらに、基準値Dに上書きしたカウンタ値Dを加算したものを、鍵を用いて暗号化し、新たな車載機側カウンタコードDを生成する。更新部203は、記憶部204に記憶されている車載機側カウンタコードDを、新たに生成した車載機側カウンタコードDで上書きする。
When the
前記したように、携帯機10の更新部102は、更新完了通知の送信前に、携帯機10のカウンタ値Bを、例えば2にカウントアップさせている。よって、車載機側カウンタコードDの更新によって、車載機側カウンタコードDは携帯機側カウンタコードBと同じ数になる。
As described above, the
通信I/Fが各種スイッチ207の操作による操作信号を制御部201に入力した場合、制御部201は応答要求信号を生成するだけでなく、操作信号に応じて、車載設備の動作を制御する。例えば、エアコン操作スイッチの操作による操作信号に応じて、通信I/F213を介してエアコンユニットに対して制御信号を送信する。エアコンユニットは制御信号に基づいて、エアコンの各種設定を変更し空調を行う。
When communication I / F inputs the operation signal by operation of
また、例えば、オーディオ操作スイッチの操作による操作信号に応じて、制御部201は、オーディオ装置に対して制御信号を送信する。オーディオ装置は、制御信号に基づいて作動する。
For example, the
さらに、例えば、エンジンスイッチの操作による操作信号に応じて、制御部201はエンジンコントローラに対して制御信号を送信する。エンジンコントローラは、制御信号に従ってエンジンを制御する。
Further, for example, the
以下、キーレスシステムKで実行される処理を説明する。
車載機20および携帯機10に電源が供給されると、初期処理が実行される。初期処理では、携帯機10および車載機20それぞれの制御部101、201での処理に用いられるパラメータの初期化処理が実施される。例えば、車載機20のカウンタ値は1に、携帯機10のカウンタ値は0に初期化される。
Hereinafter, processing executed in the keyless system K will be described.
When power is supplied to the in-
図5は、初期処理後のキーレスシステムKにおける処理の概略を示すフローチャートである。
図5に示すように、ユーザにより、携帯機10のロックボタン11またはアンロックボタン12が押下されると(ステップS01:Yes)、キーレスシステムKはRKE処理を行う(ステップS02)。このRKE処理において、キーレスシステムKは携帯機側カウンタコードAと車載機側カウンタコードCを更新する。
FIG. 5 is a flowchart showing an outline of processing in the keyless system K after the initial processing.
As shown in FIG. 5, when the user presses the
車両の所定動作の際には(ステップS01:No、ステップS03:Yes)、キーレスシステムKはパッシブ通信を行う(ステップS04)。このパッシブ通信において、キーレスシステムKは携帯機側カウンタコードBと車載機側カウンタコードDを更新する。 During the predetermined operation of the vehicle (step S01: No, step S03: Yes), the keyless system K performs passive communication (step S04). In this passive communication, the keyless system K updates the portable device side counter code B and the in-vehicle device side counter code D.
このように、キーレスシステムKは、携帯機側カウンタコードAと車載機側カウンタコードC、携帯機側カウンタコードBと車載機側カウンタコードDという、二組のカウンタコードを、RKE処理とパッシブ通信という異なるタイミングで更新する。 As described above, the keyless system K has two sets of counter codes, the portable device side counter code A and the onboard device side counter code C, and the portable device side counter code B and the onboard device side counter code D, RKE processing and passive communication. Update at different timings.
なお、ロックボタン11またはアンロックボタン12が押下されず(ステップS01:No)、かつ車両の所定動作も行われない(ステップS03:No)状態では、携帯機10および車載機20は省電力のためスリープモードに移行する。ただし、スリープモードにおいても、携帯機10および車載機20は間欠的にスリープ状態を解除して、相互に信号を受信可能となっている。
In addition, in the state where the
次に、図5のステップS02のRKE処理の詳細を説明する。
図6の(a)は、RKE処理における携帯機10の処理を示すフローチャートであり、図6の(b)は、RKE処理における車載機20の処理を示すフローチャートである。
Next, details of the RKE process in step S02 of FIG. 5 will be described.
6A is a flowchart showing the process of the
図6の(a)に示すように、携帯機10のロックボタン11またはアンロックボタン12が押下されると、制御部101が施錠または解錠の操作信号を生成して、RF送信部105に操作信号を送信させる(ステップS211)。操作信号の送信後、更新部102が携帯機側カウンタコードAをカウントアップ処理により更新する(ステップS212)。
As shown in FIG. 6A, when the
図6の(b)に示すように、車載機20は携帯機10から施錠または解錠の操作信号を受信すると(ステップS251:Yes)、照合部202はIDコードの照合とカウンタコードの照合を行う(ステップS252)。照合部202は、操作信号に含まれるIDコードと記憶部204に記憶されているIDコードが一致した場合(ステップS253:Yes)、カウンタコードの照合に進む。照合部202は、カウンタコードの照合において、携帯機側カウンタコードAが車載機側カウンタコードBよりも大きく(ステップS254:Yes)、携帯機側カウンタコードBが車載機側カウンタコードDと一致した(ステップS255:Yes)場合は、制御部201はドアロックアクチュエータ214を駆動して、ドアの施錠または解錠を行う(ステップS256)。また、更新部203は車載機側カウンタコードCを上書き処理により更新する(ステップS257)。
As shown in FIG. 6B, when the in-
照合部202の照合において、IDコードが一致しない場合(ステップS253:No)、制御部201はドアの施錠または解錠は行わずに処理を終了する。照合部202の照合において、携帯機側カウンタコードAが車載機側カウンタコードCと同じかそれより小さい場合(ステップS254:No)と、携帯機側カウンタコードBが車載機側カウンタコードDと一致しない場合(ステップS255:No)制御部201は、ドアの施錠または解錠は行わず、さらにホーン215に鳴動音を出力させ、かつハザードランプ216を明滅させることで警告を報知する(ステップS258)。
In the collation performed by the
次に、図5のステップS04のパッシブ通信の処理の詳細を説明する。
図7の(a)は、パッシブ通信における携帯機10の処理を示すフローチャートであり、図7の(b)は、パッシブ通信における車載機20の処理を示すフローチャートである。
Next, details of the passive communication process in step S04 of FIG. 5 will be described.
FIG. 7A is a flowchart showing processing of the
図7の(b)に示すように、車両の所定動作の際、すなわち、車載機20の入力I/F206から各種スイッチ207の操作信号またはドア開閉センサ208の検出信号が入力されると、制御部201は応答要求信号を生成して、LF送信部209に送信させる(ステップS451)。
As shown in FIG. 7B, when a predetermined operation of the vehicle, that is, when an operation signal of
図7の(a)に示すように、車載機20から応答要求信号を受信すると(ステップS411:Yes)、携帯機10の制御部101は応答信号を生成し、RF送信部105に送信させる(ステップS412)。
As shown in FIG. 7A, when a response request signal is received from the in-vehicle device 20 (step S411: Yes), the
図7の(b)に示すように、携帯機10から応答信号を受信すると(ステップS452:Yes)、車載機20の照合部202が応答信号に含まれるIDコードを、記憶部204に記憶されたIDコードと照合する(ステップS453)。照合部202の照合結果として、IDコードが一致する場合(ステップS454:Yes)、制御部201は認証信号を生成して、LF送信部209に送信させる(ステップS455)。この認証信号は、携帯機側カウンタコードBの更新要求を含んでいる。
As shown in FIG. 7B, when the response signal is received from the portable device 10 (step S452: Yes), the
図7の(a)に示すように、車載機20からの認証信号を受信すると(ステップS413:Yes)、携帯機10の更新部102は携帯機側カウンタコードBをカウントアップ処理により更新する(ステップS414)。更新部102が更新を完了すると、制御部101は更新完了通知を生成してRF送信部105に送信させる(ステップS415)。
As shown in FIG. 7A, when the authentication signal is received from the in-vehicle device 20 (step S413: Yes), the
図7の(b)に示すように、携帯機10からの更新完了通知を受信すると(ステップS456:Yes)、車載機20の更新部203は車載機側カウンタコードDをカウントアップ処理により更新する(ステップS457)。
As shown in FIG. 7B, when the update completion notification is received from the portable device 10 (step S456: Yes), the
ステップS452において、携帯機10から応答信号を一定時間経過しても受信できなかった場合は(ステップS452:No)、ステップS451に戻り、車載機20の制御部201は応答要求信号を再送信する。ステップS454において、IDコードが一致しない場合(ステップS454:No)も、ステップS451に戻り、車載機20の制御部201は応答要求信号を再送信する。
In step S452, when the response signal cannot be received from the
ステップS413において、車載機20から認証信号を一定時間経過しても受信できなかった場合は(ステップS413:No)、ステップS412に戻り、携帯機10の制御部101は応答信号を再送信する。
In step S413, if the authentication signal is not received from the in-
ステップS456において、携帯機10から更新完了通知を一定時間経過しても受信できなかった場合は(ステップS456:No)、ステップS455に戻り、車載機20の制御部201は認証信号を再送信する。
In step S456, when the update completion notification is not received from the
なお、各信号の再送信を一定回数繰り返しても、相手方から信号を受信できなかった場合には、携帯機10および車載機20の制御部201は処理を終了するようにしても良い。
Note that if the signal cannot be received from the other party even if the re-transmission of each signal is repeated a certain number of times, the
また、図示は省略しているが、各種スイッチ207の操作によってパッシブ通信が開始された場合には、車載機20の制御部201はステップS457の後に、操作信号に対応する車載設備の動作制御を行う。
Although illustration is omitted, when passive communication is started by operation of
[適用例]
本発明の実施の形態に係るキーレスシステムKの適用例を説明する。
図8は、車両窃盗等の不正行為を試みる第三者が存在する場面に、キーレスシステムKを適用した例を示す図である。図8に示すように、第三者は中継機であるRolljamを所持している。RolljamはRF信号を傍受する機能と、強い妨害電波を発生させる機能を有する。例えば、駐車場等の不特定多数が出入り可能な場所において、第三者はユーザの車両の側に潜んでいる。ユーザが車両に近づき、ドアを解錠するために携帯機10のアンロックボタン12を押下するときに、第三者はRolljamを動作させる。これによって、Rolljamは携帯機10が送信する解錠の操作信号を傍受すると共に、妨害電波により操作信号が車載機20に到達することを阻害することができる。
[Application example]
An application example of the keyless system K according to the embodiment of the present invention will be described.
FIG. 8 is a diagram illustrating an example in which the keyless system K is applied to a scene where there is a third party who attempts an illegal act such as vehicle theft. As shown in FIG. 8, the third party has Rolljam as a repeater. Rolljam has a function of intercepting RF signals and a function of generating strong interference radio waves. For example, in a place where an unspecified number such as a parking lot can go in and out, a third party is lurking on the user's vehicle side. When the user approaches the vehicle and presses the
ここで、先に比較例を示して、Rolljamによって不正行為が可能となる状況を説明する。比較例と実施の形態の相違点は、比較例のキーレスシステムは、カウンタコードを一組(携帯機側カウンタコードAおよび車載機側カウンタコードC)のみを有することである。すなわち、比較例は携帯機側カウンタコードBおよび車載機側カウンタコードDを有さず、またパッシブ通信におけるカウンタコードの更新も行わない。RKE処理においては、実施の形態と同様に携帯機側カウンタコードAおよび車載機側カウンタコードCの更新を行う。 Here, a comparative example is shown first, and the situation where fraud is possible by Rolljam is explained. The difference between the comparative example and the embodiment is that the keyless system of the comparative example has only one set of counter codes (the portable device side counter code A and the in-vehicle device side counter code C). That is, the comparative example does not have the portable device side counter code B and the in-vehicle device side counter code D, and does not update the counter code in passive communication. In the RKE process, the portable device side counter code A and the in-vehicle device side counter code C are updated as in the embodiment.
図9は、比較例における携帯機10、車載機20およびRolljamの通信を示すシーケンスチャートである。図9に示すように、携帯機側カウンタコードAおよび車載機側カウンタコードCを構成する基準値A、CをXとし、カウンタ値A、Cの初期値をそれぞれ1、0とする。前記したように、携帯機側および車載機側カウンタコードA、Cは暗号化されているが、図9の例では、便宜的に、基準値A、Cとカウンタ値A、Cを単純に加算したものを携帯機側および車載機側カウンタコードA、Cとして取り扱う。すなわち、携帯機側カウンタコードAの初期値はX+1、車載機側カウンタコードCの初期値はX+0である。
FIG. 9 is a sequence chart showing communication between the
第三者はユーザが車両に近づくのを見て、Rolljamを動作させて妨害電波を発生させる。ユーザがアンロックボタン12を押下すると、携帯機10は最初の操作信号を送信する。この最初の操作信号は、携帯機側カウンタコードA(X+1)を含む。最初の操作信号の送信後、携帯機10は携帯機側カウンタコードAをX+1からX+2に更新する。
The third party sees the user approaching the vehicle and activates Rolljam to generate jamming. When the user presses the
Rolljamは、携帯機10が送信した最初の操作信号を傍受してメモリに記憶する。妨害電波により、最初の操作信号は車載機20に到達せず、車両のドアは解錠されない。そのため、ユーザは再度アンロックボタン12を押下する。アンロックボタン12の押下により、携帯機10は2回目の操作信号を送信する。2回目の操作信号は、携帯機側カウンタコードA(X+2)を含む。2回目の操作信号の送信後、携帯機10は携帯機側カウンタコードAをX+2からX+3に更新する。
Rolljam intercepts the first operation signal transmitted by the
Rolljamは、2回目の操作信号も傍受してメモリに記憶する。1回目の操作信号と同様に、2回目の操作信号も妨害電波により車載機20に到達しない。しかしながら、Rolljamは2回目の操作信号をメモリに記憶後、妨害電波の発生を停止して、先に記憶した1回目の操作信号を、車載機20に送信する。
Rolljam intercepts the second operation signal and stores it in memory. Similarly to the first operation signal, the second operation signal does not reach the vehicle-mounted
車載機20は受信した1回目の操作信号のカウンタコードの照合を行う。比較例では携帯機側カウンタコードAと車載機側カウンタコードCの一組のみ照合を行う。Rolljamが送信した1回目の操作信号の携帯機側カウンタコードAが、車載機側カウンタコードCより大きいかを判断する。なお、車載機20はIDコードの照合も行っているが、IDコードが一致している前提であるため、記載は省略する。照合の結果、携帯機側カウンタコードAは車載機側カウンタコードCより大きい(X+1>X+0)ため、車載機20は車両のドアを解錠させる。解錠後、車載機は車載機側カウンタコードA+0を、操作信号に含まれる携帯機側カウンタコードA+1で上書きして更新する。
The in-
このように、Rolljamによって車両のドアが解錠されるが、このときはユーザが車両の傍にいるため、第三者が車両窃盗等の不正行為を行うことはできない。ただし、ユーザが2回目にアンロックボタン12を押下した後に車両のドアが解錠するため、第三者によって操作信号を傍受されたことを、ユーザが気づく可能性は高くない。ユーザはそのまま車両のドアを開閉させたり、各種スイッチを操作したりする。すなわち、車両の所定動作が行われる。車両の所定動作の際に、車載機20と携帯機10の間でパッシブ通信が行われる。パッシブ通信は複数回行われることもあるが、ここでは一回のみ行われる例を示している。車載機20が応答要求信号を送信したとき、すでに妨害電波の発生はないため、応答要求信号は携帯機10に到達する。携帯機10は応答信号を車載機20に送信し、車載機20は応答信号に含まれるIDコードを照合して、認証信号を携帯機10に送信する。比較例では、認証信号は更新要求を含まない。そのため、認証信号の送信によってパッシブ通信の処理は終了する。
In this way, the door of the vehicle is unlocked by Rolljam. At this time, since the user is near the vehicle, a third party cannot perform illegal acts such as vehicle theft. However, since the door of the vehicle is unlocked after the user presses the
パッシブ通信の後、ユーザが車両から離れた隙に、第三者はRolljamに記憶させた2回目の操作信号を車載機20に送信する。車載機20は2回目の操作信号のカウンタコードの照合を行う。携帯機側カウンタコードAは車載機側カウンタコードCより大きい(X+2>X+1)ため、車載機20は車両のドアを解錠させてしまう。最初の解錠と異なり、このときユーザは車両から離れているため、第三者が車両窃盗等の不正行為を働くことが可能となる。
After the passive communication, the third party transmits a second operation signal stored in Rolljam to the in-
この比較例のように、一組のカウンタコードのみを備え、かつRKE処理でカウンタコードを更新する場合は、Rolljamのような妨害電波を発生させながら操作信号を傍受する中継機を用いることで、第三者の車両に対する不正行為を防げないおそれがある。 As in this comparative example, when only a set of counter codes is provided and the counter codes are updated by RKE processing, by using a repeater that intercepts operation signals while generating jamming radio waves such as Rolljam, There is a risk that fraud against third-party vehicles cannot be prevented.
次に、実施の形態の適用例を説明する。図10は、実施の形態の適用例における携帯機10、車載機20およびRolljamの通信を示すシーケンスチャートである。
前記したように、実施の形態の適用例は、もう一組のカウンタコード(携帯機側カウンタコードBと車載機側カウンタコードD)を備え、かつそのもう一組のカウンタコードの更新をパッシブ通信において行う点で、比較例と相違する。
Next, an application example of the embodiment will be described. FIG. 10 is a sequence chart showing communication between the
As described above, the application example of the embodiment includes another set of counter codes (the portable device side counter code B and the in-vehicle device side counter code D), and the update of the other set of counter codes is passively communicated. This is different from the comparative example in that
図10に示すように、携帯機側カウンタコードBおよび車載機側カウンタコードDを構成する基準値B、DをYとし、カウンタ値B、Dの初期値をそれぞれ1とする。携帯機側および車載機側カウンタコードB、Dは暗号化されているが、図10の例では、便宜的に、基準値B、Dとカウンタ値B、Dを単純に加算したものを携帯機側および車載機側カウンタコードB、Dとして取り扱う。すなわち、携帯機側カウンタコードBの初期値はY+1、車載機側カウンタコードDの初期値はY+1である。携帯機側および車載機側カウンタコードA、Cについては比較例と同じであるため、詳細な説明は省略する。 As shown in FIG. 10, the reference values B and D constituting the portable device side counter code B and the in-vehicle device side counter code D are Y, and the initial values of the counter values B and D are 1, respectively. Although the portable device side and in-vehicle device side counter codes B and D are encrypted, in the example of FIG. 10, for convenience, the reference values B and D and the counter values B and D are simply added to the portable device. Side and in-vehicle device side counter codes B and D. That is, the initial value of the portable device side counter code B is Y + 1, and the initial value of the onboard device side counter code D is Y + 1. Since the portable device side and on-vehicle device side counter codes A and C are the same as those in the comparative example, detailed description thereof is omitted.
RKE処理における携帯機10、Rolljamおよび車載機20の通信の大まかな流れは、適用例と比較例に違いはない。ただし、適用例において、携帯機10の送信する操作信号は、携帯機側カウンタコードAだけでなく携帯機カウンタコードBも含む。最初の操作信号は、携帯機側カウンタコードA(X+1)、B(Y+1)を含む。最初の操作信号の送信後、携帯機10は携帯機側カウンタコードAのみをX+1→X+2に更新する。2回目の操作信号は、携帯機側カウンタコードA(X+2)、B(Y+1)を含む。Rolljamは、比較例と同様に、携帯機10が送信した最初の操作信号および2回目の操作信号を傍受しつつ、妨害電波により車載機20への到達を妨害する。その後、Rolljamが、1回目の操作信号を車載機20に送信する。車載機20は、1回目の操作信号が含むカウンタコードの照合を行う。適用例でのカウンタコードの照合は、携帯機側カウンタコードA(X+1)と車載機側カウンタコードC(X+0)、携帯機側カウンタコードB(Y+1)と、車載機側カウンタコードD(Y+1)の二組について行う。携帯機側カウンタコードAは車載機側カウンタコードCより大きく(X+1>X+0)、携帯機側カウンタコードBと車載機側カウンタコードDは一致する(Y+1=Y+1)ため、照合が成立する。車載機20は車両のドアを解錠させる。車載機20は、車載機側カウンタコードC(X+0)を、1回目の操作信号に含まれる携帯機側カウンタコードA(X+1)で上書きすることにより更新する。
The general flow of communication between the
その後、車両の所定動作により車載機20と携帯機10の間でパッシブ通信が行われる。車載機20が応答要求信号を携帯機10に送信し、携帯機10は応答信号を車載機20に送信する。車載機20は応答信号に含まれるIDコードを照合して、認証信号を携帯機10に送信する。適用例では、この認証信号が更新要求を含む。そのため、認証信号を受信した携帯機10は、携帯機側カウンタコードBをY+1からY+2に更新する。更新の完了後、携帯機10は更新完了通知を車載機20に送信する。車載機20は更新完了通知を受信すると、車載機側カウンタコードDをY+1からY+2に更新する。
Thereafter, passive communication is performed between the in-
パッシブ通信の後、ユーザが車両から離れた隙に、第三者はRolljamに記憶させた2回目の操作信号を車載機20に送信する。車載機20は2回目の操作信号に含まれるカウンタコードの照合を行う。一組目の携帯機側カウンタコードAは車載機側カウンタコードCより大きいは(X+2>X+1)が、二組目の携帯機側カウンタコードBと車載機側カウンタコードDは一致しない(Y+1<Y+2)ため、カウンタコードの照合が成立しない。
After the passive communication, the third party transmits a second operation signal stored in Rolljam to the in-
照合が成立しないため、車載機20は車両のドアを解錠させない。車載機20はさらに、ホーン215に鳴動音を出力させるおよびハザードランプ216を明滅させることにより警告を報知する。このように、本実施形態の適用例では、RKE処理に加えてその後のパッシブ通信でも携帯機側および車載機側カウンタコードを更新することによって、Rolljamを用いた第三者の不正行為を防止する。さらに、車載機20によって警告が報知されるため、車両を離れたユーザが、不正行為を試みる第三者の存在の気づく可能性が高まる。
Since the verification is not established, the in-
以上の通り、実施の形態に係るキーレスシステムKは、
(1)ユーザにより所持される携帯機10と、車両に搭載され、携帯機10との通信および車載設備の動作制御を行う車載機20と、を有し、
携帯機10は、ユーザによる車両の施錠または解錠の操作要求を受け付けるロックボタン11またはアンロックボタン12(操作部)と、携帯機側カウンタコードA、B(携帯機側の第1および第2のカウンタコード)を記憶する記憶部103(携帯機記憶部)と、操作部が操作要求を受け付けると、携帯機側カウンタコードA、Bを含む操作信号を車載機20に送信するRF送信部105(携帯機送信部)と、操作信号の送信時に携帯機側カウンタコードAを更新する更新部102(携帯機更新部)と、を備え、
車載機20は、車載機側カウンタコードC、D(車載機側の第1および第2のカウンタコード)を記憶する記憶部204(車載機記憶部)と、操作信号に含まれる携帯機側カウンタコードA、Bを、記憶部204に記憶された車載機側カウンタコードC、Dと照合する照合部202と、照合部202の照合が成立した場合、車両のドアの施錠または解錠の動作を制御する制御部201と、照合部202の照合が成立した場合、車載機側カウンタコードAを更新する更新部203(車載機更新部)と、車両の所定動作の際に、携帯機10に応答要求信号を送信するLF送信部209(車載機送信部)と、を備え、
更新部102と更新部203は、応答要求信号の送信により開始される携帯機10と車載機20間のパッシブ通信において、それぞれ携帯機側カウンタコードBおよび車載機側カウンタコードDを更新する構成とした。
As described above, the keyless system K according to the embodiment is
(1) a
The
The in-
The updating
中継機であるRolljamは、携帯機10から送信された操作信号を傍受すると同時に、妨害電波を発生させて操作信号の車載機20へ到達をブロックし、ドアの解錠を妨害する。Rolljamがドアの解錠を妨害することによって、ユーザに携帯機10の操作ボタンを2回以上押下させ、携帯機10から送信された最初の操作信号と2回目の操作信号をそれぞれ記憶する。Rolljamは2回目の操作信号を記録したところで最初の操作信号を車載機20に送信して、ドアを解錠させることにより、ユーザに中継機の存在を疑わせない。ユーザが車両から離れた際に、第三者はRolljamから2回目の操作信号を送信し、ドアを解錠しようとする。
Rolljam, which is a relay machine, intercepts the operation signal transmitted from the
本発明の実施の形態に係るキーレスシステムKにおいては、RKE処理の際に2組のカウンタコードを照合するようにし、かつ2組のカウンタコードの更新のタイミングをそれぞれ異ならせた。1組目のカウンタコード(携帯機側カウンタコードA、車載機側カウンタコードC)はRKE処理の際に更新する。2組目のカウンタコード(携帯機側カウンタコードB、車載機側カウンタコードD)は、車両のドアの施錠または解錠後のパッシブ通信において更新する。そのため、パッシブ通信後にユーザが車両から離れた隙にRolljamから2回目の操作信号を受信しても、2組目のカウンタコードを更新しているため、照合が成立せず、ドアが解錠されることはない。すなわち、Rolljamにより、更新後の1組目のカウンタコードを傍受して解錠行為を行おうとしても、更新後の2組目のカウンタコードも並行して傍受していない限り、ドアが解錠されることはない。これによって、Rolljamを用いた第三者の不正行為を防止し、車両のセキュリティを向上させることができる。 In the keyless system K according to the embodiment of the present invention, two sets of counter codes are collated at the time of RKE processing, and the update timings of the two sets of counter codes are different. The first set of counter codes (portable device side counter code A, in-vehicle device side counter code C) is updated during the RKE process. The second set of counter codes (portable device side counter code B, in-vehicle device side counter code D) is updated in passive communication after locking or unlocking the door of the vehicle. Therefore, even if the user receives a second operation signal from Rolljam after the passive communication, the second counter code is updated, so verification is not established and the door is unlocked. Never happen. That is, even if Rolljam intercepts the first set of updated counter codes and performs an unlocking action, the door will unlock unless the second updated counter code is also intercepted in parallel. It will never be done. This can prevent third party fraud using Rolljam and improve vehicle security.
(2)照合部202は、携帯機側カウンタコードBが車載機側カウンタコードDと一致するか否かの判断に基づいて、照合が成立したと判定する。
(2) The
RKE処理で更新を行わない2組目のカウンタコードは、ロックボタン11またはアンロックボタン12の空押しによって更新されることはない。そのため、携帯機側カウンタコードBと車載機側カウンタコードDが一致する場合のみ、照合が成立するように設定することができる。一致する場合のみドアの施錠または解錠が許容されるようにすることで、セキュリティを向上させることができる。
(3)照合部202は、携帯機側カウンタコードAが車載機側カウンタコードCよりも大きい場合に、2組目のカウンタコードが一致するかの判断を実行する。
The second set of counter codes that are not updated in the RKE process is not updated by the idle pressing of the
(3) When the portable device side counter code A is larger than the in-vehicle device side counter code C, the
携帯機10と車載機20の通信不良等によって、携帯機10のロックボタン11またはアンロックボタン12が空押しされると、携帯機側カウンタコードAと車載機側カウンタコードCが乖離することがある。よって、1組目のカウンタコードについては、携帯機側カウンタコードAが車載機側カウンタコードCより大きければ許容することで、空押しがあった場合でも、ドアの施錠または解錠が行うことができる。
When the
(4)記憶部103および記憶部204は、携帯機10に付与されたIDコードを記憶する。パッシブ通信において、RF送信部105は、車載機20から送信された応答要求信号に応じて、IDコードを含む応答信号を送信し、車載機20の照合部202は、応答信号に含まれるIDコードを、記憶部204に記憶されたIDコードと照合し、応答信号に含まれるIDコードが記憶部204に記憶されたIDコードと一致する場合に、LF送信部209は携帯機10に認証信号を送信する。パッシブ通信において、LF送信部209は、認証信号に更新部102に対するカウンタコード更新要求を含める。更新部102は、このカウンタコード更新要求に基づいて、携帯機側カウンタコードBの更新を行う。RF送信部105は、携帯機側カウンタコードBの更新後、車載機20に更新完了通知を送信し、車載機20の更新部203は、更新完了通知を受信すると、車載機側カウンタコードDの更新を行う。
(4) The
パッシブ通信において携帯機10と車載機20との間で交わされる信号にカウンタコード更新要求を含ませることで、カウンタコード更新要求のみが送信されることがなく、カウンタコードを更新するタイミングを第三者に把握されにくい。
By including the counter code update request in the signal exchanged between the
(5)LF送信部209は、カウンタコード更新要求として、更新部102に携帯機側カウンタコードをカウントアップさせるカウントアップ要求を送信する構成とした。また、RF送信部105は、更新部102が携帯機側カウンタコードBを更新した後、更新完了通知を車載機20に対して送信する。更新部203は、更新完了通知を受信すると、車載機側カウンタコードDをカウントアップさせることにより更新を行う。
(5) The
携帯機側または車載機側カウンタコードB、D自体を送信せず、更新要求の受信と更新完了通知の受信に応じて、携帯機側および車載機側の更新部102、203がそれぞれカウントアップにより更新を行う。これによって、携帯機側または車載機側カウンタコードB、Dを傍受される可能性が低減され、セキュリティが向上する。また、パッシブ通信において、送信データ量が増加すると、送信完了までに時間がかかる。これによって、例えば、エンジン始動ボタンの操作等の車両の動作によっては、ユーザが操作に対する応答性に影響を与える可能性がある。携帯機側または車載機側カウンタコードB、D自体を送信しないことによって、送信データ量を低減し、応答性への影響を低減することができる。
The mobile unit side or the in-vehicle device side counter codes B and D themselves are not transmitted, and the
なお、実施の形態では、認証信号に更新要求を含ませる例を説明したが、パッシブ通信を開始する際に車載機20から携帯機10に送信する応答要求信号に更新要求を含ませるようにしても良い。その場合も、携帯機10はパッシブ通信が成立する認証信号の受信後に、携帯機側カウンタコードBを更新する。
In the embodiment, the example in which the update request is included in the authentication signal has been described. However, when the passive communication is started, the update request is included in the response request signal transmitted from the in-
(6)車載機20は、警告を報知する車載機報知部として、ホーンI/F211とホーン215またはハザードI/F212とハザードランプ216を備える。照合部202の照合が成立しない場合、すなわち携帯機側カウンタコードAが車載機側カウンタコードCと同じかそれより小さい場合または携帯機側カウンタコードBが車載機側カウンタコードDと一致しない場合、ホーン215またはハザードランプ216が警告を報知する。
(6) The in-
照合部202の照合が成立しない場合、中継機を用いて操作信号を傍受した第三者が車両への不正行為を図ろうとしている可能性が高い。その場合は、警告を報知することでユーザや車両の周囲にいる人々に不正行為の可能性を知らせることで、セキュリティを向上させることができる。
When the collation of the
(7)ホーンI/F211またはハザードI/F212は、警告の報知として、ハザードランプ216を明滅させ、またはホーン215に警報音を出力させる。警告の報知として、視覚に訴えるハザードランプ216の点灯や、聴覚に訴える警報音を用いることで、速やかに不正行為の可能性を知らせることができる。
(7) The horn I /
[変形例1]
前記した実施の形態では、車載機20から携帯機10に送信する認証信号に更新要求を含ませていた。すなわち、車載機20が携帯機10に携帯機側カウンタコードの更新を要求し、車載機20は携帯機10から更新完了通知を受けた後に、車載機側カウンタコードを更新していた。しかしながら、更新要求は車載機20から携帯機10に対して行うものに限られず、携帯機10から車載機20に対して行っても良い。変形例1では、パッシブ通信において、携帯機10から車載機20に送信する応答信号に、更新要求を含ませる例を説明する。
[Modification 1]
In the above-described embodiment, the update request is included in the authentication signal transmitted from the in-
図11の(a)は、変形例1のパッシブ通信における携帯機10の処理を示すフローチャートであり、図11の(b)は、変形例1のパッシブ通信における車載機20の処理を示すフローチャートである。図7の(a)および(b)の処理と同じ部分については、説明は省略または簡略化する。
FIG. 11A is a flowchart showing processing of the
図11の(b)に示すように、車載機20の制御部201が応答要求信号を生成して、LF送信部209に送信させる(ステップS461)。図11の(a)に示すように、車載機20からの応答要求信号を受信すると(ステップS421:Yes)、携帯機10の制御部101は応答信号を生成し、RF送信部105に送信させる(ステップS422)。この応答信号は更新要求を含んでいる。変形例1において、更新要求は、車載機20の更新部203に対して車載機側カウンタコードDを更新させる要求である。さらに具体的には、更新要求は、車載機20の更新部203に対して、車載機側カウンタコードDを構成するカウンタ値Dをカウントアップさせて、新たな車載機側カウンタコードDを生成させる要求である。
As illustrated in FIG. 11B, the
図11の(b)の応答信号を受信してから認証信号を送信するまでのステップS462〜S465は、図7の(b)のステップS452〜S455と同様の処理なので、説明は省略する。ただし、ステップS465において携帯機10の制御部101が送信する認証信号には、更新要求は含まれていない。認証信号を送信すると、車載機20の更新部203は車載機側カウンタコードDを、カウントアップ処理により更新する(ステップS466)。更新部203が更新を完了すると、車載機20の制御部201は更新完了通知を生成して、LF送信部209に送信させる(ステップS467)。
Steps S462 to S465 from when the response signal in FIG. 11B is received until the authentication signal is transmitted are the same as steps S452 to S455 in FIG. However, the update request is not included in the authentication signal transmitted by the
図11の(a)に示すように、携帯機10が車載機20からの認証信号を受信(ステップS423)した後、さらに更新完了通知を受信すると(ステップS424:Yes)、携帯機10の更新部102は携帯機側カウンタコードBを、カウントアップ処理により更新する(ステップS425)。
As shown in FIG. 11A, when the
ステップS424において、携帯機10は車載機20からの更新完了通知を待ち受けるが、一定時間経過しても受信できなかった場合は(ステップS424:No、ステップS426:Yes)、ステップS425に進み、更新部102が携帯機側カウンタコードBを更新して、処理を終了する。
In step S424, the
以上の通り、変形例1では、
(8)パッシブ通信において、携帯機10のRF送信部105(携帯機送信部)が、車載機20に送信する応答信号にカウンタコード更新要求を含め、車載機20の更新部203(車載機更新部)は、そのカウンタコード更新要求に基づいて車載機側カウンタコードDを更新する。車載機20のLF送信部209は、車載機側カウンタコードDの更新後、携帯機10に更新完了通知を送信する。携帯機10の更新部102(携帯機更新部)は、更新完了通知を受信すると、携帯機側カウンタコードBの更新を行う。
As described above, in the first modification,
(8) In passive communication, the RF transmitter 105 (portable device transmitter) of the
実施の形態と同様に、パッシブ通信において送信する信号に更新要求を含ませることで、更新要求が単体で送信されることがなく、カウンタコードを更新するタイミングを第三者に把握されにくい。 As in the embodiment, by including an update request in a signal transmitted in passive communication, the update request is not transmitted alone, and it is difficult for a third party to grasp the timing for updating the counter code.
[変形例2]
前記した実施の形態では、パッシブ通信の際に、車載機20は、更新完了通知の受信後に、車載機側カウンタコードDをカウントアップ処理により更新していた。しかしながら、これに限られず、RKE処理の際の更新と同様に、携帯機側カウンタコードBで車載機側カウンタコードDを上書きすることにより更新しても良い。この場合、携帯機10の制御部101は、更新完了通知に更新後の携帯機側カウンタコードBを含めてRF送信部105に送信させる。車載機20の更新部203は、更新完了通知に含まれる携帯機側カウンタコードBで、車載機側カウンタコードDを上書きすることにより更新を行う。
[Modification 2]
In the above-described embodiment, in the passive communication, the in-
以上の通り、変形例2では、
(9)RF送信部105(携帯機送信部)は、携帯機10の更新部102(携帯機更新部)が携帯機側カウンタコードBを更新した後、更新後の携帯機側カウンタコードBを含む更新完了通知を、車載機20の更新部203に対して送信する。車載機20の更新部203は、更新完了通知を受信すると、更新完了通知に含まれる更新後の携帯機側カウンタコードBで、車載機側カウンタコードDを上書きする。
As described above, in
(9) The RF transmitting unit 105 (portable device transmitting unit) updates the updated portable device side counter code B after the updating unit 102 (portable device updating unit) of the
RKE処理の照合部202の照合において、携帯機側カウンタコードBが車載機側カウンタコードDと一致することを照合成立の基準としている場合に、携帯機側カウンタコードBで車載機側カウンタコードDを上書きして更新することによって、携帯機側カウンタコードBと車載機側カウンタコードDを確実に一致させることができる。
When the collation by the
なお、この変形例2は、変形例1にも適用することができる。変形例1に適用する場合は、車載機20の制御部201が車載機側カウンタコードDの更新後、携帯機10に送信する更新完了通知に、更新後の車載機側カウンタコードDを含ませる。携帯機10の更新部102は、更新完了通知を受信すると、更新完了通知に含まれる更新後の車載機側カウンタコードDで、携帯機側カウンタコードBを上書きして更新する。
The second modification can also be applied to the first modification. When applied to the first modification, the
[変形例3]
前記の実施の形態では、パッシブ通信の際に常に携帯機側および車載機側カウンタコードB、Dの更新を行う例を説明したが、更新を行う場合を限定しても良い。変形例3では、車両のドアの施錠または解錠後、すなわちRKE処理の後であって、車両の所定動作としてドアを閉める動作が行われた際のパッシブ通信においてのみ、携帯機側および車載機側カウンタコードB、Dの更新を行う。言い換えると、ドア開閉センサ208からのドア閉の検出信号の入力に応じてパッシブ通信を行った際のみ、更新を行う。
[Modification 3]
In the above-described embodiment, the example in which the mobile device side and the vehicle-mounted device side counter codes B and D are always updated in the passive communication has been described, but the case where the update is performed may be limited. In the third modification example, after the locking or unlocking of the door of the vehicle, that is, after the RKE process, only in the passive communication when the door closing operation is performed as the predetermined operation of the vehicle, the portable device side and the in-vehicle device The side counter codes B and D are updated. In other words, updating is performed only when passive communication is performed in response to the input of the door closing detection signal from the door opening /
変形例3では、車載機20の記憶部204が更新フラグを記憶している。更新フラグは、携帯機側および車載機側カウンタコードの更新の要否を示すフラグであり。更新フラグが1であれば更新要、更新フラグが0であれば更新不要を示す。更新フラグは、初期状態は0である。
In the third modification, the
RKE処理の後、すなわち、ドアロックアクチュエータ214を駆動してドアの施錠または解錠を行い(図6の(b)のステップS256)、更新部203が車載機側カウンタコードを更新した(図6の(b)のステップS255)後に、車載機20の制御部201は、更新フラグを1に変更する。車両の所定動作としてドアを閉める動作が行われたとき、車載機20の制御部201は、この更新フラグを参照して、更新フラグが1であれば、パッシブ通信において更新を行う。また、更新の完了後は、更新フラグを0に戻す。
After the RKE process, that is, the
以下、変形例3におけるパッシブ通信の際の処理を、フローチャートを用いて説明する。
図12は、変形例3のパッシブ通信における携帯機10の処理を示すフローチャートであり、
図13は、変形例3のパッシブ通信における車載機20の処理を示すフローチャートである。
Hereinafter, the process in the case of the passive communication in the modification 3 is demonstrated using a flowchart.
FIG. 12 is a flowchart showing the processing of the
FIG. 13 is a flowchart showing processing of the in-
図12のステップS441〜S443、S445〜S446は、図7の(a)のステップS411〜S413、S414〜S415と同様である。図13のステップS491〜ステップS494、S499〜S500は、図7の(b)のステップのS451〜S454、S456〜S457と同様であるため、説明は省略または簡略化する。 Steps S441 to S443 and S445 to S446 in FIG. 12 are the same as steps S411 to S413 and S414 to S415 in FIG. Steps S491 to S494 and S499 to S500 in FIG. 13 are the same as steps S451 to S454 and S456 to S457 in FIG.
まず、車載機20の処理を説明する。図13に示すように、応答信号のIDコードの照合(ステップS494)後、制御部201は記憶部204の更新フラグを参照する。更新フラグが1であり(ステップS495:Yes)、かつ車両のドアの閉める動作によりパッシブ通信が開始した場合(ステップS496:Yes)、制御部201は、実施の形態と同様に、更新要求を含む認証信号を生成し、LF送信部209に送信させる(ステップS498)。携帯機10からの更新完了通知を受信すると(ステップS499:Yes)、車載機20の更新部203は車載機側カウンタコードDを更新する(ステップS500)。更新の完了後に、車載機20の制御部201は更新フラグを0に変更する(ステップS501)。
First, the processing of the in-
一方、ステップS495またはステップS496においてNoであれば、携帯機側および車載機側カウンタコードの更新は行わない。ステップS497に進み、車載機20の制御部201は、更新要求を含まない認証信号を生成して、LF送信部209に送信させ、処理を終了する。
On the other hand, if the answer is No in step S495 or step S496, the mobile device side and the in-vehicle device side counter codes are not updated. In step S497, the
次に、携帯機10の処理を説明する。図12に示すように、車載機20から受信した認証信号に更新要求が含まれている場合(ステップS444:Yes)、携帯機10の更新部102は携帯機側カウンタコードBを更新する(ステップS445)。更新部102が更新を完了すると、制御部101は更新完了通知を生成してRF送信部105に送信させる(ステップS446)。一方、認証信号に更新要求が含まれていなければ(ステップS444:No)、携帯機10の更新部102は更新を行わずに処理を終了する。
Next, processing of the
なお、ステップS500の車載機側カウンタコードDの更新は、実施の形態で説明したカウントアップ処理によるものでも良く、変形例2で説明した上書き処理によるものでも良い。上書き処理を行う場合は、携帯機10が送信する更新完了通知に、更新後の携帯機側カウンタコードBを含める。
Note that the update of the on-vehicle device side counter code D in step S500 may be performed by the count-up process described in the embodiment, or may be performed by the overwrite process described in the second modification. When overwriting is performed, the updated portable device counter code B is included in the update completion notification transmitted by the
以上の通り、変形例3では、
(10)携帯機10の更新部102(携帯機更新部)と車載機20の更新部203(車載機更新部)は、車両のドアの施錠または解錠後、車両の所定動作としてドアを閉める動作が行われた際のパッシブ通信において、それぞれ携帯機側カウンタコードBおよび車載機側カウンタコードDの更新を行う。
As described above, in Modification 3,
(10) The update unit 102 (portable device update unit) of the
パッシブ通信においてカウンタコード更新要求を送信すると、送信データ量が増加する。パッシブ通信の起因となった車両の所定動作が、例えばエンジン始動ボタンの操作等である場合には、送信データ量の増加によって、ユーザの操作に対する応答性に影響を与える可能性もある。また、全体的な送信データ量の増加により、携帯機10のメモリ寿命にも影響を与える可能性がある。更新を行うタイミングを限定することで、送信データ量を低減し、応答性への影響と、メモリの寿命への影響も低減することができる。
When a counter code update request is transmitted in passive communication, the amount of transmission data increases. When the predetermined operation of the vehicle causing the passive communication is, for example, an operation of an engine start button or the like, there is a possibility that the response to the user's operation may be affected by an increase in the amount of transmission data. In addition, an increase in the total amount of transmission data may affect the memory life of the
また、車両の所定動作として、ドアを閉める動作はユーザの各種スイッチ207の操作に起因するものでないため、送信データ量が増加したとしても、ユーザの操作への応答性への影響が少ない。よって、更新を行うタイミングを、ドアを閉める動作の際のパッシブ通信に限定することで、応答性への影響をさらに低減することができる。
In addition, as the predetermined operation of the vehicle, the operation of closing the door is not caused by the operation of the
変形例3では、更新を行うタイミングを、車両の所定動作としてドアを閉める動作に限定する例を説明したが、もちろんこれに限られず、ユーザの操作に対する応答性に与える影響が少ない、他の所定動作に限定しても良い。例えば、ドアを開ける動作の際に、更新を行うタイミングを限定しても良い。 In Modification 3, the example in which the timing of updating is limited to the operation of closing the door as the predetermined operation of the vehicle has been described. However, the present invention is not limited to this, and other predetermined operations that have little influence on the responsiveness to the user's operation. It may be limited to operation. For example, the timing for updating may be limited in the operation of opening the door.
ここでは、変形例3を実施の形態に適用した例を説明したが、変形例1に適用しても良い。変形例1に適用する場合には、携帯機10の記憶部103に更新フラグを記憶させる。携帯機10の制御部101は、RKE処理において、車載機20に操作信号を送信した後に、更新フラグを1に変更する。また、パッシブ通信において更新を行った後に、更新フラグを0に戻す。
Here, the example in which the third modification is applied to the embodiment has been described. However, the third modification may be applied to the first modification. When applied to the first modification, the update flag is stored in the
[変形例4]
前記した実施の形態では、車載機20の照合部202において携帯機側および車載機側カウンタコードA、B、C、Dの照合が成立しない場合、ホーン215とハザードランプ216が、警告の報知として鳴動音を出力し、ハザードランプ216を明滅させる例を説明した。これにより、ユーザに不正な操作信号を送信したRolljam等の中継機の存在を知らせる。
[Modification 4]
In the above-described embodiment, when the
変形例4では、車載機20だけでなく、ユーザの所持する携帯機10にも、警告を報知させる例を説明する。図14は、変形例4の携帯機10の構成を示すブロック図である。図14に示すように、携帯機10は、実施の形態で説明した構成に加えて、携帯機報知部として出力I/F107と警報ランプ13を備える。警報ランプ13は、例えば、携帯機10の筐体のロックボタン11およびアンロックボタン12が設けられている面に設置されている。警報ランプ13は、出力I/F107を介して制御部101に接続する。制御部101は警報ランプ13の点灯および消灯を制御する。制御部101は、警告を報知する際に警報ランプ13を明滅させる。
In Modification 4, an example will be described in which the warning is notified not only to the in-
車載機20の構成については実施の形態から変更は無いため、図4を用いて説明する。車載機20の照合部202は、受信した操作信号に含まれる携帯機側カウンタコードを、記憶部204が記憶する車載機側カウンタコードと照合する。照合部202の照合が成立しなかった場合、すなわち携帯機側カウンタコードが車載機側カウンタコードと同じかそれより小さい場合、制御部201は、警報信号を生成してLF送信部209から携帯機10に送信する。
Since the configuration of the in-
警報信号を受信すると、携帯機10の制御部101は、警告の報知指令であるアラームコマンドを生成して、出力I/F107を介して警報ランプ13に出力する。警報ランプ13は入力されたアラームコマンドにしたがって、警報ランプ13を明滅させる。
When the warning signal is received, the
ここでは、携帯機報知部として警報ランプ13の例を説明したが、これに限られない。例えば、警報音を発生させるブザーを携帯機10に備え、これを携帯機報知部としても良い。また、例えば、ユーザが所持するスマートフォン等の、携帯機10と通信可能な別の端末を、携帯機報知部としても良い。その場合は、制御部101は生成したアラームコマンドを、RF送信部105を介して端末に送信する。アラームコマンドを受信した端末は、例えば表示画面に中継機の存在を通知する警報を文字で表示させても良い。
Here, an example of the
以上の通り、変形例4では、
(11)照合部202の照合が成立しない場合、すなわち携帯機側カウンタコードが車載機側カウンタコードと同じかそれより小さい場合または携帯機側カウンタコードBが車載機側カウンタコードDと一致しない場合、LF送信部209(車載機送信部)は、ユーザにより所持される携帯機10に対して、警報信号を送信する。携帯機10は、車載機20から送信された警報信号に応じて、携帯機10を所持するユーザに警告を報知する警報ランプ13(携帯機報知部)を備える。
As described above, in Modification 4,
(11) When the collation of the
Rolljam等の中継機から不正な操作信号が送信されているとき、ユーザが車両から離れている可能性もある。そのような場合にも、携帯機10から警告を報知することで、ユーザが第三者の不正行為に気づく可能性を高めることができる。
When an unauthorized operation signal is transmitted from a relay machine such as Rolljam, the user may be away from the vehicle. Even in such a case, by notifying the warning from the
K 車両用キーレスエントリーシステム(キーレスシステム)
10 携帯機
20 車載機
11 ロックボタン(操作部)
12 アンロックボタン(操作部)
13 警報ランプ(携帯機報知部)
100 CPU
101 制御部
102 更新部(携帯機更新部)
103 記憶部(携帯機記憶部)
104 LF受信部
104a LF受信アンテナ
105 RF送信部(携帯機送信部)
105b RF送信アンテナ
106 入力I/F
107 出力I/F(携帯機報知部)
200 CPU
201 制御部
202 照合部
203 更新部(車載機更新部)
204 記憶部(車載機記憶部)
205 RF受信部
205a RF受信アンテナ
206 入力I/F
207 各種スイッチ
208 ドア開閉センサ
209 LF送信部(車載機送信部)
209a LF送信アンテナ
210 ドアロックI/F
211 ホーンI/F(車載機報知部)
212 ハザードI/F(車載機報知部)
213 通信I/F
214 ドアロックアクチュエータ
215 ホーン(車載機報知部)
216 ハザードランプ(車載機報知部)
217 各種車載設備
K keyless entry system for vehicles (keyless system)
10
12 Unlock button (operation unit)
13 Alarm lamp (portable device alarm section)
100 CPU
103 storage unit (mobile device storage unit)
104
105b
107 Output I / F (portable device notification unit)
200 CPU
204 Storage unit (onboard unit storage unit)
205
207
209a
211 Horn I / F (in-vehicle device notification unit)
212 Hazard I / F (in-vehicle device notification unit)
213 Communication I / F
214
216 Hazard lamp (in-vehicle device notification unit)
217 Various in-vehicle equipment
Claims (13)
車両に搭載され、前記携帯機との通信および車載設備の動作制御を行う車載機と、を有する車両用キーレスエントリーシステムであって、
前記携帯機は、
ユーザによる車両の施錠または解錠の操作要求を受け付ける操作部と、
携帯機側の第1および第2のカウンタコードを記憶する携帯機記憶部と、
前記操作部が前記操作要求を受け付けると、前記携帯機側の第1および第2のカウンタコードを含む操作信号を前記車載機に送信する携帯機送信部と、
前記操作信号の送信時に前記携帯機側の第1のカウンタコードを更新する携帯機更新部と、を備え、
前記車載機は、
車載機側の第1および第2のカウンタコードを記憶する車載機記憶部と、
前記操作信号に含まれる携帯機側の第1および第2のカウンタコードを、前記車載機記憶部に記憶された車載機側の第1および第2のカウンタコードと照合する照合部と、
前記照合部の照合が成立した場合、車両のドアの施錠または解錠の動作を制御する制御部と、
前記照合部の照合が成立した場合、前記車載機側の第1のカウンタコードを更新する車載機更新部と、
車両の所定動作の際に、前記携帯機に応答要求信号を送信する車載機送信部と、
を備え、
前記携帯機更新部と前記車載機更新部は、前記応答要求信号の送信により開始される前記携帯機と前記車載機間のパッシブ通信において、それぞれ前記携帯機側の第2のカウンタコードおよび前記車載機側の第2のカウンタコードの更新を行うことを特徴とする車両用キーレスエントリーシステム。 A portable device owned by the user;
A vehicle-less keyless entry system having an in-vehicle device mounted on a vehicle and performing communication control with the portable device and controlling operation of the in-vehicle equipment,
The portable device is
An operation unit for accepting an operation request for locking or unlocking the vehicle by a user;
A portable device storage unit for storing the first and second counter codes on the portable device side;
When the operation unit accepts the operation request, a portable device transmission unit that transmits an operation signal including first and second counter codes on the portable device side to the in-vehicle device;
A portable device updating unit that updates the first counter code on the portable device side when transmitting the operation signal,
The in-vehicle device is
An in-vehicle device storage unit for storing the first and second counter codes on the in-vehicle device side;
A collation unit that collates the first and second counter codes on the portable device side included in the operation signal with the first and second counter codes on the vehicle unit stored in the vehicle unit storage unit;
When verification of the verification unit is established, a control unit that controls the operation of locking or unlocking the door of the vehicle;
When the collation of the collation unit is established, the in-vehicle device update unit that updates the first counter code on the on-vehicle device side;
An in-vehicle device transmission unit that transmits a response request signal to the portable device during a predetermined operation of the vehicle;
With
In the passive communication between the portable device and the in-vehicle device that is started by the transmission of the response request signal, the portable device updating unit and the in-vehicle device updating unit are respectively a second counter code on the portable device side and the in-vehicle device. A keyless entry system for a vehicle, wherein the second counter code on the aircraft side is updated.
前記一方の更新部は、前記更新完了通知を受信すると、前記一方の第2のカウンタコードをカウントアップさせることにより前記更新を行うことを特徴とする請求項4記載の車両用キーレスエントリーシステム。 The other transmission unit transmits an update completion notification to the one after the other update unit updates the other second counter code,
5. The vehicle keyless entry system according to claim 4, wherein when the one update unit receives the update completion notification, the one update unit performs the update by counting up the one second counter code.
前記一方の更新部は、前記更新完了通知を受信すると、前記更新完了通知に含まれる更新後の前記他方の第2のカウンタコードで、前記一方の第2のカウンタコードを上書きすることを特徴とする請求項4記載の車両用キーレスエントリーシステム。 The other transmitter transmits an update completion notification including the updated second counter code to the one update unit after the other update unit has updated the other second counter code. Send
When the one update unit receives the update completion notification, the one update unit overwrites the one second counter code with the updated second counter code included in the update completion notification. The vehicle keyless entry system according to claim 4.
前記パッシブ通信において、
前記携帯機送信部は、前記車載機から送信された前記応答要求信号に応じて、前記IDコードを含む応答信号を送信し、
前記車載機の照合部は、前記応答信号に含まれるIDコードを前記車載機記憶部に記憶されたIDコードと照合し、
前記車載機送信部は、前記応答信号に含まれるIDコードが前記車載機記憶部に記憶されたIDコードと一致する場合に、前記携帯機に認証信号を送信し、
前記パッシブ通信において、
前記車載機送信部は、前記応答要求信号または前記認証信号にカウンタコード更新要求を含め、
前記携帯機更新部は、当該カウンタコード更新要求に基づいて前記携帯機側の第2のカウンタコードの更新を行い、
前記携帯機送信部は、前記携帯機側の第2のカウンタコードの更新後、前記車載機に更新完了通知を送信し、
前記車載機更新部は、前記更新完了通知を受信すると、前記車載機側の第2のカウンタコードの更新を行うことを特徴とする請求項1または2記載の車両用キーレスエントリーシステム。 The portable device storage unit and the in-vehicle device storage unit store an ID code given to the portable device,
In the passive communication,
The portable device transmission unit transmits a response signal including the ID code in response to the response request signal transmitted from the in-vehicle device,
The collation unit of the in-vehicle device collates the ID code included in the response signal with the ID code stored in the in-vehicle device storage unit,
When the ID code included in the response signal matches the ID code stored in the in-vehicle device storage unit, the in-vehicle device transmission unit transmits an authentication signal to the portable device,
In the passive communication,
The in-vehicle device transmission unit includes a counter code update request in the response request signal or the authentication signal,
The portable device update unit updates the second counter code on the portable device side based on the counter code update request,
The portable device transmission unit transmits an update completion notification to the in-vehicle device after updating the second counter code on the portable device side,
3. The keyless entry system for a vehicle according to claim 1, wherein the in-vehicle device update unit updates the second counter code on the in-vehicle device side when receiving the update completion notification.
前記パッシブ通信において、
前記携帯機送信部は、前記車載機から送信された応答要求信号に応じて、前記IDコードを含む応答信号を送信し、
前記車載機の照合部は、前記応答信号に含まれるIDコードを、前記車載機記憶部に記憶されたIDコードと照合し、
前記車載機送信部は、前記応答信号に含まれるIDコードが前記車載機記憶部に記憶されたIDコードと一致する場合に、前記携帯機に認証信号を送信し、
前記パッシブ通信において、
前記携帯機送信部が、前記応答信号にカウンタコード更新要求を含め、前記車載機更新部は、当該カウンタコード更新要求に基づいて前記車載機側の第2のカウンタコードの更新を行い、
前記車載機送信部は、前記車載機側の第2のカウンタコードの更新後、前記携帯機に更新完了通知を送信し、
前記携帯機更新部は、前記更新完了通知を受信すると、前記携帯機側の第2のカウンタコードの更新を行うことを特徴とする請求項1または2記載の車両用キーレスエントリーシステム。 The portable device storage unit and the in-vehicle device storage unit store an ID code given to the portable device,
In the passive communication,
The portable device transmitting unit transmits a response signal including the ID code in response to a response request signal transmitted from the in-vehicle device,
The collation unit of the in-vehicle device collates the ID code included in the response signal with the ID code stored in the in-vehicle device storage unit,
When the ID code included in the response signal matches the ID code stored in the in-vehicle device storage unit, the in-vehicle device transmission unit transmits an authentication signal to the portable device,
In the passive communication,
The portable device transmitter includes a counter code update request in the response signal, and the in-vehicle device update unit updates the second counter code on the in-vehicle device side based on the counter code update request,
The in-vehicle device transmission unit transmits an update completion notification to the portable device after updating the second counter code on the in-vehicle device side,
3. The keyless entry system for a vehicle according to claim 1, wherein the portable device updating unit updates the second counter code on the portable device side when receiving the update completion notification. 4.
前記車載機報知部は、前記照合部の照合が成立しない場合、警告を報知することを特徴とする請求項1〜10のいずれか一項に記載の車両用キーレスエントリーシステム。 The in-vehicle device includes an in-vehicle device notification unit that notifies a warning,
11. The vehicle keyless entry system according to claim 1, wherein the in-vehicle device notification unit issues a warning when the verification of the verification unit is not established.
前記携帯機は、
前記車載機から送信された警報信号に応じて、前記携帯機を所持するユーザに警告を報知する携帯機報知部を備えることを特徴とする請求項1〜12のいずれか一項に記載の車両用キーレスエントリーシステム。 When the verification of the verification unit is not established, the in-vehicle device transmission unit transmits an alarm signal to the portable device possessed by the user,
The portable device is
The vehicle according to any one of claims 1 to 12, further comprising a portable device notifying unit that notifies a user having the portable device of a warning in response to an alarm signal transmitted from the in-vehicle device. Keyless entry system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017034117A JP2018141263A (en) | 2017-02-24 | 2017-02-24 | Keyless entry system for vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017034117A JP2018141263A (en) | 2017-02-24 | 2017-02-24 | Keyless entry system for vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018141263A true JP2018141263A (en) | 2018-09-13 |
Family
ID=63527725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017034117A Pending JP2018141263A (en) | 2017-02-24 | 2017-02-24 | Keyless entry system for vehicle |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018141263A (en) |
-
2017
- 2017-02-24 JP JP2017034117A patent/JP2018141263A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6447610B2 (en) | Vehicle control system and vehicle control device | |
KR102422326B1 (en) | Control system and control mehtod for vehicle | |
KR101190486B1 (en) | Method for Transmitting Information Between Bidirectional Objects | |
CN103380445B (en) | Use the method that motor vehicles block sytem handled by mobile communication equipment | |
JP4153283B2 (en) | Security related data handling apparatus and handling method | |
JP7343740B2 (en) | One-way key fob and vehicle pairing authentication, retention, and deactivation | |
CN109586915A (en) | Automobile no-key controls authentication method, user terminal, car-mounted device and server | |
JP6693448B2 (en) | Vehicle control system, vehicle control method in vehicle control system, portable device, portable device control method, vehicle-side control unit, and vehicle-side control unit control method | |
JP5248930B2 (en) | Cryptographic communication system and cryptographic key update method | |
JP6054773B2 (en) | Communications system | |
JP2012082653A (en) | Electronic key system | |
US10943416B2 (en) | Secured communication in passive entry passive start (PEPS) systems | |
WO2019098020A1 (en) | Car sharing system | |
WO2020213475A1 (en) | Communication control system and communication control method | |
JP2018141264A (en) | Keyless entry system for vehicle | |
JP2020033707A (en) | Electronic key system, authentication device and portable device | |
JP2018141263A (en) | Keyless entry system for vehicle | |
JP2018141265A (en) | Keyless entry system for vehicle | |
WO2018070401A1 (en) | Electronic key system | |
JP2018141262A (en) | Keyless entry system for vehicle | |
US11292431B2 (en) | Use of interpretive meta-instructions to implement various RKE protocols | |
JP2010180596A (en) | Electronic key system and key authentication method | |
WO2019136332A1 (en) | Multilane message counters to ensure order | |
JP6253003B1 (en) | Electronic key system, security unit used in the system, and electronic key | |
JP2018040133A (en) | Authentication system and mobile unit |