CN113781678A - Vehicle Bluetooth key generation and authentication method and system under network-free environment - Google Patents
Vehicle Bluetooth key generation and authentication method and system under network-free environment Download PDFInfo
- Publication number
- CN113781678A CN113781678A CN202111019337.3A CN202111019337A CN113781678A CN 113781678 A CN113781678 A CN 113781678A CN 202111019337 A CN202111019337 A CN 202111019337A CN 113781678 A CN113781678 A CN 113781678A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- key
- random number
- mobile terminal
- bluetooth key
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a vehicle Bluetooth key generation and authentication method, a system, computer equipment and a storage medium under a network-free environment, which are applied to a mobile terminal, a cloud terminal and a vehicle-mounted terminal; the vehicle Bluetooth key generation and authentication method under the wireless environment comprises the following steps: the mobile terminal initiates a vehicle Bluetooth key acquisition request to the cloud terminal; the cloud end generates key identification information after receiving a vehicle Bluetooth key acquisition request, and generates a user Bluetooth key by using the key identification information and a preset root key; sending the user Bluetooth key and the key identification information to the mobile terminal; the mobile terminal sends the first random number generated randomly and the received key identification information to the vehicle-mounted terminal; and the vehicle-mounted terminal generates a user Bluetooth key according to the key identification information and the preset root key. The technical scheme of the invention can generate the vehicle Bluetooth key and authenticate the vehicle Bluetooth key under the vehicle-end network-free environment, and meanwhile, the vehicle-end Bluetooth key information is ensured not to be leaked, thereby increasing the safety.
Description
Technical Field
The invention relates to the technical field of vehicle Bluetooth keys, in particular to a vehicle Bluetooth key generation and authentication method and system in a network-free environment.
Background
With the rapid development of the internet of vehicles technology, many vehicles sold at home and abroad are already provided with the vehicle Bluetooth key technology. Through the bluetooth key, the user can realize the trip and do not take traditional vehicle key, only need carry the cell-phone can realize separating, shutting and vehicle start to the vehicle.
At present, most of methods and systems for generating and issuing vehicle bluetooth keys need a vehicle end to communicate with a background server in a networking environment. This approach has the following problems: firstly, a low-level vehicle model without networking capability or a Bluetooth key cannot be generated when the vehicle is in a network-free environment or in a network stop state (such as no continuous fee of a mobile data flow package), and the like; and secondly, the vehicle end self needs to store the user Bluetooth key for a long time, and compares the user Bluetooth key with the user Bluetooth key in the user mobile phone APP during authentication, so that the vehicle end Bluetooth key information has the leakage risk.
Disclosure of Invention
The embodiment of the invention provides a vehicle Bluetooth key generation and authentication method, a system, computer equipment and a storage medium in a network-free environment, which can generate and authenticate a vehicle Bluetooth key in a vehicle-end network-free environment, and meanwhile, ensure that vehicle-end Bluetooth key information is not leaked, and improve the safety.
A vehicle Bluetooth key generation and authentication method in a wireless environment is characterized by being applied to a mobile terminal, a cloud terminal and a vehicle-mounted terminal; the vehicle Bluetooth key generation and authentication method under the wireless environment comprises the following steps:
the mobile terminal initiates a vehicle Bluetooth key acquisition request to the cloud terminal;
the cloud end generates key identification information after receiving the vehicle Bluetooth key acquisition request, and generates a user Bluetooth key by using the key identification information and a preset root key;
sending the user Bluetooth key and the key identification information to the mobile terminal;
the mobile terminal sends a first random number generated randomly to the vehicle-mounted terminal together with the received key identification information;
and the vehicle-mounted terminal generates the user Bluetooth key according to the key identification information and a preset root key.
A vehicle Bluetooth key generation and authentication system in a wireless environment is characterized by comprising a mobile terminal, a cloud terminal and a vehicle-mounted terminal, wherein the mobile terminal is connected with the cloud terminal through a wireless network; the mobile terminal is connected with the vehicle-mounted end through Bluetooth;
the cloud end is used for generating key identification information after receiving the vehicle Bluetooth key acquisition request, and generating a user Bluetooth key by using the key identification information and a preset root key;
sending the user Bluetooth key and the key identification information to the mobile terminal;
the mobile terminal is used for initiating a vehicle Bluetooth key acquisition request to the cloud end;
sending the first random number generated randomly and the received key identification information to the vehicle-mounted terminal;
and the vehicle-mounted terminal is used for generating the user Bluetooth key according to the key identification information and a preset root key.
A computer device comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the vehicle Bluetooth key generation and authentication method in the wireless environment.
A computer readable storage medium, which stores a computer program, which when executed by a processor, implements the steps of the vehicle bluetooth key generation and authentication method in the wireless environment.
Compared with the prior art, the vehicle Bluetooth key generation and authentication method, the vehicle Bluetooth key generation and authentication system, the computer equipment and the storage medium in the network-free environment have the following characteristics:
1) when a user applies for a user Bluetooth key, only a mobile terminal (a mobile phone APP) is required to interact with the cloud, and a vehicle end is not required to interact with the cloud, so that the application issuing process of the user Bluetooth key is simplified;
2) for low-distribution/low-end vehicle types without networking capability, or under the conditions that the vehicle is in a network-free environment, the vehicle is in a network-stop state and the like, the safe generation and authentication use of the user Bluetooth key can be realized;
3) the local of the vehicle-mounted end does not need to store a user Bluetooth key, and the user Bluetooth key is temporarily generated by the vehicle-mounted end when the mobile terminal is connected with the vehicle-mounted end for authentication each time; the risk that key information is leaked due to the fact that the user Bluetooth key is stored at the vehicle end for a long time is avoided;
4) in the generation stage of the user Bluetooth key, the random number (first random number) generated by the mobile terminal is taken as a factor, so that the security of obtaining the Bluetooth key every time is ensured; in the authentication use stage and the vehicle control stage, the vehicle-mounted end respectively generates a second random number and a third random number, utilizes the first random number and generates a session key, and communicates through the session key and the random numbers, so that man-in-the-middle attack and replay attack can be prevented when the user Bluetooth key is used for identity authentication, and the use safety is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart illustrating a method for generating and authenticating a Bluetooth key of a vehicle in a wireless environment according to an embodiment of the present invention;
fig. 2 is a schematic data processing diagram of a vehicle bluetooth key generation and authentication system in a wireless environment according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment, as shown in fig. 1, a vehicle bluetooth key generation and authentication method in a wireless environment is provided, wherein a mobile terminal is a smart device, a mobile phone APP, or the like used by a user to control a vehicle; the cloud is a background server and is communicated with the mobile terminal through a wireless network; the vehicle-mounted end is an intelligent device with a Bluetooth module on the vehicle; the method specifically comprises the following steps:
s1: the mobile terminal initiates a vehicle Bluetooth key acquisition request to the cloud.
The mobile terminal initiates a vehicle Bluetooth key acquisition request to the cloud terminal through the network.
S2: the cloud generates key identification information after receiving the vehicle Bluetooth key acquisition request, and generates a user Bluetooth key by using the key identification information and a preset root key.
The preset root key K1 is a preset public key and is stored in the cloud; and after receiving the vehicle Bluetooth key acquisition request, the cloud randomly generates key identification information KeyID uniquely corresponding to the vehicle. The cloud encrypts the KeyID and the preset root key K1 through an encryption algorithm to obtain the user Bluetooth key K2.
S3: and sending the user Bluetooth key and the key identification information to the mobile terminal.
The cloud sends the KeyID and K2 to the mobile terminal.
S4: and the mobile terminal sends the randomly generated first random number and the received key identification information to the vehicle-mounted terminal.
The mobile terminal randomly generates the first random number R1, R1 as an encryption operation factor, so that the safety of communication between the mobile terminal and the vehicle-mounted terminal can be improved. The mobile terminal sends R1 and KeyID to the vehicle-mounted terminal.
S5: and the vehicle-mounted terminal generates a user Bluetooth key according to the key identification information and the preset root key.
The vehicle-mounted terminal presets a preset root key K1 on a production line, and after receiving the KeyID, the encryption algorithm same as that of the cloud terminal is used, so that the user Bluetooth key K2 can be obtained.
In this embodiment, the vehicle-mounted terminal does not communicate with the cloud terminal, and then the user bluetooth key K2 which is only known by the cloud terminal and the mobile terminal can be generated, so that the application issuing process of the vehicle bluetooth key is simplified, and the vehicle-mounted terminal is particularly suitable for the situation that the vehicle-mounted terminal cannot perform network communication with the cloud terminal.
Further, in an embodiment, after the vehicle-mounted terminal generates the user bluetooth key K2 according to the key identification information KeyID and the preset root key K1, the method further includes the steps of:
s6: and the vehicle-mounted terminal randomly generates a second random number and generates a session key together with the first random number and the user Bluetooth key.
That is, the vehicle-mounted terminal randomly generates the second random number R2, and generates the session key SK using an encryption algorithm with R2 and R1 and K2. The session key is used for communication encryption between the vehicle-mounted terminal and the mobile terminal, so that the security is improved, and man-in-the-middle attack and replay attack are prevented.
Further, in an embodiment, after generating the session key, the method further includes the following steps:
s7: and encrypting the first random number by using the session key on the vehicle-mounted terminal to obtain an authentication ciphertext.
Namely, the vehicle-mounted terminal encrypts R1 by using SK through an encryption algorithm to obtain an authentication ciphertext R11 for authentication.
S8: and sending the authentication ciphertext and the second random number to the mobile terminal.
And the vehicle-mounted terminal sends R11 and R2 to the mobile terminal, so that the mobile terminal can decrypt the authentication ciphertext conveniently.
S9: and generating a session key by using the first random number, the second random number and the user Bluetooth key on the mobile terminal.
The mobile terminal calculates R1, R2 and K2 by using the same method as the method for generating the session key by the vehicle-mounted terminal to obtain the session key SK. Therefore, the mobile terminal and the vehicle-mounted terminal both have the same session key SK, and communication between the mobile terminal and the vehicle-mounted terminal is facilitated.
S10: and decrypting the authentication ciphertext by using the session key to obtain a first random number to be verified.
The mobile terminal uses the SK to perform inverse operation on R11, and a first random number to be verified R1 'and R1' are obtained and used for comparison with R1.
S11: and if the first random number to be verified is equal to the first random number, determining that the identity authentication of the vehicle-mounted terminal and the identity authentication of the mobile terminal are passed.
And the mobile terminal compares the R1 'with the R1, and if the R1' and the R1 are equal, the communication data of the two parties are determined not to be falsified by a third party, and the identity authentication of the two parties of the vehicle-mounted terminal and the mobile terminal passes.
In this embodiment, the mobile terminal and the vehicle-mounted terminal communicate with each other by using the session key, and determine whether the communication between the two parties is secure and whether the data is tampered by a third party by verifying whether the first random number R1' to be verified and the first random number R1 are equal to each other, thereby implementing the authentication.
Further, in an embodiment, after the identity authentication between the vehicle-mounted terminal and the mobile terminal is passed, the method further includes the following steps:
s12: and the mobile terminal sends a pre-notification instruction to the vehicle-mounted terminal and acquires a third random number generated by the vehicle-mounted terminal.
And a pre-notification instruction for the mobile terminal to notify the vehicle-mounted terminal that an actual vehicle control operation is to be performed, and to acquire the third random number R3 generated by the vehicle-mounted terminal.
Correspondingly, on the vehicle-mounted end, the vehicle-mounted end randomly generates a third random number R3 according to the pre-notification instruction, and encrypts the third random number R3 by using the session key SK to obtain an encrypted random number R33; then, the encrypted random number R33 is transmitted to the mobile terminal. That is, in order to secure the third random number R3, it is encrypted with the session key SK and then transmitted to the mobile terminal in the form of a cipher text R33.
S13: and encrypting the vehicle control instruction and the third random number by using the session key to obtain a vehicle control ciphertext, and sending the vehicle control ciphertext to the vehicle-mounted terminal.
The vehicle control command refers to a command for actually operating the vehicle, such as starting an engine. In order to ensure that the vehicle control commands are not tampered, the mobile terminal encrypts the vehicle control commands by using a third random number R3 and sends the vehicle control commands to the vehicle-mounted terminal by using an encrypted vehicle control ciphertext M.
Since the R3 is encrypted to R33 by the vehicle-mounted terminal, the mobile terminal performs inverse operation on the encrypted random number R33 by using the session key SK, and decrypts the encrypted random number to obtain the third random number R3.
S14: and at the vehicle-mounted end, decrypting the vehicle control ciphertext by using the session key to obtain a second random number to be verified and a vehicle control instruction.
And the vehicle-mounted end uses the session key SK to perform inverse operation on the vehicle control ciphertext M to obtain a second random number R3' to be verified and a vehicle control instruction.
S15: and if the second random number to be verified is equal to the third random number, the vehicle-mounted end issues a vehicle control command to the vehicle control actuator.
The vehicle control actuator refers to an electronic and electric control module on a vehicle and is used for igniting and starting the automobile and the like. The vehicle-mounted terminal compares the R3' with a third random number R3 to determine whether the R3 is tampered in the communication process of the vehicle-mounted terminal and the mobile terminal; if the two are equal, the vehicle-mounted end issues the vehicle control command to the vehicle control actuator.
In this embodiment, the mobile terminal obtains the third random number of the vehicle-mounted terminal through the pre-notification instruction, and uses the random number as the security guarantee of the communication between the mobile terminal and the vehicle-mounted terminal, so as to further improve the security of vehicle control.
In one embodiment, a vehicle bluetooth key generation and authentication system in a wireless environment is provided, which includes a mobile terminal, a cloud terminal and a vehicle-mounted terminal, wherein the mobile terminal is connected with the cloud terminal through a wireless network; the mobile terminal is connected with the vehicle-mounted end through Bluetooth.
Specifically, as shown in fig. 2, a mobile phone APP corresponds to a mobile terminal; the vehicle Bluetooth module corresponds to a vehicle-mounted end, and the data processing process of the vehicle Bluetooth key generation and authentication system in the wireless environment is as follows:
1) after logging in an account, a mobile phone APP initiates a Bluetooth key application of a target vehicle to a cloud;
2) the cloud end inquires the legality of the account number and whether the vehicle is applied for the Bluetooth key or not and returns an inquiry result;
3) if the account is legal and the vehicle is not applied for the Bluetooth key, the cloud generates a keyID and generates a user Bluetooth key K2 by using the keyID and a vehicle root key K1 (preset by a production line);
4) the cloud sends the keyID and the K2 to the mobile phone APP for safe storage;
5) the mobile phone APP generates a random number R1 and sends the random number R1 and the keyID to the vehicle Bluetooth module;
6) the vehicle Bluetooth module generates a user Bluetooth key K2 by using the keyID and a vehicle root key K1 (preset in a production line); therefore, the vehicle end does not need to communicate with the cloud end, and the user Bluetooth key can be generated.
7) The vehicle Bluetooth module generates a random number R2 and generates a session key SK with a random number R1 and a user Bluetooth key K2;
8) the vehicle Bluetooth module sends the random number R2 and a ciphertext R11 obtained by encrypting the random number R1 by the SK to the mobile phone APP;
9) the mobile phone APP generates a session key SK by using a random number R1, a random number R2 and a user Bluetooth key K2;
10) the cell phone APP decrypts the R11 by using the session key SK to obtain R1' and judges whether the value is equal to R1;
11) if R1' is equal to R1, the identity authentication of the vehicle Bluetooth module and the mobile phone APP is passed; and at this moment, the authentication of the vehicle and the mobile phone APP is completed.
12) The mobile phone APP sends a vehicle control challenge instruction to the vehicle Bluetooth module;
13) the vehicle Bluetooth module generates a random number R3 and encrypts the random number R3 by using the SK to obtain R33 and sends the R33 to the mobile phone APP;
14) after receiving the R33, the mobile phone APP decrypts the R33 by using the SK to obtain R3;
15) the mobile phone APP encrypts the vehicle control command and the R3 together by using the SK to obtain a ciphertext M and sends the ciphertext M to the vehicle-end Bluetooth module;
16) the vehicle-end Bluetooth module decrypts the ciphertext M by using the SK to obtain a vehicle control command and R3 'and judges whether R3' is equal to R3;
17) if R3' is equal to R3, the vehicle-end Bluetooth module sends a vehicle control command to the actuator; so far, vehicle safety is controlled by cell-phone APP.
In one embodiment, a computer device is provided, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the vehicle bluetooth key generation and authentication method in the wireless environment, such as the steps S1 to S5 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units of the vehicle bluetooth key generation and authentication system in the wireless environment, such as the functions of the system shown in fig. 2. To avoid repetition, further description is omitted here.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program is executed by a processor to implement the vehicle bluetooth key generation and authentication method in the above-mentioned method embodiment, or the computer program is executed by the processor to implement the functions of each module/unit in the vehicle bluetooth key generation and authentication system in the above-mentioned system embodiment. To avoid repetition, further description is omitted here.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A vehicle Bluetooth key generation and authentication method in a wireless environment is characterized by being applied to a mobile terminal, a cloud terminal and a vehicle-mounted terminal; the vehicle Bluetooth key generation and authentication method under the wireless environment comprises the following steps:
the mobile terminal initiates a vehicle Bluetooth key acquisition request to the cloud terminal;
the cloud end generates key identification information after receiving the vehicle Bluetooth key acquisition request, and generates a user Bluetooth key by using the key identification information and a preset root key;
sending the user Bluetooth key and the key identification information to the mobile terminal;
the mobile terminal sends a first random number generated randomly to the vehicle-mounted terminal together with the received key identification information;
and the vehicle-mounted terminal generates the user Bluetooth key according to the key identification information and a preset root key.
2. The method for generating and authenticating the vehicle bluetooth key under the wireless environment of claim 1, wherein after the vehicle-mounted terminal generates the user bluetooth key according to the key identification information and a preset root key, the method further comprises:
and the vehicle-mounted terminal randomly generates a second random number and generates a session key together with the first random number and the user Bluetooth key.
3. The method for generating and authenticating the bluetooth key of the vehicle in the wireless environment according to claim 2, further comprising, after the generating the session key:
on the vehicle-mounted terminal, encrypting the first random number by using the session key to obtain an authentication ciphertext;
sending the authentication ciphertext and the second random number to the mobile terminal;
generating the session key by using the first random number, the second random number and a user Bluetooth key on the mobile terminal;
decrypting the authentication ciphertext by using the session key to obtain a first random number to be verified;
and if the first random number to be verified is equal to the first random number, determining that the identity authentication of the vehicle-mounted terminal and the identity authentication of the mobile terminal are passed.
4. The method for generating and authenticating the bluetooth key of the vehicle under the wireless environment as claimed in claim 3, further comprising, after the authentication of the identities of the vehicle-mounted terminal and the mobile terminal passes:
the mobile terminal sends a pre-notification instruction to the vehicle-mounted terminal and acquires a third random number generated by the vehicle-mounted terminal;
encrypting the vehicle control instruction and the third random number by using the session key to obtain a vehicle control ciphertext, and sending the vehicle control ciphertext to the vehicle-mounted end;
on the vehicle-mounted terminal, decrypting the vehicle control ciphertext by using the session key to obtain a second random number to be verified and the vehicle control instruction;
and if the second random number to be verified is equal to the third random number, the vehicle-mounted end issues the vehicle control command to a vehicle control actuator.
5. The method for generating and authenticating the bluetooth key of the vehicle under the wireless environment as claimed in claim 4, further comprising, after the mobile terminal sends the pre-notification command to the vehicle-mounted terminal:
at the vehicle-mounted end, randomly generating the third random number according to the pre-notification instruction, and encrypting the third random number by using the session key to obtain an encrypted random number;
sending the encrypted random number to the mobile terminal;
the acquiring a third random number generated by the vehicle-mounted terminal includes:
and the mobile terminal decrypts the encrypted random number by using the session key to obtain the third random number R3.
6. A vehicle Bluetooth key generation and authentication system in a wireless environment is characterized by comprising a mobile terminal, a cloud terminal and a vehicle-mounted terminal, wherein the mobile terminal is connected with the cloud terminal through a wireless network; the mobile terminal is connected with the vehicle-mounted end through Bluetooth;
the cloud end is used for generating key identification information after receiving the vehicle Bluetooth key acquisition request, and generating a user Bluetooth key by using the key identification information and a preset root key;
sending the user Bluetooth key and the key identification information to the mobile terminal;
the mobile terminal is used for initiating a vehicle Bluetooth key acquisition request to the cloud end;
sending the first random number generated randomly and the received key identification information to the vehicle-mounted terminal;
and the vehicle-mounted terminal is used for generating the user Bluetooth key according to the key identification information and a preset root key.
7. The system as claimed in claim 6, wherein the vehicle-mounted terminal further generates a second random number randomly, and generates a session key together with the first random number and the user bluetooth key.
8. The system for vehicle Bluetooth key generation and authentication in a wireless environment of claim 6,
the vehicle-mounted terminal is further used for encrypting the first random number by using the session key to obtain an authentication ciphertext;
sending the authentication ciphertext and the second random number to the mobile terminal;
the mobile terminal is further configured to generate the session key by using the first random number, the second random number, and a user bluetooth key;
decrypting the authentication ciphertext by using the session key to obtain a first random number to be verified;
and if the first random number to be verified is equal to the first random number, determining that the identity authentication of the vehicle-mounted terminal and the identity authentication of the mobile terminal are passed.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the method for generating and authenticating a bluetooth key for a vehicle in a wireless environment according to any one of claims 1 to 5.
10. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for generating and authenticating a bluetooth key for a vehicle in a wireless environment according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111019337.3A CN113781678B (en) | 2021-09-01 | 2021-09-01 | Vehicle Bluetooth key generation and authentication method and system in networking-free environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111019337.3A CN113781678B (en) | 2021-09-01 | 2021-09-01 | Vehicle Bluetooth key generation and authentication method and system in networking-free environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113781678A true CN113781678A (en) | 2021-12-10 |
CN113781678B CN113781678B (en) | 2023-06-13 |
Family
ID=78840618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111019337.3A Active CN113781678B (en) | 2021-09-01 | 2021-09-01 | Vehicle Bluetooth key generation and authentication method and system in networking-free environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113781678B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114419765A (en) * | 2022-01-18 | 2022-04-29 | 上汽通用五菱汽车股份有限公司 | Method and device for realizing vehicle safety control by NFC card and readable storage medium |
CN114429276A (en) * | 2021-12-22 | 2022-05-03 | 北京握奇智能科技有限公司 | System and method for realizing bus management based on APP and intelligent equipment |
CN114845286A (en) * | 2022-04-21 | 2022-08-02 | 重庆长安汽车股份有限公司 | Noninductive Bluetooth short-range vehicle control method and system based on micro-positioning technology and vehicle |
CN114845300A (en) * | 2022-04-29 | 2022-08-02 | 重庆长安汽车股份有限公司 | Intelligent scene vehicle control system and method based on Bluetooth communication |
CN115019423A (en) * | 2022-06-27 | 2022-09-06 | 无锡融卡科技有限公司 | Bluetooth vehicle key distribution system and implementation method thereof |
CN115426640A (en) * | 2022-08-30 | 2022-12-02 | 重庆长安汽车股份有限公司 | Binding method, device, equipment and medium of Bluetooth key |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE60037898D1 (en) * | 2000-12-22 | 2008-03-13 | Ford Global Tech Llc | Remote control and communication system for use in vehicles and key fob unit therefor |
CN101559745A (en) * | 2009-05-15 | 2009-10-21 | 华南理工大学 | Vehicle control system for preventing stealing and robbery and implementation method thereof |
US20170012920A1 (en) * | 2015-07-10 | 2017-01-12 | Uber Technologies, Inc. | Selecting a messaging protocol for transmitting data in connection with a location-based service |
CN107516365A (en) * | 2017-09-28 | 2017-12-26 | 北京新能源汽车股份有限公司 | A kind of virtual key management method, apparatus and system |
CN109131218A (en) * | 2018-09-17 | 2019-01-04 | 北京新能源汽车股份有限公司 | Starting method, apparatus, vehicle and the computer readable storage medium of vehicle |
CN109785490A (en) * | 2019-01-29 | 2019-05-21 | 上海博泰悦臻网络技术服务有限公司 | Bi-directional verification method and system, intelligent terminal and the T-BOX of bluetooth key |
CN111194028A (en) * | 2019-11-05 | 2020-05-22 | 储长青 | Safety control method based on vehicle |
CN111447601A (en) * | 2020-04-07 | 2020-07-24 | 北京四维智联科技有限公司 | Method and device for realizing automobile Bluetooth key |
CN111669399A (en) * | 2020-06-17 | 2020-09-15 | 上海越域智能科技有限公司 | Symmetric encryption system and method for vehicle Bluetooth key identity authentication mode |
CN112039951A (en) * | 2020-08-05 | 2020-12-04 | 华人运通(上海)云计算科技有限公司 | Safe distribution method, device and system of vehicle Bluetooth key and storage medium |
US10919490B1 (en) * | 2019-10-08 | 2021-02-16 | Ford Global Technologies, Llc | Sustained neutral operation of vehicles |
CN112373431A (en) * | 2020-10-22 | 2021-02-19 | 上汽通用五菱汽车股份有限公司 | Cloud digital key generation and authorization method |
CN112819997A (en) * | 2019-10-30 | 2021-05-18 | 上海博泰悦臻电子设备制造有限公司 | Method, apparatus and computer-readable storage medium for creating vehicle key |
-
2021
- 2021-09-01 CN CN202111019337.3A patent/CN113781678B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE60037898D1 (en) * | 2000-12-22 | 2008-03-13 | Ford Global Tech Llc | Remote control and communication system for use in vehicles and key fob unit therefor |
CN101559745A (en) * | 2009-05-15 | 2009-10-21 | 华南理工大学 | Vehicle control system for preventing stealing and robbery and implementation method thereof |
US20170012920A1 (en) * | 2015-07-10 | 2017-01-12 | Uber Technologies, Inc. | Selecting a messaging protocol for transmitting data in connection with a location-based service |
CN107516365A (en) * | 2017-09-28 | 2017-12-26 | 北京新能源汽车股份有限公司 | A kind of virtual key management method, apparatus and system |
CN109131218A (en) * | 2018-09-17 | 2019-01-04 | 北京新能源汽车股份有限公司 | Starting method, apparatus, vehicle and the computer readable storage medium of vehicle |
CN109785490A (en) * | 2019-01-29 | 2019-05-21 | 上海博泰悦臻网络技术服务有限公司 | Bi-directional verification method and system, intelligent terminal and the T-BOX of bluetooth key |
US10919490B1 (en) * | 2019-10-08 | 2021-02-16 | Ford Global Technologies, Llc | Sustained neutral operation of vehicles |
CN112819997A (en) * | 2019-10-30 | 2021-05-18 | 上海博泰悦臻电子设备制造有限公司 | Method, apparatus and computer-readable storage medium for creating vehicle key |
CN111194028A (en) * | 2019-11-05 | 2020-05-22 | 储长青 | Safety control method based on vehicle |
CN111447601A (en) * | 2020-04-07 | 2020-07-24 | 北京四维智联科技有限公司 | Method and device for realizing automobile Bluetooth key |
CN111669399A (en) * | 2020-06-17 | 2020-09-15 | 上海越域智能科技有限公司 | Symmetric encryption system and method for vehicle Bluetooth key identity authentication mode |
CN112039951A (en) * | 2020-08-05 | 2020-12-04 | 华人运通(上海)云计算科技有限公司 | Safe distribution method, device and system of vehicle Bluetooth key and storage medium |
CN112373431A (en) * | 2020-10-22 | 2021-02-19 | 上汽通用五菱汽车股份有限公司 | Cloud digital key generation and authorization method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114429276A (en) * | 2021-12-22 | 2022-05-03 | 北京握奇智能科技有限公司 | System and method for realizing bus management based on APP and intelligent equipment |
CN114419765A (en) * | 2022-01-18 | 2022-04-29 | 上汽通用五菱汽车股份有限公司 | Method and device for realizing vehicle safety control by NFC card and readable storage medium |
CN114845286A (en) * | 2022-04-21 | 2022-08-02 | 重庆长安汽车股份有限公司 | Noninductive Bluetooth short-range vehicle control method and system based on micro-positioning technology and vehicle |
CN114845300A (en) * | 2022-04-29 | 2022-08-02 | 重庆长安汽车股份有限公司 | Intelligent scene vehicle control system and method based on Bluetooth communication |
CN115019423A (en) * | 2022-06-27 | 2022-09-06 | 无锡融卡科技有限公司 | Bluetooth vehicle key distribution system and implementation method thereof |
CN115019423B (en) * | 2022-06-27 | 2023-10-24 | 无锡融卡科技有限公司 | Bluetooth car key distribution system and implementation method thereof |
CN115426640A (en) * | 2022-08-30 | 2022-12-02 | 重庆长安汽车股份有限公司 | Binding method, device, equipment and medium of Bluetooth key |
Also Published As
Publication number | Publication date |
---|---|
CN113781678B (en) | 2023-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113781678B (en) | Vehicle Bluetooth key generation and authentication method and system in networking-free environment | |
CN110380852B (en) | Bidirectional authentication method and communication system | |
EP3723399A1 (en) | Identity verification method and apparatus | |
CN106603485B (en) | Key agreement method and device | |
US8526606B2 (en) | On-demand secure key generation in a vehicle-to-vehicle communication network | |
CN111669399B (en) | Symmetric encryption system and method for vehicle Bluetooth key identity authentication mode | |
CN106850207B (en) | Identity identifying method and system without CA | |
CN108243181A (en) | A kind of car networking terminal, data ciphering method and car networking server | |
EP2905719A1 (en) | Device and method certificate generation | |
CN102868531B (en) | Networked transaction certification system and method | |
CN115396121B (en) | Security authentication method for security chip OTA data packet and security chip device | |
CN112396735B (en) | Internet automobile digital key safety authentication method and device | |
CN104836784A (en) | Information processing method, client, and server | |
CN112672342B (en) | Data transmission method, device, equipment, system and storage medium | |
CN104955040B (en) | Network authentication method and equipment | |
CN113556710A (en) | Vehicle Bluetooth key method and device and vehicle | |
KR102219086B1 (en) | HMAC-based source authentication and secret key sharing method and system for Unnamed Aerial vehicle systems | |
CN111654503A (en) | Remote control method, device, equipment and storage medium | |
CN117395001B (en) | Internet of vehicles secure communication method and system based on quantum key chip | |
CN113676448A (en) | Off-line equipment bidirectional authentication method and system based on symmetric key | |
CN116599719A (en) | User login authentication method, device, equipment and storage medium | |
CN106603486B (en) | Method and system for security authorization of mobile terminal | |
CN112184960B (en) | Intelligent lock control method and device, intelligent lock system and storage medium | |
CN114928821A (en) | Combined matrix management method and device for intelligent networked vehicle and storage medium | |
CN113766450A (en) | Vehicle virtual key sharing method, mobile terminal, server and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |