Vehicle control method, device and equipment based on intelligent key, medium and vehicle

By setting the identity authentication and position detection range in the car key system, the vehicle is automatically controlled to prepare for vehicle use, and the existing car key functions are solved, cumbersome operation and safety risks are achieved, and a convenient and safe intelligent car use experience is achieved.

CN119568068APending Publication Date: 2025-03-07BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311141986.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-05
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The existing car key functions are single, the operation is cumbersome and there are security risks. If the vehicle is stolen by a relay attack, it cannot provide users with a convenient intelligent car experience.

Method used

By setting two ranges around the vehicle, the first range is used for identity authentication of the smart key, and the second range is used to detect the position and movement direction of the smart key, and automatically control the vehicle to perform vehicle preparation operations based on this information.

Benefits of technology

It improves the identity authentication security of smart keys, provides convenient automatic vehicle control functions, and improves users' car use experience and satisfaction of intelligent car use needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119568068A_ABST
    Figure CN119568068A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle control method, device and equipment based on an intelligent key, a medium and a vehicle. The method comprises the following steps: when an intelligent key is monitored in a first range around a vehicle, performing identity authentication with the intelligent key; if the identity authentication is passed, when an intelligent key is monitored in a second range around the vehicle, the position and the movement direction of the intelligent key are detected, and the first range is larger than the second range; and when the position and / or the movement direction meet the execution condition of a vehicle control strategy, controlling the vehicle according to the vehicle control strategy. The security of identity authentication of the intelligent key can be improved, convenience is provided for the user to use the car, the intelligent car use requirement of the user is met, and the car use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle control method, device, equipment, medium and vehicle based on a smart key. Background Art

[0002] With the rapid development of new energy vehicles, the development of automotive intelligence has also attracted more and more attention. In order to meet users' demand for more functions, automakers and technology companies are vigorously promoting the advancement of automotive intelligence to provide a more convenient, safe and comfortable driving experience.

[0003] At present, the car keys commonly equipped are still traditional mechanical keys or remote control car keys. Traditional mechanical keys only have basic car locking and unlocking functions. Compared with traditional mechanical keys, although remote control car keys can remotely unlock and lock cars, they usually have the function of finding the car, but their functions are still relatively simple. Moreover, the operation of remote control car keys is still not convenient enough. Users still need to operate manually when using remote control car keys, which is cumbersome and there is a security risk that the vehicle can be easily stolen by relay attacks. In short, the existing solutions cannot allow users to enjoy safe and convenient car intelligent services through car keys, which affects the user's car experience. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a vehicle control method, device, equipment, medium and vehicle based on a smart key.

[0005] In a first aspect, the present disclosure provides a vehicle control method based on a smart key, comprising:

[0006] When a smart key is detected within a first range around the vehicle, performing identity authentication with the smart key;

[0007] If the identity authentication is passed, when the smart key is detected within a second range around the vehicle, the position and movement direction of the smart key are detected, and the first range is larger than the second range;

[0008] When the position and / or the movement direction meets the execution condition of the vehicle control strategy, the vehicle is controlled according to the vehicle control strategy.

[0009] Optionally, the performing identity authentication with the smart key includes:

[0010] Sending a communication request to the smart key to agree on a communication key with the smart key through a security protocol;

[0011] Using the communication key to establish an encrypted channel with the smart key;

[0012] Identity authentication is performed with the smart key through the encrypted channel.

[0013] Optionally, performing identity authentication with the smart key through the encrypted channel includes:

[0014] Sending an identity authentication message to the smart key through the encrypted channel, so that the smart key returns the identity certificate through the encrypted channel;

[0015] If the identity certificate is consistent with the pre-agreed identity certificate, it is determined that the identity authentication is successful.

[0016] Optionally, detecting the position of the smart key includes:

[0017] The detection nodes at different positions of the vehicle send a ranging signal to the smart key, so that each detection node determines the distance between the smart key and the detection node according to the time difference between the ranging signal sending time and the corresponding ranging signal receiving time; the receiving time is the ranging signal receiving time corresponding to each detection node returned by the smart key to each detection node;

[0018] The position of the smart key relative to the vehicle is calculated according to the distance between the smart key and each detection node and the position of each detection node.

[0019] Optionally, detecting the movement direction of the smart key includes:

[0020] The movement direction of the smart key at the current moment is determined according to the position of the smart key relative to the vehicle at the current moment and the position of the smart key relative to the vehicle at the previous moment.

[0021] Optionally, the method further includes:

[0022] Determining a side of the vehicle facing the smart key and a side of the vehicle facing away from the smart key according to a position of the smart key relative to the vehicle;

[0023] The detection node on the side of the vehicle facing the smart key is kept turned on, and the detection node on the side of the vehicle facing away from the smart key is turned off in the closed position.

[0024] Optionally, after the identity authentication is passed, the following further includes:

[0025] When the smart key is detected within a second range around the vehicle, if a vehicle control instruction sent by the smart key is received, the vehicle is controlled according to the vehicle control instruction, where the vehicle control instruction is generated by the smart key according to the user's operation.

[0026] In a second aspect, the present disclosure provides a vehicle control device based on a smart key, comprising:

[0027] an authentication module, configured to perform identity authentication with the smart key when the smart key is detected within a first range around the vehicle;

[0028] a detection module, configured to detect the position and movement direction of the smart key when the smart key is detected within a second range around the vehicle if the identity authentication is passed, the first range being larger than the second range;

[0029] A control module is used to control the vehicle according to the vehicle control strategy when the position and / or the movement direction meets the execution condition of the vehicle control strategy.

[0030] Optionally, when performing identity authentication with the smart key, the authentication module is specifically used to send a communication request to the smart key, so as to agree on a communication key with the smart key through a security protocol; use the communication key to establish an encrypted channel with the smart key; and perform identity authentication with the smart key through the encrypted channel.

[0031] Optionally, when the authentication module performs identity authentication with the smart key through the encrypted channel, it is specifically used to send an identity authentication message to the smart key through the encrypted channel, so that the smart key returns an identity certificate through the encrypted channel; if the identity certificate is consistent with a pre-agreed identity certificate, it is determined that the identity authentication is passed.

[0032] Optionally, when detecting the position of the smart key, the detection module is specifically used to send a ranging signal to the smart key through detection nodes at different positions of the vehicle, so that each detection node determines the distance between the smart key and the detection node according to the time difference between the ranging signal sending time and the corresponding ranging signal receiving time; the receiving time is the ranging signal receiving time corresponding to each detection node returned by the smart key to each detection node; and the position of the smart key relative to the vehicle is calculated based on the distance between the smart key and each detection node and the position of each detection node.

[0033] Optionally, when detecting the movement direction of the smart key, the detection module is specifically used to determine the movement direction of the smart key at the current moment according to the position of the smart key relative to the vehicle at the current moment and the position of the smart key relative to the vehicle at the previous moment.

[0034] Optionally, the control module is also used to determine the side of the vehicle facing the smart key and the side of the vehicle facing away from the smart key based on the position of the smart key relative to the vehicle; keep the detection node on the side of the vehicle facing the smart key turned on, and the closed position is to close the detection node on the side of the vehicle facing away from the smart key.

[0035] Optionally, after the identity authentication is passed, the control module is also used to control the vehicle according to the vehicle control instruction if a vehicle control instruction sent by the smart key is received when the smart key is monitored within a second range around the vehicle. The vehicle control instruction is generated by the smart key based on the user's operation.

[0036] In a third aspect, the present disclosure provides a computer device, comprising:

[0037] Memory;

[0038] Processor; and

[0039] Computer programs;

[0040] The computer program is stored in the memory and is configured to be executed by the processor to implement the method described in any one of the first aspects.

[0041] In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method as described in any one of the first aspects.

[0042] In a fifth aspect, the present disclosure provides a vehicle, comprising the smart key-based vehicle control device as described in the second aspect and / or the computer device as described in the third aspect.

[0043] The vehicle control method, device, equipment, medium and vehicle based on the smart key provided by the present invention perform identity authentication with the smart key when the smart key is detected within a first range around the vehicle, thereby preventing the vehicle from being stolen by a relay attack by limiting the communication range of the identity authentication, thereby improving the security of the smart key identity authentication. If the identity authentication of the smart key is passed, the position and movement direction of the smart key are detected when the smart key is detected within a second range around the vehicle, and the vehicle is controlled according to the vehicle control strategy when the position and / or movement direction meet the execution conditions of the vehicle control strategy, thereby automatically controlling the vehicle to perform vehicle use preparation operations according to the position and movement direction of the smart key, providing convenience for users' use of the car, meeting users' needs for intelligent car use, and improving users' car use experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0046] Figure 1 A flow chart of a vehicle control method based on a smart key provided in an embodiment of the present disclosure;

[0047] Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0048] Figure 3 A schematic diagram of the structure of a vehicle control device based on a smart key provided in an embodiment of the present disclosure;

[0049] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0050] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0051] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0052] Figure 1 A flow chart of a vehicle control method based on a smart key is provided for an embodiment of the present disclosure. The method can be executed by a vehicle control device based on a smart key. The vehicle control device based on a smart key can be implemented in software and / or hardware. The vehicle control device based on a smart key can be configured in an electronic device, such as a vehicle computer, an onboard computer, a domain controller, and other devices with computing capabilities.

[0053] Figure 2A schematic diagram of an application scenario provided by an embodiment of the present disclosure, the scenario includes a vehicle 200, a vehicle computer 210, a smart key (FOB, Frequency Operated Button) 220 and a user 230. Detection nodes 211, 212, 213, 214, 215, 216 are arranged at various parts of the vehicle 200. In order to help understand the solution provided by the embodiment of the present disclosure, Figure 2 In the illustrated scenario, the area outside the first range around the vehicle 200 is recorded as area A, the area within the first range around the vehicle 200 is recorded as area B, and the area within the second range around the vehicle 200 is recorded as area C. Figure 2 The vehicle computer 210 shown can execute the vehicle control method based on the smart key provided in the embodiment of the present disclosure, and the method includes the following steps:

[0054] S101. When a smart key is detected within a first range around a vehicle, identity authentication is performed with the smart key.

[0055] For example, refer to Figure 2 The user 230 holds a smart key 220, which can be implemented by installing an application software (APP) that implements the smart key in a mobile terminal, and the mobile terminal implements the function of the smart key, or it can be an independently configured smart device.

[0056] The detection nodes 211, 212, 213, 214, 215, and 216 arranged on the vehicle 200 can monitor the signal of the smart key 220 through different wireless communication technologies. One wireless communication technology corresponds to one monitoring range. The first range and the second range are divided according to different monitoring ranges corresponding to different wireless communication technologies, so that the vehicle can monitor the smart key in different ranges. Alternatively, the monitoring range of one wireless communication technology can be divided into the first range and the second range.

[0057] For example, each detection node is configured with a Bluetooth Low Energy (BLE) antenna and an Ultra-Wide Band (UWB) antenna, wherein the communication distance of the BLE antenna is larger, but the signal accuracy is lower, and the area within the first range around the vehicle 200 can be covered, that is, the detection node can monitor the signal of the smart key 220 through the BLE antenna in area B, and the distance between the detection node and the smart key 220 can be roughly measured by the received signal strength indication (RSSI) technology. The communication range of the UWB antenna is smaller, but the signal accuracy is lower, and the area within the second range around the vehicle 200, that is, area C, can be accurately measured by the time difference of arrival (TDOA) positioning technology. The distance between the detection node and the smart key 220 is precisely measured to accurately locate the smart key 220. In addition, the vehicle can also be configured with a variety of other different wireless communication technologies such as near field communication (NFC), so that the vehicle can monitor the smart key in different ranges through different wireless communication technologies, which is not limited in the embodiments of the present disclosure.

[0058] When the user 230 is in area A, the vehicle computer 210 will not detect the smart key 220 through each detection node because the smart key 220 is beyond the communication range, or the vehicle computer 210 will ignore the signal of the smart key 220 because the smart key 220 has not entered the first range around the vehicle 200. When the user 230 enters area B, the vehicle computer 210 can detect the smart key 220 through the BLE antenna of each detection node, or detect the smart key 220 entering the first range around the vehicle 200 through remote communication. At this time, the vehicle computer 210 starts to authenticate with the smart key 220 to confirm whether the smart key 220 has the unlocking and operation authority of the vehicle 200.

[0059] In some embodiments, performing identity authentication with a smart key includes: sending a communication request to the smart key to agree on a communication key with the smart key through a security protocol; establishing an encrypted channel with the smart key using the communication key; and performing identity authentication with the smart key through the encrypted channel.

[0060] For example, when the user 230 enters area B, the vehicle computer 210 can determine through RSSI technology that the distance between the detection node 212 and the smart key 220 is the shortest, so the vehicle computer 210 can communicate with the smart key 220 through the BLE antenna of the detection node 212, and can also communicate with the smart key 220 through remote communication.

[0061] For example, the vehicle computer 210 sends a communication request to the smart key 220 through the detection node 212. The purpose of the communication request is to establish a secure communication connection, which may include the identity information of the vehicle 200. After receiving the communication request, the smart key 220 identifies the identity information of the vehicle 200, and then generates and returns a security protocol for communication pairing, or the smart key 220 directly determines the security protocol agreed upon with the vehicle 200 after identifying the identity information of the vehicle 200. The security protocol is a set of rules that includes security measures such as encryption algorithms and key generation. These rules will be shared and confirmed by the vehicle and the smart key during the communication pairing process. Then the vehicle computer 210 and the smart key 220 will agree on a communication key through the security protocol, and the communication key will be used for subsequent communication encryption and decryption keys. After that, the vehicle computer 210 uses this communication key to establish an encrypted channel with the smart key 220, and subsequently transmits the identity authentication request and identity authentication information based on the encrypted channel to perform identity authentication with the smart key 220.

[0062] In one embodiment, identity authentication is performed with a smart key through an encrypted channel, including: sending an identity authentication message to the smart key through the encrypted channel, so that the smart key returns an identity certificate through the encrypted channel; if the identity certificate is consistent with a pre-agreed identity certificate, it is determined that the identity authentication is successful.

[0063] After the vehicle computer 210 and the smart key 220 establish an encrypted channel, the vehicle computer 210 will send an identity authentication request message to the smart key 220 through the encrypted channel, requiring the smart key 220 to provide its identity proof, that is, encrypt the identity authentication message using the encryption algorithm corresponding to the communication key, and send the encrypted identity authentication message to the smart key 220. After receiving the identity authentication request, the smart key 220 decrypts it using the communication key, and then returns the identity proof to the vehicle computer 210 through the encrypted channel, and also encrypts the identity proof using the encryption algorithm corresponding to the communication key, and sends the encrypted identity proof to the vehicle computer 210. After receiving the identity proof, the vehicle computer 210 also uses the communication key to decrypt it. If the identity proof is consistent with the pre-agreed identity proof, it is determined that the identity authentication of the smart key 220 is passed.

[0064] The disclosed embodiment, when a smart key is detected within a first range around a vehicle, sends a communication request to the smart key to agree on a communication key and uses the communication key to establish an encrypted channel with the smart key, and then authenticates with the smart key on the encrypted channel. If the identity proof returned by the smart key is consistent with the pre-agreed identity proof, it is determined that the identity authentication is successful, thereby preventing the vehicle from being stolen by a relay attack by limiting the communication range of the identity authentication, and further enhancing security through the communication key encryption and the identity authentication process of the smart key.

[0065] S102: If the identity authentication is passed, when the smart key is detected within a second range around the vehicle, the position and movement direction of the smart key are detected, and the first range is larger than the second range.

[0066] When the identity authentication of the smart key 220 is passed, the vehicle computer 210 can determine that the smart key 220 has the unlocking and operation authority of the vehicle 200. If the user 230 enters area C, the vehicle computer 210 can monitor the smart key 220 entering the second range around the vehicle 200 through the detection node on the vehicle 200. When the vehicle computer 210 monitors that the smart key 220 is within the second range around the vehicle 200, the vehicle computer 210 can determine that the user 230 has the intention to use the vehicle 200. At this time, the position and movement direction of the smart key 220 can be detected through each detection node on the vehicle 200. The position and movement direction of the smart key 220 are also the position and movement direction of the user 230. According to the position and movement direction of the user 230, the vehicle 200 can be controlled to perform some operations to assist the user 230 in using the vehicle.

[0067] In one embodiment, detecting the position of a smart key includes: sending a ranging signal to the smart key through detection nodes at different positions of the vehicle, so that the smart key returns a corresponding ranging signal reception time to each detection node, so that each detection node determines the distance between the smart key and the detection node according to the time difference between the ranging signal sending time and the corresponding ranging signal reception time; the reception time is the ranging signal reception time corresponding to each detection node returned by the smart key to each detection node; and calculating the position of the smart key relative to the vehicle according to the distance between the smart key and each detection node and the position of each detection node.

[0068] When detecting the position of the smart key 220, the vehicle computer 210 can use the TDOA positioning technology to accurately locate the smart key 220 through the detection nodes at different positions on the vehicle 200. Specifically, the vehicle computer 210 can simultaneously send a ranging signal to the smart key 220 through the detection nodes 211, 212, 213, 214, 215, and 216. Taking the detection node 211 as an example, the detection node sends a ranging signal S1, and when the smart key 220 receives the ranging signal S1, it will record the time R1 of receiving the ranging signal S1, that is, the ranging signal receiving time R1 corresponding to the detection node 211, and then return the ranging signal receiving time R1 to the detection node 211. Because each detection node sends a ranging signal to the smart key 220 at the same time, the ranging signal sending time of each detection node is recorded as T1. After the detection node 211 receives the returned ranging signal receiving time R1, the distance between the detection node 211 and the smart key 220 is calculated based on the time difference between the ranging signal receiving time R1 and the ranging signal sending time T1. The speed of the ranging signal is usually recorded as the speed of light, and the distance between the detection node 211 and the smart key 220 is the product of the speed of light and the time difference. By analogy, each detection node can calculate the distance between itself and the smart key 220.

[0069] The positions of the detection nodes 211, 212, 213, 214, 215, and 216 are fixed and known. After determining the distance between each detection node and the smart key 220, the position of the smart key 220 relative to the vehicle 200 can be calculated using the triangulation method according to the distance between the smart key 220 and each detection node and the position of each detection node. The triangulation method is a prior art and will not be described in detail here.

[0070] In some embodiments, the detection node 213 can also be configured as a master node, and the detection nodes 211, 212, 214, 215, and 216 can be configured as slave nodes. After measuring the distance between itself and the smart key 220, the slave node transmits the measured distance information to the master node. The master node uses the triangulation positioning method to calculate the position of the smart key 220 relative to the vehicle 200 based on the distance between itself and each slave node and the smart key 220.

[0071] In one embodiment, detecting the movement direction of the smart key includes: determining the movement direction of the smart key at the current moment according to the position of the smart key relative to the vehicle at the current moment and the position of the smart key relative to the vehicle at the previous moment.

[0072] The detection node on the vehicle 200 will periodically send a ranging signal to the smart key 220 to locate the smart key 220, for example, sending a ranging signal to the smart key 220 once every 1s to locate the position of the smart key 220. Therefore, after the vehicle computer 210 obtains the position of the smart key 220 at the current moment, it only needs to combine the position of the smart key 220 at the previous moment with the position of the smart key 220 at the current moment to determine the movement direction of the smart key 220 at the current moment. Assuming that the position of the smart key 220 at the current moment is P1 and the position at the previous moment is P2, then the movement direction of the smart key 220 at the current moment is the direction from position P2 to position P1.

[0073] S103: When the position and / or the movement direction meets the execution condition of the vehicle control strategy, control the vehicle according to the vehicle control strategy.

[0074] Some vehicle control strategies to assist users in using the vehicle have been pre-set in the vehicle computer 210. For example, a vehicle unlocking strategy can be set, and its execution condition is that it is executed when the movement direction of the smart key is pointing to the vehicle. When the movement direction of the smart key 220 is pointing to the vehicle 200, the vehicle computer 210 determines that the execution condition of the vehicle unlocking strategy is met at this time, thereby unlocking the vehicle 200.

[0075] For example, a vehicle door opening strategy can be set, including door opening strategies for the left front door, left rear door, right front door, and right rear door. The vehicle computer 210 can effectively identify which area of ​​the vehicle front area, vehicle rear area, left front door area, left rear door area, right front door area, and right rear door area the smart key 220 is in by accurately positioning the smart key 220. When the smart key 220 is located in the right front door area and the movement direction points to the right front door, the vehicle computer 210 determines that the execution condition of the vehicle right front door opening strategy is met at this time, and controls the vehicle 200 to open the right front door. When the smart key 220 is in the left front door area of ​​the vehicle 200, it indicates that the user 230 has the intention to drive the vehicle, and a strategy for controlling the vehicle 200 to open the left front door and start the vehicle can be set, and the execution condition is that the smart key 220 is in the left front door area and the movement direction points to the left front door of the vehicle.

[0076] Similarly, strategies for turning on and off the lights, turning off the engine, and turning the trunk on and off can also be set. For example, the execution condition for the strategy of opening the trunk can be that the smart key 220 is at the rear of the vehicle and the direction of movement of the smart key 220 is toward the trunk, and the execution condition for the strategy of opening the trunk can be that the smart key 220 is at the rear of the vehicle and the direction of movement of the smart key 220 is away from the trunk. The strategy for turning on and off the lights can be set to turn on the lights at night or in a dimly lit area when the smart key 220 is detected to be in the second range, and turn off the lights when the smart key 220 leaves the second range. The flameout strategy can also be set to control the vehicle to turn off when the smart key 220 leaves the second range.

[0077] The disclosed embodiment performs identity authentication with the smart key when the smart key is detected within a first range around the vehicle, thereby preventing the vehicle from being stolen by relay attacks by limiting the communication range of the identity authentication, thereby improving the security of the smart key identity authentication. If the identity authentication of the smart key is passed, the position and movement direction of the smart key are detected when the smart key is detected within a second range around the vehicle, and the vehicle is controlled according to the vehicle control strategy when the position and / or movement direction meet the execution conditions of the vehicle control strategy, thereby automatically controlling the vehicle to perform vehicle use preparation operations according to the position and movement direction of the smart key, providing convenience for users' use of the vehicle, meeting users' needs for intelligent vehicle use, and improving users' vehicle use experience.

[0078] In some embodiments, the method also includes: determining the side of the vehicle facing the smart key and the side of the vehicle facing away from the smart key based on the position of the smart key relative to the vehicle; keeping the detection node on the side of the vehicle facing the smart key turned on, and turning off the detection node on the side of the vehicle facing away from the smart key.

[0079] Reference Figure 2 In the scenario shown, when the user 230 enters area C, the smart key 220 is located close to the right side of the vehicle 200, that is, the side of the vehicle 200 facing the smart key 220 is the side where the detection nodes 212 and 216 are located, and the side of the vehicle 200 facing away from the smart key 220 is the side where the detection nodes 211 and 215 are located. At this time, it is only necessary to turn on the detection nodes 212, 213, 214 and 216 to achieve precise positioning of the smart key 220. Therefore, the vehicle computer 210 keeps the detection nodes 212, 213, 214, 216 turned on, and turns off the detection nodes 211 and 215.

[0080] The disclosed embodiment starts and shuts down the corresponding detection node according to the position of the smart key relative to the vehicle, thereby reducing the energy consumption of the detection node in locating the smart key. In addition, the energy consumption of the detection node in locating the smart key can also be reduced by reducing the frequency of the detection node sending the ranging signal.

[0081] In some embodiments, after the identity authentication is passed, it also includes: when the smart key is monitored within a second range around the vehicle, if a vehicle control instruction sent by the smart key is received, the vehicle is controlled according to the vehicle control instruction, and the vehicle control instruction is generated by the smart key according to the user's operation.

[0082] After the identity authentication of the smart key 220 is passed, the smart key 220 obtains the unlocking and operation authority of the vehicle 200. After the user 230 enters the C area, the smart key 220 is within the second range around the vehicle 200. At this time, the user 230 can control the vehicle 200 through the operation options provided on the smart key 220. For example, when the user 230 clicks on the air-conditioning on-option on the smart key 220, the smart key 220 will send a vehicle control command to turn on the air-conditioning, and the vehicle computer 210 will turn on the cabin air-conditioning of the vehicle 200 after receiving the command. When the user 230 clicks on the play option of the specified video on the smart key 220, the smart key 220 will send a vehicle control command to play the specified video, and the vehicle computer 210 will turn on the vehicle screen of the vehicle 200 after receiving the command, and control the vehicle screen to play the specified video.

[0083] The disclosed embodiment controls the vehicle according to the vehicle control instruction when a smart key is detected within a second range around the vehicle and after receiving a vehicle control instruction generated by a user operation sent by the smart key, thereby allowing the user to control the vehicle through the smart key and improving the user's vehicle experience.

[0084] Figure 3 The structure diagram of the vehicle control device based on the smart key provided in the embodiment of the present disclosure. The vehicle control device based on the smart key can execute the processing flow provided in the embodiment of the vehicle control method based on the smart key, such as Figure 3 As shown, the vehicle control device 300 based on the smart key includes:

[0085] An authentication module 301, configured to perform identity authentication with the smart key when the smart key is detected within a first range around the vehicle;

[0086] A detection module 302, for detecting the position and movement direction of the smart key when the smart key is detected within a second range around the vehicle if the identity authentication is passed, the first range being larger than the second range;

[0087] The control module 303 is used to control the vehicle according to the vehicle control strategy when the position and / or the movement direction meets the execution conditions of the vehicle control strategy.

[0088] In some embodiments, when performing identity authentication with a smart key, the authentication module 301 is specifically used to send a communication request to the smart key to agree on a communication key with the smart key through a security protocol; use the communication key to establish an encrypted channel with the smart key; and perform identity authentication with the smart key through the encrypted channel.

[0089] In some embodiments, when the authentication module 301 performs identity authentication with the smart key through an encrypted channel, it is specifically used to send an identity authentication message to the smart key through the encrypted channel, so that the smart key returns an identity certificate through the encrypted channel; if the identity certificate is consistent with the pre-agreed identity certificate, it is determined that the identity authentication is successful.

[0090] In some embodiments, when detecting the position of the smart key, the detection module 302 is specifically used to send a ranging signal to the smart key through detection nodes at different positions of the vehicle, so that the smart key returns the corresponding ranging signal reception time to each detection node, so that each detection node determines the distance between the smart key and the detection node according to the time difference between the ranging signal sending time and the corresponding ranging signal reception time; the reception time is the ranging signal reception time corresponding to each detection node returned by the smart key to each detection node; the position of the smart key relative to the vehicle is calculated based on the distance between the smart key and each detection node and the position of each detection node.

[0091] In some embodiments, when detecting the movement direction of the smart key, the detection module 302 is specifically used to determine the movement direction of the smart key at the current moment according to the position of the smart key relative to the vehicle at the current moment and the position of the smart key relative to the vehicle at the previous moment.

[0092] In some embodiments, the control module 303 is also used to determine the side of the vehicle facing the smart key and the side of the vehicle facing away from the smart key based on the position of the smart key relative to the vehicle; keep the detection node on the side of the vehicle facing the smart key turned on, and turn off the detection node on the side of the vehicle facing away from the smart key.

[0093] In some embodiments, after the identity authentication is passed, the control module 303 is also used to control the vehicle according to the vehicle control instructions if a vehicle control instruction sent by the smart key is received when the smart key is monitored within a second range around the vehicle. The vehicle control instructions are generated by the smart key based on the user's operation.

[0094] Figure 3 The smart key-based vehicle control device of the illustrated embodiment can be used to execute the technical solution of the above-mentioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0095] Figure 4 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 4 , which shows a structural schematic diagram of an electronic device 400 suitable for implementing the embodiments of the present disclosure. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0096] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 to a random access memory (RAM) 403 to implement the vehicle control method based on the smart key of the embodiment described in the present disclosure. In RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0097] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0098] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the vehicle control method based on the smart key as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0099] The embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor implements the vehicle control method based on the smart key in the above embodiments.

[0100] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0101] The embodiments of the present disclosure also provide a vehicle, which includes a vehicle control device and / or a computer device based on a smart key as described in the above embodiments.

[0102] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

Claims

1. A vehicle control method based on a smart key, characterized in that: include: When a smart key is detected within a first range around the vehicle, performing identity authentication with the smart key; If the identity authentication is passed, when the smart key is detected within a second range around the vehicle, the position and movement direction of the smart key are detected, and the first range is larger than the second range; When the position and / or the movement direction meets the execution condition of the vehicle control strategy, the vehicle is controlled according to the vehicle control strategy.

2. The method according to claim 1, characterized in that The performing identity authentication with the smart key includes: Sending a communication request to the smart key to agree on a communication key with the smart key through a security protocol; Using the communication key to establish an encrypted channel with the smart key; Identity authentication is performed with the smart key through the encrypted channel.

3. The method according to claim 2, characterized in that The performing identity authentication with the smart key through the encrypted channel includes: Sending an identity authentication message to the smart key through the encrypted channel, so that the smart key returns the identity certificate through the encrypted channel; If the identity certificate is consistent with the pre-agreed identity certificate, it is determined that the identity authentication is successful.

4. The method according to claim 1, characterized in that The detecting the position of the smart key comprises: The detection nodes at different positions of the vehicle send a ranging signal to the smart key, so that each detection node determines the distance between the smart key and the detection node according to the time difference between the ranging signal sending time and the corresponding ranging signal receiving time; the receiving time is the ranging signal receiving time corresponding to each detection node returned by the smart key to each detection node; The position of the smart key relative to the vehicle is calculated according to the distance between the smart key and each detection node and the position of each detection node.

5. The method according to claim 4, characterized in that The detecting the movement direction of the smart key includes: The movement direction of the smart key at the current moment is determined according to the position of the smart key relative to the vehicle at the current moment and the position of the smart key relative to the vehicle at the previous moment.

6. The method according to claim 4, characterized in that The method further comprises: Determining a side of the vehicle facing the smart key and a side of the vehicle facing away from the smart key according to a position of the smart key relative to the vehicle; The detection node on the side of the vehicle facing the smart key is kept turned on, and the detection node on the side of the vehicle facing away from the smart key is turned off.

7. The method according to claim 1, characterized in that After the identity authentication is passed, the following steps are also included: When the smart key is detected within a second range around the vehicle, if a vehicle control instruction sent by the smart key is received, the vehicle is controlled according to the vehicle control instruction, where the vehicle control instruction is generated by the smart key according to the user's operation.

8. A vehicle control device based on a smart key, characterized in that: include: an authentication module, configured to perform identity authentication with the smart key when the smart key is detected within a first range around the vehicle; a detection module, configured to detect the position and movement direction of the smart key when the smart key is detected within a second range around the vehicle if the identity authentication is passed, the first range being larger than the second range; A control module is used to control the vehicle according to the vehicle control strategy when the position and / or the movement direction meets the execution condition of the vehicle control strategy.

9. A computer device, characterized in that: include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A vehicle, characterized in that: It includes the smart key-based vehicle control device as claimed in claim 8 and / or the computer device as claimed in claim 9.