JP2011111845A - Electronic key system - Google Patents

Electronic key system Download PDF

Info

Publication number
JP2011111845A
JP2011111845A JP2009271272A JP2009271272A JP2011111845A JP 2011111845 A JP2011111845 A JP 2011111845A JP 2009271272 A JP2009271272 A JP 2009271272A JP 2009271272 A JP2009271272 A JP 2009271272A JP 2011111845 A JP2011111845 A JP 2011111845A
Authority
JP
Japan
Prior art keywords
electronic key
code
vehicle
signal
common code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009271272A
Other languages
Japanese (ja)
Other versions
JP5249180B2 (en
Inventor
Masaki Hayashi
政樹 林
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 JP2009271272A priority Critical patent/JP5249180B2/en
Publication of JP2011111845A publication Critical patent/JP2011111845A/en
Application granted granted Critical
Publication of JP5249180B2 publication Critical patent/JP5249180B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To further improve security in an electronic key system. <P>SOLUTION: An electronic key 10 receives common code signals transmitted from an on-vehicle apparatus 20 when locking. In the next communication, the electronic key 10 extracts part of the common code signals received in the past several communications and includes accumulation codes comprising part of the extracted portion, in a response signal to carry out transmission. The on-vehicle apparatus 20 determines, through accumulation code collation, whether at least part of the common code signals transmitted in the past several communications is included in the received response signal. The on-vehicle apparatus 20 carries out various control with the establishment of accumulation code collation as one of conditions. The identification of the electronic key 10 is thus determined to prevent control of the on-vehicle apparatus 20 by an illegal means. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、無線通信にて制御対象の制御を可能とする電子キーシステムに関する。   The present invention relates to an electronic key system that enables control of a control target through wireless communication.

従来、車両用の電子キーシステムでは、電子キーと、車両に搭載される車載機との間での各種信号の送受信を通じてIDコード照合及びレスポンスコード照合が成立したときに車両ドア錠の施解錠、エンジン始動等が可能とされている。具体的には、電子キー及び車載機には同一のIDコード及び暗号鍵が記憶されている。そして、車載機から送信される要求信号に応じて、電子キーはIDコードを含む応答信号を送信する。車載機は、受信した応答信号に含まれるIDコードと、自身に記憶されるIDコードとの照合を行う。   Conventionally, in an electronic key system for a vehicle, when an ID code verification and a response code verification are established through transmission / reception of various signals between the electronic key and an in-vehicle device mounted on the vehicle, The engine can be started. Specifically, the same ID code and encryption key are stored in the electronic key and the in-vehicle device. And according to the request signal transmitted from the vehicle-mounted device, the electronic key transmits a response signal including the ID code. The in-vehicle device collates the ID code included in the received response signal with the ID code stored in itself.

また、車載機から送信される要求信号にはチャレンジコードが含まれている。電子キーは、受信した要求信号に含まれるチャレンジコードを、自身が記憶する暗号鍵を用いて暗号化することで、レスポンスコードを生成する。そして、電子キーは、レスポンスコードをIDコードとともに前記応答信号に含ませて送信する。車載機は、上記のようにチャレンジコードを含む要求信号を送信するとともに、自身が記憶する暗号鍵を用いてレスポンコードを生成する。そして、車載機は、受信した応答信号に含まれるレスポンスコードと、自身で生成したレスポンスコードとの照合を行う。このように、車載機は、電子キーとの間でIDコード照合及びレスポンスコード照合を行うことで、電子キーシステムのセキュリティ性を高めることができる(例えば、特許文献1参照。)。   The request signal transmitted from the in-vehicle device includes a challenge code. The electronic key generates a response code by encrypting the challenge code included in the received request signal using the encryption key stored in the electronic key. The electronic key transmits the response code together with the ID code in the response signal. The in-vehicle device transmits a request signal including the challenge code as described above, and generates a response code using the encryption key stored by itself. Then, the in-vehicle device collates the response code included in the received response signal with the response code generated by itself. Thus, the vehicle-mounted device can improve the security of the electronic key system by performing ID code verification and response code verification with the electronic key (see, for example, Patent Document 1).

特開2008−127894号公報JP 2008-127894 A

ところで、近年の通信技術の発達に伴い、要求信号及び応答信号が第三者により傍受されてIDコードが不正に取得されるおそれがある。また、例えば、暗号鍵の盗難等によって同暗号鍵が解読されるおそれがある。これにより、不正にレスポンスコードが生成され、レスポンスコード及びIDコードを含む応答信号が車載機に送信された場合、不正に車両ドアが解錠等されることが懸念されている。なお、こうした問題は、車両用の電子キーシステムに限らず、例えば住宅用の電子キーシステムにおいても同様に生じうる。こうした状況にあって、上述した不正手段に対して、さらなるセキュリティ性の向上が望まれていた。   By the way, with the recent development of communication technology, there is a possibility that the request signal and the response signal are intercepted by a third party and the ID code is illegally acquired. Further, for example, the encryption key may be decrypted due to theft of the encryption key or the like. Thereby, when a response code is illegally generated and a response signal including the response code and the ID code is transmitted to the in-vehicle device, there is a concern that the vehicle door is illegally unlocked. Such a problem may occur not only in a vehicle electronic key system but also in a residential electronic key system, for example. Under such circumstances, it has been desired to further improve the security against the illegal means described above.

この発明は、こうした実情に鑑みてなされたものであり、その目的は、よりセキュリティ性を向上させた電子キーシステムを提供することにある。   The present invention has been made in view of such circumstances, and an object thereof is to provide an electronic key system with further improved 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 carried by the user communicates with the control device by transmitting a response signal in response to a request signal from the control device that controls a specific control target. In the electronic key system in which the control device executes control of the control target when the communication is established, the control device performs the next communication with the electronic key to be communicated this time when communicating with the electronic key. A common code signal for confirming whether or not the electronic key to be communicated is the same is transmitted to the electronic key, and the electronic key is received at the time of the next communication at the time of the previous communication. Transmitting a wireless signal including at least a part of a code signal, and the control device determines that the received wireless signal includes at least a part of the common code signal transmitted in a previous communication. When, the previous and current of the electronic key to determine that the same, and its gist to perform the control of the control target.

同構成によれば、電子キーは、前回の通信の際に制御装置から送信される共通コード信号を受信する。そして、次回の通信において、電子キーは、前回の通信に受信した共通コード信号の少なくとも一部を無線信号に含ませて送信する。制御装置は、受信した無線信号に前回の通信時に送信された前記共通コード信号の少なくとも一部が含まれているか否か判断する。制御装置は、受信した無線信号に前回の通信時に送信された共通コード信号の少なくとも一部が含まれる旨判断したとき、制御対象の制御を実行する。一方、制御装置は、受信した無線信号に前回の通信時に送信された共通コード信号の少なくとも一部が含まれていない旨判断したとき、前回の通信と次回の通信とで使用される電子キーが同一でないとして、制御対象の制御を実行しない。具体的には、この場合、次回の通信において正規の電子キーからではなく、不正な手段にて応答信号が送信されているおそれがある。このように、前回及び今回の通信に利用される電子キーの同一性を保証することで、上記不正な手段による制御対象の制御を防止する。これにより、電子キーシステムのセキュリティの向上が図れる。   According to this configuration, the electronic key receives the common code signal transmitted from the control device during the previous communication. In the next communication, the electronic key transmits a wireless signal including at least a part of the common code signal received in the previous communication. The control device determines whether or not the received radio signal includes at least a part of the common code signal transmitted during the previous communication. When it is determined that the received radio signal includes at least a part of the common code signal transmitted during the previous communication, the control device executes control of the control target. On the other hand, when the control device determines that the received wireless signal does not include at least a part of the common code signal transmitted during the previous communication, the electronic key used in the previous communication and the next communication is The control target is not executed assuming that they are not the same. Specifically, in this case, there is a possibility that the response signal is transmitted by an unauthorized means in the next communication, not from an authorized electronic key. As described above, the identity of the electronic key used for the previous communication and the current communication is ensured, thereby preventing the control target from being controlled by the unauthorized means. Thereby, the security of the electronic key system can be improved.

請求項2に記載の発明は、請求項1に記載の電子キーシステムにおいて、前記電子キーは、前回の通信以前に受信した過去所定回分の前記各共通コード信号の少なくとも一部を前記無線信号に含ませて送信し、前記制御装置は、受信した前記無線信号に、前回の通信以前に送信した過去所定回分の前記各共通コード信号の少なくとも一部が含まれている旨判断したとき、前記制御対象の制御を実行することをその要旨としている。   According to a second aspect of the present invention, in the electronic key system according to the first aspect, the electronic key uses at least a part of the common code signals for the past predetermined number of times received before the previous communication as the radio signal. When the control device determines that the received wireless signal includes at least a part of the common code signal for the past predetermined number of times transmitted before the previous communication, the control device The gist is to execute the control of the object.

同構成によれば、電子キーは、前回の通信以前の過去所定回の各共通コード信号の少なくとも一部を無線信号に含ませて送信する。具体的には、無線信号に、前回の通信以前に送信した過去所定回の各共通コード信号の少なくとも一部が含まれている旨判断される場合、電子キーの同一性が保証される。これにより、前回の通信時に共通コード信号が傍受された場合であっても、不正に上記無線信号と同一信号を生成することができない。従って、不正に制御装置を通じて制御対象が制御されることはない。以上により、今回の通信において利用される電子キーと、前回の通信のみならず、それ以前の通信に利用された電子キーとの同一性の保証が可能となる。これにより、いっそう電子キーシステムのセキュリティ性の向上が図れる。   According to this configuration, the electronic key transmits a wireless signal including at least part of each common code signal of the past predetermined number of times before the previous communication. Specifically, when it is determined that the wireless signal includes at least a part of each common code signal of the past predetermined times transmitted before the previous communication, the identity of the electronic key is guaranteed. Thereby, even if the common code signal is intercepted during the previous communication, the same signal as the wireless signal cannot be illegally generated. Therefore, the controlled object is not controlled through the control device illegally. As described above, it is possible to guarantee the identity between the electronic key used in the current communication and the electronic key used in the previous communication as well as the previous communication. As a result, the security of the electronic key system can be further improved.

請求項3に記載の発明は、請求項1又は2に記載の電子キーシステムにおいて、前記制御対象はドアロック装置であって、前記制御装置は前記ドアロック装置を通じてドアの施錠制御を実行したときに、前記共通コード信号を送信することをその要旨としている。   According to a third aspect of the present invention, in the electronic key system according to the first or second aspect, the control target is a door lock device, and the control device executes a door locking control through the door lock device. In addition, the gist is to transmit the common code signal.

同構成によれば、ドアの施錠時に制御装置から電子キーに共通コード信号が送信される。すなわち、ドアの施錠時における共通コード信号の送信によって次回の通信に備えて、電子キーの同一性の判断基準が更新されるため、次回のドアの解錠に係る通信時には更新された判断基準にて電子キーの同一性の判断がされる。ここで、ドアの解錠時に電子キーの同一性の保証がされれば、それ以降ドア解錠時までに、不正に通信が行われる可能性は低い。これは、例えば、制御装置が車両又は住宅の場合、不正に通信が行われるのは、主にユーザが車両又は住宅から離れたとき、すなわちドア施錠状態のときだからである。このように、施錠時に判断基準を更新することで、不正の通信が実行され易い解錠に係る通信時には更新された判断基準にて電子キーの同一性の判断がされる。よって、電子キーシステムのセキュリティ性を確保しつつ、ドア解錠時等における共通コード信号の送信を省略できる。   According to this configuration, a common code signal is transmitted from the control device to the electronic key when the door is locked. In other words, because the standard for judging the identity of the electronic key is updated in preparation for the next communication by sending a common code signal when the door is locked, the updated judgment standard is used for the communication related to unlocking the next door. Thus, the identity of the electronic key is determined. Here, if the identity of the electronic key is guaranteed when the door is unlocked, the possibility of unauthorized communication after that is low before the door is unlocked. This is because, for example, when the control device is a vehicle or a house, unauthorized communication is performed mainly when the user leaves the vehicle or the house, that is, when the door is locked. As described above, by updating the determination criterion at the time of locking, the identity of the electronic key is determined based on the updated determination criterion at the time of communication related to unlocking in which unauthorized communication is easily performed. Therefore, transmission of the common code signal at the time of unlocking the door can be omitted while securing the security of the electronic key system.

本発明によれば、電子キーシステムにおいて、よりセキュリティ性を向上させることができる。   According to the present invention, security can be further improved in an electronic key system.

電子キーシステムの構成図。The block diagram of an electronic key system. 各種信号のタイミングチャート。Timing chart of various signals. 共通コード及び更新前後の蓄積コードの構成図。The block diagram of the common code and the accumulation code before and after the update.

以下、本発明にかかる電子キーシステムを具体化した一実施形態について図1〜図3を参照して説明する。
図1に示されるように、電子キーシステム1は、車両2の運転者によって所持される電子キー10と、車両2に搭載される車載機20と、を備えている。電子キー10と車載機20との間で自動的に相互通信が行われ、その相互通信が車外及び車内にて成立したことを一条件としてドア錠の施解錠及びエンジンの始動が可能となる。
Hereinafter, an embodiment embodying an electronic key system according to the present invention will be described with reference to FIGS.
As shown in FIG. 1, the electronic key system 1 includes an electronic key 10 possessed by a driver of the vehicle 2 and an in-vehicle device 20 mounted on the vehicle 2. Mutual communication is automatically performed between the electronic key 10 and the vehicle-mounted device 20, and the door lock can be locked and unlocked and the engine can be started on the condition that the mutual communication is established outside and inside the vehicle.

<車載機>
車載機20は、CPU、ROM、RAM等からなるコンピュータユニットを備えて構成されている。車載機20は、図1に示すように、各種車載機器を制御する車載制御部21と、その車載制御部21に電気的に接続された車外送信部22、車内送信部23及び車載受信部24とを備えている。
<In-vehicle device>
The in-vehicle device 20 includes a computer unit including a CPU, a ROM, a RAM, and the like. As illustrated in FIG. 1, the in-vehicle device 20 includes an in-vehicle control unit 21 that controls various in-vehicle devices, an in-vehicle transmission unit 22, an in-vehicle transmission unit 23, and an in-vehicle reception unit 24 that are electrically connected to the in-vehicle control unit 21. And.

また、図1に示すように、車載制御部21には、エンジン始動時に操作されるエンジンスイッチ33と、自動で車両ドアの施解錠を行うドアロック装置34と、車両2のエンジンを始動させるエンジン制御装置35と、アウトサイドドアハンドル(図示略)に設けられてユーザの同ドアハンドルへの接触の有無を検出するドアハンドルセンサ32と、同じくドアハンドルに設けられる施錠時に操作されるロックスイッチ36とが電気的に接続されている。   As shown in FIG. 1, the in-vehicle control unit 21 includes an engine switch 33 that is operated when the engine is started, a door lock device 34 that automatically locks and unlocks the vehicle door, and an engine that starts the engine of the vehicle 2. A control device 35, a door handle sensor 32 that is provided on an outside door handle (not shown) and detects whether or not the user touches the door handle, and a lock switch 36 that is also provided on the door handle and is operated during locking. And are electrically connected.

車外送信部22は、例えば、上記ドアハンドルの内部に設けられる。車外送信部22は、車載制御部21から要求信号が入力されると、その要求信号をLF帯の無線信号に変調して、この変調された要求信号を一定の間欠周期で車外送信アンテナ22aを介して車両2の周辺に設定される車外通信エリアに送信する。   The outside transmission unit 22 is provided, for example, inside the door handle. When the request signal is input from the in-vehicle control unit 21, the vehicle exterior transmission unit 22 modulates the request signal into an LF band radio signal, and the modulated request signal is transmitted to the vehicle exterior transmission antenna 22a at a constant intermittent period. To the outside communication area set around the vehicle 2.

車内送信部23は、車内に設けられるとともに、車載制御部21から要求信号が入力されると、その要求信号をLF帯の無線信号に変調して、この変調された要求信号を一定の間欠周期で車内送信アンテナ23aを介して車内に設定される車内通信エリアに送信する。   The in-vehicle transmission unit 23 is provided in the vehicle, and when a request signal is input from the in-vehicle control unit 21, the request signal is modulated into an LF-band radio signal, and the modulated request signal is transmitted at a constant intermittent period. Then, the signal is transmitted to the in-vehicle communication area set in the vehicle via the in-vehicle transmission antenna 23a.

車載受信部24は、受信アンテナ24aを介して電子キー10から送信される応答信号を受信すると、この信号をパルス信号に復調し、この復調された応答信号を車載制御部21へ出力する。   When receiving the response signal transmitted from the electronic key 10 via the receiving antenna 24 a, the in-vehicle receiving unit 24 demodulates this signal into a pulse signal and outputs the demodulated response signal to the in-vehicle control unit 21.

車載制御部21は、例えば、EEPROM等からなる不揮発性のメモリ21aを備え、そのメモリ21aには対応する電子キー10に設定されたIDコードと同一のIDコード、後述する多数の共通コードが羅列されるデータからなる共通コード群、及びレスポンスコードの算出に利用される暗号鍵、後述する共通コード信号に基づき更新される蓄積コードが記憶されている。   The in-vehicle control unit 21 includes, for example, a non-volatile memory 21a composed of an EEPROM or the like, and the same ID code as the ID code set in the corresponding electronic key 10 and a number of common codes to be described later are listed in the memory 21a. A common code group consisting of data to be processed, an encryption key used for calculating a response code, and a storage code updated based on a common code signal to be described later are stored.

車載制御部21は、車外送信部22及び車内送信部23に対して要求信号を間欠的にそれぞれ異なるタイミングで出力する。そして、車載制御部21は車載受信部24を通じて要求信号に応答して電子キー10から送信された応答信号を受信する。   The in-vehicle control unit 21 intermittently outputs request signals to the outside transmission unit 22 and the in-vehicle transmission unit 23 at different timings. The in-vehicle control unit 21 receives the response signal transmitted from the electronic key 10 in response to the request signal through the in-vehicle receiving unit 24.

この応答信号には、IDコード、蓄積コード及びレスポンスコードが含まれている。ここで、蓄積コードとは、簡単に説明すると、車両ドアの施錠毎に車載機20から送信される共通コード信号Scoに基づき更新されるコードである。蓄積コードは、電子キー10及び車載機20によりそれぞれ更新される。蓄積コード及び共通コード信号Scoについては、詳しくは後述する。   This response signal includes an ID code, an accumulation code, and a response code. Here, the storage code is a code updated based on the common code signal Sco transmitted from the in-vehicle device 20 every time the vehicle door is locked. The storage code is updated by the electronic key 10 and the in-vehicle device 20, respectively. The accumulation code and the common code signal Sco will be described later in detail.

車載制御部21は、応答信号に含まれるIDコードとメモリ21aに記憶されたIDコードとの照合を行うとともに、応答信号に含まれる蓄積コード及び自身が更新してメモリ21aに記憶される蓄積コードの照合を行う。両照合が成立した際、車載制御部21は、電子キー10から送信された応答信号が車外送信部22、車内送信部23のどちらから送信された要求信号に応答したものであるかに基づいて、車外照合又は車内照合の何れが成立したかを判断する。なお、車外送信部22を介して車外に存在する電子キー10との間で上記両照合を行うことを車外照合といい、車内送信部23を介して車内に存在する電子キー10との間で上記両照合を行うことを車内照合という。   The in-vehicle controller 21 collates the ID code included in the response signal with the ID code stored in the memory 21a, and updates the stored code included in the response signal and the stored code stored in the memory 21a. Perform the verification. When both verifications are established, the in-vehicle control unit 21 determines whether the response signal transmitted from the electronic key 10 is a response to the request signal transmitted from the in-vehicle transmission unit 22 or the in-vehicle transmission unit 23. Then, it is determined whether the outside verification or the in-vehicle verification is established. Note that performing the above-described collation with the electronic key 10 existing outside the vehicle via the vehicle outside transmission unit 22 is called vehicle outside verification, and between the electronic key 10 existing inside the vehicle via the vehicle inside transmission unit 23. Performing both the above verifications is called in-vehicle verification.

車両ドアの施錠状態において車外照合が成立した場合には、車載制御部21は、車両ドア解錠可能状態とする。この解錠可能状態において、車載制御部21はユーザがドアハンドル(図示略)に触れたことを、ドアハンドルセンサ32を通じて検知したとき、ドアロック装置34を介して車両ドアを解錠する。   When vehicle exterior verification is established in the locked state of the vehicle door, the in-vehicle control unit 21 sets the vehicle door unlockable state. In this unlockable state, the vehicle-mounted control unit 21 unlocks the vehicle door via the door lock device 34 when detecting that the user has touched the door handle (not shown) through the door handle sensor 32.

また、車両ドアの解錠状態において車外照合が成立した場合、車載制御部21は、ドアハンドルに設けられるロックスイッチ36の操作を検知すると、ドアロック装置34を介して車両ドアを施錠する。ドアロック装置34を通じて実際に施錠状態が検出されたとき、車載制御部21は、メモリ21aに記憶される共通コード群のうちランダムに一つを選択し、この選択された共通コードからなる共通コード信号Scoを、車外送信部22を介して車外通信エリアに送信する。また、車載制御部21は、選択した共通コードに基づき蓄積コードを更新する。蓄積コードの更新方法については、後で詳述する。   When vehicle exterior verification is established in the unlocked state of the vehicle door, the in-vehicle control unit 21 locks the vehicle door via the door lock device 34 when detecting the operation of the lock switch 36 provided on the door handle. When the locked state is actually detected through the door lock device 34, the in-vehicle control unit 21 selects one of the common code groups stored in the memory 21a at random, and the common code including the selected common code. The signal Sco is transmitted to the outside communication area via the outside transmission unit 22. Moreover, the vehicle-mounted control part 21 updates an accumulation code based on the selected common code. The method for updating the storage code will be described in detail later.

また、車内照合が成立した場合にはエンジンの始動が許可された状態とされる。この状態において、運転席近傍に設置されるエンジンスイッチ33が操作されると、その操作信号が車載制御部21に出力される。車載制御部21は、エンジン始動許可状態において前記操作信号を検知すると、エンジン制御装置35に指令信号を出力する。エンジン制御装置35は、当該指令信号に基づき、図示しないセルモータを駆動させてエンジンを始動させる。   Further, when the in-vehicle verification is established, the engine is allowed to start. In this state, when the engine switch 33 installed in the vicinity of the driver's seat is operated, the operation signal is output to the in-vehicle control unit 21. The vehicle-mounted control unit 21 outputs a command signal to the engine control device 35 when detecting the operation signal in the engine start permission state. Based on the command signal, the engine control device 35 drives a cell motor (not shown) to start the engine.

<電子キー>
電子キー10は、無線通信機能を有し、車載機20との相互通信を通じて、各種車載機器の制御を行う。電子キー10は、CPU、ROM、RAM等からなるコンピュータユニットによって構成された電子キー制御部11と、その電子キー制御部11に電気的に接続されてLF帯の無線信号を受信するLF受信部12と、UHF帯の無線信号を送信するUHF送信部13とからなる。
<Electronic key>
The electronic key 10 has a wireless communication function, and controls various in-vehicle devices through mutual communication with the in-vehicle device 20. The electronic key 10 includes an electronic key control unit 11 configured by a computer unit including a CPU, a ROM, a RAM, and the like, and an LF reception unit that is electrically connected to the electronic key control unit 11 and receives an LF band radio signal. 12 and a UHF transmitter 13 for transmitting a radio signal in the UHF band.

LF受信部12は、車載機20から送信されるLF帯の無線信号である要求信号及び共通コード信号Scoを受信すると、これら要求信号及び共通コード信号Scoをパルス信号に復調し、この復調された信号を電子キー制御部11へ出力する。電子キー制御部11は、復調された共通コード信号Scoに含まれる共通コードの一部を抽出し、抽出したコードに基づき蓄積コードを更新する。このように、共通コード信号Scoを受信する毎に蓄積コードが更新されるとともに、この更新された蓄積コードがメモリ11aに記憶される。   When the LF receiver 12 receives the request signal and the common code signal Sco which are LF band radio signals transmitted from the in-vehicle device 20, the LF receiver 12 demodulates the request signal and the common code signal Sco into a pulse signal, and demodulates the signal. A signal is output to the electronic key control unit 11. The electronic key control unit 11 extracts a part of the common code included in the demodulated common code signal Sco, and updates the accumulated code based on the extracted code. In this way, every time the common code signal Sco is received, the accumulated code is updated, and the updated accumulated code is stored in the memory 11a.

電子キー制御部11には、例えば、EEPROM等からなる不揮発性のメモリ11aが設けられる。メモリ11aには上記蓄積コード、電子キー10に固有のIDコード及びチャレンジコードの暗号化に利用される暗号鍵が記憶されている。電子キー制御部11は、LF受信部12から復調された要求信号が入力されると、受信データを読み取るとともに、メモリ11aに登録されたIDコード及び蓄積コードを含む応答信号をUHF送信部13へ出力する。そして、電子キー10は、UHF送信部13を介してUHF帯の無線信号である応答信号を車両2側へ送信する。前述のように、車両側で当該応答信号による車内照合及び車外照合が成立したとき、車両ドアの施解錠やエンジンの始動が可能となる。   The electronic key control unit 11 is provided with a non-volatile memory 11a made of, for example, an EEPROM. The memory 11a stores the storage code, an ID code unique to the electronic key 10, and an encryption key used for encrypting the challenge code. When the demodulated request signal is input from the LF receiver 12, the electronic key controller 11 reads the received data and sends a response signal including the ID code and storage code registered in the memory 11 a to the UHF transmitter 13. Output. And the electronic key 10 transmits the response signal which is a radio signal of a UHF band to the vehicle 2 side via the UHF transmission part 13. As described above, when vehicle interior verification and vehicle exterior verification based on the response signal are established on the vehicle side, the vehicle door can be locked and unlocked and the engine can be started.

次に、車両ドアの施錠を例にとって車載機20及び電子キー10間で送受信される要求信号、応答信号及び共通コード信号Scoについて、詳細に説明する。
ここで、上記要求信号及び応答信号は、それぞれ単一の信号ではなく、複数の信号からなる。すなわち、要求信号は、図2に示すように、ウェイク信号Swkと、ビークルID信号Sviと、チャレンジ信号Sccとからなり、応答信号はアック信号Sacと、レスポンス信号Sreとからなる。なお、前述した要求信号は主にチャレンジ信号Sccに相当し、応答信号は主にレスポンス信号Sreに相当する。
Next, a request signal, a response signal, and a common code signal Sco transmitted / received between the in-vehicle device 20 and the electronic key 10 will be described in detail with an example of locking a vehicle door.
Here, each of the request signal and the response signal is not a single signal but a plurality of signals. That is, as shown in FIG. 2, the request signal includes a wake signal Swk, a vehicle ID signal Svi, and a challenge signal Scc, and the response signal includes an ack signal Sac and a response signal Sre. The request signal described above mainly corresponds to the challenge signal Scc, and the response signal mainly corresponds to the response signal Sre.

以下、降車に伴う車外照合の場合について説明する。車両ドアが解錠状態において、車載制御部21は、図2の上段に示すように、車外通信エリアに電子キー10が存在するか否かを確認すべく、車外送信アンテナ22aからウェイク信号Swkを断続的に発信させる。このウェイク信号Swkは、待機状態にある電子キー10を起動状態とする指令信号であって、一定間隔をおいて車外送信アンテナ22aから繰り返し発信される。   Hereinafter, the case of outside-vehicle verification accompanying getting off will be described. When the vehicle door is unlocked, the in-vehicle control unit 21 sends a wake signal Swk from the outside transmission antenna 22a to check whether the electronic key 10 exists in the outside communication area, as shown in the upper part of FIG. Transmit intermittently. The wake signal Swk is a command signal that activates the electronic key 10 in a standby state, and is repeatedly transmitted from the outside transmission antenna 22a at regular intervals.

電子キー10が前記車外通信エリアに入り込んでこのウェイク信号Swkを受信すると、電子キー10はこの受信を契機として待機状態から起動状態に動作状態が切り換わる。電子キー10は、このとき正常に起動状態をとると、その旨を通知すべく車両2に向けてアック信号Sacを返信する。   When the electronic key 10 enters the outside communication area and receives the wake signal Swk, the electronic key 10 is switched from the standby state to the activated state in response to the reception. If the electronic key 10 is normally activated at this time, the electronic key 10 returns an ACK signal Sac to the vehicle 2 to notify the fact.

車載制御部21は、アック信号Sacを受信すると、電子キー10が車外通信エリアに存在すると判断する。そして、車載制御部21は、車外送信部22を介して電子キー10に車両2を識別させるべくビークルID信号Sviを送信する。   When receiving the ACK signal Sac, the in-vehicle control unit 21 determines that the electronic key 10 exists in the outside communication area. Then, the in-vehicle control unit 21 transmits a vehicle ID signal Svi so that the electronic key 10 can identify the vehicle 2 via the outside transmission unit 22.

電子キー10は、ビークルID信号Sviを受け付けると、このビークルID信号Sviが正常コードであるか否かを確認するビークルID照合を通じて、車両2が自身に対応する正規の車両であるか否かの判定を行う。このように、ビークルID照合を行うことで、電子キー10の周囲に複数の車両が存在して、同複数の車両からウェイク信号Swkを受信する状況になっても、キーは正規車両のみとビークルID照合以降の通信を行うことができる。   When receiving the vehicle ID signal Svi, the electronic key 10 determines whether or not the vehicle 2 is a legitimate vehicle corresponding to itself through vehicle ID verification that checks whether or not the vehicle ID signal Svi is a normal code. Make a decision. In this way, by performing vehicle ID verification, even if there are a plurality of vehicles around the electronic key 10 and the wake signal Swk is received from the plurality of vehicles, the key is only a regular vehicle and the vehicle. Communication after ID verification can be performed.

図2に示すように、電子キー10は、このビークルID照合が成立した事を認識すると、その旨を通知すべく車両2に向けてアック信号Sacを返信する。車載制御部21は、ビークルID信号Sviを発信した後に正常にアック信号Sacを受信すると、電子キー10との間でビークルID照合が成立したと認識し、車外通信エリア内に存在する電子キー10が自身とペアをなすものであると認識する。   As shown in FIG. 2, when the electronic key 10 recognizes that the vehicle ID verification has been established, the electronic key 10 returns an ACK signal Sac to the vehicle 2 to notify the fact. When the vehicle-mounted control unit 21 receives the ACK signal Sac normally after transmitting the vehicle ID signal Svi, the vehicle-mounted control unit 21 recognizes that the vehicle ID verification has been established with the electronic key 10, and the electronic key 10 existing in the outside communication area. Recognizes that it is paired with itself.

この後、車載制御部21は、チャレンジ信号Sccを車外送信アンテナ22aから発信させる。チャレンジ信号Sccは、乱数として用いるチャレンジコードと、車両2側に登録された電子キー10のキー番号とからなる。   Thereafter, the in-vehicle control unit 21 causes the challenge signal Scc to be transmitted from the outside transmission antenna 22a. The challenge signal Scc includes a challenge code used as a random number and a key number of the electronic key 10 registered on the vehicle 2 side.

電子キー10は、車両2からチャレンジ信号Sccを受信すると、この時に受け付けたキー番号と自身に登録されたキー番号とを照らし合わせて番号照合を行い、自身が通信対象であるか否かを判断する。   When the electronic key 10 receives the challenge signal Scc from the vehicle 2, the electronic key 10 compares the key number received at this time with the key number registered in itself to determine whether or not it is a communication target. To do.

電子キー10は、この番号照合を通じて自身が通信対象である旨判断されるとき、レスポンス信号Sreを車両2側に返信する。レスポンス信号Sreは、メモリ11aに記憶されたIDコード、蓄積コード及びレスポンスコードを含む信号である。レスポンスコードは、チャレンジコードを、暗号鍵を用いて暗号化したコードである。蓄積コードは、施錠毎に車載機20から発信される共通コード信号Scoに基づき更新される。   The electronic key 10 returns a response signal Sre to the vehicle 2 side when it is determined that the electronic key 10 is a communication target through this number verification. The response signal Sre is a signal including an ID code, an accumulation code, and a response code stored in the memory 11a. The response code is a code obtained by encrypting the challenge code using the encryption key. The stored code is updated based on the common code signal Sco transmitted from the in-vehicle device 20 for each lock.

詳しくは、両メモリ11a,21aには、予め同一の蓄積コードが記憶されている。ここでは、図3の中段に示すように、ビットA〜Hの8ビットで蓄積コードが構成されている。電子キー制御部11は、図3の上段に示すように、施錠毎にLF受信部12を通じて受信する共通コード信号Scoの一部であるビットI,Jを抽出する。本例では、8ビットの信号の4ビット目及び5ビット目であるビットI,Jを抽出する。そして、図3の下段に示すように、蓄積コードのビットC〜Hは2ビット分だけ左にシフトされる。具体的には、ビットC〜Hが1〜6ビット目に書き込まれる。さらに、抽出されたビットI,Jは、蓄積コードの7ビット目及び8ビット目に設定される。すなわち、ビットIが7ビット目に書き込まれ、ビットJが8ビット目に書き込まれる。これにより、共通コードはビットA〜HからビットC〜Jに更新される。次回の施錠時においても上記同様に、共通コードの4ビット目及び5ビット目を抽出し、蓄積コードを2ビット分左にシフトしたうえで、これら抽出したビットを7ビット目及び8ビット目に設定する。このように施錠毎に蓄積コードは更新され、更新毎に蓄積コードはメモリ11aに記憶される。ちなみに、解錠時や車内照合成立時においては、蓄積コードは更新されずに、前回の施錠時に更新された蓄積コードが通信に利用される。   Specifically, the same storage code is stored in advance in both memories 11a and 21a. Here, as shown in the middle part of FIG. 3, the accumulation code is composed of 8 bits A to H. As shown in the upper part of FIG. 3, the electronic key control unit 11 extracts bits I and J that are part of the common code signal Sco received through the LF receiving unit 12 for each lock. In this example, the bits I and J, which are the fourth and fifth bits of the 8-bit signal, are extracted. As shown in the lower part of FIG. 3, the bits C to H of the accumulation code are shifted to the left by 2 bits. Specifically, bits C to H are written in the first to sixth bits. Further, the extracted bits I and J are set to the seventh and eighth bits of the stored code. That is, bit I is written in the seventh bit, and bit J is written in the eighth bit. As a result, the common code is updated from bits A to H to bits C to J. At the next lock, the fourth and fifth bits of the common code are extracted in the same manner as described above, and the stored code is shifted to the left by two bits, and these extracted bits are converted to the seventh and eighth bits. Set. In this way, the accumulated code is updated for each lock, and the accumulated code is stored in the memory 11a for each update. Incidentally, when unlocking or when in-vehicle verification is established, the accumulated code is not updated, but the accumulated code updated at the previous locking is used for communication.

車載制御部21は、レスポンス信号Sreを受信すると、ID照合、レスポンスコード照合及び蓄積コード照合を行う。具体的には、車載制御部21は、レスポンス信号Sreに含まれるIDコードと、メモリ21aに記憶されたIDコードとを照らし合わせてID照合を行う。また、車載制御部21は、チャレンジ信号Sccを発信する際、自身が持つ暗号鍵によってチャレンジコードを暗号化することにより、自らもレスポンスコードを更新する。そして、車載制御部21は、電子キー10からレスポンス信号Sreを車載受信部24で受信すると、電子キー10からのレスポンスコードと、自身が演算したレスポンスコードとを照らし合わせて、レスポンスコード照合を実行する。   When receiving the response signal Sre, the in-vehicle control unit 21 performs ID verification, response code verification, and accumulated code verification. Specifically, the vehicle-mounted control unit 21 compares the ID code included in the response signal Sre with the ID code stored in the memory 21a to perform ID verification. Further, when the in-vehicle control unit 21 transmits the challenge signal Scc, the in-vehicle control unit 21 also updates the response code by encrypting the challenge code with its own encryption key. When the in-vehicle control unit 21 receives the response signal Sre from the electronic key 10 by the in-vehicle receiving unit 24, the in-vehicle control unit 21 compares the response code from the electronic key 10 with the response code calculated by itself, and executes response code verification. To do.

さらに、車載制御部21は、共通コード信号Scoの送信毎に蓄積コードを更新する。当該蓄積コードの更新方法は上記電子キー制御部11によるものと同様である。すなわち、車載制御部21は、図3に示すように、共通コード信号Scoの送信毎にそのコードの4ビット目及び5ビット目を抽出し、メモリ21aに記憶される蓄積コードを2ビット分シフトしたうえで、抽出されたビットを蓄積コードの7ビット目及び8ビット目に書き込み、同蓄積コードを更新する。更新された蓄積コードはメモリ21aに記憶される。そして、車載制御部21は、レスポンス信号Sreに含まれる蓄積コードと、自ら更新した蓄積コードとを照らし合わせて、蓄積コード照合を実行する。換言すると、車載制御部21は、蓄積コード照合を通じて、蓄積コードに過去4回分の共通コード信号Scoの一部が含まれているか否か判断する。すなわち、蓄積コード照合が成立した場合には、過去4回通信を行った電子キー10と、今回通信を行った電子キー10とは同一のものである旨の判定が可能となる。   Furthermore, the vehicle-mounted control unit 21 updates the accumulated code every time the common code signal Sco is transmitted. The method for updating the stored code is the same as that performed by the electronic key control unit 11. That is, as shown in FIG. 3, the in-vehicle control unit 21 extracts the 4th and 5th bits of the code every time the common code signal Sco is transmitted, and shifts the stored code stored in the memory 21a by 2 bits. After that, the extracted bits are written into the 7th and 8th bits of the storage code, and the storage code is updated. The updated accumulation code is stored in the memory 21a. Then, the in-vehicle controller 21 compares the storage code included in the response signal Sre with the storage code that has been updated by itself, and executes storage code collation. In other words, the in-vehicle control unit 21 determines whether or not a part of the common code signal Sco for the past four times is included in the stored code through the stored code verification. That is, when the stored code collation is established, it is possible to determine that the electronic key 10 that has performed communication four times in the past and the electronic key 10 that has performed communication this time are the same.

そして、車載制御部21は、レスポンスコード照合、IDコード照合及び蓄積コード照合がすべて成立した旨判断すると、これを以て車外照合が成立したとして処理される。前述のように、車載制御部21は、車両ドア解錠状態において、車外照合が成立したとき、ドアハンドルに設けられるロックスイッチ36が操作された旨検知すると、ドアロック装置34を介して車両ドアを施錠する。車載制御部21は、ドアロック装置34を通じて実際に施錠状態が検出されたときに(図2の時刻t1)、共通コード信号Scoを送信する。ここで、共通コード信号Scoは、解錠時や車内照合成立時に送信されることはない。また、共通コード信号Scoは、メモリ21aに記憶される共通コード郡からランダムに選択されたものである。電子キー制御部11は、LF受信部12を通じて共通コード信号Scoを受信する。そして、電子キー制御部11は、前述したように、共通コードに基づき蓄積コードを更新する。   And if the vehicle-mounted control part 21 judges that all of response code collation, ID code collation, and accumulation | storage code collation were materialized, it will process as that vehicle exterior collation was materialized by this. As described above, in the vehicle door unlocked state, the vehicle-mounted control unit 21 detects that the lock switch 36 provided on the door handle has been operated when the vehicle exterior verification is established, and thus the vehicle door via the door lock device 34. Lock. The vehicle-mounted control unit 21 transmits the common code signal Sco when the locked state is actually detected through the door lock device 34 (time t1 in FIG. 2). Here, the common code signal Sco is not transmitted when unlocking or in-vehicle verification is established. The common code signal Sco is randomly selected from the common code group stored in the memory 21a. The electronic key control unit 11 receives the common code signal Sco through the LF receiving unit 12. Then, as described above, the electronic key control unit 11 updates the stored code based on the common code.

以上のように、施錠毎に蓄積コードが更新されていくため、電子キーシステム1のセキュリティ性を向上させることができる。詳しくは、蓄積コードは暗号化処理されていないため、傍受により解析されるおそれがある。さらに、例えばIDコード及び暗号鍵が不正の手段により盗まれた場合には、レスポンス信号Sreが送信されるおそれがある。しかし、レスポンス信号Sreに含まれる蓄積コードは施錠毎に更新される。従って、たとえ不正手段によりレスポンス信号Sreが送信されても、施錠時の蓄積コードの更新により、蓄積コード照合が不成立となるため、施解錠等を防止できる。よって、電子キーシステム1のセキュリティ性を向上できる。このように、施錠時の蓄積コードの更新により、施錠時において通信に利用された電子キー10と、次回の解錠時において通信に利用される電子キー10との同一性が保証される。   As described above, since the stored code is updated for each lock, the security of the electronic key system 1 can be improved. Specifically, since the stored code is not encrypted, it may be analyzed by interception. Furthermore, for example, when the ID code and the encryption key are stolen by unauthorized means, there is a possibility that the response signal Sre is transmitted. However, the accumulation code included in the response signal Sre is updated for each lock. Therefore, even if the response signal Sre is transmitted by unauthorized means, the stored code verification is not established due to the update of the stored code at the time of locking, so that locking and unlocking can be prevented. Therefore, the security of the electronic key system 1 can be improved. In this way, by updating the storage code at the time of locking, the sameness between the electronic key 10 used for communication at the time of locking and the electronic key 10 used for communication at the next unlocking is guaranteed.

また、車両2及び電子キー10間での通信時に信号が傍受される可能性が高い。そして、傍受した信号を基に不正に通信が行われるタイミングとしては、通常、ユーザが車両から離れているときである。ここで、ユーザが車両から離れる前には、車両ドアを施錠するため、共通コード信号Scoが送信され、蓄積コードが更新される。よって、ユーザが車両から離れたときには、傍受した信号に含まれる蓄積コードとは異なる蓄積コードとなる。このように、施錠時に蓄積コードの更新が行われることで、電子キーシステム1のセキュリティ性を維持しつつ、蓄積コードの更新回数を最小限とすることができる。   In addition, there is a high possibility that a signal is intercepted during communication between the vehicle 2 and the electronic key 10. The timing at which unauthorized communication is performed based on the intercepted signal is usually when the user is away from the vehicle. Here, before the user leaves the vehicle, in order to lock the vehicle door, the common code signal Sco is transmitted and the accumulated code is updated. Therefore, when the user leaves the vehicle, the storage code is different from the storage code included in the intercepted signal. As described above, the stored code is updated at the time of locking, so that the number of times of updating the stored code can be minimized while maintaining the security of the electronic key system 1.

また、IDコード照合及びレスポンスコード照合に加えて、蓄積コード照合を行う。よって、従来のIDコード照合及びレスポンスコード照合のみを行っていた場合に比べて、全体としてのセキュリティ性を向上させつつ、レスポンスコード照合に要する暗号化レベルを下げられる。これにより、レスポンスコード照合に係る暗号化の処理負担を低減できる。従って、車載機20及び電子キー10間の通信処理の迅速化が図られるとともに、電子キー制御部11及び車載制御部21に要求される暗号処理能力の低減化が図られる。   In addition to ID code verification and response code verification, stored code verification is performed. Therefore, the encryption level required for response code verification can be lowered while improving the overall security as compared with the case where only conventional ID code verification and response code verification are performed. Thereby, the processing burden of encryption related to response code verification can be reduced. Therefore, the communication processing between the in-vehicle device 20 and the electronic key 10 can be speeded up, and the encryption processing capability required for the electronic key control unit 11 and the in-vehicle control unit 21 can be reduced.

以上、説明した実施形態によれば、以下の作用効果を奏することができる。
(1)電子キー10は、施錠時に車載機20から送信される共通コード信号Scoを受信する。そして、次の通信において、電子キー10は、過去数回(本例では4回)の通信時に受信した共通コード信号Scoの一部を抽出し、この抽出した一部からなる蓄積コードをレスポンス信号Sreに含ませて送信する。車載機20は、受信したレスポンス信号Sreに過去数回の通信時に送信された共通コード信号Scoの一部が含まれているか否かを、蓄積コード照合を通じて判断する。車載機20は、蓄積コード照合が成立したとき、すなわち、受信したレスポンス信号Sreに過去数回の通信時に送信された各共通コード信号Scoの一部が含まれる旨判断したことを条件の一として制御を実行する。また、車載機20は、蓄積コード照合が成立しないとき、すなわちレスポンス信号Sreに過去数回の通信時に送信された各共通コード信号Scoの一部が含まれていない旨判断したとき、今回通信に供される電子キー10と、過去数回の通信に供された電子キー10とが同一でないとして、制御を実行しない。具体的には、この場合、正規の電子キー10からでなく、不正な手段にて信号が送信されているおそれがある。このように、電子キー10の同一性を判断することで、上記不正な手段による車載機20の制御を防止する。これにより、電子キーシステム1のセキュリティの向上が図れる。
As described above, according to the embodiment described above, the following effects can be obtained.
(1) The electronic key 10 receives the common code signal Sco transmitted from the in-vehicle device 20 at the time of locking. In the next communication, the electronic key 10 extracts a part of the common code signal Sco received during the past several times (four times in this example), and the stored code including the extracted part is used as a response signal. It is included in Sre and transmitted. The in-vehicle device 20 determines whether or not the received response signal Sre includes a part of the common code signal Sco transmitted at the past several times of communication through accumulated code verification. The on-vehicle device 20 is based on the condition that when the stored code verification is established, that is, it is determined that the received response signal Sre includes a part of each common code signal Sco transmitted during the past several communications. Execute control. On the other hand, when the in-vehicle device 20 determines that the stored code verification is not established, that is, when the response signal Sre does not include a part of each common code signal Sco transmitted during the past several times of communication, Since the electronic key 10 provided is not the same as the electronic key 10 used for the past several communications, the control is not executed. Specifically, in this case, there is a possibility that the signal is transmitted by an unauthorized means instead of the regular electronic key 10. In this way, by determining the identity of the electronic key 10, the control of the in-vehicle device 20 by the unauthorized means is prevented. Thereby, the security of the electronic key system 1 can be improved.

(2)電子キー10は、過去数回分の共通コード信号Scoの一部からなる蓄積コードをレスポンス信号Sreに含ませて送信する。よって、レスポンス信号Sreに含まれる共通コードは、前回の通信以前に車載機20から送信される過去数回分の共通コード信号Scoに応じたものになる。具体的には、レスポンス信号Sreに、前回の通信以前に送信した過去所定回分の各共通コード信号Scoの一部が含まれている旨判断された場合、電子キーの同一性が保証される。これにより、たとえ、前回の通信の共通コード信号Scoが傍受された場合であっても、それ以前の共通コード信号Scoが傍受されない限り、不正な手段によって車載機20を通じて車両ドアの解錠等がされることはない。すなわち、今回の通信において利用される電子キー10と、前回の通信のみならず、それ以前の通信に利用された電子キー10との同一性の判断が可能となる。これにより、いっそう電子キーシステム1のセキュリティ性の向上が図れる。   (2) The electronic key 10 transmits a storage code including a part of the common code signal Sco for the past several times in the response signal Sre. Therefore, the common code included in the response signal Sre corresponds to the common code signal Sco for the past several times transmitted from the in-vehicle device 20 before the previous communication. Specifically, when it is determined that the response signal Sre includes a part of each common code signal Sco for a predetermined number of times transmitted before the previous communication, the identity of the electronic key is guaranteed. As a result, even if the common code signal Sco of the previous communication is intercepted, the vehicle door can be unlocked through the vehicle-mounted device 20 by unauthorized means unless the previous common code signal Sco is intercepted. It will never be done. That is, it is possible to determine the identity between the electronic key 10 used in the current communication and the electronic key 10 used in the previous communication as well as the previous communication. Thereby, the security of the electronic key system 1 can be further improved.

(3)ドアの施錠時に車載機20から電子キー10に共通コード信号Scoが送信されると、次回の通信において同共通コード信号Scoの一部を含むレスポンス信号Sreが車載機20に送信される。具体的には、共通コード信号Scoの一部が蓄積コードに反映(更新)され、その蓄積コードがレスポンス信号Sreに付加されて、同レスポンス信号Sreが送信される。すなわち、ドアの施錠時に次回の通信に備えて車載機20による電子キー10の同一性の判断基準(蓄積コード)が更新されるため、次回のドアの解錠に係る通信時には更新された判断基準(蓄積コード)にて電子キー10の同一性の判断がされる。ここで、ドアの解錠時に電子キー10の同一性の保証がされれば、それ以降ドア施錠時までに、不正に通信が行われる可能性は低い。これは、不正に通信が行われるのは、主にユーザが車両から離れたとき、すなわち車両ドア施錠状態のときだからである。このように、施錠時に判断基準を更新することで、不正の通信が実行され易い解錠に係る通信時には更新された判断基準にて電子キー10の同一性の判断がされる。よって、電子キーシステム1のセキュリティ性を確保しつつ、例えば、ドア解錠時等における共通コード信号Scoの送信及び蓄積コードの更新を省略できる。   (3) When the common code signal Sco is transmitted from the in-vehicle device 20 to the electronic key 10 when the door is locked, the response signal Sre including a part of the common code signal Sco is transmitted to the in-vehicle device 20 in the next communication. . Specifically, a part of the common code signal Sco is reflected (updated) in the accumulated code, the accumulated code is added to the response signal Sre, and the response signal Sre is transmitted. That is, since the determination criterion (accumulation code) of the electronic key 10 by the in-vehicle device 20 is updated in preparation for the next communication when the door is locked, the determination criterion updated at the time of communication related to the next door unlocking The identity of the electronic key 10 is determined by (accumulation code). Here, if the identity of the electronic key 10 is guaranteed when the door is unlocked, the possibility of unauthorized communication after that is low before the door is locked. This is because the unauthorized communication is mainly performed when the user leaves the vehicle, that is, when the vehicle door is locked. In this way, by updating the determination criterion at the time of locking, the identity of the electronic key 10 is determined based on the updated determination criterion at the time of communication related to unlocking in which unauthorized communication is easily performed. Therefore, while ensuring the security of the electronic key system 1, for example, transmission of the common code signal Sco and update of the stored code at the time of unlocking the door can be omitted.

なお、上記実施形態は、これを適宜変更した以下の形態にて実施することができる。
・上記実施形態においては、専用の電子キー10を利用した電子キーシステム1であったが、携帯電話を利用した電子キーシステムであってもよい。近年、例えば、キーID等の情報をメール等で携帯電話に送信可能とするシステムの導入が検討されている。本システムにおいては、キーID情報を持つ携帯電話と車両との間で、キーIDを含む信号が送信され、車両ドアの解錠等が可能となる。このとき、上記実施形態同様に、車両から携帯電話に共通コード信号Scoが送信される。よって、不正に携帯電話の持つキーIDが盗み出された場合であっても、共通コード信号Scoに基づく蓄積コードの照合が成立しないため、不正な解錠等が防止できる。
In addition, the said embodiment can be implemented with the following forms which changed this suitably.
In the above embodiment, the electronic key system 1 using the dedicated electronic key 10 is used, but an electronic key system using a mobile phone may be used. In recent years, for example, introduction of a system capable of transmitting information such as a key ID to a mobile phone by e-mail or the like has been studied. In this system, a signal including the key ID is transmitted between the mobile phone having the key ID information and the vehicle, and the vehicle door can be unlocked. At this time, similar to the above embodiment, the common code signal Sco is transmitted from the vehicle to the mobile phone. Therefore, even when the key ID of the mobile phone is stolen illegally, since the stored code verification based on the common code signal Sco is not established, unauthorized unlocking can be prevented.

・上記実施形態においては、共通コードのうち2ビットが抽出されていたが、抽出されるビット数はこれに限定されるものではない。例えば、1ビット又は3ビット以上を抽出して、それを蓄積コードに書き込んでもよい。書き込むにあたって、蓄積コードを抽出したビット数だけ左にシフトさせる。抽出するビット数を増加させる場合には、蓄積コードのビット数を増やすことが好ましい。また、共通コード信号Scoの全ビットを蓄積コードに含ませてもよい。この場合、蓄積コードのビット数を多くする若しくは共通コード信号Scoのビット数を少なくすることが好ましい。   In the above embodiment, 2 bits are extracted from the common code, but the number of extracted bits is not limited to this. For example, 1 bit or 3 bits or more may be extracted and written in the storage code. When writing, the stored code is shifted to the left by the number of extracted bits. When increasing the number of bits to be extracted, it is preferable to increase the number of bits of the stored code. Further, all bits of the common code signal Sco may be included in the accumulated code. In this case, it is preferable to increase the number of bits of the accumulated code or decrease the number of bits of the common code signal Sco.

・上記実施形態においては、共通コードの4ビット目及び5ビット目が抽出されていたが、抽出するビット位置はこれに限定されるものではない。例えば、1ビット目及び2ビット目を抽出してもよい。   In the above embodiment, the fourth bit and the fifth bit of the common code are extracted, but the bit position to be extracted is not limited to this. For example, the first bit and the second bit may be extracted.

・上記実施形態においては、蓄積コードは8ビットであったが、蓄積コードのビット数はこれに限定されない。蓄積コードのビット数が増えるにつれ、さらに以前の施錠時の共通コード信号Scoに含まれるビットが蓄積コードに反映されるため、よりセキュリティ性を向上させることができる。   In the above embodiment, the accumulation code is 8 bits, but the number of bits of the accumulation code is not limited to this. As the number of bits of the stored code increases, the bits included in the common code signal Sco at the previous locking time are reflected in the stored code, so that the security can be further improved.

・上記実施形態においては、過去4回分の共通コード信号Scoが蓄積コードに反映されていたが、少なくとも前回の共通コード信号Scoが蓄積コードに反映されていれば、傍受による不正な車両ドアの解錠を防止できる。傍受によっては、遡って前回の共通コード信号Scoを知ることはできないからである。具体的には、例えば、共通コードにおいて、全8ビット分を抽出し、それらを蓄積コードとして書き込む。これにより、施錠時に送信された共通コード信号Scoのみが次回の蓄積コード照合に利用される。   In the above embodiment, the common code signal Sco for the past four times is reflected in the accumulated code. However, if at least the previous common code signal Sco is reflected in the accumulated code, an illegal vehicle door solution by interception is obtained. Lock can be prevented. This is because the previous common code signal Sco cannot be known retroactively by interception. Specifically, for example, in the common code, all 8 bits are extracted and written as an accumulation code. Thereby, only the common code signal Sco transmitted at the time of locking is used for the next stored code collation.

・上記実施形態においては、蓄積コードは抽出されたビットA〜Hが順番に並べられて構成されていた。しかし、抽出されたビットの配列順序はこれに限定されない。この場合、電子キー10及び車載機20間で予め配列順序を取り決めておく必要がある。これにより、電子キーシステム1のセキュリティ性をいっそう向上させることができる。   In the above embodiment, the accumulated code is configured by arranging the extracted bits A to H in order. However, the arrangement order of the extracted bits is not limited to this. In this case, it is necessary to arrange the arrangement order between the electronic key 10 and the in-vehicle device 20 in advance. Thereby, the security of the electronic key system 1 can be further improved.

・上記実施形態においては、施錠時に共通コード信号Scoが送信されていたが、共通コード信号Sco送信のタイミングは施錠時に限らない。例えば、車内照合及び車外照合成立時に共通コード信号Scoが送信されてもよい。この場合には、より高い頻度で蓄積コードの更新が行われるため、電子キーシステム1のセキュリティ性をより向上させることができる。また、蓄積コードの更新の頻度を下げてもよい。例えば、施錠時において、2回に1回、蓄積コードの更新を行うようにしてもよい。この場合、車載機20及び電子キー10間で予め蓄積コードの更新頻度を取り決める必要がある。   In the above embodiment, the common code signal Sco is transmitted at the time of locking, but the timing of transmission of the common code signal Sco is not limited to the time of locking. For example, the common code signal Sco may be transmitted when the in-vehicle verification and the external verification are established. In this case, since the stored code is updated more frequently, the security of the electronic key system 1 can be further improved. Further, the frequency of updating the accumulation code may be lowered. For example, the storage code may be updated once every two times during locking. In this case, it is necessary to negotiate the update frequency of the stored code between the in-vehicle device 20 and the electronic key 10 in advance.

・上記実施形態においては、施錠毎に更新される蓄積コードの照合を通じて、通信に供される電子キー10の同一性の判断が行われていた。しかし、蓄積コードに拠らなくても電子キー10の同一性の判断は可能である。例えば、車載制御部21は、共通コード信号Scoの送信時に、自身の送信した共通コード信号Scoをメモリ21aに記憶する。そして、車載制御部21は、電子キー10からのレスポンス信号Sreに上記自身が送信した共通コード信号Scoの一部が含まれているか否か判断する。これにより、前回及び今回通信で使用される電子キー10の同一性の判断ができる。また、車載制御部21は、過去数回分に亘って自身の送信した共通コード信号Scoをメモリ21aに記憶して、受信したレスポンス信号Sreに過去に送信した各共通コード信号Scoの一部が含まれているか否か判断してもよい。これにより、過去数回に亘って通信が行われた電子キー10と、今回通信に供される電子キーとの同一性の判断が可能となる。   In the above-described embodiment, the identity of the electronic key 10 used for communication is determined through the verification of the stored code updated for each lock. However, the identity of the electronic key 10 can be determined without relying on the stored code. For example, the in-vehicle control unit 21 stores the common code signal Sco transmitted by itself in the memory 21a when the common code signal Sco is transmitted. Then, the in-vehicle controller 21 determines whether or not the response signal Sre from the electronic key 10 includes a part of the common code signal Sco transmitted by itself. As a result, the identity of the electronic key 10 used in the previous and current communications can be determined. Moreover, the vehicle-mounted control part 21 memorize | stores the common code signal Sco which self transmitted for past several times in the memory 21a, and a part of each common code signal Sco transmitted in the past is included in the received response signal Sre. It may be determined whether or not This makes it possible to determine the identity between the electronic key 10 that has been communicated over the past several times and the electronic key that is used for the current communication.

・上記実施形態においては、蓄積コードは応答信号、詳しくはレスポンス信号Sreに含まれて送信されていた。しかし、蓄積コードをレスポンス信号Sreとは別の無線信号に含ませて送信してもよい。   In the above embodiment, the storage code is transmitted by being included in the response signal, specifically the response signal Sre. However, the storage code may be transmitted by being included in a radio signal different from the response signal Sre.

・上記実施形態においては、蓄積コードは暗号化することなくレスポンス信号Sreに含ませて送信されていた。しかし、蓄積コードを暗号化して送信してもよい。これにより、電子キーシステム1のセキュリティ性をいっそう向上させることができる。   In the above embodiment, the storage code is transmitted by being included in the response signal Sre without being encrypted. However, the stored code may be transmitted after being encrypted. Thereby, the security of the electronic key system 1 can be further improved.

・上記実施形態においては、レスポンスコード照合及びID照合が行われていたが、これらを省略してもよい。
・上記実施形態においては、車両用の電子キーシステム1に具体化されていたが、例えば住宅用の電子キーシステムに適用してもよい。
-In the said embodiment, although response code collation and ID collation were performed, these may be abbreviate | omitted.
In the embodiment described above, the electronic key system 1 for a vehicle is embodied, but may be applied to an electronic key system for a house, for example.

次に、前記実施形態から把握できる技術的思想をその効果と共に記載する。
(イ)請求項1〜3の何れか一項に記載の電子キーシステムにおいて、前記無線信号は応答信号である電子キーシステム。
Next, the technical idea that can be grasped from the embodiment will be described together with the effects.
(A) The electronic key system according to any one of claims 1 to 3, wherein the wireless signal is a response signal.

同構成によれば、共通コード信号の少なくとも一部を応答信号に含ませて電子キーから送信される。よって、応答信号とは別の無線信号を送信することなく、電子キーの同一性を保証できる。   According to this configuration, at least a part of the common code signal is included in the response signal and transmitted from the electronic key. Therefore, the identity of the electronic key can be guaranteed without transmitting a radio signal different from the response signal.

(ロ)前記(イ)に記載の電子キーシステムにおいて、前記電子キーは、前記応答信号に自身の識別コードを含ませて送信し、前記制御装置は、前記応答信号に前記共通コード信号の少なくとも一部が含まれている旨判断し、かつ、前記応答信号に含まれる前記識別コードが妥当である旨判断したとき、前記制御対象の制御を実行する電子キーシステム。   (B) In the electronic key system according to (a), the electronic key transmits the response signal including its own identification code, and the control device includes at least the common code signal in the response signal. An electronic key system that executes control of the control target when it is determined that a part is included and it is determined that the identification code included in the response signal is valid.

同構成によれば、制御装置により通信毎の電子キーの同一性の判断だけでなく、電子キーの識別コードの妥当性が判断される。これにより、電子キーシステムのセキュリティ性をいっそう向上させることができる。   According to this configuration, the controller determines not only the identity of the electronic key for each communication but also the validity of the electronic key identification code. Thereby, the security of the electronic key system can be further improved.

(ハ)請求項2に記載の電子キーシステムにおいて、前記制御装置は、前記共通コード信号の送信毎に前記共通コード信号の少なくとも一部を自身のメモリに記憶して蓄積コードを更新し、前記電子キーは、前記共通コード信号の受信毎に前記共通コード信号の少なくとも一部を自身のメモリに記憶して前記制御装置と同一の蓄積コードを更新するとともに、更新された前記蓄積コードを前記無線信号に含ませて送信し、前記制御装置は、前記無線信号に含まれる前記蓄積コードと、自身のメモリに記憶される前記蓄積コードとの照合が成立したとき、前記制御対象の制御を実行する電子キーシステム。   (C) In the electronic key system according to claim 2, the control device stores at least a part of the common code signal in its own memory every time the common code signal is transmitted, updates the accumulated code, and The electronic key stores at least a part of the common code signal in its own memory each time the common code signal is received, updates the same accumulated code as the control device, and transmits the updated accumulated code to the wireless key The control device executes control of the control target when the stored code included in the wireless signal is matched with the stored code stored in its own memory. Electronic key system.

同構成によれば、蓄積コードの照合を通じて、電子キーの同一性が保証できる。   According to this configuration, the identity of the electronic key can be guaranteed through the verification of the stored code.

1…電子キーシステム、2…車両、10…電子キー、11…電子キー制御部、11a…メモリ、12…LF受信部、13…UHF送信部、20…車載機(制御装置)、21…車載制御部、21a…メモリ、22…車外送信部、23…車内送信部、24…車載受信部。   DESCRIPTION OF SYMBOLS 1 ... Electronic key system, 2 ... Vehicle, 10 ... Electronic key, 11 ... Electronic key control part, 11a ... Memory, 12 ... LF receiving part, 13 ... UHF transmission part, 20 ... On-vehicle machine (control apparatus), 21 ... On-vehicle Control part, 21a ... Memory, 22 ... Outside transmission part, 23 ... In-car transmission part, 24 ... In-vehicle receiving part.

Claims (3)

ユーザに携帯される電子キーが特定の制御対象を制御する制御装置からの要求信号に応じて応答信号を送信することで前記制御装置との間で通信を行い、この通信が成立したときに前記制御装置が制御対象の制御を実行する電子キーシステムにおいて、
前記制御装置は、前記電子キーとの間で通信を行う際に、今回通信する前記電子キーと次回通信する前記電子キーとが同一であるか否かを確認するための共通コード信号を前記電子キーに送信し、
前記電子キーは、次回の通信時において、前回の通信の際に受信した前記共通コード信号の少なくとも一部を含む無線信号を送信し、
前記制御装置は、受信した前記無線信号に前回の通信において送信した前記共通コード信号の少なくとも一部が含まれている旨判断したとき、前回と今回の電子キーは同一である旨判定して、前記制御対象の制御を実行する電子キーシステム。
The electronic key carried by the user communicates with the control device by transmitting a response signal in response to a request signal from the control device that controls a specific control target, and when the communication is established, In an electronic key system in which a control device executes control of a control target,
When communicating with the electronic key, the control device transmits a common code signal for confirming whether or not the electronic key to be communicated this time and the electronic key to be communicated next time are the same. Send to the key,
The electronic key transmits a radio signal including at least a part of the common code signal received at the previous communication at the time of the next communication,
When determining that the received wireless signal includes at least a part of the common code signal transmitted in the previous communication, the control device determines that the previous and current electronic keys are the same, An electronic key system that executes control of the control target.
請求項1に記載の電子キーシステムにおいて、
前記電子キーは、前回の通信以前に受信した過去所定回分の前記各共通コード信号の少なくとも一部を前記無線信号に含ませて送信し、
前記制御装置は、受信した前記無線信号に、前回の通信以前に送信した過去所定回分の前記各共通コード信号の少なくとも一部が含まれている旨判断したとき、前記制御対象の制御を実行する電子キーシステム。
The electronic key system according to claim 1.
The electronic key transmits the wireless signal including at least a part of each of the common code signals for the past predetermined number of times received before the previous communication,
When the control device determines that the received radio signal includes at least a part of the common code signals for the past predetermined number of times transmitted before the previous communication, the control device executes the control of the control target. Electronic key system.
請求項1又は2に記載の電子キーシステムにおいて、
前記制御対象はドアロック装置であって、
前記制御装置は前記ドアロック装置を通じてドアの施錠制御を実行したときに、前記共通コード信号を送信する電子キーシステム。
The electronic key system according to claim 1 or 2,
The control object is a door lock device,
An electronic key system for transmitting the common code signal when the control device performs door locking control through the door lock device.
JP2009271272A 2009-11-30 2009-11-30 Electronic key system Expired - Fee Related JP5249180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009271272A JP5249180B2 (en) 2009-11-30 2009-11-30 Electronic key system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009271272A JP5249180B2 (en) 2009-11-30 2009-11-30 Electronic key system

Publications (2)

Publication Number Publication Date
JP2011111845A true JP2011111845A (en) 2011-06-09
JP5249180B2 JP5249180B2 (en) 2013-07-31

Family

ID=44234390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009271272A Expired - Fee Related JP5249180B2 (en) 2009-11-30 2009-11-30 Electronic key system

Country Status (1)

Country Link
JP (1) JP5249180B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014078837A (en) * 2012-10-10 2014-05-01 Tokai Rika Co Ltd Electronic key registration system
JP2015202749A (en) * 2014-04-11 2015-11-16 株式会社東海理化電機製作所 authentication system
JP2016000549A (en) * 2014-06-11 2016-01-07 株式会社東海理化電機製作所 Electronic key system
CN111275862A (en) * 2020-02-14 2020-06-12 京东方科技集团股份有限公司 Unlocking method, door lock and door lock system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08260783A (en) * 1995-03-24 1996-10-08 Sumitomo Wiring Syst Ltd Keyless entry system
JP2007191870A (en) * 2006-01-17 2007-08-02 Mitsubishi Electric Corp Remote control system for vehicle-mounted equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08260783A (en) * 1995-03-24 1996-10-08 Sumitomo Wiring Syst Ltd Keyless entry system
JP2007191870A (en) * 2006-01-17 2007-08-02 Mitsubishi Electric Corp Remote control system for vehicle-mounted equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014078837A (en) * 2012-10-10 2014-05-01 Tokai Rika Co Ltd Electronic key registration system
US9306735B2 (en) 2012-10-10 2016-04-05 Kabushiki Kaisha Tokai Rika Denki Seisakusho Electronic key registration system
JP2015202749A (en) * 2014-04-11 2015-11-16 株式会社東海理化電機製作所 authentication system
JP2016000549A (en) * 2014-06-11 2016-01-07 株式会社東海理化電機製作所 Electronic key system
CN111275862A (en) * 2020-02-14 2020-06-12 京东方科技集团股份有限公司 Unlocking method, door lock and door lock system

Also Published As

Publication number Publication date
JP5249180B2 (en) 2013-07-31

Similar Documents

Publication Publication Date Title
US11351962B2 (en) Electronic key system
JP6609557B2 (en) Vehicle control system to prevent relay attack
KR100586476B1 (en) Apparatus and method of security related data
JP6292719B2 (en) Vehicle wireless communication system, vehicle control device, portable device
JP2016171486A (en) Vehicle radio communication system, vehicle controller, and portable apparatus
JP7063666B2 (en) Authentication system
JP2020118030A (en) Electronic key system
JP6351425B2 (en) Keyless entry device and control method thereof
JP6050169B2 (en) Communication fraud prevention system
JP2017014839A (en) On-vehicle apparatus control system and on-vehicle control device
JP5254697B2 (en) Communications system
US9902369B2 (en) Apparatus and method for dual range detection in a vehicle
KR20140052099A (en) Smart key system and method for defensing relay station attack using the system
CN111315948A (en) Remote keyless entry system
JP5249180B2 (en) Electronic key system
JP2017160703A (en) Electronic key system
JP5462142B2 (en) Electronic key system
JP6414696B2 (en) Key lock-in prevention device
JP7125323B2 (en) VEHICLE CONTROL DEVICE, VEHICLE CONTROL METHOD AND COMPUTER PROGRAM
JP2018053489A (en) Smart key system
JP5393717B2 (en) Electronic key device
JP6347419B2 (en) Electronic key system
JP2009068255A (en) Remote controller for on-vehicle equipment
JP5451660B2 (en) Electronic key and electronic key system
JP6341470B2 (en) Electronic key system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130325

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130411

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160419

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees