Car key control method and device, car key and storage medium
Through Bluetooth signal strength and position relationship, the opening and sleep of the ultra-wideband communication module is controlled, and the ultra-wideband communication parameters are dynamically adjusted, which solves the communication abnormality caused by improper transmission power settings in smart cars, and improves the vehicle experience and communication accuracy .
Patent Information
- Application Number
- CN202411330254.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-01-14
AI Technical Summary
In the application of digital keys in smart cars, improper transmission power settings will lead to abnormal communication between the key and the vehicle end, affecting the accuracy of vehicle control instructions, and directly affecting the car owner's car use experience.
Through Bluetooth communication as a preliminary connection method, the positional relationship between the key terminal and the vehicle terminal is determined based on the Bluetooth signal strength. If it is in the welcome area, the ultra-wideband communication module will be turned on and the working parameters of the ultra-wideband communication module will be adjusted to balance power consumption and communication effects. If the key terminal is stationary or internally, it enters a dormant state, and dynamically adjusts the transmission frequency and communication mode.
Accurate distance measurement and timely communication connections are realized, which reduces user waiting time and improves the overall user experience. By flexibly adjusting communication methods and parameters, the communication between the vehicle and the key is more intelligent and personalized.
Smart Images

Figure CN119314243A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, and in particular to a vehicle key control method, device, vehicle key, and computer-readable storage medium. Background Art
[0002] With the popularization of software-defined cars, digital keys are being used more and more widely in smart cars. In the digital key system, the physical key is often embedded with an ultra-wideband communication module and a Bluetooth chip. When the owner carries the physical key to the vehicle, the physical key will communicate with the anchor points on the vehicle in real time. Each anchor point on the vehicle body will obtain real-time field strength information and distance information between the key and the anchor point. Each anchor point will transmit the relevant field strength information and distance information to the vehicle through the CAN bus. The vehicle will accurately locate the key position based on the positioning algorithm, thereby controlling the vehicle to execute commands such as finding the vehicle, welcoming guests, unlocking, and locking.
[0003] Under normal circumstances, the greater the transmission power, the longer the distance the key and the vehicle can communicate. Correspondingly, the power consumption of the key will also increase. If the transmission power is set too low, communication between the key and the vehicle anchor point may be abnormal, resulting in inaccurate execution of vehicle control commands, which will directly affect the owner's car experience. Summary of the invention
[0004] To solve the above technical problems, embodiments of the present application provide a vehicle key control method and device, a vehicle key, a computer-readable storage medium, and a computer program product.
[0005] According to one aspect of an embodiment of the present application, a vehicle key control method is provided, which is applied to a key terminal, wherein the key terminal is communicatively connected to a vehicle terminal, and the key terminal includes a Bluetooth communication module and an ultra-wideband communication module. The method includes: obtaining Bluetooth signal field strength information between the key terminal and the vehicle terminal, and determining a positional relationship of the key terminal relative to the vehicle terminal based on the Bluetooth signal field strength information; if the positional relationship indicates that the key terminal is located outside a welcome area of the vehicle, controlling the ultra-wideband module to be in a dormant state; obtaining a Bluetooth signal reception strength between the key terminal and a vehicle-end anchor point, and if the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, controlling the ultra-wideband communication module to be turned on to establish an ultra-wideband communication session with the vehicle-end anchor point; determining a distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session, and adjusting working parameters of the ultra-wideband communication module based on the distance value.
[0006] According to one aspect of an embodiment of the present application, the method also includes: if the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, determining that the key terminal is located within the vehicle welcome area; if the key terminal is located within the vehicle welcome area, adjusting the operating parameters of the ultra-wideband communication module based on the distance value.
[0007] According to one aspect of an embodiment of the present application, the operating parameters include the transmission frequency of the ultra-wideband communication module, and adjusting the operating parameters of the ultra-wideband communication module based on the distance value includes: adjusting the transmission frequency of the ultra-wideband communication module based on the distance value, wherein the magnitude of the transmission frequency is proportional to the distance value.
[0008] According to one aspect of an embodiment of the present application, the method further includes: if the distance value indicates that the key terminal is located inside the vehicle, controlling the ultra-wideband communication module to enter a sleep state; if it is detected that the key terminal is in a stationary state, controlling the key terminal to enter a sleep state.
[0009] According to one aspect of an embodiment of the present application, the method also includes: if the shake wake-up function of the key terminal is activated, the key terminal is controlled to exit the sleep state and the ultra-wideband communication module is turned on to calculate the distance value between the key terminal and the vehicle; if the distance value is greater than a preset distance threshold, the ultra-wideband communication module is controlled to enter the sleep state and the Bluetooth communication module is turned on.
[0010] According to one aspect of an embodiment of the present application, the key terminal also includes an acceleration sensing module, and the method also includes: obtaining acceleration information monitored by the acceleration sensing module, the acceleration information including acceleration and acceleration maintenance duration; if the acceleration is greater than a preset acceleration threshold and the acceleration maintenance duration is greater than a preset duration threshold, determining that the shake wake-up function is activated.
[0011] According to one aspect of an embodiment of the present application, the method also includes: obtaining a Bluetooth reception signal value between the key terminal and the vehicle terminal, and adjusting the communication broadcast period of the key terminal based on the Bluetooth signal reception value; if the Bluetooth reception signal value is lower than a preset Bluetooth reception signal threshold, controlling the Bluetooth communication module to be turned off, and controlling the key terminal to be in a sleep state.
[0012] According to one aspect of an embodiment of the present application, a vehicle key control device is provided, which is applied to a key terminal, wherein the key terminal is communicatively connected with a vehicle terminal, and the key terminal includes a Bluetooth communication module and an ultra-wideband communication module. The device includes: a determination module, which is used to obtain Bluetooth signal field strength information between the key terminal and the vehicle terminal, and determine the position relationship of the key terminal relative to the vehicle terminal based on the Bluetooth signal field strength information; a first control module, which is used to control the ultra-wideband module to be in a dormant state if the position relationship indicates that the key terminal is located outside a welcome area of the vehicle; a second control module, which is used to obtain the Bluetooth signal reception strength between the key terminal and a vehicle-end anchor point, and if the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, control the ultra-wideband communication module to be turned on to establish an ultra-wideband communication session with the vehicle-end anchor point; an adjustment module, which is used to determine the distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session, and adjust the working parameters of the ultra-wideband communication module based on the distance value.
[0013] According to one aspect of an embodiment of the present application, a car key is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the car key implements the car key control method as described above.
[0014] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the vehicle key control method as described above.
[0015] According to one aspect of an embodiment of the present application, a computer program product is also provided, including a computer program, which implements the steps in the vehicle key control method as described above when executed by a processor.
[0016] In the technical solution provided in the embodiments of the present application, Bluetooth communication is used as the initial connection means between the car key and the vehicle, so that a communication link between the car key and the vehicle can be quickly established. When the Bluetooth signal strength reaches a preset threshold, it indicates that the car key has gradually approached the vehicle. At this time, the ultra-wideband communication module of the key terminal is turned on to perform communication with higher precision and lower latency, and the working parameters of the car key are adjusted according to the distance value between the car key and the vehicle, thereby avoiding the high power consumption problem caused by long-term preparation of the ultra-wideband communication module. Accurate distance measurement and timely communication connection reduce user waiting time and improve the overall user experience. According to different scenarios and needs, the communication method and parameters can be flexibly adjusted to make the communication between the vehicle and the key more intelligent and personalized.
[0017] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0019] Figure 1 is a schematic diagram of an implementation environment for controlling a vehicle key according to an exemplary embodiment of the present application;
[0020] Figure 2 is a flow chart of a vehicle key control method shown in an exemplary embodiment of the present application;
[0021] Figure 3 A schematic diagram of functional zoning around a vehicle is shown in an exemplary embodiment;
[0022] Figure 4 is a flow chart of a vehicle key control method shown in another exemplary embodiment of the present application;
[0023] Figure 5 is a schematic diagram of a brief interactive process of an entry vehicle key control in an exemplary process of a vehicle key approaching a vehicle;
[0024] Figure 6 is a flow chart of a vehicle key control method shown in another exemplary embodiment of the present application;
[0025] Figure 7 is a flow chart of a vehicle key control method shown in another exemplary embodiment of the present application;
[0026] Figure 8 is a flow chart of a vehicle key control method shown in another exemplary embodiment of the present application;
[0027] Fig. 9 It is a schematic diagram of a brief interactive process of the entry vehicle key control in an exemplary process in which the vehicle key is away from the vehicle;
[0028] Fig.10 is a block diagram of a vehicle key control device shown in an exemplary embodiment of the present application;
[0029] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0031] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0033] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0034] First of all, it should be noted that the application of digital car keys has greatly improved the convenience, safety and intelligence of car use. The following are several major application areas of digital car keys: Keyless entry and start: Users only need to carry a smartphone, smart watch or other smart device that supports the digital car key function. When approaching the vehicle, the vehicle will automatically recognize and unlock the door to achieve keyless entry. Similarly, users can also remotely start the engine through the mobile phone APP without inserting a physical key to start the vehicle. Remote control: Digital car keys allow users to remotely control various functions of the vehicle through the mobile phone APP, such as remotely locking and unlocking the door, opening and closing the window, adjusting the temperature in the car, etc. In hot summer or cold winter, users can start the vehicle and adjust the temperature in the car in advance through the mobile phone APP, so that the interior of the vehicle reaches a comfortable temperature before entering. Vehicle status monitoring: The digital car key is connected to the vehicle's intelligent system and can show users the vehicle's status information in real time, such as the remaining fuel, mileage, battery power, vehicle location, etc., which helps users to understand the vehicle status in a timely manner and make reasonable vehicle arrangements.
[0035] The digital key (BLE+UWB+TOF) combines Bluetooth low energy (BLE), ultra-wideband (UWB) and time-of-flight (TOF) ranging technologies to bring unprecedented intelligence and security experience to modern cars.
[0036] in:
[0037] Bluetooth Low Energy (BLE): As a mature wireless communication technology, BLE has the characteristics of low power consumption, efficient connection and long-distance communication. In the digital key system, BLE is mainly responsible for long-distance identity authentication, data exchange and rough positioning. When the user is away from the vehicle, the user can establish a connection with the vehicle system through the mobile phone APP to realize remote control, vehicle status monitoring and other functions.
[0038] Ultra Wide Band (UWB): UWB is a wireless communication technology that uses a frequency bandwidth above 1GHz, with extremely high positioning accuracy and security. It uses the time-of-flight (TOF) ranging method to accurately calculate the distance between the key and the vehicle by transmitting and receiving signals with timestamps, achieving centimeter-level positioning accuracy. UWB technology brings more accurate positioning and richer application scenarios for digital keys, such as automatic parking and vehicle sharing.
[0039] Time of Flight (TOF): TOF is a distance measurement technology that calculates the distance by measuring the time it takes for a signal to propagate in space. In UWB digital keys, TOF technology is used to achieve accurate distance measurement between the key and the vehicle. After the transmitter sends out a signal containing a timestamp, the receiver calculates the flight time based on the received information, and then infers the flight distance.
[0040] Figure 1 is a schematic diagram of an implementation environment of vehicle key control shown in an exemplary embodiment of the present application, such as Figure 1As shown, in the process of sending a control instruction to the vehicle through the digital key, the Bluetooth field strength information between the key terminal and the vehicle 120 can be obtained through the key terminal 110 corresponding to the digital key, and the position relationship of the key terminal 110 relative to the vehicle 120 can be determined based on the Bluetooth signal field strength information. If the position relationship indicates that the key terminal 110 is outside the vehicle welcome area of the vehicle 120, the Bluetooth communication module 1101 of the key terminal 110 can be controlled to be turned on, and then the Bluetooth reception signal reception strength between the key terminal 110 and the vehicle anchor point is obtained. If the Bluetooth signal reception strength is greater than the preset Bluetooth signal reception strength threshold, the ultra-wideband communication module 1102 of the key terminal 110 can be turned on to establish an ultra-wideband session between the key terminal 110 and the vehicle 120. Then, the distance value between the key terminal 110 and the vehicle 120 is calculated based on the ultra-wideband session, and the working parameters of the ultra-wideband communication module 1102 of the key terminal can be further adjusted according to the distance value to achieve the effect of balancing the power consumption of the key terminal 110 and the effective communication with the vehicle 120.
[0041] in, Figure 1 The key terminal 110 shown can be any terminal device that supports the installation of navigation map software, such as a smart phone, a vehicle-mounted computer, a tablet computer, a laptop computer, or a wearable device, but is not limited thereto.
[0042] Under normal circumstances, the greater the transmission power of the digital key, the farther the digital key can communicate with the vehicle. Correspondingly, the power consumption of the digital key will also increase. If the transmission power is set too low, the communication between the key and the vehicle anchor point may be abnormal, resulting in inaccurate execution of vehicle welcome, lock and other commands, which directly affects the owner's car experience. Therefore, the setting of the transmission power needs to find a balance between the power consumption of the digital key and the user experience.
[0043] The above-mentioned problems are generally applicable in general travel scenarios. To solve these problems, the embodiments of the present application respectively propose a vehicle key control method, a vehicle key control device, a vehicle key, a computer-readable storage medium, and a computer program product, which will be described in detail below.
[0044] See also Figure 2 , Figure 2 is a flow chart of a vehicle key control method shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown is specifically executed by the key terminal 110 in the implementation environment. It should be understood that the method can also be applied to other exemplary implementation environments and be specifically executed by devices in other implementation environments. This embodiment does not limit the implementation environment to which the method is applicable.
[0045] Exemplarily, the key terminal is communicatively connected with the vehicle terminal, wherein the key terminal includes a Bluetooth communication module and an ultra-wideband communication module, that is, the key terminal can be communicatively connected with the vehicle terminal via the Bluetooth communication module or the ultra-wideband communication module to send corresponding control instructions to the vehicle or check the status of the vehicle.
[0046] like Figure 2 As shown, in an exemplary embodiment, the vehicle key control method includes at least steps S210 to S240, which are described in detail as follows:
[0047] Step S210: obtaining Bluetooth signal strength information between the key terminal and the vehicle terminal, and determining the position relationship of the key terminal relative to the vehicle terminal based on the Bluetooth signal strength information.
[0048] First of all, it should be noted that the key terminal can be a physical key or a smart terminal that can unlock the vehicle, for example, a smart phone, tablet computer, wearable device, or other portable electronic device.
[0049] Among them, when the car owner carries the key terminal close to the vehicle, the key terminal will perform a simple identity authentication with the vehicle terminal and establish a connection after the identity authentication is passed. The anchor point on the vehicle will obtain the Bluetooth signal field strength between the vehicle and the key terminal in real time, and calculate the position relationship of the key terminal relative to the vehicle based on the Bluetooth signal field strength, and can synchronize the position relationship to the key terminal.
[0050] Exemplarily, first ensure that the key terminal (such as a smart key) and the vehicle terminal (such as a Bluetooth receiver inside the vehicle) have been successfully paired and a Bluetooth connection has been established. This is the basis for obtaining Bluetooth signal strength information. After the Bluetooth connection is established, the vehicle terminal can periodically read the Bluetooth signal strength indication (RSSI, Received Signal Strength Indication) value from the key terminal. The RSSI value represents the received signal strength, usually in decibel milliwatts (dBm). The larger the value, the stronger the signal and the closer the distance; conversely, the weaker the signal, the farther the distance. Continuous sampling: In order to improve the accuracy of position judgment, the vehicle terminal should continuously collect multiple RSSI values for averaging or filtering to reduce the impact of signal fluctuations and interference. Considering that the attenuation characteristics of Bluetooth signals in different environments (such as indoors, outdoors, with obstacles, etc.) may be different, an environmental correction factor can be introduced to appropriately adjust the RSSI value. In addition, a mapping relationship model between distance and RSSI value can be established through experiments or preliminary data collection. This model can be linear or nonlinear (such as polynomial, exponential, etc.), depending on the specific environment and the characteristics of the equipment. The measured RSSI value is then converted into the approximate distance between the key terminal and the vehicle terminal using the above-mentioned mapping relationship. Combined with the multiple Bluetooth receivers of the vehicle terminal (generally multiple are installed on the vehicle) or the known geometry and size of the vehicle, the specific position relationship of the key terminal relative to the vehicle can be further determined through triangulation or other positioning algorithms.
[0051] Step S220: If the position relationship indicates that the key terminal is outside the vehicle welcome area, the ultra-wideband module is controlled to be in a dormant state.
[0052] Specifically, if the above position relationship indicates that the key terminal is outside the welcome area of the vehicle, it is determined that the key terminal is still relatively far away from the vehicle and cannot reach the stage of detailed control, so the Bluetooth communication module of the key terminal is controlled to be turned on, and the transmission frequency of the Bluetooth communication module is further set to the default value. This default value is usually determined after optimization and testing, and is intended to ensure that the Bluetooth signal has sufficient strength and stability within the effective range while reducing interference with other wireless devices. The default value of the transmission frequency may vary by vehicle model, manufacturer, and region, but generally follows the Bluetooth standard specifications. Setting the default value helps ensure the reliability and compatibility of Bluetooth communications.
[0053] Exemplarily, first, according to the steps described above, the position of the key terminal relative to the vehicle is determined by the Bluetooth signal field strength (RSSI) or other positioning technology (such as GPS assistance, if available). If this position is beyond the preset welcome area, the key terminal will proceed to the next step. Before deciding to turn on the Bluetooth communication module, the key terminal should check the current state of the module. If the Bluetooth communication module is already in the turned-on state, no operation is required; if the module is in the turned-off or dormant state, proceed to the next step. Once it is confirmed that the Bluetooth communication module needs to be turned on, the key terminal will send an instruction to start the module. If the ultra-wideband communication module is in the turned-on state and controls the ultra-wideband communication module of the key terminal to enter the dormant state, this usually involves sending a signal to the vehicle's electronic control unit (ECU) to request it to turn on the Bluetooth communication module. The ECU will then perform corresponding operations, including initializing the Bluetooth hardware, loading necessary drivers and configuration parameters, etc. After the Bluetooth communication module is turned on, the system will set the transmission frequency of the module to the default value.
[0054] Since turning on the Bluetooth communication module will increase the energy consumption of the car key, the module should be turned off in time when not needed to save power. A timeout can be set, and if there is no communication with the key terminal within a certain period of time, the Bluetooth communication module will be automatically turned off.
[0055] Step S230, obtaining the Bluetooth signal reception strength between the key terminal and the vehicle-end anchor point. If the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, the ultra-wideband communication module is controlled to be turned on to establish an ultra-wideband communication session with the vehicle-end anchor point.
[0056] Specifically, after the Bluetooth communication module of the key terminal is turned on, the Bluetooth signal reception strength between the key terminal and multiple vehicle-end anchor points measured by the vehicle can be obtained. If the Bluetooth signal reception strength is greater than the preset Bluetooth signal reception strength threshold, it means that the key terminal is getting closer and closer to the vehicle and has entered the vehicle welcome area corresponding to the vehicle. Then, the ultra-wideband communication module of the terminal can be turned on, and the Bluetooth communication module will be turned off accordingly. Then, an ultra-wideband communication session can be established between the key terminal and multiple vehicle-end anchor points of the vehicle by turning on the ultra-wideband communication.
[0057] Exemplarily, first, the key terminal needs to continuously monitor the Bluetooth signal reception strength between the key terminal and the vehicle-side anchor point. This is usually achieved through the Bluetooth communication module of the key terminal, which can measure and report the strength of the received Bluetooth signal, and the key terminal will compare the acquired Bluetooth signal reception strength with the preset Bluetooth signal reception strength threshold. This threshold is set according to the vehicle manufacturer's specifications, test data and user experience requirements, and is intended to ensure that the ultra-wideband communication module is turned on at an appropriate distance and signal quality. If the Bluetooth signal reception strength is greater than the preset Bluetooth signal reception strength threshold, it means that the key terminal (or other Bluetooth device) is close enough to the vehicle and the Bluetooth signal quality is good. At this time, the key terminal will decide to turn on the ultra-wideband communication module. The purpose of turning on the ultra-wideband communication module is to establish an ultra-wideband communication session with the vehicle-side anchor point (usually an ultra-wideband receiver or tag installed on the vehicle) to achieve more accurate positioning, data transmission or other advanced functions, and then establish an ultra-wideband communication session. Once the ultra-wideband communication module is turned on, the key terminal will try to establish an ultra-wideband communication session with the vehicle-side anchor point. This process may include sending synchronization signals, performing timestamp calibration, negotiating communication parameters, etc., to ensure that both parties can perform UWB communication stably and reliably. After successfully establishing an UWB communication session, the key terminal can perform a series of subsequent operations as needed, such as accurately locating the key terminal and implementing keyless entry / start functions.
[0058] Step S240 , determining a distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session, and adjusting operating parameters of the ultra-wideband communication module based on the distance value.
[0059] Specifically, after the key terminal establishes an ultra-wideband communication session with the vehicle-end anchor point, the distance value between the key terminal and the vehicle terminal can be determined according to the established ultra-wideband communication session, and then the working parameters of the ultra-wideband communication module can be adjusted according to the distance value, wherein the distance value can be divided into different areas, that is, Figure 3 As shown, Figure 3 This is an exemplary embodiment of the present application, which shows that different areas are divided according to different distances of the vehicle, and the area around the vehicle is divided into different areas according to the distance range, wherein from near to far, there are vehicle unlocking area, vehicle locking area, vehicle welcoming area and vehicle search area. For example, the working parameters of the ultra-wideband communication module can be adjusted according to the different areas where the key terminal is located, thereby realizing precise control of the energy consumption of the key terminal.
[0060] Exemplarily, after the key terminal establishes an ultra-wideband communication session with the vehicle-side anchor point, an ultra-wideband signal can be sent to the ultra-wideband communication module of the key terminal through the vehicle terminal. After receiving the signal, the ultra-wideband communication module will immediately return a response signal to the vehicle terminal, and then calculate the distance value between the key terminal and the vehicle terminal based on the signal difference between the response signal and the sent signal. Then, based on the distance value, the key terminal can adjust the transmission power of the ultra-wideband communication module. If the distance is far, the transmission power can be increased to ensure that the signal can be transmitted reliably; if the distance is close, the transmission power can be reduced to reduce energy consumption and potential interference. Alternatively, when the distance is close, a higher data rate can be selected to speed up data transmission; and when the distance is far, the data rate may need to be reduced to ensure the integrity and reliability of the signal.
[0061] In this embodiment, Bluetooth communication is used as the initial connection means between the car key and the vehicle, and a communication link between the car key and the vehicle can be quickly established. When the Bluetooth signal strength reaches a preset threshold, it indicates that the car key has gradually approached the vehicle. At this time, the ultra-wideband communication module of the key terminal is turned on to communicate with higher precision and lower latency, and the working parameters of the car key are adjusted according to the distance value between the car key and the vehicle, thereby avoiding the high power consumption problem caused by long-term preparation of the ultra-wideband communication module. The accurate distance measurement and timely communication connection reduce the user waiting time and improve the overall user experience. According to different scenarios and needs, the communication mode and parameters can be flexibly adjusted to make the communication between the vehicle and the key more intelligent and personalized.
[0062] Further, based on the above embodiment, in one of the exemplary embodiments provided in the present application, the specific implementation process of the above vehicle key control method may also include the following steps S310 and S320, which are described in detail as follows:
[0063] Step S310: If the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, it is determined that the key terminal is located within the vehicle welcome area.
[0064] Specifically, if the key terminal detects that the Bluetooth signal reception strength between the key terminal and the vehicle terminal is greater than the preset Bluetooth signal reception strength threshold, it can be determined that the key terminal has entered the vehicle welcome area. And the threshold of the Bluetooth signal reception strength may be adjusted according to feedback in actual applications to optimize the accuracy and response speed of the control of the ultra-wideband communication module. For example, if the threshold is set too high, the key terminal may not be able to trigger the welcome function in time when approaching the vehicle; if the threshold is set too low, the risk of false triggering may increase.
[0065] Step S320: If the key terminal is located within the vehicle welcome area, the operating parameters of the ultra-wideband communication module are adjusted based on the distance value.
[0066] For details, please continue to refer to Figure 3 If the key terminal is determined to be within the welcome area of the vehicle by calculating the distance value between the key terminal and the vehicle terminal, the operating parameters of the ultra-wideband communication module of the key terminal can be adjusted according to the distance value between the key terminal and the vehicle terminal, wherein the operating parameters include the transmission power of the ultra-wideband communication module, the transmission data rate, etc.
[0067] Exemplarily, the transmission data rate can also be adjusted according to the distance between the key terminal and the vehicle. When a large amount of data (such as high-precision positioning information) needs to be transmitted quickly and the distance is close, the data rate can be increased. On the contrary, when the distance is slightly farther or the data transmission demand is not high, the data rate can be reduced to save energy. Of course, other working parameters can also be adjusted, such as frame size, because a smaller frame size can reduce transmission delays, but may increase overhead (such as header information). According to the distance and communication requirements, a suitable frame size can be selected; when the distance is far or the communication environment is poor, the number of retransmissions can be increased to improve the reliability of data transmission. However, when the distance is close and the communication quality is good, the number of retransmissions can be reduced to reduce delays and energy consumption; according to the reliability requirements of communication, error correction codes of different strengths can be selected. When the distance is far or the interference is large, the use of stronger error correction codes can improve the accuracy of data transmission.
[0068] Further, based on the above embodiment, in one of the exemplary embodiments provided in the present application, the above working parameters include the transmission frequency of the ultra-wideband communication module, and the specific implementation process of adjusting the working parameters of the ultra-wideband communication module based on the distance value may also include the following steps, which are described in detail as follows:
[0069] The transmission frequency of the ultra-wideband communication module is adjusted based on the distance value, wherein the magnitude of the transmission frequency is proportional to the distance value.
[0070] Specifically, if the distance value is small (i.e., the key terminal is very close to the vehicle), the key terminal can reduce the transmission power of the ultra-wideband communication module, which helps reduce interference with other wireless devices and save energy. On the contrary, if the distance value indicates that the key terminal is close to the boundary of the vehicle's welcome area, the key terminal may appropriately increase the transmission power of the ultra-wideband communication module to ensure the stability of communication.
[0071] In this embodiment, the transmission power of the UWB module is dynamically adjusted according to the distance between the key and the vehicle. When the key is close to the vehicle, the transmission power can be appropriately reduced to reduce energy consumption; when the key is far away, the transmission power is increased to ensure stable signal transmission. This dynamic adjustment helps to extend the service life of the vehicle battery.
[0072] Further, based on the above embodiments, please refer to Figure 4 In one of the exemplary embodiments provided in the present application, the specific implementation process of the above-mentioned vehicle key control method may further include step S410 and step S420, which are described in detail as follows:
[0073] Step S410, if the distance value indicates that the key terminal is located inside the vehicle, the ultra-wideband communication module is controlled to enter a dormant state;
[0074] Step S420: If it is detected that the key terminal is in a stationary state, the key terminal is controlled to enter a dormant state.
[0075] Specifically, when the distance value between the key terminal and the vehicle terminal is detected, indicating that the key terminal is inside the vehicle, the key terminal will control the ultra-wideband communication module to enter a dormant state. This design is mainly based on the following considerations: inside the vehicle, the communication requirements between the key terminal and the vehicle may be relatively low, because users usually do not need to frequently interact over long distances through the ultra-wideband communication module. At this time, putting the ultra-wideband communication module into a dormant state can significantly reduce energy consumption and extend battery life.
[0076] In addition to distance-based detection, the movement state of the key terminal is also monitored. If the key terminal is detected to be stationary (i.e. the user has not moved the key or performed any operation), the key terminal itself will be controlled to enter a dormant state. This measure is also for energy-saving considerations. In a stationary state, the key terminal does not need to maintain a high-power communication or processing state, so it can reduce energy consumption by hibernation.
[0077] In this embodiment, the ultra-wideband communication module and the key terminal enter a dormant state when no communication or operation is required, which can significantly reduce energy consumption. This is effective in extending the battery life of the key terminal, reducing unnecessary communication and data processing, reducing system burden, and reducing potential failures and conflicts, thereby enhancing the stability and reliability of the entire vehicle keyless entry system.
[0078] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of a simplified process of controlling a car key when the car key is close to the vehicle. Figure 5As shown, when the car key approaches the vehicle, the car key scans the vehicle, wherein after the vehicle terminal receives the scanning signal of the physical key, a Bluetooth connection is established with the car key, and a security authentication between the car key and the vehicle terminal is performed through the Bluetooth connection. After the authentication is passed, only the Bluetooth module of the car key is powered on, and the Bluetooth configuration parameters are forwarded to the vehicle-end anchor point through the vehicle terminal. Then, the vehicle-end anchor point starts to scan the signal sent by the Bluetooth receiving module of the car key, and sends the scanned Bluetooth reception strength value to the vehicle terminal, and then the vehicle terminal calculates the position relationship of the car key relative to the vehicle terminal according to the Bluetooth reception strength value. If the position relationship indicates that the key terminal is located outside the vehicle welcome area, the ultra-wideband module is controlled to be in a dormant state; the Bluetooth signal reception strength between the key terminal and the vehicle-end anchor point is obtained, and if the Bluetooth signal reception strength is greater than the preset Bluetooth signal reception strength threshold, the ultra-wideband communication module is controlled to be turned on to establish an ultra-wideband communication session with the vehicle-end anchor point; the distance value between the key terminal and the vehicle terminal is determined based on the ultra-wideband communication session, and the working parameters of the ultra-wideband communication module are adjusted based on the distance value. If the distance value indicates that the key terminal is located inside the vehicle, the ultra-wideband communication module is controlled to enter a dormant state; if the key terminal is detected to be stationary, the key terminal is controlled to enter a dormant state. For detailed implementation processes, please refer to the records in the above embodiments, which will not be described here.
[0079] Further, based on the above embodiments, please refer to Figure 6 In one of the exemplary embodiments provided in the present application, the specific implementation process of the above-mentioned vehicle key control method may further include step S610 and step S620, which are described in detail as follows:
[0080] Step S610, if the shake wake-up function of the key terminal is activated, the key terminal is controlled to exit the sleep state and the ultra-wideband communication module is turned on to calculate the distance value between the key terminal and the vehicle;
[0081] Step S620: If the distance value is greater than the preset distance threshold, the ultra-wideband communication module is controlled to enter a dormant state and the Bluetooth communication module is turned on.
[0082] Specifically, when the user needs to use the vehicle, the built-in shake-to-wake function can be activated by shaking the smart key terminal. This function is designed to allow the key terminal to be quickly awakened in a dormant state without pressing a physical button or performing other complex operations. Once the shake-to-wake function is triggered, the key terminal will exit the dormant state and immediately turn on its ultra-wideband (UWB) communication module. After enabling the UWB communication module, the key terminal will begin to communicate with the corresponding receiver on the vehicle, and accurately calculate the distance between the two by measuring the signal round-trip time (Time of Flight, ToF) or other UWB-specific technologies. After calculating the distance value, the key terminal will compare it with a preset distance threshold.
[0083] This preset distance threshold may be set based on factors such as the vehicle's safety requirements and user experience to determine whether the user is close enough to the vehicle to proceed to the next step. If the calculated distance value is greater than the preset distance threshold, it means that the user is not currently near the vehicle or does not need to perform accurate distance measurement immediately, so the key terminal will control the UWB communication module to enter a dormant state to save energy. At the same time, in order to maintain a communication connection with the vehicle (although at a lower accuracy), the key terminal will turn on the Bluetooth communication module. Although Bluetooth communication is not as accurate as UWB, it has wider compatibility and lower energy consumption, and is suitable for communication needs when the user is far away from the vehicle.
[0084] In this embodiment, the shake to wake up function allows the user to quickly wake up the device and trigger communication with the vehicle through a simple physical action (shaking the key terminal) without pressing buttons or performing other complex operations, thereby improving the convenience of use and user experience. In addition, the most suitable communication module is dynamically selected according to the distance value between the key terminal and the vehicle, which can further reduce energy consumption while ensuring communication effect.
[0085] Further, based on the above embodiments, please refer to Figure 7 In one of the exemplary embodiments provided in the present application, the key terminal further includes an acceleration sensor module, and the specific implementation process of the vehicle key control method may further include step S710 and step S720, which are described in detail as follows:
[0086] Step S710, acquiring acceleration information monitored by the acceleration sensor module, the acceleration information including acceleration and acceleration maintenance duration;
[0087] Step S720: If the acceleration is greater than the preset acceleration threshold and the acceleration is maintained for a duration greater than the preset duration threshold, it is determined that the shake to wake function is activated.
[0088] Specifically, when it is detected that the key terminal is positioned inside the vehicle, ultra-wideband communication positioning is no longer required, the ultra-wideband communication module is powered off, and when the acceleration sensor module detects that the key is basically in a stationary state, the physical key enters a low power consumption mode.
[0089] Exemplarily, in some feasible embodiments, when the acceleration sensor module (Gsensor) detects the movement of the key, the physical key will be awakened, and the ultra-wideband communication modules at the key end and the anchor end will be powered on at the same time, and UWB ranging positioning will be turned on. At this time, the transmission power of the ultra-wideband communication module defaults to the unlocking area transmission power of 3dbm. When the owner is located to enter the locking area from the unlocking area, the locking is immediately performed, and the UWB transmission power is adjusted to the locking area transmission power of 4dbm. When the key is located in the welcome area, the transmission power of the ultra-wideband communication module is adjusted to 6dbm. In addition, if the calculated distance value is greater than the preset distance threshold, it means that the user is not currently near the vehicle or does not need to perform accurate distance measurement immediately, so the key terminal will control the ultra-wideband communication module to enter a dormant state to save energy.
[0090] At the same time, in order to maintain communication with the vehicle (although at a lower accuracy), the key terminal will turn on the Bluetooth communication module. Although Bluetooth communication is not as accurate as ultra-wideband communication, it has wider compatibility and lower energy consumption, which is suitable for communication needs when the user is far away from the vehicle.
[0091] In this embodiment, by considering both the magnitude of acceleration and the duration of maintenance, the shake-to-wake function can be effectively avoided from being falsely triggered due to short or small vibrations (such as a slight collision in the pocket), thereby improving the accuracy of the wake-up. The user only needs to wake up the key terminal through obvious shaking movements, without pressing buttons or performing other complex operations. This intuitive and easy-to-operate method enhances the user experience.
[0092] Further, based on the above embodiments, please refer to Figure 8 In one of the exemplary embodiments provided in the present application, the specific implementation process of the above-mentioned vehicle key control method may also include step S810 and step S820, which are described in detail as follows:
[0093] Step S810, obtaining a Bluetooth reception signal value between the key terminal and the vehicle terminal, and adjusting a communication broadcast cycle of the key terminal based on the Bluetooth signal reception value;
[0094] Step S820: If the Bluetooth reception signal value is lower than a preset Bluetooth reception signal threshold, the Bluetooth communication module is controlled to be turned off, and the key terminal is controlled to be in a dormant state.
[0095] Specifically, first, the system will monitor and obtain the Bluetooth reception signal value between the key terminal and the vehicle terminal in real time or periodically. This signal value reflects the strength and quality of the Bluetooth signal between the two devices and is a key parameter for evaluating the stability and reliability of the connection. Based on the obtained Bluetooth reception signal value, the system will intelligently adjust the Bluetooth communication broadcast cycle of the key terminal. The broadcast cycle refers to the frequency at which the key terminal periodically sends Bluetooth signals to the surrounding area to be detected by other devices (such as vehicle terminals).
[0096] If the Bluetooth reception signal value is high, it means that the current connection is stable and the signal quality is good. The system may appropriately reduce the broadcast cycle to reduce unnecessary broadcasts, thereby saving power and reducing potential interference with other Bluetooth devices. On the contrary, if the Bluetooth reception signal value is low, the key terminal will increase the broadcast cycle to increase the chance of being detected by the vehicle terminal, thereby maintaining the stability of the connection. When the Bluetooth reception signal value is lower than the preset Bluetooth reception signal threshold, the key terminal determines that the current connection may be unstable or unable to maintain effective communication. In order to save power and avoid invalid communication attempts, the key terminal will take the following measures: Control the shutdown of the Bluetooth communication module: This will immediately stop the Bluetooth broadcast and reception functions of the key terminal, thereby significantly reducing energy consumption. Control the key terminal to enter a dormant state: After turning off the Bluetooth communication module, the key terminal may put the key terminal into a low-power dormant mode. In the dormant state, most of the functions of the key terminal will be turned off or suspended, and only the basic wake-up mechanism remains active so that it can quickly resume working when needed.
[0097] In this embodiment, by dynamically adjusting the communication broadcast cycle, it is possible to reduce the number of unnecessary broadcasts according to changes in signal strength while ensuring communication effects, thereby significantly reducing the energy consumption of the key terminal and extending the battery life. By turning off the Bluetooth communication module and putting the key terminal into a sleep state when the signal is poor, communication failures and system errors caused by signal interference or interruptions can be reduced, thereby enhancing the stability and reliability of the entire keyless entry system.
[0098] See also Fig. 9 , Fig. 9This is a brief flow chart of an exemplary process of controlling a car key when the car key is close to the vehicle. If the shake wake-up function of the key terminal is activated, the key terminal is controlled to exit the dormant state and turn on the ultra-wideband communication module. On the vehicle terminal side, the vehicle terminal also controls the ultra-wideband module of the vehicle-side anchor point and turns on the corresponding UWB configuration parameters to calculate the distance value between the key terminal and the vehicle; if the distance value is not greater than the preset distance threshold, the transmission frequency of the ultra-wideband communication module is adjusted based on the distance value; if the distance value is greater than the preset distance threshold, the ultra-wideband communication module is controlled to enter the dormant state and the Bluetooth communication module is turned on. The Bluetooth reception signal value between the key terminal and the vehicle terminal is obtained, and the communication broadcast cycle of the key terminal is adjusted based on the Bluetooth signal reception value; if the Bluetooth reception signal value is lower than the preset Bluetooth reception signal threshold, the Bluetooth communication module is controlled to be turned off, and the key terminal is controlled to be in a dormant state, and the key terminal is awakened after the next shake function is activated. The corresponding vehicle terminal also controls the anchor point on the vehicle to power off, so that the vehicle terminal enters a low power consumption state. For the detailed implementation process, please refer to the records in the aforementioned embodiments, which will not be repeated here.
[0099] Fig.10 is a block diagram of a vehicle key control device shown in an exemplary embodiment of the present application. The device can be applied to Figure 1 The implementation environment shown in the figure is specifically configured in the key terminal 110. The device can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the device is applied.
[0100] like Fig.10 As shown, the exemplary vehicle key control device includes: a determination module 1010, which is used to obtain the Bluetooth signal field strength information between the key terminal and the vehicle terminal, and determine the position relationship of the key terminal relative to the vehicle terminal based on the Bluetooth signal field strength information; a first control module 1020, which is used to control the ultra-wideband module to be in a dormant state if the position relationship indicates that the key terminal is located outside the vehicle welcome area; a second control module 1030, which is used to obtain the Bluetooth signal reception strength between the key terminal and the vehicle-end anchor point, and if the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, control the ultra-wideband communication module to be turned on to establish an ultra-wideband communication session with the vehicle-end anchor point; an adjustment module 1040, which is used to determine the distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session, and adjust the working parameters of the ultra-wideband communication module based on the distance value.
[0101] According to one aspect of an embodiment of the present application, the above-mentioned adjustment module 1040 is also used to determine that the key terminal is located within the vehicle welcome area if the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold; if the key terminal is located within the vehicle welcome area, the working parameters of the ultra-wideband communication module are adjusted based on the distance value.
[0102] According to one aspect of an embodiment of the present application, the adjustment module 1040 is further configured to adjust the transmission frequency of the ultra-wideband communication module based on the distance value, wherein the transmission frequency is proportional to the distance value.
[0103] According to one aspect of an embodiment of the present application, the adjustment module 1040 is also used to control the ultra-wideband communication module to enter a sleep state if the distance value indicates that the key terminal is located inside the vehicle; if the key terminal is detected to be in a stationary state, control the key terminal to enter a sleep state.
[0104] According to one aspect of an embodiment of the present application, the above-mentioned car key control device also includes: a third control module, which is used to control the key terminal to exit the sleep state and turn on the ultra-wideband communication module when the shake wake-up function of the key terminal is activated to calculate the distance value between the key terminal and the vehicle; a fourth control module, which is used to control the ultra-wideband communication module to enter the sleep state and turn on the Bluetooth communication module if the distance value is greater than a preset distance threshold.
[0105] According to one aspect of an embodiment of the present application, the above-mentioned car key control device also includes: a monitoring module, which is used to obtain the acceleration information monitored by the acceleration sensing module, and the acceleration information includes acceleration and the duration of acceleration maintenance; a determination module, which is used to determine that the shake wake-up function is activated if the acceleration is greater than a preset acceleration threshold and the acceleration maintenance time is greater than a preset time threshold.
[0106] According to one aspect of an embodiment of the present application, the above-mentioned vehicle key control device also includes: a broadcast cycle adjustment module, which is used to obtain the Bluetooth reception signal value between the key terminal and the vehicle terminal, and adjust the communication broadcast cycle of the key terminal based on the Bluetooth signal reception value; a fifth control module, which is used to control the shutdown of the Bluetooth communication module and control the key terminal to be in a sleep state if the Bluetooth reception signal value is lower than a preset Bluetooth reception signal threshold.
[0107] It should be noted that the car key control device provided in the above embodiment and the car key control method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the car key control device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.
[0108] An embodiment of the present application also provides an electronic device, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the car key control method provided in the above-mentioned embodiments.
[0109] Fig.11 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Fig.11 The computer system 1100 of 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 application.
[0110] like Fig.11 As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage part 1108 to the random access memory (RAM) 1103, such as executing the method in the above embodiment. In the RAM 1103, various programs and data required for system operation are also stored. The CPU 1101, the ROM 1102 and the RAM 1103 are connected to each other through the bus 1104. The input / output (I / O) interface 1105 is also connected to the bus 1104.
[0111] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0112] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1109, and / or installed from a removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.
[0113] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, 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 can 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), a 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 application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A 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. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0114] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0115] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0116] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the vehicle key control method as described above is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0117] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the vehicle key control method provided in each of the above embodiments.
[0118] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A vehicle key control method, characterized in that: Applied to a key terminal, the key terminal is communicatively connected with a vehicle terminal, the key terminal includes a Bluetooth communication module and an ultra-wideband communication module, and the method includes: Acquiring Bluetooth signal strength information between the key terminal and the vehicle terminal, and determining a positional relationship of the key terminal relative to the vehicle terminal based on the Bluetooth signal strength information; If the position relationship indicates that the key terminal is located outside the vehicle welcome area, controlling the ultra-wideband module to be in a dormant state; Acquire the Bluetooth signal reception strength between the key terminal and the vehicle-end anchor point, and if the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, control to turn on the ultra-wideband communication module to establish an ultra-wideband communication session with the vehicle-end anchor point; A distance value between the key terminal and the vehicle terminal is determined based on the ultra-wideband communication session, and an operating parameter of the ultra-wideband communication module is adjusted based on the distance value.
2. The method according to claim 1, characterized in that The method further comprises: If the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, determining that the key terminal is located within the vehicle welcome area; If the key terminal is located within the vehicle welcome area, the operating parameters of the ultra-wideband communication module are adjusted based on the distance value.
3. The method according to claim 2, characterized in that The operating parameters include a transmission frequency of the ultra-wideband communication module, and the step of adjusting the operating parameters of the ultra-wideband communication module based on the distance value includes: The transmission frequency of the ultra-wideband communication module is adjusted based on the distance value, wherein the magnitude of the transmission frequency is proportional to the distance value.
4. The method according to claim 1, characterized in that The method further comprises: If the distance value indicates that the key terminal is located inside the vehicle, controlling the ultra-wideband communication module to enter a dormant state; If it is detected that the key terminal is in a stationary state, the key terminal is controlled to enter a dormant state.
5. The method according to claim 4, characterized in that The method further comprises: If the shake wake-up function of the key terminal is activated, the key terminal is controlled to exit the sleep state and the ultra-wideband communication module is turned on to calculate the distance value between the key terminal and the vehicle; If the distance value is greater than a preset distance threshold, the ultra-wideband communication module is controlled to enter a dormant state and the Bluetooth communication module is turned on.
6. The method according to claim 5, characterized in that The key terminal further includes an acceleration sensor module, and the method further includes: Acquiring acceleration information monitored by the acceleration sensor module, wherein the acceleration information includes acceleration and acceleration maintenance duration; If the acceleration is greater than a preset acceleration threshold and the acceleration is maintained for a duration greater than a preset duration threshold, it is determined that the shake to wake function is activated.
7. The method according to claim 5, characterized in that The method further comprises: Acquiring a Bluetooth reception signal value between the key terminal and the vehicle terminal, and adjusting a communication broadcasting period of the key terminal based on the Bluetooth signal reception value; If the Bluetooth reception signal value is lower than a preset Bluetooth reception signal threshold, the Bluetooth communication module is controlled to be turned off, and the key terminal is controlled to be in a dormant state.
8. A vehicle key control device, characterized in that: Applied to a key terminal, the key terminal is communicatively connected with a vehicle terminal, the key terminal includes a Bluetooth communication module and an ultra-wideband communication module, and the device includes: a determination module, configured to obtain Bluetooth signal strength information between the key terminal and the vehicle terminal, and determine a positional relationship of the key terminal relative to the vehicle terminal based on the Bluetooth signal strength information; A first control module, configured to control the ultra-wideband module to be in a dormant state if the position relationship indicates that the key terminal is located outside the vehicle welcome area; A second control module is used to obtain the Bluetooth signal reception strength between the key terminal and the vehicle-end anchor point, and if the Bluetooth signal reception strength is greater than a preset Bluetooth signal reception strength threshold, control to turn on the ultra-wideband communication module to establish an ultra-wideband communication session with the vehicle-end anchor point; An adjustment module is used to determine a distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session, and adjust an operating parameter of the ultra-wideband communication module based on the distance value.
9. A car key, characterized in that: include: one or more processors; A storage device, used to store one or more programs, when the one or more programs are executed by the one or more processors, enables the vehicle key to implement the vehicle key control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the vehicle key control method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Payment equipment for mobile terminal and payment method
CN104850989A
Game control method and device with connection of smart TV and terminal
CN105472474A
Access apparatus for a vehicle
CN109996705A
Digital vehicle key working state management method and system
CN113825104A
Car key based on BLE and UWB, control method and readable storage medium
CN114445938A
Cited By
Vehicle control method, device and system, electronic equipment and vehicle
CN119975250A
Vehicle control method, device, system, electronic equipment and vehicle
CN119975250B
Automobile Bluetooth control method and system based on keyless entry mode
CN120245912A
Vehicle door control method and vehicle
CN121515913A