CPC H04W 12/50 (2021.01) [B60R 25/248 (2013.01); H04W 12/06 (2013.01); H04W 76/10 (2018.02); B60R 2325/101 (2013.01); B60R 2325/202 (2013.01); B60R 2325/205 (2013.01)] | 9 Claims |
1. A method for securely connecting a vehicle and a Bluetooth key, comprises:
receiving, by the vehicle Bluetooth module, an authentication request from the Bluetooth key, wherein the authentication manner of the authentication request is a simple authentication or an common authentication when a vehicle Bluetooth module successfully establishes a Bluetooth communication connection with a mobile terminal installed with a Bluetooth key;
performing, by the vehicle Bluetooth module, security authentication on the Bluetooth key according to the simple authentication manner, and sending the authentication result to the Bluetooth key when the authentication manner of the authentication request is the simple authentication;
securely connecting, by the vehicle Bluetooth module, with the Bluetooth key when the authentication result is authentication passed;
performing, by the vehicle Bluetooth module, security authentication with the Bluetooth key according to the common authentication manner when the authentication result indicates that authentication fails, or the authentication manner of the authentication request is common authentication;
wherein performing, by the vehicle Bluetooth module, security authentication on the Bluetooth key according to the simple authentication manner, comprises:
determining, by the vehicle Bluetooth module, whether there is a key whitelist;
obtaining, by the vehicle Bluetooth module, the device information of the currently connected mobile terminal if there is a key whitelist, and determining whether there is a digital key matching the device information in the key whitelist;
verifying, by the vehicle Bluetooth module, the digital key according to a preset verification rule if there is a digital key matching the device information in the key whitelist, and determining whether the security authentication is passed according to the verification result;
wherein performing, by the vehicle Bluetooth module, security authentication with the Bluetooth key according to the common authentication manner, further comprises:
generating, by the vehicle Bluetooth module, a key whitelist, and storing the digital key in the key whitelist when the vehicle Bluetooth module and the Bluetooth key are successfully authenticated according to the common authentication manner, and if there is no key whitelist;
or, storing, by the vehicle Bluetooth module, the digital key in the key whitelist if there is a key whitelist and there is no digital key matching the device information in the key whitelist;
or, replacing, by the vehicle Bluetooth module, the digital key matching the device information in the key whitelist with the generated digital key if there is a key whitelist and there is a digital key matching the device information in the key whitelist.
|