Car key control method, key terminal and storage medium
By adjusting the working status of the ultra-wideband communication module in the key terminal, and optimizing the power consumption of the device based on the positioning control signal and the door status, the problem of low power efficiency of the ultra-wideband communication device is solved, and the energy saving of the device and the normal operation of the key finding function are realized.
Patent Information
- Application Number
- CN202310097431.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-20
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-01-20
AI Technical Summary
Devices equipped with ultra-wideband communication (UWB) functions suffer from low energy efficiency due to continuous power consumption, especially when the digital key for mobile phones and cars meets the UWB working conditions, the battery power of the button battery remote key and the mobile phone drops rapidly.
When the shake-to-wake function is activated, the key terminal acquires the positioning control signal and adjusts the working state of the ultra-wideband communication module, and counts the working time. When the accumulated time exceeds the threshold and the door status does not change, the shake-to-wake function is turned off, the working state of the ultra-wideband communication module is stopped, and power consumption is reduced.
By optimizing the operating status of the ultra-wideband communication module, the power consumption of the device is reduced, the energy efficiency is improved, and the device can still perform the key-finding function during power saving.
Smart Images

Figure CN116133099B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this application relate to the field of automotive control technology, and in particular to a car key control method, a key terminal, and a storage medium. Background Technology
[0002] With the development of automotive intelligence, the user experience requirements for keyless entry and keyless start (PEPS) functions are becoming increasingly demanding. Smartphone digital keys based on Bluetooth connectivity and Ultra Wideband (UWB) positioning have become a new technology that various OEMs are vying to adopt. However, due to the relatively high average power consumption of UWB, when the distance between the smartphone digital key and the car meets the UWB operating conditions, both the smartphone digital key and the car will continuously consume power. This makes remote keys using button batteries insufficient for daily use, and the smartphone also experiences rapid battery drain. Summary of the Invention
[0003] This application provides a car key control method, a key terminal, and a storage medium to solve the technical problem of low power efficiency in devices equipped with ultra-wideband communication functions.
[0004] In a first aspect, this application provides a car key control method, the method being applied to a key terminal, the key terminal being communicatively connected to a vehicle, the key terminal including an ultra-wideband communication module, the method comprising:
[0005] When the shake-to-wake function is activated, a positioning control signal is acquired, and the working state of the ultra-wideband communication module is adjusted according to the positioning control signal; the working state includes an active state or a sleep state, and the positioning control signal includes a movement signal;
[0006] The total time the ultra-wideband communication module was in an active state was recorded.
[0007] When the total time is greater than or equal to a preset time threshold and the door status remains unchanged, the shake wake-up function is turned off, and the ultra-wideband communication module is put into a sleep state.
[0008] In the above technical solution, when the key terminal activates the shake-to-wake function, it only controls the ultra-wideband communication module to perform corresponding operations when a positioning control signal is received. When the cumulative working time of the ultra-wideband communication module is greater than or equal to a preset time threshold and the door status has not changed, the shake-to-wake function is turned off, and the key terminal stops activating the ultra-wideband communication module based on the shake-to-wake function, thereby stopping the working state of the ultra-wideband communication module, reducing the power consumption based on the ultra-wideband communication module, and improving the power efficiency of the device.
[0009] Optionally, the operating state of the ultra-wideband communication module is adjusted according to the positioning control signal, specifically including:
[0010] When the positioning control signal is received, the ultra-wideband communication module is activated. After a first preset time period, if the key terminal does not receive the positioning control signal again, the ultra-wideband communication module is put into a sleep state.
[0011] Optionally, the vehicle is equipped with multiple ultra-wideband communication antennas; when the positioning control signal is received, the ultra-wideband communication module is controlled to be in an active state, and after a first preset time period, if the key terminal does not receive the positioning control signal again, the ultra-wideband communication module is adjusted to a sleep state, specifically including:
[0012] When the mobile signal is received, the ultra-wideband communication module in the control key terminal is activated.
[0013] The first mobile flag in the key terminal is set to an active state, and the first mobile flag is transmitted to the vehicle via Bluetooth; the first mobile flag is used to control the vehicle to set the second mobile flag located locally to an active state, and to control each of the ultra-wideband communication antennas to be active according to the second mobile flag.
[0014] After a first preset time period, if the key terminal does not receive the mobile signal again, the ultra-wideband communication module will be put into a sleep state.
[0015] The first movement flag is set to an invalid state and transmitted to the vehicle via Bluetooth; the first movement flag is used to control the vehicle to set the second movement flag to an invalid state and to control each of the ultra-wideband communication antennas to be in a standby state according to the second movement flag.
[0016] Optionally, the positioning control signal further includes a key-finding signal; the method further includes:
[0017] When the key-finding signal sent by the vehicle is received, the ultra-wideband communication module in the control key terminal is activated. After a first preset time period, if the key terminal does not receive the key-finding signal or the movement signal again, the ultra-wideband communication module is switched to a sleep state.
[0018] Optionally, the method further includes:
[0019] When the door status changes, the total time is reset to zero.
[0020] Optionally, before acquiring the positioning control signal, the method further includes:
[0021] When the key terminal approaches the vehicle into Bluetooth signal range, it establishes a Bluetooth connection with the vehicle, activates the shake-to-wake function, controls the ultra-wideband communication module to activate for a first preset time length, and initializes the total time to zero.
[0022] Optionally, before acquiring the positioning control signal, the method further includes:
[0023] When the shake-to-wake function is turned off, the vehicle sends a key-finding signal.
[0024] Based on the key-finding signal, the shake-to-wake function is activated, and after the total time is reset to zero, the ultra-wideband communication module is controlled to activate for a first preset time length.
[0025] Optionally, the vehicle includes multiple ultra-wideband communication antennas; before acquiring the positioning control signal, the method further includes:
[0026] The system obtains an ultra-wideband communication activation control command sent by the vehicle; the ultra-wideband communication activation control command is generated when the vehicle exits the start mode and is sent to the key terminal.
[0027] According to the ultra-wideband communication activation control command, the shake wake-up function is activated, the total time is cleared to zero, and then the ultra-wideband communication module is controlled to activate for a first preset time length.
[0028] Optionally, the method further includes:
[0029] The vehicle receives an ultra-wideband communication shutdown control command sent by the vehicle. The ultra-wideband communication shutdown control command is generated and sent to the key terminal after the vehicle enters the start mode, controls each ultra-wideband communication antenna to run for a second preset time length, and controls each ultra-wideband communication antenna to be in a waiting state.
[0030] According to the ultra-wideband communication shutdown control command, the shake to wake function is turned off, and the ultra-wideband communication module is put into a sleep state.
[0031] Optionally, after disabling the shake-to-wake function and putting the ultra-wideband communication module into a sleep state according to the ultra-wideband communication shutdown control command, the method further includes:
[0032] Received a key search request;
[0033] The trigger source information is obtained from the key retrieval request; the trigger source information includes in-vehicle trigger source information or out-of-vehicle trigger source information.
[0034] When the key-finding request includes in-vehicle trigger source information, the ultra-wideband communication module is activated.
[0035] In the above technical solution, when the ultra-wideband communication module is in a dormant state and the shake-to-wake function is enabled, the vehicle's ultra-wideband communication antenna remains in a waiting state so that when the vehicle sends a key-finding request to the key terminal, the vehicle's ultra-wideband communication antenna can be quickly woken up. The key terminal controls the ultra-wideband communication module to work through the key-finding request, so that the key terminal can still ensure the key-finding function during power saving.
[0036] Secondly, this application provides a key terminal, including: a processor and a memory communicatively connected to the processor;
[0037] The memory stores computer instructions;
[0038] The processor executes computer instructions to implement the car key control method involved in the first aspect.
[0039] Thirdly, this application provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, are used to implement the car key control method involved in the first aspect.
[0040] This application provides a car key control method, a key terminal, and a storage medium. When the shake-to-wake function is activated, the key terminal acquires a positioning control signal, which includes a movement signal. Based on the positioning control signal, the key terminal adjusts the working state of the ultra-wideband communication module, which includes an active state or a sleep state. The total time the ultra-wideband communication module is in the active state is counted. When the total time is greater than or equal to a preset time threshold and the car door status has not changed, the shake-to-wake function is turned off, and the ultra-wideband communication module is controlled to enter a sleep state. This ensures that the ultra-wideband communication module of the key terminal is only activated when a positioning control signal is acquired to perform the corresponding positioning operation. If the cumulative time of using the ultra-wideband communication module is too long and the vehicle is not used, the activation operation of the ultra-wideband communication module based on the shake-to-wake function is stopped, thereby stopping the working state of the ultra-wideband communication module, reducing the power consumption based on the ultra-wideband communication module, and improving the power efficiency of the device. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0042] Figure 1 This is an application scenario diagram of the car key control method provided in this application according to an exemplary embodiment;
[0043] Figure 2 This is a flowchart illustrating a car key control method provided in an exemplary embodiment of this application;
[0044] Figure 3 This is a schematic flowchart of a car key control method provided in this application according to another exemplary embodiment;
[0045] Figure 4 This is a schematic flowchart of a car key control method provided in this application according to another exemplary embodiment;
[0046] Figure 5 This is a schematic diagram of the key terminal provided in one embodiment of this application.
[0047] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0048] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0049] The terms "first," "second," "third," "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be used interchangeably where appropriate. For example, without departing from the scope of this document, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0050] Depending on the context, the word "if" as used here can be interpreted as "when," "when," or "in response to determination."
[0051] Furthermore, as used herein, the singular forms “a,” “one,” and “the” are intended to also include the plural forms, unless the context indicates otherwise.
[0052] It should be further understood that the terms “comprising” or “including” indicate the presence of features, steps, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups.
[0053] The terms “or” and “and / or” as used herein are interpreted as inclusive, or mean any one or any combination thereof. Therefore, “A, B, or C” or “A, B, and / or C” means “any one of the following: A; B; C; A and B; A and C; B and C; A, B, and C”. Exceptions to this definition occur only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
[0054] This application provides a key control method, a key terminal, and a storage medium, aiming to solve the technical problem of low power efficiency in devices equipped with ultra-wideband communication (UWB) functionality. The technical concept of this application is as follows: when the key terminal activates the shake-to-wake function, it only controls the UWB module to operate upon receiving a positioning control signal. Furthermore, when the cumulative operating time of the UWB module is greater than or equal to a preset time threshold and the door status remains unchanged, the shake-to-wake function is deactivated, stopping the key terminal's activation of the UWB module based on the shake-to-wake function. This stops the UWB module's operation, reduces power consumption based on the UWB module, and improves the device's power efficiency.
[0055] Figure 1 This is an application scenario diagram of the car key control method provided in this application according to an exemplary embodiment, such as... Figure 1 As shown in the diagram, the scenario includes a vehicle 10 and a key terminal 20. The vehicle 10 includes a vehicle-side control module 101 and N ultra-wideband communication antennas, which are: a first ultra-wideband communication antenna 102, a second ultra-wideband communication antenna 103, ..., an Nth ultra-wideband communication antenna 104. The key terminal 20 includes an ultra-wideband communication module. In one embodiment, the key terminal 20 includes a mobile phone or a remote control key.
[0056] The key terminal 20 is connected to the vehicle control module 101 and N ultra-wideband communication antennas, respectively. The vehicle control module 101 is also connected to the N ultra-wideband communication antennas.
[0057] After the vehicle 10 establishes a Bluetooth connection with the key terminal 20, that is, after the vehicle-side control module 101 establishes a Bluetooth connection with the key terminal 20, the vehicle 10 wakes up each ultra-wideband communication antenna to start working. At the same time, the ultra-wideband communication module in the key terminal 20 is activated and begins to interact with each ultra-wideband communication antenna to enable the vehicle 10 and / or the key terminal 20 to determine the distance between the key terminal 20 and each ultra-wideband communication antenna, thereby determining the position information of the key terminal 20 relative to the vehicle 10, that is, to perform a positioning operation on the key terminal 20, and enable the vehicle 10 to perform corresponding unlocking and locking operations based on the position of the key terminal 20 and the vehicle 10.
[0058] After vehicle 10 establishes a Bluetooth connection with key terminal 20, key terminal 20 also activates a shake-to-wake function. This allows key terminal 20 to control the ultra-wideband communication module to run continuously for a first preset time length when it receives a mobile signal. If key terminal 20 receives a mobile signal again within or after the first preset time length, it resets the first running length. Furthermore, if vehicle control module 10 sends a key-finding signal to key terminal 20, key terminal 20 similarly controls the ultra-wideband communication module to run continuously for the first preset time length.
[0059] When the shake-to-wake function is activated, the key terminal 20 counts the cumulative running time of the ultra-wideband communication module. When the cumulative running time is greater than or equal to a preset time range and the door status has not changed, the shake-to-wake function is turned off, and the key terminal 20 stops the activation operation of the ultra-wideband communication module based on the shake-to-wake function, so as to stop the working state of the ultra-wideband communication module, reduce the power consumption based on the ultra-wideband communication module, and improve the power efficiency of the device.
[0060] Figure 2 This is a flowchart illustrating a car key control method provided in an exemplary embodiment of this application, as shown below. Figure 2 As shown, the car key control method includes:
[0061] S101 When the shake-to-wake function is activated, the key terminal obtains the positioning control signal and adjusts the working state of the ultra-wideband communication module according to the positioning control signal.
[0062] The positioning control signal is a signal that controls the key terminal to activate the ultra-wideband communication module, enabling the ultra-wideband communication module to interact with the vehicle's ultra-wideband communication antenna for positioning operations. In one embodiment, the positioning control signal includes a motion signal generated by a motion detection module installed in the key terminal based on the key terminal's motion state.
[0063] The shake-to-wake function refers to the ability of the key terminal to wake up the ultra-wideband communication module based on the movement signal generated during its shaking, thereby activating it.
[0064] The ultra-wideband (UWB) communication module has two operating states: active and dormant. When the UWB communication module is working, it is in the active state; when the UWB communication module is not working, it is in the dormant state.
[0065] When the key terminal activates the shake-to-wake function and receives a positioning control signal, it controls the ultra-wideband communication module to be in an active state. After a first preset time period, if the key terminal does not receive a positioning control signal again, it adjusts the ultra-wideband communication module to a sleep state.
[0066] S102. The key terminal counts the total time the ultra-wideband communication module is in an active state.
[0067] S103. When the total time is greater than or equal to the preset time threshold and the door status has not changed, the key terminal disables the shake wake-up function and adjusts the ultra-wideband communication module to a sleep state.
[0068] The door status not changing means that the door changes from open to closed, or from closed to open.
[0069] The key terminal can obtain the door status sent by the vehicle via Bluetooth.
[0070] When the total time is greater than or equal to the preset time threshold and the door status does not change, the vehicle performs a positioning operation on the key terminal for an extended period of time. However, if the user of the key terminal does not operate the vehicle, the key terminal will disable the shake-to-wake function. At the same time, the vehicle's ultra-wideband communication antenna will be switched to standby mode, and the key terminal will be unable to activate the ultra-wideband communication module based on the obtained mobile signal.
[0071] In the above technical solution, when the key terminal activates the shake-to-wake function, it only controls the ultra-wideband communication module to perform corresponding operations when a positioning control signal is received. When the cumulative working time of the ultra-wideband communication module is greater than or equal to a preset time threshold and the door status has not changed, the shake-to-wake function is turned off, and the key terminal stops activating the ultra-wideband communication module based on the shake-to-wake function, thereby stopping the working state of the ultra-wideband communication module, reducing the power consumption based on the ultra-wideband communication module, and improving the power efficiency of the device.
[0072] Figure 3 This is a flowchart illustrating a car key control method provided in another exemplary embodiment of this application, such as... Figure 3 As shown, the car key control method includes:
[0073] S201. The key terminal starts the shake wake-up function, controls the ultra-wideband communication module to activate the first preset time length, and initializes the total time to zero.
[0074] In one application scenario, the key terminal approaches the vehicle into Bluetooth signal range, establishes a Bluetooth connection with the vehicle, activates the shake-to-wake function, controls the ultra-wideband communication module to activate for a first preset time length, and initializes the total time to zero.
[0075] In one embodiment, the first preset time length is 30 seconds.
[0076] In another application scenario, the shake-to-wake function is off. When the key terminal receives the key-finding signal from the vehicle, it activates the shake-to-wake function based on the key-finding signal, resets the total time to zero, and then controls the ultra-wideband communication module to activate the first preset time length.
[0077] In another application scenario, the key terminal receives an ultra-wideband communication (UWB) activation control command sent by the vehicle. Based on this command, it initiates a shake-to-wake function, resets the total time to zero, and then controls the UWB module to activate for a first preset time length. The UWB activation control command is generated and sent to the key terminal when the vehicle exits the start-up mode. Simultaneously, the vehicle controls each UWB antenna to operate for the first preset time length.
[0078] S202, the key terminal receives a mobile signal and controls its included ultra-wideband communication module to be in an active state.
[0079] After the key terminal receives a mobile signal, it triggers the shake-to-wake function to activate the ultra-wideband communication module in the key terminal, so that the module can work with the vehicle's ultra-wideband communication antenna to perform the corresponding positioning operation.
[0080] S203, The key terminal adjusts the first movement flag stored locally to an active state.
[0081] In one embodiment, the valid state is "1".
[0082] S204, the key terminal transmits the first mobile marker to the vehicle via Bluetooth.
[0083] S205. The vehicle adjusts the second mobile marker located locally to an active state and controls each ultra-wideband communication antenna to be active according to the second mobile marker.
[0084] The vehicle adjusts the local second movement flag to an active state based on the first movement flag that is in an active state, and controls each ultra-wideband communication antenna to change from a waiting state to an active state based on the second movement flag.
[0085] S206. After a first preset time period, if the key terminal does not receive a mobile signal again, the ultra-wideband communication module is put into a sleep state.
[0086] The first preset time length is the time during which the ultra-wideband communication module works after the key terminal obtains a mobile signal. Within the time range corresponding to the first preset time length, if the key terminal obtains a mobile signal again, the key terminal will reset the working time of the ultra-wideband communication module.
[0087] If the key terminal does not receive a mobile signal again after a first preset time period, the control ultra-wideband communication module will stop working.
[0088] S207, The key terminal sets the first movement flag stored locally to an invalid state.
[0089] In one embodiment, the invalid state is "0".
[0090] S208, the key terminal transmits the first mobile marker to the vehicle via Bluetooth.
[0091] S209. The vehicle adjusts the local second movement marker to an invalid state and controls each ultra-wideband communication antenna to be in a standby state according to the second movement marker.
[0092] The vehicle, based on the first movement flag that is in an invalid state, adjusts the second movement flag located locally to an invalid state, and controls each ultra-wideband communication antenna to change from an active state to a waiting state based on the second movement flag.
[0093] S210. When the status of the door changes, the key terminal will reset the total time to zero.
[0094] It is worth noting that the order of this step and step S211 is not specifically limited.
[0095] S211. The key terminal counts the total time the ultra-wideband communication module is in an active state.
[0096] The key terminal counts the total time the ultra-wideband communication module is in an active state, which is the cumulative time the key terminal counts the ultra-wideband communication module working.
[0097] In another embodiment, the positioning control signal also includes a key-finding signal.
[0098] Similar to mobile signals, during the period when the total time the ultra-wideband communication module of the key terminal is in an active state is less than a preset time threshold, the key terminal will also receive a key-finding signal sent by the vehicle, that is, a key-finding signal sent by the vehicle-side control module to the key terminal. When the key terminal receives the key-finding signal sent by the vehicle, it controls the ultra-wideband communication module in the key terminal to be in an active state. After a first preset time length, if the key terminal does not receive a key-finding signal or mobile signal again, it will adjust the ultra-wideband communication module to a sleep state.
[0099] S212. When the total time is greater than or equal to the preset time threshold and the door status has not changed, the key terminal disables the shake wake-up function and adjusts the ultra-wideband communication module to a sleep state.
[0100] In one embodiment, the preset time threshold is 10 minutes.
[0101] In the above technical solution, after the key terminal activates the shake-to-wake function, it continues to work for a first preset time length only when it receives a movement signal and / or a key-finding signal. This reduces the continuous positioning operation of the vehicle on the key terminal that has not moved, and reduces the power consumption of the vehicle and the key terminal during invalid positioning. If the cumulative time of using the broadband communication module is too long and the vehicle is not used, the activation operation of the ultra-wideband communication module based on the shake-to-wake function of the key terminal is stopped, so as to stop the working state of the ultra-wideband communication module, reduce the power consumption based on the ultra-wideband communication module, and improve the power efficiency of the device.
[0102] Figure 4 This is a flowchart illustrating a car key control method provided in another exemplary embodiment of this application, such as... Figure 4 As shown, the car key control method includes:
[0103] S301. The key terminal establishes a Bluetooth connection with the vehicle's vehicle control module.
[0104] S302. The key terminal activates the ultra-wideband communication module to run for the first preset time length, starts the shake wake-up function, and clears the cumulative working time length to zero.
[0105] S303, Vehicle activates ultra-wideband communication antenna.
[0106] More specifically, the activation time of the ultra-wideband communication antenna is synchronized with the activation time of the ultra-wideband communication module.
[0107] S304. The key terminal determines whether a mobile signal or a key-finding request has been detected.
[0108] If yes, proceed to step S305; if no, the ultra-wideband communication antenna and the ultra-wideband communication module remain in their current operating states.
[0109] For the key terminal, if the ultra-wideband communication module is in a sleep state, it will continue to remain in a sleep state if it does not detect a mobile signal or receive a key retrieval request; if the ultra-wideband communication module is in an active state, it will continue to remain in an active state until the running time is greater than or equal to the first preset time length if it does not detect a mobile signal or receive a key retrieval request.
[0110] S305, the key terminal controls the ultra-wideband communication module to start running.
[0111] At the same time, the key terminal begins timing the operation time of the ultra-wideband communication module.
[0112] S306, The key terminal notifies the vehicle control module to activate the ultra-wideband communication antenna.
[0113] S307. After the vehicle activates the ultra-wideband communication antenna and runs for the first preset time, it enters a waiting state.
[0114] If the vehicle activates the ultra-wideband communication antenna and operates for a first preset time length, and the vehicle does not receive an activation notification from the key terminal within the time range corresponding to the first preset time length, then it enters a waiting state after the ultra-wideband communication antenna has operated for the first preset time.
[0115] S308, the key terminal determines whether the running time length is greater than or equal to the first preset time length.
[0116] If yes, proceed to step S309; otherwise, proceed to step S304 to monitor the information obtained by the key terminal.
[0117] S309. The key terminal controls the ultra-wideband communication module to stop operating and counts the cumulative working time of the ultra-wideband communication module.
[0118] The cumulative working time is the total time during which the ultra-wideband communication module is activated and performs positioning operations in conjunction with the ultra-wideband communication antenna after the shake-to-wake function is started.
[0119] S310, the key terminal determines whether the cumulative working time is greater than or equal to the preset time threshold.
[0120] If yes, proceed to step S311; otherwise, proceed to step S304.
[0121] S311, the shake-to-wake function of the key terminal is disabled.
[0122] After the shake-to-wake function is turned off, if the key terminal receives a key-finding request again, the ultra-wideband communication module will no longer be activated to work.
[0123] S312. The key terminal determines whether the status of the door has changed.
[0124] If yes, proceed to step S302; otherwise, proceed to step S313.
[0125] S313. The key terminal determines whether a key-finding request has been received.
[0126] More specifically, if the vehicle is not in start mode, the key terminal determines whether a key retrieval request has been received. If so, proceed to step S302; otherwise, proceed to step S314.
[0127] If the vehicle enters start mode and a key retrieval request is received, the trigger source information is obtained from the request. This trigger source information can be either in-vehicle or external trigger source information. If the key retrieval request contains in-vehicle trigger source information, the ultra-wideband communication module is activated; if the request contains external trigger source information, the request is ignored.
[0128] S314, The key terminal continuously monitors until its Bluetooth connection with the vehicle is lost.
[0129] S315. When the vehicle enters the start mode, the vehicle control ultra-wideband communication antenna runs for a second preset time length before entering the waiting state.
[0130] During the second preset time period, the vehicle locates the key terminal so that the user can complete the key retrieval operation.
[0131] In one embodiment, the second preset time length is 5 seconds.
[0132] S316. The vehicle generates and sends a control command to the key terminal to disable ultra-wideband communication.
[0133] The terminal ultra-wideband communication shutdown control command is used to disable the shake-to-wake function of the key terminal and to stop the operation of the ultra-wideband communication module.
[0134] S317. When the vehicle enters the exit mode, the vehicle generates an ultra-wideband communication start control command and controls the ultra-wideband communication antenna to run for a first preset time length.
[0135] S318. The vehicle sends an ultra-wideband communication start control command to the key terminal.
[0136] The ultra-wideband communication activation control command is used to cause the key terminal to enter step S302 to activate the shake wake-up function, and after clearing the total time to zero, control the ultra-wideband communication module to activate the first preset time length.
[0137] In the above technical solution, the key terminal determines the working status of the ultra-wideband communication module and the ultra-wideband communication antenna based on the vehicle's start status, the key-finding signal, and the obtained movement signal, which greatly reduces the power consumption of the key and the vehicle. In addition, when the ultra-wideband communication module is in a sleep state and the shake-to-wake function is enabled, the vehicle's ultra-wideband communication antenna remains in a waiting state, so that when the vehicle sends a key-finding request to the key terminal, the vehicle's ultra-wideband communication antenna can be quickly woken up. The key terminal controls the ultra-wideband communication module to work through the key-finding request, so that the key terminal can still ensure the key-finding function during power saving.
[0138] Figure 5This is a schematic diagram of a key terminal according to an embodiment of this application. The key terminal 400 includes a memory 401 and a processor 402. The memory 401 stores computer instructions executable by the processor. The memory 401 may include high-speed random access memory (RAM), and may also include non-volatile memory (NVM), such as at least one disk drive, or a USB flash drive, portable hard drive, read-only memory, disk, or optical disc, etc.
[0139] When executing computer instructions, processor 402 implements the various steps of the car key control method with the key terminal as the execution subject in the above embodiments. For details, please refer to the relevant descriptions in the foregoing method embodiments. The processor 402 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0140] Optionally, the memory 401 can be either independent or integrated with the processor 402. When the memory 401 is configured independently, the server 400 also includes a bus for connecting the memory 401 and the processor 402. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be categorized as an address bus, data bus, control bus, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0141] This application also provides a computer-readable storage medium storing computer instructions. When a processor executes the computer instructions, it implements the various steps of the car key control method described above.
[0142] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the various steps in the car key control method described above.
[0143] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0144] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A car key control method, characterized in that, The method is applied to a key terminal, which is communicatively connected to a vehicle. The key terminal includes an ultra-wideband communication module, and the vehicle is equipped with multiple ultra-wideband communication antennas. The method includes: When the shake to wake function is activated, a positioning control signal is acquired, the positioning control signal including a movement signal; When the mobile signal is received, the ultra-wideband communication module in the control key terminal is activated. The first mobile flag in the key terminal is set to an active state, and the first mobile flag is transmitted to the vehicle via Bluetooth; the first mobile flag is used to control the vehicle to set the second mobile flag located locally to an active state, and to control each of the ultra-wideband communication antennas to be active according to the second mobile flag. After a first preset time period, if the key terminal does not receive the mobile signal again, the ultra-wideband communication module will be put into a sleep state. The first motion flag is set to an invalid state and transmitted to the vehicle via Bluetooth; the first motion flag is used to control the vehicle to set the second motion flag to an invalid state and to control each of the ultra-wideband communication antennas to be in a standby state according to the second motion flag. The total time the ultra-wideband communication module was in an active state was recorded. When the total time is greater than or equal to a preset time threshold and the door status remains unchanged, the shake wake-up function is turned off, and the ultra-wideband communication module is put into a sleep state.
2. The method according to claim 1, characterized in that, The positioning control signal also includes a key-finding signal; the method further includes: When the key-finding signal sent by the vehicle is received, the ultra-wideband communication module in the control key terminal is activated. After a first preset time period, if the key terminal does not receive the key-finding signal or the movement signal again, the ultra-wideband communication module is switched to a sleep state.
3. The method according to claim 1, characterized in that, The method further includes: When the door status changes, the total time is reset to zero.
4. The method according to claim 1, characterized in that, Before acquiring the positioning control signal, the method further includes: When the key terminal approaches the vehicle into Bluetooth signal range, it establishes a Bluetooth connection with the vehicle, activates the shake-to-wake function, controls the ultra-wideband communication module to activate for a first preset time length, and initializes the total time to zero.
5. The method according to claim 1, characterized in that, Before acquiring the positioning control signal, the method further includes: When the shake-to-wake function is turned off, the vehicle sends a key-finding signal. Based on the key-finding signal, the shake-to-wake function is activated, and after the total time is reset to zero, the ultra-wideband communication module is controlled to activate for a first preset time length.
6. The method according to claim 1, characterized in that, The vehicle includes multiple ultra-wideband communication antennas; before acquiring the positioning control signal, the method further includes: The system obtains an ultra-wideband communication activation control command sent by the vehicle; the ultra-wideband communication activation control command is generated when the vehicle exits the start mode and is sent to the key terminal. According to the ultra-wideband communication activation control command, the shake wake-up function is activated, the total time is cleared to zero, and then the ultra-wideband communication module is controlled to activate for a first preset time length.
7. The method according to claim 1, characterized in that, The method further includes: The vehicle receives an ultra-wideband communication shutdown control command sent by the vehicle. The ultra-wideband communication shutdown control command is generated and sent to the key terminal after the vehicle enters the start mode, controls each ultra-wideband communication antenna to run for a second preset time length, and controls each ultra-wideband communication antenna to be in a waiting state. According to the ultra-wideband communication shutdown control command, the shake to wake function is turned off, and the ultra-wideband communication module is put into a sleep state.
8. The method according to claim 7, characterized in that, After disabling the shake-to-wake function and putting the ultra-wideband communication module into a sleep state according to the ultra-wideband communication shutdown control command, the method further includes: Received a key search request; The trigger source information is obtained from the key retrieval request; the trigger source information includes in-vehicle trigger source information or out-of-vehicle trigger source information. When the key-finding request includes in-vehicle trigger source information, the ultra-wideband communication module is activated.
9. A key terminal, characterized in that, include: A processor and a memory communicatively connected to the processor; The memory stores computer instructions; When executing the computer instructions, the processor is used to implement the car key control method as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, are used to implement the car key control method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Car key based on BLE and UWB, control method and readable storage medium
CN114445938A