Intelligent key power consumption management method, intelligent key, vehicle and system
Patent Information
- Application Number
- CN202611154237.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-10-27
AI Technical Summary
[0022]根据本申请的另一方面,还提供一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行如前述任一实施例所述的方法。
Smart Images

Figure CN122994886A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle power consumption management technology, specifically to a smart key power consumption management method, a smart key, a vehicle, and a system. Background Technology
[0002] With the increasing prevalence of automotive intelligence, keyless entry / start systems have become mainstream. Smart keys achieve identity authentication and function control through wireless communication with the vehicle's controller. However, significant power consumption is wasted during the transportation of vehicles from the production base to the dealership. To facilitate handover after transportation, smart keys are often left inside the vehicle. During this time, the smart key maintains a long-term wireless communication connection with the vehicle, resulting in double power consumption from both the vehicle battery and the key's built-in battery. According to actual measurements, during the transportation period (usually 7-30 days), the vehicle consumes an average of 3%-10% of its power per day, and the key battery wears out 3-5 times compared to normal use. Taking Bluetooth-enabled smart keys as an example, when a physical Bluetooth smart key is placed in the car and connected to the vehicle's Bluetooth module for an extended period, its power consumption is more than 12 times that of an unconnected state. This leads to severe power loss for both the physical key and the vehicle, and in severe cases, the vehicle arrives at the dealership with a dead battery and unable to start, and the key battery is completely depleted.
[0003] In related technologies, power management solutions include the following approaches: One approach proposes setting timed sleep periods based on key usage stages (factory inventory period, vehicle inventory period, etc.) (i.e., intermittent sleep, establishing a communication link between the key and the vehicle during non-sleep periods). However, this approach fails to consider the special scenario of the transportation stage where "the key is inside the vehicle and the vehicle is stationary." The transportation stage is neither "factory inventory" nor "normal user use," but a unique state between the two. Relying solely on duration thresholds can easily trigger false sleep or wake-up, failing to accurately match the transportation status. For example, when a user briefly stops in a parking lot, the key might be mistakenly identified as "transportation delay" and put into sleep mode, or it might be mistakenly woken up during transportation due to non-human factors such as vehicle jolting. Another approach uses a motion sensor on the key, but this sensor is used to recognize user gestures to activate the transceiver. Its core purpose is to optimize the user experience during usage, not to address power consumption during transportation delays. Furthermore, it is not linked to the vehicle's status and cannot distinguish between the movement differences between "transportation delays" and "normal user carrying." Since power consumption is inevitable as long as the communication link is maintained or can be established at the physical layer, power consumption will always exist. Therefore, regardless of whether the relevant technologies set a timer for sleep mode according to the usage stage or activate the transceiver by setting a motion sensor, they cannot fundamentally block invalid communication between the key and the vehicle during the vehicle transportation stage, and the problem of wasted power consumption always exists.
[0004] This demonstrates that during the vehicle transportation phase of related technologies, there is a persistent technical problem of wasted power consumption due to invalid communication between the vehicle and the key. Summary of the Invention
[0005] One of the objectives of this invention is to provide a smart key power consumption management method, a smart key, a vehicle, and a system to solve the technical problem in the prior art where power consumption is wasted due to invalid communication between the vehicle and the key during the vehicle transportation phase.
[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A power consumption management method for smart keys, applied to smart keys, includes: When the vehicle is in transit, the smart key is kept in a dormant state, wherein the smart key is paired with the vehicle. When in sleep mode, the communication module of the smart key is disabled from being activated; When the smart key is subjected to a preset operation, the communication module is activated, and a connection signal is broadcast through the communication module to establish a communication connection between the communication module and the vehicle's communication controller. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0007] Optionally, as described in the aforementioned smart key power consumption management method, before maintaining the smart key in a sleep state when the vehicle is in transit, the method further includes: In response to the connection prompt information, a pairing signal is broadcast according to the first cycle. The method for generating the connection prompt information includes: the key connection device sending a diagnostic command to the communication controller; the communication controller responding to the diagnostic command and, if it determines that preset connection conditions are met, sending a positive response back to the key connection device; the key connection device responding to the positive response and generating the connection prompt information; the key connection device is a device used to trigger the smart key to match the vehicle. When the communication controller responds to the pairing command sent by the key connection device and scans the pairing signal, it completes the pairing between the communication module and the communication controller, and completes the matching between the smart key and the vehicle.
[0008] Optionally, as described in the aforementioned smart key power consumption management method, the step of activating the communication module and broadcasting a connection signal through the communication module to establish a communication connection with the vehicle's communication controller when the smart key is acquired and a preset operation is performed includes: When the smart key is subjected to a preset operation, the connection signal is broadcast, wherein the connection signal includes the identity information of the smart key; In response to the acquired first motion sensor setting signal, the motion sensor is activated, wherein the first motion sensor setting signal is generated in the following manner: the vehicle's in-vehicle controller determines the real-name authentication status of the vehicle in real time in response to the connection signal, and sends the real-name authentication status to the communication controller in a second cycle; when the communication controller determines that the real-name authentication status indicates that the vehicle has completed real-name authentication, it sends the first motion sensor setting signal to the smart key; When the motion sensor is activated, and when the movement of the smart key is detected by the motion sensor, the communication module is activated, and a target signal is broadcast through the communication module to establish a communication connection with the communication controller.
[0009] Optionally, as described in the aforementioned smart key power consumption management method, the method further includes: When the communication controller receives a second motion sensor setting signal sent when it determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication and the vehicle's mileage has not reached the preset mileage, the motion sensor is turned off in response to the second motion sensor setting signal. The communication controller obtains the first motion sensor setting signal sent when it determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication, but the vehicle's mileage has reached a preset mileage.
[0010] Optionally, as described in the aforementioned smart key power consumption management method, the method further includes: Determine the time elapsed since the last use of the vehicle; The target scanning cycle and target duty cycle for key scanning are determined according to the interval duration, wherein the target scanning cycle is proportional to the interval duration and the target duty cycle is inversely proportional to the interval duration; The communication controller is controlled to operate according to the target scanning cycle and the target duty cycle.
[0011] Optionally, as described in the aforementioned smart key power consumption management method, after establishing a communication connection with the vehicle's communication controller, the method further includes: The current motion energy value of the motion sensor of the smart key is obtained, wherein the current motion energy value is used to indicate the intensity of the motion of the motion sensor at the current moment; By determining the target motion energy range in which the current motion energy value is located among all candidate motion energy ranges, and defining the usage state corresponding to the target motion energy range as the usage state corresponding to the current motion energy value, wherein the usage state corresponds one-to-one with the operating state of the communication module.
[0012] Optionally, as described in the aforementioned smart key power consumption management method, the method further includes: The user's usage habits data for the smart key are obtained through the smart key's motion sensor; Based on the aforementioned usage habit data, the actual exercise energy range corresponding to each user in each usage state is determined; Based on the actual motion energy range corresponding to each usage state, the original motion energy range corresponding to each usage state is corrected to obtain the candidate motion energy range corresponding to each usage state.
[0013] Optionally, as described in the aforementioned smart key power consumption management method, the usage state corresponds one-to-one with the operating state of the communication module, including: When the usage state is deep sleep state, the corresponding operating state is stop working state, wherein the communication module does not broadcast in the stop working state; When the usage state is a light wake-up state, the corresponding operating state is a light working state, wherein in the light working state, the communication module broadcasts according to a first cycle; When the usage state is full wake-up state, the corresponding running state is normal working state. In the normal working state, the communication module broadcasts according to a second cycle, which is shorter than the first cycle.
[0014] According to another aspect of this application, a smart key power consumption management method is also provided, applied to a vehicle, comprising: When the vehicle is in transport mode, the communication controller controlling the vehicle only broadcasts and stops scanning the smart key, wherein the smart key is paired with the vehicle. Upon receiving a communication module broadcast connection signal from the smart key, a communication connection is established between the communication controller and the communication module. The connection signal is a signal broadcast by the communication module when the smart key activates the communication module under the condition of performing a preset operation. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0015] Optionally, as described in the aforementioned smart key power consumption management method, the method further includes: The communication controller acquires diagnostic commands sent by the key connection device, wherein the key connection device is a device used to trigger the smart key to match with the communication controller; The communication controller is controlled to respond to the diagnostic command, and if it is determined that the preset connection conditions are met, it sends a positive response to the key connection device. When the communication controller responds to the pairing command sent by the key connection device and scans for a pairing signal, it completes the pairing between the communication controller and the communication module and records the identity information of the smart key. The pairing signal is a signal broadcast by the smart key in response to the connection prompt information according to the first cycle, and the connection prompt information is a signal generated by the key connection device in response to the affirmative response.
[0016] Optionally, as described in the aforementioned smart key power consumption management method, establishing a communication connection between the communication controller and the communication module upon receiving a broadcast connection signal from the communication module of the smart key includes: The vehicle's in-vehicle controller responds to the connection signal to determine the vehicle's real-name authentication status in real time, and sends the real-name authentication status to the communication controller in a second cycle. The connection signal is a signal broadcast by the smart key when it acquires and performs a preset operation. The connection signal includes the smart key's identity information. When the communication controller determines that the real-name authentication status indicates that the vehicle has completed real-name authentication, it sends a first motion sensor setting signal to the smart key, so that the smart key responds to the first motion sensor setting signal and activates the motion sensor of the smart key. When the smart key is obtained and the motion sensor is determined to be activated, and when the motion sensor detects movement of the smart key, the communication module is activated and a target signal is broadcast through the communication module, a communication connection is established between the communication controller and the communication module.
[0017] Optionally, as described in the aforementioned smart key power consumption management method, the method further includes: When the communication controller determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication and the vehicle's mileage has not reached the preset mileage, it sends a second motion sensor setting signal to the smart key so that the smart key responds to the second motion sensor setting signal and turns off the motion sensor. When the communication controller determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication, but the vehicle's mileage has reached a preset mileage, it sends the first motion sensor setting signal to the smart key.
[0018] Optionally, as described in the aforementioned smart key power consumption management method, the method further includes: If all key data in the communication controller is cleared, the communication controller disables the scanning function, wherein the key data includes the identity information of the smart key.
[0019] According to another aspect of this application, a smart key is also provided, comprising: A sleep module is used to keep the smart key in a sleep state when the vehicle is in transit, wherein the smart key is paired with the vehicle. A disabled module is used to prevent the communication module of the smart key from being activated when the key is in a dormant state. A communication module is used to activate the communication module when the smart key performs a preset operation, and to broadcast a connection signal through the communication module to establish a communication connection between the communication module and the communication controller of the vehicle. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0020] According to another aspect of this application, a vehicle is also provided, comprising: The control module is used to control the vehicle's communication controller to only broadcast and stop scanning the smart key when the vehicle is in transport mode, wherein the smart key is paired with the vehicle. A communication module is used to establish a communication connection between the communication controller and the communication module when a connection signal is broadcast by the communication module of the smart key. The connection signal is a signal broadcast by the communication module when the smart key activates the communication module under the condition of performing a preset operation. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0021] According to another aspect of this application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus, characterized in that... The memory is used to store computer programs; The processor is configured to perform the method as described in any of the foregoing embodiments by running the computer program stored in the memory.
[0022] According to another aspect of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the method as described in any of the foregoing embodiments when it is run.
[0023] According to another aspect of this application, a system, a smart key as described in the foregoing embodiments, and a vehicle as described in the foregoing embodiments are also provided.
[0024] The beneficial effects of this invention are as follows: This embodiment of the smart key power consumption management method maintains the smart key in a dormant state when the vehicle is in transit, wherein the smart key is paired with the vehicle. In the dormant state, activation of the smart key's communication module is prohibited. Upon receiving a preset operation performed on the smart key, the communication module is activated, and a connection signal is broadcast through the communication module to establish a communication connection between the communication module and the vehicle's communication controller. Even if the smart key is paired with the vehicle, this embodiment prohibits activation of the smart key's communication module during transit, and establishes a communication connection with the vehicle only after the smart key performs a preset operation. This avoids communication between the smart key and the vehicle during transit, reducing energy consumption for both the vehicle and the smart key. This solves the technical problem in related technologies where ineffective communication between the vehicle and the key during vehicle transit leads to wasted power. Attached Figure Description
[0025] Figure 1 This is a flowchart illustrating an optional smart key power consumption management method applied to a smart key according to an embodiment of this application; Figure 2 This is a schematic diagram illustrating the correspondence between an optional candidate motion energy range and a usage state according to an embodiment of this application; Figure 3 This is a schematic diagram of an optional smart key power consumption management method for vehicles according to an embodiment of this application; Figure 4 This is a structural block diagram of an optional smart key according to an embodiment of this application; Figure 5 This is a structural block diagram of an optional vehicle according to an embodiment of this application; Figure 6 This is a structural block diagram of an optional system according to an embodiment of this application; Figure 7 This is a structural block diagram of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0027] It should be noted that the terms "first," "second," etc., 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 interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0028] According to one aspect of the embodiments of this application, a smart key power consumption management method is provided. Optionally, in this embodiment, the above-described smart key power consumption management method can be applied to a hardware environment consisting of a terminal and a server. The server connects to the terminal via a network and can be used to provide services (such as advertising push services, application services, etc.) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services to the server.
[0029] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. The terminal may not be limited to PC, mobile phone, tablet computer, etc.
[0030] The smart key power consumption management method of this application embodiment can be executed by a server, a terminal, or both. Alternatively, the smart key power consumption management method of this application embodiment can be executed by a client installed on the terminal.
[0031] Taking the smart key power consumption management method in this embodiment as an example, which is executed by a terminal (in this embodiment, a smart key), Figure 1A smart key power consumption management method provided in this application embodiment, applied to a smart key, includes the following steps: Step S102: When the vehicle is in transport mode, the smart key is kept in sleep mode, wherein the smart key is paired with the vehicle.
[0032] The smart key power consumption management method in this embodiment can be applied to scenarios where power consumption management is required between matched vehicles and smart keys to save power and extend usage time.
[0033] Specifically, during the long-distance transportation of vehicles before they leave the factory, the vehicles are usually in transit. In transit, the vehicles may experience prolonged bumps and vibrations. If the motion sensor of the smart key is activated, it may repeatedly wake the smart key from its sleep state due to frequent detection of motion energy, thus accelerating the consumption of the smart key's battery and potentially causing it to run out of power before the vehicle is delivered to the user. Therefore, when the vehicle is in transit, the smart key is kept in a sleep state, and the communication module of the smart key is prohibited from being activated, thereby avoiding power consumption due to frequent wake-ups during transportation. The smart key and the vehicle's Bluetooth controller have been paired and bound together. Step S104: In sleep state, the communication module of the smart key is prohibited from being activated.
[0034] Specifically, in sleep mode, the smart key's communication module (such as the Bluetooth communication module) remains off. The smart key does not send any broadcast signals to the outside world, nor does it respond to any button operations other than the preset operations, thereby minimizing power consumption during transportation.
[0035] Step S106: When the smart key is subjected to a preset operation, the communication module is activated, and a connection signal is broadcast through the communication module to establish a communication connection between the communication module and the vehicle's communication controller. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0036] Specifically, after the vehicle arrives at its destination (e.g., at a 4S dealership or in the hands of the user), the operator (e.g., a 4S dealership employee or the user) performs a preset operation on the smart key. Following this preset operation, the communication module is activated; that is, the preset operation is the trigger condition for communication module activation. In one implementation, the preset operation can be pressing and holding the lock button on the smart key for more than 5 seconds. When the smart key detects that this preset operation has been performed, it activates the communication module and broadcasts a connection signal (e.g., a learning broadcast named "CABlePhySdKeyFob") at a preset period (e.g., 200ms). Upon receiving this broadcast signal, the vehicle's communication controller (i.e., the Bluetooth controller) establishes a communication connection with the smart key, thereby switching the smart key from a dormant state to an active state, entering the normal usage phase.
[0037] This embodiment of the smart key power consumption management method maintains the smart key in a dormant state when the vehicle is in transit, wherein the smart key and the vehicle are paired. In the dormant state, the communication module of the smart key is prohibited from activation. Upon receiving a preset operation performed on the smart key, the communication module is activated, and a connection signal is broadcast through the communication module to establish a communication connection between the communication module and the vehicle's communication controller. Even if the smart key is already paired with the vehicle, this embodiment prohibits activation of the smart key's communication module during transit, and establishes a communication connection with the vehicle only after the smart key performs a preset operation. This avoids communication between the smart key and the vehicle during transit, reducing energy consumption for both the vehicle and the smart key. This solves the technical problem in related technologies where ineffective communication between the vehicle and the key during vehicle transit leads to wasted power.
[0038] As an optional embodiment, the smart key power consumption management method described above further includes the following steps before maintaining the smart key in a sleep state when the vehicle is in transit: In response to the connection prompt information, a pairing signal is broadcast according to the first cycle. The method for generating the connection prompt information includes: the key connection device sending a diagnostic command to the communication controller; the communication controller responding to the diagnostic command and, if it determines that the preset connection conditions are met, sending a positive response back to the key connection device; the key connection device responding to the positive response and generating the connection prompt information; the key connection device is a device used to trigger the pairing of the smart key with the vehicle.
[0039] Specifically, the aforementioned key-connection device is used to trigger the pairing of the smart key with the communication controller, such as a key learning device like a diagnostic tool or electrical testing equipment. When in use, the key-connection device can be connected to the vehicle, allowing it to send diagnostic commands to the vehicle's communication controller (e.g., a Bluetooth controller). Upon receiving the diagnostic command, the communication controller enters extended mode and successfully passes both Level 0 and Level 1 security access sequentially. For example, the Bluetooth controller successfully transitions from an initial "no permission / unlocked" (Level 0) state to the corresponding "Level 1 security permission" authentication process, signifying that the Bluetooth controller has been authorized to perform subsequent key learning (i.e., pairing with the smart key) and other functions requiring a specific security level. After successful security access verification, the key-connection device sends a learning command to the communication controller, notifying it to enter key learning mode. When the communication controller detects that the preset connection conditions (i.e., learning conditions) are met, it replies with a positive response to the key-connection device. Upon receiving this positive response, the key-connection device generates a connection prompt message, which prompts the operator to perform a preset operation. In one implementation, the connection prompt is a text or voice prompt that reads "Press and hold the lock button for more than 5 seconds and place the key in the armrest box area" to guide the operator to perform the operation of pressing and holding the lock button for more than 5 seconds on the smart key.
[0040] The operator performs a preset operation on the smart key according to the connection prompts (e.g., pressing and holding the lock button for more than 5 seconds). After detecting that the preset operation has been performed, the smart key broadcasts a pairing signal every first cycle (e.g., 200ms). In one embodiment, this pairing signal may be a learning broadcast named "CABlePhySdKeyFob".
[0041] When the communication controller responds to the pairing command sent by the key connection device and scans the pairing signal, it completes the pairing between the communication module and the communication controller, and completes the matching between the smart key and the vehicle.
[0042] Specifically, after receiving the learning instruction from the key connection device, the communication controller enters the key learning mode and activates the scanning function to scan for the corresponding pairing signal (i.e., the "CABlePhySdKeyFob" learning broadcast). When the communication controller scans the pairing signal broadcast by the communication module in the smart key, the communication module and the communication controller complete the pairing, thus completing the pairing between the vehicle and the smart key (i.e., key learning is complete).
[0043] Furthermore, after receiving a positive response from the communication controller, the key connection device starts timing. One second after the timing begins, it begins querying the learning results, and thereafter queries once per second, up to a maximum of 60 queries. In each query response, the communication controller returns a query result to the key connection device containing three flags: aa, bb, and cc. Here, aa represents the learning status, with values of 00 (idle), 01 (learning in progress), 02 (success), 03 (learning timeout), and 04 (no learning broadcast detected); bb represents the number of keys currently bound to the vehicle; and cc represents the number of physical keys learned in the current process. When the key connection device receives a query response of aa == 02 (learning successful) and cc > 00 (a learned key exists), it determines that the current key has completed learning. Subsequently, the key connection device sends a command to the communication controller to exit the physical key binding process, and the communication controller responds by exiting the key learning mode.
[0044] As an optional embodiment, the aforementioned smart key power consumption management method, when the smart key is acquired and a preset operation is performed, activates the communication module and broadcasts a connection signal through the communication module to establish a communication connection between the communication module and the vehicle's communication controller, including: When a preset operation is performed on the smart key, a connection signal is broadcast, which includes the smart key's identity information.
[0045] Specifically, after detecting that a preset operation (such as pressing and holding the lock button for more than 5 seconds) has been performed, the smart key activates the communication module and broadcasts a connection signal. In an optional implementation, after the smart key has completed learning, its broadcast name changes to "CAFob-" + the last 10 digits of the vehicle's VIN code. This broadcast name is the connection signal, which includes the smart key's identity information (i.e., the key identifier bound to the vehicle's VIN code), used by the communication controller to identify the smart key as a paired and legitimate key.
[0046] In response to the acquired first motion sensor setting signal, the motion sensor is activated. The first motion sensor setting signal is generated in the following ways: the vehicle's vehicle controller determines the vehicle's real-name authentication status in real time in response to the connection signal, and sends the real-name authentication status to the communication controller in a second cycle; when the communication controller determines that the real-name authentication status indicates that the vehicle has completed real-name authentication, the vehicle clears the transportation mode identifier and sends the first motion sensor setting signal to the smart key.
[0047] Specifically, after the vehicle and smart key are paired, the vehicle's infotainment controller continuously checks the vehicle's real-name authentication status and sends the authentication status (AuthenStatus) every 100ms after network wake-up. The values for this authentication status include: 0x0 for invalid, 0x1 for verified, and 0x2 for unverified. The communication controller (i.e., the Bluetooth controller) receives the authentication status value sent by the infotainment controller. When the communication controller determines that AuthenStatus = 0x1 (meaning the vehicle has completed real-name authentication), the vehicle clears its transportation mode identifier (i.e., exits transportation mode), and the communication controller generates and sends a first motion sensor setting signal (ActiveSta = 0x1, indicating activation) to the smart key. This first motion sensor setting signal instructs the smart key to activate the motion sensor.
[0048] When the motion sensor is activated, and when the smart key is indicated to be used based on the usage status detected by the motion sensor, the communication module is activated, and a target signal is broadcast through the communication module to establish a communication connection with the communication controller.
[0049] Specifically, after receiving the first motion sensor setting signal (ActiveSta=0x1), the smart key activates the motion sensor in response to this signal, entering the user usage phase. Once the motion sensor is confirmed to be activated, and when the smart key is indicated to be used based on the usage status detected by the motion sensor—that is, when the smart key detects its own use through the motion sensor—the smart key activates the communication module and broadcasts a target signal through the communication module. This establishes a communication connection between the communication module and the vehicle's communication controller, and the power consumption algorithm begins to operate. This enables the communication connection between the smart key and the vehicle, thereby achieving user functions such as automatic unlocking upon approach.
[0050] Through the method of this embodiment, the vehicle maintains a transportation mode identifier while in transit. Even if the smart key has been paired, the motion sensor remains off to prevent frequent smart key activation and power consumption due to transportation bumps, ensuring the smart key has sufficient power when the vehicle is delivered to the user. Furthermore, the vehicle controller monitors the real-name authentication status in real time, activating the smart key's motion sensor only when the vehicle has completed real-name authentication. This complies with relevant regulations regarding vehicle real-name authentication, achieving automatic linkage between compliance and function unlocking. When the vehicle has not yet completed real-name authentication, the smart key keeps the motion sensor off, avoiding unnecessary power consumption and effectively extending the smart key's battery life.
[0051] As an optional embodiment, the smart key power consumption management method described above further includes: When the communication controller receives a second motion sensor setting signal indicating that the vehicle has not completed real-name authentication and the vehicle's mileage has not reached the preset mileage, the motion sensor is turned off in response to the second motion sensor setting signal.
[0052] Specifically, when the communication controller determines that the real-name authentication status is incomplete (i.e., AuthenStatus=0x2 or AuthenStatus=0x0, which is an invalid value), and the vehicle's mileage has not reached the preset mileage, the communication controller sends a second motion sensor setting signal (ActiveSta=0x0, indicating inactivity) to the smart key. After receiving this second motion sensor setting signal, the smart key responds by turning off the motion sensor function and maintaining a sleep state, thereby reducing the smart key's power consumption.
[0053] The first motion sensor setting signal is sent by the communication controller when it determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication, but the vehicle's mileage has reached the preset mileage.
[0054] Specifically, when the real-name authentication status indicates that the vehicle has not completed real-name authentication (AuthenStatus ≠ 0x1), but the vehicle's mileage has reached the preset mileage threshold, the communication controller also sends a first motion sensor setting signal (ActiveSta=0x1, indicating activation) to the smart key. After receiving this signal, the smart key activates the motion sensor, entering the user usage phase. The preset mileage threshold is determined based on whether the vehicle's place of origin and sales region are in the same country: if the vehicle's place of origin and sales region are in the same country, the preset mileage threshold is 100km; if the vehicle's place of origin and sales region are not in the same country, the preset mileage threshold is 200km.
[0055] Considering that real-name authentication may not be completed after vehicle sale for various reasons, an activation condition based on mileage is set (100km in China / 200km abroad). The smart key is automatically activated when the mileage reaches the threshold, satisfying regulatory compliance requirements while avoiding user disruption due to delays in the real-name authentication process, thus balancing compliance and user experience. Furthermore, different mileage thresholds are set based on whether the vehicle's country of origin and sales region are in the same country, adapting to different regional regulatory requirements and usage scenarios, enhancing the flexibility and versatility of the solution.
[0056] As an optional embodiment, the smart key power consumption management method described above further includes: Determine the time elapsed between the current moment and the last time the vehicle was used.
[0057] Specifically, the communication controller monitors the vehicle's usage status in real time. When it detects that the vehicle has stopped using (e.g., the vehicle is powered off and in hibernation mode), it begins to record and accumulate the interval between the current moment and the last time the vehicle was used, which serves as the time reference for subsequent adjustments to the scanning strategy.
[0058] The target scanning cycle and target duty cycle for key scanning are determined based on the interval duration. The target scanning cycle is directly proportional to the interval duration, and the target duty cycle is inversely proportional to the interval duration.
[0059] Specifically, as the interval length increases, the communication controller dynamically adjusts the scanning strategy: the target scanning cycle lengthens directly with the interval length (directly proportional), meaning the scanning frequency gradually decreases; the target duty cycle decreases inversely with the interval length (inversely proportional), meaning the proportion of time used for actual monitoring within each scanning cycle gradually decreases. Through these adjustments, scanning power consumption is gradually reduced when the vehicle is not in use for extended periods. Optionally... The communication controller operates according to the target scanning cycle and the target duty cycle.
[0060] Specifically, based on actual test results, a segmented scanning strategy is adopted to increase the number of days users can store their vehicles: Phase 1 (e.g., the first 2 days): The interval is within a short period of inactivity. The communication controller operates using the first scanning parameters, such as Strategy A shown in Table 1, which uses a 25ms cycle and 100% duty cycle for scanning. In this mode, the power consumption is 8.4mA, and the Bluetooth connection distance can reach 12.8 meters in extreme scenarios, which can meet the smart key's welcome and farewell functions and ensure a good unlocking experience for users after short periods of parking.
[0061]
[0062] Table 1 Phase 2 (e.g., days 3-10): During the mid-term unused interval, the communication controller operates with the second scanning parameters, such as strategy B shown in Table 1, which uses a 25ms cycle and a 30% duty cycle for scanning. In this mode, power consumption is reduced to 5.4mA, but the Bluetooth connection distance is shortened to 8.1 meters under extreme conditions. The smart key may experience issues with standing still during greetings and farewells, but it effectively reduces vehicle-side power consumption.
[0063] Phase 3 (e.g., more than 11 days): The interval is within the long-term inactivity range. The communication controller can also notify the user via cloud push notification that the vehicle has not been used for a long time and ask the user whether to turn on the power saving mode (the user can turn it on or off on the mobile phone, and the power saving mode must be turned off on the mobile phone before the next use of the vehicle): If the user chooses to turn on the power saving mode, the communication controller will operate with the fourth scanning parameter. For example, strategy D shown in Table 1 uses the off scanning function. At this time, the power consumption is the lowest (1.55mA), and the vehicle can be stored for more than 80 days. If the user does not turn on the power saving mode, the communication controller will operate with the third scanning parameter. For example, strategy C shown in Table 1 uses a 150ms period and a 30% duty cycle for scanning. The power consumption is 3.8mA. At this time, the probability of the smart key's welcome and farewell function being stuck is further increased, but the vehicle storage days can be further extended.
[0064] Furthermore, to avoid power consumption loss caused by users leaving the smart key in the car for extended periods, the communication controller will proactively disconnect the Bluetooth connection if it detects that the vehicle has been in sleep mode for more than 15 minutes and a Bluetooth connection already exists. The connection will be re-initiated by shaking the key during normal use. This combination of scanning and connection management strategies significantly extends the number of days the vehicle can be stored.
[0065] Furthermore, when all key data in the communication controller is cleared, the communication controller disables the scanning function. This key data includes the smart key's identity information. Specifically, when the key data stored in the communication controller (i.e., the Bluetooth controller) is cleared (e.g., the vehicle unbinds all paired smart keys), the communication controller no longer has a valid key to recognize. To conserve power on the vehicle side, the communication controller disables the scanning function. After disabling the scanning function, the power consumption of the vehicle's Bluetooth controller can be reduced to 1.55mA, and the vehicle's storage days can be extended to over 80 days, effectively avoiding power waste caused by continuous scanning when no paired key is available. This prevents the communication controller from continuously scanning and wasting power when no valid key can be recognized, significantly extending the vehicle's storage days. The relationship between the number of parking days corresponding to different scanning cycle schemes is shown in Table 2 below.
[0066]
[0067] Table 2 This embodiment of the method uses differentiated scanning cycles and duty cycles for different periods of inactivity, which ensures response sensitivity in recent usage scenarios and significantly reduces standby power consumption in long-term parking scenarios, so that the vehicle can still maintain sufficient power to start and operate normally after long-term parking.
[0068] As an optional embodiment, the smart key power consumption management method described above, after establishing a communication connection with the vehicle's communication controller, further includes: Obtain the current motion energy value of the motion sensor of the smart key, where the current motion energy value is used to indicate the intensity of motion of the motion sensor at the current moment.
[0069] Specifically, the smart key has a built-in motion sensor (such as an accelerometer or gyroscope) that can detect the physical motion state data of the smart key in real time. The motion sensor continuously collects the motion state data of the smart key and converts the collected motion state data into a motion energy value. This current motion energy value is used to quantify the intensity of the smart key's movement at the current moment: the larger the motion energy value, the greater the amplitude or intensity of the smart key's shaking; the smaller the motion energy value, the closer the smart key is to being stationary. For example, when the smart key is placed still on a table, the motion energy value is close to zero; when the smart key is held and moved by the user, the motion energy value increases; when the smart key is held and waved by the user, the motion energy value increases further.
[0070] By determining the target motion energy range in which the current motion energy value is located among all candidate motion energy ranges, and defining the usage state corresponding to the target motion energy range as the usage state corresponding to the current motion energy value, the usage state corresponds one-to-one with the operating state of the communication module.
[0071] Specifically, the smart key is pre-configured with multiple candidate motion energy ranges. Each candidate motion energy range corresponds to a usage state. For example, when candidate motion energy range I is close to zero, the corresponding usage state is that the smart key is stationary. When the smart key is held and moved by the user, the corresponding candidate motion energy range II is greater than candidate motion energy range I. When the smart key is held and waved by the user, the corresponding candidate motion energy range III is further greater than candidate motion energy range II. The smart key acquires the current motion energy value from the motion sensor in real time, determines which candidate motion energy range the current motion energy value falls into, and identifies that candidate motion energy range as the target motion energy range. In other words, the target motion energy range includes the current motion energy value. The usage state corresponding to the target motion energy range is then determined as the current usage state.
[0072] Optionally, such as Figure 2 As shown, the candidate motion energy ranges and their corresponding usage states include: Deep sleep state: When the motion energy value is less than the first threshold T0 (i.e., the motion energy value falls into the candidate motion energy range below T0), the smart key is determined to be in a deep sleep state (S0). In the deep sleep state, the motion energy is very weak, indicating that the smart key has been in a static state for a long time (e.g., the user places the key on the table after returning home). At this time, the smart key does not broadcast anything, the communication module is completely turned off, and the power consumption reaches the minimum level. Furthermore, the operating state of the communication module corresponding to the deep sleep state is: completely inactive.
[0073] Lightweight wake-up state: When the motion energy value is greater than or equal to the first threshold T0 and less than the second threshold T1 (i.e., the motion energy value falls within the candidate motion energy range between T0 and T1), the smart key is determined to be in a lightweight wake-up state (S1). In the lightweight wake-up state, the motion energy indicates that the smart key is slightly moving (e.g., the key is moving in a pocket or bag while the user is walking, but the user is not holding the key). At this time, the smart key broadcasts at a first broadcast period (e.g., 800ms) to maintain a basic connectable state with low power consumption. The operating state of the communication module corresponding to the lightweight wake-up state is: working, but the broadcast period is Tq.
[0074] Full wake-up state: When the motion energy value is greater than or equal to the second threshold T1 (i.e., the motion energy value falls within the candidate motion energy range higher than or equal to T1), the smart key is determined to be in the full wake-up state (S2). In the full wake-up state, the motion energy indicates that the smart key is shaking significantly (e.g., the user is holding the key and walking towards the vehicle, and the shaking arc reaches the standard for handheld use). At this time, the smart key broadcasts at a second broadcast period (e.g., 500ms). The second broadcast period is shorter than the first broadcast period, that is, the signal is sent at a higher broadcast frequency to ensure that the user can quickly establish a connection when approaching the vehicle, avoiding unlocking delays or standing still. The operating state of the communication module corresponding to the full wake-up state is: broadcasting according to the normal broadcast period Tz, and Tz < Tq. That is, in the operating state of the communication module corresponding to the light wake-up state, although the communication module is working, the broadcast period is longer.
[0075] Furthermore, once the usage status corresponding to the current exercise energy value is determined, the smart key executes the corresponding control strategy in the manner described above. In one implementation, the smart key also collects and records the user's daily usage habit data, dynamically optimizes candidate exercise energy ranges (including the values of T0 and T1 and the magnitude of the exercise arc), and forms a personalized behavior model to balance energy saving and convenience.
[0076] To prevent power consumption caused by prolonged communication between the key and communication controller due to users leaving the smart key in the vehicle or placing it too close to the vehicle, the communication controller checks if Bluetooth is still connected after the vehicle has been in sleep mode for 15 minutes. If the Bluetooth physical key is still connected, the communication controller actively disconnects the Bluetooth connection. When the user shakes the key during normal use, the smart key's energy level changes, causing it to jump to a higher wake-up state and reconnect, thus ensuring a good user experience while avoiding power consumption caused by prolonged connections.
[0077] As an optional embodiment, the smart key power consumption management method described above further includes: The smart key's motion sensor acquires data on the user's usage habits when using the smart key.
[0078] Specifically, the smart key can have a built-in user behavior learning module. This module uses motion sensors (such as accelerometers) to collect and record in real time the user's usage habits during daily use. The collected usage habit data includes, but is not limited to: the amplitude of the user's key activation (e.g., the arc of the swing when the user walks towards the vehicle with the key in hand), the user's key-holding posture (e.g., the orientation and angle of the key in the hand), the frequency of key activation (e.g., the number of times and the distribution of key use per day), and the time interval between each successful Bluetooth connection and vehicle unlocking. This usage habit data can be continuously accumulated from the start of user use, thus forming a personalized user behavior sample library.
[0079] Based on usage habit data, the actual exercise energy range corresponding to each user's usage state is determined.
[0080] Specifically, the user behavior learning module statistically analyzes the collected usage habit data to identify the actual range of motion energy values corresponding to each user's usage state. For example, in the scenario where a user walks towards a vehicle with the key in hand and unlocks it, the module statistically analyzes the actual motion energy values generated during multiple unlocking processes to determine the actual motion energy value range corresponding to the user's "handheld usage state." Similarly, for the "slight shaking state" (e.g., the key swaying in the user's pocket while walking), the module determines the actual motion energy value range corresponding to the user in this state through multiple samplings of daily carrying scenarios. In other words, for any usage state, the actual motion energy range indicates the range of motion energy detected by the motion sensor when the user is using the smart key in that usage state. Through the above statistical analysis, a "personal behavior model" reflecting the user's individual behavioral characteristics is formed. In one implementation, the user behavior learning module can continuously learn for N days (e.g., 7 days, 10 days, etc.) to form a stable personal behavior model corresponding to the user.
[0081] Based on the actual motion energy range corresponding to each usage state, the original motion energy range corresponding to each usage state is corrected to obtain the candidate motion energy range corresponding to each usage state.
[0082] Specifically, the original motion energy range corresponding to each usage state can be an initially set motion energy range corresponding to each usage state. Based on the statistically obtained actual motion energy range corresponding to each usage state, the preset threshold of the original motion energy range in the smart key is corrected to obtain candidate motion energy ranges corresponding to each usage state. This makes the state determination conditions more aligned with the user's actual usage habits. One optional implementation is to replace the original motion energy range corresponding to the usage state with the actual motion energy range. Optionally, the corrected candidate motion energy range can be used as the basis for subsequent determination of the user's current usage state. In one implementation, during the correction process, the time interval between the Bluetooth connection time and the user's unlocking time can also be used for verification. This time interval must be at least 10 seconds to ensure that the user does not stand still when approaching the vehicle. This serves as a constraint for adjusting the original motion energy range, optimizing power consumption and unlocking experience. By dynamically optimizing the original motion energy range and wake-up strategy, the smart key's state transition logic adapts to the actual usage habits of different users, providing a personalized user experience while balancing energy saving and convenience.
[0083] In addition, the smart key is equipped with a self-test mode. In self-test mode, the smart key checks itself for abnormal conditions such as module failure or low battery power. When the smart key establishes a connection with the vehicle, it sends the self-test results to the vehicle's communication controller (i.e., Bluetooth controller). The communication controller, based on different fault types, sends the corresponding fault information to the vehicle's infotainment system via CAN signal. The vehicle's infotainment system then prompts the user to replace the battery or take it to a service center for repair via a display interface or voice prompt.
[0084] The method in this embodiment collects and analyzes users' actual usage habits through a user behavior learning module, and adjusts the originally fixed motion judgment threshold to a personalized threshold that matches the user's personal behavior characteristics, making the key status jump judgment more accurate, reducing misjudgments or omissions caused by differences in user action habits, and improving the unlocking success rate.
[0085] As an optional embodiment, such as the aforementioned smart key power consumption management method, the usage state corresponds one-to-one with the operating state of the communication module, including: when the usage state is in deep sleep state, the corresponding operating state is stopped working state, wherein the communication module does not broadcast in the stopped working state; when the usage state is in light wake-up state, the corresponding operating state is light working state, wherein the communication module broadcasts according to the first cycle in the light working state; when the usage state is in full wake-up state, the corresponding operating state is normal working state, wherein the communication module broadcasts according to the second cycle, which is shorter than the first cycle. The correspondence between the candidate motion energy range, usage state, and working state (1, 2, 3) is shown in Table 3 below:
[0086] Table 3 like Figure 3 As shown, according to another aspect of this application, a smart key power consumption management method is also provided, applied to a vehicle, comprising the following steps: In step S302, when the vehicle is in transport mode, the communication controller controlling the vehicle only broadcasts and stops scanning the smart key, wherein the smart key is paired with the vehicle. Step S304: When the smart key's communication module broadcasts a connection signal, a communication connection is established between the communication controller and the communication module. The connection signal is a signal broadcast by the communication module when the smart key is activated by a preset operation. The preset operation is a pre-defined operation that needs to be performed on the smart key to activate the communication module.
[0087] Specifically, the relevant implementation scheme of this embodiment can be referred to the aforementioned description of the smart key power consumption management method applied to smart keys, which will not be repeated here.
[0088] As an optional embodiment, the smart key power consumption management method described above further includes: The diagnostic commands sent by the key-connection device are obtained through the communication controller. The key-connection device is used to trigger the matching of the smart key and the communication controller. The control communication controller responds to diagnostic commands and, if it determines that the preset connection conditions are met, sends a positive response to the key-connected device. When the communication controller responds to the pairing command sent by the key connection device and scans for the pairing signal, the pairing between the communication controller and the communication module is completed, and the identity information of the smart key is recorded. The pairing signal is the signal broadcast by the communication module in response to the connection prompt information according to the first cycle, and the connection prompt information is the signal generated by the key connection device in response to the affirmative response.
[0089] Specifically, the relevant implementation scheme of this embodiment can be referred to the aforementioned description of the smart key power consumption management method applied to smart keys, which will not be repeated here.
[0090] As an optional embodiment, the aforementioned smart key power consumption management method, upon receiving a broadcast connection signal from the smart key's communication module, establishes a communication connection between the communication controller and the communication module, including: The vehicle's in-vehicle controller responds to the connection signal to determine the vehicle's real-name authentication status in real time, and sends the real-name authentication status to the communication controller in a second cycle. The connection signal is a signal broadcast by the smart key when it acquires and performs a preset operation. The connection signal includes the smart key's identity information. When the communication controller determines that the vehicle has completed real-name authentication, it clears the vehicle's transportation mode identifier and sends a first motion sensor setting signal to the smart key, so that the smart key responds to the first motion sensor setting signal and activates the smart key's motion sensor. When the smart key is acquired, the motion sensor is activated, and the smart key is indicated to be used based on the usage status detected by the motion sensor, the communication module is activated, and the target signal is broadcast through the communication module, a communication connection is established between the communication controller and the communication module.
[0091] Specifically, the relevant implementation scheme of this embodiment can be referred to the aforementioned description of the smart key power consumption management method applied to smart keys, which will not be repeated here.
[0092] As an optional embodiment, the smart key power consumption management method described above further includes: When the communication controller determines that the vehicle has not completed real-name authentication and the vehicle's mileage has not reached the preset mileage, it sends a second motion sensor setting signal to the smart key so that the smart key responds to the second motion sensor setting signal and turns off the motion sensor. When the communication controller determines that the vehicle has not completed real-name authentication, but the vehicle's mileage has reached the preset mileage, it sends the first motion sensor setting signal to the smart key.
[0093] Specifically, the relevant implementation scheme of this embodiment can be referred to the aforementioned description of the smart key power consumption management method applied to smart keys, which will not be repeated here.
[0094] As an optional embodiment, the smart key power consumption management method described above further includes: If all key data in the communication controller is cleared, the communication controller disables the scanning function. The key data includes the identity information of the smart key.
[0095] Specifically, the relevant implementation scheme of this embodiment can be referred to the aforementioned description of the smart key power consumption management method applied to smart keys, which will not be repeated here.
[0096] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0097] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM (Read-Only Memory) / RAM (Random Access Memory), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0098] According to another aspect of the embodiments of this application, a smart key for implementing the above-described smart key power consumption management method applied to a smart key is also provided. Figure 4 This is a structural block diagram of an optional smart key according to an embodiment of this application, such as... Figure 5 As shown, the smart key may include: The sleep module 41 is used to keep the smart key in a sleep state when the vehicle is in transport mode, wherein the smart key is paired with the vehicle. Disable module 42, used to prevent the smart key's communication module from being activated when in sleep mode; The communication module 43 is used to activate the communication module when the smart key is acquired and a preset operation is performed, and to broadcast a connection signal through the communication module to establish a communication connection between the communication module and the vehicle's communication controller. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0099] It should be noted that the hibernation module 41 in this embodiment can be used to perform the above step S102, the disable module 42 in this embodiment can be used to perform the above step S104, and the communication module 43 in this embodiment can be used to perform the above step S106.
[0100] In this embodiment, the smart key, in addition to the modules described above, may also include a module that executes any method in any of the embodiments of the smart key power consumption management method applied to the smart key.
[0101] According to another aspect of the embodiments of this application, a vehicle for implementing the above-described smart key power consumption management method applied to a vehicle is also provided. Figure 5 This is a structural block diagram of an optional vehicle according to an embodiment of this application, such as... Figure 5 As shown, the device may include: The control module 51 is used to control the vehicle's communication controller to only broadcast and stop scanning the smart key when the vehicle is in transport mode, wherein the smart key is paired with the vehicle. The communication module 52 is used to establish a communication connection between the communication controller and the communication module when the communication module broadcasts a connection signal to the smart key. The connection signal is a signal broadcast by the communication module when the smart key is activated by a preset operation. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0102] It should be noted that the control module 51 in this embodiment can be used to execute the above step S302, and the communication module 52 in this embodiment can be used to execute the above step S304.
[0103] In addition to the modules described above, the apparatus in this embodiment may also include a module that performs any method as described in any of the embodiments of the smart key power consumption management method applied to vehicles.
[0104] like Figure 6 As shown, according to another aspect of this application, a system is also provided, such as the smart key of the foregoing embodiments, and a vehicle as described in the foregoing embodiments. Optionally, as illustrated, a smart key power consumption management system includes a mobile phone, cloud service, smart key, and vehicle; wherein, the smart key is equipped with a microcontroller (MCU) module, a motion sensor module, a wireless communication module, and a battery module; the vehicle is equipped with a vehicle controller, a body controller, a Bluetooth controller, and an unlocking / locking actuator. The microcontroller module is used to physically implement the smart key power consumption management method applied to the smart key, the motion sensor monitors the movement of the physical key, and the Bluetooth communication module realizes data exchange with the vehicle's Bluetooth.
[0105] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules, as part of the device, can operate in ways such as... Figure 1 The method shown can be implemented in either software or hardware within a hardware environment, where the hardware environment includes a network environment.
[0106] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described smart key power consumption management method applied to vehicles and smart keys is also provided. The electronic device may be a server, a terminal, or a combination thereof.
[0107] According to another embodiment of this application, an electronic device is also provided, comprising: Figure 7 As shown, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504, wherein the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.
[0108] Memory 1503 is used to store computer programs; When processor 1501 executes the program stored in memory 1503, it performs the following steps: Step S102: When the vehicle is in transport mode, the smart key is kept in sleep mode, wherein the smart key is paired with the vehicle.
[0109] Step S104: In the sleep state, disable the activation of the smart key's communication module.
[0110] Step S106: When the smart key is acquired and a preset operation is performed, the communication module is activated, and a connection signal is broadcast through the communication module to establish a communication connection between the communication module and the vehicle's communication controller. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
[0111] In step S302, when the vehicle is in transport mode, the communication controller controlling the vehicle only broadcasts and stops scanning the smart key, wherein the smart key is paired with the vehicle. Step S304: When the smart key's communication module broadcasts a connection signal, a communication connection is established between the communication controller and the communication module. The connection signal is a signal broadcast by the communication module when the smart key is activated by a preset operation. The preset operation is a pre-defined operation that needs to be performed on the smart key to activate the communication module.
[0112] Optionally, in this embodiment, the communication bus can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used to represent it in the figure, but this does not mean that there is only one bus or one type of bus. The communication interface is used for communication between the aforementioned electronic device and other devices.
[0113] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0114] The processor mentioned above can be a general-purpose processor, including but not limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0115] This application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the method steps of the above method embodiments when it runs.
[0116] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, ROMs, RAMs, portable hard drives, magnetic disks, or optical disks.
[0117] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0118] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0119] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0120] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.
[0121] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the solution provided in this embodiment, depending on actual needs.
[0122] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0123] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A smart key power consumption management method, characterized in that, Applications to smart keys include: When the vehicle is in transit, the smart key is kept in a dormant state, wherein the smart key is paired with the vehicle. When in sleep mode, the communication module of the smart key is disabled from being activated; When the smart key is subjected to a preset operation, the communication module is activated, and a connection signal is broadcast through the communication module to establish a communication connection between the communication module and the vehicle's communication controller. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
2. The smart key power consumption management method according to claim 1, characterized in that, Prior to maintaining the smart key in a dormant state when the vehicle is in transit, the method further includes: In response to the connection prompt information, a pairing signal is broadcast according to the first cycle. The method for generating the connection prompt information includes: the key connection device sending a diagnostic command to the communication controller; the communication controller responding to the diagnostic command and, if it determines that preset connection conditions are met, sending a positive response back to the key connection device; the key connection device responding to the positive response and generating the connection prompt information; the key connection device is a device used to trigger the smart key to match the vehicle. When the communication controller responds to the pairing command sent by the key connection device and scans the pairing signal, it completes the pairing between the communication module and the communication controller, and completes the matching between the smart key and the vehicle.
3. The smart key power consumption management method according to claim 1, characterized in that, When the smart key is acquired and a preset operation is performed, the communication module is activated, and a connection signal is broadcast through the communication module to establish a communication connection between the communication module and the vehicle's communication controller, including: When the smart key is subjected to a preset operation, the connection signal is broadcast, wherein the connection signal includes the identity information of the smart key; In response to the acquired first motion sensor setting signal, the motion sensor is activated, wherein the first motion sensor setting signal is generated in the following manner: the vehicle's in-vehicle controller determines the real-name authentication status of the vehicle in real time in response to the connection signal, and sends the real-name authentication status to the communication controller in a second cycle; when the communication controller determines that the real-name authentication status indicates that the vehicle has completed real-name authentication, it sends the first motion sensor setting signal to the smart key; When the motion sensor is activated, and when the smart key is indicated to be used based on the usage status detected by the motion sensor, the communication module is activated, and a target signal is broadcast through the communication module to establish a communication connection between the communication module and the communication controller.
4. The smart key power consumption management method according to claim 3, characterized in that, The method further includes: When the communication controller receives a second motion sensor setting signal sent when it determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication and the vehicle's mileage has not reached the preset mileage, the motion sensor is turned off in response to the second motion sensor setting signal. The communication controller obtains the first motion sensor setting signal sent when it determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication, but the vehicle's mileage has reached a preset mileage.
5. The smart key power consumption management method according to claim 1, characterized in that, The method further includes: Determine the time elapsed since the last use of the vehicle; The target scanning cycle and target duty cycle for key scanning are determined according to the interval duration, wherein the target scanning cycle is proportional to the interval duration and the target duty cycle is inversely proportional to the interval duration; The communication controller is controlled to operate according to the target scanning cycle and the target duty cycle.
6. The smart key power consumption management method according to claim 1, characterized in that, After establishing a communication connection with the vehicle's communication controller, the method further includes: The current motion energy value of the motion sensor of the smart key is obtained, wherein the current motion energy value is used to indicate the intensity of the motion of the motion sensor at the current moment; By determining the target motion energy range in which the current motion energy value is located among all candidate motion energy ranges, and defining the usage state corresponding to the target motion energy range as the usage state corresponding to the current motion energy value, wherein the usage state corresponds one-to-one with the operating state of the communication module.
7. The smart key power consumption management method according to claim 6, characterized in that, The method further includes: The user's usage habits data for the smart key are obtained through the smart key's motion sensor; Based on the aforementioned usage habit data, the actual exercise energy range corresponding to each user in each usage state is determined; According to the actual motion energy range corresponding to each usage state, the original motion energy range corresponding to each usage state is corrected to obtain the candidate motion energy range corresponding to each usage state.
8. The smart key power consumption management method according to claim 6, characterized in that, The usage status corresponds one-to-one with the operating status of the communication module, including: When the usage state is deep sleep state, the corresponding operating state is stop working state, wherein the communication module does not broadcast in the stop working state; When the usage state is a light wake-up state, the corresponding operating state is a light working state, wherein in the light working state, the communication module broadcasts according to a first cycle; When the usage state is full wake-up state, the corresponding running state is normal working state. In the normal working state, the communication module broadcasts according to a second cycle, which is shorter than the first cycle.
9. A smart key power consumption management method, characterized in that, Applied to vehicles, including: When the vehicle is in transport mode, the communication controller controlling the vehicle only broadcasts and stops scanning the smart key, wherein the smart key is paired with the vehicle. Upon receiving a communication module broadcast connection signal from the smart key, a communication connection is established between the communication controller and the communication module. The connection signal is a signal broadcast by the communication module when the smart key activates the communication module under the condition of performing a preset operation. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
10. The smart key power consumption management method according to claim 8, characterized in that, The method further includes: The communication controller acquires diagnostic commands sent by the key connection device, wherein the key connection device is a device used to trigger the smart key to match with the communication controller; The communication controller is controlled to respond to the diagnostic command, and if it is determined that the preset connection conditions are met, it sends a positive response to the key connection device. When the communication controller responds to the pairing command sent by the key connection device and scans for a pairing signal, it completes the pairing between the communication controller and the communication module and records the identity information of the smart key. The pairing signal is a signal broadcast by the communication module in response to the connection prompt information according to a first cycle, and the connection prompt information is a signal generated by the key connection device in response to the affirmative response.
11. The smart key power consumption management method according to claim 8, characterized in that, The step of establishing a communication connection between the communication controller and the communication module when the communication module broadcasts a connection signal from the smart key includes: The vehicle's in-vehicle controller responds to the connection signal to determine the vehicle's real-name authentication status in real time, and sends the real-name authentication status to the communication controller in a second cycle. The connection signal is a signal broadcast by the smart key when it acquires and performs a preset operation. The connection signal includes the smart key's identity information. When the communication controller determines that the real-name authentication status indicates that the vehicle has completed real-name authentication, it sends a first motion sensor setting signal to the smart key, so that the smart key responds to the first motion sensor setting signal and activates the motion sensor of the smart key. When the smart key is obtained, the motion sensor is activated, and the smart key is indicated to be used based on the usage status detected by the motion sensor, the communication module is activated, and a target signal is broadcast through the communication module, a communication connection is established between the communication controller and the communication module.
12. The smart key power consumption management method according to claim 10, characterized in that, The method further includes: When the communication controller determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication and the vehicle's mileage has not reached the preset mileage, it sends a second motion sensor setting signal to the smart key so that the smart key responds to the second motion sensor setting signal and turns off the motion sensor. When the communication controller determines that the real-name authentication status indicates that the vehicle has not completed real-name authentication, but the vehicle's mileage has reached a preset mileage, it sends the first motion sensor setting signal to the smart key.
13. The smart key power consumption management method according to claim 8, characterized in that, The method further includes: If all key data in the communication controller is cleared, the communication controller disables the scanning function, wherein the key data includes the identity information of the smart key.
14. A smart key, characterized in that, include: A sleep module is used to keep the smart key in a sleep state when the vehicle is in transit, wherein the smart key is paired with the vehicle. A disabled module is used to prevent the communication module of the smart key from being activated when the key is in a dormant state. A communication module is used to activate the communication module when the smart key performs a preset operation, and to broadcast a connection signal through the communication module to establish a communication connection between the communication module and the communication controller of the vehicle. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.
15. A vehicle, characterized in that, include: The control module is used to control the vehicle's communication controller to only broadcast and stop scanning the smart key when the vehicle is in transport mode, wherein the smart key is paired with the vehicle. A communication module is used to establish a communication connection between the communication controller and the communication module when a connection signal is broadcast by the communication module of the smart key. The connection signal is a signal broadcast by the communication module when the smart key activates the communication module under the condition of performing a preset operation. The preset operation is a pre-set operation that needs to be performed on the smart key to activate the communication module.