JP2016012918A - Vehicle communication system - Google Patents

Vehicle communication system Download PDF

Info

Publication number
JP2016012918A
JP2016012918A JP2015092777A JP2015092777A JP2016012918A JP 2016012918 A JP2016012918 A JP 2016012918A JP 2015092777 A JP2015092777 A JP 2015092777A JP 2015092777 A JP2015092777 A JP 2015092777A JP 2016012918 A JP2016012918 A JP 2016012918A
Authority
JP
Japan
Prior art keywords
vehicle
control unit
communication system
pairing
time
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
JP2015092777A
Other languages
Japanese (ja)
Other versions
JP6496603B2 (en
Inventor
雅彦 大矢
Masahiko Oya
雅彦 大矢
優季 大嶌
Yuki Oshima
優季 大嶌
雄一 稲波
Yuichi Inami
雄一 稲波
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 JP2015092777A priority Critical patent/JP6496603B2/en
Publication of JP2016012918A publication Critical patent/JP2016012918A/en
Application granted granted Critical
Publication of JP6496603B2 publication Critical patent/JP6496603B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a vehicle communication system which performs collation of an opposite communication party for a long period, through radio communication based on the BLUETOOTH standard.SOLUTION: A vehicle communication system 1 includes: a vehicle 10 which performs challenge/response authentication by radio communication based on the BLUETOOTH standard; and a smart phone 20. An on-vehicle control unit 11 includes a volatile memory 11b in which information for use for collation of a rolling counter value is stored. After the challenge/response authentication is successfully completed, the on-vehicle control unit 11 performs collation with the rolling counter value which is provided in a smart phone control unit 21. Then, each time the collation with the rolling counter value is successfully completed, the on-vehicle control unit 11 updates the information for use for the collation of the rolling counter value stored in the volatile memory 11b.

Description

本発明は、車両通信システムに関する。   The present invention relates to a vehicle communication system.

ユーザに所持される携帯機との間で無線通信を行い、当該無線通信によって行われる車両専用のIDコードの照合が成立したことを条件として車載機器の動作を許可する車載機を有する車両通信システムがある。特許文献1の車載通信システムの無線通信は、近距離無線通信規格の一つであるBLUETOOTH(登録商標)を使用して行われる。   A vehicle communication system having an in-vehicle device that performs wireless communication with a portable device possessed by a user and permits operation of the in-vehicle device on condition that verification of a vehicle-specific ID code performed by the wireless communication is established There is. Wireless communication of the in-vehicle communication system of Patent Document 1 is performed using BLUETOOTH (registered trademark), which is one of the short-range wireless communication standards.

このような車両通信システムでは、車載機器の動作を許可している時間が長くなるとセキュリティ性が損なわれる。一方で、IDコードの照合を密にした場合、このIDコードの照合には時間を要するので、車載機器の動作を要求したときの動作応答性が悪い。   In such a vehicle communication system, if the time during which the operation of the in-vehicle device is permitted becomes long, the security is impaired. On the other hand, when the ID code is closely collated, it takes time to collate the ID code, so that the operation responsiveness when the operation of the in-vehicle device is requested is poor.

そこで、特許文献2に示されるシステムのような照合方式が検討されている。すなわち、無線通信の度にインクリメントされるローリングカウンタを携帯機に設け、携帯機はそのローリングカウンタの値を無線送信する。車載機は、前回車載機器の動作を許可したときのローリングカウンタの値を不揮発性メモリに記憶しておき、その不揮発性メモリに記憶されている値と受信するローリングカウンタの値とを比較し、その値が妥当かどうかを判断する。妥当と判断される場合には、その車載機器の動作を許可するとともに、妥当かどうかを判断するために使用した値を今回受信したローリングカウンタの値に更新する。このシステムの場合、ローリングカウンタの値が妥当と判断されている間は、常時、車載機器の動作が許可されているので、車載機器の動作を要求したときの動作応答性がよい。   Therefore, a collation method such as the system shown in Patent Document 2 has been studied. That is, a rolling counter that is incremented every time wireless communication is provided in the portable device, and the portable device wirelessly transmits the value of the rolling counter. The in-vehicle device stores the value of the rolling counter when the operation of the in-vehicle device is permitted last time in the nonvolatile memory, compares the value stored in the nonvolatile memory with the value of the rolling counter to be received, Determine whether the value is valid. If it is determined to be valid, the operation of the in-vehicle device is permitted, and the value used to determine whether it is valid is updated to the value of the rolling counter received this time. In the case of this system, since the operation of the in-vehicle device is always permitted while the value of the rolling counter is determined to be appropriate, the operation responsiveness when the operation of the in-vehicle device is requested is good.

特開2013−106338号公報JP 2013-106338 A 特開2006−118205号公報JP 2006-118205 A

しかしながら、不揮発性メモリに使用される記憶素子は、データの書き込みに伴い劣化することが周知である。このため、多くの場合、不揮発性メモリは、データの書き込み(更新)回数が制限されている。BLUETOOTHでは、接続状態にあるか否かを判断するために通信対象同士の間で定期的に無線通信を行うため、上記のようなシステムでは、不揮発性メモリの更新回数がデータの書き込み回数の上限に達するおそれが高い。   However, it is well known that a storage element used in a nonvolatile memory deteriorates as data is written. For this reason, in many cases, the nonvolatile memory has a limited number of data write (update) times. In BLUETOOTH, since wireless communication is periodically performed between communication targets to determine whether or not a connection state exists, in such a system, the number of updates of the nonvolatile memory is the upper limit of the number of data writes. Is likely to reach

本発明は、こうした実状に鑑みてなされたものであり、その目的は、BLUETOOTH規格の無線通信を通じて通信相手の照合を長期間に亘って行う車両通信システムを提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a vehicle communication system that performs verification of a communication partner over a long period of time through wireless communication of the BLUETOOTH standard.

上記課題を解決するために、携帯機との間でBLUETOOTH規格の無線通信を行い、この無線通信を通じて専用の照合鍵による照合を行い、その照合が成立する場合に車載機器の動作を許可する車載機を備える車両通信システムにおいて、前記携帯機は、前記車載機との間で無線通信をする度にインクリメントするローリングカウンタを備え、そのローリングカウンタの値を無線信号に含ませて送信するものであり、前記車載機は、前記ローリングカウンタの値を照合するための情報が記憶される揮発性メモリを備え、前記携帯機との間でペアリングされたことをトリガとして前記ローリングカウンタの値と前記揮発性メモリに記憶される前記ローリングカウンタの値を照合するための情報との同期を行い、その後は前記ローリングカウンタの値の照合が成立する度、前記揮発性メモリに記憶される前記ローリングカウンタの値を照合するための情報を更新することを要旨とする。   In order to solve the above-mentioned problem, in-vehicle wireless communication is performed with a portable device based on the BLUETOOTH standard, verification is performed using a dedicated verification key through the wireless communication, and the operation of the in-vehicle device is permitted when the verification is established. In the vehicle communication system provided with a machine, the portable device includes a rolling counter that is incremented every time wireless communication is performed with the in-vehicle device, and the value of the rolling counter is included in a wireless signal and transmitted. The in-vehicle device includes a volatile memory in which information for collating the value of the rolling counter is stored, and the value of the rolling counter and the volatility are triggered by pairing with the portable device. Synchronization with the information for checking the value of the rolling counter stored in the memory, and thereafter the rolling counter Time the matching value of data is established, and summarized in that updating the information to match the value of the rolling counter that is stored in the volatile memory.

このシステムによれば、ローリングカウンタの値を照合するための情報が記憶されるのは、不揮発性メモリよりも使用できる期間が長い揮発性メモリである。これにより、従来のシステムと同等のセキュリティ性が確保されるとともに、車載機は、従来のシステムよりも通信相手の照合を長期間に亘って行うことができる。   According to this system, information for collating the value of the rolling counter is stored in a volatile memory that can be used longer than a nonvolatile memory. As a result, the same level of security as that of the conventional system is ensured, and the in-vehicle device can check the communication partner for a longer period than the conventional system.

上記システムにおいて、前記車載機は、前記携帯機との間でペアリングされたことをトリガとして前記照合鍵の照合を行い、その照合が成立する場合に、その後に行う定期的な無線通信を通じて前記ローリングカウンタの値の照合を行い、その照合が成立している間、前記車載機器の動作を許可することが好ましい。   In the above system, the in-vehicle device performs the collation of the collation key triggered by pairing with the portable device, and when the collation is established, through the periodic wireless communication performed thereafter, It is preferable that the value of the rolling counter is collated and the operation of the in-vehicle device is permitted while the collation is established.

このシステムによれば、照合鍵による照合の成立後、常時、ローリングカウンタによる照合を行い、この照合が成立している間だけ、車載機器の動作が許可される。ローリングカウンタによる照合は、照合の度、照合が成立するための値が変わることから、専用の照合鍵による照合がペアリング後の一度だけでも、従来のシステムと同等のセキュリティ性が確保される。一方で、ローリングカウンタによる照合が成立している間、車載機器の動作が許可されているので、車載機器への動作を要求してから実際に車載機器が動作するまでの時間が短い。すなわち、車載機器の動作応答性がよい。   According to this system, after collation with the collation key is established, collation with a rolling counter is always performed, and the operation of the in-vehicle device is permitted only while this collation is established. Since collation by the rolling counter changes in value every time collation is performed, security equivalent to that of the conventional system is ensured even if collation with a dedicated collation key is performed only once after pairing. On the other hand, since the operation of the in-vehicle device is permitted while collation by the rolling counter is established, the time from when the operation to the in-vehicle device is requested to when the in-vehicle device actually operates is short. That is, the operation response of the in-vehicle device is good.

上記システムにおいて、前記携帯機及び前記車載機は、共通の暗号鍵を有し、その暗号鍵を使用して前記照合鍵を暗号化した情報を送受するものであって、前記携帯機は、前記暗号鍵を使用して前記ローリングカウンタの値を暗号化し、その暗号化した情報を前記車載機に無線送信することが好ましい。   In the above system, the portable device and the vehicle-mounted device have a common encryption key, and transmit and receive information obtained by encrypting the verification key using the encryption key. It is preferable to encrypt the value of the rolling counter using an encryption key and wirelessly transmit the encrypted information to the in-vehicle device.

このシステムによれば、照合に使用するローリングカウンタの値も暗号化されているのでセキュリティ性が高い。
上記システムにおいて、前記携帯機は、前記車載機器の動作の要求を示す要求コマンドを入力するための操作部を備え、前記暗号鍵を使用して前記要求コマンドを暗号化し、その暗号化した情報を前記車載機に無線送信し、前記車載機は、受信する前記要求コマンドに応じて車載機器を動作させることが好ましい。
According to this system, since the value of the rolling counter used for verification is also encrypted, the security is high.
In the system, the portable device includes an operation unit for inputting a request command indicating a request for operation of the in-vehicle device, encrypts the request command using the encryption key, and stores the encrypted information. It is preferable that wireless transmission is performed to the vehicle-mounted device, and the vehicle-mounted device operates the vehicle-mounted device according to the received request command.

このシステムによれば、車載機器の動作の要求を示す要求コマンドも暗号化されているのでセキュリティ性が高い。
上記システムにおいて、前記車載機は、前記車載機器の動作を示す制御コマンドを前記携帯機に無線送信し、前記携帯機は、ユーザの感覚に訴える報知部を備え、受信する前記制御コマンドに基づき前記車載機器の動作を前記報知部を通じて報知することが好ましい。
According to this system, since the request command indicating the request for operation of the in-vehicle device is also encrypted, the security is high.
In the system, the in-vehicle device wirelessly transmits a control command indicating the operation of the in-vehicle device to the portable device, the portable device includes a notification unit appealing to a user's sense, and based on the received control command It is preferable to notify the operation of the in-vehicle device through the notification unit.

このシステムによれば、ユーザは、車両から離れていても携帯機を通じて車載機器が動作したことを確認することができる。
上記システムにおいて、前記携帯機は、前記車載機との間の無線通信にかかる時間を計測する携帯機側時間カウンタを有し、当該携帯機側時間カウンタによる計測時間が、BLUETOOTH規格で設定されている接続監視時間よりも短く且つ前記無線通信を行うのに十分な時間に設定された途絶判定時間を超えたとき、前記車載機との間のペアリングを解消することが好ましい。
According to this system, the user can confirm that the in-vehicle device is operated through the portable device even if the user is away from the vehicle.
In the above system, the portable device includes a portable device side time counter that measures a time required for wireless communication with the in-vehicle device, and a measurement time by the portable device side time counter is set in the BLUETOOTH standard. It is preferable to cancel the pairing with the in-vehicle device when the interruption determination time set to a time shorter than a connection monitoring time and sufficient for wireless communication is exceeded.

このシステムによれば、携帯機は、車載機との間の無線通信が不能と推測される場合に、車載機との間のペアリングを解消する。したがって、車載機からペアリングの要求があれば、これに応じることができる。   According to this system, the portable device cancels the pairing with the in-vehicle device when it is estimated that wireless communication with the in-vehicle device is impossible. Therefore, if there is a request for pairing from the in-vehicle device, this can be met.

上記システムにおいて、前記携帯機は、前記車載機との間のペアリングを解消する場合、前記車載機に対してペアリングを解消する旨示す情報を無線送信することが好ましい。
このシステムによれば、車載機は携帯機との間のペアリングの解消を早期に認識することができる。これにより、両者間における早期のペアリングの回復が期待できる。
In the above system, when the portable device cancels the pairing with the in-vehicle device, it is preferable to wirelessly transmit information indicating that the pairing is canceled to the in-vehicle device.
According to this system, the in-vehicle device can recognize early the cancellation of the pairing with the portable device. As a result, early recovery of pairing between the two can be expected.

上記システムにおいて、前記車載機は、前記携帯機との間の無線通信にかかる時間を計測する車載機側時間カウンタを有し、当該車載機側時間カウンタによる計測時間が、BLUETOOTH規格で設定されている接続監視時間よりも短く且つ前記無線通信を行うのに十分な時間に設定された途絶判定時間を超えたとき、前記携帯機との間のペアリングを解消することが好ましい。   In the above system, the in-vehicle device has an in-vehicle device side time counter that measures time required for wireless communication with the portable device, and the measurement time by the in-vehicle device side time counter is set in the BLUETOOTH standard. It is preferable that the pairing with the portable device is canceled when the interruption determination time set to a time shorter than a connection monitoring time and sufficient for wireless communication is exceeded.

このシステムによれば、車載機は、携帯機との間の無線通信が不能と推測される場合に、携帯機との間のペアリングを解消する。したがって、携帯機からペアリングの要求があれば、これに応じることができる。   According to this system, the in-vehicle device cancels the pairing with the portable device when it is estimated that wireless communication with the portable device is impossible. Therefore, if there is a pairing request from the portable device, it can be met.

上記システムにおいて、前記車載機は、前記携帯機との間のペアリングを解消する場合、前記携帯機に対してペアリングを解消する旨示す情報を無線送信することが好ましい。
このシステムによれば、携帯機は車載機との間のペアリングの解消を早期に認識することができる。これにより、両者間における早期のペアリングの回復が期待できる。
In the above system, when the in-vehicle device cancels the pairing with the portable device, it is preferable to wirelessly transmit information indicating that the pairing is canceled to the portable device.
According to this system, the portable device can recognize early the cancellation of the pairing with the in-vehicle device. As a result, early recovery of pairing between the two can be expected.

本発明の車両通信システムは、BLUETOOTH規格の無線通信を通じて通信相手の照合を長期間に亘って行うことができるという効果を有する。   The vehicle communication system of the present invention has an effect that it is possible to collate a communication partner over a long period of time through wireless communication of the BLUETOOTH standard.

車両通信システムの概略構成を示すブロック図。The block diagram which shows schematic structure of a vehicle communication system. 通信エリアを示す車両の平面図。The top view of the vehicle which shows a communication area. 各制御部の処理手順を示すシーケンスチャート。The sequence chart which shows the process sequence of each control part. 各制御部の処理手順を示すシーケンスチャート。The sequence chart which shows the process sequence of each control part. 各制御部の処理手順を示すシーケンスチャート。The sequence chart which shows the process sequence of each control part. 各制御部の処理手順を示すシーケンスチャート。The sequence chart which shows the process sequence of each control part. 各制御部の処理手順を示すシーケンスチャート。The sequence chart which shows the process sequence of each control part. 各制御部の処理手順を示すシーケンスチャート。The sequence chart which shows the process sequence of each control part.

[第1の実施形態]
以下、車両通信システムの第1の実施形態について図面に従って説明する。
図1に示すように、車両通信システム1は、車両10とスマートフォン20との間の無線通信を通じて車両制御を行う。
[First Embodiment]
Hereinafter, a first embodiment of a vehicle communication system will be described with reference to the drawings.
As shown in FIG. 1, the vehicle communication system 1 performs vehicle control through wireless communication between the vehicle 10 and the smartphone 20.

<スマートフォン>
スマートフォン20は、スマートフォン制御部21と、BLUETOOTH(登録商標)通信部(以下、BT通信部)22と、タッチパネルディスプレイ27と、電話やインターネット等を行うための各種構成とを有している。BT通信部22をはじめとする各種構成は、それぞれスマートフォン制御部21に電気的に接続され、当該スマートフォン制御部21によって統括的に制御される。
<Smartphone>
The smartphone 20 includes a smartphone control unit 21, a BLUETOOTH (registered trademark) communication unit (hereinafter referred to as a BT communication unit) 22, a touch panel display 27, and various configurations for performing a telephone call, the Internet, and the like. Various configurations including the BT communication unit 22 are each electrically connected to the smartphone control unit 21 and are comprehensively controlled by the smartphone control unit 21.

BT通信部22は、79又は40の周波数チャネルに分けられた2.4GHz帯(2.40〜2.48GHz)の周波数をランダムに変更する周波数ホッピングを行うことにより、他の機器に搭載されているBT通信部との間でBLUETOOTH通信(以下、BT通信)を行う。ここで、BT通信は、79chを用いるクラシックタイプも40chを用いるローエナジータイプのいずれも含む。BT通信部22は、スマートフォン制御部21が生成する電気信号を2.4GHz帯の無線信号に変換し、BTアンテナ22aを通じて予め設定された通信エリアに向けて無線送信する。また、BT通信部22は、BTアンテナ22aを通じて受信した2.4GHz帯の無線信号を電気信号に変換する。   The BT communication unit 22 is mounted on other devices by performing frequency hopping that randomly changes the frequency of the 2.4 GHz band (2.40 to 2.48 GHz) divided into 79 or 40 frequency channels. BLUETOOTH communication (hereinafter referred to as BT communication) is performed with the BT communication unit that is present. Here, the BT communication includes both a classic type using 79 ch and a low energy type using 40 ch. The BT communication unit 22 converts the electrical signal generated by the smartphone control unit 21 into a 2.4 GHz band radio signal and wirelessly transmits the radio signal toward a preset communication area through the BT antenna 22a. The BT communication unit 22 converts a 2.4 GHz band radio signal received through the BT antenna 22a into an electrical signal.

なお、BT通信部22は、BTアンテナ22aを介して受信した無線信号のRSSI(信号強度)を検出するRSSI回路22bを備えている。
タッチパネルディスプレイ27は、タッチ位置を示す情報を電気信号に変換するとともに、スマートフォン制御部21が生成する信号に基づいて映像を表示する。なお、このタッチパネルディスプレイ27の操作を通じて、車載機器の動作(例えば、エンジンの始動やドアのロックとアンロックとの切り替えなど)を要求する要求コマンドを入力することもできる。なお、タッチパネルディスプレイ27は、報知部及び操作部に相当する。
The BT communication unit 22 includes an RSSI circuit 22b that detects an RSSI (signal strength) of a radio signal received via the BT antenna 22a.
The touch panel display 27 converts information indicating the touch position into an electrical signal and displays an image based on a signal generated by the smartphone control unit 21. It is also possible to input a request command for requesting the operation of the in-vehicle device (for example, starting the engine or switching between door locking and unlocking) through the operation of the touch panel display 27. The touch panel display 27 corresponds to a notification unit and an operation unit.

スマートフォン制御部21のメモリ21aには、自身に固有のBTのデバイスアドレス、並びに車両10に設けられる車載制御部11と共通のIDコード及び同じく共通の暗号鍵が記憶されている。BTのデバイスアドレスは、BT通信部を有する通信相手との間のペアリング処理及びBT通信に使用される。IDコード及び暗号鍵は、車載制御部11との間の相互認証に使用される。なお、IDコードは、車載制御部11と共通のIDを暗号鍵で暗号化したものであり、認証鍵に相当する。   The memory 21 a of the smartphone control unit 21 stores a BT device address unique to itself, an ID code common to the vehicle-mounted control unit 11 provided in the vehicle 10, and a common encryption key. The device address of BT is used for pairing processing and BT communication with a communication partner having a BT communication unit. The ID code and the encryption key are used for mutual authentication with the in-vehicle control unit 11. The ID code is obtained by encrypting an ID common to the vehicle-mounted control unit 11 with an encryption key, and corresponds to an authentication key.

また、スマートフォン制御部21は、後述する定期要求信号を受信するたびに1だけインクリメントするローリングカウンタ23を備えている。
スマートフォン制御部21は、ペアリングされた通信相手との間でBT通信が可能とされたBT通信可能モードと、BT通信が不能とされたBT通信不能モードと、ペアリングが可能な機器を探索する探索モードと、を有している。これら3つのモードの間は、例えばタッチパネルディスプレイが操作されることにより切り替えられる。
The smartphone control unit 21 includes a rolling counter 23 that is incremented by 1 each time a periodic request signal described later is received.
The smartphone control unit 21 searches for a device capable of pairing, a BT communication enabled mode in which BT communication is enabled with a paired communication partner, a BT communication disabled mode in which BT communication is disabled, and And a search mode. Switching between these three modes is performed, for example, by operating a touch panel display.

探索モードのスマートフォン制御部21は、ペアリングが可能な機器を発見すると、ペアリング処理を行う。ペアリング処理が完了すると、スマートフォン制御部21は、ペアリングされた通信相手との間でBT通信することができる。通信相手の特定は、その通信相手固有のコードにより行う。なお、ペアリング処理では、セキュリティ性を確保するために、通信相手固有の暗証番号の入力が必要な場合もあるし、一度暗証番号を入力すればそれ以降は暗証番号の入力なしにペアリングが許可される場合もある。また、一度の暗証番号の入力なしにペアリングが許可される場合もある。   When the smartphone control unit 21 in the search mode finds a device that can be paired, it performs a pairing process. When the pairing process is completed, the smartphone control unit 21 can perform BT communication with the paired communication partner. The communication partner is specified by a code unique to the communication partner. In order to ensure security, the pairing process may require the entry of a personal identification number unique to the communication partner. Once the personal identification number is entered, pairing can be performed without entering the personal identification number thereafter. Sometimes allowed. In some cases, pairing is permitted without entering a password once.

BT通信可能モードにおいて、車載制御部11との間でペアリングされたスマートフォン制御部21は、チャレンジコードが含まれたチャレンジ信号を受信すると、暗号鍵を使用してチャレンジコードを暗号化させたレスポンスコードを生成する。そして、スマートフォン制御部21は、そのレスポンスコードと自身のメモリ21aに記憶されているIDコードとを含ませたレスポンス信号を生成し、これを無線送信する。   In the BT communication enabled mode, when the smartphone control unit 21 paired with the in-vehicle control unit 11 receives the challenge signal including the challenge code, the response in which the challenge code is encrypted using the encryption key Generate code. Then, the smartphone control unit 21 generates a response signal including the response code and the ID code stored in its own memory 21a, and wirelessly transmits the response signal.

また、BT通信可能モードにおいて、車載制御部11との間でペアリングされたスマートフォン制御部21は、ローリングカウンタの値を要求する初期値要求信号を受信すると、ローリングカウンタ23の値を暗号鍵を使用して暗号化させたローリングコードを生成する。そして、このローリングコードを含ませた初期値応答信号を生成し、これを無線送信する。   Further, in the BT communication enabled mode, when the smartphone control unit 21 paired with the in-vehicle control unit 11 receives the initial value request signal for requesting the value of the rolling counter, the value of the rolling counter 23 is used as the encryption key. Generate a rolling code that is encrypted using it. Then, an initial value response signal including the rolling code is generated and wirelessly transmitted.

また、BT通信可能モードにおいて、車載制御部11との間でペアリングされたスマートフォン制御部21は、ローリングカウンタの値及び信号強度情報を要求する定期要求信号を受信すると、この受信に伴い1だけインクリメントされたローリングカウンタ23の値を暗号鍵を使用して暗号化させたローリングコードを生成する。そして、スマートフォン制御部21は、そのローリングコード及びRSSI回路22bを通じて検出したRSSIを含ませた定期応答信号を生成し、これを無線送信する。   Further, in the BT communication possible mode, when the smartphone control unit 21 paired with the in-vehicle control unit 11 receives the periodic request signal requesting the value of the rolling counter and the signal strength information, only 1 is associated with the reception. A rolling code is generated by encrypting the incremented value of the rolling counter 23 using the encryption key. And the smart phone control part 21 produces | generates the periodic response signal containing the RSSI detected through the rolling code and the RSSI circuit 22b, and transmits this wirelessly.

なお、スマートフォン制御部21は、タッチパネルディスプレイ27の操作を通じて、車載機器の動作を要求する要求コマンドが入力されている場合に、要求コマンドが入力された直後に受信した定期要求信号に対する定期応答信号に要求コマンドを含ませる。   In addition, when the request command which requests | requires operation | movement of a vehicle-mounted apparatus is input through operation of the touchscreen display 27, the smart phone control part 21 uses the periodic response signal with respect to the periodic request signal received immediately after the request command was input. Include request commands.

また、スマートフォン制御部21は、定期要求信号に車載機器が動作したことを示す制御コマンドが含まれる場合に、その制御コマンドに対応した映像信号を生成する。タッチパネルディスプレイ27は、この映像信号に基づいた映像を表示する。   Moreover, the smart phone control part 21 produces | generates the video signal corresponding to the control command, when the control command which shows that vehicle equipment operate | moved is contained in the periodical request signal. The touch panel display 27 displays a video based on this video signal.

<車両>
図1に示すように、車両10は、車載制御部11と、BLUETOOTH通信部12と、エンジンスイッチ13と、エンジン制御装置14と、ドアハンドルセンサ15と、ドアロック装置16と、を備えている。これらBT通信部12、エンジンスイッチ13、エンジン制御装置14、ドアハンドルセンサ15、及びドアロック装置16は、それぞれ車載制御部11と電気的に接続され、当該車載制御部11により統括的に制御される。
<Vehicle>
As shown in FIG. 1, the vehicle 10 includes an in-vehicle control unit 11, a BLUETOOTH communication unit 12, an engine switch 13, an engine control device 14, a door handle sensor 15, and a door lock device 16. . The BT communication unit 12, the engine switch 13, the engine control device 14, the door handle sensor 15, and the door lock device 16 are each electrically connected to the in-vehicle control unit 11 and are comprehensively controlled by the in-vehicle control unit 11. The

BT通信部12は、2.4GHz帯の周波数ホッピングを行うことにより、他のBT通信部との間でBLUETOOTH通信を行う。BT通信部12は、車載制御部11が生成する電気信号を2.4GHz帯の信号に変換する。変換された無線信号は、BTアンテナ12aを通じて、図2に示すように、予め車両10の全体を覆うように設定された通信エリアA3に向けて無線送信される。なお、図2における通信エリアA3は、車両の周囲1m程度の領域とされているが、BT出力を調整することにより車両の周囲10〜100m程度の領域にも設定可能である。また、BT通信部12は、BTアンテナ12aを通じて受信した2.4GHz帯の無線信号を電気信号に変換する。   The BT communication unit 12 performs BLUETOOTH communication with other BT communication units by performing frequency hopping in the 2.4 GHz band. The BT communication unit 12 converts the electrical signal generated by the in-vehicle control unit 11 into a 2.4 GHz band signal. The converted wireless signal is wirelessly transmitted through the BT antenna 12a toward the communication area A3 set in advance so as to cover the entire vehicle 10, as shown in FIG. Note that the communication area A3 in FIG. 2 is an area of about 1 m around the vehicle, but can be set to an area of about 10 to 100 m around the vehicle by adjusting the BT output. The BT communication unit 12 converts a 2.4 GHz band radio signal received through the BT antenna 12a into an electrical signal.

図1に示すように、エンジンスイッチ13は、押し操作を検出する。
エンジン制御装置14は、エンジンの始動や停止を制御する。
ドアハンドルセンサ15は、ドアハンドルへの接触を検出する。
As shown in FIG. 1, the engine switch 13 detects a pressing operation.
The engine control device 14 controls starting and stopping of the engine.
The door handle sensor 15 detects contact with the door handle.

ドアロック装置16は、ドアのロックとアンロックとを切り替える。
車載制御部11は、車両電源の供給が停止されても記憶情報が維持される不揮発性メモリ11aと、車両電源の供給が停止されると記憶情報が消去される揮発性メモリ11bとを備えている。
The door lock device 16 switches between locking and unlocking the door.
The in-vehicle control unit 11 includes a nonvolatile memory 11a that maintains stored information even when the supply of vehicle power is stopped, and a volatile memory 11b that deletes stored information when the supply of vehicle power is stopped. Yes.

不揮発性メモリ11aには、自身に固有のBTのデバイスアドレス及び暗証番号、並びにスマートフォン20に設けられるスマートフォン制御部21と共通のIDコード及び同じく共通の暗号鍵が記憶されている。BTのデバイスアドレス及び暗証番号は、BT通信部を有する通信相手との間のペアリング処理に使用される。IDコード及び暗号鍵は、スマートフォン制御部21との間の相互認証に使用される。なお、IDコードは、スマートフォン制御部21と共通のIDを暗号鍵で暗号化したものであり、認証鍵に相当する。   The non-volatile memory 11 a stores a BT device address and personal identification number unique to itself, an ID code common to the smartphone control unit 21 provided in the smartphone 20, and a common encryption key. The device address and password of the BT are used for pairing processing with a communication partner having the BT communication unit. The ID code and the encryption key are used for mutual authentication with the smartphone control unit 21. The ID code is obtained by encrypting an ID common to the smartphone control unit 21 with an encryption key, and corresponds to an authentication key.

また、不揮発性メモリ11aには、図2に示す通信エリアA3よりも狭く且つ車両ドアの外側周辺を覆うように設定された室外判定エリアA2内から送信された無線信号を車両10が受信するときの室外判定RSSI値が記憶されている。さらに、不揮発性メモリ11aには、図2に示す室外判定エリアA2よりも狭く且つ車両ドアの外側に漏れないように設定された室内判定エリアA1内から送信された無線信号を車両10が受信するときの室内判定RSSI値が記憶されている。また、不揮発性メモリ11aには、受信するローリングカウンタの値の照合に使用する照合値域の算出式が記憶されている。   In addition, when the vehicle 10 receives a wireless signal transmitted from the outdoor determination area A2 that is set smaller than the communication area A3 shown in FIG. 2 and covers the outer periphery of the vehicle door in the nonvolatile memory 11a. The outdoor determination RSSI value is stored. Further, in the nonvolatile memory 11a, the vehicle 10 receives a radio signal transmitted from the indoor determination area A1 that is set smaller than the outdoor determination area A2 shown in FIG. 2 and does not leak outside the vehicle door. The indoor determination RSSI value is stored. Further, the non-volatile memory 11a stores a collation range calculation formula used for collating the value of the received rolling counter.

一方、揮発性メモリ11bには、基準値が記憶されている。この基準値は、照合が成立すると判断したローリングカウンタの最新値、又は、後述する初期値要求信号に対する応答として受信する初期値応答信号に含まれるローリングカウンタの初期値とされている。   On the other hand, a reference value is stored in the volatile memory 11b. This reference value is an initial value of the rolling counter included in the latest value of the rolling counter that is determined to be collated or the initial value response signal received as a response to the initial value request signal described later.

車載制御部11は、ペアリングが確立している通信相手との間でBT通信が可能とされたBT通信可能モードと、BT通信が不能とされたBT通信不能モードと、を有している。BT通信可能モードとBT通信不能モードとの間は、図示しない入力装置が操作されることにより切り替えられる。   The in-vehicle control unit 11 has a BT communication enable mode in which BT communication is possible with a communication partner with which pairing has been established, and a BT communication disable mode in which BT communication is disabled. . Switching between the BT communication enabled mode and the BT communication disabled mode is performed by operating an input device (not shown).

なお、BT通信可能モードの車載制御部11は、BT通信部を有する機器とペアリング可能な状態であって、探索している機器に発見されペアリング処理されることにより当該機器とペアリングされる。ペアリング処理が完了すると、車載制御部11は、ペアリングされた通信相手との間でBT通信することができる。通信相手の特定は、その通信相手固有のコードにより行う。なお、車載制御部11は、ペアリング処理に際し、暗証番号の入力を求める。自身に固有の暗証番号が入力された場合、その暗証番号が入力された機器とのペアリングを許可する。   Note that the in-vehicle control unit 11 in the BT communication enable mode is in a state that can be paired with a device having the BT communication unit, and is paired with the device by being discovered by the searching device and subjected to pairing processing. The When the pairing process is completed, the in-vehicle control unit 11 can perform BT communication with the paired communication partner. The communication partner is specified by a code unique to the communication partner. In addition, the vehicle-mounted control part 11 calculates | requires the input of a PIN code in the case of a pairing process. When a personal identification number is input to itself, pairing with a device having the personal identification number is permitted.

BT通信可能モードにおいて、スマートフォン制御部21との間でペアリングされたことをトリガとして、車載制御部11は、チャレンジコードを含ませたチャレンジ信号を生成し、これを無線送信するとともに、スマートフォン制御部21と共通の暗号鍵を使用して、チャレンジコードを暗号化したレスポンスコードを生成する。   In the BT communication enabled mode, the in-vehicle control unit 11 generates a challenge signal including a challenge code and wirelessly transmits the challenge signal using the pairing with the smartphone control unit 21 as a trigger. A response code obtained by encrypting the challenge code is generated using the encryption key common to the unit 21.

車載制御部11は、チャレンジ信号に対する応答としてのレスポンス信号を受信すると、当該信号に含まれるレスポンスコードと自身で演算したレスポンスコードとの照合、並びに当該信号に含まれるIDコードと自身の不揮発性メモリ11aに記憶されているIDコードとの照合を行う。これら両照合が成立する場合、車載制御部11は、通信相手(ここではスマートフォン制御部21)が自身に対応するものと判断する。   When the in-vehicle control unit 11 receives a response signal as a response to the challenge signal, the in-vehicle control unit 11 collates the response code included in the signal with the response code calculated by itself, and the ID code included in the signal and its own nonvolatile memory. The ID code stored in 11a is collated. When these two verifications are established, the vehicle-mounted control unit 11 determines that the communication partner (here, the smartphone control unit 21) corresponds to itself.

その後、車載制御部11は、ローリングカウンタの値を要求する初期値要求信号を生成し、これを無線送信する。車載制御部11は、初期値要求信号に対する応答としての初期値応答信号を受信するとこれに含まれるローリングコードを暗号鍵で復号することにより得られるローリングカウンタの値に揮発性メモリ11bの基準値を更新する。また、車載制御部11は、不揮発性メモリ11aに記憶されている算出式を使用して次に受信するローリングカウンタの値の照合に使用する照合値域を算出する。   Thereafter, the in-vehicle controller 11 generates an initial value request signal for requesting the value of the rolling counter, and wirelessly transmits this signal. When the in-vehicle control unit 11 receives the initial value response signal as a response to the initial value request signal, the in-vehicle control unit 11 sets the reference value of the volatile memory 11b to the value of the rolling counter obtained by decrypting the rolling code included therein with the encryption key. Update. Moreover, the vehicle-mounted control part 11 calculates the collation value range used for collation of the value of the rolling counter received next using the calculation formula memorize | stored in the non-volatile memory 11a.

その後、車載制御部11は、ローリングカウンタの値及び信号強度情報を要求する定期要求信号を定期的に生成し、これを無線送信する。車載制御部11は、定期要求信号に対する応答としての定期応答信号を受信するとこれに含まれるローリングコードを暗号鍵で復号することにより得られるローリングカウンタの値と照合値域とを照合する。   Thereafter, the in-vehicle control unit 11 periodically generates a periodic request signal for requesting the value of the rolling counter and the signal strength information, and wirelessly transmits the request signal. When receiving the periodic response signal as a response to the periodic request signal, the in-vehicle control unit 11 collates the value of the rolling counter obtained by decrypting the rolling code included in the signal with the encryption key and the collation value range.

車載制御部11は、受信したローリングカウンタの値が照合値域に含まれる場合に、当該受信したローリングカウンタの値に揮発性メモリ11bの基準値を更新するとともに、受信したRSSIと室内判定RSSI及び室外判定RSSIとの比較を通じて車両10に対するスマートフォン20の位置を判断する。スマートフォン20が車室内に位置すると判断される場合は、エンジンの始動を許可する。この状態でエンジンスイッチ13が操作を検出すると、車載制御部11は、エンジン制御装置14を通じてエンジンを始動させる。一方で、スマートフォン20が車室外に位置すると判断される場合は、ドアのロックとアンロックとの切り替えを許可する。この状態でドアハンドルセンサ15が接触を検出すると、車載制御部11は、ドアロック装置16を通じてドアのロックとアンロックとを切り替える。   When the value of the received rolling counter is included in the verification value range, the in-vehicle control unit 11 updates the reference value of the volatile memory 11b to the value of the received rolling counter, and also receives the received RSSI, the indoor determination RSSI, and the outdoor The position of the smartphone 20 with respect to the vehicle 10 is determined through comparison with the determination RSSI. When it is determined that the smartphone 20 is located in the vehicle compartment, the engine is allowed to start. When the engine switch 13 detects an operation in this state, the in-vehicle control unit 11 starts the engine through the engine control device 14. On the other hand, when it is determined that the smartphone 20 is located outside the passenger compartment, switching between door locking and unlocking is permitted. When the door handle sensor 15 detects contact in this state, the vehicle-mounted control unit 11 switches between locking and unlocking the door through the door lock device 16.

また、車載制御部11は、受信したローリングカウンタの値が照合値域に含まれるとともに、その値が含まれていた定期要求信号に車載機器の動作(例えば、エンジンの始動やドアのロックとアンロックとの切り替え)を要求する要求コマンドが入力されている場合、その要求コマンドに応じた車載機器を動作させる。この場合も、当該受信したローリングカウンタの値に揮発性メモリ11bの基準値を更新する。   In addition, the in-vehicle control unit 11 includes the value of the received rolling counter in the verification value range, and the operation of the in-vehicle device (for example, engine start, door locking and unlocking) is included in the periodic request signal that includes the value. When a request command for requesting switching is input, the in-vehicle device corresponding to the request command is operated. Also in this case, the reference value of the volatile memory 11b is updated to the value of the received rolling counter.

車載制御部11は、車載機器を動作させた場合、その旨示す制御コマンドを生成し、これを定期要求信号に含ませる。
<作用>
次に、車両通信システム1の作用を図3及び図4に従って説明する。
When the vehicle-mounted control unit 11 operates the vehicle-mounted device, the vehicle-mounted control unit 11 generates a control command indicating that and includes the control command in the periodic request signal.
<Action>
Next, the operation of the vehicle communication system 1 will be described with reference to FIGS.

まず、車載制御部11とスマートフォン制御部21との間のペアリング処理が完了してから、これら両者の間で定期要求信号及び定期応答信号の授受が定期的に行われるまでについて説明する。   First, after the pairing process between the in-vehicle control unit 11 and the smartphone control unit 21 is completed, the periodical transmission and reception of the periodic request signal and the periodic response signal between them will be described.

図3に示すように、車載制御部11は、スマートフォン制御部21との間のチャレンジ信号及びレスポンス信号の授受を通じて、スマートフォン制御部21が自身に対応するものか否かの認証、いわゆるチャレンジレスポンス認証を行う。   As shown in FIG. 3, the in-vehicle control unit 11 authenticates whether the smartphone control unit 21 corresponds to itself through transmission / reception of a challenge signal and a response signal with the smartphone control unit 21, so-called challenge response authentication. I do.

チャレンジレスポンス認証が成立すると、車載制御部11は、初期値要求信号を生成しこれを無線送信する(ステップS1)。
スマートフォン制御部21は、初期値要求信号を受信すると、これに対する応答としてローリングカウンタ23の値を暗号化したローリングコードを含む初期値応答信号を生成し、これを無線送信する(ステップS2)。
When the challenge response authentication is established, the in-vehicle controller 11 generates an initial value request signal and wirelessly transmits it (step S1).
When receiving the initial value request signal, the smartphone control unit 21 generates an initial value response signal including a rolling code obtained by encrypting the value of the rolling counter 23 as a response to the initial value request signal, and wirelessly transmits this (step S2).

車載制御部11は、初期値応答信号を受信すると、これに含まれるローリングコードを復号して得られるローリングカウンタ23の値に揮発性メモリ11bの基準値を更新するとともに、照合値域を算出する(ステップS3)。そして、定期要求信号を生成し、これを無線送信する(ステップS4)。   When the in-vehicle control unit 11 receives the initial value response signal, the in-vehicle control unit 11 updates the reference value of the volatile memory 11b to the value of the rolling counter 23 obtained by decoding the rolling code included therein, and calculates the collation range ( Step S3). Then, a periodic request signal is generated and wirelessly transmitted (step S4).

スマートフォン制御部21は、定期要求信号を受信すると、これに対する応答としてローリングカウンタ23の値を暗号化したローリングコード及び受信した定期要求信号のRSSIの各情報を含む初期値応答信号を生成し、これを無線送信する(ステップS5)。   Upon receiving the periodic request signal, the smartphone control unit 21 generates an initial value response signal including each information of the rolling code that encrypts the value of the rolling counter 23 and the RSSI of the received periodic request signal as a response thereto. Is wirelessly transmitted (step S5).

車載制御部11は、定期応答信号を受信すると、これに含まれるローリングコードを復号して得られるローリングカウンタ23の値に揮発性メモリ11bの基準値を更新するとともに、照合値域を算出する(ステップS6)。そして、受信したRSSIから車両10に対するスマートフォン20の位置に応じた車載機器の動作を許可する(ステップS7)。なお、ステップS7において、スマートフォン20の位置に応じては、車載機器の動作が許可されない場合もある。その後、車載制御部11は、定期要求信号を生成し、これを無線送信する(ステップS8)。   When receiving the periodic response signal, the in-vehicle control unit 11 updates the reference value of the volatile memory 11b to the value of the rolling counter 23 obtained by decoding the rolling code included therein, and calculates the collation range (step). S6). And operation | movement of the vehicle equipment according to the position of the smart phone 20 with respect to the vehicle 10 is permitted from received RSSI (step S7). In step S7, the operation of the in-vehicle device may not be permitted depending on the position of the smartphone 20. Thereafter, the in-vehicle controller 11 generates a periodic request signal and wirelessly transmits it (step S8).

その後は、スマートフォン20が通信エリアA3から外れて、車載制御部11とスマートフォン制御部21との間のBT通信が不能となるまで、ステップS5〜S8の各処理が順次繰り返される。   Thereafter, the processes of steps S5 to S8 are sequentially repeated until the smartphone 20 is removed from the communication area A3 and the BT communication between the in-vehicle control unit 11 and the smartphone control unit 21 becomes impossible.

次に、車載制御部11とスマートフォン制御部21との間でステップS5〜S8の各処理が順次繰り返される中で、ステップS7においてエンジンの始動が許可されるとともに、エンジンスイッチ13が操作された場合について説明する。なお、ここでは、車載制御部11がステップS8の処理をした直後でスマートフォン制御部21がステップS5の処理をしている最中にエンジンスイッチ13が操作されたものとして説明する。   Next, when each process of steps S5 to S8 is sequentially repeated between the in-vehicle control unit 11 and the smartphone control unit 21, the engine start is permitted in step S7 and the engine switch 13 is operated. Will be described. In the following description, it is assumed that the engine switch 13 is operated immediately after the in-vehicle control unit 11 performs the process of step S8 and the smartphone control unit 21 performs the process of step S5.

図4に示すように、車載制御部11は、エンジンスイッチ13が操作されたことを検出すると、エンジン制御装置14を通じてエンジンを始動させるとともに、エンジンを始動させたことを示す制御コマンドを生成する(ステップS9)。   As shown in FIG. 4, when detecting that the engine switch 13 has been operated, the in-vehicle control unit 11 starts the engine through the engine control device 14 and generates a control command indicating that the engine has been started ( Step S9).

車載制御部11は、定期応答信号を受信すると、ステップS6,S7の各処理を行い、その後、エンジンを始動させたことを示す制御コマンドを含ませた定期要求信号を生成し、これを無線送信する(ステップS10)。   When the in-vehicle control unit 11 receives the periodic response signal, it performs each process of steps S6 and S7, and then generates a periodic request signal including a control command indicating that the engine has been started, and wirelessly transmits this signal. (Step S10).

スマートフォン制御部21は、制御コマンドを含む定期要求信号を受信すると、制御コマンドに基づく映像をタッチパネルディスプレイ27に表示する(ステップS11)。
これ以降、車載制御部11とスマートフォン制御部21との間では、図3に示すステップS5〜S8の各処理が順次繰り返される。
When receiving the periodic request signal including the control command, the smartphone control unit 21 displays an image based on the control command on the touch panel display 27 (step S11).
Thereafter, between the in-vehicle control unit 11 and the smartphone control unit 21, the processes in steps S5 to S8 illustrated in FIG. 3 are sequentially repeated.

なお、ステップS9の処理が行われるタイミングは、ステップS5〜S8の各処理間のいずれであってもよい。車載制御部11は、ステップS9の処理の直後に生成する定期要求信号に制御コマンドを含ませればよい。   Note that the timing at which the process of step S9 is performed may be any time between the processes of steps S5 to S8. The in-vehicle control unit 11 may include the control command in the periodic request signal generated immediately after the process of step S9.

次に、車載制御部11とスマートフォン制御部21との間でステップS5〜S8の各処理が順次繰り返される中で、タッチパネルディスプレイ27を通じてエンジンの始動を要求する要求コマンドがスマートフォン制御部21に入力された場合について説明する。ここでは、車載制御部11においてステップS6〜S8の各処理が行われている最中に要求コマンドが入力されたものとして説明する。   Next, while the processes in steps S5 to S8 are sequentially repeated between the in-vehicle control unit 11 and the smartphone control unit 21, a request command for requesting engine start is input to the smartphone control unit 21 through the touch panel display 27. The case will be described. Here, a description will be given assuming that a request command is input while the processes in steps S6 to S8 are being performed in the in-vehicle control unit 11.

図5に示すように、スマートフォン制御部21は、要求コマンドが入力されている状態で定期要求信号を受信すると、要求コマンドを含ませた定期応答信号を生成し、これを無線送信する(ステップS12)。   As illustrated in FIG. 5, when receiving the periodic request signal in a state where the request command is input, the smartphone control unit 21 generates a periodic response signal including the request command and wirelessly transmits this (step S12). ).

車載制御部11は、要求コマンドを含む定期応答信号を受信すると、要求コマンドに応じて車載機器を動作させるとともにその車載機器の動作を示す制御コマンドを生成する。ここでは、エンジンを始動させるとともに、エンジンを始動させたことを示す制御コマンドを生成する(ステップS9)。   When receiving the periodic response signal including the request command, the in-vehicle control unit 11 operates the in-vehicle device according to the request command and generates a control command indicating the operation of the in-vehicle device. Here, the engine is started and a control command indicating that the engine has been started is generated (step S9).

これ以降、車載制御部11とスマートフォン制御部21との間では、図4に示すステップS6,S7,S10,S11の各処理を経た後、図3に示すステップS5〜S8の各処理が順次繰り返される。   Thereafter, between the in-vehicle control unit 11 and the smartphone control unit 21, the processes in steps S <b> 6, S <b> 7, S <b> 10, and S <b> 11 illustrated in FIG. 4 are performed, and then the processes in steps S <b> 5 to S <b> 8 illustrated in FIG. It is.

なお、上記説明では、エンジンが始動する場合の各処理について説明したが、ドアのロックとアンロックとが切り替えられる場合についても、同様の処理が行われる。
以上詳述したように、本実施形態によれば、以下に示す効果が得られる。
In the above description, each process when the engine is started has been described, but the same process is also performed when the door is locked and unlocked.
As described above in detail, according to the present embodiment, the following effects can be obtained.

(1)車載制御部11に揮発性メモリ11bを設け、この揮発性メモリ11bに、ローリングカウンタの値を照合するための基準値を記憶させた。そして、IDコードによる照合の成立後は、ローリングカウンタの値と基準値から算出される照合値域との照合を行い、この照合が成立するたび、揮発性メモリ11bの基準値を更新するようにした。このように、不揮発性メモリよりも使用できる期間が長い揮発性メモリ11bを採用したことにより、車載制御部11は、従来のシステムよりも通信相手の照合を長期間に亘って行うことができる。また、従来のシステムと同等のセキュリティ性が確保される。   (1) The in-vehicle control unit 11 is provided with a volatile memory 11b, and a reference value for collating the value of the rolling counter is stored in the volatile memory 11b. Then, after the collation by the ID code is established, the collation value range calculated from the value of the rolling counter and the reference value is collated, and whenever the collation is established, the reference value of the volatile memory 11b is updated. . Thus, by adopting the volatile memory 11b that can be used longer than the non-volatile memory, the in-vehicle control unit 11 can check the communication partner for a longer period than the conventional system. In addition, security equivalent to that of the conventional system is ensured.

(2)車載制御部11は、スマートフォン制御部21との間でペアリングされたことをトリガとしてIDコードによる照合を行う。その照合の成立後、車載制御部11は、定期要求信号及び定期応答信号の定期的な授受を通じてローリングカウンタの値の照合を行い、その照合が成立している間、車載機器の動作を許可するようにした。ローリングカウンタの値は、照合の度に変化することから、IDコードによる照合がペアリング後の一度だけでも、従来のシステムと同等のセキュリティ性が確保される。   (2) The in-vehicle control unit 11 performs collation using an ID code triggered by pairing with the smartphone control unit 21 as a trigger. After the collation is established, the in-vehicle control unit 11 collates the value of the rolling counter through periodic exchange of the periodic request signal and the periodic response signal, and permits the operation of the in-vehicle device while the collation is established. I did it. Since the value of the rolling counter changes each time collation is performed, security equivalent to that of the conventional system is ensured even if collation by ID code is performed only once after pairing.

また、ローリングカウンタによる照合が成立している間、車載機器の動作が許可されているので、車載機器への動作を要求してから実際に車載機器が動作するまでの時間が短い。すなわち、車載機器の動作応答性がよい。   In addition, since the operation of the in-vehicle device is permitted while the collation by the rolling counter is established, the time from when the operation to the in-vehicle device is requested to when the in-vehicle device actually operates is short. That is, the operation response of the in-vehicle device is good.

(3)車載制御部11及びスマートフォン制御部21の各メモリに共通の暗号鍵を記憶させた。そして、スマートフォン制御部21は、車載制御部11へ無線送信するデータを暗号鍵で暗号化した。車載制御部11は、受信したデータを暗号鍵で復号して使用する。これにより、車載制御部11で照合に使用するデータは、全て暗号化されているのでセキュリティ性が高い。   (3) A common encryption key is stored in each memory of the in-vehicle control unit 11 and the smartphone control unit 21. And the smart phone control part 21 encrypted the data wirelessly transmitted to the vehicle-mounted control part 11 with an encryption key. The in-vehicle control unit 11 decrypts the received data with the encryption key and uses it. Thereby, since all the data used for collation by the vehicle-mounted control part 11 are encrypted, security is high.

(4)車載制御部11は、車載機器を動作させたとき、その旨示す制御コマンドを定期要求信号に含め送信する。スマートフォン制御部21は、受信した制御コマンドに基づいて車載機器が動作したことをタッチパネルディスプレイ27を通じて報知する。これにより、ユーザは、車両から離れていても車載機器が動作したことを確認することができる。   (4) When the vehicle-mounted device 11 operates the vehicle-mounted device, the vehicle-mounted control unit 11 transmits a control command indicating that in the periodic request signal. The smartphone control unit 21 notifies the touch panel display 27 that the in-vehicle device has been operated based on the received control command. Thereby, the user can confirm that the in-vehicle device has operated even if the user is away from the vehicle.

[第2の実施形態]
次に、車両通信システムの第2の実施形態について説明する。第2の実施形態と上述した第1の実施形態との主たる相違点は、車両10及びスマートフォン20がともに時間カウンタを有し、当該時間カウンタによりカウントされた時間が途絶判定時間を超えた場合に通信相手との間のペアリングを解消することである。よって、第2の実施形態と上述の第1の実施形態とが共通である部分については、その詳細な説明を省略する。
[Second Embodiment]
Next, a second embodiment of the vehicle communication system will be described. The main difference between the second embodiment and the first embodiment described above is that both the vehicle 10 and the smartphone 20 have a time counter, and the time counted by the time counter exceeds the breakage determination time. It is to eliminate pairing with the communication partner. Therefore, the detailed description of the parts common to the second embodiment and the first embodiment described above is omitted.

<車載制御部>
図1に破線で示すように、車載制御部11は、定期要求信号の生成をトリガとしてリセットするとともに時間の計測を開始する車載時間カウンタ19を備える。
<In-vehicle control unit>
As shown by a broken line in FIG. 1, the in-vehicle control unit 11 includes an in-vehicle time counter 19 that resets the generation of a periodic request signal as a trigger and starts measuring time.

また、不揮発性メモリ11aには、あらかじめ設定される途絶判定時間Tsが記憶されている。途絶判定時間Tsは、BT通信が正常に行われる場合に車載制御部11が定期要求信号を生成してから定期応答信号の受信にかかる時間よりも長く、且つ、BLUETOOTH規格で設定されている接続監視時間よりも短い時間に設定される。   The non-volatile memory 11a stores a preset interruption determination time Ts. The disconnection determination time Ts is longer than the time required for receiving the periodic response signal after the in-vehicle control unit 11 generates the periodic request signal when the BT communication is normally performed, and is set in the BLUETOOTH standard. A time shorter than the monitoring time is set.

車載制御部11は、車載時間カウンタ19の計測時間T1が途絶判定時間Tsを超えた場合に、スマートフォン制御部21との間のペアリングを解消する旨示す情報を含ませたペアリング解消信号を生成するとともに、ペアリング解消処理を実施する。その後、車載制御部11は、スマートフォン制御部21に対し再度のペアリングを要求する。   The in-vehicle control unit 11 outputs a pairing cancellation signal including information indicating that the pairing with the smartphone control unit 21 is canceled when the measurement time T1 of the in-vehicle time counter 19 exceeds the interruption determination time Ts. Generate and perform pairing cancellation processing. Thereafter, the in-vehicle controller 11 requests the smartphone controller 21 to perform pairing again.

<スマートフォン制御部>
図1に破線で示すように、スマートフォン制御部21は、定期応答信号の生成をトリガとしてリセットするとともに時間の計測を開始する端末時間カウンタ29を備える。
<Smartphone control unit>
As shown by a broken line in FIG. 1, the smartphone control unit 21 includes a terminal time counter 29 that resets the generation of a periodic response signal as a trigger and starts measuring time.

また、メモリ21aには、不揮発性メモリ11aに記憶される途絶判定時間Tsと同じ途絶判定時間Tsが記憶されている。
スマートフォン制御部21は、端末時間カウンタ29の計測時間T2が途絶判定時間Tsを超えた場合に、車載制御部11との間のペアリングを解消する旨示す情報を含ませたペアリング解消信号を生成するとともに、ペアリング解消処理を実施する。その後、スマートフォン制御部21は、車載制御部11に対し再度のペアリングを要求する。
Further, the memory 21a stores the same interruption determination time Ts as the interruption determination time Ts stored in the nonvolatile memory 11a.
When the measurement time T2 of the terminal time counter 29 exceeds the interruption determination time Ts, the smartphone control unit 21 outputs a pairing cancellation signal including information indicating that the pairing with the in-vehicle control unit 11 is canceled. Generate and perform pairing cancellation processing. Thereafter, the smartphone control unit 21 requests the vehicle-mounted control unit 11 to perform pairing again.

<作用>
次に、車両通信システム1の作用を図6、図7、及び図8に従って説明する。
まず、図6を参照して、車載制御部11とスマートフォン制御部21との間のBT通信が正常に行われる場合について説明する。なお、ペアリング処理、チャレンジレスポンス認証、初期値要求信号の生成・送信、初期値応答信号の生成・送信、基準値の更新、照合値域の算出にかかる各処理は、図3に示す処理(ステップS3までの各処理)と同様であるから、これら各処理の説明は省略する。
<Action>
Next, the operation of the vehicle communication system 1 will be described with reference to FIGS. 6, 7, and 8.
First, with reference to FIG. 6, the case where BT communication between the vehicle-mounted control part 11 and the smart phone control part 21 is performed normally is demonstrated. In addition, each process concerning pairing processing, challenge response authentication, generation / transmission of an initial value request signal, generation / transmission of an initial value response signal, update of a reference value, and calculation of a collation range is shown in FIG. Since each process up to S3 is the same, description of each of these processes is omitted.

図6に示すように、車載制御部11は、ステップS3の処理後、定期要求信号を生成し、これを無線送信するとともに、車載時間カウンタ19を起動させて時間計測を開始する(ステップS21)。   As shown in FIG. 6, the in-vehicle controller 11 generates a periodic request signal after the processing in step S3, wirelessly transmits the signal, and activates the in-vehicle time counter 19 to start time measurement (step S21). .

スマートフォン制御部21は、定期要求信号を受信すると、これに対する応答としてローリングカウンタ23の値を暗号化したローリングコード及び受信した定期要求信号のRSSIの各情報を含む定期応答信号を生成し、これを無線送信するとともに、端末時間カウンタ29を起動させて時間計測を開始する(ステップS22)。   When receiving the periodic request signal, the smartphone control unit 21 generates a periodic response signal including each information of the rolling code that encrypts the value of the rolling counter 23 and the RSSI of the received periodic request signal as a response thereto. In addition to wireless transmission, the terminal time counter 29 is activated to start time measurement (step S22).

車載制御部11は、車載時間カウンタ19の計測時間T1が途絶判定時間Tsを超える前(T1≦Ts)に定期応答信号を受信すると、これに含まれるローリングコードを復号して得られるローリングカウンタ23の値に揮発性メモリ11bの基準値を更新するとともに、照合値域を算出する(ステップS23)。そして、受信したRSSIから車両10に対するスマートフォン20の位置に応じた車載機器の動作を許可する(ステップS24)。その後、車載制御部11は、定期要求信号を生成し、これを無線送信するとともに、車載時間カウンタ19をリセットさせて時間計測を再開する(ステップS25)。   When the vehicle-mounted control unit 11 receives the periodic response signal before the measurement time T1 of the vehicle-mounted time counter 19 exceeds the interruption determination time Ts (T1 ≦ Ts), the rolling counter 23 obtained by decoding the rolling code included therein. The reference value of the volatile memory 11b is updated to the above value and the collation value range is calculated (step S23). And operation | movement of the vehicle equipment according to the position of the smart phone 20 with respect to the vehicle 10 is permitted from received RSSI (step S24). Thereafter, the in-vehicle controller 11 generates a periodic request signal, wirelessly transmits it, and resets the in-vehicle time counter 19 to resume time measurement (step S25).

スマートフォン制御部21は、端末時間カウンタ29の計測時間T2が途絶判定時間Tsを超える前(T2≦Ts)に定期要求信号を受信すると、これに対する応答としてローリングカウンタ23の値を暗号化したローリングコード及び受信した定期要求信号のRSSIの各情報を含む定期応答信号を生成する。そして、スマートフォン制御部21は、当該生成した定期応答信号を無線送信するとともに、端末時間カウンタ29をリセットさせて時間計測を再開する(ステップS26)。   When the smartphone control unit 21 receives the periodic request signal before the measurement time T2 of the terminal time counter 29 exceeds the interruption determination time Ts (T2 ≦ Ts), the rolling code that encrypts the value of the rolling counter 23 as a response thereto And a periodic response signal including each piece of RSSI information of the received periodic request signal. The smartphone control unit 21 wirelessly transmits the generated periodic response signal and resets the terminal time counter 29 to restart time measurement (step S26).

その後は、車載制御部11とスマートフォン制御部21との間のBT通信が不能となるまで、ステップS23〜S26の各処理が順次繰り返される。
次に、車載制御部11とスマートフォン制御部21との間でステップS23〜S26の各処理が順次繰り返される中で、制御部の一時的なフリーズなどにより、BT通信が不能となった場合について説明する。
Thereafter, the processes in steps S23 to S26 are sequentially repeated until the BT communication between the in-vehicle control unit 11 and the smartphone control unit 21 becomes impossible.
Next, a description will be given of a case where BT communication is disabled due to temporary freezing of the control unit while the processes in steps S23 to S26 are sequentially repeated between the in-vehicle control unit 11 and the smartphone control unit 21. To do.

まず、図7を参照して、車載時間カウンタ19の計測時間T1が途絶判定時間Tsを超える場合について説明する。
図7に示すように、車載制御部11は、車載時間カウンタ19の計測時間T1が途絶判定時間Tsを超えた場合(T1>Ts)、ペアリング解消信号を生成し、これを無線送信するとともに、自身におけるペアリングの解消処理を実施する(ステップS31)。ペアリングの解消処理の完了後、車載制御部11は、スマートフォン制御部21に対し、再度のペアリングを要求する(ステップS32)。
First, the case where the measurement time T1 of the on-vehicle time counter 19 exceeds the interruption determination time Ts will be described with reference to FIG.
As shown in FIG. 7, when the measurement time T1 of the vehicle-mounted time counter 19 exceeds the interruption determination time Ts (T1> Ts), the vehicle-mounted control unit 11 generates a pairing cancellation signal and wirelessly transmits this signal. The self-pairing cancellation process is performed (step S31). After completion of the pairing cancellation process, the in-vehicle control unit 11 requests the smartphone control unit 21 to perform pairing again (step S32).

スマートフォン制御部21は、ペアリング解消信号を受信すると、ペアリングの解消処理を実施する(ステップS33)。ペアリングの解消処理の完了後、スマートフォン制御部21は、車載制御部11に対し、再度のペアリングを要求する(ステップS34)。   When receiving the pairing cancellation signal, the smartphone control unit 21 performs a pairing cancellation process (step S33). After completion of the pairing cancellation process, the smartphone control unit 21 requests the in-vehicle control unit 11 to perform pairing again (step S34).

次に、図8を参照して、端末時間カウンタ29の計測時間T2が途絶判定時間Tsを超える場合について説明する。
図8に示すように、スマートフォン制御部21は、端末時間カウンタ29の計測時間T2が途絶判定時間Tsを超えた場合(T2>Ts)、ペアリング解消信号を生成し、これを無線送信するとともに、自身におけるペアリングの解消処理を実施する(ステップS41)。ペアリングの解消処理の完了後、スマートフォン制御部21は、車載制御部11に対し、再度のペアリングを要求する(ステップS42)。
Next, a case where the measurement time T2 of the terminal time counter 29 exceeds the interruption determination time Ts will be described with reference to FIG.
As shown in FIG. 8, when the measurement time T2 of the terminal time counter 29 exceeds the interruption determination time Ts (T2> Ts), the smartphone control unit 21 generates a pairing cancellation signal and wirelessly transmits this signal. The self-pairing cancellation process is performed (step S41). After completing the pairing cancellation process, the smartphone control unit 21 requests the vehicle-mounted control unit 11 to perform pairing again (step S42).

車載制御部11は、ペアリング解消信号を受信すると、ペアリングの解消処理を実施する(ステップS43)。ペアリングの解消処理の完了後、車載制御部11は、スマートフォン制御部21に対し、再度のペアリングを要求する(ステップS44)。   When receiving the pairing cancellation signal, the in-vehicle control unit 11 performs a pairing cancellation process (step S43). After completion of the pairing cancellation process, the in-vehicle control unit 11 requests the smartphone control unit 21 to perform pairing again (step S44).

なお、図7において車載時間カウンタ19の計測時間T1が途絶判定時間Tsを超えた時点、及び図8において端末時間カウンタ29の計測時間T2が途絶判定時間Tsを超えた時点で、BT通信が不能となっている可能性がある。BT通信が不能である場合、図7においては、車載制御部11が生成するペアリング解消信号がスマートフォン制御部21に、図8においては、スマートフォン制御部21が生成するペアリング解消信号が車載制御部11に、それぞれ受信されない。したがって、図7においてはステップS33,S34の各処理が、図8においてはステップS43,S44の各処理が、それぞれ実行されない。   In addition, BT communication is impossible when the measurement time T1 of the vehicle-mounted time counter 19 exceeds the interruption determination time Ts in FIG. 7 and when the measurement time T2 of the terminal time counter 29 exceeds the interruption determination time Ts in FIG. It may be. When BT communication is impossible, in FIG. 7, the pairing cancellation | release signal which the vehicle-mounted control part 11 produces | generates in the smart phone control part 21, and in FIG. 8, the pairing elimination signal which the smart phone control part 21 produces | generates in-vehicle control. The unit 11 does not receive each. Therefore, the processes in steps S33 and S34 are not executed in FIG. 7, and the processes in steps S43 and S44 are not executed in FIG.

しかしながら、図7においては、ペアリング解消信号がスマートフォン制御部21に受信されなくても時間が経てば端末時間カウンタ29の計測時間T2が、図8においては、ペアリング解消信号が車載制御部11に受信されなくても時間が経てば車載時間カウンタ19の計測時間T1が、それぞれ途絶判定時間Tsを超える。すなわち、図7においては、ステップS33,S34の各処理に代えて図8に示すステップS41,S42の各処理が、図8においては、ステップS43,S44の各処理に代えて図7に示すステップS31,S32の各処理が、それぞれ実行される。このように、車載制御部11及びスマートフォン制御部21のいずれか一方においてペアリング解消処理が実行されれば、他方においてもペアリング解消処理が実行される。   However, in FIG. 7, even if the pairing cancellation signal is not received by the smartphone control unit 21, the measurement time T2 of the terminal time counter 29 is reached if time passes, and in FIG. 8, the pairing cancellation signal is transmitted to the in-vehicle control unit 11. If the time elapses without being received, the measurement time T1 of the in-vehicle time counter 19 exceeds the breakage determination time Ts. That is, in FIG. 7, the processes of steps S41 and S42 shown in FIG. 8 instead of the processes of steps S33 and S34 are replaced by the steps shown in FIG. 7 instead of the processes of steps S43 and S44 in FIG. 8. Each process of S31 and S32 is performed. Thus, if a pairing cancellation | release process is performed in any one of the vehicle-mounted control part 11 and the smart phone control part 21, a pairing cancellation | release process will be performed also in the other.

以上詳述したように、本実施形態によれば、上記第1の実施形態の(1)〜(4)の効果に加えて、以下に示す効果が得られる。
(5)スマートフォン制御部21に端末時間カウンタ29を設けた。また、スマートフォン制御部21のメモリ21aに、BT通信が正常に行われる場合に車載制御部11が定期要求信号を生成してから定期応答信号の受信にかかる時間よりも長く、且つ、BLUETOOTH規格で設定されている接続監視時間よりも短い途絶判定時間Tsを記憶させた。そして、端末時間カウンタ29による計測時間T2が途絶判定時間Tsを超える場合に、車載制御部11との間のペアリングの解消処理を実施するように、スマートフォン制御部21を設定した。このように、スマートフォン制御部21は、車載制御部11との間の無線通信が不能と推測される場合に直ちに車載制御部11との間のペアリングを解消するので、同車載制御部11からペアリングの要求があれば、これに応じることができる。
As described above in detail, according to the present embodiment, in addition to the effects (1) to (4) of the first embodiment, the following effects can be obtained.
(5) A terminal time counter 29 is provided in the smartphone control unit 21. In addition, when the BT communication is normally performed in the memory 21a of the smartphone control unit 21, it is longer than the time taken for the reception of the periodic response signal after the in-vehicle control unit 11 generates the periodic request signal, and in the BLUETOOTH standard. The interruption determination time Ts shorter than the set connection monitoring time was stored. And the smart phone control part 21 was set so that the cancellation process of the pairing with the vehicle-mounted control part 11 may be implemented when the measurement time T2 by the terminal time counter 29 exceeds the interruption determination time Ts. Thus, since the smart phone control unit 21 immediately cancels the pairing with the in-vehicle control unit 11 when it is estimated that wireless communication with the in-vehicle control unit 11 is impossible, If there is a request for pairing, it can be met.

(6)スマートフォン制御部21は、車載制御部11との間のペアリングを解消すると判断したとき、その旨示す情報を含ませたペアリング解消信号を車載制御部11に対して無線送信する。これにより、車載制御部11は、スマートフォン制御部21との間のペアリングの解消を早期に認識することができる。このため、両者間における早期のペアリングが回復して、定期要求信号及び定期応答信号を授受が再開されることが期待できる。   (6) When the smart phone control unit 21 determines to cancel the pairing with the in-vehicle control unit 11, the smart phone control unit 21 wirelessly transmits a pairing cancellation signal including information indicating that to the in-vehicle control unit 11. Thereby, the vehicle-mounted control part 11 can recognize cancellation | release of the pairing between the smart phone control parts 21 at an early stage. For this reason, it can be expected that the early pairing between the two is restored and the exchange of the periodic request signal and the periodic response signal is resumed.

(7)車載制御部11に車載時間カウンタ19を設けた。また、車載制御部11の不揮発性メモリ11aに、BT通信が正常に行われる場合に定期要求信号を生成してから定期応答信号の受信にかかる時間よりも長く、且つ、BLUETOOTH規格で設定されている接続監視時間よりも短い途絶判定時間Tsを記憶させた。そして、車載時間カウンタ19による計測時間T1が途絶判定時間Tsを超える場合に、スマートフォン制御部21との間のペアリングの解消処理を実施するように、車載制御部11を設定した。このように、車載制御部11は、スマートフォン制御部21との間の無線通信が不能と推測される場合に直ちにスマートフォン制御部21との間のペアリングを解消するので、同スマートフォン制御部21からペアリングの要求があれば、これに応じることができる。   (7) The in-vehicle time counter 19 is provided in the in-vehicle controller 11. Further, in the nonvolatile memory 11a of the in-vehicle controller 11, when the BT communication is normally performed, it is longer than the time taken to receive the periodic response signal after generating the periodic request signal, and is set in the BLUETOOTH standard. The disconnection determination time Ts shorter than the connection monitoring time is stored. And when the measurement time T1 by the vehicle-mounted time counter 19 exceeds the breakage determination time Ts, the vehicle-mounted control unit 11 is set so that the pairing cancellation process with the smartphone control unit 21 is performed. In this way, the in-vehicle control unit 11 immediately cancels the pairing with the smartphone control unit 21 when it is estimated that wireless communication with the smartphone control unit 21 is impossible. If there is a request for pairing, it can be met.

(8)車載制御部11は、スマートフォン制御部21との間のペアリングを解消すると判断したとき、その旨示す情報を含ませたペアリング解消信号をスマートフォン制御部21に対して無線送信する。これにより、スマートフォン制御部21は、車載制御部11との間のペアリングの解消を早期に認識することができる。このため、両者間における早期のペアリングが回復して、定期要求信号及び定期応答信号を授受が再開されることが期待できる。   (8) When the in-vehicle control unit 11 determines to cancel the pairing with the smartphone control unit 21, the in-vehicle control unit 11 wirelessly transmits a pairing cancellation signal including information indicating that to the smartphone control unit 21. Thereby, the smart phone control part 21 can recognize cancellation | release of the pairing between the vehicle-mounted control part 11 at an early stage. For this reason, it can be expected that the early pairing between the two is restored and the exchange of the periodic request signal and the periodic response signal is resumed.

なお、上記各実施形態は、以下のように変更してもよい。
・上記第2の実施形態において、不揮発性メモリ11a及びメモリ21aにそれぞれ記憶される途絶判定時間Tsは異なる時間に設定されていてもよい。異なる時間に設定されていても、上記第2の実施形態における(5)〜(8)の各効果を得ることができる。
In addition, you may change each said embodiment as follows.
In the second embodiment, the interruption determination times Ts stored in the nonvolatile memory 11a and the memory 21a may be set to different times. Even if it is set at a different time, the effects (5) to (8) in the second embodiment can be obtained.

・上記第2の実施形態では、車載制御部11及びスマートフォン制御部21の両方が時間カウンタを有していたが、どちらか一方のみが時間カウンタを有する構成であってもよい。   -In the said 2nd Embodiment, although both the vehicle-mounted control part 11 and the smart phone control part 21 had the time counter, the structure which has only one has a time counter may be sufficient.

車載制御部11の車載時間カウンタ19が省略される構成であれば上記第2の実施形態における(5)及び(6)の効果を得ることができる。なお、この構成を採用する場合、不揮発性メモリ11aから途絶判定時間Tsを省略することが望ましい。   If the on-vehicle time counter 19 of the on-vehicle controller 11 is omitted, the effects (5) and (6) in the second embodiment can be obtained. When this configuration is employed, it is desirable to omit the interruption determination time Ts from the nonvolatile memory 11a.

スマートフォン制御部21の端末時間カウンタ29が省略される構成であれば上記第2の実施形態における(7)及び(8)の効果を得ることができる。なお、この構成を採用する場合、メモリ21aから途絶判定時間Tsを省略することが望ましい。   If the terminal time counter 29 of the smartphone control unit 21 is omitted, the effects (7) and (8) in the second embodiment can be obtained. When this configuration is adopted, it is desirable to omit the interruption determination time Ts from the memory 21a.

・上記第2の実施形態では、車載制御部11及びスマートフォン制御部21は、それぞれペアリングの解消を判断したとき、その旨示す情報を含ませたペアリング解消信号を生成し、これを無線送信したが、これは省略されてもよい。ペアリング解消信号の生成及び無線送信を省略しても、相手側の制御部は、時間カウンタによる計測時間が途絶判定時間Tsを超えることにより、ペアリングの解消処理を実施する。   -In said 2nd Embodiment, when the vehicle-mounted control part 11 and the smart phone control part 21 judge cancellation of pairing, respectively, it produces | generates the pairing cancellation signal containing the information which shows that, and transmits this wirelessly However, this may be omitted. Even if the generation of the pairing cancellation signal and the wireless transmission are omitted, the counterpart control unit performs the pairing cancellation processing when the measurement time by the time counter exceeds the interruption determination time Ts.

・上記各実施形態において、スマートフォン制御部21は、要求コマンドを暗号鍵で暗号化してもよい。これにより、システムとしてのセキュリティ性が高まる。
・上記各実施形態において、車載制御部11は、制御コマンドを生成しなくてもよい。すなわち、タッチパネルディスプレイ27を通じて車載機器が動作したことを報知しなくてもよい。
In each of the above embodiments, the smartphone control unit 21 may encrypt the request command with an encryption key. Thereby, the security property as a system increases.
In the above embodiments, the in-vehicle control unit 11 does not have to generate a control command. That is, it is not necessary to notify that the in-vehicle device has operated through the touch panel display 27.

・上記各実施形態では、タッチパネルディスプレイ27を報知部として機能させる場合について説明したが、報知部は、人間の感覚に訴えるものであればよい。例えばスピーカなどであってもよい。また、タッチパネルディスプレイ27を操作部として機能させる場合について説明したが、専用のボタンやスイッチであってもよい。   In each of the above embodiments, the case where the touch panel display 27 is caused to function as a notification unit has been described. However, the notification unit may be anything that appeals to human senses. For example, a speaker may be used. Moreover, although the case where the touch panel display 27 is caused to function as an operation unit has been described, a dedicated button or switch may be used.

・上記各実施形態において、スマートフォン制御部21は、車載制御部11へ無線送信するデータを暗号化しなくてもよい。この場合、車載制御部11及びスマートフォン制御部21の各メモリに記憶される暗号鍵は、省略してもよい。   -In each above-mentioned embodiment, the smart phone control part 21 does not need to encrypt the data wirelessly transmitted to the vehicle-mounted control part 11. FIG. In this case, the encryption key stored in each memory of the in-vehicle control unit 11 and the smartphone control unit 21 may be omitted.

・上記各実施形態において、車載制御部11は、スマートフォン制御部21との間でペアリングされたことをトリガとしてチャレンジレスポンス認証を行ったが、必ずしもこのタイミングでなくてもよい。また、上記各実施形態では、チャレンジレスポンス認証は一度だけ行われたが、複数回行ってもよいし、定期的に行ってもよい。   In each of the above-described embodiments, the in-vehicle control unit 11 performs the challenge response authentication using the pairing with the smartphone control unit 21 as a trigger, but it does not necessarily have to be at this timing. In each of the above embodiments, challenge response authentication is performed only once, but it may be performed a plurality of times or periodically.

・上記各実施形態において、揮発性メモリ11bに記憶される基準値は、照合が成立したときのローリングカウンタの値そのものであったが、上記各実施形態における照合値域であってもよい。この場合、車載制御部11は、ローリングカウンタの値の照合が成立したことをトリガとして、照合値域を算出しこれを揮発性メモリ11bに記憶する。このように構成しても、上記各実施形態に記載の各効果と同様の効果を得ることができる。   In each of the above embodiments, the reference value stored in the volatile memory 11b is the value of the rolling counter itself when the collation is established, but may be a collation value range in each of the above embodiments. In this case, the in-vehicle control unit 11 calculates a collation value range using the fact that collation of the value of the rolling counter has been established as a trigger, and stores this in the volatile memory 11b. Even if comprised in this way, the effect similar to each effect as described in each said embodiment can be acquired.

・上記各実施形態において、車載制御部11は、受信するRSSIから車両10に対するスマートフォン20の位置を判断し、その位置に応じた車載機器の動作を許可したが、位置判断を行わなくてもよい。例えば、ローリングカウンタの値の照合が成立すれば、全ての車載機器の動作を許可してもよい。この場合、不揮発性メモリ11aに記憶される室外判定RSSI及び室内判定RSSIを省略してもよい。また、スマートフォン20におけるRSSI回路22bも省略してもよい。   In each of the above embodiments, the in-vehicle control unit 11 determines the position of the smartphone 20 with respect to the vehicle 10 from the received RSSI and permits the operation of the in-vehicle device according to the position, but the position determination may not be performed. . For example, if verification of the value of the rolling counter is established, the operation of all in-vehicle devices may be permitted. In this case, the outdoor determination RSSI and the indoor determination RSSI stored in the nonvolatile memory 11a may be omitted. Further, the RSSI circuit 22b in the smartphone 20 may be omitted.

・上記各実施形態において、ペアリング可能な相手の探索及びペアリング処理は、車載制御部11から行ってもよい。
・上記各実施形態では、携帯機としてスマートフォン20を採用したが、これに代えて電話機能を有しないタブレット端末、携帯型の音楽端末、あるいはノート型パソコン等であってもよい。また、車両専用の電子キーであってもよい。
In the above embodiments, searching for a pairable partner and pairing processing may be performed from the in-vehicle control unit 11.
In each of the above embodiments, the smartphone 20 is used as the portable device, but instead of this, a tablet terminal, a portable music terminal, a notebook computer, or the like that does not have a telephone function may be used. Moreover, the electronic key only for vehicles may be sufficient.

1…車両通信システム、10…車両、11…車載制御部、11a…不揮発性メモリ、11b…揮発性メモリ、12,22…BLUETOOTH通信部、14…エンジン制御装置、16…ドアロック装置、20…スマートフォン、21…スマートフォン制御部、21a…メモリ、22b…RSSI回路、23…ローリングカウンタ、27…タッチパネルディスプレイ。 DESCRIPTION OF SYMBOLS 1 ... Vehicle communication system, 10 ... Vehicle, 11 ... Vehicle-mounted control part, 11a ... Nonvolatile memory, 11b ... Volatile memory, 12, 22 ... BLUETOOTH communication part, 14 ... Engine control apparatus, 16 ... Door lock apparatus, 20 ... Smartphone, 21 ... Smartphone control unit, 21a ... Memory, 22b ... RSSI circuit, 23 ... Rolling counter, 27 ... Touch panel display.

Claims (9)

携帯機との間でBLUETOOTH規格の無線通信を行い、この無線通信を通じて専用の照合鍵による照合を行い、その照合が成立する場合に車載機器の動作を許可する車載機を備える車両通信システムにおいて、
前記携帯機は、前記車載機との間で無線通信をする度にインクリメントするローリングカウンタを備え、そのローリングカウンタの値を無線信号に含ませて送信するものであり、
前記車載機は、前記ローリングカウンタの値を照合するための情報が記憶される揮発性メモリを備え、前記携帯機との間でペアリングされたことをトリガとして前記ローリングカウンタの値と前記揮発性メモリに記憶される前記ローリングカウンタの値を照合するための情報との同期を行い、その後は前記ローリングカウンタの値の照合が成立する度、前記揮発性メモリに記憶される前記ローリングカウンタの値を照合するための情報を更新する車両通信システム。
In a vehicle communication system including an in-vehicle device that performs wireless communication of a BLUETOOTH standard with a portable device, performs verification with a dedicated verification key through this wireless communication, and permits the operation of the in-vehicle device when the verification is established,
The portable device includes a rolling counter that increments each time wireless communication is performed with the in-vehicle device, and the value of the rolling counter is included in a wireless signal and transmitted.
The in-vehicle device includes a volatile memory in which information for collating the value of the rolling counter is stored, and the value of the rolling counter and the volatile property are triggered by pairing with the portable device. Synchronize with the information for collating the value of the rolling counter stored in the memory, and thereafter, whenever the collation of the value of the rolling counter is established, the value of the rolling counter stored in the volatile memory is The vehicle communication system which updates the information for collation.
請求項1に記載の車両通信システムにおいて、
前記車載機は、前記携帯機との間でペアリングされたことをトリガとして前記照合鍵の照合を行い、その照合が成立する場合に、その後に行う定期的な無線通信を通じて前記ローリングカウンタの値の照合を行い、その照合が成立している間、前記車載機器の動作を許可する車両通信システム。
The vehicle communication system according to claim 1,
The in-vehicle device performs the verification of the verification key using a pairing with the portable device as a trigger, and when the verification is established, the value of the rolling counter is performed through periodic wireless communication performed thereafter. The vehicle communication system that permits the operation of the in-vehicle device while the verification is established.
請求項1又は2に記載の車両通信システムにおいて、
前記携帯機及び前記車載機は、共通の暗号鍵を有し、その暗号鍵を使用して前記照合鍵を暗号化した情報を送受するものであって、
前記携帯機は、前記暗号鍵を使用して前記ローリングカウンタの値を暗号化し、その暗号化した情報を前記車載機に無線送信する車両通信システム。
The vehicle communication system according to claim 1 or 2,
The portable device and the in-vehicle device have a common encryption key, and transmit and receive information obtained by encrypting the verification key using the encryption key,
The mobile device is a vehicle communication system that encrypts the value of the rolling counter using the encryption key and wirelessly transmits the encrypted information to the in-vehicle device.
請求項3に記載の車両通信システムにおいて、
前記携帯機は、前記車載機器の動作の要求を示す要求コマンドを入力するための操作部を備え、前記暗号鍵を使用して前記要求コマンドを暗号化し、その暗号化した情報を前記車載機に無線送信し、
前記車載機は、受信する前記要求コマンドに応じて車載機器を動作させる車両通信システム。
The vehicle communication system according to claim 3,
The portable device includes an operation unit for inputting a request command indicating an operation request of the in-vehicle device, encrypts the request command using the encryption key, and transmits the encrypted information to the in-vehicle device. Wirelessly transmit,
The vehicle-mounted device is a vehicle communication system that operates a vehicle-mounted device in accordance with the received request command.
請求項1〜4のうちいずれか一項に記載の車両通信システムにおいて、
前記車載機は、前記車載機器の動作を示す制御コマンドを前記携帯機に無線送信し、
前記携帯機は、ユーザの感覚に訴える報知部を備え、受信する前記制御コマンドに基づき前記車載機器の動作を前記報知部を通じて報知する車両通信システム。
In the vehicle communication system according to any one of claims 1 to 4,
The in-vehicle device wirelessly transmits a control command indicating the operation of the in-vehicle device to the portable device,
The portable device includes a notification unit appealing to a user's sense, and notifies the operation of the in-vehicle device through the notification unit based on the received control command.
請求項1〜5のうちいずれか一項に記載の車両通信システムにおいて、
前記携帯機は、前記車載機との間の無線通信にかかる時間を計測する携帯機側時間カウンタを有し、当該携帯機側時間カウンタによる計測時間が、BLUETOOTH規格で設定されている接続監視時間よりも短く且つ前記無線通信を行うのに十分な時間に設定された途絶判定時間を超えたとき、前記車載機との間のペアリングを解消する車両通信システム。
In the vehicle communication system according to any one of claims 1 to 5,
The portable device has a portable device-side time counter that measures the time required for wireless communication with the in-vehicle device, and the measurement time by the portable device-side time counter is a connection monitoring time set in the BLUETOOTH standard A vehicle communication system that eliminates pairing with the in-vehicle device when a breakage determination time set to a time shorter than that and sufficient for wireless communication is exceeded.
請求項6に記載の車両通信システムにおいて、
前記携帯機は、前記車載機との間のペアリングを解消する場合、前記車載機に対してペアリングを解消する旨示す情報を無線送信する車両通信システム。
The vehicle communication system according to claim 6, wherein
When the portable device cancels the pairing with the in-vehicle device, the vehicle communication system wirelessly transmits information indicating that the pairing is canceled to the in-vehicle device.
請求項1〜7のうちいずれか一項に記載の車両通信システムにおいて、
前記車載機は、前記携帯機との間の無線通信にかかる時間を計測する車載機側時間カウンタを有し、当該車載機側時間カウンタによる計測時間が、BLUETOOTH規格で設定されている接続監視時間よりも短く且つ前記無線通信を行うのに十分な時間に設定された途絶判定時間を超えたとき、前記携帯機との間のペアリングを解消する車両通信システム。
In the vehicle communication system according to any one of claims 1 to 7,
The vehicle-mounted device has a vehicle-mounted device side time counter that measures the time required for wireless communication with the portable device, and the time measured by the vehicle-mounted device side time counter is a connection monitoring time set in the BLUETOOTH standard A vehicle communication system that eliminates pairing with the portable device when a breakage determination time that is shorter than the time set for the wireless communication is exceeded.
請求項8に記載の車両通信システムにおいて、
前記車載機は、前記携帯機との間のペアリングを解消する場合、前記携帯機に対してペアリングを解消する旨示す情報を無線送信する車両通信システム。
The vehicle communication system according to claim 8,
When the in-vehicle device cancels the pairing with the portable device, the vehicle communication system wirelessly transmits information indicating that the pairing is canceled to the portable device.
JP2015092777A 2014-06-02 2015-04-30 Vehicle communication system Active JP6496603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015092777A JP6496603B2 (en) 2014-06-02 2015-04-30 Vehicle communication system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2014114017 2014-06-02
JP2014114017 2014-06-02
JP2015092777A JP6496603B2 (en) 2014-06-02 2015-04-30 Vehicle communication system

Publications (2)

Publication Number Publication Date
JP2016012918A true JP2016012918A (en) 2016-01-21
JP6496603B2 JP6496603B2 (en) 2019-04-03

Family

ID=55229337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015092777A Active JP6496603B2 (en) 2014-06-02 2015-04-30 Vehicle communication system

Country Status (1)

Country Link
JP (1) JP6496603B2 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6109445B1 (en) * 2016-04-27 2017-04-05 三菱電機株式会社 Wireless communication apparatus, logical value selection method, and logical value selection program
JP2018059375A (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 On-vehicle unit, mobile unit, and wireless communication system for vehicle
JP2018059377A (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 On-vehicle unit and wireless communication system for vehicle
JP2018059376A (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 Mobile unit, on-vehicle unit, and wireless communication system for vehicle
WO2018066404A1 (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 Vehicular on-board device, portable device, and wireless communication system for vehicles
CN108427565A (en) * 2017-02-02 2018-08-21 福特全球技术公司 The newer method and apparatus of multicycle vehicle software for safety
JP2019523662A (en) * 2016-05-20 2019-08-29 デカ・プロダクツ・リミテッド・パートナーシップ Mobility support device
WO2020006052A1 (en) * 2018-06-29 2020-01-02 Micron Technology, Inc. Secure wireless lock-actuation exchange
US10572272B2 (en) 2016-09-01 2020-02-25 Hyundai Motor Company Apparatus and method for providing adaptive connected service
JP2021109560A (en) * 2020-01-10 2021-08-02 株式会社デンソー On-vehicle device and system for vehicle
JP2022099240A (en) * 2020-12-22 2022-07-04 グーグル エルエルシー Method and system for segmenting and transmitting data between computing devices and vehicle head units
US11399995B2 (en) 2016-02-23 2022-08-02 Deka Products Limited Partnership Mobility device
US11679044B2 (en) 2016-02-23 2023-06-20 Deka Products Limited Partnership Mobility device
US11706682B2 (en) 2020-12-22 2023-07-18 Google Llc Switchable communication transport for communication between primary devices and vehicle head units
US11794722B2 (en) 2016-02-23 2023-10-24 Deka Products Limited Partnership Mobility device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09505957A (en) * 1993-11-05 1997-06-10 ユナイテッド テクノロジーズ オートモーティブ,インコーポレイテッド Method of resynchronizing transmitter and receiver for vehicle entry security device using encryption code or rolling code
JP2011044112A (en) * 2009-08-24 2011-03-03 Tokai Rika Co Ltd Car sharing system
JP2013106338A (en) * 2011-11-10 2013-05-30 Tofit Corp Bluetooth-equipped keyless entry system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09505957A (en) * 1993-11-05 1997-06-10 ユナイテッド テクノロジーズ オートモーティブ,インコーポレイテッド Method of resynchronizing transmitter and receiver for vehicle entry security device using encryption code or rolling code
JP2011044112A (en) * 2009-08-24 2011-03-03 Tokai Rika Co Ltd Car sharing system
JP2013106338A (en) * 2011-11-10 2013-05-30 Tofit Corp Bluetooth-equipped keyless entry system

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11794722B2 (en) 2016-02-23 2023-10-24 Deka Products Limited Partnership Mobility device
US11679044B2 (en) 2016-02-23 2023-06-20 Deka Products Limited Partnership Mobility device
US11399995B2 (en) 2016-02-23 2022-08-02 Deka Products Limited Partnership Mobility device
JP6109445B1 (en) * 2016-04-27 2017-04-05 三菱電機株式会社 Wireless communication apparatus, logical value selection method, and logical value selection program
WO2017187567A1 (en) * 2016-04-27 2017-11-02 三菱電機株式会社 Wireless communication apparatus, logical value selection method, and logical value selection program
JP2019523662A (en) * 2016-05-20 2019-08-29 デカ・プロダクツ・リミテッド・パートナーシップ Mobility support device
JP7128746B2 (en) 2016-05-20 2022-08-31 デカ・プロダクツ・リミテッド・パートナーシップ Mobility support device
US10572272B2 (en) 2016-09-01 2020-02-25 Hyundai Motor Company Apparatus and method for providing adaptive connected service
JP2018059376A (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 Mobile unit, on-vehicle unit, and wireless communication system for vehicle
WO2018066404A1 (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 Vehicular on-board device, portable device, and wireless communication system for vehicles
JP2018059375A (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 On-vehicle unit, mobile unit, and wireless communication system for vehicle
JP2018059377A (en) * 2016-10-07 2018-04-12 パナソニックIpマネジメント株式会社 On-vehicle unit and wireless communication system for vehicle
CN108427565B (en) * 2017-02-02 2023-12-05 福特全球技术公司 Method and apparatus for secure multicycle vehicle software update
CN108427565A (en) * 2017-02-02 2018-08-21 福特全球技术公司 The newer method and apparatus of multicycle vehicle software for safety
CN112351918A (en) * 2018-06-29 2021-02-09 美光科技公司 Secure wireless lock initiated exchange
US10553058B2 (en) 2018-06-29 2020-02-04 Micron Technology, Inc. Secure wireless lock-actuation exchange
JP7411755B2 (en) 2018-06-29 2024-01-11 マイクロン テクノロジー,インク. Key fob, method, computer readable medium, and system for wireless secure lock activation interaction
JP2021528922A (en) * 2018-06-29 2021-10-21 マイクロン テクノロジー,インク. Communication for secure wireless lock operation
US11145148B2 (en) 2018-06-29 2021-10-12 Micron Technology, Inc. Secure wireless lock-actuation exchange
JP7157518B2 (en) 2018-06-29 2022-10-20 マイクロン テクノロジー,インク. Over-the-air interaction for secure lock activation
JP2022179620A (en) * 2018-06-29 2022-12-02 マイクロン テクノロジー,インク. Key-fob, method, computer readable medium, and system for wireless secure lock-actuation exchange
WO2020006052A1 (en) * 2018-06-29 2020-01-02 Micron Technology, Inc. Secure wireless lock-actuation exchange
CN112351918B (en) * 2018-06-29 2022-06-28 美光科技公司 Secure wireless lock initiated exchange
US11721145B2 (en) 2018-06-29 2023-08-08 Micron Technology, Inc. Secure wireless lock-actuation exchange
JP2021109560A (en) * 2020-01-10 2021-08-02 株式会社デンソー On-vehicle device and system for vehicle
JP7424063B2 (en) 2020-01-10 2024-01-30 株式会社デンソー On-vehicle equipment and vehicle systems
US11706682B2 (en) 2020-12-22 2023-07-18 Google Llc Switchable communication transport for communication between primary devices and vehicle head units
JP2022099240A (en) * 2020-12-22 2022-07-04 グーグル エルエルシー Method and system for segmenting and transmitting data between computing devices and vehicle head units

Also Published As

Publication number Publication date
JP6496603B2 (en) 2019-04-03

Similar Documents

Publication Publication Date Title
JP6496603B2 (en) Vehicle communication system
US11597350B2 (en) Passive entry/passive start systems and methods for vehicles
US20230234538A1 (en) Passive Entry/Passive Start Systems And Methods For Vehicles
JP5803724B2 (en) Authentication system and authentication device
US9701280B2 (en) Revocation of mobile device communication control privileges
US9424451B2 (en) Low-energy radio frequency tag for performing a vehicle function
JP6544372B2 (en) Key unit, vehicle
JP2012215047A (en) Electronic key system
JP6588518B2 (en) Car sharing system
JP6676597B2 (en) Car sharing system
US10706650B2 (en) Key unit, control system, control method, and non-transitory computer-readable storage medium having program stored therein
JP2019071559A (en) Car sharing system
JP6342718B2 (en) Vehicle communication system
JP2018178461A (en) User authentication system and user authentication method
JP6244215B2 (en) In-vehicle communication system
JP6400963B2 (en) Vehicle control system
JP6702840B2 (en) Wireless communication correctness determination system
US10713870B2 (en) Wireless communication system
CN109697838B (en) Key unit, locking/unlocking system, and computer-readable storage medium storing program
JP2016215779A (en) User specification system
JP6301712B2 (en) Authentication system
JP6595380B2 (en) Communication system and electronic key activation method
JP2014136910A (en) Portable terminal and electronic key device
JP6262559B2 (en) In-vehicle communication system
JP2015151039A (en) key information registration system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180821

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181003

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190311

R150 Certificate of patent or registration of utility model

Ref document number: 6496603

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150