Anti-theft authentication method, device and computer equipment for vehicle remote start
By generating and encrypting random numbers using third-party diagnostic equipment, the problem of insufficient key synchronization between the engine management module and the smart entry keyless start module was solved, thus achieving the security and reliability of remote vehicle start and the efficiency of the authentication process.
Patent Information
- Application Number
- CN202310409368.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-04-17
AI Technical Summary
In the existing technology, the key synchronization between the engine management module and the smart entry keyless start module cannot be guaranteed, which leads to accidental start events when the vehicle is remotely started.
Random numbers are generated and encrypted using third-party diagnostic equipment to assist in synchronizing the authentication algorithm seed between the vehicle remote start controller and the on-board terminal, ensuring the consistency of the authentication algorithm seed.
It improves the security and reliability of remote vehicle start-up, avoids accidental start-up due to key synchronization issues, and enhances the security and response efficiency of the authentication process.
Smart Images

Figure CN116436616B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a method, apparatus, computer equipment, storage medium, and computer program product for synchronizing seed for an anti-theft authentication algorithm for remote vehicle start. Background Technology
[0002] Cars are an indispensable means of transportation in our daily lives, providing great convenience. However, as consumers' purchasing power increases, their demands for cars also rise. From the current development trend, remote start technology has become mainstream in the automotive industry, playing a crucial role in competition and becoming an important condition for the overall development of the automotive industry. Within remote start technology, vehicle or engine anti-theft authentication is a critical step in ensuring the safe operation of the remote start function.
[0003] In related technologies, the engine management module compares its pre-stored key authentication result and first data generated by the XTEA algorithm with the second data returned by the smart entry keyless start module. If a match is found, engine start is allowed; otherwise, start is prohibited. In this process, although the engine management module and the smart entry keyless start module use the XTEA algorithm for encrypted authentication, the synchronization of the keys used by the two modules cannot be guaranteed. This can lead to false start events where the vehicle is remotely started but the actual keys are not synchronized. Summary of the Invention
[0004] Therefore, it is necessary to provide a safe and reliable anti-theft authentication method, device, computer equipment, computer-readable storage medium, and computer program product for remote vehicle start, addressing the aforementioned technical problems.
[0005] In a first aspect, this application provides an anti-theft authentication method for remote vehicle start, applied to a vehicle remote start controller; the method includes:
[0006] Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters.
[0007] The first encrypted random number is sent to the diagnostic device, and the first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the first encrypted random number to the vehicle terminal.
[0008] A second random number is generated and sent to the vehicle terminal. Based on the second random number, the first authentication result between the vehicle terminal and the system is determined and sent to the vehicle terminal.
[0009] In one embodiment, the first request anti-theft authentication command is triggered by the vehicle terminal receiving the authentication start command sent by the diagnostic device; the authentication start command is sent by the vehicle terminal after decrypting the encrypted first random number and sending the decryption result to the diagnostic device. If the diagnostic device determines that the decryption result is the same as the first random number, the diagnostic device sends the result to the vehicle terminal.
[0010] In one embodiment, determining the first authentication result with the vehicle terminal based on a second random number includes:
[0011] Receive the first calculation result determined by the second random number sent by the vehicle terminal;
[0012] The second calculation result is determined based on the second random number and the first random number;
[0013] The first calculation result and the second calculation result are compared to determine the first authentication result.
[0014] In one embodiment, the method further includes:
[0015] If the first authentication result is successful, the first random number will be used as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
[0016] In one embodiment, the method further includes:
[0017] After receiving the query command sent by the vehicle terminal, the working status of the vehicle remote start controller is determined based on the vehicle's operating data.
[0018] Send the working status to the vehicle terminal and receive the second request anti-theft authentication command sent by the vehicle terminal;
[0019] The vehicle terminal is authenticated based on the seed parameters of the anti-theft authentication algorithm between the vehicle terminal and the vehicle terminal to determine the second authentication result.
[0020] If the second authentication result is successful, the system receives the remote start command sent by the vehicle-mounted terminal and returns the execution result corresponding to the remote start command.
[0021] In one embodiment, the second request for anti-theft authentication is triggered by the vehicle terminal after receiving the working status and determining that the vehicle remote start controller is in a controllable state based on the working status.
[0022] Secondly, this application also provides an anti-theft authentication device for remote vehicle start, applied to a vehicle remote start controller; the device includes:
[0023] The first generation module is used to generate a first random number after receiving a trigger command sent by the diagnostic device, and encrypt the first random number based on a preset encryption algorithm and key parameters;
[0024] The instruction receiving module is used to send the encrypted first random number to the diagnostic device and receive the first request anti-theft authentication instruction sent by the vehicle terminal. The first request anti-theft authentication instruction is triggered after the diagnostic device sends the encrypted first random number to the vehicle terminal.
[0025] The second generation module is used to generate a second random number and send the second random number to the vehicle terminal. Based on the second random number, it determines the first authentication result with the vehicle terminal and sends the first authentication result to the vehicle terminal.
[0026] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0027] Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters.
[0028] The first encrypted random number is sent to the diagnostic device, and the first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the first encrypted random number to the vehicle terminal.
[0029] A second random number is generated and sent to the vehicle terminal. Based on the second random number, the first authentication result between the vehicle terminal and the system is determined and sent to the vehicle terminal.
[0030] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0031] Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters.
[0032] The first encrypted random number is sent to the diagnostic device, and the first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the first encrypted random number to the vehicle terminal.
[0033] A second random number is generated and sent to the vehicle terminal. Based on the second random number, the first authentication result between the vehicle terminal and the system is determined and sent to the vehicle terminal.
[0034] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0035] Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters.
[0036] The first encrypted random number is sent to the diagnostic device, and the first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the first encrypted random number to the vehicle terminal.
[0037] A second random number is generated and sent to the vehicle terminal. Based on the second random number, the first authentication result between the vehicle terminal and the system is determined and sent to the vehicle terminal.
[0038] The aforementioned anti-theft authentication method, device, computer equipment, storage medium, and computer program product for remote vehicle start, upon receiving a trigger command from a diagnostic device, generates a first random number and encrypts it based on a preset encryption algorithm and key parameters. The encrypted first random number is then sent to the diagnostic device. A first anti-theft authentication request command is received from the vehicle terminal, triggered after the diagnostic device sends the encrypted first random number to the vehicle terminal. A second random number is generated and sent to the vehicle terminal. Based on the second random number, a first authentication result is determined and sent to the vehicle terminal. This first authentication result is then sent to the vehicle terminal. By using a third-party diagnostic device to complete the security authentication and authentication algorithm seed synchronization between the vehicle terminal and the remote vehicle start controller, the system avoids situations where the vehicle terminal and remote vehicle start controller directly transmit data without being able to determine if the authentication algorithm seed is synchronized, thus improving the security and reliability of remote vehicle start. Attached Figure Description
[0039] Figure 1 This is a flowchart illustrating an anti-theft authentication method for remote vehicle start in one embodiment.
[0040] Figure 2 This is a flowchart illustrating the anti-theft authentication method for remote vehicle start in another embodiment;
[0041] Figure 3 This is a flowchart illustrating the anti-theft authentication method for remote vehicle start in yet another embodiment;
[0042] Figure 4 This is a flowchart illustrating the anti-theft authentication process for remote vehicle start in one embodiment.
[0043] Figure 5 This is a schematic diagram of the process of remotely starting a vehicle in one embodiment;
[0044] Figure 6 This is a structural block diagram of an anti-theft authentication device for remote vehicle start in one embodiment;
[0045] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0047] In one embodiment, such as Figure 1 As shown, an anti-theft authentication method for remote vehicle start is provided. Taking the application of this method to a vehicle remote start controller as an example, the method includes the following steps:
[0048] Step 102: After receiving the trigger command sent by the diagnostic device, generate a first random number and encrypt the first random number based on a preset encryption algorithm and key parameters;
[0049] The diagnostic equipment is used as a third party to assist in the synchronization process of the anti-theft authentication algorithm seed between the vehicle remote start controller and the on-board terminal. The diagnostic equipment can be installed on the production line after vehicle production but before delivery to synchronize the initial remote start anti-theft authentication algorithm seed; it can also be used in after-sales service provided by vehicle manufacturers to update the anti-theft authentication algorithm seed between the vehicle remote start controller and the on-board terminal.
[0050] The preset encryption algorithm and key parameters are determined during vehicle production, after assembly, and are pre-agreed between the remote start controller and the vehicle terminal for anti-theft authentication. Encryption algorithms include symmetric and asymmetric algorithms. This application does not specifically limit the encryption algorithm used; for example, it may use symmetric encryption algorithms such as AES, DES, or 3DES, or asymmetric encryption algorithms such as RSA, Elgamal, Knapsack, Rabin, DH, and ECC (Elliptic Curve Cryptography). All embodiments in this application use symmetric encryption algorithms as examples; however, any anti-theft authentication process completed through third-party equipment, such as diagnostic equipment, should fall within the scope of protection of this application.
[0051] The trigger command is sent from the diagnostic equipment to the vehicle's remote start controller, initiating the anti-theft authentication algorithm seed synchronization process. The trigger command sending mechanism of the diagnostic equipment is typically triggered manually, or by setting up an automatic triggering mechanism on the production line to trigger the diagnostic equipment to issue the trigger command.
[0052] The first random number is generated by the vehicle remote start controller after receiving the trigger command. It serves as a candidate seed for the anti-theft authentication algorithm and is used as the final seed based on the authentication process in subsequent steps. After generating the first random number SK, it is encrypted using a preset encryption algorithm and key parameters to obtain the encrypted SK1. Then, SK and SK1 are packaged and sent to the diagnostic equipment, which assists in completing the synchronous authentication process of SK.
[0053] Step 104: Send the encrypted first random number to the diagnostic device and receive the first request for anti-theft authentication command sent by the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the encrypted first random number to the vehicle terminal.
[0054] The first request for anti-theft authentication is sent from the vehicle terminal to the vehicle's remote start controller after the diagnostic equipment determines that the SK's synchronous authentication has passed. This is used to initiate the synchronous authentication verification process.
[0055] Step 106: Generate a second random number and send the second random number to the vehicle terminal. Based on the second random number, determine the first authentication result between the vehicle terminal and the first authentication result and send the first authentication result to the vehicle terminal.
[0056] The second random number is used to verify the synchronized anti-theft authentication algorithm seed. This process can be completed directly between the vehicle remote start controller and the on-board terminal without the intervention of diagnostic equipment. Specifically, both the vehicle remote start controller and the on-board terminal process the second random number based on the synchronized anti-theft authentication algorithm seed, and then compare the two processing results to determine whether the verification and authentication have passed. It should be noted that the comparison process can be performed in the on-board terminal or in the vehicle remote start controller. After receiving the authentication result, the vehicle remote start controller or the on-board terminal sends the authentication result to the diagnostic equipment and the on-board terminal or vehicle remote start controller.
[0057] In the method provided in the above embodiments, after receiving a trigger command sent by the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters; the encrypted first random number is sent to the diagnostic device; a first request for anti-theft authentication command is received from the vehicle terminal, the first request for anti-theft authentication command being triggered after the diagnostic device sends the encrypted first random number to the vehicle terminal; a second random number is generated and sent to the vehicle terminal; based on the second random number, a first authentication result between the vehicle terminal and the vehicle terminal is determined and sent to the vehicle terminal. By using a third-party diagnostic device to complete the security authentication and authentication algorithm seed synchronization between the vehicle terminal and the vehicle remote start controller, the situation where the vehicle terminal and the vehicle remote start controller directly transmit data but cannot determine whether the authentication algorithm seed is synchronized is avoided, thus improving the security and reliability of remote vehicle start.
[0058] In one embodiment, the first request anti-theft authentication command is triggered by the vehicle terminal receiving the authentication start command sent by the diagnostic device; the authentication start command is sent by the vehicle terminal after decrypting the encrypted first random number and sending the decryption result to the diagnostic device. If the diagnostic device determines that the decryption result is the same as the first random number, the diagnostic device sends the result to the vehicle terminal.
[0059] After the vehicle remote start controller sends the first random number and the encrypted first random number to the diagnostic device, the diagnostic device performs synchronous authentication of the first random number. After successful authentication, the vehicle terminal is triggered to send the first request anti-theft authentication command to the vehicle remote start controller.
[0060] Specifically, taking SK as the first random number as an example, the vehicle remote start controller encrypts SK into SK1 using a preset encryption algorithm and key parameters, and sends it to the diagnostic device. The diagnostic device sends SK1 to the vehicle terminal, which decrypts SK1 using the preset encryption algorithm and key parameters to obtain SK2, and sends it to the diagnostic device. The diagnostic device determines whether SK2 and SK are equal. If they are equal, it means that the vehicle terminal has received the anti-theft authentication algorithm seed candidate value synchronized with the vehicle remote start control; otherwise, it means that they are not synchronized. In the case of synchronization, anti-theft authentication can be performed between the vehicle terminal and the vehicle remote start controller, with the data sent from the vehicle terminal to the vehicle remote start controller.
[0061] It should be noted that in this embodiment, the first request for anti-theft authentication is sent from the vehicle terminal to the vehicle remote start controller. However, in other embodiments, if the diagnostic device determines that the decryption result is the same as the first random number, it can also directly trigger the vehicle remote start controller to generate a second random number and send it to the vehicle terminal.
[0062] In the method provided in the above embodiments, the anti-theft authentication algorithm seed synchronization authentication process between the vehicle terminal and the vehicle remote start controller is completed with the assistance of third-party diagnostic equipment, ensuring the synchronization of the anti-theft authentication algorithm seed and improving the security and reliability of vehicle remote start.
[0063] In one embodiment, such as Figure 2 As shown, based on the second random number, the first authentication result between the device and the vehicle terminal is determined, including:
[0064] Step 202: Receive the first calculation result determined based on the second random number sent by the vehicle terminal;
[0065] Step 204: Determine the second calculation result based on the second random number and the first random number;
[0066] Step 206: Compare the first calculation result and the second calculation result to determine the first authentication result.
[0067] Specifically, the vehicle remote start controller generates a second random number X and sends it to the vehicle terminal. The vehicle terminal obtains a first calculation result B1 = F(X, SK2) based on the synchronized anti-theft authentication algorithm seed candidate value SK2. The vehicle remote start controller obtains a second calculation result B2 = F(, SK) based on the first random number SK (SK and SK2 are synchronized and both are used as seed candidate values for their respective anti-theft authentication algorithms). If the first calculation result B1 and the second calculation result B2 are equal, the first authentication result is determined to be successful. If the first calculation result B1 and the second calculation result B2 are not equal, the first authentication result is determined to be unsuccessful.
[0068] In the method provided in the above embodiments, the calculation results of the second random number are calculated by each of the synchronous anti-theft authentication algorithm seeds, and the authentication is determined by comparing the calculation results. This can quickly complete the authentication process and improve the response efficiency of remote vehicle start.
[0069] In one embodiment, the method further includes:
[0070] If the first authentication result is successful, the first random number will be used as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
[0071] If the first authentication result is successful, it means that the candidate seed values of the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal are synchronized. The second random number determines that the matching between the vehicle remote start controller and the vehicle terminal is successful. Therefore, the first random number can be used as the seed parameter of the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
[0072] In the method provided in the above embodiments, the vehicle terminal and the vehicle remote start controller verify each other through a synchronized first random number to ensure that the anti-theft authentication algorithm seed is synchronized and that the vehicle terminal and the vehicle remote start controller have successfully matched, thereby improving the security and reliability of remote vehicle start.
[0073] In one embodiment, such as Figure 3 As shown, the method also includes:
[0074] Step 302: After receiving the query command sent by the vehicle terminal, determine the working status of the vehicle remote start controller based on the vehicle's operating data.
[0075] Step 304: Send the working status to the vehicle terminal and receive the second request for anti-theft authentication command sent by the vehicle terminal;
[0076] Step 306: Authenticate the vehicle terminal based on the anti-theft authentication algorithm seed parameters between the vehicle terminal and the vehicle terminal to determine the second authentication result;
[0077] Step 308: If the second authentication result is successful, receive the remote start command sent by the vehicle-mounted terminal and return the execution result corresponding to the remote start command.
[0078] Vehicle operation data refers to data that indicates the current operating status of the vehicle, such as vehicle speed, engine start signal, door close signal, and turn signal. In one embodiment, the current state of the vehicle is determined based on the vehicle operation data, thereby determining whether the remote start controller is in a controllable state. Only when the remote start controller is in a controllable state can the vehicle be started via the remote start controller. Specifically, before controlling the remote start controller to start the vehicle, authentication is required based on the anti-theft authentication algorithm seed parameters to ensure the identity of the person starting the vehicle, or, from the vehicle's perspective, to determine the identity of the person starting the vehicle.
[0079] The second request for anti-theft authentication is triggered by the vehicle terminal after receiving the working status and determining that the vehicle's remote start controller is in a controllable state.
[0080] In one embodiment, such as Figure 4 As shown, the vehicle includes an onboard terminal T-BOX and a vehicle remote start controller PS. The anti-theft authentication process for remote vehicle start via diagnostic equipment includes:
[0081] S401: PS and T-BOX agree on the encryption algorithm and key in advance, and can choose the symmetric encryption algorithm AES-128.
[0082] S402: SK is generated by PS triggered by diagnostic equipment;
[0083] S403: PS generates the first random number SK, and uses the symmetric encryption algorithm AES-128 and the symmetric key to encrypt SK into SK1;
[0084] S404: PS sends the encrypted SK1 to the diagnostic device;
[0085] S405: The diagnostic device sends SK1 to the T-BOX;
[0086] S406: T-BOX decrypts SK1 into SK2 using the AES-128 algorithm and key, and stores it;
[0087] S407: The diagnostic device triggers the anti-theft authentication process between the T-BOX and PS to verify whether the SK values in the PS and T-BOX are consistent;
[0088] S408: T-BOX sends the first request for anti-theft authentication command to PS;
[0089] S409: PS generates a second random number X and sends it to T-BOX;
[0090] S410: T-BOX uses an anti-theft authentication algorithm to process the second random number X and generate encrypted authentication data corresponding to the second random number: B1 = F(X, SK2);
[0091] S411: T-BOX sends the calculation result B1 to PS;
[0092] S412: PS uses the anti-theft authentication algorithm to calculate the encrypted authentication data B2 = F(X,SK), and compares whether B2 is consistent with the value of B1 calculated by T-BOX;
[0093] S413: PS sends the first authentication result to T-BOX;
[0094] S414: Diagnostic equipment obtains first certification results for T-BOX and PS;
[0095] S415: T-BOX returns the first authentication result. If the first authentication result is successful, it proves that the SK value of T-BOX and PS has been successfully synchronized.
[0096] In one embodiment, such as Figure 5 As shown, the process of a user remotely starting the vehicle via the app includes:
[0097] S501: Users can issue remote start commands via a mobile app;
[0098] S502: The backend (server) forwards the remote start command to T-BOX:
[0099] S503: T-BOX checks if the PS status is controllable;
[0100] S504; PS sends the current working status;
[0101] S505: T-BOX determines whether PS is controllable. If it is currently controllable, continue executing S206.
[0102] S506: T-BOX sends a second request for anti-theft authentication to PS;
[0103] S507: PS generates a third random number X1 and sends it to T-BOX;
[0104] S508: T-BOX uses an anti-theft authentication algorithm to process the random number X1 and generate encrypted authentication data corresponding to this random number: B3 = F(X1, SK2);
[0105] S509: T-BOX sends the calculation result B3 to PS;
[0106] S510: PS uses the anti-theft authentication algorithm to calculate the encrypted authentication data B4 = F(X1,SK), and compares whether the values of B3 and T-BOX's calculated result B4 are consistent.
[0107] S511: PS sends the second authentication result to T-BOX;
[0108] S512: If authentication is successful, T-BOX will send the remote boot command to PS;
[0109] S513: PS performs the startup operation;
[0110] S514: PS returns the execution result to T-BOX;
[0111] S515: T-BOX returns the execution result to the backend;
[0112] S516: The background will return the execution result to the mobile APP.
[0113] In the method provided in the above embodiments, the security authentication and authentication algorithm seed synchronization between the vehicle terminal and the vehicle remote start controller are completed by a third-party diagnostic device, avoiding the situation where the vehicle terminal and the vehicle remote start controller directly transmit the authentication algorithm seed but cannot determine whether it is synchronized, thereby improving the security and reliability of vehicle remote start.
[0114] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0115] Based on the same inventive concept, this application also provides a vehicle remote start anti-theft authentication device for implementing the aforementioned vehicle remote start anti-theft authentication method. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more vehicle remote start anti-theft authentication device embodiments provided below can be found in the limitations of the vehicle remote start anti-theft authentication method described above, and will not be repeated here.
[0116] In one embodiment, such as Figure 6 As shown, an anti-theft authentication device for remote vehicle start is provided, applied to a vehicle remote start controller; it includes: a first generation module 601, an instruction receiving module 602, and a second generation module 603, wherein:
[0117] The first generation module 601 is used to generate a first random number after receiving a trigger command sent by the diagnostic device, and to encrypt the first random number based on a preset encryption algorithm and key parameters.
[0118] The instruction receiving module 602 is used to send the encrypted first random number to the diagnostic device and receive the first request anti-theft authentication instruction sent by the vehicle terminal. The first request anti-theft authentication instruction is triggered after the diagnostic device sends the encrypted first random number to the vehicle terminal.
[0119] The second generation module 603 is used to generate a second random number and send the second random number to the vehicle terminal, determine the first authentication result with the vehicle terminal based on the second random number, and send the first authentication result to the vehicle terminal.
[0120] In one embodiment, the instruction receiving module 602 is further configured to determine that the first request anti-theft authentication instruction is triggered by the vehicle terminal receiving the authentication start instruction sent by the diagnostic device; the authentication start instruction is sent by the diagnostic device to the vehicle terminal after the vehicle terminal decrypts the encrypted first random number and sends the decryption result to the diagnostic device.
[0121] In one embodiment, the second generation module 603 is further configured to:
[0122] Receive the first calculation result determined by the second random number sent by the vehicle terminal;
[0123] The second calculation result is determined based on the second random number and the first random number;
[0124] The first calculation result and the second calculation result are compared to determine the first authentication result.
[0125] In one embodiment, the anti-theft authentication device for remote vehicle start further includes a determination module for:
[0126] If the first authentication result is successful, the first random number will be used as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
[0127] In one embodiment, the anti-theft authentication device for remote vehicle start further includes:
[0128] The status determination module is used to determine the working status of the vehicle remote start controller based on the vehicle's operating data after receiving a query command sent by the vehicle terminal.
[0129] The status sending module is used to send the working status to the vehicle terminal and receive the second request anti-theft authentication command sent by the vehicle terminal;
[0130] The authentication determination module is used to authenticate the vehicle terminal based on the anti-theft authentication algorithm seed parameters between the vehicle terminal and the vehicle terminal, and determine the second authentication result;
[0131] The execution module is used to receive the remote start command sent by the vehicle-mounted terminal when the second authentication result is successful, and return the execution result corresponding to the remote start command.
[0132] In one embodiment, the status sending module is also used to trigger the second request anti-theft authentication command when the vehicle terminal receives the working status and determines that the vehicle remote start controller is in a controllable state based on the working status.
[0133] The various modules in the aforementioned vehicle remote start anti-theft authentication device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0134] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements an anti-theft authentication method for remote vehicle start. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0135] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0136] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0137] Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters.
[0138] The first encrypted random number is sent to the diagnostic device, and the first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the first encrypted random number to the vehicle terminal.
[0139] A second random number is generated and sent to the vehicle terminal. Based on the second random number, the first authentication result between the vehicle terminal and the system is determined and sent to the vehicle terminal.
[0140] In one embodiment, when the processor executes the computer program, it further implements the following steps: determining that the first request anti-theft authentication command is triggered by the vehicle terminal receiving the authentication start command sent by the diagnostic device; the authentication start command is sent by the diagnostic device to the vehicle terminal after the vehicle terminal decrypts the encrypted first random number and sends the decryption result to the diagnostic device.
[0141] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0142] Receive the first calculation result determined by the second random number sent by the vehicle terminal;
[0143] The second calculation result is determined based on the second random number and the first random number;
[0144] The first calculation result and the second calculation result are compared to determine the first authentication result.
[0145] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0146] If the first authentication result is successful, the first random number will be used as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
[0147] In one embodiment, the processor, when executing a computer program, also performs the following steps:
[0148] After receiving the query command sent by the vehicle terminal, the working status of the vehicle remote start controller is determined based on the vehicle's operating data.
[0149] Send the working status to the vehicle terminal and receive the second request anti-theft authentication command sent by the vehicle terminal;
[0150] The vehicle terminal is authenticated based on the seed parameters of the anti-theft authentication algorithm between the vehicle terminal and the vehicle terminal to determine the second authentication result.
[0151] If the second authentication result is successful, the system receives the remote start command sent by the vehicle-mounted terminal and returns the execution result corresponding to the remote start command.
[0152] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining that the second request for anti-theft authentication is triggered by the vehicle terminal after receiving the working status and determining that the vehicle remote start controller is in a controllable state based on the working status.
[0153] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0154] Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters.
[0155] The first encrypted random number is sent to the diagnostic device, and the first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the first encrypted random number to the vehicle terminal.
[0156] A second random number is generated and sent to the vehicle terminal. Based on the second random number, the first authentication result between the vehicle terminal and the system is determined and sent to the vehicle terminal.
[0157] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining that the first request anti-theft authentication command is triggered by the vehicle terminal receiving the authentication start command sent by the diagnostic device; the authentication start command is sent by the diagnostic device to the vehicle terminal after the vehicle terminal decrypts the encrypted first random number and sends the decryption result to the diagnostic device.
[0158] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0159] Receive the first calculation result determined by the second random number sent by the vehicle terminal;
[0160] The second calculation result is determined based on the second random number and the first random number;
[0161] The first calculation result and the second calculation result are compared to determine the first authentication result.
[0162] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0163] If the first authentication result is successful, the first random number will be used as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
[0164] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0165] After receiving the query command sent by the vehicle terminal, the working status of the vehicle remote start controller is determined based on the vehicle's operating data.
[0166] Send the working status to the vehicle terminal and receive the second request anti-theft authentication command sent by the vehicle terminal;
[0167] The vehicle terminal is authenticated based on the seed parameters of the anti-theft authentication algorithm between the vehicle terminal and the vehicle terminal to determine the second authentication result.
[0168] If the second authentication result is successful, the system receives the remote start command sent by the vehicle-mounted terminal and returns the execution result corresponding to the remote start command.
[0169] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining that the second request for anti-theft authentication is triggered when the vehicle terminal, after receiving the working status, determines that the vehicle remote start controller is in a controllable state based on the working status.
[0170] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0171] Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters.
[0172] The first encrypted random number is sent to the diagnostic device, and the first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered after the diagnostic device sends the first encrypted random number to the vehicle terminal.
[0173] A second random number is generated and sent to the vehicle terminal. Based on the second random number, the first authentication result between the vehicle terminal and the system is determined and sent to the vehicle terminal.
[0174] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining that the first request anti-theft authentication command is triggered by the vehicle terminal receiving the authentication start command sent by the diagnostic device; the authentication start command is sent by the diagnostic device to the vehicle terminal after the vehicle terminal decrypts the encrypted first random number and sends the decryption result to the diagnostic device.
[0175] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0176] Receive the first calculation result determined by the second random number sent by the vehicle terminal;
[0177] The second calculation result is determined based on the second random number and the first random number;
[0178] The first calculation result and the second calculation result are compared to determine the first authentication result.
[0179] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0180] If the first authentication result is successful, the first random number will be used as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
[0181] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:
[0182] After receiving the query command sent by the vehicle terminal, the working status of the vehicle remote start controller is determined based on the vehicle's operating data.
[0183] Send the working status to the vehicle terminal and receive the second request anti-theft authentication command sent by the vehicle terminal;
[0184] The vehicle terminal is authenticated based on the seed parameters of the anti-theft authentication algorithm between the vehicle terminal and the vehicle terminal to determine the second authentication result.
[0185] If the second authentication result is successful, the system receives the remote start command sent by the vehicle-mounted terminal and returns the execution result corresponding to the remote start command.
[0186] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining that the second request for anti-theft authentication is triggered when the vehicle terminal, after receiving the working status, determines that the vehicle remote start controller is in a controllable state based on the working status.
[0187] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0188] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0189] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for anti-theft authentication of remote vehicle start, characterized in that, Applied to a vehicle remote start controller; the method includes: Upon receiving a trigger command from the diagnostic device, a first random number is generated and encrypted based on a preset encryption algorithm and key parameters. The encrypted first random number is sent to the diagnostic device, and a first request for anti-theft authentication command is received from the vehicle terminal. The first request for anti-theft authentication command is triggered by the vehicle terminal receiving the authentication start command sent by the diagnostic device. The authentication start command is sent by the diagnostic device to the vehicle terminal after the vehicle terminal decrypts the encrypted first random number and sends the decryption result to the diagnostic device. If the diagnostic device determines that the decryption result is the same as the first random number, the diagnostic device sends the result to the vehicle terminal. A second random number is generated and sent to the vehicle terminal. Based on the second random number, a first authentication result is determined with the vehicle terminal, and the first authentication result is sent to the vehicle terminal. If the first authentication result is successful, the first random number is used as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal.
2. The method according to claim 1, characterized in that, The step of determining the first authentication result with the vehicle terminal based on the second random number includes: Receive the first calculation result determined based on the second random number and the first random number sent by the vehicle terminal; The second calculation result is determined based on the second random number and the first random number; The first calculation result and the second calculation result are compared to determine the first authentication result.
3. The method according to claim 1, characterized in that, The method further includes: After receiving the query command sent by the vehicle terminal, the working status of the vehicle remote start controller is determined based on the vehicle's operating data. The working status is sent to the vehicle terminal, and the second request anti-theft authentication command sent by the vehicle terminal is received. The vehicle terminal is authenticated based on the anti-theft authentication algorithm seed parameters between the vehicle terminal and the vehicle terminal to determine the second authentication result. If the second authentication result is successful, the remote start command sent by the vehicle terminal is received, and the execution result corresponding to the remote start command is returned.
4. The method according to claim 3, characterized in that, The second request for anti-theft authentication is triggered by the vehicle terminal after receiving the working status and determining that the vehicle remote start controller is in a controllable state based on the working status.
5. The method according to claim 3, characterized in that, The vehicle operation data includes at least one of the following: vehicle speed, engine start signal, door close signal, and turn signal.
6. The method according to claim 1, characterized in that, The preset encryption algorithm includes at least one of symmetric encryption algorithms and asymmetric encryption algorithms.
7. A vehicle remote start anti-theft authentication device, characterized in that, Applied to a vehicle remote start controller; the device includes: The first generation module is used to generate a first random number after receiving a trigger command sent by the diagnostic device, and encrypt the first random number based on a preset encryption algorithm and key parameters; The instruction receiving module is used to send the encrypted first random number to the diagnostic device and receive a first request for anti-theft authentication instruction sent by the vehicle terminal. The first request for anti-theft authentication instruction is triggered by the vehicle terminal receiving an authentication start instruction sent by the diagnostic device. The authentication start instruction is sent by the diagnostic device to the vehicle terminal after the vehicle terminal decrypts the encrypted first random number and sends the decryption result to the diagnostic device. If the diagnostic device determines that the decryption result is the same as the first random number, the diagnostic device sends the instruction to the vehicle terminal. The second generation module is used to generate a second random number and send the second random number to the vehicle terminal, determine a first authentication result with the vehicle terminal based on the second random number, and send the first authentication result to the vehicle terminal. The determining module is used to use the first random number as the seed parameter for the anti-theft authentication algorithm between the vehicle remote start controller and the vehicle terminal when the first authentication result is successful.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method for vehicle safety remote control and diagnosis and system thereof
CN106713264A
Method and equipment for performing safety communication between T_Box equipment and ECU equipment in internet of vehicles system
CN108347331A
