JP2017141561A - Vehicle authentication system - Google Patents

Vehicle authentication system Download PDF

Info

Publication number
JP2017141561A
JP2017141561A JP2016021930A JP2016021930A JP2017141561A JP 2017141561 A JP2017141561 A JP 2017141561A JP 2016021930 A JP2016021930 A JP 2016021930A JP 2016021930 A JP2016021930 A JP 2016021930A JP 2017141561 A JP2017141561 A JP 2017141561A
Authority
JP
Japan
Prior art keywords
authentication
vehicle
unit
optical code
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.)
Pending
Application number
JP2016021930A
Other languages
Japanese (ja)
Inventor
小川 満
Mitsuru Ogawa
満 小川
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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2016021930A priority Critical patent/JP2017141561A/en
Publication of JP2017141561A publication Critical patent/JP2017141561A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a vehicle authentication system capable of using a portable display apparatus as a substitution for an electronic key while suppressing reduction in security.SOLUTION: A vehicle authentication system 2 comprises: an on-vehicle apparatus 3 that authenticates an electronic key 4 and performs predetermined processing on the basis of establishment of authentication; and a smart phone 5. The smart phone 5 comprises: an encryption unit that encrypts a character string for authentication using an encryption key to generate a cryptogram; an optical code generation unit that generates an optical code in which the cryptogram is stored; and a display 53 that displays the optical code as an authentication optical code for making the on-vehicle apparatus authenticate a portable display apparatus. The on-vehicle apparatus comprises: a cryptogram reading unit that reads a cryptogram from an authentication optical code imaged by an outside-vehicle camera 34 for successively imaging the outside of a vehicle; a decryption unit that decrypts the read cryptogram by using the encryption key to generate a character string for authentication; and an authentication unit that on the basis of the character string for authentication obtained by the decryption unit's decryption, determines whether or not authentication is established.SELECTED DRAWING: Figure 1

Description

本発明は、電子キーの代用として、ユーザが所持する携帯表示機器を用いて、ユーザを認証する車両用認証システムに関する。   The present invention relates to a vehicle authentication system that authenticates a user using a portable display device possessed by the user as a substitute for an electronic key.

特許文献1には、ドアロックの開錠など、車両に対する制御を指示する命令が格納された光学コードを光学コード読み取り手段で読み取ることによって、光学コードに格納された命令に従った制御を車両に対して行う車両制御装置が開示されている。   In Patent Document 1, an optical code storing a command for instructing control on the vehicle, such as unlocking a door lock, is read by an optical code reading unit, so that control according to the command stored in the optical code is performed on the vehicle. A vehicle control apparatus that performs the operation is disclosed.

特開2006−151266号公報JP 2006-151266 A

特許文献1に開示の技術を用い、携帯表示機器に光学コードを表示して、電子キーに代えてこの光学コードで認証を行うことを考える。光学コードに格納された文字列が暗号文でない場合、光学コードを悪意の第三者が盗み見すれば、容易に、光学コードに格納された、認証が成立する文字列を知ることができてしまう。よって、特許文献1の技術を用いて、電子キーの代用として携帯表示機器に表示した光学コードで認証が成立するようにした場合、セキュリティ性が低下する恐れがあった。   Consider using the technique disclosed in Patent Document 1 to display an optical code on a portable display device and authenticate with this optical code instead of an electronic key. If the character string stored in the optical code is not a ciphertext, if a malicious third party steals the optical code, the character string stored in the optical code that can be authenticated can be easily known. . Therefore, when authentication is established with an optical code displayed on a portable display device as a substitute for an electronic key using the technique of Patent Document 1, there is a risk that security may be reduced.

本発明は、この事情に基づいて成されたものであり、その目的とするところは、セキュリティ性が低下することを抑制しつつ、電子キーの代用として携帯表示機器を利用することが可能な車両用認証システムを提供することにある。   The present invention has been made based on this situation, and an object of the present invention is to provide a vehicle that can use a portable display device as a substitute for an electronic key while suppressing a decrease in security. It is to provide an authentication system.

上記目的は独立請求項に記載の特徴の組み合わせにより達成され、また、下位請求項は、発明の更なる有利な具体例を規定する。特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。   The above object is achieved by a combination of the features described in the independent claims, and the subclaims define further advantageous embodiments of the invention. Reference numerals in parentheses described in the claims indicate a correspondence relationship with specific means described in the embodiments described later as one aspect, and do not limit the technical scope of the present invention. .

上記目的を達成するための本発明は、車両(1)に搭載され、電子キー(4)との無線通信に基づいて電子キーを認証し、認証が成立することをもとに所定の処理を行う車載器(3)と、携帯表示機器(5)とを備える車両用認証システム(2)であって、携帯表示機器は、予め設定した暗号キーで、認証用文字列を暗号化して暗号文を生成する暗号化部と、暗号化部が生成した暗号文を格納した光学コードを生成する光学コード生成部と、光学コード生成部が生成した光学コードを、車載器に携帯表示機器を認証させる認証用光学コードとして表示するディスプレイ(53)を備え、車載器は、車両の外部を逐次撮像する車両外カメラ(34)と、車両外カメラによって撮像された認証用光学コードから暗号文を読み取る暗号文読み取り部と、暗号文読み取り部が読み取った暗号文を、暗号キーで復号して認証用文字列を生成する復号部と、復号部が復号した認証用文字列に基づいて認証が成立するか否かを判断する認証部(S35)とを備える。   In order to achieve the above object, the present invention is mounted on a vehicle (1), authenticates an electronic key based on wireless communication with the electronic key (4), and performs predetermined processing based on the establishment of the authentication. A vehicle authentication system (2) comprising an on-vehicle device (3) to be performed and a mobile display device (5), wherein the mobile display device encrypts an authentication character string with a preset encryption key and encrypts the text. An on-board device for authenticating a portable display device with an encryption unit that generates an optical code, an optical code generation unit that generates an optical code storing a ciphertext generated by the encryption unit, and an optical code generated by the optical code generation unit The on-vehicle device includes a display (53) that displays as an authentication optical code, and the vehicle-mounted device sequentially captures the outside of the vehicle, and an encryption that reads the ciphertext from the authentication optical code captured by the camera outside the vehicle. Sentence reading part A decryption unit that decrypts the ciphertext read by the ciphertext reading unit with an encryption key and generates an authentication character string, and determines whether authentication is established based on the authentication character string decrypted by the decryption unit And an authenticating unit (S35).

以上の構成によれば、ユーザが電子キーを利用可能な場合は、電子キーの認証が成立することに従って所定の処理が行われる。所定の処理は、例えば、ボデーECUに認証成立信号を送信する処理であり、ボデーECUは、ドアが施錠された状態において、この認証成立信号を受信し、かつ、ドアハンドルに設けられたタッチセンサにユーザが触れたことを検知した場合に、ドアロックを開錠する。   According to the above configuration, when the user can use the electronic key, a predetermined process is performed according to the establishment of the electronic key authentication. The predetermined process is, for example, a process of transmitting an authentication establishment signal to the body ECU, and the body ECU receives the authentication establishment signal when the door is locked, and is a touch sensor provided on the door handle. When it is detected that the user touches the door lock, the door lock is unlocked.

また、携帯表示機器が備えるディスプレイに認証用光学コードを表示させ、車両外カメラが撮像した認証用光学コードから生成した暗号前文字列に基づいた認証が成立すれば、電子キーの認証が成立した場合と同様、所定の処理が行われる。従って、ユーザは電子キーに代えて携帯表示機器を用いても、電子キー認証中にのみ提供される機能を利用することが可能となる。   If the authentication optical code is displayed on the display of the portable display device and the authentication based on the pre-encryption character string generated from the authentication optical code captured by the camera outside the vehicle is established, the authentication of the electronic key is established. As in the case, a predetermined process is performed. Therefore, even if the user uses a portable display device instead of the electronic key, the user can use the function provided only during the electronic key authentication.

さらに、携帯表示機器が表示する認証用光学コードに格納されたデータが暗号文となっているため、認証用光学コードを不正に生成することが困難となる。従って、セキュリティ性が低下することも抑制できる。   Furthermore, since the data stored in the authentication optical code displayed by the portable display device is a ciphertext, it is difficult to illegally generate the authentication optical code. Therefore, it is possible to suppress a decrease in security.

本発明の実施形態に係る車両用認証システム2の利用状況を表す図である。It is a figure showing the utilization condition of the authentication system 2 for vehicles which concerns on embodiment of this invention. 実施形態に係るスマートフォン5の構成を表す図である。It is a figure showing the structure of the smart phone 5 which concerns on embodiment. 登録用QRコードを表示する際の車載器制御部31の作動を示したフローチャートである。It is the flowchart which showed the action | operation of the onboard equipment control part 31 at the time of displaying QR Code for registration. 車載器IDを登録する際の演算部51の作動を示したフローチャートである。It is the flowchart which showed the action | operation of the calculating part 51 at the time of registering onboard equipment ID. 認証用QRコード6を表示する際の演算部51の作動を示したフローチャートである。It is the flowchart which showed the action | operation of the calculating part 51 at the time of displaying QR Code 6 for authentication. スマートフォン5の認証を行う際の車載器制御部31の作動を示したフローチャートである。It is the flowchart which showed the action | operation of the onboard equipment control part 31 at the time of authenticating the smart phone 5. FIG.

以下、本発明の実施形態としての車両用認証システム2を図面に基づいて説明する。車両用認証システム2の利用状況の一例を図1に沿って説明する。   Hereinafter, a vehicle authentication system 2 as an embodiment of the present invention will be described with reference to the drawings. An example of the usage status of the vehicle authentication system 2 will be described with reference to FIG.

車両1は、車両用認証システム2が備える車載器3が送信する認証結果に応じて車両の各種制御を行う図示しないボデーECUやエンジンECUを備えている。これらボデーECUやエンジンECUは、請求項の制御部に相当しており、認証結果に応じて車両1が備えるドアロック機構の制御やエンジン始動などの制御を行う。   The vehicle 1 includes a body ECU and an engine ECU (not shown) that perform various controls of the vehicle according to the authentication result transmitted by the vehicle-mounted device 3 included in the vehicle authentication system 2. These body ECUs and engine ECUs correspond to control units in the claims, and perform control such as control of a door lock mechanism provided in the vehicle 1 and engine start according to the authentication result.

車両用認証システム2は車両1に搭載される車載器3と、車載器3と無線通信を行う電子キー4と、スマートフォン5を備えて構成される。   The vehicle authentication system 2 includes an on-vehicle device 3 mounted on the vehicle 1, an electronic key 4 that performs wireless communication with the on-vehicle device 3, and a smartphone 5.

車載器3は、車載器制御部31と、送信部32と、受信部33と、車両外カメラ34と、車載器ディスプレイ35と、車載器操作部36と、車室内カメラ37とを備えて構成される。車載器3は、電子キー4との無線通信に従って電子キー4を認証し、スマートフォン5が表示する認証用QRコード6(QRコードは登録商標)に従ってスマートフォン5を認証する。この認証用QRコード6が請求項の認証用光学コードに相当する。   The on-vehicle device 3 includes an on-vehicle device control unit 31, a transmission unit 32, a reception unit 33, a camera outside the vehicle 34, an on-vehicle device display 35, an on-vehicle device operation unit 36, and an in-vehicle camera 37. Is done. The vehicle-mounted device 3 authenticates the electronic key 4 in accordance with wireless communication with the electronic key 4 and authenticates the smartphone 5 in accordance with the QR code 6 for authentication displayed on the smartphone 5 (QR code is a registered trademark). This authentication QR code 6 corresponds to the authentication optical code in the claims.

車載器制御部31は、CPU、ROM、RAM等よりなるマイクロコンピュータを主体として構成されており、CPUが、RAMの一時記憶機能を利用しつつ、ROMなどの非遷移的実体的記録媒体(non-transitory tangible storage medium)に記憶されているプログラムを実行することで、図3および図4に示す処理などの所定の処理を実行する。また、CPUがそのプログラムを実行すると、プログラムに対応する方法が実行されることになる。なお、車載器制御部31が実行する機能の一部または全部を、一つあるいは複数のIC等によりハードウェア的に構成してもよい。   The in-vehicle device control unit 31 is mainly configured by a microcomputer including a CPU, a ROM, a RAM, and the like. The CPU uses a temporary storage function of the RAM, and a non-transitional tangible recording medium (non By executing a program stored in the -transitory tangible storage medium), predetermined processing such as the processing shown in FIGS. 3 and 4 is executed. When the CPU executes the program, a method corresponding to the program is executed. Note that some or all of the functions executed by the vehicle-mounted device control unit 31 may be configured in hardware by one or a plurality of ICs.

車載器制御部31は車載器記憶部31aを備える。この車載器記憶部31aは、上述のROMでもよい。車載器記憶部31aは車載器3を特定する車載器IDをあらかじめ記憶している。また、車載器記憶部31aは車両外カメラ34が撮像した車両外の画像を記憶する。車載器記憶部31aに記憶されている画像は、ユーザの表示操作により、車載器ディスプレイ35に表示される。   The on-vehicle device control unit 31 includes an on-vehicle device storage unit 31a. The in-vehicle device storage unit 31a may be the above-described ROM. The in-vehicle device storage unit 31a stores an in-vehicle device ID that identifies the in-vehicle device 3 in advance. Moreover, the onboard equipment memory | storage part 31a memorize | stores the image outside the vehicle which the camera 34 outside the vehicle imaged. The image memorize | stored in the onboard equipment memory | storage part 31a is displayed on the onboard equipment display 35 by a user's display operation.

送信部32は、車載器制御部31が生成する電子キー4に対するリクエスト信号の変調および無線送信を行う。送信に用いる周波数は長波もしくは超長波の周波数帯であり、例えば135kHz帯である。   The transmission unit 32 performs modulation and wireless transmission of a request signal for the electronic key 4 generated by the vehicle-mounted device control unit 31. The frequency used for transmission is a long wave or ultra long wave frequency band, for example, a 135 kHz band.

受信部33は、リクエスト信号を受信した際に電子キー4が送信するレスポンス信号の受信および復調を行い、車載器制御部31に出力する。   The receiving unit 33 receives and demodulates the response signal transmitted by the electronic key 4 when receiving the request signal, and outputs the response signal to the vehicle-mounted device control unit 31.

車両外カメラ34は、車両1が停止しており、かつ、車両ドアが施錠されている状態で車両外を逐次撮像するカメラであり、撮像した画像を表す画像信号を車載器制御部31に出力する。車両外カメラ34は認証用QRコード6を撮像するためなどに用いられる。ただし、車両外カメラ34は、車両1が走行しているときにも、逐次、撮像してもよい。なお、図1では、送信部32および車両外カメラ34は車両1に1つずつ設けられているが、これら送信部32、車両外カメラ34を車両1の複数個所に設けてもよい。   The vehicle outside camera 34 is a camera that sequentially captures the outside of the vehicle while the vehicle 1 is stopped and the vehicle door is locked, and outputs an image signal representing the captured image to the vehicle-mounted device control unit 31. To do. The camera outside the vehicle 34 is used for imaging the QR code 6 for authentication. However, the camera outside the vehicle 34 may sequentially capture images even when the vehicle 1 is traveling. In FIG. 1, one transmission unit 32 and one outside camera 34 are provided in the vehicle 1, but the transmission unit 32 and one outside camera 34 may be provided in a plurality of locations of the vehicle 1.

車載器ディスプレイ35は、車載器制御部31が生成する、車載器3を特定する車載器IDを格納した登録用QRコードを表示する。車載器ディスプレイ35は、請求項の車載表示部に相当する。登録用QRコードは、認証用QRコード6を生成に必要な情報である車載器IDを、スマートフォン5に登録するためのQRコードである。認証用QRコード6は、車載器IDと認証用QRコード6の有効期限とを格納したQRコードである。したがって、登録用QRコードは認証用QRコード6とは異なるコードである。   The on-vehicle device display 35 displays a QR code for registration that stores the on-vehicle device ID that identifies the on-vehicle device 3 generated by the on-vehicle device control unit 31. The vehicle-mounted device display 35 corresponds to the vehicle-mounted display unit in the claims. The registration QR code is a QR code for registering the vehicle-mounted device ID, which is information necessary for generating the authentication QR code 6, in the smartphone 5. The QR code for authentication 6 is a QR code that stores the vehicle-mounted device ID and the expiration date of the QR code for authentication 6. Therefore, the registration QR code is different from the authentication QR code 6.

登録用QRコードが認証用QRコード6と異なることにより、登録用QRコードが車載器ディスプレイ35に表示されているときに、第三者が登録用QRコードを撮像しても、その登録用QRコードでは認証が成立しない。これにより、セキュリティ性が向上する。なお、この登録用QRコードが請求項のID登録用光学コードに相当する。   Since the QR code for registration is different from the QR code 6 for authentication, even if a third party images the QR code for registration when the QR code for registration is displayed on the vehicle-mounted device display 35, the QR code for registration is displayed. The code does not authenticate. Thereby, security is improved. This registration QR code corresponds to the ID registration optical code in the claims.

車載器操作部36はボタンなどの入力装置であり、ユーザは種々の操作を車載器操作部36に対して行う。ユーザが車載器操作部36に対して行う操作は、たとえば登録用QRコード表示操作であり、登録用QRコード表示操作が行われることをもとに、車載器制御部31は車載器ディスプレイ35に登録用QRコードを表示させる。車室内カメラ37は、たとえば、ダッシュボードに設置されて、車室内を撮像範囲に含む。   The on-vehicle device operation unit 36 is an input device such as a button, and the user performs various operations on the on-vehicle device operation unit 36. The operation that the user performs with respect to the on-vehicle device operation unit 36 is, for example, a registration QR code display operation. Based on the registration QR code display operation being performed, the on-vehicle device control unit 31 controls Display the QR code for registration. The vehicle interior camera 37 is installed on a dashboard, for example, and includes the vehicle interior in the imaging range.

電子キー4は、車載器3と無線通信を行う。具体的には、車載器3が送信するリクエスト信号を受信する。また、リクエスト信号に対する応答として、電子キー4を特定する電子キーIDを含むレスポンス信号を送信する。   The electronic key 4 performs wireless communication with the vehicle-mounted device 3. Specifically, the request signal transmitted by the vehicle-mounted device 3 is received. Further, a response signal including an electronic key ID for specifying the electronic key 4 is transmitted as a response to the request signal.

スマートフォン5は請求項の携帯表示機器に相当し、例えばサーバからの配信によって認証用アプリケーションが導入され、車載器3の登録および認証用QRコード6の表示を行う。   The smartphone 5 corresponds to the mobile display device of the claims, and for example, an authentication application is introduced by distribution from a server, and registration of the vehicle-mounted device 3 and display of the QR code 6 for authentication are performed.

スマートフォン5の構成を図2に沿って説明する。スマートフォン5は、演算部51と、カメラ52と、ディスプレイ53と、操作部54とを備えて構成される。   The configuration of the smartphone 5 will be described with reference to FIG. The smartphone 5 includes a calculation unit 51, a camera 52, a display 53, and an operation unit 54.

演算部51は、CPU、ROM、RAM等よりなるマイクロコンピュータを主体として構成されている。CPUは、RAMの一時記憶機能を利用しつつ、ROMなどの非遷移的実体的記録媒体に記憶されているプログラムを実行する。これにより、演算部51は、登録用QRコードに格納された車載器IDの取得、認証用QRコード6の生成、および認証用QRコード6のディスプレイ53への表示を行う。また、CPUがそれらのプログラムを実行すると、プログラムに対応する方法が実行されることになる。なお、演算部51が実行する機能の一部または全部を、一つあるいは複数のIC等によりハードウェア的に構成してもよい。演算部51は記憶部51aを備える。この記憶部51aは、上述のROMでもよい。   The calculation unit 51 is configured mainly with a microcomputer including a CPU, a ROM, a RAM, and the like. The CPU executes a program stored in a non-transitional physical recording medium such as a ROM while using a temporary storage function of the RAM. Thereby, the operation unit 51 acquires the vehicle-mounted device ID stored in the registration QR code, generates the authentication QR code 6, and displays the authentication QR code 6 on the display 53. Further, when the CPU executes these programs, a method corresponding to the programs is executed. Note that some or all of the functions executed by the calculation unit 51 may be configured in hardware by one or a plurality of ICs. The calculation unit 51 includes a storage unit 51a. The storage unit 51a may be the above-described ROM.

カメラ52は、車載器ディスプレイ35に表示された登録用QRコードを撮像し、演算部51に出力する。このカメラ52が、請求項の携帯機カメラに相当する。ディスプレイ53は、演算部51が生成した認証用QRコード6を表示する。操作部54はボタンあるいはディスプレイ53と一体となったタッチパネルなどの入力装置であり、ユーザは種々の操作を操作部54に対して行う。ユーザが操作部54に対して行う操作は、例えば画像取得操作であり、この画像取得操作が行われると、演算部51がカメラ52に対して登録用QRコードを撮像するよう命令する。   The camera 52 images the registration QR code displayed on the vehicle-mounted device display 35 and outputs the image to the calculation unit 51. The camera 52 corresponds to the portable camera in the claims. The display 53 displays the QR code for authentication 6 generated by the calculation unit 51. The operation unit 54 is an input device such as a touch panel integrated with buttons or the display 53, and the user performs various operations on the operation unit 54. The operation that the user performs on the operation unit 54 is, for example, an image acquisition operation. When this image acquisition operation is performed, the calculation unit 51 instructs the camera 52 to image the QR code for registration.

スマートフォン5に、ディスプレイ53に認証用QRコード6を表示するために必要な車載器IDを登録する手順について図3および図4を用いて説明する。なお、これ以降この手順を登録手順と呼ぶ。   A procedure for registering the in-vehicle device ID necessary for displaying the QR code 6 for authentication on the display 53 on the smartphone 5 will be described with reference to FIGS. 3 and 4. Hereinafter, this procedure is called a registration procedure.

車載器3の車載器制御部31は、ユーザが登録用QRコード表示操作を行うと、図3に示すフローチャートのステップS1(以下、ステップを省略)から各ステップの処理を実行する。   When the user performs a QR code display operation for registration, the in-vehicle device control unit 31 of the on-vehicle device 3 executes processing of each step from step S1 (hereinafter, step is omitted) of the flowchart shown in FIG.

S1では、ユーザがパスワード入力を行い、ユーザの認証が成立しているか否かを判断する。パスワードはあらかじめユーザによる事前の設定操作により設定され、記憶部51aに記憶されている。ユーザが入力したパスワードと記憶部51aに記憶されたパスワードが一致したと判断した場合はユーザの認証が成立していると判断しS2に進み、一致していないと判断した場合はユーザの認証が成立していないと判断し図3に示す処理を終了する。   In S <b> 1, the user inputs a password and determines whether or not user authentication is established. The password is set in advance by a user's previous setting operation and stored in the storage unit 51a. If it is determined that the password entered by the user matches the password stored in the storage unit 51a, it is determined that user authentication has been established, and the process proceeds to S2. If it is determined that the password does not match, user authentication is performed. The process shown in FIG. 3 is terminated by determining that it has not been established.

S2では、車載器3を特定する車載器IDを車載器記憶部31aから取得し、予め設定した暗号キーを用いて暗号化することで暗号化IDを生成する。本実施形態では、この暗号キーも、予めユーザが設定することができ、また、パスワードを暗号キーとしてもよい。この処理が請求項のID暗号化部に相当する。   In S <b> 2, an onboard device ID that identifies the onboard device 3 is acquired from the onboard device storage unit 31 a and encrypted using a preset encryption key to generate an encryption ID. In the present embodiment, this encryption key can also be set in advance by the user, and a password may be used as the encryption key. This process corresponds to the ID encryption unit in the claims.

S3では、S2で生成した暗号化IDを格納したQRコードである登録用QRコードを生成する。この処理が登録用コード生成部に相当する。   In S3, a registration QR code, which is a QR code storing the encryption ID generated in S2, is generated. This process corresponds to a registration code generation unit.

S4では、S3で生成した登録用QRコードを車載器ディスプレイ35に表示した後、図3に示す処理を終了する。登録用QRコードを車載器ディスプレイ35に表示する期間は、例えば10秒間表示するなど一定の時間でもよいし、ユーザが車載器操作部36を操作して表示を終了させる操作を行うまでとしてもよい。また、登録用QRコードとともに、登録用QRコードや登録用QRコードから生成される認証用QRコード6を他人に撮影等されないように注意喚起するメッセージも表示することが好ましい。   In S4, after displaying the QR code for registration produced | generated by S3 on the onboard equipment display 35, the process shown in FIG. 3 is complete | finished. The period for displaying the registration QR code on the in-vehicle device display 35 may be a fixed time such as displaying for 10 seconds, or until the user operates the on-vehicle device operation unit 36 to end the display. . In addition to the registration QR code, it is also preferable to display a message that alerts the other person not to shoot the QR code for authentication or the QR code for authentication 6 generated from the QR code for registration.

スマートフォン5は、ユーザが画像取得操作を行うことで、車載器ディスプレイ35に表示された登録用QRコードをカメラ52が取得すると、演算部51が図4に示すフローチャートのS11から各ステップの処理を実行する。   When the camera 52 acquires the registration QR code displayed on the vehicle-mounted device display 35 by the user performing an image acquisition operation, the calculation unit 51 performs the processing of each step from S11 of the flowchart illustrated in FIG. Run.

S11では、取得したQRコードを復号し、格納された暗号化IDを取り出す。この処理が請求項のID読み取り部に相当する。   In S11, the acquired QR code is decrypted, and the stored encryption ID is extracted. This process corresponds to an ID reading unit in claims.

S12では、S11で取得した暗号化IDを、暗号キーを用いて復号して車載器IDを取り出す。なお、前述したように、本実施形態では、暗号キーもユーザが設定しているので、ユーザは暗号キーを知っている。ユーザの入力操作に基づいて、演算部51は、このS12の実行時、あるいは、事前に暗号キーを取得する。この処理が請求項のID取得部に相当する。   In S12, the encryption ID acquired in S11 is decrypted using the encryption key, and the vehicle-mounted device ID is extracted. As described above, in this embodiment, since the user also sets the encryption key, the user knows the encryption key. Based on the input operation of the user, the calculation unit 51 acquires the encryption key when executing this S12 or in advance. This process corresponds to the ID acquisition unit in the claims.

S13では、S12で取り出した車載器IDを記憶部51aに記憶し、図4に示す処理を終了する。以上の処理により、車載器IDをスマートフォン5に登録する登録手順が完了する。   In S13, the vehicle-mounted device ID extracted in S12 is stored in the storage unit 51a, and the process illustrated in FIG. With the above processing, the registration procedure for registering the vehicle-mounted device ID in the smartphone 5 is completed.

次に、スマートフォン5を車載器3に認証させる手順について図5および図6に沿って説明する。なお、これ以降この手順を認証手順と呼ぶ。   Next, a procedure for authenticating the smartphone 5 to the vehicle-mounted device 3 will be described with reference to FIGS. 5 and 6. Hereinafter, this procedure is called an authentication procedure.

スマートフォン5の演算部51は、ユーザが操作部54を操作し認証用QRコード6の表示を要求すると、図5に示すフローチャートのS21から各ステップの処理を実行し、認証用QRコード6の生成および表示を行う。   When the user operates the operation unit 54 to request the display of the authentication QR code 6, the calculation unit 51 of the smartphone 5 executes the processing of each step from S 21 in the flowchart illustrated in FIG. 5 to generate the authentication QR code 6. And display.

S21では、正しい暗号キーを取得しているか否かを判断する。この判断は、S12で車載器IDを復号できたか否かにより判断する。正しい暗号キーを取得できていると判断した場合はS22に進み、正しい暗号キーを取得できていないと判断した場合は図5に示す処理を終了する。   In S21, it is determined whether or not a correct encryption key has been acquired. This determination is made based on whether or not the vehicle-mounted device ID has been decoded in S12. If it is determined that the correct encryption key has been acquired, the process proceeds to S22. If it is determined that the correct encryption key has not been acquired, the process illustrated in FIG. 5 ends.

S22では、図4の登録手順において記憶部51aに記憶した車載器IDと、生成時刻をもとに算出した有効期限とを、暗号キーを用いて暗号化して暗号文を生成する。有効期限は、例えば生成時刻から30分であってもよいし、生成した当日中であってもよい。この車載器IDと有効期限とが請求項の認証用文字列に相当する。また、この処理が請求項の暗号化部に相当する。なお、有効期限は請求項の有効期限データに相当するとともに、生成する時刻によって変化するデータでもあることから、時間変化データでもある。   In S22, the in-vehicle device ID stored in the storage unit 51a in the registration procedure of FIG. 4 and the expiration date calculated based on the generation time are encrypted using an encryption key to generate a ciphertext. The expiration date may be, for example, 30 minutes from the generation time, or may be during the day of generation. The vehicle-mounted device ID and the expiration date correspond to the authentication character string in the claims. This process corresponds to an encryption unit in the claims. Note that the expiration date corresponds to the expiration date data in the claims, and is data that changes depending on the time of generation, and thus is also time change data.

S23では、S22で生成した暗号文を格納した認証用QRコード6を生成する。この処理が請求項の光学コード生成部に相当する。   In S23, the authentication QR code 6 storing the ciphertext generated in S22 is generated. This process corresponds to the optical code generation unit in the claims.

S24では、S23で生成した認証用QRコードをディスプレイ53に表示し、図5に示す処理を終了する。   In S24, the QR code for authentication generated in S23 is displayed on the display 53, and the process shown in FIG.

車両1のドアロックが施錠状態である場合において、車載器制御部31は電子キー4の認証が成立するか否かを逐次判断するとともに、図6に示すフローチャートのS11から各ステップの処理を実行する。   When the door lock of the vehicle 1 is in the locked state, the vehicle-mounted device control unit 31 sequentially determines whether or not the authentication of the electronic key 4 is established, and executes the processing of each step from S11 of the flowchart shown in FIG. To do.

S31では、車両外カメラ34から取得した画像にQRコードが含まれているかを判断する。含まれていると判断した場合はS32に進み、含まれていないと判断した場合は再びS11に戻る。   In S <b> 31, it is determined whether the QR code is included in the image acquired from the vehicle outside camera 34. If it is determined that it is included, the process proceeds to S32. If it is determined that it is not included, the process returns to S11 again.

S32では、車両外カメラ34から取得した画像に含まれているQRコードから、格納されている暗号文を読み取る。この処理が請求項の暗号文読み取り部に相当する。   In S32, the stored ciphertext is read from the QR code included in the image acquired from the camera 34 outside the vehicle. This process corresponds to the ciphertext reading unit in the claims.

S33では、暗号キーを用いてS32で取得した暗号文を復号し、車載器IDと有効期限とを取得する。この処理が請求項の復号部に相当する。   In S33, the ciphertext acquired in S32 is decrypted using the encryption key, and the vehicle-mounted device ID and the expiration date are acquired. This process corresponds to a decoding unit in claims.

S34では、車載器記憶部31aに記憶された車載器IDと、S34の処理を行う際の時刻とを取得する。   In S34, the onboard equipment ID memorize | stored in the onboard equipment memory | storage part 31a and the time at the time of performing the process of S34 are acquired.

S35では、認証用QRコードが車載器3の認証対象であるか否かを判断する。具体的には、S33で取得した車載器IDと復号して取得した車載器IDとが一致し、かつS33で取得した時刻が取得した有効期限内であるか否かを判断する。車載器IDが一致し、かつ有効期限内であると判断した場合にはS36に進み、いずれか一方でも一致しないと判断した場合には再びS31に戻る。   In S35, it is determined whether the QR code for authentication is an authentication target of the vehicle-mounted device 3. Specifically, it is determined whether or not the vehicle-mounted device ID acquired in S33 matches the vehicle-mounted device ID acquired by decryption and the time acquired in S33 is within the acquired expiration date. When it is determined that the vehicle-mounted device IDs match and are within the expiration date, the process proceeds to S36, and when it is determined that either one does not match, the process returns to S31 again.

S36では、スマートフォン5の認証が成立した旨を認証成立信号として車両1が備えるボデーECUに送信し、図6に示す処理を終了する。この処理が請求項の認証部に相当する。なお、認証成立信号は電子キー4の認証が成立したと判断した場合に送信される信号と同じである。したがって、認証成立信号がボデーECUに送信されると、ドアロックが開錠可能な状態になる。この状態において、ボデーECUは、一定期間内にドアハンドルに設けられたタッチセンサにユーザが触れる開錠操作が行われることによってドアロックが開錠された状態とする。つまり一定期間内は、認証成立状態が継続しているとする。本実施形態における一定期間は、ディスプレイ53に認証用QRコード6を表示させて、その認証用QRコード6を車両外カメラ34に撮像させたユーザが、ドアハンドルに設けられたタッチセンサを操作するまでに必要な時間に基づいて定められる。具体的には、本実施形態での一定期間は、たとえば10秒程度である。   In S36, the fact that the authentication of the smartphone 5 has been established is transmitted as an authentication establishment signal to the body ECU provided in the vehicle 1, and the processing shown in FIG. This process corresponds to the authentication unit in the claims. The authentication establishment signal is the same as the signal transmitted when it is determined that the authentication of the electronic key 4 is established. Therefore, when the authentication establishment signal is transmitted to the body ECU, the door lock can be unlocked. In this state, the body ECU makes the door lock unlocked by performing an unlocking operation in which the user touches a touch sensor provided on the door handle within a certain period. That is, it is assumed that the authentication establishment state continues for a certain period. For a certain period in the present embodiment, the user who has displayed the QR code 6 for authentication on the display 53 and has captured the QR code 6 for authentication with the camera 34 outside the vehicle operates the touch sensor provided on the door handle. It is determined based on the time required until. Specifically, the fixed period in this embodiment is about 10 seconds, for example.

以上、説明した実施形態によれば、車両1のドアロックが施錠状態である場合において、車載器制御部31は、車両外カメラ34が撮像した車両外の画像を逐次取得し、図6のS31の処理により画像にQRコードが含まれているか否かの判断を行っている。ユーザが、スマートフォン5が備える操作部54を操作してディスプレイ53に認証用QRコード6を表示させ、認証用QRコード6を車両外カメラ34の撮像する範囲にかざすと、S31の判断がYESとなり、S32以降の処理が行われる。S32においてディスプレイ53に表示された認証用QRコード6が読み取られて暗号文が取り出され、S33において暗号文が復号されて車載器IDおよび有効期限が取り出される。その認証用QRコード6に格納された車載器IDが、車載器記憶部31aに記憶された車載器IDと一致し、かつS34で取得された時刻が認証用QRコード6に格納された有効期限内である場合、S35の判断がYESとなる。そして、S36の処理が行われスマートフォン5の認証が成立する。スマートフォン5の認証が成立することによっても、電子キー4の認証が成立することによって行われる所定の処理と同様の処理が行われる。従って、ユーザは電子キー4を利用できない場合であっても、スマートフォン5を用いてドアロックの開錠操作などの電子キー4の認証中にのみ提供される機能と同じ機能を利用することが可能となる。   As described above, according to the embodiment described above, when the door lock of the vehicle 1 is in the locked state, the vehicle-mounted device control unit 31 sequentially acquires images outside the vehicle captured by the vehicle outside camera 34, and S31 in FIG. Through this process, it is determined whether or not a QR code is included in the image. When the user operates the operation unit 54 of the smartphone 5 to display the QR code 6 for authentication on the display 53 and holds the QR code 6 for authentication over the range captured by the camera 34 outside the vehicle, the determination in S31 is YES. , S32 and subsequent processes are performed. In S32, the QR code 6 for authentication displayed on the display 53 is read and the ciphertext is extracted. In S33, the ciphertext is decrypted and the vehicle-mounted device ID and the expiration date are extracted. The expiry date when the vehicle-mounted device ID stored in the QR code for authentication 6 matches the vehicle-mounted device ID stored in the vehicle-mounted device storage unit 31a, and the time acquired in S34 is stored in the QR code for authentication 6 If YES, the determination in S35 is YES. And the process of S36 is performed and authentication of the smart phone 5 is materialized. Even when the authentication of the smartphone 5 is established, the same processing as the predetermined processing performed when the authentication of the electronic key 4 is established is performed. Therefore, even when the user cannot use the electronic key 4, it is possible to use the same function as that provided only during the authentication of the electronic key 4, such as the door lock unlocking operation, using the smartphone 5. It becomes.

さらに、車載器IDおよび有効期限が暗号化されて登録用QRコードおよび認証用QRコード6に格納されている。そのため、登録用QRコードおよび認証用QRコード6を不正に生成することが困難となる。また、S35では、S34で取得した時刻が認証用QRコード6に格納された有効期限内であることをもとに認証を成立させるとしている。そのため、認証用QRコード6を盗撮するなどして不正に取得した場合でも、有効期限を過ぎると認証用QRコード6では認証が成立しない。したがって、悪意の第三者によって、電子キー4の認証が成立している場合に提供される機能を不正に利用されるおそれを軽減することができる。   Further, the vehicle-mounted device ID and the expiration date are encrypted and stored in the registration QR code and the authentication QR code 6. This makes it difficult to illegally generate the registration QR code and the authentication QR code 6. In S35, the authentication is established based on the fact that the time acquired in S34 is within the expiration date stored in the QR code 6 for authentication. Therefore, even if the QR code for authentication 6 is illegally acquired by voyeuring or the like, the authentication QR code 6 cannot be authenticated after the expiration date. Therefore, it is possible to reduce the possibility that a malicious third party illegally uses the function provided when the authentication of the electronic key 4 is established.

また、車両外カメラ34は車両外を逐次撮像しており、車載器記憶部31aが、車両外カメラ34が逐次撮像した車両外の画像を記憶している。この画像は、車載器ディスプレイ35に表示可能であるので、車両外カメラ34は監視カメラとしても機能している。   The vehicle outside camera 34 sequentially captures the outside of the vehicle, and the vehicle-mounted device storage unit 31 a stores images outside the vehicle sequentially captured by the vehicle outside camera 34. Since this image can be displayed on the vehicle-mounted device display 35, the outside-vehicle camera 34 also functions as a surveillance camera.

以上、本発明の実施形態を説明したが、本発明は上述の実施形態に限定されるものではなく、次の変形例も本発明の技術的範囲に含まれ、さらに、下記以外にも要旨を逸脱しない範囲内で種々変更して実施できる。なお、以下の説明において、それまでに使用した符号と同一番号の符号を有する要素は、特に言及する場合を除き、それ以前の実施形態における同一符号の要素と同一である。また、構成の一部のみを説明している場合、構成の他の部分については先に説明した実施形態を適用できる。   As mentioned above, although embodiment of this invention was described, this invention is not limited to the above-mentioned embodiment, The following modification is also contained in the technical scope of this invention, Furthermore, the summary other than the following is also included. Various modifications can be made without departing from the scope. In the following description, elements having the same reference numerals as those used so far are the same as the elements having the same reference numerals in the previous embodiments unless otherwise specified. Further, when only a part of the configuration is described, the above-described embodiment can be applied to the other parts of the configuration.

<変形例1>
実施形態において、登録手順では、車載器3が備える車載器ディスプレイ35に表示された登録用QRコードをスマートフォン5が備えるカメラ52で撮像することによりスマートフォン5に車載器IDを記憶させるとしているが、登録手順はこれに限られない。例えば、車載器ディスプレイ35に車載器IDを表示し、ユーザが表示された車載器IDをスマートフォン5の操作部54を操作して入力し、スマートフォン5に記憶させるとしてもよい。
<Modification 1>
In the embodiment, in the registration procedure, the on-board device ID is stored in the smartphone 5 by capturing the registration QR code displayed on the on-vehicle device display 35 included in the on-vehicle device 3 with the camera 52 included in the smartphone 5. The registration procedure is not limited to this. For example, the vehicle-mounted device ID may be displayed on the vehicle-mounted device display 35, and the vehicle-mounted device ID displayed by the user may be input by operating the operation unit 54 of the smartphone 5 and stored in the smartphone 5.

<変形例2>
実施形態において、登録手順ではスマートフォン5に車載器IDを記憶するとしているが、サーバに車載器IDを記憶するとしてもよい。例えば、macアドレスなどのスマートフォン5を特定可能な情報とともに車載器IDをサーバに記憶するとしてもよい。この場合、認証手順ではスマートフォン5からサーバに車載器IDを要求すればよい。例えば、スマートフォン5はmacアドレスをサーバに送信し、サーバは、スマートフォン5から送信されたmacアドレスに対応する車載器IDをスマートフォン5に送信すればよい。
<Modification 2>
In the embodiment, in the registration procedure, the vehicle-mounted device ID is stored in the smartphone 5, but the vehicle-mounted device ID may be stored in the server. For example, onboard equipment ID may be memorize | stored in a server with the information which can identify the smart phones 5, such as a mac address. In this case, what is necessary is just to request | require vehicle equipment ID from the smart phone 5 to a server in an authentication procedure. For example, the smartphone 5 may transmit a mac address to the server, and the server may transmit the vehicle-mounted device ID corresponding to the mac address transmitted from the smartphone 5 to the smartphone 5.

なお、スマートフォン5を特定可能な情報であればmacアドレスに限られない。例えば、登録手順においては、サーバが生成し記憶したスマートフォンIDをスマートフォン5に記憶させ、認証手順においてはスマートフォン5が記憶したスマートフォンIDをサーバに送信するとしてもよい。   In addition, if it is information which can specify the smart phone 5, it will not be restricted to a mac address. For example, in the registration procedure, the smartphone ID generated and stored by the server may be stored in the smartphone 5, and in the authentication procedure, the smartphone ID stored by the smartphone 5 may be transmitted to the server.

また、サーバがスマートフォン5を特定することに代えて、あるいは、その特定に加えて、ユーザを特定するとしてもよい。例えば、登録手順においては、サーバが生成し記憶したパスワードをユーザに配布し、認証手順においては、ユーザがスマートフォン5が備える操作部54を操作して入力したパスワードをサーバに送信するとしてもよい。   Further, instead of specifying the smartphone 5 by the server, or in addition to the specification, the user may be specified. For example, in the registration procedure, the password generated and stored by the server may be distributed to the user, and in the authentication procedure, the password input by the user operating the operation unit 54 included in the smartphone 5 may be transmitted to the server.

さらに、認証手順においてサーバは車載器IDを送信するとしたが、サーバで車載器IDと時刻とを用いて認証用QRコード6を生成し、生成した認証用QRコード6をスマートフォン5に送信するとしてもよい。この場合、スマートフォン5は受信した認証用QRコード6をディスプレイに表示すればよい。   Further, in the authentication procedure, the server transmits the vehicle-mounted device ID, but the server generates the authentication QR code 6 using the vehicle-mounted device ID and the time, and transmits the generated authentication QR code 6 to the smartphone 5. Also good. In this case, the smartphone 5 may display the received authentication QR code 6 on the display.

<変形例3>
実施形態において、車載器3は車両外を撮像する車両外カメラ34を備えているとした。しかし、車室内カメラ37が撮像した画像中のQRコードが認証用QRコード6と一致した場合にも認証を成立させるとしてもよい。またこの場合、認証が成立した場合の作動をQRコードを取得したカメラによって変更するとしてもよい。例えば、車両外カメラ34が撮像した画像から認証用QRコード6を取得して認証が成立した場合にはドアロックの開錠を行う。一方、車室内カメラ37が撮像した画像から認証用QRコード6を取得して認証が成立した場合にはエンジン始動など車両1を駆動可能とする制御を行うとしてもよい。
<Modification 3>
In the embodiment, the vehicle-mounted device 3 includes the vehicle outside camera 34 that images the outside of the vehicle. However, authentication may be established even when the QR code in the image captured by the vehicle interior camera 37 matches the QR code 6 for authentication. In this case, the operation when authentication is established may be changed by the camera that has acquired the QR code. For example, when the QR code 6 for authentication is acquired from an image captured by the camera 34 outside the vehicle and authentication is established, the door lock is unlocked. On the other hand, when the authentication QR code 6 is acquired from the image captured by the vehicle interior camera 37 and the authentication is established, the vehicle 1 may be controlled such that the vehicle 1 can be driven.

<変形例4>
実施形態において、認証対象となる認証用QRコード6であるか否かの判断は格納されたデータを用いて判断するとしているが、格納されたデータを取り出さず、認証用QRコード6を画像として判断に用いるとしてもよい。
<Modification 4>
In the embodiment, the determination as to whether or not the authentication QR code 6 is to be authenticated is made using stored data. However, the stored QR code 6 is used as an image without retrieving the stored data. It may be used for judgment.

<変形例5>
実施形態において、光学コードとしてQRコードを用いているが、バーコードなどその他の光学コードを用いるとしてもよい。
<Modification 5>
In the embodiment, the QR code is used as the optical code, but other optical codes such as a bar code may be used.

また、SQRC(登録商標)などの秘匿性のあるデータを格納した光学コードを用いるとしてもよい。   Also, an optical code storing confidential data such as SQRC (registered trademark) may be used.

<変形例6>
実施形態において、携帯表示機器としてスマートフォン5を用いるとしているが、スマートフォン5以外の携帯表示機器を用いてもよい。認証用QRコード6を表示可能なディスプレイを備え、ディスプレイに認証用QRコード6を表示するアプリケーションを導入可能に構成されていれば、テンキーを備えた携帯電話機や携帯音楽プレイヤーを携帯表示機器として用いてもよい。
<Modification 6>
In the embodiment, the smartphone 5 is used as the portable display device, but a portable display device other than the smartphone 5 may be used. If a display capable of displaying the QR code for authentication 6 is provided and an application for displaying the QR code 6 for authentication can be introduced on the display, a mobile phone or a portable music player having a numeric keypad is used as a portable display device. May be.

<変形例7>
実施形態において、電子キー4もしくはスマートフォン5の認証が成立することに従ってドアロックを開錠可能な状態とするとしているが、認証が成立した場合の処理はこれに限られない。
<Modification 7>
In the embodiment, the door lock can be unlocked according to the establishment of the authentication of the electronic key 4 or the smartphone 5, but the process when the authentication is established is not limited thereto.

例えば、車両外カメラ34により撮像された画像に基づいて認証が成立した場合に、電子キー4が備えるロックアンロックボタンが操作された場合と同様に、ドアの施錠状態と開錠状態を切り替えるものとしてもよい。このようにするためには、車載器制御部31は、認証成立したと判断した場合に、ドアロック制御部に相当するボデーECUに、ドアの施錠状態と開錠状態を切り替える指示を送信すればよい。   For example, when authentication is established based on an image captured by the camera 34 outside the vehicle, the door is switched between the locked state and the unlocked state as in the case where the lock / unlock button included in the electronic key 4 is operated. It is good. In order to do this, if the in-vehicle device control unit 31 determines that the authentication has been established, the vehicle-mounted device control unit 31 transmits an instruction to switch the door locking state and the unlocking state to the body ECU corresponding to the door lock control unit. Good.

<変形例8>
また、前述の実施形態では、認証が成立してから一定期間を認証が成立している状態としたが、これに限られない。認証が成立した時点から、所定の認証終了操作が行われるまでの間を、電子キー4の認証が成立している状態としてもよい。認証終了操作は、たとえば、駆動力源を始動させる始動ボタンが押されたことである。この場合、ドアが施錠された状態において、車両外カメラ34が撮像した画像により認証が成立した後、ドアハンドルに設けられたタッチセンサにユーザが触れたときにも認証が成立しているので、ボデーECUはドアを開錠状態にする。その後、ユーザがドアを開けて運転席に着座した後、始動ボタンを押した時にも認証が成立しているので、再度、スマートフォン5のディスプレイ53に認証用QRコード6を表示させ、その認証用QRコード6を車室内カメラ37に撮像させる必要はない。
<Modification 8>
In the above-described embodiment, the authentication is established for a certain period after the authentication is established, but the present invention is not limited to this. The period from when the authentication is established to when a predetermined authentication end operation is performed may be a state where the authentication of the electronic key 4 is established. The authentication end operation is, for example, that a start button for starting a driving force source has been pressed. In this case, since the authentication is established even when the user touches the touch sensor provided on the door handle after the authentication is established by the image captured by the camera 34 outside the vehicle in a state where the door is locked, The body ECU places the door in an unlocked state. Then, after the user opens the door and sits in the driver's seat, the authentication is established even when the start button is pressed, so that the authentication QR code 6 is displayed again on the display 53 of the smartphone 5 and the authentication is performed. There is no need to cause the vehicle interior camera 37 to capture the QR code 6.

あるいは、認証終了操作を、ドアを閉じてドアハンドルに設けられたドアロックボタンが押されたこととしてもよい。この場合には、降車時に施錠する際にも、スマートフォン5のディスプレイ53に認証用QRコード6を表示させ、その認証用QRコード6を車両外カメラ34に撮像させる必要がなくなる。   Alternatively, the authentication end operation may be performed by closing a door and pressing a door lock button provided on a door handle. In this case, there is no need to display the QR code for authentication 6 on the display 53 of the smartphone 5 and cause the camera outside the vehicle to image the QR code 6 for authentication even when locking when getting off the vehicle.

<変形例9>
また、認証終了操作を、認証が成立している状態において、車両外カメラ34によって認証対象となる認証用QRコード6が撮像されたこととしてもよい。このようにすれば、ユーザは、降車時に、スマートフォン5に認証用QRコード6を表示させて、車両外カメラ34によりその認証用QRコード6を撮像させれば、認証状態を終了させることができる。認証状態を終了させれば、その後は、第三者が車両1に対して、認証が必要な操作をすることができなくなる。なお、車両外カメラ34により認証用QRコード6を撮像させた後にドアハンドルに設けられたドアロックボタンを押す操作を許容するために、車両外カメラ34により認証用QRコード6が撮像された後、さらに一定期間、認証状態が継続することとしてもよい。
<Modification 9>
Further, the authentication end operation may be that the authentication QR code 6 to be authenticated is imaged by the outside camera 34 in a state where the authentication is established. In this way, when the user gets off the vehicle, the authentication QR code 6 is displayed on the smartphone 5, and the authentication QR code 6 can be captured by the camera outside the vehicle 34, so that the authentication state can be terminated. . If the authentication state is terminated, then a third party cannot perform an operation requiring authentication on the vehicle 1. After the QR code for authentication 6 is imaged by the camera outside the vehicle 34 in order to allow the operation of pressing the door lock button provided on the door handle after the QR code 6 for authentication is imaged by the camera outside the vehicle 34. Further, the authentication state may be continued for a certain period.

<変形例10>
前述の実施形態では、認証成立状態を一定期間継続させており、この一定期間を、認証用QRコード6を車両外カメラ34に撮像させたユーザが、ドアハンドルに設けられたタッチセンサを操作するまでに必要な時間に基づいて定めていた。しかし、これに限られず、認証用QRコード6を車両外カメラ34に撮像させたユーザが、ドアを開けて運転席に座り、始動ボタンを押すまでの時間に基づいて定めてもよい。
<Modification 10>
In the above-described embodiment, the authentication establishment state is continued for a certain period. During this certain period, the user who has taken the QR code for authentication 6 with the camera outside the vehicle 34 operates the touch sensor provided on the door handle. It was determined based on the time required. However, the present invention is not limited to this, and it may be determined based on the time from when the user who has taken the QR code for authentication 6 to the outside camera 34 opens the door, sits in the driver's seat, and presses the start button.

<変形例11>
前述の実施形態では、登録用QRコードは車載器IDを格納したコードである一方、認証用QRコード6は車載器IDに加えて生成時刻を格納したQRコードであり、これにより、登録用QRコードと認証用QRコード6は異なるコードとなっていた。しかし、登録用QRコードと認証用QRコード6を異ならせる態様はこれに限られない。
<Modification 11>
In the above-described embodiment, the QR code for registration is a code that stores the vehicle-mounted device ID, while the QR code for authentication 6 is a QR code that stores the generation time in addition to the vehicle-mounted device ID. The code and the QR code for authentication 6 are different codes. However, the mode of making the registration QR code different from the authentication QR code 6 is not limited to this.

たとえば、車載器3とスマートフォン5がともに、登録用QRコードに格納したデータを認証用QRコード6に格納するデータに変換する変換規則を記憶しておくことにより、登録用QRコードと認証用QRコード6を異ならせてもよい。この変換規則には、たとえば、ハッシュ関数を用いることができる。   For example, both the vehicle-mounted device 3 and the smartphone 5 store a conversion rule for converting data stored in the QR code for registration into data stored in the QR code 6 for authentication, so that the QR code for registration and the QR code for authentication are stored. The code 6 may be different. For this conversion rule, for example, a hash function can be used.

1:車両 2:車両用認証システム 3:車載器 4:電子キー 5:スマートフォン 6:認証用QRコード 31:車載器制御部 32:送信部 33:受信部 34:車両外カメラ 35:車載器ディスプレイ 36:車載器操作部 37:車室内カメラ 51:演算部 52:カメラ 53:ディスプレイ 54:操作部 1: Vehicle 2: Vehicle authentication system 3: Vehicle-mounted device 4: Electronic key 5: Smartphone 6: QR code for authentication 31: Vehicle-mounted device control unit 32: Transmitter unit 33: Receiver unit 34: Camera outside vehicle 35: Vehicle-mounted device display 36: On-vehicle device operation unit 37: In-vehicle camera 51: Calculation unit 52: Camera 53: Display 54: Operation unit

Claims (10)

車両(1)に搭載され、電子キー(4)との無線通信に基づいて前記電子キーを認証し、前記認証が成立することをもとに所定の処理を行う車載器(3)と、
携帯表示機器(5)とを備える車両用認証システム(2)であって、
前記携帯表示機器は、
予め設定した暗号キーで、認証用文字列を暗号化して暗号文を生成する暗号化部(S22)と、
前記暗号化部が生成した前記暗号文を格納した光学コードを生成する光学コード生成部(S23)と、
前記光学コード生成部が生成した前記光学コードを、前記車載器に前記携帯表示機器を認証させる認証用光学コードとして表示するディスプレイ(53)を備え、
前記車載器は、
前記車両の外部を逐次撮像する車両外カメラ(34)と、
前記車両外カメラによって撮像された前記認証用光学コードから前記暗号文を読み取る暗号文読み取り部(S23)と、
前記暗号文読み取り部が読み取った前記暗号文を、前記暗号キーで復号して前記認証用文字列を生成する復号部(S33)と、
前記復号部が復号した前記認証用文字列に基づいて前記認証が成立するか否かを判断する認証部(S35)とを備える車両用認証システム。
An on-vehicle device (3) mounted on the vehicle (1), authenticating the electronic key based on wireless communication with the electronic key (4), and performing predetermined processing based on the establishment of the authentication;
A vehicle authentication system (2) comprising a portable display device (5),
The portable display device is
An encryption unit (S22) for generating a ciphertext by encrypting the authentication character string with a preset encryption key;
An optical code generation unit (S23) for generating an optical code storing the ciphertext generated by the encryption unit;
A display (53) for displaying the optical code generated by the optical code generation unit as an authentication optical code for authenticating the portable display device on the vehicle-mounted device;
The in-vehicle device is
A vehicle outside camera (34) for sequentially imaging the outside of the vehicle;
A ciphertext reading unit (S23) that reads the ciphertext from the authentication optical code imaged by the camera outside the vehicle;
A decryption unit (S33) for decrypting the ciphertext read by the ciphertext reading unit with the encryption key to generate the authentication character string;
A vehicle authentication system comprising: an authentication unit (S35) that determines whether or not the authentication is established based on the authentication character string decrypted by the decryption unit.
請求項1において、
前記暗号化部は、前記車載器を特定する車載器IDと、前記認証用光学コードを生成する際の時間により変化する時間変化データを前記認証用文字列として用いて前記暗号文を生成する車両用認証システム。
In claim 1,
The encryption unit generates the ciphertext using the vehicle-mounted device ID that identifies the vehicle-mounted device and the time-varying data that varies depending on the time when generating the authentication optical code as the authentication character string. Authentication system.
請求項2において、
前記時間変化データが、前記認証用光学コードの有効期限を表す有効期限データである車両用認証システム。
In claim 2,
The vehicle authentication system, wherein the time change data is expiration date data indicating an expiration date of the authentication optical code.
請求項2または3において、
前記車載器は、
ユーザの操作により設定された前記暗号キーを取得し、前記暗号キーを用いて前記車載器IDを暗号化して暗号化IDを生成するID暗号化部(S2)と、
前記暗号化IDを格納した光学コードであるID登録用光学コードを生成する登録用コード生成部(S2)と、
前記ID登録用光学コードを表示する車載表示部(35)とを備え、
前記携帯表示機器は、
前記車載表示部に表示された前記ID登録用光学コードを撮像する携帯機カメラ(52)と、
前記携帯機カメラが撮像した前記ID登録用光学コードから前記暗号化IDを読み取るID読み取り部(S11)と、
ユーザの操作により設定された前記暗号キーを取得し、前記暗号キーを用いて、前記ID読み取り部が読み取った前記暗号化IDから前記車載器IDを取得するID取得部(S12)とを備える車両用認証システム。
In claim 2 or 3,
The in-vehicle device is
An ID encryption unit (S2) that acquires the encryption key set by a user operation, encrypts the vehicle-mounted device ID using the encryption key, and generates an encryption ID;
A registration code generator (S2) for generating an ID registration optical code which is an optical code storing the encrypted ID;
An in-vehicle display unit (35) for displaying the ID registration optical code,
The portable display device is
A portable camera (52) that images the optical code for ID registration displayed on the in-vehicle display unit;
An ID reading unit (S11) that reads the encrypted ID from the ID registration optical code imaged by the portable camera;
A vehicle including an ID acquisition unit (S12) that acquires the encryption key set by a user operation and acquires the vehicle-mounted device ID from the encrypted ID read by the ID reading unit using the encryption key. Authentication system.
請求項1〜4のいずれか1項において、
前記車載器は、
前記車両の車室内を撮像範囲に含む車室内カメラ(37)を備え、
前記暗号文読み取り部は、前記車室内カメラによって前記認証用光学コードが撮像された場合にも、その認証用光学コードから前記暗号文を読み取る車両用認証システム。
In any one of Claims 1-4,
The in-vehicle device is
A vehicle interior camera (37) including the vehicle interior of the vehicle in the imaging range,
The ciphertext reading unit is a vehicle authentication system that reads the ciphertext from the authentication optical code even when the authentication optical code is captured by the vehicle interior camera.
請求項1〜5のいずれか1項において、
前記車載器は、
前記車両外カメラが逐次撮像した画像を記憶する記憶部(31a)を備える車両用認証システム。
In any one of Claims 1-5,
The in-vehicle device is
An authentication system for vehicles provided with a storage part (31a) which memorizes a picture imaged one by one by the camera outside the vehicle.
請求項1〜6のいずれか1項において、
前記認証部は、前記認証が成立したと判断した時点から一定期間、前記認証が成立している状態とする車両用認証システム。
In any one of Claims 1-6,
The authentication unit for vehicles, wherein the authentication unit is in a state where the authentication is established for a certain period from the time when it is determined that the authentication is established.
請求項1〜6のいずれか1項において、
前記認証部は、前記認証が成立したと判断した時点から、所定の認証終了操作が行われるまでの間、前記認証が成立している状態とする車両用認証システム。
In any one of Claims 1-6,
The authentication unit for a vehicle in which the authentication unit is in a state in which the authentication is established from the time when it is determined that the authentication is established until a predetermined authentication end operation is performed.
請求項1〜8のいずれか1項において、
前記認証部は、前記認証が成立したと判断し、かつ、ユーザにより所定の操作が行われた場合に前記操作に基づく制御を行う制御部へ、前記認証が成立したことを示す認証成立信号を送信する車両用認証システム。
In any one of Claims 1-8,
The authentication unit determines that the authentication has been established, and sends an authentication establishment signal indicating that the authentication has been established to a control unit that performs control based on the operation when a predetermined operation is performed by a user. Vehicle authentication system to send.
請求項1〜6のいずれか1項において、
前記認証部は、前記認証が成立したと判断した場合に、前記車両のドアを施錠および開錠するロック機構を制御するドアロック制御部へ、前記ドアの施錠状態と開錠状態を切り替える指示を送信する車両用認証システム。
In any one of Claims 1-6,
When the authentication unit determines that the authentication has been established, the authentication unit instructs the door lock control unit that controls a lock mechanism that locks and unlocks the door of the vehicle to switch between the locked state and the unlocked state of the door. Vehicle authentication system to send.
JP2016021930A 2016-02-08 2016-02-08 Vehicle authentication system Pending JP2017141561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016021930A JP2017141561A (en) 2016-02-08 2016-02-08 Vehicle authentication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016021930A JP2017141561A (en) 2016-02-08 2016-02-08 Vehicle authentication system

Publications (1)

Publication Number Publication Date
JP2017141561A true JP2017141561A (en) 2017-08-17

Family

ID=59627092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016021930A Pending JP2017141561A (en) 2016-02-08 2016-02-08 Vehicle authentication system

Country Status (1)

Country Link
JP (1) JP2017141561A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018204183A (en) * 2017-05-30 2018-12-27 株式会社Subaru Vehicle entry system
JP2019186814A (en) * 2018-04-13 2019-10-24 トヨタ自動車株式会社 Vehicle charging system, vehicle, and authentication method of vehicle charging system
JP2020060076A (en) * 2018-10-12 2020-04-16 トヨタ自動車株式会社 Mobile terminal device and vehicle control system
GB2596113A (en) * 2020-06-18 2021-12-22 Daimler Ag A keyless entry system for a motor vehicle
JP7463882B2 (en) 2020-06-29 2024-04-09 株式会社デンソーウェーブ Air conditioning control system, and authentication program for equipment and operation terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11101035A (en) * 1997-09-29 1999-04-13 Pfu Ltd Lock device system and recording medium
JP2006151266A (en) * 2004-11-30 2006-06-15 Denso Corp On-vehicle controlling device
US20140240087A1 (en) * 2013-02-26 2014-08-28 Honeywell International Inc. Access Control System Using Smart Phone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11101035A (en) * 1997-09-29 1999-04-13 Pfu Ltd Lock device system and recording medium
JP2006151266A (en) * 2004-11-30 2006-06-15 Denso Corp On-vehicle controlling device
US20140240087A1 (en) * 2013-02-26 2014-08-28 Honeywell International Inc. Access Control System Using Smart Phone

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018204183A (en) * 2017-05-30 2018-12-27 株式会社Subaru Vehicle entry system
JP2019186814A (en) * 2018-04-13 2019-10-24 トヨタ自動車株式会社 Vehicle charging system, vehicle, and authentication method of vehicle charging system
JP7091798B2 (en) 2018-04-13 2022-06-28 トヨタ自動車株式会社 Vehicle charging system and vehicle charging system certification method
JP2020060076A (en) * 2018-10-12 2020-04-16 トヨタ自動車株式会社 Mobile terminal device and vehicle control system
JP7103146B2 (en) 2018-10-12 2022-07-20 トヨタ自動車株式会社 Mobile terminal device and vehicle control system
GB2596113A (en) * 2020-06-18 2021-12-22 Daimler Ag A keyless entry system for a motor vehicle
JP7463882B2 (en) 2020-06-29 2024-04-09 株式会社デンソーウェーブ Air conditioning control system, and authentication program for equipment and operation terminal

Similar Documents

Publication Publication Date Title
US8275130B2 (en) System and method for registering secret key
JP6036638B2 (en) Electronic key system, in-vehicle device, and portable device
JP5973224B2 (en) Electronic key registration method
JP2017141561A (en) Vehicle authentication system
JP5918004B2 (en) Electronic key registration system
US20210114557A1 (en) Sharing system
JP6633589B2 (en) Car sharing system
JP6717793B2 (en) Car sharing system and car sharing device
JP6676597B2 (en) Car sharing system
JP6866818B2 (en) Terminals, vehicle control systems, and vehicle control methods
KR20120090148A (en) Method and system for controlling a car using smart phone
KR20150064910A (en) Method and apparatus for vehicle control by using mobile terminal
JP2014145200A (en) Locking/unlocking right granting system, authentication device, mobile terminal, and program
KR101520573B1 (en) Smart key, control method and apparatus thereof
JP6916101B2 (en) Sharing system
JP2005343430A (en) Vehicle control system
JP6342718B2 (en) Vehicle communication system
JP5189432B2 (en) Cryptographic data communication system
KR102521936B1 (en) Method of secured sharing of vehicle key
JP5073307B2 (en) Cryptographic data communication system
US11220239B2 (en) Key information generation system and key information generation method
JP2019094167A (en) Delivery management system
JP2016152438A (en) Software updating device, portable terminal and software updating system
JP2014192724A (en) Terminal authentication system
JP5393717B2 (en) Electronic key device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180425

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190827