Vehicle control method, vehicle-side controller, vehicle key, and vehicle

By introducing time parameters into the interaction protocol between the vehicle controller and the car key, replay attacks can be identified, solving the security problems of keyless entry and start functions and improving the anti-theft security of the vehicle.

CN117549853BActive Publication Date: 2026-11-27GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210934686.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-04
Publication Date
2026-11-27
Estimated Expiration
2042-08-04

AI Technical Summary

Technical Problem

Existing keyless entry and start functions are vulnerable to replay attacks, which poses a risk of vehicle theft.

Method used

The vehicle controller and the car key store synchronized time parameters, and add time parameters representing the time when the signal is emitted to the low-frequency signal. After receiving the low-frequency signal, the car key avoids replying with high-frequency signals through legality judgment, so as to identify replay attacks.

Benefits of technology

It effectively identifies replay attacks, reduces the risk of vehicle theft, and improves the anti-theft security of keyless entry and start functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117549853B_ABST
    Figure CN117549853B_ABST
Patent Text Reader

Abstract

The application provides a vehicle control method, a vehicle end controller, a vehicle key and a vehicle. The method comprises the following steps: when detecting an unlocking signal of the vehicle, a vehicle end controller of the vehicle determines a target time parameter to be sent to a vehicle key of the vehicle according to a first time parameter stored in advance and a current time parameter of a preset clock chip; the vehicle end controller sends the target time parameter and encrypted authentication information to the vehicle key, so that the vehicle key judges the legality of the authentication information based on the target time parameter and a second time parameter stored in advance by the vehicle key, and returns encrypted reply information corresponding to the authentication information when the legality judgment is passed; and the vehicle end controller unlocks the vehicle when the reply information is verified. The application can identify a replay attack and improve the anti-theft security of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and in particular to a vehicle control method, a vehicle-side controller, a vehicle key, and a vehicle. Background Technology

[0002] With the advancement of social productivity, automobiles have entered thousands of households and gradually become one of the necessities of people's lives. At present, vehicles are becoming increasingly intelligent, with a large number of functions integrated into them, such as Passive Entry Passive Start (PEPS) function.

[0003] However, existing keyless entry and start functions are often vulnerable to replay attacks, posing a risk of vehicle theft. Summary of the Invention

[0004] This application provides a vehicle control method, a vehicle-side controller, a vehicle key, and a vehicle to address vehicle security issues caused by replay attacks.

[0005] In a first aspect, embodiments of this application provide a vehicle control method, including:

[0006] When a vehicle unlocking signal is detected, the vehicle's on-board controller determines the target time parameter to be sent to the vehicle key based on a pre-stored first time parameter and the current time parameter of a preset clock chip; wherein, the time parameter of the preset clock chip increases over time.

[0007] The vehicle controller sends the target time parameter and encrypted authentication information to the car key, so that the car key can perform a validity check on the authentication information based on the target time parameter and the second time parameter pre-stored in the car key, and return encrypted reply information corresponding to the authentication information if the validity check is successful;

[0008] If the response information is verified, the vehicle controller unlocks the vehicle and updates the pre-stored first time parameter to the current time parameter of the preset clock chip. It then sends a verification pass message carrying the updated first time parameter to the car key, so that the car key updates the pre-stored second time parameter to the updated first time parameter.

[0009] Secondly, embodiments of this application provide a vehicle control method, including:

[0010] When the vehicle receives the target time parameter and encrypted authentication information sent by the vehicle's on-board controller, the car key performs a validity check on the authentication information based on the target time parameter and the second time parameter pre-stored in the car key.

[0011] If the legitimacy check passes, the car key returns an encrypted response message corresponding to the authentication information to the vehicle controller, allowing the vehicle controller to verify the response message. If the verification passes, the vehicle is unlocked, and the first time parameter pre-stored in the vehicle controller is updated to the current time parameter of the preset clock chip. The verification pass message carrying the updated first time parameter is then sent to the car key; wherein, the time parameter of the preset clock chip increases over time.

[0012] The car key updates the pre-stored second time parameter to the updated first time parameter.

[0013] Thirdly, embodiments of this application provide a vehicle-side controller, including:

[0014] The parameter determination module is used to determine the target time parameter of the car key to be sent to the vehicle based on the pre-stored first time parameter and the current time parameter of the preset clock chip when the vehicle unlocking signal is detected; wherein, the time parameter of the preset clock chip increases with time.

[0015] The information sending module is used to send the target time parameter and the encrypted authentication information to the car key, so that the car key can perform a legality judgment on the authentication information based on the target time parameter and the second time parameter pre-stored in the car key, and return encrypted reply information corresponding to the authentication information if the legality judgment is successful;

[0016] The control module is used to unlock the vehicle when the response information is verified, update the pre-stored first time parameter to the current time parameter of the preset clock chip, and send the verification information carrying the updated first time parameter to the car key, so that the car key updates the pre-stored second time parameter to the updated first time parameter.

[0017] Fourthly, embodiments of this application provide a car key, including:

[0018] The judgment module is used to judge the legality of the authentication information based on the target time parameter and the second time parameter pre-stored in the car key when it receives the target time parameter and encrypted authentication information sent by the vehicle's terminal controller.

[0019] The return module is used to return encrypted response information corresponding to the authentication information to the vehicle controller when the legality check passes, so that the vehicle controller can verify the response information. If the verification passes, the vehicle controller unlocks the vehicle, updates the first time parameter pre-stored in the vehicle controller to the time parameter of the preset clock chip at this time, and sends the verification pass information carrying the updated first time parameter to the car key; wherein, the time parameter of the preset clock chip increases with time;

[0020] An update module is used to update the pre-stored second time parameter to the updated first time parameter.

[0021] Fifthly, embodiments of this application provide a vehicle including an electronic device, the electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described in the first or second aspect above.

[0022] This application provides a vehicle control method, a vehicle-side controller, a car key, and a vehicle. Specifically, it provides a new interaction protocol between the vehicle-side controller and the car key. In this protocol, the vehicle-side controller and the car key need to store synchronization time parameters, and add a time parameter to the low-frequency signal emitted by the vehicle-side controller to characterize the time of signal emission. Thus, when the car key receives a low-frequency signal, if the time parameter stored in the car key is newer than the time parameter in the received low-frequency signal, it indicates that this low-frequency signal is a previously sent signal from the vehicle-side controller, i.e., a replay signal. In this case, the car key will not respond with a high-frequency signal, thereby preventing criminals from obtaining the high-frequency signal returned by the car key, reducing the risk of vehicle theft, and greatly improving the anti-theft security of vehicles equipped with keyless entry and start functions. Attached Figure Description

[0023] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0024] Figure 1 This is a flowchart illustrating the implementation of a vehicle control method provided in an embodiment of this application;

[0025] Figure 2 This is a signaling diagram of a vehicle control method provided in an embodiment of this application;

[0026] Figure 3This is a hardware architecture diagram of a vehicle control method provided in an embodiment of this application;

[0027] Figure 4 This is a schematic diagram of the structure of a vehicle-side controller provided in an embodiment of this application;

[0028] Figure 5 This is a schematic diagram of the structure of a car key provided in an embodiment of this application;

[0029] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of this application;

[0030] Figure 7 This is a schematic diagram of a vehicle provided in an embodiment of this application. Detailed Implementation

[0031] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0032] To make the objectives, technical solutions, and advantages of this application clearer, the following description will be provided in conjunction with the accompanying drawings and specific embodiments.

[0033] As described in related technologies, existing keyless entry and start functions are often vulnerable to replay attacks. This is because the interaction between the existing keyless entry and start controller (hereinafter referred to as the vehicle controller) and the car key has a vulnerability. Specifically, the vehicle controller sends a low-frequency signal carrying encrypted data to the car key. After receiving and successfully decrypting the low-frequency signal, the car key replies with a high-frequency signal carrying corresponding data. Based on this logic, criminals can collect the low-frequency signal sent by the vehicle controller at a certain moment, then replay that low-frequency signal to the car key, thereby obtaining the high-frequency signal returned by the car key—a replay attack. Criminals can then use this high-frequency signal to commit vehicle theft, thus posing a risk of vehicle theft.

[0034] To address the problems of the prior art, embodiments of this application provide a vehicle control method, a vehicle-side controller, a vehicle key, and a vehicle. The vehicle control method provided in this application embodiment will be described first below.

[0035] Unlike existing car key responses to high-frequency signals, this application provides a novel transmission protocol. In general, the vehicle controller and the car key need to store synchronized time parameters. A time parameter characterizing the signal's origin is added to the low-frequency signal emitted by the vehicle controller. Thus, when the car key receives a low-frequency signal, if its stored time parameter is newer than the time parameter in the received low-frequency signal, it indicates that the low-frequency signal is a previously sent signal from the vehicle controller—a replay signal. In this case, the car key will not respond with a high-frequency signal, thereby preventing malicious actors from obtaining the high-frequency signal returned by the car key.

[0036] See Figure 1 The document illustrates a flowchart of the vehicle control method provided in this embodiment, which is described in detail below:

[0037] Step 110: When the vehicle unlocking signal is detected, the vehicle's on-board controller determines the target time parameter of the car key to be sent to the vehicle based on the pre-stored first time parameter and the current time parameter of the preset clock chip.

[0038] In some embodiments, the vehicle can be any type of vehicle, such as a gasoline vehicle, a diesel vehicle, or other vehicles with a fuel system, or a new energy vehicle such as an EV (Electric Vehicle), HEV (Hybrid Electric Vehicle), or PHEV (Plug-in Hybrid Electric Vehicle). The vehicle-side controller can be the vehicle's vehicle control unit (VCU), electronic control unit (ECU), or any electronic device capable of implementing keyless entry and start (PEPS) functionality.

[0039] In some embodiments, the unlocking signal can be a signal from the vehicle controller triggering the keyless entry and start function, such as a signal generated by the user pressing the one-button start switch or pulling the vehicle door handle. The preset clock chip can be any clock chip, whose generated time parameters increment over time. The time parameters can reflect the sequence of time, such as July 15, 2022, 13:25:30. The preset clock chip can be a clock chip from other electronic devices in the vehicle, or a clock chip built into the vehicle controller. It should be noted that, for safety and functional stability, a clock chip built into the vehicle controller is preferred to avoid other control commands affecting the clock chip's time stability and accuracy.

[0040] In some embodiments, the vehicle-side controller pre-stores a first time parameter. This first time parameter may be a time parameter configured at the factory according to a preset clock chip, such as storing the time parameter of the preset clock chip at a certain moment during the factory process as the first time parameter, or it may be a time parameter read from the replaced front vehicle-side controller.

[0041] It should be noted that for newly replaced vehicle-mounted controllers with built-in preset clock chips, after reading the time parameters from the previous vehicle-mounted controller, the preset clock chip needs to be calibrated based on these time parameters. This means configuring the preset clock chip to start timing from the read time parameters. This ensures that the time parameters stored in the replaced vehicle-mounted controller and the preset clock chip's time parameters are consistent with those of the previous vehicle-mounted controller, thus avoiding problems caused by data inconsistencies that lead to key verification failures and subsequent vehicle unlocking failures.

[0042] In this way, after the vehicle controller detects the vehicle's unlocking signal, it can determine the target time parameter to be sent to the car key based on the pre-stored first time parameter and the current time parameter of the preset clock chip, which is the time parameter that represents the moment when the low-frequency signal is emitted.

[0043] It should be noted that the function of the preset clock chip is to provide the latest time parameters. To ensure that replay attacks can still be detected even if the preset clock chip malfunctions, such as undergoing an erroneous reset or data reset, the vehicle-side controller needs to store time parameters. Specifically, the target time parameter needs to be the larger value between the first time parameter and the current time parameter of the preset clock chip. Thus, if the pre-stored first time parameter is less than or equal to the current time parameter of the preset clock chip, it indicates that the preset clock chip is normal, and in this case, the current time parameter of the preset clock chip can be determined as the target time parameter. If the pre-stored first time parameter is greater than the current time parameter of the preset clock chip, it indicates that the preset clock chip is malfunctioning, and in this case, the pre-stored first time parameter can be determined as the target time parameter.

[0044] In addition, if the pre-stored first time parameter is greater than the current time parameter of the preset clock chip, the preset clock chip needs to be corrected. That is, the preset clock chip is configured to start timing from the pre-stored first time parameter in order to restore the function of the preset clock chip to provide the latest time parameter.

[0045] Step 120: The vehicle controller sends the target time parameters and encrypted authentication information to the vehicle key.

[0046] After determining the target time parameters, the vehicle-side controller can send the target time parameters and encrypted authentication information to the vehicle key.

[0047] Step 130: The car key performs a validity check on the authentication information based on the target time parameter and the second time parameter pre-stored in the car key.

[0048] After receiving the target time parameter and encrypted authentication information, the car key can verify the validity of the authentication information. Specifically, if the target time parameter is greater than or equal to the second time parameter, it indicates that the low-frequency signal sent by the vehicle controller is not a previously sent signal, i.e., a replay signal, and the validity verification passes. If the target time parameter is less than the second time parameter, it indicates that the low-frequency signal sent by the vehicle controller is a previously sent signal, and the validity verification fails.

[0049] In this way, through the above-mentioned legality judgment process, replay signals can be identified. As a result, the car key will not respond with high-frequency signals, thus identifying replay attacks and preventing criminals from obtaining the high-frequency signals returned by the car key.

[0050] Step 140: If the legality check passes, the car key will return an encrypted response message corresponding to the authentication information to the vehicle controller.

[0051] In some embodiments, after the authentication information is verified to be legitimate, the car key can decrypt the authentication information, generate corresponding response information, and return the response information to the vehicle controller after encryption.

[0052] Step 150: If the reply information is verified, the vehicle controller unlocks the vehicle, updates the pre-stored first time parameter to the current time parameter of the preset clock chip, and sends the verification information carrying the updated first time parameter to the car key.

[0053] In some embodiments, upon receiving a response message, the vehicle controller can decrypt the message and then perform identity and location verification. If the verification is successful, the vehicle is unlocked. Furthermore, to ensure the identification of replay attacks, the vehicle controller also needs to update the pre-stored first time parameter to the current time parameter of the preset clock chip, and simultaneously send a verification success message carrying the updated first time parameter to the vehicle key. Thus, when the vehicle unlock signal is detected again, the target time parameter used next time will be newer than the current target time parameter.

[0054] Step 160: The car key updates the pre-stored second time parameter to the updated first time parameter.

[0055] In some embodiments, upon receiving the updated first time parameter, the car key can update its pre-stored second time parameter to the updated first time parameter, thereby synchronizing with the first time parameter stored by the vehicle controller for subsequent identification of replay attacks.

[0056] Optionally, based on the new transmission protocol provided in the embodiments of this application, the encryption process can be adjusted based on the added time parameter to improve encryption security.

[0057] Specifically, after determining the target time parameter, the vehicle controller can generate a target random number based on the target time parameter, and then use this target random number to encrypt the authentication information. Correspondingly, the vehicle controller sends the target time parameter and the encrypted authentication information to the car key, along with the target random number. The car key can then use the target random number to decrypt the encrypted authentication information. Thus, in addition to the existing encryption algorithm, the process of generating a target random number based on the target time parameter is added. Since the target random number is not predetermined, it is different for each encryption process, thereby increasing the encryption security.

[0058] It's worth noting that the number of times the target random number is reproduced can be controlled to further enhance encryption security. Specifically, the vehicle controller first generates a first random number based on the target time parameter. If the first random number is the same as any of the preset number of random numbers previously sent to the car key (e.g., the first 10 random numbers sent to the car key), the vehicle controller regenerates the first random number based on the current time parameter of the preset clock chip. If the regenerated first random number is still the same as any of the preset number of random numbers, the first random number is regenerated again until it is different from all of the preset number of random numbers. At this point, the last generated first random number is determined as the target random number.

[0059] Optionally, for new vehicle keys, to ensure their proper use, the vehicle-side controller needs to send the currently stored first-time parameters to the key to be matched during the new key matching process. Specifically, upon receiving a key matching request, if the request is valid, the vehicle-side controller sends the currently stored first-time parameters to the key to be matched, so that the key to be matched stores this first time as its second time parameter. In this way, the new key can use the time parameters synchronized with the vehicle-side controller to identify replay attacks.

[0060] To facilitate understanding of the interaction process between the vehicle controller and the vehicle key provided in the embodiments of this application, such as Figure 2 The diagram illustrates a signaling process; for details, please refer to [link / reference]. Figure 2The processing steps described above will not be repeated here.

[0061] like Figure 3 As shown, a hardware architecture for implementing the above-described vehicle control method is provided. Figure 3 In the vehicle-mounted controller, a clock chip and an MCU (Microcontroller Unit) are built-in to perform data processing such as encryption and updates. When the user presses the one-button start switch, the vehicle-mounted controller can receive the unlock signal, and then send the target time parameters and authentication information to the car key through a low-frequency drive chip and a low-frequency antenna.

[0062] This application provides a novel interaction protocol between a vehicle controller and a vehicle key. In this protocol, both the vehicle controller and the vehicle key store synchronized time parameters, and the low-frequency signal emitted by the vehicle controller includes a time parameter representing the moment the signal was emitted. Thus, when the vehicle key receives a low-frequency signal, if the time parameter stored in the vehicle key is newer than the time parameter in the received low-frequency signal, it indicates that the low-frequency signal is a previously sent signal from the vehicle controller, i.e., a replay signal. In this case, the vehicle key will not respond with a high-frequency signal, thereby preventing criminals from obtaining the high-frequency signal returned by the vehicle key, reducing the risk of vehicle theft, and greatly improving the anti-theft security of vehicles equipped with keyless entry and start functions.

[0063] It is worth mentioning that the interaction protocol between the vehicle controller and the car key provided in this application embodiment does not require the vehicle controller and the car key to additionally record previously used time parameters. For the car key, under the constraints of limited storage space and storage power, the demand for storage space and storage power can be greatly reduced, which has high practicality.

[0064] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0065] The following are device embodiments of this application. For details not described in detail, please refer to the corresponding method embodiments described above.

[0066] Figure 4 A schematic diagram of the vehicle-side controller provided in an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiments of this application are shown, and are described in detail below:

[0067] like Figure 4 As shown, a vehicle-side controller includes:

[0068] The parameter determination module 410 is used to determine the target time parameter of the car key to be sent to the vehicle based on the pre-stored first time parameter and the current time parameter of the preset clock chip when the vehicle unlocking signal is detected; wherein, the time parameter of the preset clock chip increases with time.

[0069] The information sending module 420 is used to send the target time parameter and the encrypted authentication information to the car key, so that the car key can perform a legality judgment on the authentication information based on the target time parameter and the second time parameter pre-stored in the car key, and return the encrypted reply information corresponding to the authentication information if the legality judgment is successful.

[0070] The control module 430 is used to unlock the vehicle when the response information is verified, update the pre-stored first time parameter to the time parameter of the preset clock chip at this time, and send the verification information carrying the updated first time parameter to the car key so that the car key updates the pre-stored second time parameter to the updated first time parameter.

[0071] In one possible implementation, the parameter determination module is also used for:

[0072] If the pre-stored first time parameter is less than or equal to the current time parameter of the preset clock chip, the current time parameter of the preset clock chip will be determined as the target time parameter.

[0073] If the pre-stored first time parameter is greater than the current time parameter of the preset clock chip, the pre-stored first time parameter will be determined as the target time parameter.

[0074] In one possible implementation, the vehicle-side controller also includes a correction module for:

[0075] The preset clock chip is calibrated so that it starts timing from the first pre-stored time parameter.

[0076] In one possible implementation, the vehicle-mounted controller also includes an encryption module for:

[0077] Generate a target random number based on the target time parameter, and use the target random number to generate encrypted authentication information;

[0078] Correspondingly, the information sending module is also used for:

[0079] Send the target time parameter, target random number, and encrypted authentication information to the car key.

[0080] In one possible implementation, the information sending module is also used for:

[0081] When a car key matching request is received, if the car key matching request is valid, the first time parameter stored at this time is sent to the key to be matched, so that the key to be matched stores the first time stored at this time as the second time parameter of the key to be matched.

[0082] Figure 5 A schematic diagram of the structure of a car key provided in an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiments of this application are shown, and are described in detail below:

[0083] like Figure 5 As shown, the car key includes:

[0084] The judgment module 510 is used to judge the legality of the authentication information based on the target time parameter and the second time parameter pre-stored in the car key when it receives the target time parameter and encrypted authentication information sent by the vehicle terminal controller.

[0085] The return module 520 is used to return encrypted response information corresponding to the authentication information to the vehicle controller when the legality judgment is passed, so that the vehicle controller can verify the response information, and if the verification is successful, unlock the vehicle, update the first time parameter pre-stored in the vehicle controller to the time parameter of the preset clock chip at this time, and send the verification success information carrying the updated first time parameter to the car key; wherein, the time parameter of the preset clock chip increases with time;

[0086] The update module 530 is used to update the pre-stored second time parameter to the updated first time parameter.

[0087] In one possible implementation, the decision module is also used for:

[0088] If the target time parameter is greater than or equal to the second time parameter, the validity check passes.

[0089] If the target time parameter is less than the second time parameter, the validity check fails.

[0090] This application provides a novel interaction protocol between a vehicle controller and a vehicle key. In this protocol, both the vehicle controller and the vehicle key store synchronized time parameters, and the low-frequency signal emitted by the vehicle controller includes a time parameter representing the moment the signal was emitted. Thus, when the vehicle key receives a low-frequency signal, if the time parameter stored in the vehicle key is newer than the time parameter in the received low-frequency signal, it indicates that the low-frequency signal is a previously sent signal from the vehicle controller, i.e., a replay signal. In this case, the vehicle key will not respond with a high-frequency signal, thereby preventing criminals from obtaining the high-frequency signal returned by the vehicle key, reducing the risk of vehicle theft, and greatly improving the anti-theft security of vehicles equipped with keyless entry and start functions.

[0091] This application also provides a computer program product having program code that, when run in a corresponding processor, controller, computing device, or terminal, executes the steps in any of the vehicle control method embodiments described above, for example... Figure 1 Steps 110 to 160 are shown. Those skilled in the art will understand that the methods and apparatus proposed in the embodiments of this application can be implemented in various forms, including hardware, software, firmware, dedicated processors, or combinations thereof. Dedicated processors may include application-specific integrated circuits (ASICs), reduced instruction set computers (RISCs), and / or field-programmable gate arrays (FPGAs). The proposed methods and apparatus are preferably implemented as a combination of hardware and software. The software is preferably installed as an application program on a program storage device. This is typically based on a computer platform with hardware such as one or more central processing units (CPUs), random access memory (RAM), and one or more input / output (I / O) interfaces. An operating system is also typically installed on the computer platform. The various processes and functions described herein may be part of an application program, or a portion thereof may be executed by an operating system.

[0092] Figure 6 This is a schematic diagram of the electronic device 6 provided in an embodiment of this application. Figure 6 As shown, the electronic device 6 in this embodiment includes a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. When the processor 60 executes the computer program 62, it implements the steps described in the various vehicle control method embodiments above, for example... Figure 1 The steps performed by the vehicle-mounted controller or the vehicle key in steps 110 to 160 shown. Alternatively, when the processor 60 executes the computer program 62, it implements the functions of each module in the above-described device embodiments, for example... Figure 4 The functions of modules 410 to 430 shown, or as... Figure 5 The functions of modules 510 to 530 are shown.

[0093] For example, the computer program 62 can be divided into one or more modules, which are stored in the memory 61 and executed by the processor 60 to complete this application. The one or more modules can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 62 in the electronic device 6. For example, the computer program 62 can be divided into... Figure 4 Modules 410 to 430 shown, or as Figure 5 Modules 510 to 530 are shown.

[0094] The electronic device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that... Figure 6 This is merely an example of electronic device 6 and does not constitute a limitation on electronic device 6. It may include more or fewer components than shown, or combine certain components, or different components. For example, the electronic device may also include input / output devices, network access devices, buses, etc.

[0095] The processor 60 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0096] The memory 61 can be an internal storage unit of the electronic device 6, such as a hard disk or memory. The memory 61 can also be an external storage device of the electronic device 6, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 61 can include both internal and external storage units of the electronic device 6. The memory 61 is used to store the computer program and other programs and data required by the electronic device. The memory 61 can also be used to temporarily store data that has been output or will be output.

[0097] This application also provides a vehicle, such as... Figure 7 As shown, the vehicle 7 includes the aforementioned electronic equipment 6.

[0098] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0099] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0100] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0101] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0102] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0103] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0104] If the integrated module is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above-described embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various vehicle control method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0105] Furthermore, the features of the embodiments shown in the accompanying drawings or the various embodiments mentioned in this specification should not be construed as independent embodiments. Rather, each feature described in one example of an embodiment can be combined with one or more other desired features from other embodiments to produce other embodiments not described in words or with reference to the accompanying drawings.

[0106] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A vehicle control method, characterized in that, include: When a vehicle unlocking signal is detected, the vehicle's on-board controller determines the target time parameter to be sent to the vehicle key based on a pre-stored first time parameter and the current time parameter of a preset clock chip; wherein, the time parameter of the preset clock chip increases over time. The vehicle controller sends the target time parameter and encrypted authentication information to the car key, so that the car key can perform a validity check on the authentication information based on the target time parameter and a second time parameter pre-stored in the car key. If the validity check passes, the car key returns an encrypted response corresponding to the authentication information. Specifically, if the target time parameter is greater than or equal to the second time parameter, the validity check of the authentication information passes; if the target time parameter is less than the second time parameter, the validity check of the authentication information fails, and the car key does not respond. If the response information is verified, the vehicle controller unlocks the vehicle and updates the pre-stored first time parameter to the current time parameter of the preset clock chip. It then sends a verification pass message carrying the updated first time parameter to the car key, so that the car key updates the pre-stored second time parameter to the updated first time parameter.

2. The vehicle control method according to claim 1, characterized in that, The step of determining the target time parameter to be sent to the vehicle key based on the pre-stored first time parameter and the current time parameter of the preset clock chip includes: If the pre-stored first time parameter is less than or equal to the current time parameter of the preset clock chip, the current time parameter of the preset clock chip is determined as the target time parameter; If the pre-stored first time parameter is greater than the current time parameter of the preset clock chip, the pre-stored first time parameter is determined as the target time parameter.

3. The vehicle control method according to claim 2, characterized in that, After determining the pre-stored first time parameter as the target time parameter, the method further includes: The preset clock chip is calibrated so that it starts timing from the pre-stored first time parameter.

4. The vehicle control method according to claim 1, characterized in that, Before the vehicle-mounted controller sends the target time parameter and encrypted authentication information to the vehicle key, the method further includes: The vehicle-side controller generates a target random number based on the target time parameter, and uses the target random number to generate encrypted authentication information; The vehicle-mounted controller sends the target time parameter and encrypted authentication information to the vehicle key, including: The vehicle controller sends the target time parameter, the target random number, and the encrypted authentication information to the vehicle key.

5. The vehicle control method according to claim 1, characterized in that, The method further includes: When a car key matching request is received, if the car key matching request is valid, the vehicle controller sends the first time parameter stored at this time to the key to be matched, so that the key to be matched stores the first time stored at this time as the second time parameter of the key to be matched.

6. A vehicle control method, characterized in that, include: When the vehicle receives the target time parameter and encrypted authentication information from the vehicle's terminal controller, the car key performs a validity check on the authentication information based on the target time parameter and a second time parameter pre-stored in the car key. If the target time parameter is greater than or equal to the second time parameter, the validity check of the authentication information passes; if the target time parameter is less than the second time parameter, the validity check of the authentication information fails, and the car key does not respond. If the legitimacy check passes, the car key returns an encrypted response message corresponding to the authentication information to the vehicle controller, allowing the vehicle controller to verify the response message. If the verification passes, the vehicle is unlocked, and the first time parameter pre-stored in the vehicle controller is updated to the current time parameter of the preset clock chip. The verification pass message carrying the updated first time parameter is then sent to the car key; wherein, the time parameter of the preset clock chip increases over time. The car key updates the pre-stored second time parameter to the updated first time parameter.

7. A vehicle-side controller, characterized in that, include: The parameter determination module is used to determine the target time parameter of the car key to be sent to the vehicle based on the pre-stored first time parameter and the current time parameter of the preset clock chip when the vehicle unlocking signal is detected; wherein, the time parameter of the preset clock chip increases with time. The information sending module is used to send the target time parameter and encrypted authentication information to the car key, so that the car key can perform a validity judgment on the authentication information based on the target time parameter and a second time parameter pre-stored in the car key, and return encrypted reply information corresponding to the authentication information if the validity judgment is successful; if the target time parameter is greater than or equal to the second time parameter, the validity judgment of the authentication information is successful; if the target time parameter is less than the second time parameter, the validity judgment of the authentication information is unsuccessful, and the car key does not reply; The control module is used to unlock the vehicle when the response information is verified, update the pre-stored first time parameter to the current time parameter of the preset clock chip, and send the verification information carrying the updated first time parameter to the car key, so that the car key updates the pre-stored second time parameter to the updated first time parameter.

8. A car key, characterized in that, include: The judgment module is used to, when receiving target time parameters and encrypted authentication information sent by the vehicle's terminal controller, perform a validity judgment on the authentication information based on the target time parameters and the second time parameters pre-stored in the car key; if the target time parameter is greater than or equal to the second time parameter, the validity judgment of the authentication information passes; if the target time parameter is less than the second time parameter, the validity judgment of the authentication information fails, and the car key does not respond; The return module is used to return encrypted response information corresponding to the authentication information to the vehicle controller when the legality check is passed, so that the vehicle controller can verify the response information, and if the verification is successful, unlock the vehicle, update the first time parameter pre-stored by the vehicle controller to the time parameter of the preset clock chip at this time, and send the verification success information carrying the updated first time parameter to the car key; wherein, the time parameter of the preset clock chip increases with time; An update module is used to update the pre-stored second time parameter to the updated first time parameter.

9. A vehicle comprising electronic equipment, said electronic equipment including a memory, a processor, and a computer program stored in said memory and executable on said processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5 above, or implements the steps of the method as described in claim 6 above.

Citation Information

Patent Citations

  • Automobile key communication method based on time encryption

    CN109166218A

  • Immobilizer, and attesting method by immobilizer

    JP2001012123A