Vehicle key searching method and vehicle
By adjusting the key search function status of the vehicle to the first state when the condition meets the conditions and performing the search process, the problem of failure of the key search process under the keyless entry function is solved, and the accuracy of judging the existence of the key and the vehicle safety are improved.
Patent Information
- Application Number
- CN202411160287.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-06
AI Technical Summary
With the keyless entry function, existing vehicles are prone to failure in the key search process, resulting in the problem of not being able to determine whether the key is in the car.
By determining whether the status of the key search function meets the target conditions when receiving the key search request, and adjusting it to the first state to execute the search process, ensuring that it can be switched to the second state in time when subsequent requests are received, reducing the process Probability of failure.
It effectively reduces the number of times the vehicle cannot determine whether the key is in the car, improves the accuracy and efficiency of key searches, and enhances the safety of the vehicle.
Smart Images

Figure CN119095033A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle key search method and a vehicle in the field of vehicle technology. Background Art
[0002] With the continuous development of science and technology, users have higher and higher requirements for the convenience of vehicles. For example, in order to improve the convenience of users' cars, the keyless entry function came into being. This keyless entry function allows users to lock and unlock the doors and start the engine through wireless communication technology without physically touching the key.
[0003] Normally, in order to ensure the safety of the vehicle, when the user enters the vehicle through the keyless entry function and starts the engine, the vehicle will search for the key again to ensure that it is in the vehicle. However, currently, during the process of the vehicle confirming whether the key is in the vehicle, it is easy to fail to trigger the vehicle's key search process, resulting in the vehicle being unable to determine whether the key is in the vehicle. Summary of the invention
[0004] The present application provides a vehicle key search method and a vehicle, which can reduce the probability of failure in triggering the vehicle's key search process, thereby reducing the number of times the vehicle cannot determine whether the key is in the vehicle.
[0005] In a first aspect, a vehicle key search method is provided, the method comprising: upon receiving a vehicle key search request, determining whether the state of a key search function of the vehicle satisfies a target condition, the target condition being that the state of the key search function is switched from a first state to a second state, the first state being used to indicate that the vehicle has not attempted to establish communication with the vehicle key, and the second state being used to indicate that the vehicle has attempted to establish communication with the vehicle key; when the state of the key search function satisfies the target condition, adjusting the state of the key search function to the first state and executing the vehicle key search process.
[0006] In the above technical scheme, an embodiment of the present application provides a vehicle key search method: when it is determined that the state of the key search function meets the target condition, that is, the state of the key search function is switched from the first state to the second state, the state of the key search function will be adjusted to the first state and the vehicle key search process will be executed, that is, the vehicle can promptly adjust the state of the key search function to the first state, thereby ensuring that when a key search request is subsequently received, the state of the key search function can be switched from the first state to the second state. Since the vehicle can avoid the situation where the state of the key search function is not adjusted to the first state in time and the state of the key search function cannot be switched from the first state to the second state when a key search request is received, the probability that the vehicle cannot execute the key search process can be reduced, thereby reducing the number of times the vehicle cannot determine whether the key is in the vehicle.
[0007] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the state of the key search function meets the target condition, the state of the key search function is adjusted to the first state and the key search process of the vehicle is executed, including: when the state of the key search function meets the target condition, after adjusting the state of the key search function to the first state, the key search process of the vehicle is executed, or, when the state of the key search function meets the target condition, adjusting the state of the key search function to the first state while executing the key search process of the vehicle.
[0008] In the above technical scheme, the present application proposes two methods of executing the key search process of a vehicle. Specifically, one is to execute the key search process of the vehicle after adjusting the state of the key search function to the first state when the state of the key search function meets the target conditions. In this method, since it is necessary to ensure that the state of the key search function is the first state before executing the key search process of the vehicle, it can be further ensured that when the vehicle subsequently receives a key search request, the state of the key search function can be switched from the first state to the second state; the other is to execute the key search process of the vehicle while adjusting the state of the key search function to the first state when the state of the key search function meets the target conditions. In this method, since the adjustment of the state of the key search function is carried out simultaneously with the execution of the key search process, it can not only ensure that when the vehicle subsequently receives a key search request, the state of the key search function can be switched from the first state to the second state, but also reduce the time for the vehicle to execute the key search process.
[0009] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, a vehicle key search process is executed, including: sending an inquiry signal to the surrounding environment of the vehicle, the inquiry signal is used to wake up the key in the surrounding environment of the vehicle; when a response signal sent by the key is received, verifying the legitimacy of the response signal; when it is determined that the response signal is legal, determining that the key of the vehicle has been searched; when no response signal is received within a preset time or it is determined that the response signal is illegal, determining that the key of the vehicle has not been searched.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the response signal includes the ID signal of the key, and verifying the legitimacy of the response signal includes: comparing the ID signal with a preset ID signal; and when the ID signal matches the preset ID signal, determining that the response signal is legal.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after determining that the vehicle key has been searched, the method also includes: detecting whether the vehicle key is located inside the vehicle; if it is determined that the vehicle key is not located inside the vehicle, canceling the subsequent security check on the vehicle key, the security check is used to determine whether the key is allowed to start the vehicle; if it is determined that the vehicle key is located inside the vehicle, performing a security check on the vehicle key.
[0012] In the above technical solution, after it is determined that the vehicle key has been searched, it is possible to detect whether the vehicle key is located inside the vehicle, so as to determine whether to perform a subsequent safety check on the vehicle key based on the detection result. Specifically, if it is determined that the vehicle key is not located inside the vehicle, the subsequent safety check on the vehicle key is canceled; if it is determined that the vehicle key is located inside the vehicle, a safety check is performed on the vehicle key. Since the safety check is used to determine whether the key is allowed to start the vehicle, if the key is not located inside the vehicle, that is, if the key is located outside the vehicle, the determination of whether the key is allowed to start the vehicle can be canceled, thereby avoiding allowing the key to start the vehicle when the key is located outside the vehicle, thereby improving the safety of the vehicle.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the response signal includes the location information of the key, and detecting whether the key of the vehicle is located inside the vehicle includes: judging whether the key is located in the starting area of the vehicle based on the location information of the key; if it is determined that the key is located in the starting area of the vehicle, determining that the key is located inside the vehicle; or, obtaining the target strength of the response signal; comparing the target strength with the target threshold; if the target strength is greater than the target threshold, determining that the key is located inside the vehicle.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, a security check is performed on the vehicle key, including: detecting whether the vehicle key is in a safe state, the safe state is used to indicate that the key is authorized to access the vehicle; if it is determined that the vehicle key is not in a safe state, prohibiting starting the vehicle; if it is determined that the vehicle key is in a safe state, starting the vehicle.
[0015] In the above technical solution, when it is determined that the key of the vehicle is located inside the vehicle, it is possible to detect whether the key of the vehicle is in a safe state, so as to determine whether the vehicle can be started based on the detection result. Specifically, when it is determined that the key of the vehicle is not in a safe state, starting the vehicle is prohibited; when it is determined that the key of the vehicle is in a safe state, the vehicle is started. Since the safe state is used to indicate that the key is authorized to access the vehicle, when it is determined that the key of the vehicle is not in a safe state, that is, when it is determined that the key is not authorized, starting the vehicle can be prohibited, thereby ensuring that only authorized keys can control the vehicle, thereby ensuring the safety of the vehicle and preventing unauthorized access and potential theft risks.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, detecting whether the key of a vehicle is in a safe state includes: sending an encrypted signal to the key of the vehicle; receiving a second response signal sent by the key of the vehicle, the second response signal including a decryption signal generated by the key according to the encrypted signal; verifying whether the decryption signal matches a preset decryption signal; and determining that the key is in a safe state when the decryption signal matches the preset decryption signal.
[0017] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: while executing the vehicle's key search process, detecting whether a vehicle's key search request is received again; if the vehicle's key search request is received again, prohibiting execution of the vehicle's key search process.
[0018] In the above technical solution, when executing the vehicle's key search process, it can be detected whether the vehicle's key search request is received again, so that when the vehicle's key search request is received again, the vehicle's key search process can be prohibited, thereby avoiding the vehicle from restarting the key search process and increasing the vehicle's key search time.
[0019] In a second aspect, a vehicle key search device is provided, the device comprising:
[0020] a first determination module, configured to determine, upon receiving a key search request for the vehicle, whether a state of a key search function of the vehicle satisfies a target condition, the target condition being that the state of the key search function is switched from a first state to a second state, the first state being used to indicate that the vehicle does not attempt to establish communication with the key of the vehicle, and the second state being used to indicate that the vehicle attempts to establish communication with the key of the vehicle;
[0021] The execution module is used to adjust the state of the key search function to a first state and execute a key search process of the vehicle when the state of the key search function meets a target condition.
[0022] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the execution module is specifically used to execute the vehicle key search process after adjusting the state of the key search function to the first state when the state of the key search function meets the target condition, or to execute the vehicle key search process while adjusting the state of the key search function to the first state when the state of the key search function meets the target condition.
[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes a sending module for sending an inquiry signal to the surrounding environment of the vehicle, and the inquiry signal is used to wake up the key in the surrounding environment of the vehicle; the device also includes a verification module for verifying the legitimacy of the response signal when a response signal sent by the key is received; the device also includes a second determination module for determining that the key of the vehicle has been searched if it is determined that the response signal is legal; and determining that the key of the vehicle has not been searched if no response signal is received within a preset time or the response signal is determined to be illegal.
[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the verification module is specifically used to compare the ID signal with a preset ID signal; the second determination module is specifically used to determine that the response signal is legal when the ID signal matches the preset ID signal.
[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes a first detection module for detecting whether the vehicle key is located inside the vehicle; the device also includes a first control module for canceling the subsequent security check on the vehicle key when it is determined that the vehicle key is not located inside the vehicle, the security check is used to determine whether the key is allowed to start the vehicle; when it is determined that the vehicle key is located inside the vehicle, a security check is performed on the vehicle key.
[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the response signal includes the location information of the key, and the device also includes a judgment module for judging whether the key is located in the starting area of the vehicle based on the location information of the key; the second determination module is also used to determine that the key is located inside the vehicle when it is determined that the key is located in the starting area of the vehicle; or, the device also includes an acquisition module for acquiring a target strength of the response signal; the second determination module is also used to compare the target strength with a target threshold; when the target strength is greater than the target threshold, it is determined that the key is located inside the vehicle.
[0027] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the first detection module is also used to detect whether the vehicle key is in a safe state, and the safe state is used to indicate that the key is authorized to access the vehicle; the first control module is also used to prohibit starting the vehicle when it is determined that the vehicle key is not in a safe state; and start the vehicle when it is determined that the vehicle key is in a safe state.
[0028] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the sending module is also used to send an encrypted signal to the key of the vehicle; the verification module is also used to verify whether the decryption signal matches the preset decryption signal when the decryption signal sent by the key of the vehicle is received; the second determination module is also used to determine that the key is in a safe state when the decryption signal matches the preset decryption signal.
[0029] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes a second detection module, which is used to detect whether a vehicle key search request is received again when executing the vehicle key search process; the device also includes a second control module, which is used to prohibit the execution of the vehicle key search process if the vehicle key search request is received again.
[0030] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the vehicle key search method in the first aspect or any possible implementation of the first aspect.
[0031] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the vehicle key search method in the first aspect or any possible implementation of the first aspect.
[0032] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle key search method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a scenario schematic diagram of a vehicle key search method provided in an embodiment of the present application;
[0034] Figure 2 is a schematic flow chart of a vehicle key search method provided in an embodiment of the present application;
[0035] Figure 3 is a schematic flow chart of a vehicle key search process provided by an embodiment of the present application;
[0036] Figure 4 is a structural schematic diagram of a vehicle key search device provided in an embodiment of the present application;
[0037] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0039] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0040] Before introducing the solutions of the embodiments of the present application, the professional terms that may be involved in the embodiments of the present application are first explained.
[0041] Radio Frequency Identification (RFID) technology is a type of automatic identification technology that uses wireless radio frequency to conduct non-contact two-way data communication and read and write recording media (electronic tags or radio frequency cards) to achieve the purpose of identifying targets and exchanging data. It is considered to be one of the most promising information technologies in the 21st century.
[0042] Ultra High Frequency (UHF) technology: refers to wireless communication technology with an operating frequency range of 300MHz to 3GHz. The wavelength of radio waves in the UHF band is approximately between 1 meter and 10 centimeters. This frequency band has been widely used in many fields due to its unique propagation characteristics and application advantages, such as the automotive field, satellite communication field, and television broadcasting field.
[0043] Ultra-Wideband (UWB) technology: It is a wireless carrier communication technology that does not use a sinusoidal carrier but uses nanosecond non-sinusoidal narrow pulses to transmit data, so it occupies a wide spectrum range. Its characteristic is that it uses a very wide spectrum bandwidth for data transmission, usually between several hundred megahertz and several gigahertz. Due to the characteristics of UWB technology such as high data transmission rate (up to 1Gbit / s), strong anti-multipath interference ability, low power consumption, low cost, strong penetration ability, low interception rate, and sharing of spectrum with other existing wireless communication systems, UWB technology has become the preferred technology for wireless personal area network communication technology (WPAN).
[0044] Body Control Module (BCM): It is a key component in the vehicle's electronic system, responsible for monitoring and controlling various vehicle functions, including door locks, windows, lights, wipers, etc., and is also responsible for the management of the smart key system.
[0045] Key search function: It is an important feature of the smart key system of modern vehicles. It is designed to quickly locate the key. This function usually communicates wirelessly with the key through technologies such as radio frequency identification (RFID), ultra-high frequency (UHF) or ultra-wideband (UWB).
[0046] The vehicle's smart key system, also known as the Keyless Entry System (KES) or Keyless Go System (KGS), is a modern vehicle safety and convenience technology. It is a vehicle ECU that integrates "keyless entry", "wireless remote control", "one-button start", "anti-theft function" and other functions. It uses wireless communication to identify valid keys and replace many functions of mechanical keys. For example, "keyless entry" can be unlocked and locked directly through the buttons or touch areas on the vehicle door handle, "remote control function" can directly press the trigger button on the electronic key to unlock, lock and unlock the trunk of the vehicle, and "one-button start" means that when the user enters the car with the electronic key, he can directly press the start button to start the vehicle.
[0047] It is understandable that the premise for the vehicle's smart key system to achieve these functions is that the vehicle's smart key system successfully identifies the electronic key. Normally, in order to ensure the safety of the vehicle, when the user enters the vehicle through the keyless entry system and starts the vehicle's engine, the vehicle will search for the location of the electronic key again to ensure that it is in the vehicle. However, at present, in the process of the vehicle confirming whether the key is in the vehicle, it is easy to fail to trigger the vehicle's key search process, resulting in the vehicle being unable to determine whether the key is in the vehicle.
[0048] Based on the above problems, the present application provides a vehicle key search method, which can reduce the probability of failure in triggering the vehicle's key search process, thereby reducing the number of times the vehicle cannot determine whether the key is in the vehicle.
[0049] Figure 1 This is a scenario diagram of a vehicle key search method provided by the present application.
[0050] For example, Figure 1 As shown, the vehicle 101 may be any vehicle equipped with a smart key system. For example, the vehicle may be a new energy vehicle, a hybrid vehicle, or a fuel vehicle equipped with a smart key system, which is not limited in the present embodiment.
[0051] The vehicle 101 is used to send an inquiry signal to the electronic key 102 to wake up the electronic key 102 when the user enters the vehicle through the keyless entry system and starts the engine. After waking up the electronic key 102 and determining that the electronic key 102 is located in the starting area inside the vehicle 101, an encrypted signal is sent to the electronic key 102 to verify the security of the electronic key 102. When it is determined that the electronic key 102 is in a safe state, the engine is started.
[0052] The electronic key 102 is used to send a corresponding response signal to the vehicle 101 when receiving an inquiry signal sent by the vehicle 101, so that the vehicle 101 can determine whether the electronic key 102 is located in the starting area inside the vehicle 101 based on the response signal; the electronic key 102 is also used to send a corresponding decryption signal to the vehicle 101 when receiving an encryption signal sent by the vehicle 101, so that the vehicle 101 can verify the security of the electronic key 102 based on the decryption signal.
[0053] Below through Figure 2 The method of the embodiment of the present application is described in detail.
[0054] It should be understood that the method provided in the embodiment of the present application can be applied to an electronic device, which can be an electronic control unit (ECU) in a vehicle.
[0055] Figure 2 It is a schematic flow chart of a vehicle key search method provided in an embodiment of the present application.
[0056] For example, Figure 2 As shown, taking the execution subject as ECU as an example, the method 200 includes:
[0057] Step 201 , upon receiving a key search request of a vehicle, determining whether the state of a key search function of the vehicle satisfies a target condition, wherein the target condition is that the state of the key search function is switched from a first state to a second state.
[0058] The first state is used to indicate that the vehicle has not attempted to establish communication with the vehicle's key, which can also be understood as the vehicle has not activated the vehicle's key search function at this time. The second state is used to indicate that the vehicle has attempted to establish communication with the vehicle's key, which can also be understood as the vehicle has activated the vehicle's key search function at this time. In a possible implementation, the first state can adjust the flag bit of the vehicle's key search function to 0, that is, when the flag bit of the key search function is 0, it can be determined that the vehicle has not attempted to establish communication with the vehicle's key; the second state can adjust the flag bit of the vehicle's key search function to 1, that is, when the flag bit of the key search function is 1, it can be determined that the vehicle has attempted to establish communication with the vehicle's key. The state of the key search function switches from the first state to the second state, which can be understood as the vehicle switches from not attempting to establish communication with the vehicle's key to attempting to establish communication with the vehicle's key.
[0059] It should be noted that when the user enters the vehicle through the keyless entry function, presses the vehicle's start button and steps on the vehicle's brake pedal, the vehicle's body control module (Body Control Module, BCM) will send a vehicle key search request to the vehicle's ECU, so that the vehicle's ECU, upon receiving the key search request, determines whether the state of the vehicle's key search function meets the target condition, that is, whether the state of the vehicle's key search function is switched from the first state to the second state, and then, when it is determined that the state of the vehicle's key search function is switched from the first state to the second state, executes the vehicle's key search process to determine whether the vehicle's key is located in the starting area inside the vehicle.
[0060] Step 202: When the state of the key search function meets the target condition, the state of the key search function is adjusted to a first state and a key search process of the vehicle is executed.
[0061] Specifically, when the vehicle's ECU determines that the state of the vehicle's key search function meets the target condition, it determines that the vehicle is trying to establish communication with the vehicle's key at this time, that is, in this case, the vehicle's key search process can be executed to determine whether the vehicle's key is located in the start area inside the vehicle. In addition, the vehicle's ECU will also adjust the state of the key search function to the first state, so as to ensure that when a key search request is received later, the state of the key search function can be switched from the first state to the second state, thereby avoiding the situation where the vehicle does not adjust the state of the key search function to the first state in time, and when a key search request is received, the state of the key search function cannot be switched from the first state to the second state, thereby reducing the probability that the vehicle cannot execute the key search process.
[0062] Taking into account that the user may press the start button and step on the vehicle's brake pedal multiple times in a short period of time, causing the vehicle's BCM to repeatedly send the vehicle's key search request to the ECU, resulting in the vehicle restarting the key search process while executing the key search process, increasing the vehicle's key search time. In a possible implementation, while executing the vehicle's key search process, the ECU can detect whether it has received the vehicle's key search request sent by the BCM again, so as to prohibit the execution of the vehicle's key search process when the vehicle's key search request is received again, thereby avoiding the vehicle from restarting the key search process.
[0063] In summary, when it is determined that the state of the key search function meets the target condition, that is, the state of the key search function is switched from the first state to the second state, the vehicle's ECU will adjust the state of the key search function to the first state and execute the vehicle's key search process, that is, the vehicle's ECU can promptly adjust the state of the key search function to the first state, so as to ensure that when a key search request is received subsequently, the state of the key search function can be switched from the first state to the second state. Since it can avoid the situation where the vehicle does not adjust the state of the key search function to the first state in time and the state of the key search function cannot be switched from the first state to the second state when a key search request is received, the probability of the vehicle failing to execute the key search process can be reduced, thereby reducing the number of times the vehicle cannot determine whether the key is in the vehicle.
[0064] In a possible implementation, when the state of the key search function meets the target condition, the embodiment of the present application proposes two methods for executing the vehicle key search process, which are as follows:
[0065] The first method is to execute the vehicle key search process after adjusting the state of the key search function to the first state when the state of the key search function satisfies the target condition.
[0066] It should be noted that in this method, since the ECU needs to adjust the state of the key search function to the first state before executing the vehicle's key search process, it can further ensure that when the vehicle subsequently receives a key search request, the state of the key search function can be switched from the first state to the second state.
[0067] The second method is to adjust the state of the key search function to the first state and execute the key search process of the vehicle when the state of the key search function meets the target condition.
[0068] It should be noted that in this mode, since the ECU adjusts the state of the key search function and executes the key search process simultaneously, it can not only ensure that when the vehicle subsequently receives a key search request, the state of the key search function can be switched from the first state to the second state, but also reduce the time for the vehicle to search for the key.
[0069] The following is a detailed introduction to the specific implementation steps of the ECU's key search process for the vehicle:
[0070] Step 1: Send an inquiry signal to the surrounding environment of the vehicle, where the inquiry signal is used to wake up the key in the surrounding environment of the vehicle.
[0071] It should be noted that in order to reduce the power consumption of the key and extend the life of the key battery, when the key is not used or moved within a preset time or the distance between the key and the vehicle exceeds a preset distance, the key will automatically enter a sleep mode until it receives an inquiry signal sent by the vehicle, and then it will be awakened (activated). Among them, the specific time threshold and distance threshold vary depending on the manufacturer and battery model. For example, the time threshold is generally between a few minutes and thirty minutes, and the distance threshold is generally between one and three meters. The embodiment of the present application does not make specific limitations on this.
[0072] Specifically, when the ECU starts to execute the vehicle's key search process, it will send an inquiry signal to the surroundings of the vehicle through wireless communication technology, such as Radio Frequency Identification (RFID), Ultra High Frequency (UHF) or Ultra-Wideband (UWB). When the vehicle's key is located in the vehicle's surroundings, it can be awakened to respond to the inquiry signal sent by the ECU, that is, send a response signal to the vehicle's ECU.
[0073] It should be noted that the propagation range of the inquiry signal sent by the ECU through different wireless communication technologies is different. For example, when the ECU sends the inquiry signal through RFID technology, the propagation range of the inquiry signal is generally between a few centimeters and one meter. In this case, the key will only be awakened when the distance between the key and the vehicle is close. For another example, when the ECU sends the inquiry signal through UHF technology, the propagation range of the inquiry signal is generally between a few meters and tens of meters. In this case, the key will also be awakened when the distance between the key and the vehicle is long.
[0074] Step 2: Upon receiving a response signal sent by the key, verify the legitimacy of the response signal.
[0075] Specifically, when the ECU receives a response signal sent by the key, in order to ensure that the key is a legitimate key paired with the vehicle, that is, to ensure the safety of the vehicle, the ECU needs to verify the legitimacy of the response signal so as to determine whether the key paired with the vehicle is found based on the verification result.
[0076] In a possible implementation, the response signal includes an ID signal of the key, and verifying the legitimacy of the response signal includes: comparing the ID signal with a preset ID signal; and determining that the response signal is legitimate when the ID signal matches the preset ID signal.
[0077] The ID signal is a wireless signal sent by the key that contains its unique identification code (ID). The ID signal is the electronic identity of the key and is used by the vehicle's ECU to verify the legitimacy of the key. The ID signal of each key is unique and is programmed into the key's electronic chip by the developer during production to ensure the uniqueness and non-replicability of each key.
[0078] It should be noted that in order to prevent the ID signal from being illegally copied or cracked, the ID signal is usually encrypted. Therefore, after the ECU receives the ID signal sent by the key, it needs to first decrypt the ID signal to extract the key's unique identification code (ID). After extracting the key's ID, the key's ID is compared with the legal key ID list stored in its memory. If the key's ID matches any ID in the list, the ECU determines that the response signal is legal, that is, it determines that the key is legal. Otherwise, the ECU considers the key to be illegal and refuses to perform any operation, such as unlocking the door or starting the vehicle's engine. It should be understood that the ID list includes the IDs of all legal paired keys, which are usually programmed into the ECU when the vehicle leaves the factory.
[0079] Step 3: If the response signal is determined to be legitimate, determine that the key of the vehicle is found; if no response signal is received within a preset time or the response signal is determined to be illegitimate, determine that the key of the vehicle is not found.
[0080] It is understandable that when the ECU receives the response signal sent by the key, the ECU can determine whether the vehicle key is searched, that is, whether the key paired with the vehicle is searched, based on the legitimacy of the response signal. Specifically, if the ECU determines that the response signal sent by the key is legitimate, it will determine that the vehicle key is searched; if the ECU determines that the response signal sent by the key is not legitimate, it will determine that the vehicle key is not searched.
[0081] In a possible implementation, when the ECU does not receive a response signal sent by the key within a preset time, it indicates that there is no key paired with the vehicle in the surrounding environment of the vehicle, and the ECU can directly determine that the key of the vehicle has not been searched. The developer can set the preset time according to the transmission speed of the signal and the wireless communication technology used. For example, the preset time can be 1.5 seconds or 2 seconds, which is not limited in the embodiment of the present application.
[0082] In order to prevent the key's response signal from being remotely controlled and reduce the risk of vehicle theft, in a possible implementation, after determining that the vehicle's key has been searched, it is also possible to detect whether the vehicle's key is located inside the vehicle, so as to determine whether to perform a subsequent safety test on the vehicle's key based on the test result. The safety test is used to determine whether the key is allowed to start the vehicle, and specifically, the safety test is used to determine that only legally authorized keys can control the vehicle.
[0083] Specifically, when the ECU determines that the vehicle key is not inside the vehicle, the subsequent safety check on the vehicle key is canceled; when the ECU determines that the vehicle key is inside the vehicle, the safety check on the vehicle key is performed. Since the safety check is used to determine whether the key is allowed to start the vehicle, when the key is not inside the vehicle, that is, when the key is outside the vehicle, the determination of whether the key is allowed to start the vehicle can be canceled to avoid allowing the key to start the vehicle when the key is outside the vehicle, thereby improving the safety of the vehicle.
[0084] In a possible implementation, the present application embodiment proposes two methods for determining whether the key is located inside the vehicle, as follows:
[0085] The first type: the response signal may include the key's location information. Therefore, after determining that the vehicle key has been searched, it is possible to determine whether the key is located in the vehicle's starting area based on the key's location information, and if it is determined that the key is located in the vehicle's starting area, it is determined that the key is located inside the vehicle.
[0086] Among them, the vehicle's starting area can be understood as a specific area in the vehicle, usually near the main driving position, in which the key can start the vehicle's engine without physically contacting the vehicle's ignition switch (start button).
[0087] It should be noted that the response signal usually does not directly contain the geographical coordinates of the key, but indirectly reflects the location information of the key relative to the vehicle through the characteristics of the signal. Specifically, the ECU can measure the time it takes for the response signal to reach the vehicle from the key. Since the transmission speed of radio waves is constant (close to the speed of light 3×10^ 5 km / s), so the ECU can calculate the straight-line distance between the key and the vehicle by measuring the transmission time of the response signal, and then determine the key's position coordinates, that is, the position information. After the ECU determines the key's position coordinates, it can compare the calculated position coordinates with the boundary of the vehicle's start area. If the key's position coordinates fall within the start area, the ECU determines that the key is inside the vehicle, otherwise it determines that the key is not inside the vehicle.
[0088] The second method is to obtain a target strength of the response signal and compare the target strength with a target threshold; when the target strength is greater than the target threshold, it is determined that the key is located inside the vehicle.
[0089] The target threshold is an ideal signal strength threshold set by developers during the development phase of the vehicle and key system based on the characteristics of the wireless communication technology used (such as RFID, UHF and UWB, etc.) and the environmental factors inside and outside the vehicle. The target threshold is usually determined through laboratory tests or simulation tests to ensure that the signal can penetrate the metal structure of the vehicle while preventing the signal from being too strong and interfering with other signals.
[0090] It should be understood that the ECU can demodulate the response signal sent by the key through a digital signal processor (DSP) or a microprocessor to extract the strength information of the response signal, that is, to obtain the target strength of the response signal. It should be noted that the distance between the key and the vehicle will directly affect the signal strength of the response signal, that is, the target strength. Specifically, the closer the distance between the key and the vehicle, the higher the target strength.
[0091] Specifically, after the ECU receives the response signal sent by the key, it is necessary to obtain the target strength of the response signal and compare the target strength with the target threshold. If the target strength is greater than the target threshold, it is determined that the key is inside the vehicle, otherwise it is determined that the key is not inside the vehicle.
[0092] It should be noted that in order to ensure that the response signal sent by the key has not been tampered with or forged, that is, to ensure the security of communication between the key and the vehicle, when it is determined that the vehicle key is inside the vehicle, the ECU needs to perform a security check on the vehicle key. In one possible implementation, the security check on the vehicle key may be to detect whether the vehicle key is in a safe state, and based on the test result, determine whether the vehicle can be started, wherein the safe state is used to indicate that the key has been authorized to access the vehicle, that is, the key is determined by the vehicle's ECU as a legal access tool.
[0093] Specifically, if it is determined that the vehicle key is not in a safe state, the vehicle is prohibited from being started; if it is determined that the vehicle key is in a safe state, the vehicle is started. Since the security is used to indicate that the key is authorized to access the vehicle, if it is determined that the vehicle key is not in a safe state, that is, if it is determined that the key is not authorized, the vehicle can be prohibited from being started, thereby ensuring that only authorized keys can control the vehicle, thereby ensuring the safety of the vehicle and preventing unauthorized access and potential theft risks.
[0094] The following is a detailed introduction to the specific implementation steps of the ECU to detect whether the vehicle key is in a safe state:
[0095] Step 1: Send an encrypted signal to the vehicle's key.
[0096] It should be noted that in order to increase communication security, the ECU generates a new one-time key, that is, an encrypted signal, each time it detects whether the key is in a safe state. In this way, even if a communication is intercepted, it will not affect the security of subsequent communications.
[0097] The method of sending an encrypted signal to the key of the vehicle is the same as the method of sending an inquiry signal to the key of the vehicle in the above embodiment, and will not be repeated here.
[0098] Step 2: upon receiving a decryption signal sent by the vehicle key, verify whether the decryption signal matches a preset decryption signal; if the decryption signal matches the preset decryption signal, determine that the key is in a safe state.
[0099] It should be noted that after the key receives the encrypted signal sent by the ECU, it will use the stored key to decrypt it, that is, generate a decryption signal, and send the decryption signal to the ECU so that the ECU can verify whether the decryption signal matches the preset decryption signal, and when it is determined that the decryption signal matches the preset decryption signal, it is determined that the key is in a safe state, that is, it is determined that there is legal communication between the key and the vehicle.
[0100] Optionally, the ECU may also detect whether the key is in a safe state through other security mechanisms, such as a challenge-response protocol, etc., which is not limited in the embodiments of the present application.
[0101] For ease of understanding, the following Figure 3 The process of the embodiment of the present application is described in detail.
[0102] Figure 3 It is a schematic flowchart of a vehicle key search process provided in an embodiment of the present application.
[0103] For example, Figure 3 As shown, the method 300 includes:
[0104] Step 301: The vehicle sends an inquiry signal to the key.
[0105] In step 302 , the key sends a response signal to the vehicle in response to the inquiry signal.
[0106] Step 303: The vehicle verifies the legitimacy of the response signal.
[0107] When the vehicle determines that the response signal is illegal, step 304 is executed, otherwise step 305 is executed.
[0108] Step 304: the vehicle displays that the key has not been found.
[0109] Step 305: The vehicle detects whether the key is located inside the vehicle.
[0110] When the vehicle determines that the key is not located inside the vehicle, step 306 is executed, otherwise step 307 is executed.
[0111] Step 306: The vehicle cancels subsequent security checks on the key.
[0112] Step 307 : The vehicle sends an encrypted signal to the key.
[0113] In step 308 , the key sends a decryption signal to the vehicle.
[0114] Step 309 , the vehicle verifies whether the decrypted signal matches a preset decrypted signal.
[0115] When the vehicle determines that the decrypted signal does not match the preset decrypted signal, step 310 is executed, otherwise step 311 is executed.
[0116] Step 310, prohibit starting the vehicle.
[0117] Step 311, start the vehicle.
[0118] The above steps 301-311 have the same inventive concept as step 202 in method 200. Please refer to the introduction of step 202 for details, which will not be repeated here.
[0119] Figure 4 It is a structural schematic diagram of a vehicle key search device provided in an embodiment of the present application.
[0120] For example, Figure 4 As shown, the device 400 includes:
[0121] A first determination module 401 is used to determine whether the state of the key search function of the vehicle satisfies a target condition when a key search request of the vehicle is received, the target condition being that the state of the key search function is switched from a first state to a second state, the first state being used to indicate that the vehicle does not attempt to establish communication with the key of the vehicle, and the second state being used to indicate that the vehicle attempts to establish communication with the key of the vehicle;
[0122] The execution module 402 is used to adjust the state of the key search function to a first state and execute the key search process of the vehicle when the state of the key search function meets the target condition.
[0123] In one possible implementation, the execution module 402 is specifically used to execute the vehicle key search process after adjusting the state of the key search function to the first state when the state of the key search function meets the target condition, or to execute the vehicle key search process while adjusting the state of the key search function to the first state when the state of the key search function meets the target condition.
[0124] In one possible implementation, the device also includes a sending module, which is used to send an inquiry signal to the surrounding environment of the vehicle, and the inquiry signal is used to wake up the key in the surrounding environment of the vehicle; the device also includes a verification module, which is used to verify the legitimacy of the response signal sent by the key when a response signal is received; the device also includes a second determination module, which is used to determine that the key of the vehicle has been searched when it is determined that the response signal is legal; if no response signal is received within a preset time or it is determined that the response signal is illegal, it is determined that the key of the vehicle has not been searched.
[0125] In a possible implementation, the verification module is specifically used to compare the ID signal with a preset ID signal; the second determination module is specifically used to determine that the response signal is legal when the ID signal matches the preset ID signal.
[0126] In one possible implementation, the device also includes a first detection module, used to detect whether the vehicle key is located inside the vehicle; the device also includes a first control module, used to cancel the subsequent security check on the vehicle key when it is determined that the vehicle key is not located inside the vehicle, the security check is used to determine whether the key is allowed to start the vehicle; when it is determined that the vehicle key is located inside the vehicle, perform a security check on the vehicle key.
[0127] In one possible implementation, the response signal includes the location information of the key, and the device also includes a judgment module for judging whether the key is located in the starting area of the vehicle based on the location information of the key; the second determination module is further used to determine that the key is located inside the vehicle when it is determined that the key is located in the starting area of the vehicle; or, the device also includes an acquisition module for acquiring a target strength of the response signal; the second determination module is further used to compare the target strength with a target threshold; when the target strength is greater than the target threshold, it is determined that the key is located inside the vehicle.
[0128] In one possible implementation, the first detection module is also used to detect whether the vehicle key is in a safe state, and the safe state is used to indicate that the key is authorized to access the vehicle; the first control module is also used to prohibit starting the vehicle if it is determined that the vehicle key is not in a safe state; and start the vehicle if it is determined that the vehicle key is in a safe state.
[0129] In one possible implementation, the sending module is also used to send an encrypted signal to the vehicle key; the verification module is also used to verify whether the decryption signal matches the preset decryption signal when the decryption signal sent by the vehicle key is received; the second determination module is also used to determine that the key is in a safe state when the decryption signal matches the preset decryption signal.
[0130] In one possible implementation, the device also includes a second detection module, which is used to detect whether a vehicle key search request is received again while executing the vehicle key search process; the device also includes a second control module, which is used to prohibit the execution of the vehicle key search process if the vehicle key search request is received again.
[0131] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0132] For example, Figure 5 As shown, the vehicle 500 includes: a memory 501 and a processor 502, wherein the memory 501 stores an executable program code 503, and the processor 502 is used to call and execute the executable program code 503 to perform a vehicle key search method.
[0133] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle key search method provided by an embodiment of the present application.
[0134] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0135] In the case of dividing each functional module according to each function, the device may further include a sending module, a second determining module, a verification module, a first detection module, a second detection module, a first control module, a second control module, a judgment module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0136] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle key search method, and thus can achieve the same effect as the above-mentioned implementation method.
[0137] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.
[0138] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0139] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle key search method provided in the above embodiments.
[0140] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a vehicle key search method provided in the above embodiment.
[0141] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle key search method provided in the above embodiment.
[0142] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0143] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0144] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0145] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle key search method, characterized in that: The method comprises: In the case of receiving a key search request of a vehicle, determining whether a state of a key search function of the vehicle satisfies a target condition, the target condition being that the state of the key search function is switched from a first state to a second state, the first state being used to indicate that the vehicle is not attempting to establish communication with the key of the vehicle, and the second state being used to indicate that the vehicle is attempting to establish communication with the key of the vehicle; When the state of the key search function satisfies the target condition, the state of the key search function is adjusted to the first state and the key search process of the vehicle is executed.
2. The method according to claim 1, characterized in that When the state of the key search function satisfies the target condition, adjusting the state of the key search function to the first state and executing the key search process of the vehicle includes: When the state of the key search function satisfies the target condition, the key search process of the vehicle is executed after the state of the key search function is adjusted to the first state; or, when the state of the key search function satisfies the target condition, the key search process of the vehicle is executed while the state of the key search function is adjusted to the first state.
3. The method according to claim 1, characterized in that Executing the vehicle key search process includes: Sending an inquiry signal to the surrounding environment of the vehicle, wherein the inquiry signal is used to wake up the key in the surrounding environment of the vehicle; Upon receiving a response signal sent by the key, verifying the legitimacy of the response signal; If it is determined that the response signal is legitimate, determining that the key of the vehicle is searched; If the response signal is not received within a preset time or the response signal is determined to be illegal, it is determined that the key of the vehicle is not found.
4. The method according to claim 3, characterized in that The response signal includes the ID signal of the key, and the verifying the legitimacy of the response signal includes: Comparing the ID signal with a preset ID signal; In the case where the ID signal matches the preset ID signal, it is determined that the response signal is legal.
5. The method according to claim 3, characterized in that: After determining that the key of the vehicle is found, the method further includes: Detecting whether a key of the vehicle is located inside the vehicle; In the case where it is determined that the key of the vehicle is not located inside the vehicle, canceling execution of a subsequent safety check on the key of the vehicle, the safety check being used to determine whether the key is allowed to start the vehicle; In a case where it is determined that the key of the vehicle is located inside the vehicle, the security detection is performed on the key of the vehicle.
6. The method according to claim 5, characterized in that The response signal includes the location information of the key, and the detecting whether the key of the vehicle is located inside the vehicle includes: determining, according to the position information of the key, whether the key is located in a starting area of the vehicle; In the case where it is determined that the key is located in the starting area of the vehicle, determining that the key is located inside the vehicle; Alternatively, obtaining a target strength of the response signal; comparing the target intensity to a target threshold; When the target strength is greater than the target threshold, it is determined that the key is located inside the vehicle.
7. The method according to claim 5, characterized in that The performing of the safety inspection on the key of the vehicle includes: Detecting whether the key of the vehicle is in a safe state, wherein the safe state is used to indicate that the key is authorized to access the vehicle; If it is determined that the key of the vehicle is not in the safety state, prohibiting starting the vehicle; In a case where it is determined that the key of the vehicle is in the safe state, the vehicle is started.
8. The method according to claim 7, characterized in that The detecting whether the key of the vehicle is in a safe state comprises: sending an encrypted signal to a key of the vehicle; Upon receiving a decryption signal sent by the key of the vehicle, verifying whether the decryption signal matches a preset decryption signal; In the case where the decryption signal matches the preset decryption signal, it is determined that the key is in the safe state.
9. The method according to claim 1, characterized in that: The method further comprises: In the case of executing the key search process of the vehicle, detecting whether a key search request of the vehicle is received again; If the key search request of the vehicle is received again, the key search process of the vehicle is prohibited from being executed.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 1 to 9.
