JP6093502B2 - Electronic key registration method - Google Patents

Electronic key registration method Download PDF

Info

Publication number
JP6093502B2
JP6093502B2 JP2012018438A JP2012018438A JP6093502B2 JP 6093502 B2 JP6093502 B2 JP 6093502B2 JP 2012018438 A JP2012018438 A JP 2012018438A JP 2012018438 A JP2012018438 A JP 2012018438A JP 6093502 B2 JP6093502 B2 JP 6093502B2
Authority
JP
Japan
Prior art keywords
electronic key
key
registration
vehicle
encryption key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012018438A
Other languages
Japanese (ja)
Other versions
JP2013155554A (en
Inventor
河村 大輔
大輔 河村
英樹 河合
英樹 河合
哲也 江川
哲也 江川
明暁 岩下
明暁 岩下
長江 敏広
敏広 長江
林 政樹
政樹 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2012018438A priority Critical patent/JP6093502B2/en
Publication of JP2013155554A publication Critical patent/JP2013155554A/en
Application granted granted Critical
Publication of JP6093502B2 publication Critical patent/JP6093502B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、電子キーを通信対象の制御装置に登録する電子キー登録方法に関する。 The present invention relates to an electronic key registration method for registering an electronic key in a communication target control device.

従来、車両のユーザにより所持される電子キーと車両との間で無線通信を行い、認証が成立することに基づいて、ドアの施解錠やエンジンの始動停止等を行う電子キーシステムが知られている。そして、このような電子キーシステムでは、セキュリティ性を維持するために、電子キーと車両との間の通信を保護する必要がある。このため、電子キーシステムでは、電子キーと車両との間で暗号通信が行われている(例えば、特許文献1参照)。暗号通信では、通信内容が暗号化されるので、秘匿性に優れる。   2. Description of the Related Art Conventionally, there is known an electronic key system that performs wireless communication between an electronic key possessed by a vehicle user and the vehicle, and performs door locking / unlocking, engine start / stop, and the like based on the establishment of authentication. Yes. In such an electronic key system, it is necessary to protect communication between the electronic key and the vehicle in order to maintain security. For this reason, in the electronic key system, encryption communication is performed between the electronic key and the vehicle (see, for example, Patent Document 1). In encrypted communication, since the communication content is encrypted, it is excellent in confidentiality.

上記暗号通信の暗号方式としては、共通鍵暗号方式が採用される。共通鍵暗号方式では、暗号化と復号に同一の暗号鍵を使用する。このため、電子キーと車両との両方に同一の暗号鍵を持たせておく必要がある。電子キー及び車両への暗号鍵の登録は、電子キーを車両の制御装置に登録する過程で行われる。制御装置は、電子キーから無線送信された識別情報と自身に記憶された識別情報との照合によって電子キーとの認証を行う。   A common key encryption method is adopted as the encryption method of the encryption communication. In the common key cryptosystem, the same encryption key is used for encryption and decryption. For this reason, it is necessary to have the same encryption key in both the electronic key and the vehicle. The registration of the electronic key and the encryption key to the vehicle is performed in the process of registering the electronic key in the vehicle control device. The control device authenticates the electronic key by collating the identification information wirelessly transmitted from the electronic key with the identification information stored in itself.

特開2009−302848号公報JP 2009-302848 A

ところで、電子キーを制御装置に登録する電子キー登録システムにおいては、制御装置と電子キーとの間で紐付けがなければ、どの電子キーを持ってきても制御装置に登録が可能となり、ユーザ以外の電子キーが制御装置に登録されるおそれがある。そこで、本願発明者は、登録される車両(通信対象)のビークルID(通信対象に固有の識別情報)を制御装置及び電子キーに予め保存した状態で出荷することを考えた。しかしながら、通信対象に固有の識別情報が改ざんされた場合には、対応する電子キーであると制御装置が判定してしまうこととなる。また、対となる制御装置と電子キーとをまとめて出荷することも考えられるが煩雑であり、電子キーを後から追加登録できなくなってしまう。なお、車両に使用される電子キーシステムに限らず、住宅等の建物に使用される電子キーシステムにおいても同様の課題がある。このため、セキュリティ性を維持しながら、容易に登録できる電子キー登録方法が望まれていた。 By the way, in the electronic key registration system for registering the electronic key in the control device, if there is no connection between the control device and the electronic key, any electronic key can be brought into the control device, and other than the user May be registered in the control device. Therefore, the present inventor considered shipping the vehicle ID (identification information unique to the communication target) of the vehicle (communication target) to be registered in a state stored in advance in the control device and the electronic key. However, when the identification information unique to the communication target is falsified, the control device determines that the corresponding electronic key is used. In addition, it is conceivable to ship a pair of control devices and electronic keys together, but it is cumbersome and the electronic keys cannot be additionally registered later. In addition, the electronic key system used not only for the electronic key system used for a vehicle but also for a building such as a house has the same problem. Therefore, an electronic key registration method that can be easily registered while maintaining security has been desired.

この発明は、こうした実情に鑑みてなされたものであり、その目的は、セキュリティ性を維持しながら、容易に登録できる電子キー登録方法を提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide an electronic key registration method that allows easy registration while maintaining security.

以下、上記目的を達成するための手段及びその作用効果について説明する。
請求項1に記載の発明は、電子キーと通信対象との認証が成立したことに基づいて当該通信対象の制御が可能となる電子キーシステムに用いる前記電子キーを前記通信対象の制御装置に登録する電子キー登録システムによる電子キー登録方法において、前記電子キー登録システムは、前記通信対象毎に異なる固有の識別情報前記制御装置に保存するとともに、前記認証に用いる暗号鍵を生成する際に使用する前記電子キー毎に異なる暗号鍵生成コードと、当該暗号鍵生成コードを使用する鍵生成ロジックによって生成した暗号鍵とを、初期登録される前記電子キーに保存る初期製造ステップと、前記制御装置に保存された識別情報初期登録される前記電子キーに書き込、初期登録される前記電子キーに保存された前記暗号鍵生成コードを前記電子キーが取り出して前記制御装置に送信し前記制御装置が前記鍵生成ロジックによって前記暗号鍵生成コードから生成された前記暗号鍵前記制御装置自身に保存る初期登録ステップと、を備えることをその要旨としている。
Hereinafter, means for achieving the above-described object and its operation and effects will be described.
According to the first aspect of the present invention, the electronic key used in an electronic key system that enables control of the communication target based on the authentication between the electronic key and the communication target is registered in the communication target control device. in the electronic key registration process by the electronic key registration system, the electronic key registration system is configured to store different unique identification information for each of the communication target to the controller, used to generate an encryption key used for the authentication a different encryption key generation code for each of the electronic key, an encryption key generated by the key generation logic that uses the encryption key generation code, and initial manufacturing step to be saved in the electronic key to be initially registered, the control write the identification information storage device in said electronic key being initially registered, the encryption key generation code stored in the electronic key to be initially registered The sending the electronic key and the control device is taken out, the initial registration step you save the encryption key and the control device is generated from the encryption key generation code by the key generation logic in the control unit itself, the The gist is to prepare.

同構成によれば、初期製造ステップにおいて制御装置には、通信対象に固有の識別情報が保存され、制御装置には暗号鍵が保存されていない。また、初期登録用の電子キーには、暗号鍵生成コードと暗号鍵とが保存され、通信対象に固有の識別情報が保存されていない。すなわち、電子キーと制御装置とは、対になっていないので、まとめて出荷しなくてもよい。そして、初期登録ステップにおいて登録される制御装置に固有の識別情報が電子キーに保存される。また、初期登録用の電子キーに保存された暗号鍵生成コードを取り出して、暗号鍵生成コードから鍵生成ロジックによって暗号鍵を生成して、当該暗号鍵が制御装置に保存される。このため、電子キーは識別情報と暗号鍵とが登録された制御装置にのみ対応し、他の通信対象の制御装置に対応しない。よって、他の通信対象の制御装置への初期登録用の電子キーの登録を排除可能であって、セキュリティ性を維持しながら、対となる電子キーと制御装置とをまとめて出荷する必要がなく、容易に登録可能である。   According to this configuration, identification information unique to the communication target is stored in the control device in the initial manufacturing step, and an encryption key is not stored in the control device. The electronic key for initial registration stores the encryption key generation code and the encryption key, and does not store identification information unique to the communication target. That is, since the electronic key and the control device are not paired, they need not be shipped together. Then, identification information unique to the control device registered in the initial registration step is stored in the electronic key. Further, the encryption key generation code stored in the electronic key for initial registration is taken out, an encryption key is generated from the encryption key generation code by the key generation logic, and the encryption key is stored in the control device. For this reason, the electronic key corresponds only to the control device in which the identification information and the encryption key are registered, and does not correspond to other communication target control devices. Therefore, it is possible to eliminate the registration of the electronic key for initial registration in another communication target control device, and it is not necessary to ship the paired electronic key and the control device together while maintaining security. Easy to register.

請求項2に記載の発明は、請求項1に記載の電子キー登録方法において、前記鍵生成ロジックを使用後に使用禁止に設定することをその要旨としている。 The gist of the invention described in claim 2 is that, in the electronic key registration method according to claim 1, the use of the key generation logic is prohibited after use.

同構成によれば、初期登録用の電子キーを登録した後に鍵生成ロジックが使用禁止になるので、制御装置に別の初期登録用の電子キーが新たに登録されることを防ぐことが可能となる。   According to this configuration, since the key generation logic is prohibited after the electronic key for initial registration is registered, it is possible to prevent another electronic key for initial registration from being newly registered in the control device. Become.

本発明によれば、セキュリティ性を維持しながら、容易に登録できる。   According to the present invention, registration can be easily performed while maintaining security.

電子キー登録システムの概略構成を示すブロック図。The block diagram which shows schematic structure of an electronic key registration system. 電子キー登録システムの初期製造を示す図。The figure which shows the initial manufacture of an electronic key registration system. 電子キー登録システムの初期登録を示す図。The figure which shows the initial registration of an electronic key registration system. 電子キー登録システムの工場における登録動作を示すシーケンスチャート。The sequence chart which shows the registration operation in the factory of an electronic key registration system. 電子キー登録システムの追加キーの製造を示す図。The figure which shows manufacture of the additional key of an electronic key registration system. 電子キー登録システムの交換ECUの製造を示す図。The figure which shows manufacture of exchange ECU of an electronic key registration system. 電子キー登録システムの交換ECUの登録を示す図。The figure which shows registration of exchange ECU of an electronic key registration system. 電子キー登録システムのイモビライザECUを交換する際の登録動作を示すシーケンスチャート。The sequence chart which shows registration operation at the time of exchanging immobilizer ECU of an electronic key registration system.

以下、本発明にかかる電子キー登録方法を車両に具体化した一実施形態について図1〜図8を参照して説明する。
図1に示されるように、車両1には、例えば近距離無線通信(通信距離が約数cmの無線通信)によって電子キー2とID照合を実行するイモビライザシステム3が設けられている。電子キー2には、IDタグ、いわゆるトランスポンダ4が設けられている。イモビライザシステム3は、車両1のコイルアンテナ5から送信される駆動電波によりトランスポンダ4が起動した際、このトランスポンダ4から送信されるIDコード信号を基にID照合を行うシステムである。なお、車両1が通信対象に相当する。また、イモビライザシステム3が電子キーシステムとして機能する。
Hereinafter, an embodiment in which an electronic key registration method according to the present invention is embodied in a vehicle will be described with reference to FIGS.
As shown in FIG. 1, the vehicle 1 is provided with an immobilizer system 3 that executes ID collation with the electronic key 2 by, for example, short-range wireless communication (wireless communication with a communication distance of about several centimeters). The electronic key 2 is provided with an ID tag, so-called transponder 4. The immobilizer system 3 is a system that performs ID verification based on an ID code signal transmitted from the transponder 4 when the transponder 4 is activated by a driving radio wave transmitted from the coil antenna 5 of the vehicle 1. Note that the vehicle 1 corresponds to a communication target. The immobilizer system 3 functions as an electronic key system.

この場合、車両1には、イモビライザシステム3のコントロールユニットとしてイモビライザECU6が設けられている。イモビライザECU6には、エンジン11の動作を制御するエンジンECU12が車内LAN13を介して接続されている。イモビライザECU6のメモリ67には、車両1と組をなす電子キー2のIDコードが登録されている。イモビライザECU6には、例えばLF(Low Frequency)帯やHF(High Frequency)帯の電波を送受信可能なコイルアンテナ5が接続されている。コイルアンテナ5は、磁界成分により電波を送信する磁界アンテナが使用され、キーシリンダに設けられている。なお、イモビライザECU6が制御装置に相当する。   In this case, the vehicle 1 is provided with an immobilizer ECU 6 as a control unit of the immobilizer system 3. An engine ECU 12 that controls the operation of the engine 11 is connected to the immobilizer ECU 6 via an in-vehicle LAN 13. In the memory 67 of the immobilizer ECU 6, the ID code of the electronic key 2 that forms a pair with the vehicle 1 is registered. For example, a coil antenna 5 capable of transmitting and receiving radio waves in an LF (Low Frequency) band and an HF (High Frequency) band is connected to the immobilizer ECU 6. The coil antenna 5 is a magnetic field antenna that transmits radio waves using a magnetic field component, and is provided in a key cylinder. The immobilizer ECU 6 corresponds to a control device.

トランスポンダ4には、トランスポンダ4の通信動作を制御する制御部41が設けられている。この制御部41のメモリ42には、電子キー2の固有IDとしてIDコード(トランスポンダコード)が登録されている。トランスポンダ4には、コイルアンテナ5と同様にLF帯やHF帯の電波を送受信可能な送受信アンテナ21が設けられている。   The transponder 4 is provided with a control unit 41 that controls the communication operation of the transponder 4. An ID code (transponder code) is registered as a unique ID of the electronic key 2 in the memory 42 of the control unit 41. Similar to the coil antenna 5, the transponder 4 is provided with a transmission / reception antenna 21 that can transmit and receive radio waves in the LF band and the HF band.

イモビライザECU6は、電子キー2がキーシリンダに挿入されたことを検出すると、コイルアンテナ5から駆動電波を断続的に送信する。乗車したユーザがエンジン11を始動する際には、電子キー2をキーシリンダに挿入して、回動操作を行う。このとき、トランスポンダ4は、コイルアンテナ5から送信される駆動電波を送受信アンテナ21で受信すると、駆動電波を電源として起動する。トランスポンダ4は、起動状態に切り換わると、自身に登録されたIDコードを含むIDコード信号を送受信アンテナ21から送信する。イモビライザECU6は、トランスポンダ4から送信されたIDコード信号をコイルアンテナ5で受信すると、IDコード信号に含まれるIDコードによりID照合(イモビライザ照合)を実行する。イモビライザECU6は、ID照合が成立することを確認すると、ID照合成立をメモリ67に保持する。   When the immobilizer ECU 6 detects that the electronic key 2 is inserted into the key cylinder, the immobilizer ECU 6 intermittently transmits drive radio waves from the coil antenna 5. When the boarded user starts the engine 11, the electronic key 2 is inserted into the key cylinder to perform a turning operation. At this time, when the transponder 4 receives the driving radio wave transmitted from the coil antenna 5 by the transmission / reception antenna 21, the transponder 4 starts up using the driving radio wave as a power source. When the transponder 4 is switched to the activated state, the transponder 4 transmits an ID code signal including an ID code registered in the transponder 4 from the transmission / reception antenna 21. When the immobilizer ECU 6 receives the ID code signal transmitted from the transponder 4 by the coil antenna 5, the immobilizer ECU 6 executes ID verification (immobilizer verification) using the ID code included in the ID code signal. When the immobilizer ECU 6 confirms that ID verification is established, the immobilizer ECU 6 holds the ID verification establishment in the memory 67.

そして、キーシリンダ内には、電子キー2の回動位置を検出するイグニッションスイッチ(IGSW)14が設けられている。例えば、イグニッションスイッチ14がエンジンスタート位置まで操作されると、エンジンECU12は、イモビライザECU6にID照合成立結果を確認する。エンジンECU12は、イモビライザECU6からID照合成立を取得すると、エンジン11への点火制御及び燃料噴射制御を開始し、エンジン11を始動させる。   An ignition switch (IGSW) 14 for detecting the rotational position of the electronic key 2 is provided in the key cylinder. For example, when the ignition switch 14 is operated to the engine start position, the engine ECU 12 confirms the ID verification establishment result with the immobilizer ECU 6. When the engine ECU 12 acquires ID verification establishment from the immobilizer ECU 6, the engine ECU 12 starts ignition control and fuel injection control on the engine 11 and starts the engine 11.

イモビライザ照合の認証には、電子キー2のIDコードを確認するコード照合の他に、チャレンジレスポンス認証も実行されている。チャレンジレスポンス認証は、車両1側が例えば乱数コードとしてチャレンジコードを電子キー2に送信してレスポンスを演算させ、車両1が自ら演算するレスポンスコードと、電子キー2から受信したレスポンスコードとが一致するか否かによる認証である。イモビライザECU6とトランスポンダ4との認証には、共通の暗号鍵を用いる共通鍵暗号方式を採用している。電子キー2及びイモビライザECU6は、それぞれに登録された暗号鍵を使用してチャレンジコードからレスポンスコードを演算する。   For immobilizer verification authentication, challenge response authentication is also executed in addition to code verification for confirming the ID code of the electronic key 2. In the challenge response authentication, for example, the vehicle 1 transmits a challenge code as a random number code to the electronic key 2 to calculate the response, and the response code calculated by the vehicle 1 itself matches the response code received from the electronic key 2. It is authentication by NO. For the authentication between the immobilizer ECU 6 and the transponder 4, a common key encryption method using a common encryption key is adopted. The electronic key 2 and the immobilizer ECU 6 calculate a response code from the challenge code using the encryption keys registered respectively.

トランスポンダ4のメモリ42には、車両1に固有の識別情報であるビークルID(VID)と、暗号鍵Kを生成する際に使用する電子キー毎に異なる暗号鍵生成コードとしてのSEEDコード(SC)と、認証に用いる暗号鍵Kとが保存されている。   The memory 42 of the transponder 4 has a vehicle ID (VID), which is identification information unique to the vehicle 1, and a SEED code (SC) as an encryption key generation code that is different for each electronic key used when generating the encryption key K. And an encryption key K used for authentication are stored.

イモビライザECU6のメモリ67には、電子キー2の初期登録を許可する初期登録フラグと、交換するために補給されたイモビライザECU6であって電子キー2の初期登録を許可する補給初期フラグとが設定されている。また、イモビライザECU6のメモリ67には、車両1に固有の識別情報であるビークルID(VID)と、認証に用いる暗号鍵Kと、暗号鍵Kを生成する際に使用する鍵生成ロジックとが保存されている。   In the memory 67 of the immobilizer ECU 6, an initial registration flag that permits initial registration of the electronic key 2 and a replenishment initial flag that is the immobilizer ECU 6 that is replenished for replacement and that permits initial registration of the electronic key 2 are set. ing. The memory 67 of the immobilizer ECU 6 stores a vehicle ID (VID) that is identification information unique to the vehicle 1, an encryption key K used for authentication, and a key generation logic used when generating the encryption key K. Has been.

また、イモビライザシステム3には、電子キー2をイモビライザECU6に登録する電子キー登録システム7が設けられている。電子キー登録システム7は、新規に電子キー2をイモビライザECU6に登録したり交換したイモビライザECU6に電子キー2を登録したりする。また、電子キー登録システム7は、1つのビークルIDに対して複数の暗号鍵が関連付けられて保存されたデータベース9から暗号鍵を読み出して、イモビライザECU6や電子キー2に暗号鍵を保存する。データベース9には、車両1に固有のビークルID(VID−A)に対応する暗号鍵(K−2)が保存されている(図2参照)。   The immobilizer system 3 is provided with an electronic key registration system 7 for registering the electronic key 2 in the immobilizer ECU 6. The electronic key registration system 7 newly registers the electronic key 2 in the immobilizer ECU 6 or registers the electronic key 2 in the replaced immobilizer ECU 6. Further, the electronic key registration system 7 reads the encryption key from the database 9 in which a plurality of encryption keys are associated with one vehicle ID and stored, and stores the encryption key in the immobilizer ECU 6 or the electronic key 2. The database 9 stores an encryption key (K-2) corresponding to a vehicle ID (VID-A) unique to the vehicle 1 (see FIG. 2).

電子キー登録システム7は、電子キー2に保存された認証時に用いる暗号鍵KをイモビライザECU6に保存することで、電子キー2をイモビライザECU6に登録する。このとき、電子キー登録システム7は、暗号鍵Kそのものではなく、SEEDコードを電子キー2から取得して暗号鍵Kを生成する。   The electronic key registration system 7 registers the electronic key 2 in the immobilizer ECU 6 by storing in the immobilizer ECU 6 the encryption key K used for authentication stored in the electronic key 2. At this time, the electronic key registration system 7 generates the encryption key K by acquiring the SEED code from the electronic key 2 instead of the encryption key K itself.

電子キー登録システム7は、登録ツール8を車両1に接続して、登録ツール8によってイモビライザECU6の動作モードを登録モードに切り替えることで、電子キー2をイモビライザECU6に登録させる。登録ツール8には、登録ツール8を制御する制御部81と、ユーザによる登録操作を検出する操作部82と、登録動作を表示する表示部83とが設けられている。登録ツール8は、新規に電子キー2を登録する初期登録モードに設定されると、イモビライザECU6の動作モードを初期登録モードに変更する初期登録信号を車両1に出力する。また、登録ツール8は、交換したイモビライザECU6に電子キー2を初期登録する補給初期登録モードに設定されると、イモビライザECU6の動作モードを補給初期登録モードに変更する補給初期登録信号を車両1に出力する。   The electronic key registration system 7 connects the registration tool 8 to the vehicle 1 and switches the operation mode of the immobilizer ECU 6 to the registration mode using the registration tool 8, thereby causing the immobilizer ECU 6 to register the electronic key 2. The registration tool 8 includes a control unit 81 that controls the registration tool 8, an operation unit 82 that detects a registration operation by the user, and a display unit 83 that displays the registration operation. When the registration tool 8 is set to the initial registration mode in which the electronic key 2 is newly registered, the registration tool 8 outputs an initial registration signal for changing the operation mode of the immobilizer ECU 6 to the initial registration mode. In addition, when the registration tool 8 is set to the replenishment initial registration mode in which the electronic key 2 is initially registered in the replaced immobilizer ECU 6, the registration tool 8 sends a replenishment initial registration signal for changing the operation mode of the immobilizer ECU 6 to the replenishment initial registration mode to the vehicle 1. Output.

イモビライザECU6には、動作モードを切り替えるモード切替部61が設けられている。モード切替部61は、登録ツール8から初期登録信号が入力されると、動作モードを初期登録モードに切り替える。モード切替部61は、登録ツール8から補給初期登録信号が入力されると、動作モードを補給初期登録モードに切り替える。   The immobilizer ECU 6 is provided with a mode switching unit 61 that switches operation modes. When the initial registration signal is input from the registration tool 8, the mode switching unit 61 switches the operation mode to the initial registration mode. When the replenishment initial registration signal is input from the registration tool 8, the mode switching unit 61 switches the operation mode to the replenishment initial registration mode.

また、イモビライザECU6には、初期登録する電子キー2にビークルIDを書き込むビークルID書込部62が設けられている。ビークルID書込部62は、動作モードが初期登録モードに切り替えられると、メモリ67に記憶されたビークルIDを含ませたビークルID信号をコイルアンテナ5から電子キー2に送信する。   Further, the immobilizer ECU 6 is provided with a vehicle ID writing unit 62 for writing a vehicle ID to the electronic key 2 to be initially registered. When the operation mode is switched to the initial registration mode, the vehicle ID writing unit 62 transmits a vehicle ID signal including the vehicle ID stored in the memory 67 from the coil antenna 5 to the electronic key 2.

また、イモビライザECU6には、自身に登録する電子キー2に保存されたビークルIDが正しいか否かを確認するビークルID確認部63が設けられている。ビークルID確認部63は、動作モードが補給初期モードに切り替えられると、電子キー2に保存されたビークルIDが自身に保存されたビークルIDと同じであるかを確認するビークルID確認信号をコイルアンテナ5から電子キー2に送信する。そして、ビークルID確認部63は、電子キー2から送信されたビークルID信号に含まれるビークルIDが正しいか否かを確認する。   Further, the immobilizer ECU 6 is provided with a vehicle ID confirmation unit 63 for confirming whether or not the vehicle ID stored in the electronic key 2 registered in the immobilizer ECU 6 is correct. When the operation mode is switched to the replenishment initial mode, the vehicle ID confirmation unit 63 transmits a vehicle ID confirmation signal for confirming whether the vehicle ID stored in the electronic key 2 is the same as the vehicle ID stored in the coil antenna. 5 to the electronic key 2. Then, the vehicle ID confirmation unit 63 confirms whether or not the vehicle ID included in the vehicle ID signal transmitted from the electronic key 2 is correct.

また、イモビライザECU6には、電子キー2に保存された暗号鍵Kを生成するためにSEEDを読み込むSEED読込部64が設けられている。SEED読込部64は、動作モードがいずれかの登録モードに切り替えられた際に、SEEDコードを要求するSEED要求信号をコイルアンテナ5から送信し、電子キー2から送信されたSEED信号からSEEDコードを取り出す。   Further, the immobilizer ECU 6 is provided with a SEED reading unit 64 that reads SEED in order to generate the encryption key K stored in the electronic key 2. The SEED reading unit 64 transmits a SEED request signal for requesting a SEED code from the coil antenna 5 when the operation mode is switched to one of the registration modes, and the SEED code from the SEED signal transmitted from the electronic key 2. Take out.

また、イモビライザECU6には、暗号鍵Kを生成する暗号鍵生成部65が設けられている。暗号鍵生成部65は、初期登録モードにおいて、SEED読込部64が取得したSEEDコードを使用して鍵生成ロジックfによって暗号鍵Kを生成する。   The immobilizer ECU 6 is provided with an encryption key generation unit 65 that generates an encryption key K. The encryption key generation unit 65 generates the encryption key K by the key generation logic f using the SEED code acquired by the SEED reading unit 64 in the initial registration mode.

また、イモビライザECU6には、生成された暗号鍵Kを登録するとともに、フラグを変更する暗号鍵登録部66が設けられている。暗号鍵登録部66は、初期登録モードでは暗号鍵生成部65が生成した暗号鍵Kをメモリ67に保存することで暗号鍵KをイモビライザECU6に登録する。一方、暗号鍵登録部66は、補給初期登録モードでは暗号鍵生成部65が生成した暗号鍵Kをメモリ67に仮保存し、チャレンジレスポンス認証を行う。暗号鍵登録部66は、チャレンジコードを含むチャレンジ信号をコイルアンテナ5から送信し、電子キー2から送信されたレスポンス信号に含まれるチャレンジコードを、暗号鍵Kを使用して演算したレスポンスコードと、送信したチャレンジコードを、暗号鍵Kを使用して演算したレスポンスコードとを照合(レスポンス照合)する。そして、暗号鍵登録部66は、レスポンス照合が成立した際に暗号鍵Kをメモリ67に保存することでイモビライザECU6に登録する。暗号鍵登録部66は、初期登録モードでは、暗号鍵Kを保存した後、初期登録拒否操作を検出すると、初期登録を拒否するとともに、鍵生成ロジックfを使用禁止とする。なお、初期登録拒否操作は、イグニッションスイッチ14に対してオンオフを20回繰り返す操作である。一方、暗号鍵登録部66は、補給初期登録モードでは、暗号鍵Kを保存した後、補給初期登録を拒否するとともに、鍵生成ロジックfを使用禁止とする。   The immobilizer ECU 6 includes an encryption key registration unit 66 that registers the generated encryption key K and changes the flag. The encryption key registration unit 66 registers the encryption key K in the immobilizer ECU 6 by storing the encryption key K generated by the encryption key generation unit 65 in the memory 67 in the initial registration mode. On the other hand, the encryption key registration unit 66 temporarily stores the encryption key K generated by the encryption key generation unit 65 in the memory 67 in the replenishment initial registration mode, and performs challenge response authentication. The encryption key registration unit 66 transmits a challenge signal including a challenge code from the coil antenna 5 and a response code obtained by calculating the challenge code included in the response signal transmitted from the electronic key 2 using the encryption key K; The transmitted challenge code is verified (response verification) with the response code calculated using the encryption key K. The encryption key registration unit 66 registers the encryption key K in the immobilizer ECU 6 by storing the encryption key K in the memory 67 when the response verification is established. In the initial registration mode, the encryption key registration unit 66 rejects the initial registration and prohibits the use of the key generation logic f when the initial registration rejection operation is detected after storing the encryption key K. The initial registration refusal operation is an operation of repeatedly turning on and off the ignition switch 14 20 times. On the other hand, in the replenishment initial registration mode, the encryption key registration unit 66 stores the encryption key K, then rejects the replenishment initial registration and prohibits the use of the key generation logic f.

ここで、登録する車両1のビークルIDは、登録する車両1から事前に取得する。具体的には、ビークルIDを要求する特定操作を車両1に行った際に、ディスプレイ15にビークルIDを表示する。なお、電子キー2を追加登録する場合には、既存の電子キー2をキーシリンダに挿入し、イモビライザ照合が成立した際に、ビークルIDをディスプレイ15に表示してもよい。   Here, the vehicle ID of the vehicle 1 to be registered is acquired in advance from the vehicle 1 to be registered. Specifically, the vehicle ID is displayed on the display 15 when a specific operation for requesting the vehicle ID is performed on the vehicle 1. When the electronic key 2 is additionally registered, the vehicle ID may be displayed on the display 15 when the existing electronic key 2 is inserted into the key cylinder and immobilizer collation is established.

次に、電子キー登録システム7によるイモビライザECU6への電子キー2の登録動作について図2〜図8を参照して説明する。
まず、図2に示されるように、初期製造ステップにおいて、初期登録用のイモビライザECU6のメモリ67には、データベース9から搭載される車両1のビークルID(VID−A)と、追加登録される電子キー2の暗号鍵(K−2)と、鍵生成ロジックfとが保存される。また、メモリ67の初期登録フラグは受け入れが許容され、補給初期フラグは受け入れが拒否される。一方、初期製造ステップにおいて、初期登録用の電子キー2のメモリ42には、SEEDコード(SC−1)と、SEEDコード(SC−1)を使用して鍵生成ロジックfによって生成された暗号鍵(K−1)とが保存される。
Next, the registration operation of the electronic key 2 to the immobilizer ECU 6 by the electronic key registration system 7 will be described with reference to FIGS.
First, as shown in FIG. 2, in the initial manufacturing step, in the memory 67 of the initial registration immobilizer ECU 6, the vehicle ID (VID-A) of the vehicle 1 mounted from the database 9 and the additionally registered electronic are stored. The encryption key (K-2) of key 2 and the key generation logic f are stored. Further, the initial registration flag in the memory 67 is allowed to be accepted, and the supply initial flag is rejected. On the other hand, in the initial manufacturing step, the memory 42 of the electronic key 2 for initial registration is stored in the SEED code (SC-1) and the encryption key generated by the key generation logic f using the SEED code (SC-1). (K-1) is stored.

次に、工場における電子キー2の登録について説明する。初期登録ステップにおいて、登録ツール8を車両1に接続して、登録操作を行う。また、上記のイモビライザECU6が車両1に搭載されるとともに、車両1に搭載されたイモビライザECU6に電子キー2が登録される。   Next, registration of the electronic key 2 in the factory will be described. In the initial registration step, the registration tool 8 is connected to the vehicle 1 and a registration operation is performed. The immobilizer ECU 6 is mounted on the vehicle 1, and the electronic key 2 is registered in the immobilizer ECU 6 mounted on the vehicle 1.

図3に示されるように、初期登録ステップでは、イモビライザECU6から電子キー2にビークルID(VID−A)が書き込まれるとともに、電子キー2から読み込んだSEEDコード(SC−1)から鍵生成ロジックfによって暗号鍵(K−1)を生成して、暗号鍵(K−1)をイモビライザECU6に保存する。   As shown in FIG. 3, in the initial registration step, the vehicle ID (VID-A) is written from the immobilizer ECU 6 to the electronic key 2, and the key generation logic f is generated from the SEED code (SC-1) read from the electronic key 2. To generate an encryption key (K-1) and store the encryption key (K-1) in the immobilizer ECU 6.

詳しくは、図4に示されるように、登録ツール8は、ユーザが操作部82を操作して初期登録に設定すると、初期登録命令として初期登録信号をイモビライザECU6に出力する(ステップS1)。イモビライザECU6は、初期登録信号を受信すると、動作モードを初期登録モードに切り替える(ステップS2)。すなわち、モード切替部61は、イモビライザECU6に初めて電子キー2を登録する初期登録モードに切り替える。   Specifically, as shown in FIG. 4, when the user operates the operation unit 82 to set the initial registration, the registration tool 8 outputs an initial registration signal to the immobilizer ECU 6 as an initial registration command (step S1). When receiving the initial registration signal, the immobilizer ECU 6 switches the operation mode to the initial registration mode (step S2). That is, the mode switching unit 61 switches to the initial registration mode in which the electronic key 2 is registered for the first time in the immobilizer ECU 6.

そして、イモビライザECU6は、自身のメモリ67に保存されたビークルIDを電子キー2に書き込む(ステップS3)。すなわち、ビークルID書込部62は、メモリ67に記憶されたビークルID(VID−A)を含ませたビークルID信号をコイルアンテナ5から電子キー2に送信する。   Then, the immobilizer ECU 6 writes the vehicle ID stored in its own memory 67 in the electronic key 2 (step S3). That is, the vehicle ID writing unit 62 transmits a vehicle ID signal including the vehicle ID (VID-A) stored in the memory 67 from the coil antenna 5 to the electronic key 2.

電子キー2は、ビークルID信号を受信すると、ビークルIDを書き込む(ステップS4)。すなわち、トランスポンダ4は、ビークルID信号に含まれるビークルID(VID−A)をメモリ42に保存する。そして、電子キー2は、ビークルIDの書き込みをロックする(ステップS5)。すなわち、トランスポンダ4は、メモリ42のビークルIDの上書きを禁止することで、ビークルIDの書き替えを防止する。   When receiving the vehicle ID signal, the electronic key 2 writes the vehicle ID (step S4). That is, the transponder 4 stores the vehicle ID (VID-A) included in the vehicle ID signal in the memory 42. Then, the electronic key 2 locks the writing of the vehicle ID (step S5). That is, the transponder 4 prevents the vehicle ID from being rewritten by prohibiting the vehicle ID in the memory 42 from being overwritten.

イモビライザECU6は、ビークルIDの書き込みに続いて、SEEDコードを読み込む(ステップS6)。すなわち、SEED読込部64は、SEEDコードを要求するSEED要求信号をコイルアンテナ5から送信する。   The immobilizer ECU 6 reads the SEED code following the writing of the vehicle ID (step S6). That is, the SEED reading unit 64 transmits a SEED request signal for requesting a SEED code from the coil antenna 5.

電子キー2は、SEED要求信号を受信すると、SEED信号を送信する(ステップS7)。トランスポンダ4は、メモリ42に保存されたSEEDコード(SC−1)を含むSEED信号を送信する。   When receiving the SEED request signal, the electronic key 2 transmits a SEED signal (step S7). The transponder 4 transmits a SEED signal including the SEED code (SC-1) stored in the memory 42.

イモビライザECU6は、鍵生成ロジックfで暗号鍵(K−1)を算出する(ステップS8)。すなわち、SEED読込部64は、SEED信号を受信することで、SEEDコード(SC−1)を取得する。暗号鍵生成部65は、SEED読込部64が取得したSEEDコード(SC−1)を使用して鍵生成ロジックfによって暗号鍵(K−1)を生成する。よって、イモビライザECU6は、電子キー2から暗号鍵(K−1)を直接取得するのではなく、SEEDコード(SC−1)を取得することで生成する。   The immobilizer ECU 6 calculates the encryption key (K-1) using the key generation logic f (step S8). That is, the SEED reading unit 64 acquires the SEED code (SC-1) by receiving the SEED signal. The encryption key generation unit 65 generates the encryption key (K-1) by the key generation logic f using the SEED code (SC-1) acquired by the SEED reading unit 64. Therefore, the immobilizer ECU 6 does not directly acquire the encryption key (K-1) from the electronic key 2 but generates the SEED code (SC-1).

続いて、イモビライザECU6は、生成した暗号鍵(K−1)をメモリ67に保存する(ステップS9)。すなわち、暗号鍵登録部66は、暗号鍵生成部65が生成した暗号鍵(K−1)をメモリ67に保存することで暗号鍵(K−1)をイモビライザECU6に登録する。イモビライザECU6は、登録された暗号鍵(K−1)を使用することで、電子キー2とのイモビライザ照合が可能となる。   Subsequently, the immobilizer ECU 6 stores the generated encryption key (K-1) in the memory 67 (step S9). That is, the encryption key registration unit 66 registers the encryption key (K-1) in the immobilizer ECU 6 by storing the encryption key (K-1) generated by the encryption key generation unit 65 in the memory 67. The immobilizer ECU 6 can perform immobilizer verification with the electronic key 2 by using the registered encryption key (K-1).

そして、イモビライザECU6は、初期登録拒否操作を検出する(ステップS10)と、初期登録を拒否するとともに、鍵生成ロジックfを使用禁止にする(ステップS11)。すなわち、暗号鍵登録部66は、イグニッションスイッチ14のオンオフが20回繰り返されると、初期登録拒否操作を検出したとして、初期登録を拒否するとともに、鍵生成ロジックfを使用禁止とする。これにより、イモビライザECU6は、電子キー2の初期登録ができなくなる。   When the immobilizer ECU 6 detects an initial registration rejection operation (step S10), the immobilizer ECU 6 rejects the initial registration and disables the key generation logic f (step S11). That is, when the ignition switch 14 is repeatedly turned on and off 20 times, the encryption key registering unit 66 rejects the initial registration and prohibits the use of the key generation logic f when detecting the initial registration rejecting operation. As a result, the immobilizer ECU 6 cannot perform initial registration of the electronic key 2.

次に、電子キー2の追加登録について説明する。図5に示されるように、追加キー製造ステップにおいて、電子キー2のメモリ42には、発注に従って、搭載される車両1のビークルID(VID−A)が書き込まれ、このビークルID(V−ID)に対応する追加登録用の暗号鍵(K−2)がデータベース9から保存される。ビークルID(ID−A)と暗号鍵(K−2)とが保存された電子キー2は、追加登録の操作をすることなく、イモビライザECU6に使用することが可能である。   Next, additional registration of the electronic key 2 will be described. As shown in FIG. 5, in the additional key manufacturing step, the vehicle ID (VID-A) of the mounted vehicle 1 is written in the memory 42 of the electronic key 2 according to the order, and this vehicle ID (V-ID) is written. ) Corresponding to the additional registration encryption key (K-2) is stored from the database 9. The electronic key 2 in which the vehicle ID (ID-A) and the encryption key (K-2) are stored can be used in the immobilizer ECU 6 without performing an additional registration operation.

次に、イモビライザECU6を交換した際における電子キー2の登録について説明する。図6に示されるように、交換されるイモビライザECU6を製造する交換制御装置製造ステップ(交換ECU製造ステップ)において、イモビライザECU6のメモリ67には、発注に従って、搭載される車両1のビークルID(VID−A))が書き込まれ、このビークルID(V−ID)に対応する暗号鍵(K−2)がデータベース9から保存される。また、メモリ67の初期登録フラグは受け入れが拒否され、補給初期フラグは受け入れが許容されている。一方、登録済みの初期製造の電子キー2のメモリ42には、搭載された車両1のビークルID(VID−A)と、暗号鍵(K−1)を生成するSEEDコード(SC−1)と、SEEDコード(SC−1)を使用して鍵生成ロジックfによって生成された暗号鍵(K−1)とが保存されている。そして、登録ツール8を車両1に接続して、登録操作を行う。   Next, registration of the electronic key 2 when the immobilizer ECU 6 is replaced will be described. As shown in FIG. 6, in the replacement control device manufacturing step (replacement ECU manufacturing step) for manufacturing the immobilizer ECU 6 to be replaced, the vehicle ID (VID) of the vehicle 1 to be mounted is stored in the memory 67 of the immobilizer ECU 6 according to the order. -A)) is written, and the encryption key (K-2) corresponding to the vehicle ID (V-ID) is stored from the database 9. Further, acceptance of the initial registration flag in the memory 67 is rejected, and acceptance of the replenishment initial flag is permitted. On the other hand, in the registered memory 42 of the electronic key 2 of the initial manufacture, the vehicle ID (VID-A) of the mounted vehicle 1 and the SEED code (SC-1) for generating the encryption key (K-1) are stored. The encryption key (K-1) generated by the key generation logic f using the SEED code (SC-1) is stored. Then, the registration tool 8 is connected to the vehicle 1 to perform a registration operation.

図7に示されるように、交換制御装置登録ステップ(交換ECU登録ステップ)では、電子キー2に保存されたビークルIDがイモビライザECU6が搭載された車両1のビークルID(VID−A)であるかを確認し、ビークルIDが一致すれば、電子キー2から読み込んだSEEDコード(SC−1)から鍵生成ロジックfによって暗号鍵(K−1)を生成して、暗号鍵(K−1)をイモビライザECU6に保存する。   As shown in FIG. 7, in the exchange control device registration step (exchange ECU registration step), is the vehicle ID stored in the electronic key 2 the vehicle ID (VID-A) of the vehicle 1 on which the immobilizer ECU 6 is mounted? If the vehicle IDs match, the encryption key (K-1) is generated by the key generation logic f from the SEED code (SC-1) read from the electronic key 2 and the encryption key (K-1) is obtained. Store in the immobilizer ECU 6.

詳しくは、図8に示されるように、交換されるイモビライザECU6を登録する交換ECU登録ステップにおいて、登録ツール8は、ユーザが操作部82を操作して補給初期登録に設定すると、補給初期登録命令として補給初期登録信号をイモビライザECU6に出力する(ステップS41)。イモビライザECU6は、補給初期登録信号を受信すると、動作モードを補給初期登録モードに切り替える(ステップS42)。すなわち、モード切替部61は、交換したイモビライザECU6に初めて電子キー2を登録する補給初期登録モードに切り替える。   Specifically, as shown in FIG. 8, in the replacement ECU registration step of registering the immobilizer ECU 6 to be replaced, the registration tool 8 operates when the user operates the operation unit 82 to set the replenishment initial registration. Then, a replenishment initial registration signal is output to the immobilizer ECU 6 (step S41). When the immobilizer ECU 6 receives the replenishment initial registration signal, the immobilizer ECU 6 switches the operation mode to the replenishment initial registration mode (step S42). That is, the mode switching unit 61 switches to the replenishment initial registration mode in which the electronic key 2 is registered for the first time in the replaced immobilizer ECU 6.

そして、イモビライザECU6は、電子キー2に保存されたビークルIDを確認する(ステップS43)。すなわち、ビークルID確認部63は、メモリ67に保存されたビークルIDと電子キー2に保存されたビークルIDとが同じであるかを確認するビークルID確認信号をコイルアンテナ5から電子キー2に送信する。   And immobilizer ECU6 confirms vehicle ID preserve | saved at the electronic key 2 (step S43). That is, the vehicle ID confirmation unit 63 transmits a vehicle ID confirmation signal for confirming whether the vehicle ID stored in the memory 67 is the same as the vehicle ID stored in the electronic key 2 from the coil antenna 5 to the electronic key 2. To do.

電子キー2は、ビークルID確認信号を受信すると、ビークルID信号を送信する(ステップS44)。すなわち、トランスポンダ4は、メモリ42に保存されたビークルID(VID−A)を含むビークルID信号を送信する。   When receiving the vehicle ID confirmation signal, the electronic key 2 transmits a vehicle ID signal (step S44). That is, the transponder 4 transmits a vehicle ID signal including the vehicle ID (VID-A) stored in the memory 42.

イモビライザECU6は、受信したビークルID信号に含まれるビークルIDが一致するか否かを確認し、一致する(ステップS45)と、SEEDコードを読み込む(ステップS46)。すなわち、ビークルID確認部63は、電子キー2から送信されたビークルID信号に含まれるビークルIDが正しいか否かを確認する。SEED読込部64は、SEEDコードを要求するSEED要求信号をコイルアンテナ5から送信する。   The immobilizer ECU 6 checks whether or not the vehicle IDs included in the received vehicle ID signal match, and if they match (step S45), reads the SEED code (step S46). That is, the vehicle ID confirmation unit 63 confirms whether or not the vehicle ID included in the vehicle ID signal transmitted from the electronic key 2 is correct. The SEED reading unit 64 transmits a SEED request signal for requesting a SEED code from the coil antenna 5.

電子キー2は、SEED要求信号を受信すると、SEED信号を送信する(ステップS47)。すなわち、トランスポンダ4は、メモリ42に保存されたSEEDコード(SC−1)を含むSEED信号を送信する。   When receiving the SEED request signal, the electronic key 2 transmits a SEED signal (step S47). That is, the transponder 4 transmits a SEED signal including the SEED code (SC-1) stored in the memory 42.

イモビライザECU6は、鍵生成ロジックfで暗号鍵(K−1)を算出する(ステップS48)。すなわち、SEED読込部64は、SEED信号を受信することで、SEEDコード(SC−1)を取得する。暗号鍵生成部65は、SEED読込部64が取得したSEEDコード(SC−1)を使用して鍵生成ロジックfによって暗号鍵(K−1)を生成する。よって、イモビライザECU6は、電子キー2から暗号鍵(K−1)を直接取得するのではなく、SEEDコード(SC−1)を取得することで生成する。   The immobilizer ECU 6 calculates the encryption key (K-1) using the key generation logic f (step S48). That is, the SEED reading unit 64 acquires the SEED code (SC-1) by receiving the SEED signal. The encryption key generation unit 65 generates the encryption key (K-1) by the key generation logic f using the SEED code (SC-1) acquired by the SEED reading unit 64. Therefore, the immobilizer ECU 6 does not directly acquire the encryption key (K-1) from the electronic key 2 but generates the SEED code (SC-1).

続いて、イモビライザECU6は、生成した暗号鍵(K−1)をメモリ67に仮保存する(ステップS49)。すなわち、暗号鍵登録部66は、暗号鍵生成部65が生成した暗号鍵(K−1)をメモリ67に仮保存する。   Subsequently, the immobilizer ECU 6 temporarily stores the generated encryption key (K-1) in the memory 67 (step S49). That is, the encryption key registration unit 66 temporarily stores the encryption key (K−1) generated by the encryption key generation unit 65 in the memory 67.

そして、イモビライザECU6は、仮保存した暗号鍵(K−1)が正しいか否かを確認するために、チャレンジレスポンス認証を行う。詳しくは、イモビライザECU6は、チャレンジ信号を送信する(ステップS50)。すなわち、暗号鍵登録部66は、チャレンジコードを含むチャレンジ信号をコイルアンテナ5から送信する。続いて、暗号鍵登録部66は、チャレンジコードに対して暗号鍵(K−1)を使用してレスポンス演算を行う(ステップS51)。電子キー2は、受信したチャレンジ信号に含まれるチャレンジコードに対して暗号鍵(K−1)を使用してレスポンス演算を行う(ステップS52)。そして、電子キー2は、レスポンス演算によって得られたレスポンスコードを含むレスポンス信号を送信する(ステップS53)。   Then, the immobilizer ECU 6 performs challenge response authentication to confirm whether or not the temporarily stored encryption key (K-1) is correct. Specifically, the immobilizer ECU 6 transmits a challenge signal (step S50). That is, the encryption key registration unit 66 transmits a challenge signal including a challenge code from the coil antenna 5. Subsequently, the encryption key registration unit 66 performs a response calculation using the encryption key (K-1) for the challenge code (step S51). The electronic key 2 performs a response operation using the encryption key (K-1) for the challenge code included in the received challenge signal (step S52). Then, the electronic key 2 transmits a response signal including a response code obtained by response calculation (step S53).

イモビライザECU6は、レスポンス信号を受信すると、レスポンス信号に含まれるレスポンスコードを照合し、レスポンス照合が成立する(ステップS54)と、暗号鍵(K−1)を保存する(ステップS55)。暗号鍵登録部66は、レスポンス照合が成立した際に暗号鍵(K−1)をメモリ67に保存することでイモビライザECU6に登録する。   When receiving the response signal, the immobilizer ECU 6 collates the response code included in the response signal, and when the response collation is established (step S54), the immobilizer ECU 6 stores the encryption key (K-1) (step S55). The encryption key registration unit 66 stores the encryption key (K-1) in the memory 67 and registers it in the immobilizer ECU 6 when the response verification is established.

そして、イモビライザECU6は、補給初期登録を拒否するとともに、鍵生成ロジックfを使用禁止にする(ステップS56)。すなわち、暗号鍵登録部66は、補給初期登録を拒否するとともに、鍵生成ロジックfを使用禁止とする。これにより、イモビライザECU6は、電子キー2の補給初期登録ができなくなる。   Then, the immobilizer ECU 6 rejects the replenishment initial registration and disables the key generation logic f (step S56). That is, the encryption key registration unit 66 rejects the replenishment initial registration and prohibits the use of the key generation logic f. As a result, the immobilizer ECU 6 cannot perform initial replenishment registration of the electronic key 2.

さて、電子キー登録システム7は、イモビライザECU6に予め登録されたビークルID(VID−A)を電子キー2に書き込み、電子キー2に予め保存されたSEEDコード(SC−1)を取得して鍵生成ロジックfを使用して暗号鍵(K−1)を生成して、イモビライザECU6に保存する。このため、初期登録前の電子キー2にはビークルID(VID−A)が保存されておらず、イモビライザECU6には暗号鍵(K−1)が保存されていない、すなわち対になっていないので、まとめて出荷しなくてもよい。そして、初期登録後の電子キー2にはビークルID(VID−A)が保存されているので、他のイモビライザECU6に初期登録後の電子キー2を登録することはできない。また、追加登録される電子キー2には、発注書に従ってビークルID(VID−A)が書き込まれるとともに、データベース9から暗号鍵(K−2)が保存されるので、追加登録される電子キー2とイモビライザECU6との間で登録動作を行うことなく、電子キー2を追加することができる。よって、セキュリティ性を維持しながら、容易に登録できる。   Now, the electronic key registration system 7 writes the vehicle ID (VID-A) registered in advance in the immobilizer ECU 6 into the electronic key 2 and acquires the SEED code (SC-1) stored in advance in the electronic key 2 to obtain the key. An encryption key (K-1) is generated using the generation logic f and stored in the immobilizer ECU 6. For this reason, the vehicle ID (VID-A) is not stored in the electronic key 2 before the initial registration, and the encryption key (K-1) is not stored in the immobilizer ECU 6, that is, it is not paired. , You do not have to ship all together. Since the vehicle ID (VID-A) is stored in the electronic key 2 after the initial registration, the electronic key 2 after the initial registration cannot be registered in another immobilizer ECU 6. In addition, since the vehicle ID (VID-A) is written in the additionally registered electronic key 2 according to the purchase order and the encryption key (K-2) is stored from the database 9, the additionally registered electronic key 2 The electronic key 2 can be added without performing a registration operation between the mobile phone and the immobilizer ECU 6. Therefore, it is possible to easily register while maintaining security.

以上、説明した実施形態によれば、以下の効果を奏することができる。
(1)初期製造ステップにおいてイモビライザECU6には、ビークルID(VID−A)が保存され、初期登録用の電子キー2に対応する暗号鍵(K−1)が保存されていない。また、初期登録用の電子キー2には、SEEDコード(SC−1)と暗号鍵(K−1)とが保存され、ビークルID(VID−A)が保存されていない。すなわち、電子キー2とイモビライザECU6とは、対になっていないので、まとめて出荷しなくてもよい。そして、初期登録ステップにおいて登録されるイモビライザECU6に固有のビークルID(VID−A)が電子キー2に保存される。また、初期登録用の電子キー2に保存されたSEEDコード(SC−1)を取り出して、SEEDコード(SC−1)から鍵生成ロジックfによって暗号鍵(K−1)を生成して、当該暗号鍵(K−1)がイモビライザECU6に保存される。このため、電子キー2はビークルID(VID−A)と暗号鍵(K−1)とが登録されたイモビライザECU6にのみ対応し、他の車両のイモビライザECUに対応しない。よって、他の車両のイモビライザECUへの初期登録用の電子キー2の登録を排除でき、セキュリティ性を維持しながら、対となる電子キー2とイモビライザECU6とをまとめて出荷する必要がなく、容易に登録できる。
As described above, according to the embodiment described above, the following effects can be obtained.
(1) In the initial manufacturing step, the vehicle ID (VID-A) is stored in the immobilizer ECU 6, and the encryption key (K-1) corresponding to the electronic key 2 for initial registration is not stored. The electronic key 2 for initial registration stores the SEED code (SC-1) and the encryption key (K-1), and does not store the vehicle ID (VID-A). That is, since the electronic key 2 and the immobilizer ECU 6 are not paired, they need not be shipped together. Then, a vehicle ID (VID-A) unique to the immobilizer ECU 6 registered in the initial registration step is stored in the electronic key 2. Further, the SEED code (SC-1) stored in the electronic key 2 for initial registration is taken out, and the encryption key (K-1) is generated from the SEED code (SC-1) by the key generation logic f, The encryption key (K-1) is stored in the immobilizer ECU 6. For this reason, the electronic key 2 corresponds only to the immobilizer ECU 6 in which the vehicle ID (VID-A) and the encryption key (K-1) are registered, and does not correspond to the immobilizer ECUs of other vehicles. Therefore, registration of the electronic key 2 for initial registration in the immobilizer ECU of another vehicle can be eliminated, and it is not necessary to ship the paired electronic key 2 and the immobilizer ECU 6 together while maintaining security. Can be registered.

(2)初期製造ステップにおいて追加登録される電子キー2の暗号鍵(K−2)が予めイモビライザECU6に保存され、追加キー製造ステップにおいてビークルID(VID−A)が保存されるとともに、データベース9に保存された暗号鍵(K−2)が、追加登録される電子キー2に保存される。このため、電子キー2が追加登録されるイモビライザECU6は、追加登録される電子キー2から暗号鍵(K−2)を直接保存することなく、追加登録用の電子キー2と認証を行うことができる。よって、他の車両のイモビライザECUへの追加登録用の電子キー2の登録を排除でき、セキュリティ性を維持しながら、容易に追加登録できる。   (2) The encryption key (K-2) of the electronic key 2 additionally registered in the initial manufacturing step is stored in the immobilizer ECU 6 in advance, and the vehicle ID (VID-A) is stored in the additional key manufacturing step, and the database 9 Is stored in the electronic key 2 to be additionally registered. For this reason, the immobilizer ECU 6 to which the electronic key 2 is additionally registered can authenticate with the electronic key 2 for additional registration without directly storing the encryption key (K-2) from the additionally registered electronic key 2. it can. Therefore, registration of the electronic key 2 for additional registration to the immobilizer ECU of another vehicle can be eliminated, and additional registration can be easily performed while maintaining security.

(3)交換ECU登録ステップにおいてビークルID(VID−A)が電子キー2に書き込まれていることを条件としているので、ビークルID(VID−A)が保存されていない電子キー2のイモビライザECU6への登録を排除できる。また、交換ECU登録ステップにおいて電子キー2に保存されたSEEDコード(SC−1)を取り出して鍵生成ロジックfによって生成された暗号鍵(K−1)がイモビライザECU6に保存される。このため、初期登録用の電子キー2とイモビライザECU6との認証が成立するとともに、追加登録用の電子キー2とイモビライザECU6との認証が成立する。よって、ビークルID(VID−A)と暗号鍵(K−1)との両方が保存されたイモビライザECU6のみが初期登録用の電子キー2と追加登録用の電子キー2とを新たに登録できる。   (3) Since the vehicle ID (VID-A) is written in the electronic key 2 in the replacement ECU registration step, the immobilizer ECU 6 of the electronic key 2 in which the vehicle ID (VID-A) is not stored is stored. Registration can be eliminated. Further, the SEED code (SC-1) stored in the electronic key 2 in the exchange ECU registration step is taken out, and the encryption key (K-1) generated by the key generation logic f is stored in the immobilizer ECU 6. Therefore, the authentication between the electronic key 2 for initial registration and the immobilizer ECU 6 is established, and the authentication between the electronic key 2 for additional registration and the immobilizer ECU 6 is established. Therefore, only the immobilizer ECU 6 in which both the vehicle ID (VID-A) and the encryption key (K-1) are stored can newly register the electronic key 2 for initial registration and the electronic key 2 for additional registration.

(4)初期登録用の電子キー2を登録した後に鍵生成ロジックfが使用禁止になるので、イモビライザECU6に別の初期登録用の電子キー2が新たに登録されることを防ぐことができる。   (4) Since the key generation logic f is disabled after the electronic key 2 for initial registration is registered, it is possible to prevent another electronic key 2 for initial registration from being newly registered in the immobilizer ECU 6.

(5)出荷時にビークルID(VID−A)が交換用のイモビライザECU6や追加登録用の電子キー2に保存されるので、市場に出回った段階で、発注と異なるイモビライザECU6に電子キー2を登録したり、発注と異なる電子キー2をイモビライザECU6に登録したりすることを防ぐことができる。   (5) Since the vehicle ID (VID-A) is stored in the replacement immobilizer ECU 6 or the additional registration electronic key 2 at the time of shipment, the electronic key 2 is registered in the immobilizer ECU 6 different from the order when it is on the market. And registering the electronic key 2 different from the order in the immobilizer ECU 6 can be prevented.

なお、上記実施形態は、これを適宜変更した以下の形態にて実施することができる。
・上記実施形態では、初期登録後に鍵生成ロジックfを使用禁止としたが、鍵生成ロジックf自体を消去してもよい。
In addition, the said embodiment can be implemented with the following forms which changed this suitably.
In the above embodiment, use of the key generation logic f is prohibited after initial registration, but the key generation logic f itself may be deleted.

・上記実施形態では、初期登録後に鍵生成ロジックfを使用禁止としたが、初期登録後も使用可能としてもよい。
・上記実施形態では、初期登録ステップ及びキー追加登録ステップにおいて、チャレンジレスポンス認証を行った後に、暗号鍵を登録してもよい。
In the above embodiment, the key generation logic f is prohibited from being used after the initial registration, but may be usable after the initial registration.
In the above embodiment, the encryption key may be registered after performing challenge response authentication in the initial registration step and the key addition registration step.

・上記実施形態の交換ECU登録ステップにおいて、チャレンジレスポンス認証を省略して暗号鍵を登録してもよい。
・上記実施形態では、ビークルIDを取得する際に、車両1のディスプレイ15に表示させて確認したが、ビークルIDを要求する特定操作を車両1に行うと、ユーザが指定したメールアドレスにメールが届くようにしてもよい。このようにすれば、メールを受信したユーザのみビークルIDを確認することができ、秘匿性に優れる。
In the exchange ECU registration step of the above embodiment, the challenge key authentication may be omitted and the encryption key may be registered.
In the above embodiment, when the vehicle ID is acquired, the vehicle ID is displayed on the display 15 for confirmation. However, when a specific operation for requesting the vehicle ID is performed on the vehicle 1, an e-mail is sent to the e-mail address designated by the user. You may make it reach. In this way, only the user who receives the mail can check the vehicle ID, and the confidentiality is excellent.

・上記実施形態では、初期登録拒否操作としてイグニッションスイッチ14を操作したが、イグニッションスイッチ14の操作に限らず、他の操作を設定してもよい。
・上記実施形態では、キーシリンダに電子キー2を挿入するタイプのイモビライザシステム3に本発明を適用したが、車両1によって作られる通信エリアに電子キーが進入することで、通信が可能なタイプの電子キーシステムに本発明を適用してもよい。
In the above embodiment, the ignition switch 14 is operated as the initial registration rejection operation. However, the operation is not limited to the operation of the ignition switch 14, and other operations may be set.
In the above embodiment, the present invention is applied to the type of immobilizer system 3 in which the electronic key 2 is inserted into the key cylinder. However, when the electronic key enters the communication area created by the vehicle 1, communication is possible. The present invention may be applied to an electronic key system.

・上記実施形態では、車両1の電子キーシステムに本発明を採用したが、住宅等の建物の電子キーシステムに本発明を採用してもよい。   In the above embodiment, the present invention is applied to the electronic key system of the vehicle 1, but the present invention may be applied to an electronic key system of a building such as a house.

1…通信対象としての車両、2…電子キー、3…イモビライザシステム、4…トランスポンダ、5…コイルアンテナ、6…制御装置としてのイモビライザECU、7…電子キー登録システム、8…登録ツール、9…データベース、11…エンジン、12…エンジンECU、13…車内LAN、14…イグニッションスイッチ、15…ディスプレイ、f…鍵生成ロジック、K…暗号鍵、SC…SEEDコード、VID…ビークルID。   DESCRIPTION OF SYMBOLS 1 ... Vehicle as communication object, 2 ... Electronic key, 3 ... Immobilizer system, 4 ... Transponder, 5 ... Coil antenna, 6 ... Immobilizer ECU as control apparatus, 7 ... Electronic key registration system, 8 ... Registration tool, 9 ... Database, 11 ... Engine, 12 ... Engine ECU, 13 ... In-vehicle LAN, 14 ... Ignition switch, 15 ... Display, f ... Key generation logic, K ... Encryption key, SC ... SEED code, VID ... Vehicle ID.

Claims (2)

電子キーと通信対象との認証が成立したことに基づいて当該通信対象の制御が可能となる電子キーシステムに用いる前記電子キーを前記通信対象の制御装置に登録する電子キー登録システムによる電子キー登録方法において、
前記電子キー登録システムは、
前記通信対象毎に異なる固有の識別情報前記制御装置に保存するとともに、前記認証に用いる暗号鍵を生成する際に使用する前記電子キー毎に異なる暗号鍵生成コードと、当該暗号鍵生成コードを使用する鍵生成ロジックによって生成した暗号鍵とを、初期登録される前記電子キーに保存る初期製造ステップと、
前記制御装置に保存された識別情報初期登録される前記電子キーに書き込、初期登録される前記電子キーに保存された前記暗号鍵生成コードを前記電子キーが取り出して前記制御装置に送信し前記制御装置が前記鍵生成ロジックによって前記暗号鍵生成コードから生成された前記暗号鍵前記制御装置自身に保存る初期登録ステップと、を備える
ことを特徴とする電子キー登録方法
Electronic key registration by the electronic key registration system for registering the electronic key to be used in an electronic key system that enables the control of the communication target based on the authentication of the electronic key communication target is established in the control unit of the communication subject In the method
The electronic key registration system includes:
With storing different unique identification information for each of the communication target to the controller, and different encryption keys generated code for each of the electronic key for use in generating an encryption key used for the authentication, the encryption key generation code an encryption key generated by the key generation logic used, the initial manufacturing step to be saved in the electronic key to be initially registered,
It writes the electronic key to be initially registered identification information stored in the control device, transmitting the encryption key generation code stored in the electronic key is initially registered in the control device taking out the electronic key and, the electronic key registration method characterized in that said control device and a initial registration step you save the encryption key generated from the encryption key generation code to the control device itself by the key generation logic.
請求項1に記載の電子キー登録方法において、
前記鍵生成ロジックを使用後に使用禁止に設定する
ことを特徴とする電子キー登録方法
The electronic key registration method according to claim 1,
An electronic key registration method, wherein the key generation logic is disabled after use.
JP2012018438A 2012-01-31 2012-01-31 Electronic key registration method Active JP6093502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012018438A JP6093502B2 (en) 2012-01-31 2012-01-31 Electronic key registration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012018438A JP6093502B2 (en) 2012-01-31 2012-01-31 Electronic key registration method

Publications (2)

Publication Number Publication Date
JP2013155554A JP2013155554A (en) 2013-08-15
JP6093502B2 true JP6093502B2 (en) 2017-03-08

Family

ID=49051023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012018438A Active JP6093502B2 (en) 2012-01-31 2012-01-31 Electronic key registration method

Country Status (1)

Country Link
JP (1) JP6093502B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116453242A (en) 2022-01-06 2023-07-18 北京小米移动软件有限公司 Information synchronization method and device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009030312A (en) * 2007-07-26 2009-02-12 Alps Electric Co Ltd Keyless system capable of selecting a plurality of vehicles with one portable unit
JP5173891B2 (en) * 2009-03-02 2013-04-03 株式会社東海理化電機製作所 Secret key registration system and secret key registration method

Also Published As

Publication number Publication date
JP2013155554A (en) 2013-08-15

Similar Documents

Publication Publication Date Title
JP6093503B2 (en) Electronic key registration method
JP5866216B2 (en) Electronic key registration system
JP5922419B2 (en) Wireless communication system
JP5990406B2 (en) Electronic key registration method
EP2672655B1 (en) Electronic key registration system
JP5964726B2 (en) Electronic key registration system
JP5685211B2 (en) Mobile device registration system and mobile device registration method
JP5437948B2 (en) Electronic key registration system
JP6093502B2 (en) Electronic key registration method
JP5956244B2 (en) Mobile device registration system
JP5767129B2 (en) Electronic key registration system
JP5855957B2 (en) Mobile device registration system
JP5855958B2 (en) Mobile device registration system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150715

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150901

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151028

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160808

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170213

R150 Certificate of patent or registration of utility model

Ref document number: 6093502

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150