Car key control method and device, electronic equipment and storage medium
By combining Bluetooth and ultra-wideband communication modules in the digital key terminal, automatically detecting the communication range and dynamically adjusting the communication method, the problem of high power consumption of digital keys in the signal reception window is solved, and the inductive vehicle entry and energy consumption management is realized, and the continuous expansion of the inductive vehicle is achieved. Battery life.
Patent Information
- Application Number
- CN202411326067.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-23
- Publication Date
- 2025-01-10
AI Technical Summary
The existing digital keys consume a lot of power during the signal reception window, which makes it difficult for button batteries to meet daily use and the rapid decline in power of terminal equipment.
By combining Bluetooth and ultra-wideband communication modules in the key terminal, the effective communication range is automatically detected and Bluetooth connection is enabled, and the position relationship is determined based on the Bluetooth received signal field strength value. If it is located outside the vehicle, the ultra-wideband session is turned on to calculate the distance value and according to the location Relationship and signal difference thresholds dynamically adjust the start and stop of ultra-wideband communication to reduce energy consumption.
It realizes insensitive entry of the vehicle, prevents illegal entry or start-up, and extends the life of the car key battery through precise distance measurement and energy consumption control.
Smart Images

Figure CN119299953A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a vehicle key control method, device, electronic device, and computer-readable storage medium. Background Art
[0002] With the increasing popularity of digital car keys, the third generation of digital keys has made great progress in smart cars. Among them, ultra-wideband communication can achieve high-precision positioning through TOF (Time of Flight) positioning technology, bringing a better experience to users. However, since most of the mobile phones on the market do not support ultra-wideband functions, in order to allow users to experience the comfort brought by ultra-wideband, vehicle manufacturers have developed physical keys based on low-power Bluetooth and ultra-wideband: low-power Bluetooth is mainly used for communication with the vehicle and Bluetooth field strength positioning, and ultra-wideband is mainly used for ultra-wideband high-precision positioning of keys.
[0003] However, while ultra-wideband brings high-precision positioning to digital keys, it also has defects under current technical conditions. Ultra-wideband consumes a lot of power during the signal reception window, causing remote control keys using button batteries to be unable to meet the daily needs of users, or the terminal equipment also has the problem of rapid battery depletion. Summary of the invention
[0004] To solve the above technical problems, embodiments of the present application provide a vehicle key control method and device, an electronic device, 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 with a vehicle terminal, and the key terminal includes a Bluetooth communication module and an ultra-wideband communication module. The method includes: if the key terminal and the vehicle terminal are within an effective communication range, controlling the Bluetooth communication module to be turned on to establish a Bluetooth communication connection with the vehicle terminal; obtaining a Bluetooth reception signal field strength value 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 reception signal field strength value; if the positional relationship indicates that the key terminal is located outside the vehicle, obtaining an anchor point Bluetooth reception signal value corresponding to a vehicle-side anchor point; and controlling an ultra-wideband communication session between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth reception signal value, so as to calculate a distance value between the key terminal and the vehicle-mounted terminal based on the ultra-wideband communication session.
[0006] According to one aspect of an embodiment of the present application, the vehicle-end anchor points include at least two, and the method further includes: obtaining the anchor point Bluetooth reception signal values corresponding to the at least two vehicle-end anchor points; if the signal difference between the at least two anchor point Bluetooth reception signal values is greater than a preset signal difference threshold, controlling the ultra-wideband communication module to be turned on to establish an ultra-wideband session with the vehicle-mounted terminal; and calculating the distance value between the key terminal and the vehicle-mounted terminal based on the ultra-wideband session.
[0007] According to one aspect of an embodiment of the present application, the method also includes: determining the preset signal difference threshold based on the positional relationship of the key terminal relative to the vehicle terminal, wherein the positional relationship includes a vehicle welcome area and a vehicle unlocking area, and a distance value of the vehicle welcome area relative to the vehicle terminal is greater than a distance value of the vehicle unlocking area relative to the vehicle terminal.
[0008] According to one aspect of an embodiment of the present application, the preset signal difference threshold is determined based on the positional relationship of the key terminal relative to the vehicle terminal, including: if the key terminal is located in the vehicle welcome area, determining the preset signal difference threshold to be a first preset signal difference threshold; if the key terminal is located in the vehicle unlocking area, determining the preset signal difference threshold to be a second preset signal difference threshold, wherein the second preset signal difference threshold is less than the first preset signal difference threshold.
[0009] According to one aspect of the present application, the method also includes: opening multiple ultra-wideband sessions between the ultra-wideband communication module and the vehicle terminal at a preset frequency; extracting the flight time in the multiple ultra-wideband sessions, and calculating the distance value between the key terminal and the vehicle terminal based on the flight time; calculating the actual location information of the key terminal based on the distance value through the three-circle positioning principle; after calculating the actual location information of the key terminal based on the distance value through the three-circle positioning principle, the method also includes: controlling the closing of the ultra-wideband communication connection between the ultra-wideband communication module and the vehicle terminal, and controlling the ultra-wideband communication module to enter a sleep state.
[0010] According to one aspect of an embodiment of the present application, the method also includes: if it is determined based on the ultra-wideband session that the key terminal is located inside the vehicle, then controlling the establishment of an ultra-wideband session between the ultra-wideband communication module and the vehicle terminal to determine the actual location information of the key terminal based on the ultra-wideband session; obtaining the actual location information corresponding to the key terminal in multiple ultra-wideband sessions within a preset period; if multiple actual location information all indicate that the key terminal is located inside the vehicle, then controlling the ultra-wideband communication module to enter a sleep state.
[0011] According to one aspect of an embodiment of the present application, the method also includes: if it is detected that the vehicle door is opened, controlling the establishment of an ultra-wideband session with the vehicle-mounted terminal to determine the position relationship of the key terminal relative to the vehicle terminal based on the ultra-wideband session; if the position relationship indicates that the key terminal is outside the vehicle, obtaining the anchor point Bluetooth reception signal value corresponding to the vehicle-end anchor point; and controlling the ultra-wideband communication connection between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth reception signal value.
[0012] According to one aspect of an embodiment of the present application, a vehicle key control device is provided, which is applied to a vehicle terminal and a key terminal, wherein the key terminal is communicatively connected with the vehicle terminal, and the key terminal includes a Bluetooth communication module and an ultra-wideband communication module, and the device includes: an establishment module, which is used to control the Bluetooth communication module to be turned on to establish a Bluetooth communication connection with the vehicle terminal if the key terminal and the vehicle terminal are within an effective communication range; a determination module, which is used to obtain a Bluetooth reception signal field strength value 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 reception signal field strength value; an acquisition module, which is used to obtain an anchor point Bluetooth reception signal value corresponding to a vehicle-side anchor point if the positional relationship indicates that the key terminal is located outside the vehicle; and a control module, which is used to control an ultra-wideband communication session between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth reception signal value, so as to calculate a distance value between the key terminal and the vehicle-mounted terminal based on the ultra-wideband communication session.
[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, the effective communication range between the key terminal and the vehicle terminal is automatically detected, and the Bluetooth communication module is automatically turned on to establish a connection. This process greatly improves the user's convenience and realizes the non-sensitive entry into the vehicle. The positional relationship between the key terminal and the vehicle terminal is determined by the Bluetooth received signal field strength value, which can effectively prevent illegal entry or start-up of the vehicle, and the ultra-wideband connection of the key terminal is controlled by the anchor point Bluetooth received signal value corresponding to the vehicle-end anchor point. Not only can accurate distance measurement be achieved through ultra-wideband technology, but also the start and stop of the ultra-wideband communication module can be controlled to reduce the energy consumption of the car key and extend the life of the car key battery.
[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 is a flow chart of a vehicle key control method shown in another exemplary embodiment of the present application;
[0022] Figure 4 is a schematic diagram showing a communication connection between a vehicle key and a vehicle-end anchor point shown in an exemplary embodiment of the present application;
[0023] Figure 5 is a schematic diagram showing different functional areas arranged around a vehicle according to an exemplary embodiment of the present application;
[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 8is a flow chart of a vehicle key control method shown in another exemplary embodiment of the present application;
[0027] Fig. 9 is a brief flowchart of vehicle key control according to another exemplary embodiment of the present application;
[0028] Fig.10 is a brief flowchart of vehicle key control according to another exemplary embodiment of the present application;
[0029] Fig.11 is a block diagram of a vehicle key control device shown in an exemplary embodiment of the present application;
[0030] Fig.12 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
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] First of all, it should be noted that the digital car key is an innovative car key technology. It uses communication technologies such as Bluetooth, NFC (near field communication) or UWB (ultra-wideband) through smart terminal devices such as smartphones and wearable devices to achieve wireless communication and interaction with the vehicle. The following is a detailed analysis of the digital car key: Definition: A digital car key is a technology that converts smart terminal devices such as smartphones, smart cards, smart watches or bracelets into car keys, and realizes the unlocking, starting and related operations of the vehicle through wireless communication. Principle: Digital car keys use communication technologies such as Bluetooth, NFC or UWB between smart terminal devices and vehicles to achieve precise key management and vehicle control. When the smart terminal device approaches the vehicle, the vehicle will detect the signal sent by the device and perform the corresponding unlocking or starting operations.
[0036] In digital key technology, the combination of Bluetooth Low Energy (BLE) and UltraWide Band (UWB) provides users with a more convenient, safe and precise vehicle control experience. This combination makes full use of the wide popularity and low power consumption characteristics of BLE, as well as the high-precision positioning and strong security of UWB, to achieve complementary advantages. The combination of BLE and UWB in the digital key, when the owner carries a smart terminal device such as a smartphone away from the vehicle, BLE first works to achieve long-distance identification and preliminary connection with the vehicle. BLE has a relatively long communication distance (usually up to a few meters to more than ten meters), and can start communication and data exchange before the owner approaches the vehicle. After the BLE connection is established, both parties will perform identity authentication and data exchange. This includes confirming the identity of the owner, transmitting vehicle status information, etc. The low power consumption characteristics of BLE allow this process to be completed without consuming too much power. When the owner carries a smart terminal device close to the vehicle and enters the ranging range of UWB (usually several meters to more than ten meters), the UWB module starts working. UWB transmits data by sending and receiving extremely narrow pulses, achieving centimeter-level high-precision positioning. This accuracy is much higher than BLE, which can ensure that the owner unlocks and starts the vehicle at the correct location.
[0037] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a car key control according to an exemplary embodiment of the present application. Figure 1As shown, if it is detected that the key terminal 110 and the vehicle terminal 120 are within the effective communication range, the Bluetooth communication module 1101 of the key terminal 110 is controlled to be turned on to establish a Bluetooth communication connection with the vehicle terminal 120, and then the Bluetooth receiving signal field strength value between the key terminal and the vehicle terminal can be obtained to determine the position relationship of the key terminal 110 relative to the vehicle terminal 120 based on the Bluetooth signal field strength value. If the position relationship indicates that the key terminal is located outside the vehicle, the anchor point Bluetooth receiving signal value of the vehicle-side anchor point corresponding to the vehicle terminal 120 can be obtained, and then the ultra-wideband session between the ultra-wideband communication module 1102 of the key terminal 110 and the vehicle terminal 120 can be controlled based on the anchor point Bluetooth receiving signal value, and the distance value between the key terminal 110 and the vehicle terminal 120 is calculated based on the ultra-wideband communication session.
[0038] 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.
[0039] With the increasing popularity of digital car keys, the third generation of digital keys has made great progress in smart cars. Among them, ultra-wideband communication can achieve high-precision positioning through TOF (Time of Flight) positioning technology, bringing a better experience to users. However, since most of the mobile phones on the market do not support ultra-wideband functions, in order to allow users to experience the comfort brought by ultra-wideband, vehicle manufacturers have developed physical keys based on low-power Bluetooth and ultra-wideband: low-power Bluetooth is mainly used for communication with the vehicle and Bluetooth field strength positioning, and ultra-wideband is mainly used for ultra-wideband high-precision positioning of keys.
[0040] However, while ultra-wideband brings high-precision positioning to digital keys, it also has defects under current technical conditions. Ultra-wideband consumes a lot of power during the signal reception window, causing remote control keys using button batteries to be unable to meet the daily needs of users, or the terminal equipment also has the problem of rapid battery depletion.
[0041] The above-mentioned problems are generally applicable in common usage 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.
[0042] 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 1The 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.
[0043] 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.
[0044] Step S210: If the key terminal and the vehicle terminal are within the effective communication range, the Bluetooth communication module is controlled to be turned on to establish a Bluetooth communication connection with the vehicle terminal.
[0045] Specifically, when the user brings the key terminal close to the vehicle, when it is detected that the key terminal and the vehicle terminal are within the effective communication range, the Bluetooth communication module of the key terminal can be controlled to be turned on, thereby establishing a Bluetooth communication connection between the key terminal and the vehicle terminal.
[0046] Exemplarily, when the key terminal (usually refers to a device with vehicle control functions such as a smart key or mobile phone APP) and the vehicle terminal (i.e., the control system or smart interface on the vehicle) are within the effective communication range, in order to ensure effective interaction and command transmission between the two, a series of measures are usually taken to establish and maintain a safe and stable communication connection. First, the key terminal detects the distance or signal strength between itself and the vehicle terminal to determine whether it is within the preset effective communication range. Once it is confirmed to be within the effective communication range, the key terminal will control and activate its built-in Bluetooth communication module. This step may involve turning on the Bluetooth function, selecting a specific communication channel or protocol, and initializing the necessary communication parameters. After activating the Bluetooth communication module, the key terminal will begin searching for available Bluetooth devices around, especially those belonging to the vehicle terminal. After finding the target device, the two parties will go through the pairing process, which usually involves exchanging security mechanisms such as encryption keys or verification codes to ensure the confidentiality and integrity of the communication.
[0047] In addition, after the connection is established, the key terminal needs to continuously monitor the stability and effectiveness of the connection. If a connection interruption or signal quality degradation is detected, appropriate measures may be taken to reestablish the connection or switch to other communication methods. Alternatively, when the key terminal leaves the effective communication range or the user actively requests to disconnect, the Bluetooth communication connection will be safely disconnected.
[0048] Step S220: acquiring a Bluetooth received signal strength value 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 received signal strength value.
[0049] Specifically, after establishing a Bluetooth communication connection between the key terminal and the vehicle terminal, the Bluetooth received signal field strength value between the key terminal and the vehicle terminal can be obtained, and the position relationship of the key terminal relative to the vehicle terminal can be estimated based on the Bluetooth signal field strength value. The position relationship of the key terminal relative to the vehicle terminal can be determined through the mapping relationship between the Bluetooth signal field strength value and the position relationship.
[0050] Exemplarily, ensure that the Bluetooth functions of the vehicle terminal and the key terminal are turned on and are in a scannable or discoverable state. During Bluetooth communication, each Bluetooth device can measure the signal strength received from the other device. This strength value is usually expressed as an RSSI value, usually in dBm (decibel milliwatts). After successfully establishing a Bluetooth connection or scanning a Bluetooth device, the key terminal can read the RSSI value received from the vehicle terminal. In theory, the RSSI value decreases as the distance increases. However, this relationship is affected by many factors, such as environmental obstacles (such as walls, trees, etc.), multipath effects (signal reflection, diffraction), electromagnetic interference, etc. In practical applications, it may be necessary to establish a model of the approximate correspondence between the RSSI value and the actual distance between the key terminal and the vehicle terminal through field testing. This model can be linear, nonlinear, or based on a more complex algorithm (such as machine learning). Based on the acquired RSSI value and the established model, the approximate position or distance range of the key terminal relative to the vehicle terminal can be estimated.
[0051] Step S230: If the position relationship indicates that the key terminal is located outside the vehicle, the anchor point Bluetooth reception signal value corresponding to the vehicle-side anchor point is obtained.
[0052] Specifically, if the determined positional relationship of the key terminal relative to the vehicle terminal indicates that the key terminal is located outside the vehicle terminal, the anchor point Bluetooth reception signal value corresponding to the vehicle-end anchor point corresponding to the vehicle terminal can be obtained, wherein the vehicle-end anchor point is set at different positions on the vehicle body or inside the vehicle, so the anchor point Bluetooth signal reception value received by each vehicle-end anchor point may be different.
[0053] Exemplarily, first, a series of anchor points need to be preset on the vehicle. These anchor points are usually devices equipped with Bluetooth receivers or Bluetooth communication capabilities. They are distributed in various key locations of the vehicle, such as door handles, trunk lid, near windows, etc., so as to receive Bluetooth signals from the key terminal from different angles. Make sure that the Bluetooth receiving function of all vehicle-side anchor points is activated and in a state where signals can be received. These anchor points will continue to monitor the surrounding Bluetooth signals, especially those from the key terminal. When the system determines that the key terminal is outside the vehicle, it will trigger signal detection of the vehicle-side anchor point. Each anchor point will try to receive the Bluetooth signal from the key terminal and measure the signal strength (RSSI value). Each vehicle-side anchor point will record the RSSI value of the key terminal Bluetooth signal it receives. These values will serve as an important basis for analyzing the positional relationship between the key terminal and the vehicle.
[0054] Step S240 , controlling the ultra-wideband communication session between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth reception signal value, so as to calculate the distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session.
[0055] Specifically, the specific positional relationship between the key terminal and the vehicle terminal can be further determined based on a series of anchor point Bluetooth reception signal values on the vehicle, and the key terminal can then determine the working parameters of the ultra-wideband communication module based on the specific positional relationship, and then the key terminal can calculate the distance value between the key terminal and the vehicle terminal based on the ultra-wideband session between the ultra-wideband communication module and the vehicle terminal.
[0056] Exemplarily, following the above-mentioned embodiment, since a series of vehicle-end anchor points are provided on the vehicle, it is possible to determine whether the ultra-wideband communication module needs to be turned on by calculating the anchor point Bluetooth reception signal difference before the vehicle-end anchor point on the vehicle, or adjust the working parameters of the ultra-wideband communication module of the key terminal according to the anchor point Bluetooth reception signal difference between the vehicle-end anchor points, wherein the working parameters include the transmission frequency of the ultra-wideband communication module, data transmission efficiency, data transmission size, etc.
[0057] Furthermore, if the ultra-wideband communication module is turned on based on the anchor point Bluetooth reception signal value, and an ultra-wideband session is established between the key terminal and the vehicle terminal, the distance value between the key terminal and the vehicle terminal can be calculated through the ultra-wideband session. Due to the multipath effect, obstacles, signal attenuation and other factors that may exist in the actual environment, the calculated distance value may need to be corrected to a certain extent. The calculated precise distance value can be used in a variety of application scenarios, such as the vehicle's keyless entry / start system, vehicle safety alarm, vehicle tracking, etc. If the distance value is within the preset safety range, the system may allow the key terminal to perform certain operations (such as unlocking the door); if it is out of range, the operation may be rejected or an alarm may be issued.
[0058] In this embodiment, the effective communication range between the key terminal and the vehicle terminal is automatically detected, and the Bluetooth communication module is automatically turned on to establish a connection. This process greatly improves the user's convenience and achieves non-inductive entry into the vehicle. The positional relationship between the key terminal and the vehicle terminal is determined by the Bluetooth received signal field strength value, which can effectively prevent illegal entry or start-up of the vehicle. The ultra-wideband connection of the key terminal is controlled by the anchor point Bluetooth received signal value corresponding to the vehicle-end anchor point, which not only realizes accurate distance measurement using ultra-wideband technology, but also reduces the energy consumption of the car key by controlling the start and stop of the ultra-wideband communication module.
[0059] Further, based on the above embodiments, please refer to Figure 3 In one of the exemplary embodiments provided in the present application, the vehicle includes at least two vehicle-end anchor points, and the specific implementation process of the vehicle key controller may also include step S310 and step S330, which are described in detail as follows:
[0060] Step S310, obtaining anchor point Bluetooth reception signal values corresponding to at least two vehicle-side anchor points;
[0061] Step S320: If the signal difference between the Bluetooth reception signal values of at least two anchor points is greater than a preset signal difference threshold, the ultra-wideband communication module is controlled to be turned on to establish an ultra-wideband session with the vehicle-mounted terminal;
[0062] Step S330: Calculate the distance value between the key terminal and the vehicle terminal based on the ultra-wideband session.
[0063] For details, please refer to Figure 4 , a series of vehicle-end anchor points are set on the vehicle. Since each vehicle-end anchor point is located at a different position on the vehicle, the received Bluetooth signal reception strength value sent by the Bluetooth communication module of the key terminal is also different. Therefore, the anchor point Bluetooth reception signal value corresponding to at least two vehicle-end anchor points can be obtained, and the signal difference between the anchor point Bluetooth reception signal values corresponding to at least two vehicle-end anchor points can be calculated. If the signal difference is greater than the preset signal difference threshold, the ultra-wideband communication module can be controlled to be turned on, thereby establishing an ultra-wideband session between the key terminal and the vehicle-mounted terminal. After the UWB communication module is turned on, it will try to establish an ultra-wideband session with the vehicle-mounted terminal. Once the session is successfully established, the two parties will start to exchange signals and calculate the distance. The calculated distance value will be used for subsequent operations or decisions, such as determining whether the key terminal is within the effective range of the vehicle, whether keyless entry / start is allowed, etc.
[0064] Exemplarily, the system first obtains the anchor Bluetooth receiving signal values corresponding to at least two vehicle-side anchor points (these anchor points are distributed in different locations of the vehicle, such as door handles, trunk lids, etc.). These values are usually expressed in the form of RSSI (Received Signal Strength Indication), reflecting the strength of the Bluetooth signal emitted by the key terminal when it reaches each anchor point. Next, the system calculates the difference between the Bluetooth receiving signal values of these anchor points. Specifically, it compares the RSSI difference between any two anchor points and finds the maximum value of these differences. If this maximum value (i.e., the signal difference) is greater than the preset signal difference threshold, the system believes that the positional relationship between the key terminal and the vehicle may be more complex or uncertain, and a more accurate distance measurement is required to confirm. Once it is determined that a more accurate distance measurement is required, the system will control the opening of the ultra-wideband (UWB) communication module. This module will be used to establish an ultra-wideband session with the vehicle-mounted terminal for high-precision distance calculation. In a UWB session, the key terminal and the vehicle terminal (or a designated UWB receiver) will exchange signals according to the UWB communication protocol and measure the time of signal propagation in space (TOF). Using this time information and the propagation speed of the UWB signal in the air, the precise distance between the key terminal and the vehicle terminal can be calculated.
[0065] In this embodiment, low-power Bluetooth technology can be used preferentially for preliminary screening, and then the high-power but high-precision UWB module can be started when necessary, which effectively balances the energy consumption and response speed of the key terminal, avoids the continuous operation of the high-power UWB module, and thus extends the service life of the key terminal.
[0066] 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, which are described in detail as follows:
[0067] A preset signal difference threshold is determined based on the positional relationship of the key terminal relative to the vehicle terminal, wherein the positional relationship includes a vehicle welcome area and a vehicle unlocking area, and a distance value of the vehicle welcome area relative to the vehicle terminal is greater than a distance value of the vehicle unlocking area relative to the vehicle terminal.
[0068] For details, please refer to Figure 5 , Figure 5 is a division of different control areas around a vehicle shown in an exemplary embodiment of the present application, wherein, Figure 5As shown, from far to near, there are critical lines of the vehicle welcome area, the vehicle locking area, and the vehicle unlocking area, and then the preset signal difference threshold can be determined according to the position relationship between the key terminal and the vehicle terminal. Due to the different distances from the vehicle, the difference between the Bluetooth signal reception strengths of the anchor points on the vehicle end anchor points is different. The closer the distance to the vehicle, the smaller the difference.
[0069] It should be noted that the vehicle welcome area: This is a relatively large area, usually located within a certain distance around the vehicle, used to trigger the welcome function (such as automatically unlocking the door handle, starting the welcome light, etc.) when the owner approaches the vehicle. The distance value of this area relative to the vehicle terminal is large; the vehicle unlocking area: This is a smaller area, usually located near the vehicle, used to perform the unlocking operation when the owner is about to enter the vehicle. The distance value of this area relative to the vehicle terminal is small. When the key terminal is located in the vehicle welcome area, due to the relatively long distance, the attenuation of the Bluetooth signal may be more obvious, and the signal difference between different anchor points will also be relatively large. Therefore, a relatively high signal difference threshold can be set to ensure that the system does not start UWB communication too early when the owner approaches the vehicle but has not yet entered the unlocking area. When the key terminal enters the vehicle unlocking area, due to the short distance, the attenuation of the Bluetooth signal is relatively small, and the signal difference between different anchor points will also be reduced accordingly. At this time, a relatively low signal difference threshold can be set so that the UWB communication can be started in time when the owner is about to enter the vehicle, and accurate distance measurement and unlocking operations can be performed.
[0070] In this embodiment, by dynamically adjusting the preset signal difference threshold according to the different areas (such as the welcome area and the unlocking area) where the key terminal is located, the key terminal can more flexibly adapt to different usage scenarios. In addition, since users have different needs and expectations in different vehicle areas, adjusting the model difference threshold by area can better meet user expectations and improve user experience.
[0071] 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 determining the preset signal difference threshold based on the position relationship of the key terminal relative to the vehicle terminal may also include step S610 and step S620, which are described in detail as follows:
[0072] Step S610, if the key terminal is located in the vehicle welcome area, determining the preset signal difference threshold to be a first preset signal difference threshold;
[0073] Step S620: If the key terminal is located in the vehicle unlocking area, the preset signal difference threshold is determined to be a second preset signal difference threshold, wherein the second preset signal difference threshold is smaller than the first preset signal difference threshold.
[0074] Specifically, based on the acquired Bluetooth RSSI value between the key terminal and the vehicle terminal and the established model, the approximate position or distance range of the key terminal relative to the vehicle terminal can be estimated. If the key terminal is located in the welcome area of the vehicle, the system determines that the preset signal difference threshold is the first preset signal difference threshold. This threshold is usually set relatively high because the welcome area is relatively large and the distance variation range between the key terminal and the vehicle is also large, so a larger signal difference change is required to trigger a more accurate distance measurement mechanism (such as UWB communication). If the key terminal is located in the unlocking area of the vehicle, the system determines that the preset signal difference threshold is the second preset signal difference threshold. This threshold is usually set relatively low because the unlocking area is relatively small and the distance variation range between the key terminal and the vehicle is also small, so a smaller signal difference change is sufficient to trigger accurate distance measurement and unlocking operations.
[0075] In addition, the specific values of the first preset signal difference threshold and the second preset signal difference threshold should be determined according to the actual layout of the vehicle, the attenuation characteristics of the Bluetooth signal, the accuracy of the UWB communication module, and the specific requirements of the system design. These values usually need to be optimized through experiments and tests to ensure the stability and accuracy of the system in different scenarios. The division of the vehicle welcome area and the vehicle unlocking area should also be determined based on actual usage scenarios and user needs. These areas can be fixed geometric shapes (such as circles, rectangles, etc.) or dynamic areas based on specific locations around the vehicle (such as near the door handles, near the trunk lid, etc.). Therefore, the preset signal difference threshold can be adjusted dynamically according to the position change of the key terminal. This can be achieved by real-time monitoring of the Bluetooth signal strength emitted by the key terminal, the signal value received by each anchor point, and the relative position between the vehicle and the key terminal.
[0076] In this embodiment, on the one hand, the signal difference threshold of the Bluetooth receiving signal is dynamically adjusted according to the location of the key terminal, thereby realizing refined control of the ultra-wideband communication module. On the other hand, a higher signal difference threshold is used to avoid unnecessary UWB module startup, thereby saving energy and reducing potential delays. In the unlocking area, users expect to complete the unlocking operation quickly and accurately, and a lower signal difference threshold can ensure that the system responds quickly and improves the user experience.
[0077] Further, based on the above embodiments, please refer to Figure 7 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 steps S710 to S730, which are described in detail as follows:
[0078] Step S710, opening multiple ultra-wideband sessions between the ultra-wideband communication module and the vehicle terminal according to a preset frequency;
[0079] Step S720, extracting the flight time in the plurality of ultra-wideband sessions, and calculating the distance value between the key terminal and the vehicle terminal based on the flight time;
[0080] Step S720: Calculate the actual position information of the key terminal based on the distance value by using the three-circle positioning principle.
[0081] Specifically, after an ultra-wideband session is initiated between the ultra-wideband communication module of the key terminal and the vehicle-end anchor point, the ultra-wideband communication module can be controlled to initiate multiple ultra-wideband sessions between the ultra-wideband communication module and the vehicle-end anchor point at a preset frequency, and the multiple ultra-wideband sessions can be extracted. For example, the ultra-wideband session ranging can be performed 10 times at 100 ms / time, and the 10 ultra-wideband sessions can be obtained. That is to say, the key terminal will not always establish an ultra-wideband session with the vehicle-end anchor point. After obtaining multiple ultra-wideband sessions between the ultra-wideband communication module and the vehicle terminal at a preset frequency, the ranging ultra-wideband session may no longer be performed.
[0082] Specifically, it is necessary to extract the flight time of the light pulse or radio wave from the key terminal to the vehicle terminal and then reflected from the vehicle terminal back to the key terminal from the UWB communication session. This time is usually measured by a precise timestamp and represents the total time of the signal round trip. Once the flight time (t TOF ), the distance (d) between the key terminal and the vehicle terminal can be calculated using the following formula:
[0083] d = 2c × t TOF
[0084] Where c is the speed of light (about 299,792,458 m / s in a vacuum), t TPF is the flight time extracted from step 1. Note that since the signal is round-trip, the flight time needs to be divided by 2 to get the one-way distance. The three-circle positioning principle (also known as trilateration) is a method for determining the position of an unknown point based on the distance from three known points to an unknown point. In this scenario, it can be assumed that there are three vehicle terminals (or at least three UWB anchor points) distributed in different locations, each of which can communicate with the key terminal by UWB and measure the distance. For each vehicle terminal (or anchor point), a circle with the vehicle terminal as the center and the calculated distance as the radius can be determined based on the distance value calculated in the above embodiment. The equation of each circle can be expressed as:
[0085]
[0086] Among them, (x i ,y i ) represents the coordinates of the i-th vehicle terminal, r i Indicates the distance from the key terminal to the vehicle terminal.
[0087] Then, the system of equations for the three circles can be solved, and theoretically two intersection points should be found (unless the three circles are collinear or one circle completely contains another circle). However, in practical applications, due to measurement errors and other factors, the least squares method or other optimization algorithms are usually used to find the best fit point, that is, the actual position information of the key terminal.
[0088] In addition, in some feasible embodiments, after the actual position information of the key terminal is calculated by the three-circle positioning principle, the ultra-wideband communication connection between the ultra-wideband communication module of the key terminal and the vehicle terminal can be controlled to be closed, and the ultra-wideband communication module can be controlled to enter a dormant state, thereby reducing the energy consumption of the key terminal. After receiving the dormant instruction, the ultra-wideband communication module will perform a series of necessary operations to prepare to enter the dormant state. This may include saving the current working state, shutting down unnecessary circuits, reducing power consumption, etc. Once all necessary operations have been completed, the ultra-wideband communication module will enter a dormant state. In the dormant state, the power consumption of the module will be greatly reduced, thereby saving energy.
[0089] In this embodiment, compared with single-point ranging or simple linear calculation, ultra-wideband session combined with the three-circle positioning principle can more effectively reduce errors and improve positioning accuracy. Through precise location information, it can be more accurately determined whether the key terminal is in an area where specific operations (such as unlocking the door) are allowed. This helps prevent the key terminal from being remotely operated without knowing it, improves the safety of the vehicle, and after the ranging is completed, the UWB ranging is turned off in time to reduce the energy consumption of the key.
[0090] 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 steps S810 to S830, which are described in detail as follows:
[0091] Step S810: if it is determined based on the UWB session that the key terminal is located inside the vehicle, control the establishment of an UWB session between the UWB communication module and the vehicle terminal to determine the actual location information of the key terminal based on the UWB session.
[0092] Specifically, it can be preliminarily detected that the key terminal is located inside the vehicle through the Bluetooth low energy (BLE) signal of the key terminal, RFID tag scanning or other wireless signals. In this embodiment, taking the Bluetooth low energy (BLE) signal as an example, when it is determined that the key terminal is located inside the vehicle through the Bluetooth low energy signal between the key terminal and the vehicle terminal, an ultra-wideband session can be controlled to be established between the ultra-wideband communication module of the key terminal and the vehicle terminal, so as to determine the actual location information corresponding to the key terminal through the ultra-wideband communication session.
[0093] Step S820, obtaining actual location information corresponding to the key terminal in multiple ultra-wideband sessions within a preset period;
[0094] Step S830: If the multiple actual location information all indicate that the key terminal is located inside the vehicle, the ultra-wideband communication module is controlled to enter a dormant state.
[0095] Specifically, within this preset period, the key terminal will periodically (such as at a certain time interval) start the ultra-wideband communication module to communicate with the key terminal to obtain the actual location information of the key terminal. Each conversation will provide the three-dimensional coordinates (X, Y, Z) of the key terminal inside the vehicle, and these coordinate information will be recorded. The system will analyze all the location information obtained within the preset period to check whether they all indicate that the key terminal is located inside the vehicle. This usually involves determining whether the coordinates fall within a preset boundary area inside the vehicle, or confirming through other logical judgments (such as whether the distance from a certain center point or boundary point of the vehicle is less than a certain threshold). If the actual location information indicates that the key terminal is located inside the vehicle for multiple times (such as several times in a row or reaching a certain preset ratio) within the preset period, the system can assume that the key terminal is currently safe and may not need frequent location updates. In this case, the system will control the ultra-wideband communication module to enter a dormant state to reduce energy consumption and extend battery life. The dormant state can be a low-power mode in which the communication module is reactivated only when a specific wake-up signal is received or the next preset check time is reached.
[0096] For example, the ultra-wideband session between the key terminal and the vehicle terminal may be acquired at a frequency of 10 times of ranging at 100 ms / time, and then the actual position information of the key terminal relative to the vehicle may be calculated based on the ultra-wideband session.
[0097] In this embodiment, after confirming that the key terminal is stably located inside the vehicle for a long time, the ultra-wideband communication module is controlled to enter a sleep state. This is an effective energy-saving measure because when the key terminal is in the vehicle, continuous communication is not required. The sleep mode can significantly reduce energy consumption and extend battery life.
[0098] Further, based on the above example, please refer to Fig. 9 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 steps S910 to S930, which are described in detail as follows:
[0099] Step S910, if it is detected that the door of the vehicle is opened, control to establish an ultra-wideband session with the vehicle terminal to determine the position relationship of the key terminal relative to the vehicle terminal based on the ultra-wideband session;
[0100] Step S920: if the position relationship indicates that the key terminal is outside the vehicle, then obtaining the anchor point Bluetooth reception signal value corresponding to the vehicle-side anchor point;
[0101] Step S930: controlling the ultra-wideband communication connection between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth reception signal value.
[0102] Specifically, if the key terminal is positioned inside the vehicle and the door is detected to be opened, the ultra-wideband communication module in the key terminal can be turned on to establish an ultra-wideband session between the key terminal and the vehicle-end anchor point of the vehicle. The actual distance value between the key terminal and the vehicle is then calculated through the ultra-wideband session, and the actual position relationship of the key terminal relative to the vehicle terminal is calculated in combination with the three-circle positioning principle. The ultra-wideband session with the vehicle-end anchor point is then closed, putting the ultra-wideband communication module in a dormant state.
[0103] In some achievable embodiments, if it is detected that the key terminal is located in the vehicle locking area, then the anchor point Bluetooth reception signal values corresponding to at least two vehicle-side anchor points are obtained; if the signal difference between the at least two anchor point Bluetooth reception signal values is greater than a preset signal difference threshold, then the ultra-wideband communication module is controlled to be turned on to establish an ultra-wideband session with the vehicle-mounted terminal; the distance value between the key terminal and the vehicle-mounted terminal is calculated based on the ultra-wideband session. If it is detected that the key terminal is located outside the vehicle locking area, and the key terminal is detected to be located outside the vehicle locking area for a continuous period of time, the ultra-wideband session between the key terminal and the vehicle terminal can be controlled to be closed, so that the ultra-wideband communication module enters a dormant state.
[0104] In this embodiment, when it is determined through an ultra-wideband session that the key terminal is located outside the vehicle terminal, the positional relationship between the key terminal (such as a smart key) and the vehicle is accurately determined through ultra-wideband (UWB) technology. When the door is opened and the key terminal is detected to be outside the vehicle, this mechanism can respond quickly, which helps prevent the keyless entry system from being illegally used, increases the safety of the vehicle, and verifies the location information of the key terminal multiple times, and only allows the UWB communication module to enter a sleep state after confirming that it is inside the vehicle. This mechanism enhances the robustness of the system and reduces the possibility of misjudgment.
[0105] Fig.10 1 is a brief flow chart of controlling a car key in an exemplary application scenario. In the application scenario shown in 10, when the key terminal enters the effective communication range with the vehicle terminal, the Bluetooth communication module can be controlled to be turned on to establish a BLE connection with the vehicle terminal, and then the position relationship of the key terminal relative to the vehicle is determined through the Bluetooth communication between the vehicle-end anchor points on the vehicle. If the position relationship indicates that the key terminal is outside the vehicle welcome area, then the RSSI difference between at least two vehicle-end anchor points is obtained to see whether it exceeds the preset threshold. If it has exceeded, the ultra-wideband communication module of the key terminal can be controlled to be turned on to establish an ultra-wideband session with the vehicle terminal, and the actual position relationship of the key terminal relative to the vehicle terminal is calculated in combination with the three-circle positioning principle. If the key terminal is outside the vehicle, the ultra-wideband communication module can be controlled to be turned on to establish an ultra-wideband session with the vehicle terminal, and the distance value of the key terminal relative to the vehicle is calculated based on the ultra-wideband session. If the distance values corresponding to the ultra-wideband session in the preset period all indicate that the key terminal is inside the vehicle, the ultra-wideband session with the vehicle terminal can be closed, so that the ultra-wideband communication module enters a dormant state. For the detailed implementation process, please refer to the records in the aforementioned embodiments, which will not be repeated here.
[0106] Fig.11 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.
[0107] like Fig.11 As shown, the exemplary vehicle key control device 1100 includes: an establishing module 1110, which is used to control the activation of the Bluetooth communication module to establish a Bluetooth communication connection with the vehicle terminal if the key terminal and the vehicle terminal are within an effective communication range; a determining module 1120, which is used to obtain the Bluetooth receiving signal field strength value 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 receiving signal field strength value; an acquiring module 1130, which is used to obtain the anchor point Bluetooth receiving signal value corresponding to the vehicle-side anchor point if the position relationship indicates that the key terminal is located outside the vehicle; and a control module 1140, which is used to control the ultra-wideband communication session between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth receiving signal value, so as to calculate the distance value between the key terminal and the vehicle-mounted terminal based on the ultra-wideband communication session.
[0108] According to one aspect of an embodiment of the present application, the above-mentioned control module 1140 is also used to obtain the anchor point Bluetooth reception signal value corresponding to at least two vehicle-end anchor points; if the signal difference between the at least two anchor point Bluetooth reception signal values is greater than a preset signal difference threshold, the ultra-wideband communication module is controlled to be turned on to establish an ultra-wideband session with the vehicle-mounted terminal; and the distance value between the key terminal and the vehicle-mounted terminal is calculated based on the ultra-wideband session.
[0109] According to one aspect of an embodiment of the present application, the above-mentioned control module 1140 is also used to determine a preset signal difference threshold based on the positional relationship of the key terminal relative to the vehicle terminal, wherein the positional relationship includes a vehicle welcome area and a vehicle unlocking area, and the distance value of the vehicle welcome area relative to the vehicle terminal is greater than the distance value of the vehicle unlocking area relative to the vehicle terminal.
[0110] According to one aspect of an embodiment of the present application, the above-mentioned control module 1140 is also used to, if the key terminal is located in the vehicle welcome area, determine the preset signal difference threshold as the first preset signal difference threshold; if the key terminal is located in the vehicle unlocking area, determine the preset signal difference threshold as the second preset signal difference threshold, wherein the second preset signal difference threshold is smaller than the first preset signal difference threshold.
[0111] According to one aspect of an embodiment of the present application, the above-mentioned control module 1140 is also used to start multiple ultra-wideband sessions between the ultra-wideband communication module and the vehicle terminal at a preset frequency; extract the flight time in the multiple ultra-wideband sessions, and calculate the distance value between the key terminal and the vehicle terminal based on the flight time; calculate the actual location information of the key terminal through the three-circle positioning principle based on the distance value; control the closing of the ultra-wideband communication connection between the ultra-wideband communication module and the vehicle terminal, and control the ultra-wideband communication module to enter a sleep state.
[0112] According to one aspect of an embodiment of the present application, the above-mentioned vehicle key control device also includes: a session module, which is used to control the establishment of an ultra-wideband session between the ultra-wideband communication module and the vehicle terminal if it is determined that the key terminal is located inside the vehicle based on the ultra-wideband session, so as to determine the actual location information of the key terminal based on the ultra-wideband session; a session acquisition module, which is used to obtain the actual location information corresponding to the key terminal in multiple ultra-wideband sessions within a preset period; and a sleep control module, which is used to control the ultra-wideband communication module to enter a sleep state if multiple actual location information all indicate that the key terminal is located inside the vehicle.
[0113] According to one aspect of an embodiment of the present application, the above-mentioned vehicle key control device also includes: a detection module, which is used to control the establishment of an ultra-wideband session with the vehicle-mounted terminal if it is detected that the vehicle door is opened, so as to determine the position relationship of the key terminal relative to the vehicle terminal based on the ultra-wideband session; a signal acquisition module, which is used to obtain the anchor point Bluetooth reception signal value corresponding to the vehicle-side anchor point if the position relationship indicates that the key terminal is outside the vehicle; and an ultra-wideband control module, which is used to control the ultra-wideband communication connection between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth reception signal value.
[0114] 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.
[0115] 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.
[0116] Fig.12 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.12 The computer system 1200 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.
[0117] like Fig.12 As shown, the computer system 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1202 or the program loaded from the storage part 1208 to the random access memory (RAM) 1203, such as executing the method in the above embodiment. In the RAM 1203, various programs and data required for system operation are also stored. The CPU 1201, the ROM 1202 and the RAM 1203 are connected to each other through the bus 1204. The input / output (I / O) interface 1205 is also connected to the bus 1204.
[0118] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed so that a computer program read therefrom is installed into the storage section 1208 as needed.
[0119] 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 1209, and / or installed from a removable medium 1211. When the computer program is executed by a central processing unit (CPU) 1201, various functions defined in the system of the present application are executed.
[0120] 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.
[0121] 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.
[0122] 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.
[0123] 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.
[0124] 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.
[0125] 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: If the key terminal and the vehicle terminal are within the effective communication range, controlling to turn on the Bluetooth communication module to establish a Bluetooth communication connection with the vehicle terminal; Acquiring a Bluetooth received signal field strength value 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 received signal field strength value; If the position relationship indicates that the key terminal is located outside the vehicle, obtaining an anchor point Bluetooth reception signal value corresponding to the vehicle-side anchor point; An ultra-wideband communication session between the ultra-wideband communication module and the vehicle terminal is controlled based on the anchor point Bluetooth reception signal value, so as to calculate a distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session.
2. The method according to claim 1, characterized in that The vehicle end anchor points include at least two, and the method further includes: Obtain the anchor point Bluetooth reception signal values corresponding to at least two vehicle-side anchor points; If the signal difference between the Bluetooth reception signal values of at least two anchor points is greater than a preset signal difference threshold, controlling to turn on the ultra-wideband communication module to establish an ultra-wideband session with the vehicle-mounted terminal; A distance value between the key terminal and the vehicle-mounted terminal is calculated based on the ultra-wideband session.
3. The method according to claim 2, characterized in that The method further comprises: The preset signal difference threshold is determined based on the positional relationship of the key terminal relative to the vehicle terminal, wherein the positional relationship includes a vehicle welcome area and a vehicle unlocking area, and a distance value of the vehicle welcome area relative to the vehicle terminal is greater than a distance value of the vehicle unlocking area relative to the vehicle terminal.
4. The method according to claim 3, characterized in that The determining the preset signal difference threshold based on the positional relationship of the key terminal relative to the vehicle terminal includes: If the key terminal is located in the vehicle welcome area, determining that the preset signal difference threshold is a first preset signal difference threshold; If the key terminal is located in the vehicle unlocking area, the preset signal difference threshold is determined to be a second preset signal difference threshold, wherein the second preset signal difference threshold is smaller than the first preset signal difference threshold.
5. The method according to claim 2, characterized in that The method further comprises: Initiate a plurality of ultra-wideband sessions between the ultra-wideband communication module and the vehicle terminal at a preset frequency; extracting flight times in the plurality of ultra-wideband sessions, and calculating a distance value between the key terminal and the vehicle terminal based on the flight times; Calculate the actual position information of the key terminal based on the distance value by three-circle positioning principle; After calculating the actual position information of the key terminal based on the distance value through the three-circle positioning principle, the method further includes: controlling to close the ultra-wideband communication connection between the ultra-wideband communication module and the vehicle terminal, and controlling the ultra-wideband communication module to enter a sleep state.
6. The method according to claim 1, characterized in that The method further comprises: If it is determined based on the ultra-wideband session that the key terminal is located inside the vehicle, then controlling to establish an ultra-wideband session between the ultra-wideband communication module and the vehicle terminal to determine the actual location information of the key terminal based on the ultra-wideband session; Acquire actual location information corresponding to the key terminal in multiple ultra-wideband sessions within a preset period; If multiple pieces of actual location information all indicate that the key terminal is located inside the vehicle, the ultra-wideband communication module is controlled to enter a dormant state.
7. The method according to claim 6, characterized in that The method further comprises: If it is detected that the door of the vehicle is opened, control to establish an ultra-wideband session with the vehicle terminal to determine the position relationship of the key terminal relative to the vehicle terminal based on the ultra-wideband session; If the position relationship indicates that the key terminal is outside the vehicle, obtaining the anchor point Bluetooth reception signal value corresponding to the vehicle-side anchor point; The ultra-wideband communication connection between the ultra-wideband communication module and the vehicle terminal is controlled based on the anchor point Bluetooth reception signal value.
8. A vehicle key control device, characterized in that: Applied to a vehicle terminal, applied to a key terminal, the key terminal is communicatively connected with the vehicle terminal, the key terminal includes a Bluetooth communication module and an ultra-wideband communication module, and the device includes: an establishing module, configured to control the Bluetooth communication module to be turned on to establish a Bluetooth communication connection with the vehicle terminal if the key terminal and the vehicle terminal are within an effective communication range; a determination module, configured to obtain a Bluetooth received signal field strength value 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 received signal field strength value; an acquisition module, configured to acquire an anchor point Bluetooth reception signal value corresponding to a vehicle-side anchor point if the position relationship indicates that the key terminal is located outside the vehicle; A control module is used to control an ultra-wideband communication session between the ultra-wideband communication module and the vehicle terminal based on the anchor point Bluetooth reception signal value, so as to calculate a distance value between the key terminal and the vehicle terminal based on the ultra-wideband communication session.
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
Cited By
Wireless distance measurement method and device, and storage medium
CN121099257A