JP6093514B2 - Electronic key registration method - Google Patents

Electronic key registration method Download PDF

Info

Publication number
JP6093514B2
JP6093514B2 JP2012108547A JP2012108547A JP6093514B2 JP 6093514 B2 JP6093514 B2 JP 6093514B2 JP 2012108547 A JP2012108547 A JP 2012108547A JP 2012108547 A JP2012108547 A JP 2012108547A JP 6093514 B2 JP6093514 B2 JP 6093514B2
Authority
JP
Japan
Prior art keywords
key
electronic key
registration
control device
vehicle
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
JP2012108547A
Other languages
Japanese (ja)
Other versions
JP2013234521A (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 JP2012108547A priority Critical patent/JP6093514B2/en
Publication of JP2013234521A publication Critical patent/JP2013234521A/en
Application granted granted Critical
Publication of JP6093514B2 publication Critical patent/JP6093514B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lock And Its Accessories (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、電子キーを通信対象に登録する電子キー登録方法に関する。 The present invention relates to an electronic key registration method for registering an electronic key as a communication target.

従来から周知のように、多くの車両では、電子キーから無線送信される電子キーIDにてキー照合を行う電子キーシステムが搭載されている。この種の電子キーシステムでは、使用する電子キーを車両に登録する必要があり、この場合、電子キーのキーIDや暗号鍵を、車両において電子キーシステムの動作を管理する制御装置(ECU(Electronic Control Unit)など)に予め登録しておくことが必要となる。この電子キー登録システムとしては、例えば特許文献1〜3などに具体例が開示されている。   As is conventionally known, many vehicles are equipped with an electronic key system that performs key verification using an electronic key ID that is wirelessly transmitted from the electronic key. In this type of electronic key system, it is necessary to register the electronic key to be used in the vehicle. In this case, the key ID of the electronic key and the encryption key are used to control the operation of the electronic key system in the vehicle (ECU (Electronic Control Unit) etc.) must be registered in advance. Specific examples of the electronic key registration system are disclosed in Patent Documents 1 to 3, for example.

特開平7−61328号公報JP-A-7-61328 特開2003−148018号公報JP 2003-148018 A 特開2004−107959号公報JP 2004-107959 A

ところで、車両に搭載された制御装置が故障するなどしたとき、制御装置を別の制御装置に交換する必要がある。このとき、仮にキー登録に制限がないとするなら、交換前の制御装置に登録されていなかった別キーを、交換後の制御装置に登録することも可能となってしまう。また、他の車両に登録済みの電子キーを、交換後の制御装置にも登録可能となってしまうため、キーの2重登録という問題も発生してしまう。   By the way, when a control device mounted on a vehicle breaks down, it is necessary to replace the control device with another control device. At this time, if there is no restriction on key registration, another key that has not been registered in the control device before the replacement can be registered in the control device after the replacement. In addition, since an electronic key registered in another vehicle can be registered in the control device after replacement, a problem of double key registration also occurs.

本発明の目的は、制御装置を交換した際、交換後の制御装置に正規キーのみ登録を許可することができる電子キー登録方法を提供することにある。 An object of the present invention is to provide an electronic key registration method capable of permitting only a regular key to be registered in a replaced control device when the control device is replaced.

前記問題点を解決するために、本発明では、通信対象の制御装置に電子キーのキーID及び暗号鍵を関連付けて書き込むことにより、当該電子キーを前記通信対象に登録して、前記通信対象と前記電子キーとを暗号通信により通信可能とする電子キー登録方法において、交換前の制御装置の識別IDをセンターが取得するID通知ステップと、前記識別IDを基に前記センターが、交換前の制御装置に登録されていたキーIDに対応する暗号鍵を割り出し、その割り出した暗号鍵を、前記制御装置と前記センターとの間で対応付けられた制御装置専用鍵によって暗号化して、前記センターが暗号コードを生成する暗号鍵抽出ステップと、前記暗号コードを交換後の制御装置が取得する暗号鍵通知ステップと、前記交換後の制御装置が、自身に予め書き込み保存された前記制御装置専用鍵により前記暗号コードを復号し、それにより求まった前記暗号鍵を、当該交換後の制御装置が自身のメモリに登録する暗号鍵登録ステップとを備えたことを要旨とする。 In order to solve the above problems, in the present invention, the electronic key is registered in the communication target by associating and writing the key ID and the encryption key of the electronic key to the communication target control device, and the communication target In the electronic key registration method that enables communication with the electronic key by encrypted communication, an ID notification step in which the center acquires the identification ID of the control device before the exchange, and the center controls the exchange before the exchange based on the identification ID. indexing the encryption key corresponding to the key ID which has been registered in the device, the indexing and the encryption key, and encrypted by the associated control device private-key between the center and the control device, the center encryption An encryption key extracting step for generating a code; an encryption key notifying step for acquiring the encryption code by the control device after the exchange; and the control device after the exchange Decoding the cipher code by the control device only key that is because the write store, so by the encryption key Motoma', the control device after the replacement and a cryptographic key registration step of registering in its memory The gist.

本発明の構成によれば、例えば制御装置が故障するなどして別の制御装置に交換した際、交換後の制御装置には、交換前の制御装置に登録されていた電子キーのみ、登録が可能となる。よって、交換後の制御装置へのキー登録に登録制限がかかるので、キー登録のセキュリティ性が確保される。このため、制御装置に別のキーが登録されてしまったり、他の制御装置に登録済みのキーを交換後の制御装置に2重登録されてしまったりするなどの状況が生じない。   According to the configuration of the present invention, when the control device is replaced with another control device due to a failure, for example, only the electronic key registered in the control device before replacement is registered in the control device after replacement. It becomes possible. Therefore, registration restrictions are imposed on the key registration with the control device after replacement, so that the security of key registration is ensured. For this reason, a situation in which another key is registered in the control device or a key already registered in another control device is double-registered in the control device after replacement does not occur.

の構成によれば、暗号コードを秘匿性の高いコードとして生成することが可能となるので、キー登録のセキュリティ性確保に効果が高くなる。 According to the configuration of this, it becomes possible to generate the encryption code as highly confidential code, the effect is high in security ensuring key registration.

本発明では、記電子キーが前記制御装置に登録された後、この登録内容を前記センターが、前記電子キー及び前記制御装置の詳細を管理するデータベースに反映するデータベース反映ステップを備えたことを要旨とする。この構成によれば、交換後の制御装置にキー登録が済まされた際には、その内容がセンターのデータベースに反映されるので、センターで管理するデータベースの最適化が可能となる。 In the present invention, after the previous SL electronic key is registered in the control device, that is the registered contents the center, with a database reflecting step of reflecting the database to manage the details of the electronic key and the control device The gist. According to this configuration, when the key registration is completed in the replaced control device, the contents are reflected in the center database, so that the database managed by the center can be optimized.

本発明では、前記交換後の制御装置への前記電子キーの登録を、登録ツールを使用して実行することを要旨とする。この構成によれば、登録ツールを所持するものでないとキー登録を行うことができないので、キー登録のセキュリティ性確保に効果が高くなる。   The gist of the present invention is to perform registration of the electronic key in the control device after the replacement using a registration tool. According to this configuration, since key registration cannot be performed unless the user has a registration tool, the effect of ensuring the security of key registration is enhanced.

本発明では、前記センターは、前記電子キー及び前記制御装置の詳細を管理するデータベースを備え、前記交換後の制御装置は、前記ID通知ステップにおいて、前記交換前の制御装置の識別IDと、前記交換後の制御装置の識別IDと、いま登録されようとしている前記電子キーのキーIDとを、前記センターに通知し、前記センターは、前記暗号鍵抽出ステップにおいて、いま登録されようとしている電子キーが前記交換前の制御装置に登録されていたかを、前記データベースを参照することにより確認し、これが確認できれば、前記交換後の制御装置に関連する前記制御装置専用鍵によって前記暗号鍵を暗号化し、前記暗号コードを作成することを要旨とする。この構成によれば、交換後の制御装置へのキー登録には、交換前の制御装置の識別IDと、交換後の制御装置の識別IDと、いま登録されようとしている電子キーのキーIDとが必要となる。よって、交換後の制御装置への電子キーの登録を、セキュリティ性よく実施することが可能となる。 In the present invention, the center includes a database for managing details of the electronic key and the control device, and the control device after the replacement includes the identification ID of the control device before the replacement in the ID notification step , the identification ID of the control device after the replacement, and the key ID of the electronic key that is about to be registered now notifies the center, the center is Oite the encryption key extraction steps, as will be registered now Is confirmed by referring to the database, and if this can be confirmed, the encryption key is determined by the dedicated key for the control device related to the control device after the replacement. The gist is to encrypt and create the encryption code. According to this configuration, for the key registration to the control device after replacement, the identification ID of the control device before replacement, the identification ID of the control device after replacement, and the key ID of the electronic key that is about to be registered Is required. Therefore, the electronic key can be registered in the control device after replacement with high security.

本発明によれば、制御装置を交換した際、交換後の制御装置に正規キーのみ登録を許可することができる。   According to the present invention, when the control device is replaced, only the regular key can be permitted to be registered in the replaced control device.

一実施形態の電子キー登録システムの構成図。The block diagram of the electronic key registration system of one Embodiment. スマート照合のシーケンスを示すタイミングチャート。The timing chart which shows the sequence of smart collation. 電子キー登録システムの初回登録の概要を示す説明図。Explanatory drawing which shows the outline | summary of the initial registration of an electronic key registration system. 電子キー登録システムの追加登録(オンライン)の概要を示す説明図。Explanatory drawing which shows the outline | summary of the additional registration (online) of an electronic key registration system. 電子キー登録システムの追加登録(オフライン)の概要を示す説明図。Explanatory drawing which shows the outline | summary of the additional registration (offline) of an electronic key registration system. 電子キー登録システムのキー登録制限機能の構成図。The block diagram of the key registration restriction function of an electronic key registration system. 交換用ECUに電子キーを登録する流れを示すフローチャート。The flowchart which shows the flow which registers an electronic key in ECU for exchange. 交換用ECUにキー登録を行う際の過程を示す説明図。Explanatory drawing which shows the process at the time of performing key registration to exchange ECU. 交換用ECUにキー登録を行う際の過程を示す説明図。Explanatory drawing which shows the process at the time of performing key registration to exchange ECU. 交換用ECUにキー登録を行う際の過程を示す説明図。Explanatory drawing which shows the process at the time of performing key registration to exchange ECU. 交換用ECUにキー登録を行う際の過程を示す説明図。Explanatory drawing which shows the process at the time of performing key registration to exchange ECU. 交換用ECUにキー登録を行う際の過程を示す説明図。Explanatory drawing which shows the process at the time of performing key registration to exchange ECU. 交換用ECUにキー登録を行う際の過程を示す説明図。Explanatory drawing which shows the process at the time of performing key registration to exchange ECU.

以下、本発明を具体化した電子キー登録方法の一実施形態を図1〜図13に従って説明する。
[電子キーシステム]
図1に示すように、車両1には、車両1からの通信を契機に電子キー2と双方向通信により電子キー2の正当性を認証する電子キーシステム3が設けられている。電子キー2は、自身に登録されたID(電子キーID)を、無線によって車両1に送信可能なキーのことを言う。双方向通信の電子キーシステム3には、例えばキー操作フリーシステムやイモビライザーシステム等がある。なお、車両1が通信対象に相当する。
Hereinafter, an embodiment of an electronic key registration method embodying the present invention will be described with reference to FIGS.
[Electronic key system]
As shown in FIG. 1, the vehicle 1 is provided with an electronic key system 3 that authenticates the validity of the electronic key 2 by bidirectional communication with the electronic key 2 triggered by communication from the vehicle 1. The electronic key 2 is a key capable of wirelessly transmitting an ID (electronic key ID) registered therein to the vehicle 1. Examples of the two-way communication electronic key system 3 include a key operation free system and an immobilizer system. Note that the vehicle 1 corresponds to a communication target.

車両1には、電子キー2とID照合を行う照合ECU4と、車載電装品の電源を管理するボディECU5と、エンジンを制御するエンジンECU6とが設けられ、これらが車内のバス7を介して接続されている。照合ECU4のメモリ4aには、電子キーID、電子キー2とのチャレンジレスポンス認証時に使用する暗号鍵Kcr(鍵−1,鍵−2…)、車両1の固有IDである車載器ID(ビークルID)などが登録されている。電子キーID及び暗号鍵Kcrの組は、車両1に電子キー2が複数登録された場合、これに応じて複数保存される。照合ECU4には、LF(Low Frequency)帯の電波を送信可能なLF送信機8と、UHF(Ultra High Frequency)帯の電波を受信可能なUHF受信機9と、LF電波を受信可能なLF受信機10とが接続されている。なお、車載器IDが制御装置の識別IDに相当し、照合ECU4が制御装置に相当する。   The vehicle 1 is provided with a verification ECU 4 that performs ID verification with the electronic key 2, a body ECU 5 that manages the power supply of the on-vehicle electrical components, and an engine ECU 6 that controls the engine, which are connected via a bus 7 in the vehicle. Has been. In the memory 4 a of the verification ECU 4, an electronic key ID, an encryption key Kcr (key-1, key-2...) Used at challenge response authentication with the electronic key 2, an in-vehicle device ID (vehicle ID) that is a unique ID of the vehicle 1. ) Etc. are registered. When a plurality of electronic keys 2 are registered in the vehicle 1, a plurality of sets of the electronic key ID and the encryption key Kcr are stored in accordance with this. The verification ECU 4 includes an LF transmitter 8 capable of transmitting LF (Low Frequency) band radio waves, a UHF receiver 9 capable of receiving UHF (Ultra High Frequency) band radio waves, and an LF receiver capable of receiving LF radio waves. Machine 10 is connected. The vehicle-mounted device ID corresponds to the identification ID of the control device, and the verification ECU 4 corresponds to the control device.

電子キー2には、電子キー2の通信動作を管理するキー制御部11が設けられている。キー制御部11のメモリ11aにも、照合ECU4と同様に、電子キーID、車載器ID、暗号鍵Kcrなどが登録されている。キー制御部11には、LF電波を受信可能なLF受信部12と、UHF電波を送信可能なUHF送信部13と、LF電波を送信可能なLF送信部14とが接続されている。   The electronic key 2 is provided with a key control unit 11 that manages the communication operation of the electronic key 2. Similarly to the verification ECU 4, an electronic key ID, an in-vehicle device ID, an encryption key Kcr, and the like are also registered in the memory 11a of the key control unit 11. Connected to the key control unit 11 are an LF receiving unit 12 capable of receiving LF radio waves, a UHF transmitting unit 13 capable of transmitting UHF radio waves, and an LF transmitting unit 14 capable of transmitting LF radio waves.

図2に示すように、車両駐車時(車両ドア施錠、エンジン停止)、車外のLF送信機8は、車外に数mの範囲でLFのウェイク信号Swkの車外通信エリアを断続的に形成して、車外スマート通信を実行する。電子キー2は、ウェイク信号Swkを受信すると起動し、アック信号Sack1を車両1にUHF送信する。照合ECU4は、アック信号Sack1をUHF受信機9で受信すると、車載器ID信号SviをLF送信し、電子キー2に車載器ID照合を実行させる。電子キー2は、車載器ID照合が成立すれば、アック信号Sack2を車両1にUHF送信する。   As shown in FIG. 2, when the vehicle is parked (vehicle door locking, engine stop), the LF transmitter 8 outside the vehicle intermittently forms an outside communication area of the LF wake signal Swk within a range of several meters outside the vehicle. Execute smart communication outside the vehicle. The electronic key 2 is activated when it receives the wake signal Swk, and transmits the ACK signal Sack1 to the vehicle 1 by UHF. When the verification ECU 4 receives the ACK signal Sack1 by the UHF receiver 9, the verification unit 4 transmits the OBE ID signal Svi by LF, and causes the electronic key 2 to execute the OBE ID verification. The electronic key 2 transmits an ACK signal Sack2 to the vehicle 1 by UHF if the vehicle-mounted device ID verification is established.

続いて、照合ECU4は、チャレンジレスポンス認証を実行すべく、チャレンジSchを電子キー2にLF送信する。チャレンジSchには、送信の度にコードが毎回異なるチャレンジコードと、車両1の何番目の登録キーかを表すキー番号とが含まれている。電子キー2は、チャレンジSchを受信すると、まずキー番号照合を行い、キー番号照合が成立すれば、チャレンジコードを自身の暗号鍵Kcrに通してレスポンスコードを生成する。電子キー2は、このレスポンスコードと自身の電子キーIDとを含むレスポンスSrsを車両1にUHF送信する。照合ECU4は、電子キー2からレスポンスSrsを受信すると、自身も同様に演算したレスポンスコードと、電子キー2が演算したレスポンスコードとにより、レスポンス照合を行う。また、照合ECU4は、電子キー2から取得した電子キーIDが正しいか否かを確認する電子キーID照合も行う。照合ECU4は、両照合が成立したことを確認すると、スマート照合(車外スマート照合)を成立として処理し、ボディECU5によるドアロック施解錠を許可又は実行する。   Subsequently, the verification ECU 4 LF-transmits the challenge Sch to the electronic key 2 to execute challenge response authentication. The challenge Sch includes a challenge code whose code is different each time it is transmitted, and a key number representing the registration key number of the vehicle 1. When the electronic key 2 receives the challenge Sch, it first performs key number verification, and if the key number verification is established, it passes the challenge code through its encryption key Kcr and generates a response code. The electronic key 2 transmits a response Srs including this response code and its own electronic key ID to the vehicle 1 by UHF. When the verification ECU 4 receives the response Srs from the electronic key 2, the verification ECU 4 performs response verification using the response code calculated by itself and the response code calculated by the electronic key 2. The verification ECU 4 also performs electronic key ID verification to confirm whether the electronic key ID acquired from the electronic key 2 is correct. When the verification ECU 4 confirms that both verifications have been established, the verification ECU 4 processes smart verification (external vehicle smart verification) as established, and permits or executes door lock locking / unlocking by the body ECU 5.

また、運転者が乗車したことが例えばカーテシスイッチ(図示略)により検出されると、車外のLF送信機8に代えて、今度は車内のLF送信機8が車内全体にウェイク信号Swkの車内通信エリアを形成し、車内スマート通信を開始する。このとき、電子キー2が車内においてウェイク信号Swkを受信すると、車内スマート照合が実行される。そして、車内スマート照合が成立すると、エンジンスイッチ15による電源遷移操作及びエンジン始動操作が許可される。   Further, when it is detected by a courtesy switch (not shown) that the driver has boarded, for example, instead of the LF transmitter 8 outside the vehicle, the LF transmitter 8 inside the vehicle now communicates the wake signal Swk throughout the vehicle. Form an area and start in-car smart communication. At this time, when the electronic key 2 receives the wake signal Swk in the vehicle, the vehicle smart verification is executed. When the in-vehicle smart verification is established, the power supply transition operation and the engine start operation by the engine switch 15 are permitted.

なお、イモビライザーシステムは、車両1と電子キー2とがLF電波による近距離無(通信距離:10cm程度)によって認証を実施する。イモビライザーシステムは、車両1から送信される電力電波を電子キー2の電源とするシステムであるので、電子キー2を電源レスで動作させることが可能である。近距離無線には、例えばNFC(Near Field Communication)等の規格が使用されている。   In the immobilizer system, the vehicle 1 and the electronic key 2 perform authentication without any short distance (communication distance: about 10 cm) by LF radio waves. Since the immobilizer system is a system that uses power radio waves transmitted from the vehicle 1 as the power source of the electronic key 2, the electronic key 2 can be operated without a power source. Standards such as NFC (Near Field Communication) are used for short-range radio.

[電子キー登録システム]
図1,図3〜図5に示すように、車両1には、電子キー登録システム16によって電子キー2を登録することが可能である。この場合、照合ECU4及びキー制御部11の各々には、キー登録の動作を実施する登録機能部17,18が設けられている。本例の電子キー登録システム16は、登録ツール19を車両1に有線接続し、サービスマンが登録ツール19を操作することにより、車両1への電子キー2の登録を実施する。電子キー2の登録には、車両出荷前に電子キー(直納用キーやマスターキー)2aを車両1に登録する初回登録と、車両出荷後に電子キー(追加用キーやサブキー)2bを車両1に登録(補給)する追加登録とがある。
[Electronic key registration system]
As shown in FIGS. 1 and 3 to 5, the electronic key 2 can be registered in the vehicle 1 by the electronic key registration system 16. In this case, each of the verification ECU 4 and the key control unit 11 is provided with registration function units 17 and 18 for performing a key registration operation. In the electronic key registration system 16 of this example, the registration tool 19 is wired to the vehicle 1, and the service person operates the registration tool 19 to register the electronic key 2 to the vehicle 1. For the registration of the electronic key 2, the initial registration for registering the electronic key (direct delivery key or master key) 2a in the vehicle 1 before shipment of the vehicle and the electronic key (addition key or subkey) 2b in the vehicle 1 after shipment of the vehicle. There is additional registration to register (supplement).

図1に示すように、登録ツール19は、ネットワークによる通信を介して、電子キー2の登録を管理するセンター20と無線通信が可能である。このネットワーク通信は、いわゆるインターネット通信であり、例えばIP(Internet Protocol)通信である。また、登録ツール19は、ケーブル等の有線によって接続された車両1と有線通信する。電子キー2の登録時の車両1と電子キー2との通信には、近距離のLF双方向通信が使用されている。   As shown in FIG. 1, the registration tool 19 can wirelessly communicate with a center 20 that manages registration of the electronic key 2 through communication via a network. This network communication is so-called Internet communication, for example, IP (Internet Protocol) communication. The registration tool 19 performs wired communication with the vehicle 1 connected by wire such as a cable. Short-distance LF bidirectional communication is used for communication between the vehicle 1 and the electronic key 2 when the electronic key 2 is registered.

図3に示すように、初回登録は、車両1の製造工場等で実施される工場登録であって、キー登録が車両1と電子キー2aとの2者間で完結するシード登録方式が採用されている。なお、初回登録は、登録ツール19とセンター20とがリアルタイムに接続されていない状況とする。シード登録方式の場合、電子キー2aには、メモリ11aに書き込まれたSEEDコードSCとしての「SC−1」を、鍵生成ロジックfに通すことにより生成した暗号鍵「鍵−1」がメモリ11aに予め書き込み保存されている。また、照合ECU4のメモリ4aには、電子キー2に登録されたものと同様の鍵生成ロジックfが書き込み保存されている。   As shown in FIG. 3, the initial registration is factory registration performed at a manufacturing factory of the vehicle 1, and a seed registration method is adopted in which key registration is completed between the vehicle 1 and the electronic key 2a. ing. Note that the initial registration is a situation where the registration tool 19 and the center 20 are not connected in real time. In the case of the seed registration method, the electronic key 2a has an encryption key “key-1” generated by passing “SC-1” as the SEED code SC written in the memory 11a through the key generation logic f. Previously written and saved. The key generation logic f similar to that registered in the electronic key 2 is written and stored in the memory 4a of the verification ECU 4.

センター20には、どの車両1(照合ECU4)にどのような車載器IDや電子キー2が登録されているのかを管理する車載器データベース21が設けられている。センター20には、どの電子キー2にどのような電子キーIDや暗号鍵が登録されているのかを管理する電子キーデータベース22が設けられている。   The center 20 is provided with a vehicle-mounted device database 21 for managing which vehicle-mounted device ID and electronic key 2 are registered in which vehicle 1 (reference ECU 4). The center 20 is provided with an electronic key database 22 for managing which electronic key ID and encryption key are registered in which electronic key 2.

シード登録方式は、初回登録する電子キー2aの暗号鍵Kcr→「鍵−1」を、鍵そのものではなく、暗号鍵生成用のSEEDコード「SC−1」を電子キー2から車両1に送り渡すことにより、暗号鍵「鍵−1」の登録を行う方式である。シード登録方式の場合、照合ECU4は、電子キー2から電子キーID「ID−1」を取得してをメモリ4aに登録するとともに、電子キー2からSEEDコード「SC−1」を取得し、これを車両1において鍵生成ロジックfに通すことにより暗号鍵「鍵−1」を生成して車両1に登録する。電子キー2に登録されたSEEDコード「SC−1」は、車両1に送信された後、メモリ11aから削除される。また、電子キー2には、初回登録の過程の中で車両1から通知される車載器ID「ID−A」がメモリ11aに書き込まれる。さらに、電子キー2の初回登録が完了すると、初期登録フラグが「受入」→「拒否」に切り換わり、初回登録が実施不可となる。   In the seed registration method, the encryption key Kcr → “key-1” of the electronic key 2a to be registered for the first time is sent from the electronic key 2 to the vehicle 1 instead of the key itself, rather than the key itself. Thus, the encryption key “key-1” is registered. In the case of the seed registration method, the verification ECU 4 acquires the electronic key ID “ID-1” from the electronic key 2 and registers it in the memory 4a, and also acquires the SEED code “SC-1” from the electronic key 2. Is passed through the key generation logic f in the vehicle 1 to generate an encryption key “key-1” and register it in the vehicle 1. The SEED code “SC-1” registered in the electronic key 2 is deleted from the memory 11 a after being transmitted to the vehicle 1. In the electronic key 2, the vehicle-mounted device ID “ID-A” notified from the vehicle 1 during the initial registration process is written in the memory 11 a. Further, when the initial registration of the electronic key 2 is completed, the initial registration flag is changed from “accepted” to “rejected”, and the initial registration becomes impossible.

車両1への電子キー2aの初回登録が完了した後、センター20で管理されている車載器データベース21及び電子キーデータベース22を更新する必要がある。初回登録の場合、登録ツール19はセンター20とリアルタイム接続されていないので、初回登録完了の後、あるタイミングで登録ツール19をセンター20に接続して、車載器データベース21及び電子キーデータベース22を更新する。   After the initial registration of the electronic key 2a to the vehicle 1 is completed, the vehicle-mounted device database 21 and the electronic key database 22 managed by the center 20 need to be updated. In the case of initial registration, since the registration tool 19 is not connected to the center 20 in real time, the registration tool 19 is connected to the center 20 at a certain timing after the initial registration is completed, and the in-vehicle device database 21 and the electronic key database 22 are updated. To do.

図4及び図5に示すように、追加登録は、ディーラ等で実施される登録作業であって、図4のオンライン登録方式と、図5のオフライン登録方式とがある。通常、登録ツール19をセンター20にネットワーク接続できるオンライン状況下では、オンライン登録方式が使用され、登録ツール19をセンター20にネットワーク接続することができないオフライン状況下では、オフライン登録方式が使用される。   As shown in FIGS. 4 and 5, the additional registration is a registration operation performed by a dealer or the like, and includes an online registration method shown in FIG. 4 and an offline registration method shown in FIG. Normally, an online registration method is used in an online situation where the registration tool 19 can be connected to the center 20 via a network, and an offline registration method is used in an offline situation where the registration tool 19 cannot be connected to the center 20 via a network.

オンライン登録方式は、登録ツール19をセンター20に接続して、キー登録に必要な各種データをセンター20から登録ツール19で取得することにより、車両1への電子キー2bの登録を行う方式である。この場合、照合ECU4のメモリ4aには、電子キー2bの追加登録において使用する車載器センター鍵Kvcが登録されている。車載器センター鍵Kvcは、車両1とセンター20との間で対応付けられたキー登録用の暗号鍵であって、照合ECU4(車両1)のそれぞれに割り振られる。車載器センター鍵Kvcは、例えばAES((Advanced Encryption Standard)暗号に準拠した暗号鍵である。なお、車載器センター鍵Kvcが制御装置専用鍵に相当する。   The online registration method is a method of registering the electronic key 2b to the vehicle 1 by connecting the registration tool 19 to the center 20 and acquiring various data necessary for key registration from the center 20 with the registration tool 19. . In this case, the in-vehicle device center key Kvc used in the additional registration of the electronic key 2b is registered in the memory 4a of the verification ECU 4. The vehicle-mounted device center key Kvc is an encryption key for key registration associated with the vehicle 1 and the center 20, and is assigned to each verification ECU 4 (vehicle 1). The in-vehicle device center key Kvc is an encryption key compliant with, for example, AES (Advanced Encryption Standard) encryption, and the in-vehicle device center key Kvc corresponds to a controller dedicated key.

車載器データベース21には、どの車両1(照合ECU4)にどのような車載器センター鍵Kvcが登録されているのかも書き込み登録されている。また、電子キーデータベース22には、どの電子キー2bにどのようなSEEDコードSCが登録されているのかも書き込み登録されている。電子キーデータベース22のSEEDコードSCは、センター20において暗号鍵Kcrを、対応する車載器センター鍵Kvcに通すことにより作成されるものである。   In the vehicle-mounted device database 21, what vehicle-mounted device center key Kvc is registered in which vehicle 1 (verification ECU 4) is also registered. In the electronic key database 22, what kind of SEED code SC is registered in which electronic key 2b is also written and registered. The SEED code SC of the electronic key database 22 is created by passing the encryption key Kcr at the center 20 through the corresponding on-vehicle device center key Kvc.

オンライン登録の場合、照合ECU4は、登録ツール19から電子キー2bの追加登録命令を入力すると、電子キー2bから電子キーID「ID−2」を取得し、これをメモリ4aに書き込んで保存する。また、照合ECU4は、登録ツール19を介してセンター20にSEED作成要求を出力し、登録対象となっている電子キー2bのSEEDコードSCを作成させる。このとき、センター20は、車載器データベース21を参照して、使用すべき車載器センター鍵Kvc→「鍵−A」を割り出し、いま登録対象となっている電子キー2bの暗号鍵「鍵−2」を「鍵−A」に通すことにより、SEEDコード「SC−A2」を作成する。センター20は、作成したSEEDコード「SC−A2」を、登録ツール19を介して照合ECU4に出力する。照合ECU4は、センター20から取得したSEEDコード「SC−A2」を、自身の車載器センター鍵「鍵−A」に通して復号することにより暗号鍵「鍵−2」を生成し、これをメモリ4aに書き込んで保存する。また、電子キー2には、追加登録の過程の中で車両1から通知される車載器ID「ID−A」がメモリ11aに書き込まれる。   In the case of online registration, when an additional registration command for the electronic key 2b is input from the registration tool 19, the verification ECU 4 acquires the electronic key ID “ID-2” from the electronic key 2b, and writes and stores it in the memory 4a. In addition, the verification ECU 4 outputs a SEED creation request to the center 20 via the registration tool 19, and creates a SEED code SC for the electronic key 2b to be registered. At this time, the center 20 refers to the in-vehicle device database 21 to determine the in-vehicle device center key Kvc → “key-A” to be used, and the encryption key “key-2” of the electronic key 2b that is now registered. "Is passed through" key-A "to create a SEED code" SC-A2 ". The center 20 outputs the created SEED code “SC-A2” to the verification ECU 4 via the registration tool 19. The verification ECU 4 generates the encryption key “key-2” by decrypting the SEED code “SC-A2” acquired from the center 20 through its own vehicle-mounted device center key “key-A”, and stores this in the memory Write to 4a and save. In the electronic key 2, the vehicle-mounted device ID “ID-A” notified from the vehicle 1 during the additional registration process is written in the memory 11 a.

センター20は、登録ツール19からSEED作成要求を取得した際、追加登録されようとしている電子キー2bの電子キーIDが分かるので、追加登録される電子キー2bの電子キーID「ID−2」を車載器データベース21に反映する。また、センター20は、登録ツール19へのSEEDコード「SC−A2」の送付後、追加登録される電子キー2bの暗号鍵「鍵−2」を車載器データベース21に反映する。   When the center 20 obtains the SEED creation request from the registration tool 19, the center 20 knows the electronic key ID of the electronic key 2b that is about to be additionally registered, so the electronic key ID “ID-2” of the electronic key 2b that is additionally registered is obtained. This is reflected in the in-vehicle device database 21. In addition, after sending the SEED code “SC-A2” to the registration tool 19, the center 20 reflects the encryption key “key-2” of the electronic key 2 b additionally registered in the in-vehicle device database 21.

オフライン登録方式は、登録ツール19をセンター20にネットワーク接続できない状況下において、登録ツール19のみを使用して車両1への電子キー2bの登録を行う方式である。オフライン登録方式においては、追加登録される電子キー2bには、オンライン登録方式の場合とは異なり、車載器センター鍵Kvcで暗号化されたSEEDコード「SC−A3」が予め書き込み保存されている。また、サービスマンは、センター20に予め発注書(車載器ID)を出しておき、照合ECU4に追加登録可能な電子キー2bをセンター20から配送等により受け取っておく。   The offline registration method is a method for registering the electronic key 2b to the vehicle 1 using only the registration tool 19 in a situation where the registration tool 19 cannot be connected to the center 20 via a network. In the offline registration method, the SEED code “SC-A3” encrypted with the in-vehicle device center key Kvc is written and stored in advance in the additionally registered electronic key 2b, unlike the case of the online registration method. Further, the service person issues a purchase order (vehicle equipment ID) to the center 20 in advance, and receives an electronic key 2b that can be additionally registered in the verification ECU 4 from the center 20 by delivery or the like.

オフライン登録方式の場合、照合ECU4は、登録ツール19から電子キー2bの追加登録命令を入力すると、電子キー2bから電子キーID「ID−3」及びSEEDコード「SC−A3」を取得する。照合ECU4は、電子キー2bから取得した電子キー2bを自身のメモリ11aに書き込んで保存する。また、照合ECU4は、電子キー2bから取得したSEEDコード「SC−A3」を、自身が持つ車載器センター鍵「鍵−A」に通して復号することにより暗号鍵「鍵−3」を生成し、これをメモリ4aに書き込んで保存する。   In the case of the offline registration method, the verification ECU 4 receives the electronic key 2b additional registration command from the registration tool 19, and acquires the electronic key ID “ID-3” and the SEED code “SC-A3” from the electronic key 2b. The verification ECU 4 writes the electronic key 2b acquired from the electronic key 2b in its own memory 11a and stores it. Further, the verification ECU 4 generates the encryption key “key-3” by decrypting the SEED code “SC-A3” acquired from the electronic key 2 b through the on-vehicle device center key “key-A” that it has. This is written and stored in the memory 4a.

[電子キー登録システムのキー登録制限機能]
図6に示すように、電子キー登録システム16には、新規の照合ECU(以降、交換用ECU24と記す)に交換後、交換前の照合ECU(以降、交換前ECU23と記す)に登録された車載器IDを利用して、電子キー2(2a,2b)の登録制限を行うキー登録制限機能が設けられている。これは、交換用ECU24への電子キー2の登録に制限を持たせないと、交換前ECU23に登録されていたキー以外の電子キー2を登録可能となってしまったり、他車両の照合ECU4に登録された電子キー2を登録可能となってしまったりするからである。なお、交換前ECU23が交換前の制御装置に相当し、交換用ECU24が交換後の制御装置に相当する。
[Key registration restriction function of electronic key registration system]
As shown in FIG. 6, in the electronic key registration system 16, a new verification ECU (hereinafter referred to as “replacement ECU 24”) is replaced, and then registered in a verification ECU before replacement (hereinafter referred to as “pre-replacement ECU 23”). A key registration restriction function for restricting registration of the electronic key 2 (2a, 2b) by using the vehicle-mounted device ID is provided. If the registration of the electronic key 2 to the replacement ECU 24 is not restricted, it becomes possible to register an electronic key 2 other than the key registered in the ECU 23 before replacement, or to the verification ECU 4 of another vehicle. This is because the registered electronic key 2 can be registered. The pre-replacement ECU 23 corresponds to the control device before replacement, and the replacement ECU 24 corresponds to the control device after replacement.

電子キー2のメモリ11aには、車載器ID書込み欄25と、キーID書込み欄26と、SEEDコード書込み欄27と、暗号鍵書込み欄28とが設けられている。車載器ID書込み欄25には、キー登録時において車両1から取得した車載器IDが書き込まれる。キーID書込み欄26には、キー固有の電子キーIDが書き込み保存される。SEEDコード書込み欄27には、SEEDコードSCが書き込み可能であり、キー登録後、SEEDコードSCは削除される。暗号鍵書込み欄28には、SEEDコードSCを鍵生成ロジックfに通して生成された暗号鍵Kcrが書き込み保存される。   The memory 11 a of the electronic key 2 is provided with an in-vehicle device ID writing field 25, a key ID writing field 26, a SEED code writing field 27, and an encryption key writing field 28. In the vehicle-mounted device ID writing field 25, the vehicle-mounted device ID acquired from the vehicle 1 at the time of key registration is written. In the key ID writing field 26, an electronic key ID unique to the key is written and stored. In the SEED code writing field 27, the SEED code SC can be written, and after the key registration, the SEED code SC is deleted. In the encryption key writing field 28, the encryption key Kcr generated by passing the SEED code SC through the key generation logic f is written and stored.

交換用ECU24のメモリ24aには、初期登録フラグ書込み欄29と、追加登録フラグ書込み欄30と、車載器ID書込み欄31と、車載器センター鍵書込み欄32と、電子キーID書込み欄33と、暗号鍵書込み欄34とが設けられている。電子キーID書込み欄33及び暗号鍵書込み欄34は、交換用ECU24に登録される直納用又は追加用の電子キー2ごとに設けられる。1つの交換用ECU24に対し、例えば8本の電子キー2が登録可能である。   In the memory 24a of the replacement ECU 24, an initial registration flag writing field 29, an additional registration flag writing field 30, an on-vehicle device ID writing field 31, an on-vehicle device center key writing field 32, an electronic key ID writing field 33, An encryption key writing field 34 is provided. The electronic key ID writing field 33 and the encryption key writing field 34 are provided for each direct delivery or additional electronic key 2 registered in the replacement ECU 24. For example, eight electronic keys 2 can be registered in one replacement ECU 24.

交換用ECU24は、初期登録フラグ書込み欄29が「受入」となっていれば、電子キー2aの初回登録が実施可能であり、初期登録フラグ書込み欄29が「拒否」となっていると、電子キー2aの初回登録が禁止となっている。また、交換用ECU24は、追加登録フラグ書込み欄30が「受入」となっていれば、電子キー2bの追加登録が可能であり、追加登録フラグ書込み欄30が「拒否」となっていれば、電子キー2bの追加登録が可能である。「受入」及び「拒否」の設定は、車両1を所定操作することにより設定してもよいし、或いは登録ツール19から指令を送って設定してもよい。   If the initial registration flag writing field 29 is “accepted”, the replacement ECU 24 can perform the initial registration of the electronic key 2a, and if the initial registration flag writing field 29 is “rejected”, Initial registration of the key 2a is prohibited. Further, the replacement ECU 24 can additionally register the electronic key 2b if the additional registration flag writing field 30 is “accepted”, and if the additional registration flag writing field 30 is “rejected”, Additional registration of the electronic key 2b is possible. The “acceptance” and “rejection” settings may be set by a predetermined operation of the vehicle 1 or may be set by sending a command from the registration tool 19.

車載器ID書込み欄31には、交換用ECU24が持つ固有の車載器IDが書き込まれている。よって、照合ECU4は、それぞれ固有の車載器IDが割り振られている。
車載器センター鍵書込み欄32には、それぞれの照合ECU4が固有に持つ車載器センター鍵Kvcが書き込み保存されている。車載器センター鍵Kvcは、照合ECU4の製造ラインにおいて、書き込み器(図示略)から交換用ECU24(照合ECU4)のメモリ24aに注入されることにより、照合ECU4に書き込み保存される。
In the vehicle-mounted device ID writing field 31, a unique vehicle-mounted device ID possessed by the replacement ECU 24 is written. Therefore, each verification ECU 4 is assigned a unique vehicle-mounted device ID.
In the in-vehicle device center key writing column 32, the in-vehicle device center key Kvc inherent to each verification ECU 4 is written and stored. The in-vehicle device center key Kvc is written and stored in the verification ECU 4 by being injected from the writing device (not shown) into the memory 24a of the replacement ECU 24 (verification ECU 4) in the production line of the verification ECU 4.

電子キーID書込み欄33には、交換用ECU24に登録される電子キー2の電子キーIDが書き込まれる。また、暗号鍵書込み欄34には、組をなす電子キー2とのID照合の際に実施する暗号通信、つまりチャレンジレスポンス認証で使用する暗号鍵Kcrが書き込まれる。なお、図6に示す交換用ECU24は、電子キー2を登録する前の状態としているので、電子キーID書込み欄33及び暗号鍵書込み欄34は、何もデータが書き込まれていない「ブランク」となっている。   In the electronic key ID writing column 33, the electronic key ID of the electronic key 2 registered in the replacement ECU 24 is written. Also, in the encryption key writing field 34, the encryption key Kcr used in the encryption communication performed at the time of ID collation with the paired electronic key 2, that is, the challenge response authentication is written. 6 is in a state before the electronic key 2 is registered, the electronic key ID writing column 33 and the encryption key writing column 34 are “blank” in which no data is written. It has become.

登録ツール19には、登録ツール19の動作を制御するツール制御部35と、各種ボタンやスイッチ等からなる操作部36と、各種画面を表示可能な表示部37とが設けられている。登録ツール19には、センター20とのネットワーク通信が可能な通信部38が設けられている。ツール制御部35には、照合ECU4に追加登録命令R1を出力する追加登録命令部39が設けられている。追加登録命令R1は、照合ECU4に電子キー2の登録動作(追加登録)の開始を指示する命令である。   The registration tool 19 is provided with a tool control unit 35 that controls the operation of the registration tool 19, an operation unit 36 including various buttons and switches, and a display unit 37 that can display various screens. The registration tool 19 is provided with a communication unit 38 capable of network communication with the center 20. The tool control unit 35 is provided with an additional registration command unit 39 that outputs an additional registration command R1 to the verification ECU 4. The additional registration command R1 is a command for instructing the verification ECU 4 to start the registration operation (additional registration) of the electronic key 2.

交換用ECU24には、電子キー2から電子キーIDを取得するキーID取得部40が設けられている。また、電子キー2には、自身に登録された電子キーIDを交換用ECU24に通知するキーID通知部41が設けられている。キーID取得部40は、登録ツール19から追加登録命令R1を入力すると、キーID取得要求R2を電子キー2に無線送信する。キーID通知部41は、交換用ECU24からキーID取得要求R2を受信すると、メモリ11aに書き込まれている電子キーIDを車両1に無線送信する。キーID取得部40は、電子キー2から電子キーIDを受信すると、これをメモリ24aに書き込んで保存する。電子キーID書込み欄33及び暗号鍵書込み欄34は、キー登録の度に、上から順番に書き込まれていく。   The replacement ECU 24 is provided with a key ID acquisition unit 40 that acquires an electronic key ID from the electronic key 2. Further, the electronic key 2 is provided with a key ID notification unit 41 for notifying the replacement ECU 24 of the electronic key ID registered in itself. When receiving the additional registration command R1 from the registration tool 19, the key ID acquisition unit 40 wirelessly transmits a key ID acquisition request R2 to the electronic key 2. When receiving the key ID acquisition request R2 from the replacement ECU 24, the key ID notification unit 41 wirelessly transmits the electronic key ID written in the memory 11a to the vehicle 1. When receiving the electronic key ID from the electronic key 2, the key ID acquisition unit 40 writes and stores it in the memory 24 a. The electronic key ID writing field 33 and the encryption key writing field 34 are written in order from the top each time a key is registered.

交換用ECU24には、電子キーIDの取得後、ID情報をセンター20に送付するID情報送付部42と、センター20にSEEDコードSCの作成を要求するSEEDコード作成要求部43とが設けられている。ID情報は、例えば登録ツール19で入力された車載器ID「ID−A」と、交換用ECU24の車載器ID「ID−B」と、電子キー2から取得した電子キーID「ID−1」とが含まれる。SEEDコード作成要求部43は、センター20にSEEDコードSCの作成を開始させる要求として、SEED作成要求R3をセンター20に出力する。   The replacement ECU 24 is provided with an ID information sending unit 42 that sends ID information to the center 20 after obtaining the electronic key ID, and a SEED code creation requesting unit 43 that requests the center 20 to create the SEED code SC. Yes. The ID information includes, for example, the vehicle-mounted device ID “ID-A” input by the registration tool 19, the vehicle-mounted device ID “ID-B” of the replacement ECU 24, and the electronic key ID “ID-1” acquired from the electronic key 2. And are included. The SEED code creation request unit 43 outputs a SEED creation request R3 to the center 20 as a request for causing the center 20 to start creating the SEED code SC.

センター20の車載器データベース21には、それぞれの車両1(照合ECU4)ごとに、車載器ID書込み欄44と、車載器センター鍵書込み欄45と、電子キーID書込み欄46と、暗号鍵書込み欄47とが設けられている。電子キーID書込み欄46及び暗号鍵書込み欄47は、照合ECU4に登録された直納用又は追加用の電子キー2ごとに複数設けられている。   In the vehicle-mounted device database 21 of the center 20, the vehicle-mounted device ID writing column 44, the vehicle-mounted device center key writing column 45, the electronic key ID writing column 46, and the encryption key writing column are stored for each vehicle 1 (verification ECU 4). 47 is provided. A plurality of electronic key ID writing fields 46 and encryption key writing fields 47 are provided for each direct delivery or additional electronic key 2 registered in the verification ECU 4.

センター20の電子キーデータベース22には、それぞれの電子キー2ごとに、電子キーID書込み欄48と、暗号鍵書込み欄49と、SEEDコード書込み欄50とが設けられている。SEEDコード書込み欄50には、各電子キー2の暗号鍵Kcrを、対応する照合ECU4の車載器センター鍵Kvcに通すことにより作成されたSEEDコードSCが書き込み登録されている。電子キーデータベース22には、電子キーIDと暗号鍵KcrとSEEDコードSCとが対応付けて登録されているので、どの電子キー2にどのSEEDコードSCが使用されたのかが分かる。   The electronic key database 22 of the center 20 is provided with an electronic key ID writing field 48, an encryption key writing field 49, and a SEED code writing field 50 for each electronic key 2. In the SEED code writing column 50, the SEED code SC created by passing the encryption key Kcr of each electronic key 2 through the onboard unit center key Kvc of the corresponding verification ECU 4 is written and registered. In the electronic key database 22, since the electronic key ID, the encryption key Kcr, and the SEED code SC are registered in association with each other, it can be understood which SEED code SC is used for which electronic key 2.

センター20には、照合ECU4の交換時において、登録対象となった電子キー2のSEEDコードSCを新たに作成し直すSEEDコード作成部51と、SEEDコード作成部51が作成したSEEDコードSCを、登録ツール19を介して交換用ECU24に送信するSEEDコード通知部52とが設けられている。SEEDコード作成部51は、交換用ECU24から受信したID情報を基に車載器データベース21を参照することにより、いま登録しようとしている電子キー2が、交換前ECU23に登録されていたかどうかを確認する。SEEDコード作成部51は、いま登録しようとしている電子キー2の暗号鍵Kcrを、交換用ECU24に登録された車載器センター鍵Kvcに通すことにより、SEEDコードSC→「SC−B1」を新規作成する。SEEDコード通知部52は、作成し直したSEEDコードSCを、登録ツール19を介して交換用ECU24に出力する。なお、SEEDコード「SC−B1」が暗号コードに相当する。   In the center 20, when the verification ECU 4 is exchanged, the SEED code creation unit 51 for re-creating the SEED code SC of the electronic key 2 to be registered, and the SEED code SC created by the SEED code creation unit 51, A SEED code notification unit 52 that is transmitted to the replacement ECU 24 via the registration tool 19 is provided. The SEED code creation unit 51 refers to the vehicle-mounted device database 21 based on the ID information received from the replacement ECU 24 to confirm whether or not the electronic key 2 to be registered has been registered in the pre-exchange ECU 23. . The SEED code creation unit 51 creates the SEED code SC → “SC-B1” by passing the encryption key Kcr of the electronic key 2 that is about to be registered through the vehicle-mounted device center key Kvc registered in the replacement ECU 24. To do. The SEED code notification unit 52 outputs the re-created SEED code SC to the replacement ECU 24 via the registration tool 19. The SEED code “SC-B1” corresponds to the encryption code.

交換用ECU24には、センター20から取得したSEEDコードSCを復号して暗号鍵Kcrを生成するSEEDコード復号部53が設けられている。SEEDコード復号部53は、センター20から取得したSEEDコードSCを、メモリ24aに書き込まれた車載器センター鍵Kvcに通すことにより、暗号鍵Kcrを復号する。そして、SEEDコード復号部53は、復号した暗号鍵Kcrを、暗号鍵書込み欄34に書き込んで保存する。   The replacement ECU 24 is provided with a SEED code decrypting unit 53 that decrypts the SEED code SC acquired from the center 20 to generate the encryption key Kcr. The SEED code decryption unit 53 decrypts the encryption key Kcr by passing the SEED code SC acquired from the center 20 through the vehicle-mounted device center key Kvc written in the memory 24a. Then, the SEED code decryption unit 53 writes and stores the decrypted encryption key Kcr in the encryption key write field 34.

交換用ECU24には、交換用ECU24に電子キーID及び暗号鍵を登録した後、これをセンター20の車載器データベース21に反映するデータベース反映部54が設けられている。データベース反映部54は、交換用ECU24への電子キーID及び暗号鍵の書き込みが完了すると、データベース反映要求R4を登録ツール19経由でセンター20に送信する。センター20は、交換用ECU24からデータベース反映要求R4を入力すると、登録作業が行われていた電子キーID及び暗号鍵Kcrを、対応する電子キーID書込み欄46及び暗号鍵書込み欄47に書き込んで、車載器データベース21を更新する。   The replacement ECU 24 is provided with a database reflecting unit 54 that registers the electronic key ID and the encryption key in the replacement ECU 24 and then reflects them on the vehicle-mounted device database 21 of the center 20. When the writing of the electronic key ID and the encryption key to the replacement ECU 24 is completed, the database reflection unit 54 transmits a database reflection request R4 to the center 20 via the registration tool 19. When the center 20 inputs the database reflection request R4 from the replacement ECU 24, the center 20 writes the electronic key ID and the encryption key Kcr that have been registered in the corresponding electronic key ID writing field 46 and the encryption key writing field 47, The in-vehicle device database 21 is updated.

次に、本例の電子キー登録システム16の動作を、図7に示すフローチャートに沿って説明する。
まず、前提としては、図6の車載器データベース21に示すように、車両1に搭載された交換前ECU23の車載器IDを「ID−A」とし、車載器センター鍵を「鍵−A」とする。交換前ECU23の直納電子キーの電子キーID書込み欄33及び暗号鍵書込み欄34には、各々「ID−1」、「鍵−1」が登録され、追加電子キーの電子キーID書込み欄33及び暗号鍵書込み欄34には、1番目に各々「ID−2」、「鍵−2」が書き込まれ、2番目に各々「ID−3」、「鍵−3」が書き込まれているとする。
Next, the operation of the electronic key registration system 16 of this example will be described along the flowchart shown in FIG.
First, as a premise, as shown in the in-vehicle device database 21 in FIG. 6, the on-vehicle device ID of the pre-replacement ECU 23 mounted on the vehicle 1 is “ID-A”, and the on-vehicle device center key is “key-A”. To do. “ID-1” and “key-1” are registered in the electronic key ID writing field 33 and the encryption key writing field 34 of the direct delivery electronic key of the ECU 23 before replacement, respectively, and the electronic key ID writing field 33 of the additional electronic key and It is assumed that “ID-2” and “key-2” are written first in the encryption key writing field 34, and “ID-3” and “key-3” are written second.

また、交換用ECU24の車載器IDを「ID−B」とし、車載器センター鍵を「鍵−B」とする。キー登録前の交換用ECU24は、電子キーID書込み欄33及び暗号鍵書込み欄34が全て「ブランク」となっている。同じように、センター20の車載器データベース21も、車載器IDが「ID−B」の電子キーID書込み欄46及び暗号鍵書込み欄47が全て「ブランク」となっている。   Further, the vehicle-mounted device ID of the replacement ECU 24 is “ID-B”, and the vehicle-mounted device center key is “key-B”. In the replacement ECU 24 before key registration, the electronic key ID writing field 33 and the encryption key writing field 34 are all “blank”. Similarly, in the vehicle-mounted device database 21 of the center 20, the electronic key ID writing column 46 and the encryption key writing column 47 whose vehicle-mounted device ID is “ID-B” are all “blank”.

図7に示すステップ101において、サービスマンは、交換前ECU23の車載器ID(ID−1)を登録ツール19に入力する(図8参照)。
ステップ102において、追加登録命令部39は、追加登録命令R1を有線通信により交換用ECU24に出力する(図8参照)。追加登録命令R1は、交換用ECU24の動作状態を、電子キー2の追加動作を実行するキー追加処理実行状態に切り換える命令である。
In step 101 shown in FIG. 7, the service person inputs the vehicle-mounted device ID (ID-1) of the pre-replacement ECU 23 to the registration tool 19 (see FIG. 8).
In step 102, the additional registration command unit 39 outputs an additional registration command R1 to the replacement ECU 24 by wired communication (see FIG. 8). The additional registration command R1 is a command for switching the operation state of the replacement ECU 24 to a key addition process execution state in which the additional operation of the electronic key 2 is executed.

ステップ103において、キーID取得部40は、キーID取得要求R2をLF通信により電子キー2に送信する(図9参照)。キーID取得要求R2は、電子キー2に登録された電子キーIDを、LF通信を通じて車両1に返信させる要求である。なお、本例の場合、この通信の過程において、電子キー2の車載器IDが、交換前ECU23の車載器ID「ID−A」から、交換用ECU24の車載器ID「ID−B」に上書きされる。   In step 103, the key ID acquisition unit 40 transmits a key ID acquisition request R2 to the electronic key 2 by LF communication (see FIG. 9). The key ID acquisition request R2 is a request for returning the electronic key ID registered in the electronic key 2 to the vehicle 1 through LF communication. In this example, in this communication process, the vehicle-mounted device ID of the electronic key 2 overwrites the vehicle-mounted device ID “ID-B” of the replacement ECU 24 from the vehicle-mounted device ID “ID-A” of the pre-replacement ECU 23. Is done.

ステップ104において、キーID通知部41は、メモリ11aに登録されている電子キーID「ID−1」を、LF通信を介して車両1に送信する(図9参照)。
ステップ105において、キーID取得部40は、電子キー2から受信した電子キーID「ID−1」を、直納電子キーの電子キーID書込み欄33に書き込んで保存する(図9参照)。
In step 104, the key ID notification unit 41 transmits the electronic key ID “ID-1” registered in the memory 11a to the vehicle 1 via LF communication (see FIG. 9).
In step 105, the key ID acquisition unit 40 writes and stores the electronic key ID “ID-1” received from the electronic key 2 in the electronic key ID writing field 33 of the direct payment electronic key (see FIG. 9).

ステップ106において、ID情報送付部42は、交換用ECU24への電子キー2の登録に必要なID情報を、登録ツール19を介してセンター20に送信する(図10参照)。このID情報には、サービスマンが登録ツール19に入力した交換前ECU23の車載器ID「ID−A」と、交換用ECU24の車載器ID「ID−B」と、いま登録されようとしている電子キー2の電子キーID「ID−1」とが含まれている。なお、ステップ101〜106がID通知ステップに相当する。   In step 106, the ID information sending unit 42 sends ID information necessary for registering the electronic key 2 to the replacement ECU 24 to the center 20 via the registration tool 19 (see FIG. 10). In this ID information, the vehicle-mounted device ID “ID-A” of the pre-replacement ECU 23 and the vehicle-mounted device ID “ID-B” of the replacement ECU 24 input to the registration tool 19 by the serviceman, and the electronic that is about to be registered. The electronic key ID “ID-1” of key 2 is included. Steps 101 to 106 correspond to an ID notification step.

ステップ107において、SEEDコード作成部51は、登録ツール19から受け付けたID情報を確認する(図10参照)。即ち、SEEDコード作成部51は、車載器データベース21を参照し、ID−Aの照合ECU4にID−1の電子キー2が登録されていたか否かを確認する。このとき、登録関係を確認できれば次ステップに移行し、登録関係を確認できなければ処理を終了する。   In step 107, the SEED code creation unit 51 confirms the ID information received from the registration tool 19 (see FIG. 10). That is, the SEED code creation unit 51 refers to the vehicle-mounted device database 21 and confirms whether or not the ID-1 electronic key 2 is registered in the ID-A verification ECU 4. At this time, if the registration relationship can be confirmed, the process proceeds to the next step, and if the registration relationship cannot be confirmed, the process ends.

ステップ108において、SEEDコード作成要求部43は、SEED作成要求R3を登録ツール19経由でセンター20に送信する(図11参照)。SEED作成要求R3は、登録対象登録対象となっている電子キー2の暗号鍵「鍵−1」を車両1に登録する際に必要なSEEDコード「SC−B1」を、センター20に作成させる要求である。   In step 108, the SEED code creation request unit 43 transmits a SEED creation request R3 to the center 20 via the registration tool 19 (see FIG. 11). The SEED creation request R3 is a request for the center 20 to create the SEED code “SC-B1” necessary for registering the encryption key “key-1” of the electronic key 2 that is the registration target registration target in the vehicle 1. It is.

ステップ109において、SEEDコード作成部51は、交換用ECU24からSEED作成要求R3を受信すると、暗号鍵「鍵−1」の登録に必要なSEEDコード「SC−B1」を作成する(図11参照)。このとき、SEEDコード作成部51は、電子キーデータベース22を参照することにより、いま登録対象となっているID−1の暗号鍵が「鍵−1を」あることを割り出し、その「鍵−1」を、交換用ECU24の車載器センター鍵Kvcである「鍵−B」に通し、SEEDコードSCとして「SC−B1」を作成する。なお、ステップ107〜109が暗号鍵抽出ステップに相当する。   In step 109, when receiving the SEED creation request R3 from the replacement ECU 24, the SEED code creating unit 51 creates the SEED code “SC-B1” necessary for registering the encryption key “key-1” (see FIG. 11). . At this time, the SEED code creation unit 51 refers to the electronic key database 22 to determine that the encryption key of ID-1 currently registered is “key-1”, and the “key-1” ”Is passed through“ key-B ”which is the vehicle-mounted device center key Kvc of the replacement ECU 24, and“ SC-B1 ”is created as the SEED code SC. Steps 107 to 109 correspond to an encryption key extraction step.

ステップ110において、SEEDコード通知部52は、センター20において作成したSEEDコード「SC−B1」を、登録ツール19を通じて交換用ECU24に通知する(図12参照)。なお、ステップ110が暗号鍵通知ステップに相当する。   In step 110, the SEED code notifying unit 52 notifies the replacement ECU 24 of the SEED code “SC-B1” created in the center 20 through the registration tool 19 (see FIG. 12). Step 110 corresponds to an encryption key notification step.

ステップ111において、SEEDコード復号部53は、センター20から取得したSEEDコード「SC−B1」を、交換用ECU24に登録された車載器センター鍵「鍵−B」で復号することにより、暗号鍵「鍵−1」を生成する(図12参照)。   In step 111, the SEED code decrypting unit 53 decrypts the SEED code “SC-B 1” acquired from the center 20 with the vehicle-mounted device center key “key-B” registered in the replacement ECU 24, thereby obtaining the encryption key “ Key-1 "is generated (see FIG. 12).

ステップ112において、SEEDコード復号部53は、復号により生成した暗号鍵「鍵−1」を、電子キーID「ID−1」用の暗号鍵として、直納電子キーの暗号鍵書込み欄34に書き込み保存する(図12参照)。以上により、直納用電子キーの電子キーID及び暗号鍵を交換用ECU24に登録する作業が終了する。なお、ステップ111及び112が暗号鍵登録ステップに相当する。   In step 112, the SEED code decryption unit 53 writes and saves the encryption key “key-1” generated by the decryption as the encryption key for the electronic key ID “ID-1” in the encryption key writing field 34 of the direct delivery electronic key. (See FIG. 12). Thus, the operation for registering the electronic key ID and the encryption key of the direct delivery electronic key in the replacement ECU 24 is completed. Steps 111 and 112 correspond to an encryption key registration step.

ステップ113において、データベース反映部54は、車載器データベース21を更新するために、データベース反映要求R4を登録ツール19経由でセンター20に送信する(図13参照)。   In step 113, the database reflection unit 54 transmits a database reflection request R4 to the center 20 via the registration tool 19 in order to update the vehicle-mounted device database 21 (see FIG. 13).

ステップ114において、センター20は、登録ツール19からデータベース反映要求R4を入力すると、車載器データベース21において交換用ECU24の電子キーID書込み欄46及び暗号鍵書込み欄47に、いま登録が済んだ電子キー2の電子キーID「ID−1」及び暗号鍵「鍵−1」を書き込み、車載器データベース21を更新する(図13参照)。なお、ステップ113及び114がデータベース反映ステップに相当する。   In step 114, when the center 20 inputs the database reflection request R 4 from the registration tool 19, the electronic key that has just been registered in the electronic key ID writing field 46 and the encryption key writing field 47 of the replacement ECU 24 in the in-vehicle device database 21. The electronic key ID “ID-1” of 2 and the encryption key “key-1” are written, and the in-vehicle device database 21 is updated (see FIG. 13). Steps 113 and 114 correspond to the database reflection step.

本実施形態の構成によれば、以下に記載の効果を得ることができる。
(1)交換用ECU24のキー登録時には、交換前ECU23の車載器IDを、登録ツール19を介してセンター20に通知し、その車載器IDに登録されていた電子キー2のみ登録が許可される。よって、交換用ECU24へのキー登録に登録制限がかかるので、キー登録のセキュリティ性を確保することができる。このため、交換用ECU24に別の任意のキーが登録されてしまったり、別ECUに登録済みのキーを交換用ECU24に登録されてしまったりするなどの状況が生じない。
According to the configuration of the present embodiment, the following effects can be obtained.
(1) At the time of key registration of the replacement ECU 24, the vehicle-mounted device ID of the ECU 23 before replacement is notified to the center 20 via the registration tool 19, and only the electronic key 2 registered in the vehicle-mounted device ID is allowed to be registered. . Therefore, registration restrictions are imposed on the key registration in the replacement ECU 24, so that the security of key registration can be ensured. For this reason, a situation in which another arbitrary key is registered in the replacement ECU 24 or a key registered in another ECU is not registered in the replacement ECU 24 does not occur.

(2)交換用ECU24へのキー登録の際、センター20から登録ツール19を経由して交換用ECU24に通知するSEEDコード「SC−B1」は、車載器センター鍵Kvcで暗号化される。よって、SEEDコード「SC−B1」を秘匿性の高いコードとして生成することが可能となるので、キー登録のセキュリティ性確保に効果が高くなる。   (2) When the key is registered in the replacement ECU 24, the SEED code “SC-B1” notified from the center 20 to the replacement ECU 24 via the registration tool 19 is encrypted with the vehicle-mounted device center key Kvc. Therefore, since the SEED code “SC-B1” can be generated as a highly confidential code, the effect of ensuring the security of key registration is enhanced.

(3)交換用ECU24にキー登録が済まされた際には、その内容がセンター20の車載器データベース21に反映されるので、センター20で管理する車載器データベース21を最適化することができる。   (3) When the key registration is completed in the replacement ECU 24, the contents are reflected in the vehicle-mounted device database 21 of the center 20, so that the vehicle-mounted device database 21 managed by the center 20 can be optimized.

(4)照合ECU4(交換前ECU23、交換用ECU24)への電子キー2の登録には、手元に登録ツール19がないと実施できない。よって、登録ツール19を所持する正規作業者でないとキー登録を行うことができないので、キー登録のセキュリティ性確保に効果が高くなる。   (4) Registration of the electronic key 2 to the verification ECU 4 (pre-replacement ECU 23, replacement ECU 24) cannot be performed without the registration tool 19 at hand. Therefore, since key registration can only be performed by a regular worker who possesses the registration tool 19, it is highly effective in ensuring the security of key registration.

(5)交換用ECU24へのキー登録時、センター20は、交換前ECU23の車載器IDと、交換用ECU24の車載器IDと、いま登録対象となっている電子キー2の電子キーIDとを必要とする。よって、交換用ECU24へのキー登録時には、これら3つのIDが必要となるので、キー登録をセキュリティ性よく実施することができる。   (5) At the time of key registration to the replacement ECU 24, the center 20 obtains the vehicle-mounted device ID of the pre-replacement ECU 23, the vehicle-mounted device ID of the replacement ECU 24, and the electronic key ID of the electronic key 2 currently registered. I need. Therefore, since these three IDs are required when registering the key in the replacement ECU 24, the key registration can be performed with high security.

なお、実施形態はこれまでに述べた構成に限らず、以下の態様に変更してもよい。
・交換前ECU23に複数の電子キー2が登録されていた場合、交換用ECU24のキー登録作業において、交換前ECU23に登録されていた全キーを、交換用ECU24に一度に登録可能としてもよい。
Note that the embodiment is not limited to the configuration described so far, and may be modified as follows.
When a plurality of electronic keys 2 are registered in the pre-replacement ECU 23, all keys registered in the pre-replacement ECU 23 may be registered in the replacement ECU 24 at a time in the key registration operation of the replacement ECU 24.

・ステップ101において、登録ツール19に交換前ECU23の車載器IDが入力された際、この車載器IDを、直ちにセンター20に送るようにしてもよい。
・交換前ECU23の車載器IDの通知は、登録ツール19を用いてセンター20に通知する形式に限定されない。例えば、作業者が電話やFAXなどで、交換前ECU23の車載器IDをセンター20に通知してもよい。
In step 101, when the vehicle-mounted device ID of the pre-replacement ECU 23 is input to the registration tool 19, this vehicle-mounted device ID may be immediately sent to the center 20.
-Notification of onboard equipment ID of ECU23 before exchange is not limited to the format notified to the center 20 using the registration tool 19. FIG. For example, the worker may notify the center 20 of the vehicle-mounted device ID of the ECU 23 before replacement by telephone or FAX.

・センター20から交換用ECU24に通知するSEEDコードSCは、車載器センター鍵Kvcで暗号化されたコードに限定されない。要は、秘匿性が確保できればよく、他の暗号方式を適宜採用可能である。   The SEED code SC notified from the center 20 to the replacement ECU 24 is not limited to a code encrypted with the vehicle-mounted device center key Kvc. In short, it is only necessary to ensure confidentiality, and other encryption methods can be adopted as appropriate.

・ID照合で使用する暗号通信は、チャレンジレスポンス認証に限定されず、他の暗号認証を採用可能である。
・制御装置の識別IDは、車載器IDに限定されず、照合ECU4を区別できる情報であればよい。
-Encryption communication used for ID verification is not limited to challenge-response authentication, and other encryption authentication can be employed.
-Identification ID of a control apparatus is not limited to onboard equipment ID, What is necessary is just information which can distinguish collation ECU4.

・車両1と登録ツール19との通信は、有線に限らず、無線としてもよい。
・車両1や電子キー2は、センター20との通信を、全て登録ツール19を介して行うことに限定されない。例えば、車両1や電子キー2にネットワーク通信機能を設けておき、これらがセンター20と直に通信可能としてもよい。
The communication between the vehicle 1 and the registration tool 19 is not limited to wired communication but may be wireless.
The vehicle 1 and the electronic key 2 are not limited to performing all communication with the center 20 via the registration tool 19. For example, a network communication function may be provided in the vehicle 1 or the electronic key 2 so that these can communicate directly with the center 20.

・電子キー登録システム16の登録方式は、実施形態に述べた方式(SEEDコードSCを使用した方式)に限定されず、電子キー2を照合ECU4(車両1)に登録できれば、他の内容に適宜変更可能である。   The registration method of the electronic key registration system 16 is not limited to the method described in the embodiment (a method using the SEED code SC). If the electronic key 2 can be registered in the verification ECU 4 (vehicle 1), other contents are appropriately set. It can be changed.

・電子キー登録システム16は、登録ツール19を使用せず、例えば車両1と電子キー2とセンター20とから構築されてもよい。
・キー登録は、電子キーID及び暗号鍵Kcrの両方を登録する作業に限定されず、これらの一方のみ登録する形式でもよい。
The electronic key registration system 16 may be constructed from, for example, the vehicle 1, the electronic key 2, and the center 20 without using the registration tool 19.
The key registration is not limited to the operation of registering both the electronic key ID and the encryption key Kcr, and may be a format in which only one of them is registered.

・電子キー登録システム16は、初回登録及び追加登録の両方を有することに限定されず、一方のみを持つシステムとしてもよい。
・電子キー登録システム16は、車両1に採用されることに限定されず、他の機器や装置に適用可能である。
The electronic key registration system 16 is not limited to having both initial registration and additional registration, and may be a system having only one.
The electronic key registration system 16 is not limited to being employed in the vehicle 1 and can be applied to other devices and apparatuses.

・電子キー2は、電子照合としてイモビライザー照合のみ可能なキーでもよい。
・電子キー2は、車載器IDが書き込まれていないキーでもよい。即ち、車両1とのキー照合において車載器ID照合が課されないキーでもよい。
The electronic key 2 may be a key capable of only immobilizer verification as electronic verification.
The electronic key 2 may be a key in which the vehicle-mounted device ID is not written. That is, a key to which no vehicle-mounted device ID verification is imposed in key verification with the vehicle 1 may be used.

・電子キー2に暗号鍵Kcrを予め保存しておくことに限定されない。例えば、電子キー2とセンター20との間で対応付けられた電子キーセンター鍵を両者に登録しておき、暗号鍵Kcrを電子キーセンター鍵で暗号化して送付する形式をとってもよい。   It is not limited to storing the encryption key Kcr in the electronic key 2 in advance. For example, an electronic key center key associated with the electronic key 2 and the center 20 may be registered in both, and the encryption key Kcr may be encrypted with the electronic key center key and sent.

1…通信対象としての車両、2(2a,2b)…電子キー、4…制御装置としての照合ECU、16…電子キー登録システム、19…登録ツール、20…センター、21…データベースを構成する車載器データベース、22…データベースを構成する電子キーデータベース、23…交換前の制御装置としての交換前ECU、24…交換後の制御装置としての交換用ECU、Kcr…暗号鍵、SC(SC−B1)…暗号コードとしてのSEEDコード、Kvc…制御装置専用鍵としての車載器センター鍵。   DESCRIPTION OF SYMBOLS 1 ... Vehicle as communication object, 2 (2a, 2b) ... Electronic key, 4 ... Verification ECU as control apparatus, 16 ... Electronic key registration system, 19 ... Registration tool, 20 ... Center, 21 ... Car-mounted which comprises a database Database, 22... Electronic key database constituting database, 23... Pre-replacement ECU as control device before replacement, 24... Replacement ECU as control device after replacement, Kcr... Encryption key, SC (SC-B1) ... SEED code as encryption code, Kvc ... OBE center key as a key for the control device.

Claims (4)

通信対象の制御装置に電子キーのキーID及び暗号鍵を関連付けて書き込むことにより、当該電子キーを前記通信対象に登録して、前記通信対象と前記電子キーとを暗号通信により通信可能とする電子キー登録方法において、
交換前の制御装置の識別IDをセンターが取得するID通知ステップと、
前記識別IDを基に前記センターが、交換前の制御装置に登録されていたキーIDに対応する暗号鍵を割り出し、その割り出した暗号鍵を、前記制御装置と前記センターとの間で対応付けられた制御装置専用鍵によって暗号化して、前記センターが暗号コードを生成する暗号鍵抽出ステップと、
前記暗号コードを交換後の制御装置が取得する暗号鍵通知ステップと、
前記交換後の制御装置が、自身に予め書き込み保存された前記制御装置専用鍵により前記暗号コードを復号し、それにより求まった前記暗号鍵を、当該交換後の制御装置が自身のメモリに登録する暗号鍵登録ステップと
備えたことを特徴とする電子キー登録方法
An electronic device that registers the electronic key in the communication target by writing the key ID and the encryption key of the electronic key in association with each other in the communication target control device so that the communication target and the electronic key can communicate with each other by encrypted communication. In the key registration method ,
An ID notification step in which the center acquires the identification ID of the control device before replacement;
Wherein said center identification ID on the basis of indexing the encryption key corresponding to the key ID which has been registered in the control unit before the replacement, the indexing and the encryption key, associated between said center and said control device An encryption key extracting step in which the center generates an encryption code by encrypting with the control device dedicated key;
An encryption key notification step acquired by the control device after exchanging the encryption code;
The control device after the exchange decrypts the encryption code with the key dedicated to the control device written and stored in advance, and the control device after the exchange registers it in its own memory. electronic key registration method characterized by comprising the encryption key registration step.
記電子キーが前記制御装置に登録された後、この登録内容を前記センターが、前記電子キー及び前記制御装置の詳細を管理するデータベースに反映するデータベース反映ステップを備えた
ことを特徴とする請求項1に記載の電子キー登録方法
After the pre-Symbol electronic key registered in the controller, is the registered contents the center, that <br/> having a database reflecting step of reflecting the database to manage the details of the electronic key and the control device The electronic key registration method according to claim 1, wherein:
前記交換後の制御装置への前記電子キーの登録を、登録ツールを使用して実行する
ことを特徴とする請求項1又は2に記載の電子キー登録方法
3. The electronic key registration method according to claim 1, wherein registration of the electronic key to the control device after the replacement is performed using a registration tool.
前記センターは、前記電子キー及び前記制御装置の詳細を管理するデータベースを備え、
前記交換後の制御装置は、前記ID通知ステップにおいて、前記交換前の制御装置の識別IDと、前記交換後の制御装置の識別IDと、いま登録されようとしている前記電子キーのキーIDとを、前記センターに通知し、
前記センターは、前記暗号鍵抽出ステップにおいて、いま登録されようとしている電子キーが前記交換前の制御装置に登録されていたかを、前記データベースを参照することにより確認し、これが確認できれば、前記交換後の制御装置に関連する前記制御装置専用鍵によって前記暗号鍵を暗号化し、前記暗号コードを作成する
ことを特徴とする請求項1〜3のうちいずれか一項に記載の電子キー登録方法
The center includes a database for managing details of the electronic key and the control device,
In the ID notification step, the control device after the replacement includes an identification ID of the control device before the replacement, an identification ID of the control device after the replacement, and a key ID of the electronic key that is about to be registered. , Notify the center,
In the encryption key extraction step, the center confirms by referring to the database whether the electronic key to be registered is registered in the control device before the exchange, and if this can be confirmed, 4. The electronic key registration method according to claim 1, wherein the encryption key is encrypted by using the control device dedicated key related to the control device to create the encryption code. 5.
JP2012108547A 2012-05-10 2012-05-10 Electronic key registration method Active JP6093514B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012108547A JP6093514B2 (en) 2012-05-10 2012-05-10 Electronic key registration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012108547A JP6093514B2 (en) 2012-05-10 2012-05-10 Electronic key registration method

Publications (2)

Publication Number Publication Date
JP2013234521A JP2013234521A (en) 2013-11-21
JP6093514B2 true JP6093514B2 (en) 2017-03-08

Family

ID=49760840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012108547A Active JP6093514B2 (en) 2012-05-10 2012-05-10 Electronic key registration method

Country Status (1)

Country Link
JP (1) JP6093514B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6050136B2 (en) * 2013-02-15 2016-12-21 株式会社東海理化電機製作所 Electronic key registration method
JP6050137B2 (en) * 2013-02-15 2016-12-21 株式会社東海理化電機製作所 Electronic key registration method
WO2016093368A1 (en) * 2014-12-12 2016-06-16 Kddi株式会社 Management device, key generating device, vehicle, maintenance tool, management system, management method, and computer program
JP6173411B2 (en) * 2014-12-12 2017-08-02 Kddi株式会社 Management device, vehicle, management system, management method, and computer program
JP5963337B1 (en) * 2015-09-11 2016-08-03 ニチユ三菱フォークリフト株式会社 Steering control device, vehicle, steering control method, and steering control program
KR101725146B1 (en) * 2015-12-15 2017-04-10 현대오트론 주식회사 Method for inspecting a immobilizer type
JP6190443B2 (en) 2015-12-28 2017-08-30 Kddi株式会社 In-vehicle computer system, vehicle, management method, and computer program
CN106485814B (en) * 2016-09-23 2019-01-01 奇瑞汽车股份有限公司 A kind of automobile remote-control matching process
WO2020170926A1 (en) * 2019-02-18 2020-08-27 株式会社オートネットワーク技術研究所 Onboard communications device, program, and communications method
CN116567579B (en) * 2023-07-07 2023-10-20 一汽解放汽车有限公司 Vehicle-mounted terminal data filling method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5144947B2 (en) * 2006-07-07 2013-02-13 ヤマハ発動機株式会社 Vehicle anti-theft system and vehicle equipped with anti-theft system
JP5437948B2 (en) * 2010-08-09 2014-03-12 株式会社東海理化電機製作所 Electronic key registration system

Also Published As

Publication number Publication date
JP2013234521A (en) 2013-11-21

Similar Documents

Publication Publication Date Title
JP6093514B2 (en) Electronic key registration method
JP5973224B2 (en) Electronic key registration method
JP5969263B2 (en) Electronic key registration system
JP6050136B2 (en) Electronic key registration method
JP5918004B2 (en) Electronic key registration system
JP5990406B2 (en) Electronic key registration method
JP6419588B2 (en) Mobile terminal additional registration system
WO2016189796A1 (en) Vehicle communication system, onboard device, and key issuing device
JP5922419B2 (en) Wireless communication system
US20140040621A1 (en) Mobile Electronic Device
JP5902597B2 (en) Electronic key registration system
WO2013114970A1 (en) Electronic key registration method and electronic key registration system
JP6050137B2 (en) Electronic key registration method
JP2019071559A (en) Car sharing system
JP6306364B2 (en) Mobile device registration system
US11485317B2 (en) Concept for provision of a key signal or an immobilizer signal for a vehicle
JP2011170530A (en) Device for setting encryption of authentication system
JP6147984B2 (en) Electronic key registration system
JP5956244B2 (en) Mobile device registration system
JP5985845B2 (en) Electronic key registration method
JP2019190110A (en) Key information generation system and key information generation method
JP5844663B2 (en) Use remedy
JP2020004044A (en) Authentication system and authentication method
JP6081708B2 (en) Electronic key registration system
JP5882783B2 (en) Electronic key registration system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160815

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

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150