Method, device, electronic device and storage medium for transmitting vehicle key signal
By adjusting the signal interaction stage between the vehicle key and the target vehicle, adjusting the transmission cycle and power of the broadcast signal, and using the ultra-wideband ranging function, the problem of short battery life of the vehicle key is solved, and energy consumption saving and battery extended use are achieved.
Patent Information
- Application Number
- CN202411488652.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2044-10-24
AI Technical Summary
The existing vehicle keys have shortened battery life due to high power signal transmission, and users need to replace the battery frequently.
By adjusting the signal interaction stage between the vehicle key and the target vehicle, adjusting the transmission cycle and power of the broadcast signal, reducing the number of times the Bluetooth response signal is sent, and reducing energy consumption by using the ultra-wideband ranging function.
It effectively extends the battery life of the vehicle key, reduces the trouble of frequent battery replacement, and saves energy consumption.
Smart Images

Figure CN119364488B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, electronic device and storage medium for sending a vehicle key signal. Background Art
[0002] The application of vehicle digital keys in the vehicle field is becoming increasingly widespread. Vehicle keys are often embedded with UWB (UltraWideband) and Bluetooth chips. When the vehicle key approaches the target vehicle, the vehicle key will communicate with various anchor points on the vehicle side in real time, including but not limited to Bluetooth communication and UWB communication.
[0003] In order to ensure smooth communication between the vehicle key and the target vehicle, both parties send relevant signals at a higher transmission power. The vehicle key is generally powered by a 3.3V button battery with a fixed battery capacity of around 600mAh. If the transmission power is set too high, it will seriously reduce the battery life, causing users to have to frequently replace batteries. Summary of the Invention
[0004] In view of the above problems, the present application provides a method, device, electronic device and storage medium for sending vehicle key signals, which are used to adjust the sending parameters of relevant signals sent by the vehicle key to save energy consumption of the vehicle key.
[0005] According to one aspect of the present application, a method for sending a vehicle key signal is provided, which is applied to a vehicle key, and the sending method includes: sending a first broadcast signal in response to a first wake-up signal, so that the target vehicle responds to the first broadcast signal and returns an authentication signal; wherein the first wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle exceeds the Bluetooth connection distance; in response to the authentication signal, sending a second broadcast signal to the target vehicle to establish a Bluetooth connection with the target vehicle and cause the target vehicle to return a heartbeat message; wherein the sending period of the first broadcast signal is greater than the sending period of the second broadcast signal, and the sending power of the first broadcast signal is less than the sending power of the second broadcast signal; in response to the heartbeat message, sending a Bluetooth response signal based on an initial sending frequency; wherein the initial sending frequency is a parameter related to the number of received heartbeat messages.
[0006] In an optional embodiment, the sending method also includes: if it is detected that the distance to the target vehicle reaches a first preset distance, the ultra-wideband ranging function is turned on, and the sending frequency of the Bluetooth response signal is reduced from the initial sending frequency to the target sending frequency; wherein the initial sending frequency and the target sending frequency are both parameters that represent the sending of the Bluetooth response signal once when a corresponding number of heartbeat messages are received.
[0007] In an optional embodiment, the sending method further includes: if a sleep signal is detected and the distance to the target vehicle reaches a second preset distance, starting and stopping the ultra-wideband ranging function according to a preset period, and switching between the sleep state and the working state according to the preset period; wherein the sleep signal is a signal generated in a non-moving state, and the second preset distance is less than the first preset distance.
[0008] In an optional embodiment, the sending method further includes: in response to a second wake-up signal, turning on the ultra-wideband ranging function until it is detected that the distance to the target vehicle is greater than the first preset distance; wherein, the second wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle is within the Bluetooth connection distance.
[0009] In an optional embodiment, the sending method also includes: if the Bluetooth connection is detected to be disconnected, sending a third broadcast signal to the target vehicle to re-establish the Bluetooth connection with the target vehicle; wherein the sending period and sending frequency of the third broadcast signal are respectively placed between the sending period and sending power of the first broadcast signal and the second broadcast signal.
[0010] In an optional embodiment, the sending method also includes: if no reply signal is received from the target vehicle in response to the third broadcast signal within a first preset time period, then entering a sleep state; if a sleep signal is continuously monitored within a second preset time period, then entering the sleep state; wherein, the first preset time period is greater than the second preset time period.
[0011] In an optional embodiment, the vehicle key includes an acceleration sensor for generating a movement signal due to sensing the movement of the vehicle key, and for generating a sleep signal due to sensing the stationary state of the vehicle key; the sending method also includes: if the movement signal is detected and the distance between the vehicle key and the target vehicle exceeds the Bluetooth connection distance, generating the first wake-up signal; if the movement signal is detected and the distance between the vehicle key and the target vehicle is within the Bluetooth connection distance, generating a second wake-up signal.
[0012] According to another aspect of the present application, a vehicle key signal sending device is provided, which is applied to a vehicle key, and the sending device includes: a first response module, which is used to send a first broadcast signal in response to a first wake-up signal, so that the target vehicle responds to the first broadcast signal and returns an authentication signal; wherein, the first wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle exceeds the Bluetooth connection distance; a second response module, which is used to send a second broadcast signal to the target vehicle in response to the authentication signal, so as to establish a Bluetooth connection with the target vehicle and enable the target vehicle to return a heartbeat message; wherein, the sending period of the first broadcast signal is greater than the sending period of the second broadcast signal, and the sending power of the first broadcast signal is less than the sending power of the second broadcast signal; a sending module, which is used to send a Bluetooth response signal based on an initial sending frequency in response to the heartbeat message; wherein, the initial sending frequency is a parameter related to the number of received heartbeat messages.
[0013] According to one aspect of the present application, an electronic device is provided, comprising: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the above-mentioned sending method is executed.
[0014] According to one aspect of the present application, a computer-readable storage medium is further 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 above-mentioned sending method.
[0015] According to one aspect of the present application, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described sending method.
[0016] This application adjusts the broadcast signal sent by the vehicle key according to the different signal interaction stages between the vehicle key and the target vehicle, adaptively adjusting the transmission period and transmission power of the broadcast signal to improve the power loss caused by the fixed high-power signal transmission of existing vehicle keys. After the vehicle key establishes a Bluetooth connection with the target vehicle, the existing vehicle key generally continuously transmits Bluetooth response signals to the target vehicle. However, the vehicle key of this application monitors the number of heartbeat messages returned by the target vehicle and sends Bluetooth response signals at the initial transmission frequency, thereby reducing the number of Bluetooth response signal transmissions and saving energy consumption of the vehicle key.
[0017] The above description is only an overview of the technical solutions of the embodiments of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate 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 it is clear that a person of ordinary skill in the art can derive other drawings based on these drawings without inventive effort.
[0019] Figure 1 This is a flow chart of a method for sending a vehicle key signal shown in an exemplary embodiment of the present application.
[0020] Figure 2 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for sending a vehicle key signal.
[0021] Figure 3 Schematic diagram of the functional areas between a vehicle key and a target vehicle shown in an exemplary embodiment of the present application.
[0022] Figure 4 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for sending a vehicle key signal.
[0023] Figure 5 is based on Figure 3 The figure shows a bar graph of the vehicle key's power consumption in various functional areas.
[0024] Figure 6 It is a schematic diagram of an application scenario of the method for sending a vehicle key signal of the present application.
[0025] Figure 7 It is a structural diagram of a vehicle key signal sending device shown in an exemplary embodiment of the present application.
[0026] Figure 8 It is a structural diagram of a computer system of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0027] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0028] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0029] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0030] In this application, "plurality" refers to two or more. "And / or" describes the relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0031] In order to ensure smooth communication between the vehicle key and the target vehicle, both parties send relevant signals at a higher transmission power. The vehicle key is generally powered by a 3.3V button battery with a fixed battery capacity of around 600mAh. If the transmission power is set too high, it will seriously reduce the battery life, causing users to have to frequently replace batteries.
[0032] To this end, one aspect of this application provides a method for sending a vehicle key signal. Figure 1 , Figure 1 This is a flow chart of a method for sending a vehicle key signal according to an exemplary embodiment of the present application. The sending method is applied to a vehicle key and includes at least steps S110 to S130, which are described in detail as follows:
[0033] S110: In response to the first wake-up signal, a first broadcast signal is sent to enable the target vehicle to respond to the first broadcast signal and return an authentication signal; wherein the first wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle exceeds the Bluetooth connection distance.
[0034] The first wake-up signal is a signal that wakes up the vehicle key to activate the broadcast function. It can be a signal generated by the vehicle key itself. For example, the motion sensor / accelerometer in the vehicle key senses that the vehicle key is in motion and generates a motion signal. If the distance between the current vehicle key and the target vehicle exceeds the Bluetooth connection distance, that is, if a Bluetooth connection is established with a vehicle that is not matched with the vehicle key (i.e., the target vehicle), and a motion signal is sensed, the first wake-up signal is generated.
[0035] The first broadcast signal is the broadcast signal sent by the vehicle key to initially search for a matching vehicle (i.e., the target vehicle). This signal is sent before the vehicle key is successfully authenticated with the target vehicle. There is no need to consider the signal stability between the vehicle key and the target vehicle. The sending cycle can be long (i.e., the interval between adjacent sending times is long and the sending frequency is low) and the sending power is low to save energy consumption of the vehicle key.
[0036] S120: In response to the authentication signal, a second broadcast signal is sent to the target vehicle to establish a Bluetooth connection with the target vehicle and enable the target vehicle to return a heartbeat message; wherein, the sending period of the first broadcast signal is greater than the sending period of the second broadcast signal, and the sending power of the first broadcast signal is less than the sending power of the second broadcast signal.
[0037] After receiving the first broadcast signal, the target vehicle returns an authentication signal to the vehicle key; wherein, the authentication signal may carry identification, data, parameters, etc. representing the identity of the target vehicle, so that the vehicle key completes the identity authentication of the target vehicle, thereby adjusting the sending period and power of the broadcast signal, that is, sending a second broadcast signal with a short sending period (high sending frequency) and high sending power to the target vehicle to establish a Bluetooth connection with the target vehicle.
[0038] Heartbeat messages are periodically sent by the target vehicle when the vehicle key successfully connects to the target vehicle via Bluetooth. This allows the vehicle key to detect that the target vehicle is online via Bluetooth. The frequency of heartbeat messages sent by the target vehicle can be adjusted based on actual conditions. For example, if the target vehicle senses that it is getting farther away from the vehicle key, the frequency of heartbeat messages can be increased to avoid message loss over long distances, which could cause the vehicle key to mistakenly determine that the target vehicle is offline.
[0039] In certain embodiments, the heartbeat messages sent by the target vehicle can be adjusted based on the Bluetooth connection strength detected by the vehicle-side anchor point. For example, the heartbeat message transmission interval can be adjusted. Specifically, after the target vehicle establishes a Bluetooth connection with the vehicle key, the vehicle-side anchor point in the target vehicle monitors the Bluetooth connection strength between it and the vehicle key. The target vehicle uses this field strength to determine its distance from the vehicle key and adjust the frequency and number of heartbeat messages. Monitoring the Bluetooth connection strength can reduce the power consumption required for sending positioning broadcasts.
[0040] S130: In response to the heartbeat message, a Bluetooth response signal is sent based on an initial sending frequency; wherein the initial sending frequency is a parameter related to the number of received heartbeat messages.
[0041] The vehicle key can send a corresponding Bluetooth response signal based on the number of received messages. Conventionally, a vehicle key generally sends a Bluetooth response signal once it receives a heartbeat message, i.e., the existing Bluetooth response signal transmission frequency is 1 / time, which causes the vehicle key to lose excessive power. This embodiment sets an initial transmission frequency to link the number of received heartbeat messages with the Bluetooth response signal transmission frequency. In certain embodiments, the Bluetooth response signal transmission frequency is lowered, i.e., the initial transmission frequency is less than 1 heartbeat message / time, for example, lowered to 2 heartbeat messages / time, i.e., the vehicle key sends a Bluetooth response signal only after receiving 2 heartbeat messages in total. After sending the Bluetooth response signal, the cumulative count of the heartbeat messages is cleared, and the number of received heartbeat messages is re-recorded. Similarly, the Bluetooth response signal is sent again.
[0042] In this embodiment, when the vehicle key has not established a Bluetooth connection with the target vehicle, it transmits a first broadcast signal with a longer transmission period (low transmission frequency) and lower transmission power. After the vehicle key passes the identity authentication of the target vehicle, the transmission frequency of the broadcast signal is increased (the transmission period is reduced) and the transmission power is increased to ensure a successful Bluetooth connection with the target vehicle.
[0043] This embodiment adjusts the broadcast signal transmitted by the vehicle key according to different phases, adaptively adjusting the transmission period and transmission power of the broadcast signal to improve the power loss caused by the fixed high-power signal transmission of existing vehicle keys. After the vehicle key establishes a Bluetooth connection with the target vehicle, the existing vehicle key generally continuously transmits Bluetooth response signals to the target vehicle. However, the vehicle key of this application monitors the number of heartbeat messages returned by the target vehicle and transmits Bluetooth response signals at the initial transmission frequency, thereby reducing the number of Bluetooth response signal transmissions and saving energy consumption.
[0044] The measurement accuracy of Bluetooth ranging is low. When the vehicle key is close to the target vehicle, the UWB ranging function needs to be turned on to accurately measure the distance between the two and accurately and automatically control the target vehicle based on the precise distance difference.
[0045] To this end, in another exemplary embodiment of the present application, the conditions for enabling the UWB function are described in detail. Figure 2 , Figure 2 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for sending a vehicle key signal. Figure 1 Based on the S110 to S130 shown, at least S210 is also included, which is described in detail as follows:
[0046] S210: If it is detected that the distance to the target vehicle reaches a first preset distance, the ultra-wideband ranging function is turned on, and the sending frequency of the Bluetooth response signal is reduced from the initial sending frequency to the target sending frequency; wherein the initial sending frequency and the target sending frequency are both parameters that represent the sending of a Bluetooth response signal once a corresponding number of heartbeat messages are received.
[0047] The first preset distance is the critical distance for starting the ultra-wideband ranging function. Figure 3 , Figure 3 This is a schematic diagram of the functional areas between a vehicle key and a target vehicle, illustrating an exemplary embodiment of this application. The distance from the outer edge of the welcome area to the target vehicle in the figure represents the first preset distance in this embodiment. Once the vehicle key enters the welcome area (i.e., the distance between the vehicle key and the target vehicle reaches the first preset distance), the UWB ranging function must be enabled. At this point, the Bluetooth ranging function can be disabled or its energy consumption can be reduced, allowing the UWB ranging function to take over as the primary ranging function.
[0048] The target sending frequency is lower than the initial sending frequency. For example, if the initial sending frequency is 2 times, a Bluetooth response signal is sent only after 2 heartbeat messages are received cumulatively. If the target sending frequency is 20 times, a Bluetooth response signal is sent only after 20 heartbeat messages are received cumulatively. The power consumption required for the vehicle key to send the Bluetooth response signal based on the target sending frequency is reduced to at least 10% of the original power consumption compared to the power consumption required to send the Bluetooth response signal based on the initial sending frequency.
[0049] In this embodiment, when the UWB ranging function is enabled, the frequency of sending Bluetooth response signals is lowered to reduce the energy consumption of Bluetooth communication of the vehicle key, thereby avoiding unnecessary power consumption of the Bluetooth function.
[0050] In another exemplary embodiment of the present application, a user enters the vehicle with a vehicle key (i.e., the distance between the vehicle key and the target vehicle reaches a second preset distance). If a sleep signal is detected, the ultra-wideband ranging function is started and stopped according to a preset period, and the sleep state and the working state are switched according to a preset period. In this scenario, in order to save energy consumption of the vehicle key, the ultra-wideband ranging function is started and stopped intermittently, and the state of the vehicle key is switched intermittently to achieve low-energy operation. At the same time, the target vehicle uses BLE (Bluetooth Low Energy) to connect the field strength to determine whether the vehicle key is in the vehicle (i.e., determine whether the distance between the vehicle key and the target vehicle exceeds the second preset distance).
[0051] Among them, the sleep signal is a signal generated in a non-moving state, the second preset distance is less than the first preset distance, and the second preset distance can be an extremely small distance value or a zero value to indicate that the position of the vehicle key overlaps with the position of the target vehicle, that is, the vehicle key enters the target vehicle.
[0052] In another exemplary embodiment of the present application, a scenario is introduced in which a user leaves a target vehicle with a vehicle key, as follows:
[0053] In response to the second wake-up signal, the ultra-wideband ranging function is turned on until it is detected that the distance to the target vehicle is greater than the first preset distance; wherein the second wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle is within the Bluetooth connection distance.
[0054] When the user leaves the target vehicle with the vehicle key, the motion sensor in the vehicle key senses that it is in motion, and the distance between the current vehicle key and the target vehicle is within the Bluetooth connection distance, a second wake-up signal is generated to turn on the ultra-wideband ranging function until the distance to the target vehicle is greater than the first preset distance. Figure 3 When the vehicle enters the Bluetooth positioning area at the edge of the welcome area shown, the ultra-wideband ranging function will be turned off.
[0055] In another exemplary embodiment of the present application, the activation conditions of the UWB function are described in detail. Figure 4 , Figure 4 is based on Figure 1 The exemplary embodiment shown is a flow chart of another method for sending a vehicle key signal. Figure 1 Based on the S110 to S130 shown, at least S410 is also included, which is detailed as follows:
[0056] S410: If it is detected that the Bluetooth connection is disconnected, a third broadcast signal is sent to the target vehicle to re-establish the Bluetooth connection with the target vehicle; wherein the sending period and sending frequency of the third broadcast signal are respectively placed between the sending period and sending power of the first broadcast signal and the second broadcast signal.
[0057] Combine Figure 3 For example: the vehicle is Figure 3 The edge of the vehicle search area shown enters the dormant area, and the Bluetooth connection between the vehicle key and the target vehicle will be disconnected. The vehicle key sends a third broadcast signal within a certain period of time to seek to re-establish the Bluetooth connection with the target vehicle to avoid the vehicle key and the target vehicle being mistakenly disconnected from the Bluetooth connection due to Bluetooth positioning errors.
[0058] Furthermore, if a reply signal from the target vehicle in response to the third broadcast signal is not received within a first preset time period, the system enters a dormant state. The reply signal indicates that the target vehicle's Bluetooth connection is online. If the vehicle key receives the reply signal within the first preset time period, the Bluetooth connection with the target vehicle is restored.
[0059] In some embodiments, the first preset duration is the same as the duration of the vehicle key sending the third broadcast signal, so as to synchronize the duration of the vehicle key sending the third broadcast signal and the duration of the monitoring reply signal, that is, to unify the duration of the vehicle key sending and monitoring steps for easy synchronization management.
[0060] Furthermore, if the sleep signal is continuously detected within a second preset time period, the system enters the sleep state; wherein the first preset time period is greater than the second preset time period.
[0061] If only one sleep signal is detected, the vehicle key will enter the sleep state, and it will be difficult to reduce the impact of a single erroneous sleep signal. By setting a shorter second preset time for continuous monitoring and continuously receiving a certain number of sleep signals, it is determined that there is an obvious sleep expectation, so that the vehicle key can enter the sleep state more accurately.
[0062] In another exemplary embodiment of the present application, the sources of the first wake-up signal and the second wake-up signal are described in detail. The vehicle key includes an accelerometer for generating a movement signal upon sensing key movement and a sleep signal upon sensing key stillness. When the key is in sleep mode, the accelerometer remains operational, monitoring key motion with minimal energy consumption. The details are as follows:
[0063] If a mobile signal is detected and the distance to the target vehicle exceeds the Bluetooth connection distance, a first wake-up signal is generated; if a mobile signal is detected and the distance to the target vehicle is within the Bluetooth connection distance, a second wake-up signal is generated.
[0064] The first wake-up signal and the second wake-up signal are both signals capable of waking up the vehicle key, thereby waking up functions such as Bluetooth of the vehicle key.
[0065] For example, during a vehicle key's movement, if the acceleration slope of any axis in the three-dimensional coordinate system exceeds a preset slope for a sustained period of time, the accelerometer inside the vehicle key generates a motion signal. The vehicle key then generates a corresponding wake-up signal based on its own location. If the distance between the vehicle key and the target vehicle exceeds the Bluetooth connection range, a first wake-up signal is generated based on the motion signal. If the distance between the vehicle key and the target vehicle is within the Bluetooth connection range, a second wake-up signal is generated based on the motion signal.
[0066] See also Figure 5 , Figure 5 is based on Figure 3 The following chart shows the power consumption of the vehicle key in various functional areas. The vehicle key consumes the lowest power in the sleep zone, where all other functions are disabled and only the accelerometer is active, monitoring the key's motion with minimal energy consumption. The BLE function is enabled when the vehicle key is in the vehicle search zone, Bluetooth positioning zone, or inside the vehicle.
[0067] When a vehicle key moves from the sleep zone to the search zone, it transmits a first broadcast signal, prompting the target vehicle to respond with an authentication signal. In response to the authentication signal, it then transmits a second broadcast signal to the target vehicle, establishing a Bluetooth connection and prompting the target vehicle to return a heartbeat message. In response to the heartbeat message, it then transmits a Bluetooth response signal based on the initial transmission frequency. If the vehicle key moves from the search zone to the Bluetooth positioning zone, the Bluetooth positioning function is activated to sense the Bluetooth distance between the key and the target vehicle.
[0068] Among them, after the MCU (Microcontroller Unit) in the target vehicle successfully authenticates the vehicle key with BLE, the vehicle key establishes a Bluetooth connection with the target vehicle. The MCU in the target vehicle controls the vehicle-side anchor BLE to monitor the field strength RSSI (Received Signal Strength Indicator) of the Bluetooth connection. The monitoring method can save the power consumption required for sending positioning broadcasts.
[0069] The RSSI value can be used to roughly determine the distance between the vehicle key and the target vehicle. If the distance between the vehicle key and the target vehicle is detected to be at or below the first preset distance (the vehicle key enters the welcome area from the edge of the Bluetooth positioning area), both the vehicle key and the target vehicle will start the UWB ranging function and exit the BLE low power mode to ensure the stability of the ranging signal. The power consumption of the vehicle key is higher in the unlocking area, locking area, and welcome area.
[0070] Once the key is inside the vehicle (i.e., the distance between the key and the target vehicle reaches the second preset distance) and remains stationary, the low-power session mode is activated: the ultra-wideband ranging function is started and stopped according to a preset period, and the sleep state and working state are switched according to a preset period. If the key is removed from the vehicle by the user and the acceleration sensor detects the key's movement, and the distance between the key and the target vehicle is still within the Bluetooth connection distance, the key will activate the UWB ranging function until it detects that the distance to the target vehicle is greater than the first preset distance.
[0071] When the vehicle key gradually moves away from the target vehicle and first moves into the sleep zone, it will disconnect the Bluetooth connection with the target vehicle and send a third broadcast signal to the target vehicle to re-establish the Bluetooth connection. If no reply signal is received from the target vehicle in response to the third broadcast signal within the first preset time, the device will enter the sleep state. It is worth noting that regardless of the vehicle key's location, if the vehicle key continuously detects the sleep signal within the second preset time, it will enter the sleep state.
[0072] In another exemplary embodiment of the present application, the application scenarios of the above multiple sending methods are exemplarily described. For details, please refer to Figure 6 , Figure 6 This is a schematic diagram illustrating an application scenario for the vehicle key signal transmission method of the present application. It includes a vehicle key 100 and a target vehicle 200, which can be connected via wireless communication. This application does not limit the connection method. The vehicle key 100 further includes a controller 101 and an acceleration sensor 102, which can be connected via physical lines or wireless communication.
[0073] The vehicle key 100 and the target vehicle 200 are preset with corresponding matching information to facilitate data interaction between the two such as Bluetooth communication.
[0074] Accelerometer 102 has a built-in three-dimensional coordinate system. If the slope of the acceleration along any of its coordinate axes exceeds a preset slope for a certain period of time, it will sense that the vehicle key 100 is in motion and generate a motion signal. Accelerometer 102 combines this with the position of the vehicle key 100 to produce a corresponding wake-up signal, which is transmitted to controller 101. Alternatively, accelerometer 102 transmits the motion signal to controller 101, which then combines the position of the vehicle key 100 to generate a corresponding wake-up signal. Similarly, if accelerometer 102 does not detect vehicle key 100 motion for a certain period of time, it generates a sleep signal.
[0075] The controller 101 may serve as an execution subject of the sending method shown in any of the above exemplary embodiments to execute any of the above sending methods, as exemplified below:
[0076] The controller 101 sends a first broadcast signal in response to the first wake-up signal, so that the target vehicle 200 responds to the first broadcast signal and returns an authentication signal; wherein the first wake-up signal is a signal generated when the distance between the target vehicle 200 and the target vehicle 200 exceeds the Bluetooth connection distance; the controller 101 sends a second broadcast signal to the target vehicle 200 in response to the authentication signal, so as to establish a Bluetooth connection with the target vehicle 200 and cause the target vehicle 200 to return a heartbeat message; wherein the sending period of the first broadcast signal is greater than the sending period of the second broadcast signal, and the sending power of the first broadcast signal is less than the sending power of the second broadcast signal; the controller 101 responds to the heartbeat message and sends a Bluetooth response signal based on the initial sending frequency; wherein the initial sending frequency is a parameter related to the number of heartbeat messages received.
[0077] Another aspect of the present application also provides a vehicle key signal sending device, such as Figure 7 As shown, Figure 7 FIG1 is a schematic diagram of a structure of a vehicle key signal transmitting device according to an exemplary embodiment of the present application. The transmitting device 700 is applied to a vehicle key and includes:
[0078] The first response module 710 is used to send a first broadcast signal in response to the first wake-up signal, so that the target vehicle responds to the first broadcast signal and returns an authentication signal; wherein the first wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle exceeds the Bluetooth connection distance.
[0079] The second response module 730 is used to send a second broadcast signal to the target vehicle in response to the authentication signal to establish a Bluetooth connection with the target vehicle and enable the target vehicle to return a heartbeat message; wherein, the sending period of the first broadcast signal is greater than the sending period of the second broadcast signal, and the sending power of the first broadcast signal is less than the sending power of the second broadcast signal.
[0080] The sending module 750 is configured to respond to the heartbeat message and send a Bluetooth response signal based on an initial sending frequency; wherein the initial sending frequency is a parameter related to the number of received heartbeat messages.
[0081] In another exemplary embodiment, the sending device 700 further includes:
[0082] The ultra-wideband ranging module is used to activate the ultra-wideband ranging function and reduce the transmission frequency of the Bluetooth response signal from the initial transmission frequency to the target transmission frequency if it detects that the distance to the target vehicle reaches a first preset distance; wherein the initial transmission frequency and the target transmission frequency are both parameters that represent the transmission of a Bluetooth response signal once a corresponding number of heartbeat messages are received.
[0083] In another exemplary embodiment, the sending device 700 further includes:
[0084] The intermittent sleep module is used to start and stop the ultra-wideband ranging function according to a preset period, and to switch between the sleep state and the working state according to a preset period if a sleep signal is detected and the distance to the target vehicle reaches a second preset distance; wherein the sleep signal is a signal generated in a non-moving state, and the second preset distance is less than the first preset distance.
[0085] In another exemplary embodiment, the sending device 700 further includes:
[0086] The ultra-wideband ranging module is awakened to enable the ultra-wideband ranging function in response to a second wake-up signal until the distance to the target vehicle is detected to be greater than a first preset distance; wherein the second wake-up signal is a signal generated when the distance to the target vehicle is within the Bluetooth connection distance.
[0087] In another exemplary embodiment, the sending device 700 further includes:
[0088] The Bluetooth reconstruction module is used to send a third broadcast signal to the target vehicle to re-establish the Bluetooth connection with the target vehicle if the Bluetooth connection is detected to be disconnected; wherein the sending period and sending frequency of the third broadcast signal are respectively placed between the sending period and sending power of the first broadcast signal and the second broadcast signal.
[0089] In another exemplary embodiment, the sending device 700 further includes:
[0090] The first sleep module is configured to enter a sleep state if no reply signal returned by the target vehicle in response to the third broadcast signal is received within a first preset time period.
[0091] The second sleep module is configured to enter a sleep state if a sleep signal is continuously detected within a second preset time period; wherein the first preset time period is greater than the second preset time period.
[0092] In another exemplary embodiment, the vehicle key includes an acceleration sensor for generating a movement signal when sensing movement of the vehicle key, and for generating a sleep signal when sensing that the vehicle key is stationary; the transmitting device 700 further includes:
[0093] The first wake-up signal generating module is configured to generate a first wake-up signal if a mobile signal is detected and the distance between the mobile signal and the target vehicle exceeds the Bluetooth connection distance.
[0094] The second wake-up signal generating module is configured to generate a second wake-up signal if a mobile signal is detected and the distance between the vehicle and the target vehicle is within the Bluetooth connection distance.
[0095] The transmitting device of the present application adjusts the broadcast signal sent by the vehicle key according to the different signal interaction stages between the vehicle key and the target vehicle, thereby adaptively adjusting the transmission period and transmission power of the broadcast signal, thereby improving the power loss caused by the fixed high-power transmission signal of the existing vehicle key. After the vehicle key establishes a Bluetooth connection with the target vehicle, the existing vehicle key generally continuously transmits Bluetooth response signals to the target vehicle. However, the vehicle key of the present application monitors the number of heartbeat messages returned by the target vehicle and sends Bluetooth response signals at the initial transmission frequency, thereby reducing the number of Bluetooth response signal transmissions and saving energy consumption of the vehicle key.
[0096] It should be noted that the sending device provided in the above embodiment and the sending method provided in the above embodiment belong to the same concept, and 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.
[0097] Another aspect of the present application provides an electronic device, comprising: a controller; and a memory for storing one or more programs, which, when executed by the controller, executes the above-mentioned sending method.
[0098] See also Figure 8 , Figure 8 1 is a schematic diagram of the structure of a computer system of an electronic device shown in an exemplary embodiment of the present application, which shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present application.
[0099] It should be noted that Figure 8 The computer system 800 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.
[0100] like Figure 8As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 into the random access memory (RAM) 803, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 803. The CPU 801, ROM 802 and RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0101] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, and the like; an output section 807 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. Removable media 811, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 810 as needed, so that computer programs read therefrom can be installed into the storage section 808 as needed.
[0102] 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 via the communication section 809, and / or installed from a removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the various functions defined in the system of the present application are executed.
[0103] It should be noted that the computer-readable medium shown in the embodiments 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 storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0104] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that 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 the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] 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. In some cases, the names of these units do not constitute limitations on the units themselves.
[0106] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the aforementioned sending method. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being incorporated into the electronic device.
[0107] Another aspect of the present application further provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the sending method provided in each of the above embodiments.
[0108] According to one aspect of an embodiment of the present application, a computer system is further provided, including a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM), such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM. The CPU, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0109] The following components are connected to the I / O interface: an input section including a keyboard, mouse, etc.; an output section including a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section including a hard disk; and a communication section including a network interface card such as a LAN (Local Area Network) card and a modem. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc. are installed in the drive as needed so that computer programs read from them can be installed into the storage section as needed.
[0110] 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. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main ideas 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 method for sending a vehicle key signal, characterized in that: Applied to vehicle keys, the sending method includes: In response to a first wake-up signal, sending a first broadcast signal so that the target vehicle returns an authentication signal in response to the first broadcast signal; wherein the first wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle exceeds the Bluetooth connection distance and a motion signal generated by movement of the vehicle key is detected; In response to the authentication signal, sending a second broadcast signal to the target vehicle to establish a Bluetooth connection with the target vehicle and causing the target vehicle to return a heartbeat message; wherein the transmission period of the first broadcast signal is greater than the transmission period of the second broadcast signal, and the transmission power of the first broadcast signal is less than the transmission power of the second broadcast signal; In response to the heartbeat message, a Bluetooth response signal is sent based on an initial sending frequency; wherein the initial sending frequency is a parameter related to the number of the received heartbeat messages.
2. The sending method according to claim 1, wherein: The sending method further includes: If it is detected that the distance to the target vehicle reaches a first preset distance, the ultra-wideband ranging function is turned on, and the sending frequency of the Bluetooth response signal is reduced from the initial sending frequency to the target sending frequency; wherein, the initial sending frequency and the target sending frequency are both parameters that represent the sending of the Bluetooth response signal once after receiving a corresponding number of the heartbeat messages.
3. The sending method according to claim 2, wherein: The sending method further includes: If a sleep signal is detected and the distance to the target vehicle reaches a second preset distance, the ultra-wideband ranging function is started and stopped according to a preset period, and the sleep state and the working state are switched according to the preset period; wherein the sleep signal is a signal generated in a non-moving state, and the second preset distance is less than the first preset distance.
4. The sending method according to claim 3, wherein: The sending method further includes: In response to the second wake-up signal, the ultra-wideband ranging function is turned on until it is detected that the distance to the target vehicle is greater than the first preset distance; wherein the second wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle is within the Bluetooth connection distance.
5. The sending method according to claim 1, wherein: The sending method further includes: If it is detected that the Bluetooth connection is disconnected, a third broadcast signal is sent to the target vehicle to re-establish the Bluetooth connection with the target vehicle; wherein the sending period of the third broadcast signal is placed between the sending periods of the first broadcast signal and the second broadcast signal, and the sending power of the third broadcast signal is placed between the sending power of the first broadcast signal and the second broadcast signal. The sending method according to claim 5, characterized in that The sending method further includes: If no reply signal is received from the target vehicle in response to the third broadcast signal within a first preset time period, the system enters a dormant state; If the sleep signal is continuously detected within a second preset time period, the sleep state is entered; wherein the first preset time period is greater than the second preset time period.
7. The sending method according to any one of claims 1 to 6, characterized in that: The vehicle key includes an acceleration sensor for generating a movement signal upon sensing movement of the vehicle key, and for generating a sleep signal upon sensing that the vehicle key is stationary; The sending method further includes: If the mobile signal is detected and the distance between the mobile signal and the target vehicle exceeds the Bluetooth connection distance, generating the first wake-up signal; If the mobile signal is detected and the distance between the mobile signal and the target vehicle is within the Bluetooth connection distance, a second wake-up signal is generated.
8. A vehicle key signal transmitting device, characterized in that: Applied to a vehicle key, the sending device includes: a first response module, configured to transmit a first broadcast signal in response to a first wake-up signal, so that a target vehicle returns an authentication signal in response to the first broadcast signal; wherein the first wake-up signal is a signal generated when the distance between the target vehicle and the target vehicle exceeds the Bluetooth connection distance and a motion signal generated by movement of the vehicle key is detected; a second response module, configured to send a second broadcast signal to the target vehicle in response to the authentication signal, so as to establish a Bluetooth connection with the target vehicle and enable the target vehicle to return a heartbeat message; wherein the transmission period of the first broadcast signal is greater than the transmission period of the second broadcast signal, and the transmission power of the first broadcast signal is less than the transmission power of the second broadcast signal; The sending module is used to respond to the heartbeat message and send a Bluetooth response signal based on an initial sending frequency; wherein the initial sending frequency is a parameter related to the number of the received heartbeat messages.
9. An electronic device, characterized in that: include: Controller; The memory is used to store one or more programs, and when the one or more programs are executed by the controller, the controller implements the sending method according to 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 sending method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Automobile key positioning method
CN115226081A
Vehicle control method, device and equipment and readable storage medium
CN117912136A