Authentication system, authentication method, and authentication program

The authentication system optimizes power usage by determining the state of a mobile terminal only after receiving a connection request, addressing inefficiencies in existing systems and reducing power consumption.

JP7567337B2Active Publication Date: 2024-10-16DENSO CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020167086
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-01
Publication Date
2024-10-16
Estimated Expiration
2040-10-01

AI Technical Summary

Technical Problem

Existing authentication systems consume excessive power due to continuous detection of user movement, even when not necessary, leading to inefficient power usage.

Method used

An authentication system that only determines the state of a mobile terminal after receiving a connection request signal, reducing unnecessary state determinations and sensor data acquisition, thereby minimizing power consumption.

Benefits of technology

This approach significantly reduces power consumption in authentication processes by optimizing state determinations and sensor usage, enhancing system efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007567337000001
    Figure 0007567337000001
  • Figure 0007567337000002
    Figure 0007567337000002
  • Figure 0007567337000003
    Figure 0007567337000003
Patent Text Reader

Abstract

To provide an authentication system, etc., for reducing power consumption related to authentication control.SOLUTION: An authentication system is configured to execute authentication control including connection authentication and operation authentication, and includes a communication unit which receives signals transmitted from a portable terminal to a device to be authenticated. The portable terminal includes a state sensor, a receiving unit which receives connection request signals, a transmission unit which transmits connection response signals, and a control unit. The control unit includes an acquisition unit and a determination unit. The control unit includes an execution unit configured to transmit, when the state of the portable terminal satisfies a permission condition, connection response signals from the transmission unit, and not to transmit the connection response signals from the transmission unit when the state of the portable terminal does not satisfy the permission condition. The determination unit does not perform state determination before the receiving unit receives connection request signals, but performs state determination after the receiving unit receives connection request signals.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The disclosure in this specification relates to an authentication system, an authentication method, and an authentication program. [Background technology]

[0002] Patent Document 1 discloses a state control system and a state control method for controlling the locking state of a controlled object based on a signal transmitted by a mobile terminal. The contents of the prior art documents are incorporated by reference as explanations of technical elements in this specification. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2013-217142 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the configuration of the prior art document, various processes are performed to control the locking state after detecting that the user of the mobile terminal is stationary, i.e., not walking. Here, the mobile terminal consumes power every time it detects whether the user is walking or not. In the above-mentioned respects and other respects not mentioned, further improvements are required in the authentication system and the like.

[0005] One disclosed object is to provide an authentication system etc. capable of reducing power consumption related to authentication control. [Means for solving the problem]

[0006] The authentication system disclosed herein performs authentication control including connection authentication for establishing a communication connection and operation authentication for operating an authentication target device that is the subject of whether or not to permit operation by a user who possesses a mobile terminal (50). Between the mobile terminal and the authentication target deviceAn authentication system for performing Mobile devices The mobile terminal is capable of short-distance wireless communication. Smartphone the control unit (70) for controlling short-range wireless communication, and the control unit (70) for controlling short-range wireless communication, ... The receiving unit receives a connection request signal even when the mobile terminal is in a sleep state, the acquiring unit does not acquire information detected by the status sensor before the receiving unit receives the connection request signal, and acquires information detected by the status sensor after the receiving unit receives the connection request signal, the determining unit determines whether the detection period for detecting information by the status sensor is longer than the determinable period after the receiving unit receives the connection request signal, and the control unit changes the detection period to be shorter than the determinable period if the detection period is longer than the determinable period.

[0007] The authentication method disclosed herein is also applicable to a device capable of short-distance wireless communication. It is a smartphone The authentication control includes connection authentication for establishing a communication connection and operation authentication for operating the authentication target device, using a mobile terminal (50) and a communication device (35) that receives a signal transmitted from the mobile terminal to an authentication target device that is a target for determining whether or not to permit operation by a user who possesses the mobile terminal. Between the mobile terminal and the authentication target deviceThe authentication method includes an acquisition step (S105, S134, S205, S234) of acquiring information received by a receiving unit (51r) provided in the portable terminal and information detected by a status sensor (53) for detecting the status of the portable terminal, a judgment step (S120, S220) of making a status judgment of judging the status of the portable terminal based on the information acquired in the acquisition step, and an execution step (S171, S172, S271, S272) of transmitting a connection response signal from a transmitting unit (51s) provided in the portable terminal if the status of the portable terminal satisfies the permission condition, and not transmitting the connection response signal from the transmitting unit if the status of the portable terminal does not satisfy the permission condition, and in the judgment step, the status judgment is not made before the receiving unit receives the connection request signal, and is made after the receiving unit receives the connection request signal. The receiving unit receives a connection request signal even when the mobile terminal is in a sleep state, the acquisition step does not acquire information detected by the status sensor before the receiving unit receives the connection request signal, and acquires information detected by the status sensor after the receiving unit receives the connection request signal, and the determination step determines whether or not a detection period for detecting information by the status sensor is longer than a determinable period after the receiving unit receives the connection request signal, and if the detection period is longer than the determinable period, changes the detection period to be equal to or shorter than the determinable period.

[0008] The authentication program disclosed herein is an authentication program for performing authentication control, including connection authentication for establishing a communication connection and operation authentication for operating the authentication target device, between the mobile terminal (50), which is a smartphone capable of short-range wireless communication, and a communication device (35) for receiving a signal transmitted from the mobile terminal to an authentication target device that is a target for determining whether or not to permit operation by a user who possesses the mobile terminal, between the mobile terminal and the authentication target device, and for transmitting information received by a receiving unit (51r) provided in the mobile terminal and a state of the mobile terminal. an acquisition process (S105, S134, S205, S234) for acquiring information detected by a status sensor (53) for detecting the presence of the portable terminal; a determination process (S120, S220) for determining a status of the portable terminal based on the information acquired in the acquisition process; and an execution process (S171, S172, S271, S272) for causing a transmission unit (51s) provided in the portable terminal to transmit a connection response signal when the status of the portable terminal satisfies the permission condition, and for not causing the transmission unit to transmit the connection response signal when the status of the portable terminal does not satisfy the permission condition. and causing a control unit (70) of the mobile terminal to execute the above. In the determination process, the state determination is not performed before the receiving unit receives the connection request signal, but is performed after the receiving unit receives the connection request signal. The receiving unit receives a connection request signal even when the mobile terminal is in a sleep state, the acquisition process does not acquire information detected by the status sensor before the receiving unit receives the connection request signal, and acquires information detected by the status sensor after the receiving unit receives the connection request signal, and the judgment process judges whether the detection period for detecting information by the status sensor is longer than the determinable period after the receiving unit receives the connection request signal, and if the detection period is longer than the determinable period, changes the detection period to be shorter than the determinable period.

[0009] According to the disclosed authentication system, the state determination is not performed before the receiving unit receives a connection request signal, but is performed after the receiving unit receives the connection request signal. This makes it possible to prevent the receiving unit from performing a state determination before receiving a connection request signal. Therefore, compared to a case where the state determination of the mobile terminal is performed before receiving a connection request signal, the number of state determinations can be reduced, and power consumption in authentication control including state determination can be reduced. Thus, an authentication system capable of reducing power consumption related to authentication control can be provided.

[0010] The various aspects disclosed in this specification adopt different technical means to achieve their respective objectives. The claims and the parenthetical symbols described in this section are merely illustrative of the corresponding relationship with the embodiments described below, and are not intended to limit the technical scope. The objectives, features, and effects disclosed in this specification will become clearer with reference to the following detailed description and the accompanying drawings. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram showing a configuration of an authentication system. [Diagram 2] FIG. 2 is a block diagram of a mobile terminal relating to authentication control. [Diagram 3] FIG. 2 is a block diagram of a vehicle-side unit related to authentication control. [Figure 4] FIG. 2 is a top view showing the arrangement of BLE communication devices provided in a vehicle. [Diagram 5]13 is a flowchart relating to authentication control. [Figure 6] 6 is a flowchart relating to the process of step S120 in FIG. 5. [Figure 7] 13 is a flowchart relating to authentication control in the second embodiment. [Figure 8] 8 is a flowchart relating to the process of step S220 in FIG. 7. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] A number of embodiments will be described with reference to the drawings. In a number of embodiments, functionally and / or structurally corresponding and / or associated parts may be given the same reference numerals or reference numerals with different digits in the hundredths or more. For corresponding and / or associated parts, reference may be made to the description of other embodiments.

[0013] First embodiment The authentication system 1 is a system that performs authentication on an authentication target device that is an object that needs to be authenticated. The authentication target device can be a mobile object such as a vehicle 11 described below, or a device installed in a facility or equipment that does not move such as a home or an office. The following describes an authentication system 1 for vehicles in which the authentication system 1 is applied to a vehicle 11.

[0014] By using the authentication system 1, the authentication of the authentication target device is appropriately permitted, so that the user can perform various operations of the vehicle 11 having the authentication target device. Here, authentication includes connection authentication and operation authentication. The connection authentication is authentication for establishing a communication connection. The operation authentication is authentication for executing an operation of the authentication target device. When the connection authentication is permitted and the operation authentication is permitted in a state in which the connection is established, the authentication target device can be operated by a user who possesses the mobile terminal 50, which is a device connected to the authentication target device. For example, if the authentication target device is a device that controls locking and unlocking, the vehicle 11 that is locked can be unlocked by the user performing an unlocking operation after the operation authentication is permitted. On the other hand, if the connection authentication or the operation authentication is not completed, the unlocking operation is not accepted, and the vehicle 11 is maintained in a locked state. The unlocking operation by the user is configured to be executable by either the operation of the mobile terminal 50 or the operation of a button provided on the vehicle 11.

[0015] Typically, various buttons such as a button for operating locking and unlocking are provided on the vehicle 11 having the authentication target device. When authentication by a legitimate user is permitted, the user can control locking and unlocking of the vehicle 11 by operating a button provided on the vehicle 11. This improves user convenience regarding operations such as locking and unlocking. However, if authentication is permitted by a fraudulent act by a third party such as a relay attack, the third party can execute various controls of the vehicle 11 by operating a button provided on the vehicle 11. Therefore, it is necessary to prevent authentication from being fraudulently permitted in the vehicle 11 against the intention of the legitimate user.

[0016] In FIG. 1, the authentication system 1 includes a vehicle 11 and a mobile terminal 50. The mobile terminal 50 is an information processing terminal such as a smartphone. The smartphone is also called a multi-function mobile phone. The smartphone is a terminal capable of simultaneously establishing a communication connection with a plurality of devices through short-range wireless communication. In addition, the smartphone is assumed to have a plurality of applications other than the authentication application described later. For this reason, it can be said that the smartphone is a terminal that is highly likely to be in a state of waiting to receive radio waves around the smartphone for the purpose of wireless communication with each of various devices. The mobile terminal 50 is carried by a user. In the following, an example in which the mobile terminal 50 is a smartphone will be described. However, the mobile terminal 50 is not limited to a smartphone as long as it performs connection-type communication. The connection-type communication is a communication method in which a virtual dedicated communication path (i.e., a connection) is established with a communication partner before starting wireless communication, and information is transmitted and received through the connection. In other words, it is a communication method in which a communication connection is established and wireless communication is performed. In the connection-type communication, a signal for starting a communication connection is exchanged even before the communication connection is established.

[0017] The vehicle 11 is equipped with a vehicle-side unit 3. The vehicle-side unit 3 performs connection authentication and operation authentication by wireless communication with the mobile terminal 50. The vehicle-side unit 3 will be described in detail later. In the authentication system 1, control of the vehicle 11, such as locking and unlocking the vehicle doors and starting the driving source of the vehicle 11, is permitted based on the establishment of operation authentication by code matching. That is, in the authentication system 1, the mobile terminal 50 functions as an electronic key for the vehicle 11. The control of the vehicle 11 permitted when operation authentication is established is not limited to the above example. Control of the vehicle 11 permitted when operation authentication is established may be control of the air conditioner by instructions from the mobile terminal 50, transmission of vehicle information to the mobile terminal 50, etc.

[0018] The mobile terminal 50 will be described with reference to Fig. 2. As shown in Fig. 2, the mobile terminal 50 includes a control unit 70, a communication module 51, a status sensor 53, a timer 54, an information presentation unit 55, and an operation input unit 56. In this embodiment, for convenience, description of the configuration of the mobile terminal 50 other than that related to the communication connection with the vehicle-side unit 3 and authentication for controlling the vehicle 11 is omitted.

[0019] The communication module 51 is a device for establishing a communication connection with the vehicle-side unit 3 and performing short-distance wireless communication. The short-distance wireless communication referred to here is, for example, communication conforming to a predetermined short-distance wireless communication standard with a communication range of at most several tens of meters. As such a short-distance wireless communication standard, Bluetooth (registered trademark) Low Energy (hereinafter, BLE) or Near Field Communication (hereinafter, NFC) can be adopted. Note that NFC has a particularly short communication distance among short-distance wireless communication. The communication distance of NFC is at most several tens of centimeters. Communication with a communication distance of less than 1 meter such as NFC can be distinguished from short-distance wireless communication with a distance of 1 meter or more such as BLE and can be called near-field communication. BLE is a communication mode with low power consumption by suppressing the communication speed low. In this embodiment, a case where communication conforming to BLE is performed as short-distance wireless communication will be described as an example. BLE uses radio waves in the 2.4 GHz band. The 2.4 GHz band is radio waves from 2400 MHz to 2500 MHz.

[0020] The communication module 51 includes a receiver 51r capable of receiving a short-distance wireless signal, and a transmitter 51s capable of transmitting a short-distance wireless signal. The receiver 51r and the transmitter 51s each include an antenna for communication.

[0021] The status sensor 53 is a sensor for detecting the status of the mobile terminal 50. The status sensor 53 is a sensor for detecting the movement of the mobile terminal 50 in three dimensions. An acceleration sensor for measuring acceleration or an angular velocity sensor for measuring angular velocity can be adopted as the status sensor 53. However, a sensor other than the above-mentioned sensors may be adopted as the status sensor 53. When an acceleration sensor is adopted as the status sensor 53, the status sensor 53 detects a sensor value corresponding to the acceleration. Also, when an acceleration sensor is adopted as the status sensor 53, a sensor value corresponding to the acceleration is detected in three directions, the X direction, the Y direction, and the Z direction, which are orthogonal to each other. In the following, a case where the status sensor 53 is an acceleration sensor will be described as an example.

[0022] The status sensor 53 repeats detection at a specific cycle. For example, when the detection cycle is set to 100 milliseconds, acceleration detection is performed every 100 milliseconds. The detection cycle does not have to be constant. For example, when the mobile terminal 50 is in an active state, the detection cycle may be set to 100 milliseconds, and when the mobile terminal 50 is in a sleep state, the detection cycle may be set to 60 seconds. This allows the detection frequency of the status sensor 53 to be reduced in the sleep state compared to the active state, and the power consumed by the status sensor 53 can be reduced.

[0023] The timer 54 is a device for measuring time. The timer 54 can measure, for example, the elapsed time from when a specific control is started to the present.

[0024] The information presentation unit 55 is a device for presenting information to the user. Examples of the information presentation unit 55 include a display device that presents information by display, and an audio output device that presents information by audio.

[0025] The operation input unit 56 is a device for accepting operation input from a user. The operation input unit 56 accepts operation input from a user regarding a request for control of the vehicle 11 (hereinafter, referred to as control request operation input). One example of the control request operation input is an operation input requesting locking / unlocking of the vehicle doors. Another example of the control request operation input is an operation input requesting operation of an air conditioning device of the vehicle 11. Another example of the control request operation input is an operation input requesting transmission of vehicle information such as tire pressure. The operation input unit 56 may be a touch panel integrated with the display device of the information presentation unit 55.

[0026] The control unit 70 is composed of, for example, a processor, a memory, etc. The control unit 70 performs control related to connection authentication for establishing a communication connection between the vehicle-side unit 3 and the communication module 51. In a state in which a communication connection between the vehicle-side unit 3 and the communication module 51 is established, the control unit 70 performs control related to operation authentication for enabling a user who possesses the mobile terminal 50 to operate the authentication target device.

[0027] When the information acquired from the vehicle-side unit 3 is information that should be presented by the information presentation unit 55, the control unit 70 causes the information presentation unit 55 to present the information. For example, when vehicle information transmitted from the vehicle-side unit 3 in response to a request for transmission of vehicle information is acquired, the control unit 70 causes the information presentation unit 55 to present the vehicle information.

[0028] The control unit 70 includes an acquisition unit 71, a calculation unit 72, a determination unit 73, and an execution unit 74. The acquisition unit 71 acquires information related to the vehicle 11 and information related to the mobile terminal 50. The information related to the vehicle 11 acquired by the acquisition unit 71 is information received by the receiving unit 51r, such as a connection request signal before establishment of a communication connection and a request signal after establishment of a communication connection. The information related to the mobile terminal 50 acquired by the acquisition unit 71 is information on a sensor value detected by the status sensor 53, information input to the operation input unit 56, and the like.

[0029] The calculation unit 72 calculates various physical quantities using information detected by the status sensor 53. For example, the calculation unit 72 calculates a composite value of acceleration from the X-direction acceleration, the Y-direction acceleration, and the Z-direction acceleration detected by the status sensor 53. The calculation unit 72 also calculates a smoothed value from a plurality of composite values ​​detected at different timings.

[0030] The determination unit 73 performs a state determination for determining the state of the mobile terminal 50 from the value calculated by the calculation unit 72. The execution unit 74 executes control related to connection authentication based on the determination result of the determination unit 73. Details of the state determination by the determination unit 73 and the control executed by the execution unit 74 will be described later.

[0031] The vehicle-side unit 3 will be described with reference to Fig. 3. The vehicle-side unit 3 includes a communication ECU 30, a vehicle sensor 31, a lock / unlock switch 32, and a start switch 33. The vehicle-side unit 3 includes a BLE communication device 35, a body ECU 36, a power unit ECU 37, a verification ECU 38, and an air conditioner ECU 39. The communication ECU 30, the vehicle sensor 31, the body ECU 36, the power unit ECU 37, the verification ECU 38, and the air conditioner ECU 39 are connected to an in-vehicle LAN.

[0032] The vehicle sensors 31 are a group of sensors for detecting various states of the vehicle. The vehicle sensors 31 include seating sensors for detecting the seating state of each seat of the vehicle, door courtesy switches for detecting the open / closed state of the vehicle doors of the vehicle, etc. The vehicle sensors 31 also include sensors for detecting the running state, operation state, etc. of the vehicle. Such sensors include a vehicle speed sensor for detecting the speed of the vehicle, a shift position sensor for detecting the shift position, etc.

[0033] The lock / unlock switch 32 is a switch for requesting locking / unlocking of vehicle doors such as the driver's door, the passenger's door, and the trunk door. The lock / unlock switch 32 is provided on an outer door handle or the like of the vehicle 11. A touch switch or a mechanical button switch can be used as the lock / unlock switch 32. A signal from the lock / unlock switch 32 is output to the body ECU 36.

[0034] The start switch 33 is a switch for requesting the start of a drive source for driving the vehicle. The start switch 33 is provided in front of the driver's seat. A mechanical button switch can be used as the start switch 33. A signal from the start switch 33 is output to the verification ECU 38.

[0035] The BLE communication device 35 includes a communication module including an IC, an antenna, a communication circuit, etc. The BLE communication device 35 performs wireless communication conforming to BLE according to instructions from the communication ECU 30. The BLE communication device 35 includes an RSSI measurement circuit that measures the received signal strength indicator (hereinafter, RSSI) of the received radio wave.

[0036] After establishing a communication connection with the communication module 51 of the mobile terminal 50, the BLE communication device 35 receives radio waves used for wireless communication by sniffing (i.e., intercepting) the radio waves and measures the RSSI. In addition, before establishing a communication connection with the communication module 51 of the mobile terminal 50, the BLE communication device 35 also receives radio waves transmitted from the communication module 51 of the mobile terminal 50 and measures the RSSI. An example of such radio waves is a connection request signal, which is a radio wave used to transmit a connection request before the communication connection is established.

[0037] The BLE communication device 35 is provided at multiple locations inside and outside the vehicle, for example. The BLE communication device 35 preferably measures the RSSI of the radio waves transmitted from the mobile terminal 50 at each installation location. For example, the BLE communication device 35 is provided on the outer surface of the vehicle door, the roof, bonnet, pillars, etc. of the vehicle 11 so that a predetermined range outside the vehicle cabin becomes a strong electric field area. The BLE communication device 35 is also provided at the boundary between the center console and the instrument panel, the inner surface of the vehicle door, the trunk, etc. so that a predetermined range inside the vehicle cabin becomes a strong electric field area.

[0038] 4, vehicle 11 includes BLE communicators 35a to 35f located from the front to the rear on the left and right sides of vehicle 11 as BLE communicators 35 arranged outside the vehicle cabin. Vehicle 11 also includes BLE communicators 35g to 35j located inside the vehicle cabin as BLE communicators 35 arranged inside the vehicle cabin.

[0039] The BLE communication device 35a is disposed on the outer surface of the right door of the front seat of the vehicle 11. The BLE communication device 35b is disposed on the outer surface of the right door of the rear seat of the vehicle 11. The BLE communication device 35c is disposed near the right corner of the rear end of the vehicle 11. The BLE communication device 35d is disposed on the outer surface of the left door of the front seat of the vehicle 11. The BLE communication device 35e is disposed on the outer surface of the left door of the rear seat of the vehicle 11. The BLE communication device 35f is disposed near the left corner of the rear end of the vehicle 11.

[0040] The BLE communication device 35g is disposed at the boundary between the center console and the instrument panel of the vehicle 11. The BLE communication device 35h is disposed on the inner surface of the right door of the rear seat of the vehicle 11. The BLE communication device 35i is disposed on the floor of the trunk of the vehicle 11. The BLE communication device 35j is disposed on the inner surface of the left door of the rear seat of the vehicle 11.

[0041] The BLE communication device 35 outputs the measured RSSI to the communication ECU 30. The RSSI has distance attenuation characteristics. Therefore, it is possible to calculate the distance between the BLE communication device 35 and the mobile terminal 50 that is the source of the radio waves, using the RSSI measured by the BLE communication device 35. In addition, it is possible to identify the position of the mobile terminal 50 relative to the vehicle from the distance between the BLE communication device 35 and the mobile terminal 50.

[0042] For example, the distance calculated from each of the RSSIs measured by three or more BLE communication devices 35 and the positions of these BLE communication devices 35 in the vehicle are acquired. This makes it possible to identify the position of the mobile terminal 50 with respect to a reference point of the vehicle by the principle of triangulation based on the acquired information.

[0043] In this embodiment, the configuration for identifying the position of the mobile terminal 50 relative to the vehicle using RSSI will be described as an example, but the method for identifying the position of the mobile terminal 50 is not necessarily limited to this. For example, the configuration may be such that the position of the mobile terminal 50 relative to the vehicle is identified using an AoA (Angle of Arrival) method for performing localization using the arrival angle of radio waves. Also, the configuration may be such that the position of the mobile terminal 50 relative to the vehicle is identified using a ToF (Time of Flight) method for performing localization using the flight time of radio waves. In addition, the configuration may be such that the position of the mobile terminal 50 relative to the vehicle is identified using a TDOA (Time Difference of Arrival) method for performing localization using the arrival time difference of radio waves.

[0044] 3, the body ECU 36 is an electronic control device including, for example, a processor, a memory, etc. The body ECU 36 locks and unlocks each vehicle door by outputting a drive signal for controlling the locking and unlocking of each vehicle door to a door lock motor provided in each vehicle door. In addition, a locking / unlocking switch 32 is connected to the body ECU 36, and a signal corresponding to the on / off state of the locking / unlocking switch 32 is input to the body ECU 36.

[0045] The power unit ECU 37 is an electronic control device including, for example, a processor, a memory, etc. The power unit ECU 37 controls a driving source such as an internal combustion engine or a motor generator of the vehicle 11. When the power unit ECU 37 receives a start permission signal for the driving source from the verification ECU 38, it starts the driving source of the host vehicle.

[0046] The matching ECU 38 is an electronic control device including, for example, a processor, a memory, and the like. The matching ECU 38 performs processing related to permission to use the vehicle 11. In other words, the matching ECU 38 performs processing related to connection authentication and operation authentication of the authentication target device. The matching ECU 38 inputs a trigger (hereinafter, a request trigger) for requesting the communication ECU 30 to transmit a connection request signal according to a signal input from the body ECU 36, a vehicle state, and the like. Here, the connection request signal is also called an advertising packet. For example, when the vehicle 11 is parked and after a certain time has elapsed since all the doors of the vehicle 11 are locked, the matching ECU 38 inputs a request trigger to the communication ECU 30 to periodically transmit a connection request signal. The end timing of this periodic transmission of the connection request signal can be, for example, the timing when the vehicle starts traveling.

[0047] The verification ECU 38 also transmits a random number code to the communication ECU 30 to be transmitted to the mobile terminal 50 that has established a communication connection with the vehicle 11. The communication ECU 30 causes the BLE communication device 35 to transmit the random number code to the mobile terminal 50. The verification ECU 38 acquires an encrypted code transmitted from the mobile terminal 50 that has received the random number code, via the BLE communication device 35 and the communication ECU 30. The verification ECU 38 then performs code comparison between the encrypted code acquired from the mobile terminal 50 and the encrypted code obtained by encrypting the random number code transmitted to the mobile terminal 50 with a secret key and an encryption algorithm of a common key cryptosystem. In addition, the verification ECU 38 acquires the position of the mobile terminal 50 with respect to the vehicle identified by the communication ECU 30 (hereinafter, terminal position) from the communication ECU 30. Code comparison provides an example of operation authentication.

[0048] The random number code may be transmitted to the mobile terminal 50 successively while a communication connection between the vehicle 11 and the mobile terminal 50 is established. The random number code may be transmitted to the mobile terminal 50 when a predetermined event is detected. Examples of the predetermined event include when an operation of the lock / unlock switch 32 is detected, when an operation of the start switch 33 is detected, when a communication connection with the vehicle is established, and when the above-mentioned lock / unlock request is received. The verification ECU 38 detects the operation of the lock / unlock switch 32 from the signal of the lock / unlock switch 32. The verification ECU 38 detects the operation of the start switch 33 from the signal of the start switch 33. The verification ECU 38 detects the establishment of a communication connection with the vehicle 11 and the reception of a lock / unlock request by monitoring the communication ECU 30.

[0049] The verification ECU 38 sends a signal to the body ECU 36 to permit each vehicle door to be locked or unlocked when, for example, all of the following four conditions are met. One of the conditions is that the vehicle 11 is parked. One of the conditions is that the vehicle doors are closed. One of the conditions is that the above-mentioned code verification is established. One of the conditions is that the mobile terminal 50 is located outside the vehicle compartment. When these four conditions are met, each vehicle door is permitted to be locked or unlocked. When the vehicle doors are locked, the verification ECU 38 permits the vehicle doors to be unlocked. When the vehicle doors are unlocked, the verification ECU 38 permits the vehicle doors to be locked.

[0050] Even if the code matching is established, the matching ECU 38 does not send a signal permitting locking / unlocking of each vehicle door to the body ECU 36 if the mobile terminal 50 is not located outside the vehicle compartment. In this case, locking / unlocking of each vehicle door is not permitted. Even if the code matching is not established, the matching ECU 38 does not send a signal permitting locking / unlocking of each vehicle door to the body ECU 36. For example, it is possible to determine whether the vehicle is parked based on the detection results detected by the vehicle speed sensor, the shift position sensor, and the like, among the vehicle sensors 31. It is possible to determine whether the vehicle door is closed based on the signal of the door courtesy switch, among the vehicle sensors 31. The location of the mobile terminal 50 can be determined by using the terminal location acquired from the communication ECU 30.

[0051] When the conditions that locking / unlocking of each vehicle door is permitted and that the operation of the lock / unlock switch 32 is detected are satisfied, the body ECU 36 locks / unlocks each vehicle door without receiving the above-mentioned lock / unlock request. This allows the smart entry function to be realized. If locking / unlocking of each vehicle door is permitted when the above-mentioned lock / unlock request is received, the body ECU 36 may be configured to lock / unlock each vehicle door without detecting the operation of the lock / unlock switch 32. This allows the keyless entry function to be realized.

[0052] For example, when detecting the operation of the start switch 33, if the above-mentioned code matching is established and the mobile terminal 50 is located inside the vehicle cabin, the verification ECU 38 sends a start permission signal for the driving source to the power unit ECU 37. This starts the driving source of the vehicle. On the other hand, even if the above-mentioned code matching is established, if the mobile terminal 50 is not located inside the vehicle cabin, the verification ECU 38 does not send a start permission signal for the driving source to the power unit ECU 37. In this case, the driving source of the vehicle is not started. The verification ECU 38 does not send a start permission signal for the driving source to the power unit ECU 37 even if the above-mentioned code matching is not established.

[0053] The air conditioner ECU 39 is an electronic control device including, for example, a processor, a memory, etc. The air conditioner ECU 39 controls an air conditioner that conditions the air inside the vehicle 11. When the air conditioner ECU 39 acquires the above-mentioned air conditioning control request via the communication ECU 30, it operates the air conditioner according to the air conditioning control request. Examples of the operation of the air conditioner according to the air conditioning control request include starting the operation of the air conditioner, adjusting the air conditioning temperature, etc.

[0054] The communication ECU 30 includes, for example, a processor, a memory, an I / O, and a bus connecting these, and executes various processes by executing a control program stored in the memory. The communication ECU 30 is connected to a BLE communication device 35, a collation ECU 38, and an in-vehicle LAN. The communication ECU 30 executes various processes related to the control of communication in the BLE communication device 35. The memory referred to here is a non-transitory tangible storage medium that non-temporarily stores computer-readable programs and data. The non-transitory tangible storage medium is realized by a semiconductor memory, a magnetic disk, or the like.

[0055] The authentication control in the authentication system 1 will be described below, particularly with regard to connection authentication. In Fig. 5, authentication control is started when the user starts an authentication application, which is an application for authenticating the vehicle 11, using the mobile terminal 50. However, even if the authentication application is being executed, if the mobile terminal 50 is set to not permit short-range wireless communication, authentication control is not started.

[0056] When authentication control is started, in step S101, the control unit 70 starts waiting for a connection request signal. More specifically, the mobile terminal 50 is set in a state in which it can receive a connection request signal transmitted from the BLE communication device 35 of the vehicle 11. Here, the mobile terminal 50 waits for the connection request signal in the foreground state and background state of the authentication application. The mobile terminal 50 also waits for the connection request signal in the sleep state of the mobile terminal 50. After starting to wait for the connection request signal, the process proceeds to step S105.

[0057] In step S105, the determination unit 73 determines whether the receiving unit 51r of the mobile terminal 50 detects a connection request signal transmitted from the BLE communication device 35 of the vehicle 11. In other words, the determination unit 73 determines whether the mobile terminal 50 is near the vehicle 11. Here, if the mobile terminal 50 is near the vehicle 11, it can be determined that the user is highly likely to perform an operation such as locking or unlocking the vehicle 11. On the other hand, if the mobile terminal 50 is far from the vehicle 11, it can be determined that the user is lowly likely to perform an operation such as locking or unlocking the vehicle 11. If the receiving unit 51r detects a connection request signal, it is determined that the mobile terminal 50 is near the vehicle 11, and the process proceeds to step S120. On the other hand, if the receiving unit 51r does not detect a connection request signal, it is determined that the mobile terminal 50 is far from the vehicle 11, and the process proceeds to step S172. Step S105 provides an example of an acquisition step and an acquisition process.

[0058] In step S120, the control unit 70 performs a state judgment. Details of the state judgment will be described below. Step S120 provides an example of a judgment step and judgment process. In FIG. 6, when the state judgment is started, in step S125, the judgment unit 73 judges whether or not the detection period of the state sensor 53 is equal to or shorter than the judgeable period. The judgeable period is, for example, 100 milliseconds. If the detection period is equal to or shorter than the judgeable period, the process proceeds to step S133. On the other hand, if the detection period is longer than the judgeable period, the process proceeds to step S126.

[0059] The purpose of executing this step S125 is to determine whether or not the authentication process including the state determination can be completed within the authentication process time after acquiring a number of sensor values ​​equal to or greater than the determinable number, which is the number of pieces of data required for the state determination. The authentication process time is set to a time that does not cause the user to feel uncomfortable until the authentication target device is activated. If the authentication process time is 2 seconds, the state determination takes even less than 2 seconds. In this step S125, it is determined whether or not the number of pieces of data required for the state determination can be detected within the time that can be allocated to the state determination out of the entire authentication process.

[0060] In step S126, the control unit 70 changes the detection cycle to a cycle equal to or shorter than the determination cycle, thereby enabling the status sensor 53 to detect the number of pieces of data required for status determination. After changing the detection cycle, the process proceeds to step S133.

[0061] In step S133, the status sensor 53 detects the sensor value. At this time, the detection period is a short period equal to or shorter than the determination period, so the sensor value is detected in detail. The acceleration sensor, which is the status sensor 53, detects acceleration as the sensor value. After detecting the sensor value, the process proceeds to step S134. The sensor value provides an example of information used to determine the status.

[0062] In step S134, the acquisition unit 71 acquires a sensor value. Specifically, the detection and acquisition of the sensor value are repeated multiple times to acquire multiple sensor values ​​with different detection timings. If the acquired sensor value is obviously an abnormal value, the abnormal value may not be acquired, and only normal values ​​may be acquired as the sensor value. In this case, the number of data pieces of the sensor value detected by the status sensor 53 and the number of data pieces of the sensor value acquired by the acquisition unit 71 may be different. After acquiring the sensor value, the process proceeds to step S136. Step S134 provides an example of an acquisition step and acquisition process.

[0063] In step S136, the judgment unit 73 judges whether the number of data of the acquired sensor values ​​is equal to or greater than the judgment number. The purpose of executing this step S136 is to judge whether the state can be judged with high accuracy based on a sufficient number of sensor values. The judgment number is, for example, 10. The following describes an example in which 10 pieces of data are acquired. If the number of data of the acquired sensor values ​​is equal to or greater than the judgment number, it is judged that appropriate state judgment is possible, and the process proceeds to step S141. On the other hand, if the number of data of the acquired sensor values ​​is less than the judgment number, it is judged that appropriate state judgment is impossible, and the process proceeds to step S153.

[0064] In step S141, the calculation unit 72 calculates the acceleration from the acquired sensor values. More specifically, a composite value of acceleration is calculated from three sensor values, the X-direction sensor value, the Y-direction sensor value, and the Z-direction sensor value, and a value obtained by smoothing the composite value is calculated. When the number of data is 10, a composite value of 10 accelerations acquired at different timings is calculated from the sensor values ​​acquired at 10 different timings. Furthermore, a value obtained by smoothing the 10 composite values ​​is calculated as an average acceleration. For smoothing, a method such as a simple moving average method or an exponential moving average method can be adopted. This average acceleration is set as the acceleration to be used for state judgment. After calculating the acceleration, the process proceeds to step S145.

[0065] In step S145, the determination unit 73 determines whether the calculated acceleration is equal to or greater than the moving acceleration. It is preferable that information on the moving acceleration is set so as to be updatable, for example by being distributed from a server to the mobile terminal 50. If the acceleration is equal to or greater than the moving acceleration, the process proceeds to step S151. On the other hand, if the acceleration is less than the moving acceleration, the process proceeds to step S152.

[0066] In step S151, the determination unit 73 determines that the state of the portable terminal 50 is a moving state. A moving state is a state in which the position of the portable terminal 50 changes over time. The moving state includes a state in which the user holds the portable terminal 50 in his / her hand and is operating it. The moving state includes a state in which the user carrying the portable terminal 50 is moving. After determining that the portable terminal 50 is a moving state, the process proceeds to step S165.

[0067] In step S152, the determination unit 73 determines that the state of the mobile terminal 50 is a stationary state. The stationary state is a state in which the position of the mobile terminal 50 does not change over time. The stationary state includes a state in which the user is not operating the mobile terminal 50. The stationary state includes a state in which the user is not carrying the mobile terminal 50. After determining that the mobile terminal 50 is a stationary state, the process proceeds to step S165.

[0068] In step S153, the determination unit 73 determines that the state of the mobile terminal 50 is an unknown state. The unknown state is a state in which it is not possible to determine whether the position of the mobile terminal 50 has changed over time. The unknown state includes a state in which the sensor value cannot be detected due to a malfunction of the state sensor 53, etc. After determining that the state is an unknown state, the process proceeds to step S165.

[0069] In step S165 of FIG. 5, the judgment unit 73 judges whether the state of the mobile terminal 50 satisfies the permission conditions. The permission conditions are conditions for permitting connection authentication. The permission conditions include at least the state of the mobile terminal 50 being in a moving state. The permission conditions do not include at least the state of the mobile terminal 50 being in a stationary state. The permission conditions may or may not include the state of the mobile terminal 50 being in an unknown state. If the permission conditions are satisfied, the process proceeds to step S171. On the other hand, if the permission conditions are not satisfied, the process proceeds to step S172.

[0070] In step S171, the execution unit 74 permits the connection authentication. More specifically, a connection response signal is generated and transmitted from the transmission unit 51s to the BLE communicator 35 to establish a communication connection. The established communication connection is maintained, and the connection authentication is terminated. After permitting the connection authentication, the process proceeds to step S180. Step S171 provides an example of an execution step and an execution process.

[0071] In step S180, the control unit 70 starts the operation authentication. In the operation authentication, a request signal and a response signal are exchanged. A random number code detected as a request signal is encrypted with a secret key and an encryption algorithm to generate an encrypted code as a response signal. The secret key and the encryption algorithm are the secret key and the encryption algorithm used in the common key cryptosystem. The control unit 70 outputs the generated encrypted code to the communication module 51 as a code for code matching. The communication module 51 transmits the encrypted code output from the control unit 70 to the vehicle-side unit 3. As a result, the communication module 51 transmits the encrypted code to the vehicle-side unit 3 via radio waves in the 2.4 GHz band. The code for code matching may be a code distributed from a server or the like as regular key information of the vehicle 11.

[0072] The state in which the operation authentication is permitted is a state in which various controls related to the vehicle 11 can be executed. More specifically, when the control unit 70 receives a control request operation input at the operation input unit 56, the control unit 70 transmits a vehicle control request corresponding to the control request operation input to the vehicle-side unit 3 through the connection. An example of the vehicle control request is a locking / unlocking request corresponding to an operation input requesting locking / unlocking of the vehicle doors. Another example of the vehicle control request is an air conditioning control request corresponding to an operation input requesting operation of the air conditioning device of the vehicle 11. Another example of the vehicle control request is a vehicle information request corresponding to an operation input requesting transmission of vehicle information such as tire pressure. For example, the air conditioning control request is a request to start operation of the air conditioning device of the vehicle 11, set the air conditioning temperature, and the like. In this way, the connection authentication and operation authentication between the vehicle 11 and the mobile terminal 50 are permitted, thereby making it possible to control the vehicle 11 by operating the mobile terminal 50. After the operation authentication, a series of authentication controls is terminated.

[0073] In step S172, the execution unit 74 does not permit connection authentication. More specifically, the transmission unit 51s does not transmit a connection response signal toward the BLE communication device 35. Since the mobile terminal 50 does not return a connection response signal in response to the connection request signal transmitted from the BLE communication device 35, a communication connection is not established and a state in which connection authentication is not permitted is maintained. Since connection authentication is not permitted, it is not possible to proceed to operation authentication. With connection authentication not permitted, a series of authentication controls are terminated. As a result, even if a third party operates the lock / unlock switch 32, a state in which control for switching between lock and unlock is not executed is maintained. Step S172 provides an example of an execution step and an execution process.

[0074] According to the embodiment described above, the determination unit 73 does not perform a state determination before the receiving unit 51r receives a connection request signal, but performs a state determination after the receiving unit 51r receives a connection request signal. Therefore, when the receiving unit 51r does not receive a connection request signal, the state determination is not performed. Therefore, it is possible to suppress the state determination from being performed at a timing when it is not necessary to perform the state determination of the mobile terminal 50. Therefore, it is possible to provide an authentication system 1 capable of reducing power consumption related to authentication control.

[0075] The acquisition unit 71 does not acquire information detected by the status sensor 53 before the receiving unit 51r receives a connection request signal, but acquires information detected by the status sensor 53 after the receiving unit 51r receives a connection request signal. Therefore, when the receiving unit 51r does not receive a connection request signal, the sensor value is not acquired. Therefore, it is possible to suppress the acquisition of sensor values ​​and the calculation of acceleration or other processing at a timing when it is not necessary to judge the state of the mobile terminal 50.

[0076] When the detection period for detecting information by the status sensor 53 is longer than the determination period, the control unit 70 changes the detection period to be equal to or shorter than the determination period. This makes it easier to prevent a situation in which the number of sensor value data is small and acceleration cannot be calculated appropriately. In other words, the status can be determined based on sensor values ​​with a large number of data. Here, the more sensor value data there is, the more accurately physical quantities such as acceleration can be calculated, and the more accurately the status of the mobile terminal 50 can be determined. Therefore, by setting the detection period to a short period equal to or shorter than the determination period, it is easier to obtain many sensor values ​​in a short period of time and improve the accuracy of the status determination.

[0077] The control unit 70 sets the permission condition as being that the mobile terminal 50 is in a moving state. Therefore, even if the distance between the mobile terminal 50 and the vehicle 11 is short, if the mobile terminal 50 is in a stationary state, authentication is not permitted. Therefore, it is easy to prevent a third party from permitting authentication in an unauthorized manner. In addition, the moving state includes a state in which the user is moving while carrying the mobile terminal 50 without operating the mobile terminal 50. Therefore, even if the mobile terminal 50 remains in a sleep state, authentication can be completed. Therefore, it is easy to improve the convenience of the authentication system 1.

[0078] The determination unit 73 determines the state as an unknown state when the number of pieces of information used for state determination is less than the determinable number. Therefore, when it is difficult to accurately determine the state, it can determine the state as an unknown state, which is a state that does not belong to either a moving state or a stationary state. Therefore, it is possible to prevent the mobile terminal 50 from being erroneously determined to be a stationary state even though the position of the mobile terminal 50 has changed. It is also possible to prevent the mobile terminal 50 from being erroneously determined to be a moving state even though the position of the mobile terminal 50 has not changed.

[0079] The mobile terminal 50 is a smartphone capable of communicating with a plurality of devices simultaneously through short-distance wireless communication. A smartphone is also a terminal that is assumed to use various applications other than an authentication application. For this reason, the mobile terminal 50 waits for a signal, assuming that it will communicate with each of the various devices using a short-distance wireless signal. Here, the power consumed by the mobile terminal 50 while waiting for a short-distance wireless signal is constant regardless of the type or number of applications. Therefore, the power consumed by the mobile terminal 50 while waiting for a short-distance wireless signal does not change much between when the authentication application is used and when it is not used. Therefore, authentication control using the mobile terminal 50 can be performed while suppressing a significant increase in power consumption.

[0080] The authentication method of the authentication system 1 includes a judgment step in which the state judgment is not performed before the receiving unit 51r receives a connection request signal, and the state judgment is performed after the receiving unit 51r receives the connection request signal. Also, the authentication program of the authentication system 1 includes a judgment process in which the state judgment is not performed before the receiving unit 51r receives a connection request signal, and the state judgment is performed after the receiving unit 51r receives the connection request signal. Therefore, when the receiving unit 51r does not receive a connection request signal, the state judgment is not performed. Therefore, it is possible to suppress the state judgment from being performed at a timing when it is not necessary to perform the state judgment of the mobile terminal 50. Therefore, it is possible to provide an authentication method and an authentication program that can reduce power consumption related to authentication control.

[0081] Before starting authentication control, it is preferable to perform an initial operation check on the mobile terminal 50. In the initial operation check, it is checked whether the mobile terminal 50 can acquire the sensor value of the state sensor 53. More specifically, detection and acquisition of the sensor value are repeated during a predetermined confirmation period, and it is checked whether the sensor value changes over time. The confirmation period is set to a period during which the user of the mobile terminal 50 is expected to hold and operate the mobile terminal 50 at least once. The confirmation period is, for example, 24 hours. If the sensor value changes even a little during the confirmation period, it is determined that the sensor value has been acquired, and the above-mentioned authentication control is performed as necessary. On the other hand, if the sensor value does not change at all during the confirmation period, it is determined that the sensor value cannot be acquired, and the user is notified that the sensor value cannot be acquired. If the sensor value cannot be acquired, the state is always determined to be an unknown state in the state determination. For this reason, if it is confirmed by the initial operation check that the sensor value cannot be acquired, it is preferable to have the user set whether or not to include the unknown state of the mobile terminal 50 in the permission conditions.

[0082] In the state determination, the moving state or the stationary state may be determined based on a physical quantity other than the average acceleration. For example, the state determination may be performed based on the frequency characteristics of the acceleration. The state determination may also be performed based on the average angular velocity. The state determination may also be performed by combining different physical quantities such as the acceleration and the angular velocity.

[0083] In the state determination, the state of the mobile terminal 50 may be determined from a state determination model other than whether the acceleration is equal to or greater than the moving acceleration. As the state determination model, a model that distinguishes between a moving state and a stationary state based on a vibration pattern may be adopted. In this case, a vibration pattern that determines the moving state and a pattern that determines the stationary state are set in advance. An example of a vibration pattern that determines the moving state is a vibration pattern obtained when the mobile terminal 50 is stored in the pocket of the user's clothes and the user is standing still. An example of a vibration pattern that determines the moving state is a vibration pattern obtained when the user is standing still while holding the mobile terminal 50 in his / her hand. An example of a pattern that determines the stationary state is a vibration pattern obtained when the mobile terminal 50 is placed on an acoustic device that generates vibrations such as a speaker. An example of a pattern that determines the stationary state is a vibration pattern obtained when the mobile terminal 50 is placed on a device that generates vibrations when the door is opened or closed such as a microwave oven. A plurality of vibration patterns as described above are provided, and the state of the mobile terminal 50 is determined by determining which vibration pattern the current vibration pattern of the mobile terminal 50 is closest to. In addition, the state determination may be performed using a plurality of state determination models. By using multiple state judgment models, it is easy to improve the accuracy of state judgment.

[0084] Before starting authentication control, it is preferable to execute a process for obtaining an offset that corrects for individual differences in the state sensor 53 of the mobile terminal 50. This makes it easier to improve the accuracy of state determination.

[0085] In the operation authentication starting in step S180, a state determination similar to that in step S120 may be performed. More specifically, state determination is performed in each of the two authentications, connection authentication and operation authentication. Alternatively, state determination may not be performed in connection authentication, but may be performed in operation authentication. In this case, it is possible to configure the system to always determine that the device is in a moving state at the connection authentication stage and proceed to operation authentication.

[0086] Before performing the state determination in step S120, the control unit 70 may stop waiting for a connection request signal transmitted from the vehicle 11. In this case, the control unit 70 can be configured to resume waiting for a connection request signal when the time elapsed from the detection of the connection request signal to the present is equal to or longer than a predetermined standby restart time. This can prevent control that does not permit connection authentication because the permission conditions are not satisfied from being frequently repeated in a short period of time. On the other hand, when the standby for a connection request signal is not stopped and standby for a connection request signal is maintained, the control unit 70 can be configured to perform authentication control with multiple vehicles 11 at the same time.

[0087] Second embodiment This embodiment is a modification of the preceding embodiment as a basic form. In this embodiment, it is determined whether or not batch processing can be performed in the mobile terminal 50, and if batch processing can be performed, the batch processing is performed. In addition, user setting information is acquired, and permission conditions used for authentication control are changed according to the user setting information. In addition, an active time period is set, and the movement acceleration used for state determination is changed between the active time period and time periods other than the active time period.

[0088] The authentication control in the authentication system 1 will be described below, particularly with regard to connection authentication. In Fig. 7, authentication control is started when the user starts an authentication application using the mobile terminal 50. When authentication control is started, the control unit 70 starts waiting for a connection request signal in step S201, and the process proceeds to step S202.

[0089] In step S202, the determination unit 73 determines whether or not batch processing is possible in the mobile terminal 50. Here, batch processing is a processing method in which data to be acquired is stored in a buffer, and multiple pieces of data are acquired from the buffer collectively to process the information. Batch processing is also called batch processing. Whether or not batch processing is possible can be determined by acquiring the buffer size in the mobile terminal 50. In this case, if the buffer size is zero, the model does not support batch processing, and if the buffer size is a value greater than zero, the model supports batch processing. Also, whether or not batch processing is possible may be determined by acquiring model-dependent information of the mobile terminal 50.

[0090] Even if the model supports batch processing, the batch processing may not function normally. For this reason, it is preferable to determine whether the batch processing functions normally. The determination of whether the batch processing functions normally is performed by comparing a sensor value series acquired at all times with a sensor value series acquired by batch processing in the same time period, and determining whether the two sensor value series acquired by different acquisition methods substantially match. If the two sensor value series substantially match, it can be determined that the batch processing functions normally. On the other hand, if the two sensor value series do not substantially match, it is determined that there is a possibility that the batch processing is not functioning normally. The determination of whether the batch processing is possible is preferably performed while the mobile terminal 50 is in sleep mode. In addition, the determination of whether the mobile terminal 50 is a model that supports batch processing may be completed before starting a series of controls. In this case, in step S202, only the determination of whether the batch processing functions normally is performed. If the batch processing is possible, the process proceeds to step S203. On the other hand, if the batch processing is not possible, the process proceeds to step S205.

[0091] In step S203, the state sensor 53 starts detecting the sensor values ​​in order to obtain the collectively processed sensor values ​​in the subsequent process. If the detection period is 100 milliseconds, the sensor value detection is repeated every 100 milliseconds. The periodic detection of the sensor values ​​is maintained, and the process proceeds to step S205.

[0092] In step S205, the determination unit 73 determines whether the receiver 51r of the mobile terminal 50 has detected a connection request signal transmitted from the BLE communicator 35 of the vehicle 11. If the receiver 51r detects a connection request signal, it is determined that the mobile terminal 50 is located near the vehicle 11, and the process proceeds to step S220. On the other hand, if the receiver 51r has not detected a connection request signal, it is determined that the mobile terminal 50 is located far from the vehicle 11, and the process proceeds to step S272. Step S205 provides an example of an acquisition step and an acquisition process.

[0093] In step S220, the control unit 70 performs a state judgment. In FIG. 8, when the state judgment starts, in step S221, the judgment unit 73 judges whether or not the sensor value has been detected. If the sensor value is stored in the buffer, it can be judged that the sensor value has been detected, and if the sensor value is not stored in the buffer, it can be judged that the sensor value has not been detected. If the sensor value has been detected, the process proceeds to step S234. On the other hand, if the sensor value has not been detected, the process proceeds to step S223, where the state sensor 53 starts detecting the sensor value. After detecting the sensor value, the process proceeds to step S234. Step S220 provides an example of a judgment step and judgment process.

[0094] In step S234, the acquisition unit 71 acquires a sensor value. If batch processing is possible, multiple sensor values ​​are acquired at once. For example, 10 sensor values ​​detected at different times are acquired at once. By acquiring multiple sensor values ​​at once, acquisition of the sensor values ​​can be completed in a shorter time than the time required to detect the multiple sensor values. On the other hand, if batch processing is not possible, acquisition of one sensor value every time one sensor value is detected is repeated to acquire multiple sensor values. After acquiring the sensor values, the process proceeds to step S235. Step S234 provides an example of an acquisition step and acquisition process.

[0095] In step S235, the determination unit 73 determines whether the detection elapsed time is less than the determination time. The detection elapsed time is the time elapsed from the time when the sensor value was detected by the status sensor 53 to the current time. If the mobile terminal 50 is in a sleep state and cannot detect the sensor value, an old sensor value detected before entering the sleep state may be acquired. The purpose of executing this step S235 is to determine whether the state can be appropriately determined based on the sensor value that reflects the most recent state of the mobile terminal 50.

[0096] The judgment time can be set to any time. By setting the judgment time to a short time, it becomes easier to prevent a third party from using an illegal method for authentication, and security can be improved. On the other hand, by setting the judgment time to a long time, it becomes easier to allow authentication, and user convenience can be improved. In this way, it is preferable to set the judgment time taking into consideration the two viewpoints of security and convenience. The judgment time is, for example, 2 seconds.

[0097] If the detected elapsed time is less than the determinable time, it is determined that the acquired sensor value is a value that reflects the current state of the mobile terminal 50, and the process proceeds to step S236. On the other hand, if the detected elapsed time is equal to or greater than the determinable time, it is determined that the acquired sensor value is not a value that reflects the current state of the mobile terminal 50, and the process proceeds to step S253.

[0098] In step S236, the determination unit 73 determines whether the number of acquired sensor value data is equal to or greater than the determinable number. If the number of acquired sensor value data is equal to or greater than the determinable number, it is determined that appropriate state determination is possible, and the process proceeds to step S241. On the other hand, if the number of acquired sensor value data is less than the determinable number, it is determined that appropriate state determination is impossible, and the process proceeds to step S253.

[0099] In step S241, the calculation unit 72 calculates an average acceleration, which is a value obtained by smoothing the acceleration from the sensor value. The calculated average acceleration is set as the acceleration to be used for state determination. After the acceleration is calculated, the process proceeds to step S242.

[0100] In step S242, the acquisition unit 71 acquires the current time. The current time can be acquired using the timer 54. However, the current time may also be acquired through communication with an external device. After acquiring the current time, the process proceeds to step S243.

[0101] In step S243, the control unit 70 changes the movement acceleration according to the current time. More specifically, the control unit 70 determines whether the current time is included in the activity time period and changes the movement acceleration. Here, the activity time period is a time period during which the user is likely to perform an activity involving the movement of the mobile terminal 50. The activity time period can be calculated by collecting the usage status of the mobile terminal 50 in a server and performing statistical processing. However, the method of setting the activity time period is not limited to statistical processing. For example, the user may set the activity time period by operating the mobile terminal 50 himself.

[0102] If the current time is included in the active time zone, the movement acceleration is set to a small value, and if the current time is not included in the active time zone, the movement acceleration is set to a large value. In other words, if the current time is included in the active time zone, the movement acceleration is changed so that the state of the mobile terminal 50 is easily determined to be in a moving state. On the other hand, if the current time is not included in the active time zone, the movement acceleration is changed so that the state of the mobile terminal 50 is easily determined to be in a stationary state. Instead of setting the active time zone, an inactive time zone may be set, which is a time zone in which the user is unlikely to perform an activity involving the movement of the mobile terminal 50. In this case, by changing the movement acceleration in the inactive time zone, the movement acceleration in the active time zone can be substantially changed. The inactive time zone includes the user's sleeping time zone, etc. After changing the movement acceleration, the process proceeds to step S245.

[0103] In step S245, the determination unit 73 determines whether the calculated acceleration is equal to or greater than the travel acceleration. If the calculated acceleration is equal to or greater than the travel acceleration, the process proceeds to step S251. On the other hand, if the calculated acceleration is less than the travel acceleration, the process proceeds to step S246.

[0104] In step S246, the determination unit 73 determines whether the calculated acceleration is less than the stationary acceleration. The stationary acceleration is set to a value smaller than the moving acceleration. If the acceleration is less than the stationary acceleration, the process proceeds to step S252. On the other hand, if the acceleration is equal to or greater than the stationary acceleration, the process proceeds to step S253. In other words, if the calculated acceleration is a value between the moving acceleration and the stationary acceleration, the state is not determined to be a moving state or a stationary state, but is determined to be an unknown state.

[0105] In step S251, the judgment unit 73 judges that the state of the portable terminal 50 is a moving state. After judging that it is a moving state, the process proceeds to step S261. In step S252, the judgment unit 73 judges that the state of the portable terminal 50 is a stationary state. After judging that it is a stationary state, the process proceeds to step S261. In step S253, the judgment unit 73 judges that the state of the portable terminal 50 is an unknown state. After judging that it is an unknown state, the process proceeds to step S261.

[0106] In step S261 of Fig. 7, the acquisition unit 71 acquires a setting mode. The setting modes include a safety priority mode in which safety is prioritized over convenience, and a convenience priority mode in which convenience is prioritized over safety. The setting mode can be set by the user operating the operation input unit 56. After acquiring the setting mode, the process proceeds to step S262.

[0107] In step S262, the execution unit 74 changes the permission conditions according to the setting mode. More specifically, in the safety priority mode, the permission conditions do not include an unknown state, and in the convenience priority mode, the permission conditions include an unknown state. As a result, in the safety priority mode, authentication is less likely to be permitted than in the convenience priority mode, making it easier to improve security. In other words, in the convenience priority mode, authentication is more likely to be permitted than in the safety priority mode, making it easier to improve convenience. After changing the permission conditions, proceed to step S265.

[0108] In step S265, the determination unit 73 determines whether or not the state of the mobile terminal 50 satisfies the permission conditions. If the permission conditions are satisfied, the process proceeds to step S271. On the other hand, if the permission conditions are not satisfied, the process proceeds to step S272.

[0109] In step S271, the execution unit 74 permits the connection authentication. More specifically, the execution unit 74 generates a connection response signal and transmits the connection response signal from the transmission unit 51s to the BLE communication device 35 to permit the connection authentication. After permitting the connection authentication, the process proceeds to step S280. Step S271 provides an example of an execution step and an execution process.

[0110] In step S280, the control unit 70 starts the operation authentication. When the operation authentication is permitted, a state is maintained in which the user can transmit various vehicle control requests and control the vehicle 11 by operating the mobile terminal 50. After the operation authentication, a series of authentication controls is terminated.

[0111] In step S272, the execution unit 74 does not permit connection authentication. More specifically, the execution unit 74 does not generate a connection response signal, and does not transmit the connection response signal from the transmission unit 51s to the BLE communication device 35. The state in which connection authentication is not permitted is maintained by not returning a connection response signal from the mobile terminal 50 in response to the connection request signal transmitted from the BLE communication device 35. Since connection authentication is not permitted, it is not possible to proceed to operation authentication, and this is a state in which operation authentication is not permitted. With connection authentication not permitted, the authentication control is terminated. As a result, even if various vehicle control requests are transmitted, a state in which the vehicle 11 cannot be controlled is maintained. Step S272 provides an example of an execution step and an execution process.

[0112] According to the above-described embodiment, the determination unit 73 determines the state to be unknown when the detection elapsed time, which is the elapsed time from the detection time when the information used for state determination is detected to the current time, is equal to or longer than the determinable time. Also, the determination unit 73 determines the state to be unknown when the number of pieces of information used for state determination is less than the determinable number. Therefore, when accurate state determination is difficult, it is possible to determine the state to be unknown. Therefore, it is possible to prevent the mobile terminal 50 from being erroneously determined to be in a stationary state even when the position of the mobile terminal 50 has changed. Also, it is possible to prevent the mobile terminal 50 from being erroneously determined to be in a moving state even when the position of the mobile terminal 50 has not changed.

[0113] When the control unit 70 is set to the safety priority mode, the control unit 70 does not include the unknown state in the permission conditions, and when the control unit 70 is set to the convenience priority mode, the control unit 70 includes the unknown state in the permission conditions. Therefore, whether or not to permit authentication in an unknown state can be adjusted according to the user's preference. Therefore, the usability of the authentication system 1 can be adjusted according to the user's preference.

[0114] The movement acceleration when the current time is included in the active time zone is smaller than the movement acceleration when the current time is not included in the active time zone. In other words, the judgment unit 73 is more likely to judge that the current time is in the moving state when the current time is included in the active time zone, compared to when the current time is not included in the active time zone. This makes it easier to improve the accuracy of the state judgment. In particular, it is easier to prevent a situation in which the state sensor 53 detects a minute vibration in a zone other than the active time zone, and allows authentication against the user's intention.

[0115] When the mobile terminal 50 is capable of batch processing in which multiple pieces of information are processed collectively, the acquisition unit 71 acquires multiple pieces of information detected by the status sensor 53 collectively. This makes it possible to acquire the necessary number of sensor values ​​in a short time. This makes it possible to shorten the time required from detecting a connection request signal to permitting or denying connection authentication. This makes it easy to provide an authentication system 1 with a short response time.

[0116] Other embodiments The disclosure in this specification and drawings, etc. is not limited to the exemplified embodiments. The disclosure includes the exemplified embodiments and modifications by those skilled in the art based thereon. For example, the disclosure is not limited to the combination of parts and / or elements shown in the embodiments. The disclosure can be implemented by various combinations. The disclosure can have additional parts that can be added to the embodiments. The disclosure includes the omission of parts and / or elements of the embodiments. The disclosure includes the substitution or combination of parts and / or elements between one embodiment and another embodiment. The disclosed technical scope is not limited to the description of the embodiments. Some disclosed technical scopes are indicated by the description of the claims, and should be interpreted as including all modifications within the meaning and scope equivalent to the description of the claims.

[0117] The disclosure in the specification and drawings is not limited by the claims. The disclosure in the specification and drawings includes the technical ideas described in the claims, and extends to more diverse and broader technical ideas than the technical ideas described in the claims. Therefore, various technical ideas can be extracted from the disclosure in the specification and drawings without being bound by the claims.

[0118] The control unit and the method described in the present disclosure may be implemented by a special-purpose computer having a processor programmed to execute one or more functions embodied in a computer program. Alternatively, the device and the method described in the present disclosure may be implemented by a special-purpose hardware logic circuit. Alternatively, the device and the method described in the present disclosure may be implemented by one or more special-purpose computers configured by a combination of a processor that executes a computer program and one or more hardware logic circuits. Also, the computer program may be stored in a computer-readable non-transitory tangible recording medium as instructions executed by the computer. [Explanation of symbols]

[0119] 1 authentication system, 3 vehicle side unit, 11 vehicle, 31 vehicle sensor, 32 lock / unlock switch, 33 start switch, 35 BLE communication device (communication device), 36 body ECU, 37 power unit ECU, 38 verification ECU, 39 air conditioner ECU, 50 mobile terminal, 51 communication module, 51r receiving unit, 51s transmitting unit, 53 status sensor, 54 timer, 55 information presentation unit, 56 operation input unit, 70 control unit, 71 acquisition unit, 72 calculation unit, 73 judgment unit, 74 execution unit

Claims

1. An authentication system for performing authentication control between a mobile terminal (50) and an authentication target device, the authentication control including connection authentication for establishing a communication connection and operation authentication for operating an authentication target device that is a target for determining whether or not to permit an operation by a user who possesses the mobile terminal (50), comprising: The mobile terminal includes: The mobile terminal includes: It is a smartphone capable of short-range wireless communication, A status sensor (53) for detecting a status of the mobile terminal; A receiving unit (51r) for receiving a connection request signal which is a signal requesting a communication connection; a transmission unit (51s) for transmitting a connection response signal which is a signal transmitted in response to the connection request signal; A control unit (70) that controls the short-range wireless communication, The control unit is an acquisition unit (71) that acquires information received by the receiving unit and information detected by the status sensor; a state determination unit (73) for determining a state of the mobile terminal based on the information acquired by the acquisition unit; an execution unit (74) that transmits the connection response signal from the transmission unit when the state of the portable terminal satisfies the permission condition, and does not transmit the connection response signal from the transmission unit when the state of the portable terminal does not satisfy the permission condition, the determination unit does not perform the state determination before the receiving unit receives the connection request signal, and performs the state determination after the receiving unit receives the connection request signal; The receiving unit receives the connection request signal even when the mobile terminal is in a sleep state, the acquisition unit does not acquire information detected by the status sensor before the receiving unit receives the connection request signal, and acquires information detected by the status sensor after the receiving unit receives the connection request signal, The determination unit determines whether a detection period for detecting information by the status sensor is longer than a determinable period after the receiving unit receives the connection request signal, When the detection period is longer than the determinable period, the control unit changes the detection period to be equal to or shorter than the determinable period.

2. The determination unit determines that the mobile terminal is in a moving state when the mobile terminal is in a moving state, and determines that the mobile terminal is in a stationary state when the mobile terminal is in a stationary state; The authentication system according to claim 1 , wherein the execution unit sets the permission condition as being that the mobile terminal is in the moving state.

3. The authentication system according to claim 2, wherein the judgment unit judges the state to be unknown when a detection elapsed time, which is the elapsed time from the detection time at which the information used for the state judgment is detected to the current time, is equal to or longer than a determinable time, or when the number of data points of the information used for the state judgment is less than a determinable number.

4. The mobile terminal includes an operation input unit (56) capable of inputting a setting mode to be set by the user, The authentication system of claim 3, wherein the execution unit does not include the unknown state in the permission conditions when the setting mode is set to a mode that prioritizes security over convenience, and includes the unknown state in the permission conditions when the setting mode is set to a mode that prioritizes convenience over security.

5. A timer (54) for measuring the current time, The control unit sets an activity time period that is a time period during which the user is likely to perform an activity involving movement of the mobile terminal; The authentication system according to any one of claims 2 to 4, wherein the determination unit is more likely to determine that the user is in the moving state when the current time is included in the activity time period than when the current time is not included in the activity time period.

6. The authentication system according to claim 1 , wherein the acquisition unit acquires the plurality of pieces of information detected by the status sensor collectively when the mobile terminal is capable of batch processing for collectively processing the plurality of pieces of information.

7. An authentication system described in any one of claims 1 to 6, wherein the mobile terminal is a smartphone capable of communicating and connecting to multiple devices simultaneously via short-range wireless communication.

8. An authentication method for performing authentication control, including connection authentication for establishing a communication connection and operation authentication for operating the authentication target device, between a mobile terminal (50) that is a smartphone capable of short-range wireless communication and a communication device (35) that receives a signal transmitted from the mobile terminal to an authentication target device that is a target for determining whether or not to permit operation by a user who possesses the mobile terminal, between the mobile terminal and the authentication target device, the authentication method comprising: an acquisition step (S105, S134, S205, S234) of acquiring information received by a receiving unit (51r) provided in the portable terminal and information detected by a status sensor (53) for detecting a status of the portable terminal; a determination step (S120, S220) of determining a state of the mobile terminal based on the information acquired in the acquisition step; and an execution step (S171, S172, S271, S272) of transmitting a connection response signal from a transmission unit (51s) provided in the portable terminal when the state of the portable terminal satisfies a permission condition, and not transmitting the connection response signal from the transmission unit when the state of the portable terminal does not satisfy the permission condition, In the determination step, the state determination is not performed before the receiving unit receives a connection request signal, and the state determination is performed after the receiving unit receives the connection request signal; The receiving unit receives the connection request signal even when the mobile terminal is in a sleep state, the acquiring step does not acquire information detected by the status sensor before the receiving unit receives the connection request signal, and acquires information detected by the status sensor after the receiving unit receives the connection request signal, The determination step determines whether or not a detection period for detecting information by the status sensor is longer than a determinable period after the receiving unit receives the connection request signal, When the detection period is longer than the determinable period, the detection period is changed to be equal to or shorter than the determinable period.

9. An authentication program for performing authentication control, including connection authentication for establishing a communication connection and operation authentication for operating the authentication target device, between a mobile terminal (50) that is a smartphone capable of short-range wireless communication and a communication device (35) that receives a signal transmitted from the mobile terminal to an authentication target device that is a target for determining whether or not to permit operation by a user who possesses the mobile terminal, between the mobile terminal and the authentication target device, the authentication program comprising: an acquisition process (S105, S134, S205, S234) for acquiring information received by a receiving unit (51r) provided in the mobile terminal and information detected by a status sensor (53) for detecting a status of the mobile terminal; A determination process (S120, S220) for determining a state of the mobile terminal based on the information acquired in the acquisition process; When the state of the portable terminal satisfies a permission condition, the control unit (70) of the portable terminal executes an execution process (S171, S172, S271, S272) of causing a transmission unit (51s) provided in the portable terminal to transmit a connection response signal, and when the state of the portable terminal does not satisfy the permission condition, causing the control unit (70) of the portable terminal to execute an execution process (S171, S172, S271, S272) of not causing the transmission unit to transmit the connection response signal, In the determination process, the state determination is not performed before the receiving unit receives a connection request signal, and the state determination is performed after the receiving unit receives the connection request signal; The receiving unit receives the connection request signal even when the mobile terminal is in a sleep state, the acquisition process does not acquire information detected by the status sensor before the receiving unit receives the connection request signal, and acquires information detected by the status sensor after the receiving unit receives the connection request signal, The determination process includes determining whether or not a detection period for detecting information by the status sensor is longer than a determinable period after the receiving unit receives the connection request signal, an authentication program for changing the detection period to be equal to or shorter than the determinable period when the detection period is longer than the determinable period;

Citation Information

Patent Citations

  • Mobile communication terminal

    JP2005192206A

  • State control system, and state control method

    JP2013217142A

  • Vehicle control system, vehicle controller and mobile communication terminal

    JP2015026988A

  • On-vehicle communication system

    JP2015093556A