Power saving method based on ultra wide band, vehicle and storage medium
By integrating ultra-wideband modules and Bluetooth modules in the vehicle, and using Bluetooth signals and seat pressure to manage the power saving mode of the module, the problem of inaccurate battery consumption management in the prior art is solved, and more efficient battery use is achieved.
Patent Information
- Application Number
- CN202311811648.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-06-27
Smart Images

Figure CN120207266A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to power-saving technologies, and in particular, to a power-saving method, a vehicle, and a storage medium based on ultra-wideband. Background Art
[0002] Passive Entry and Passive Start (PEPS) realizes the functions of vehicle passive entry and start by adopting wireless communication technologies. Compared with traditional mechanical key or remote control key solutions, the PEPS system uses a smart key (a smartphone, smartwatch, smart bracelet, etc. integrated with functions such as Radio Frequency Identification (RFID) / Near Field Communication (NFC) / Bluetooth Low Energy (BLE) / Ultra Wide Band (UWB)) to achieve the functions of automatically unlocking the vehicle door and starting the vehicle, thereby realizing more intelligent access control management, higher anti-theft performance, and a more seamless user experience, and has become a typical representative of the intelligent upgrade of the vehicle body domain.
[0003] With the rapid development of vehicle digital keys, the era of digital keys is approaching us. Whether it is a mobile phone or an automotive remote control lockset, portable information terminals are powered by batteries. In the prior art, power is saved by reducing the ranging frequency, which is not accurate. Summary of the Invention
[0004] In view of the above, it is necessary to provide a power-saving method, a vehicle, and a storage medium based on ultra-wideband, which can solve the above-mentioned defects existing in the prior art.
[0005] An embodiment of the present invention provides a power-saving method based on ultra-wideband, which is applied to a vehicle. The vehicle includes a first ultra-wideband module and a Bluetooth module. The method includes: when detecting a Bluetooth connection between a portable information terminal and the vehicle, obtaining the Bluetooth received signal strength between the portable information terminal and the vehicle, where the portable information terminal has an electronic key function; when the Bluetooth received signal strength is not less than a first Bluetooth received signal strength threshold, notifying the first ultra-wideband module and a second ultra-wideband module of the portable information terminal to perform ranging and measuring the distance between the portable information terminal and the vehicle; when the distance is less than a first threshold, unlocking the vehicle; when the distance is less than a second threshold and it is determined that the portable information terminal enters the vehicle from outside the vehicle according to the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process, notifying the first ultra-wideband module and the second ultra-wideband module to terminate the ranging; when the Bluetooth received signal strength is not less than a second Bluetooth received signal strength threshold, notifying the first ultra-wideband module and the second ultra-wideband module to restart the ranging; when it is determined that the portable information terminal exits the vehicle from inside the vehicle according to the Bluetooth received signal strength and the first path power, detecting the Bluetooth received signal strength; and when the Bluetooth received signal strength is less than the first Bluetooth received signal strength threshold, notifying the first ultra-wideband module and the second ultra-wideband module to terminate the ranging and locking the vehicle.
[0006] Optionally, when it is determined that the portable information terminal enters the vehicle from outside the vehicle, the method further includes: detecting the pressure of each seat in the vehicle, and determining the number of people in the vehicle according to the pressure; setting the second Bluetooth received signal strength threshold according to the number of people.
[0007] Optionally, the setting of the second Bluetooth received signal strength threshold according to the number of people includes: when the number of people is 1, setting the second Bluetooth received signal strength threshold as a first signal strength threshold; and when the number of people is greater than 1, setting the second Bluetooth received signal strength threshold as a second signal strength threshold.
[0008] Optionally, the determination that the portable information terminal enters the vehicle from outside the vehicle according to the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process includes: when the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y > a1X + b1, determining that the portable information terminal enters the vehicle from outside the vehicle, where X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a1, b1 are real numbers.
[0009] Optionally, determining that the portable information terminal exits the vehicle and enters the vehicle based on the Bluetooth received signal strength and the first path power includes: when the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y < a2X + b2, determining that the portable information terminal enters the vehicle from outside the vehicle, where X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a2 and b2 are real numbers.
[0010] An embodiment of the present invention further provides a vehicle, which includes a memory, a processor, and an ultra-wideband-based power-saving program stored on the memory and executable on the processor. The vehicle further includes a first ultra-wideband module and a Bluetooth module. When the ultra-wideband-based power-saving program is executed by the processor, the steps of the ultra-wideband-based power-saving method described above are implemented.
[0011] An embodiment of the present invention further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the ultra-wideband-based power-saving method described above are implemented.
[0012] Compared with the prior art, for the ultra-wideband-based power-saving method, vehicle, and storage medium, the vehicle determines whether the first ultra-wideband module and the second ultra-wideband module enter the power-saving mode or leave the power-saving mode based on the Bluetooth signal reception strength between the vehicle and the portable terminal and the pressure on the vehicle seat. Compared with the prior art, the power-saving scenario is more accurate. Description of the Drawings
[0013] Figure 1 It is a program module diagram of the vehicle according to a preferred embodiment of the present invention.
[0014] Figure 2 It is a flowchart of the ultra-wideband-based power-saving method according to a preferred embodiment of the present invention.
[0015] Figure 3 It is a corresponding relationship diagram of the Bluetooth received signal strength and the first path power at each sampling point during the process of the portable information terminal 2 entering the vehicle from outside the vehicle, staying inside the vehicle, and then exiting the vehicle from inside the vehicle according to a preferred embodiment of the present invention.
[0016] Main Element Symbol Description
[0017] Vehicle 1
[0018] Portable Information Terminal 2
[0019] Memory 20
[0020] Processor 30
[0021] Acquisition Module 101
[0022] Range measurement module 102
[0023] First ultra-wideband module 103
[0024] Bluetooth module 104
[0025] Steps S200 - S212
[0026] The following specific implementation manners will further illustrate the present invention in conjunction with the above-mentioned drawings. Specific implementation manners
[0027] Refer to Figure 1 As shown, it is a program module diagram of a preferred embodiment of the vehicle 1 of the present invention. The vehicle 1 includes an acquisition module 101, a range measurement module 102, a first ultra-wideband module 103, and a Bluetooth module 104. The vehicle 1 further includes a memory 20 and a processor 30. The judgment module 101 and the positioning module 102 of the present invention are computer program segments for completing a specific instruction. The memory 20 is used to store data such as program codes of the electronic device 10. The processor 30 is used to execute the program codes stored in the memory 20. The vehicle 1 further includes a first ultra-wideband module 103 and a Bluetooth module 104.
[0028] Wherein, the memory 20 includes at least one type of storage medium, and the storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. The processor 30 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips, etc.
[0029] When it is detected that the portable information terminal 2 is connected to the Bluetooth module 104 of the vehicle 1, the acquisition module 101 acquires the Bluetooth received signal strength between the portable information terminal 2 and the vehicle 1.
[0030] Specifically, the portable information terminal 2 has an electronic key function and can be a smartphone, a car remote control lock set, or other terminal devices with an electronic key function. For example, smart watches, smart bracelets, etc. that integrate functions such as Bluetooth Low Energy (BLE) and Ultra Wide Band (UWB). The car remote control lock set is a secure small terminal with a small hard disk device with a built-in verification mechanism. Just as the keys on a keychain in the real world control access to the owner's house or car, the mechanism in the car remote control lock set also controls access to network services and information.
[0031] When the Bluetooth received signal strength is not less than the first Bluetooth received signal strength threshold, the ranging module 102 notifies the first ultra-wideband module 103 and the second ultra-wideband module (not shown in the figure) of the portable information terminal 2 to perform ranging and measure the distance between the portable information terminal 2 and the vehicle 1.
[0032] Ultra-wideband technology is a wireless carrier communication technology. It does not use a sine carrier but uses nanosecond-level non-sine wave narrow pulses to transmit data, so the occupied spectrum range is very wide. Ultra-wideband technology has low system complexity, low transmitted signal power spectral density, is not sensitive to channel fading, has low interceptability, and ultra-wideband can achieve a data transmission rate of several hundred Mbit / s to several Gbit / s within a range of about 10 meters. In this embodiment, both the first ultra-wideband module 103 and the second ultra-wideband module are ultra-wideband modules. The first and second are only used to distinguish the ultra-wideband modules of the vehicle 1 and the portable information terminal 2 and do not distinguish functions. Both the first ultra-wideband module 103 and the second ultra-wideband module include a transmitter and a receiver, and the distance between the portable information terminal 2 and the vehicle 1 is measured through the information exchange between the first ultra-wideband module 103 and the second ultra-wideband module. The first Bluetooth received signal strength threshold is set according to vehicle information, and each vehicle is different, so the set first Bluetooth received signal strength threshold is also different. For example, when the Bluetooth received signal strength is greater than -85 dB, the first ultra-wideband module 103 and the second ultra-wideband module are notified to leave the power-saving mode and start ranging.
[0033] When the distance is less than the first threshold, the ranging module 102 notifies the vehicle 1 to unlock.
[0034] Suppose that when the Bluetooth received signal strength is greater than -85 dB, the first ultra-wideband module 103 and the second ultra-wideband module of the portable information terminal 2 leave the power-saving mode. The distance between the portable information terminal 2 and the vehicle 1 is 5 meters. The first ultra-wideband module 103 and the second ultra-wideband module continuously measure the distance between the portable information terminal 2 and the vehicle 1. When the distance is less than the first threshold (for example, 3 m, specifically, set according to actual needs), the vehicle 1 is unlocked. Of course, vehicle unlocking also requires security authentication between the vehicle and the portable information terminal. Security authentication is a common technology, and this embodiment does not elaborate on it in detail.
[0035] When the distance is less than the second threshold and it is determined that the portable information terminal 2 is entering the vehicle from outside the vehicle based on the Bluetooth received signal strength and the first path power of the first ultra-wideband module 103 during the ranging process, the ranging module 102 notifies the first ultra-wideband module 103 and the second ultra-wideband module to terminate the ranging.
[0036] The second threshold is set according to the vehicle, for example, 50 cm. For example, when the distance is less than 50 cm, it is determined that the portable information terminal 2 may enter the vehicle. At this time, further, it is determined whether the portable information terminal 2 enters the vehicle from outside the vehicle based on the Bluetooth received signal strength (BLE RSSI) and the first path power (First Path Power, FPP) of the first ultra-wideband module 103 during the ranging process. In this embodiment, the second threshold is less than the first threshold.
[0037] Specifically, when the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y > a1X + b1, it is determined that the portable information terminal is entering the vehicle from outside the vehicle, where X is the first path power of the first ultra-wideband module 103 during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module 104, and a1 and b1 are real numbers. For example, Figure 3 are the sampling points of the corresponding relationship between the Bluetooth received signal strength Y and the first path power X when the collected portable information terminal 2 enters the vehicle from outside the vehicle, stays inside the vehicle, and then exits the vehicle from inside the vehicle. The sampling points above the K1 line represent that the portable information terminal 2 enters the vehicle from outside the vehicle. The equation of the K1 line is Y = 0.6X - 92. Therefore, when Y > 0.6X - 92, it is determined that the portable information terminal is entering the vehicle from outside the vehicle. Figure 3 only illustrates an embodiment of a specific vehicle model and does not limit a1 and b1 in this case. The equation of the K1 line will vary according to the actual situation for different vehicle models. Therefore, the values of a1 and b1 will change according to the actual vehicle model.
[0038] When the Bluetooth received signal strength is not less than the second Bluetooth received signal strength threshold, the ranging module 102 notifies the first ultra-wideband module 103 and the second ultra-wideband module to restart ranging. In this embodiment, the first Bluetooth received signal strength threshold is less than the second Bluetooth received signal strength threshold.
[0039] Specifically, when it is determined that the portable information terminal 2 is inside the vehicle, the first ultra-wideband module 103 and the second ultra-wideband module terminate ranging. At this time, the ranging module 102 determines when to restart ranging according to the Bluetooth received signal strength. When inside the vehicle, the ranging module 102 detects the pressure of each seat in the vehicle 1, determines the number of people in the vehicle according to the pressure; sets the second Bluetooth received signal strength threshold according to the number of people. Wherein, when the number of people is 1, the ranging module 102 sets the second Bluetooth received signal strength threshold as the first signal strength threshold; and when the number of people is greater than 1, sets the second Bluetooth received signal strength threshold as the second signal strength threshold. In this embodiment, the first signal strength threshold is greater than the second signal strength threshold.
[0040] For example, when there is pressure on only one seat, it is determined that there is only 1 person in the vehicle, and the Bluetooth received signal strength threshold is set to -60 db. When the Bluetooth received signal strength between the portable information terminal 2 and the vehicle 1 is greater than -60 db, the ranging module 102 determines that the portable information terminal 2 has the intention to leave the vehicle, and starts to notify the first ultra-wideband module 103 and the second ultra-wideband module of the portable information terminal 2 to leave the power-saving mode and start ranging.
[0041] When there is pressure on more than one seat, it is determined that there are more than 1 person in the vehicle, and the Bluetooth received signal strength threshold is set to -70 db. When the Bluetooth received signal strength between the portable information terminal 2 and the vehicle 1 is greater than -70 db, it is determined that the portable information terminal 2 has the intention to leave the vehicle, and the ranging module 102 starts to notify the first ultra-wideband module 103 and the second ultra-wideband module of the portable information terminal 2 to leave the power-saving mode and start ranging.
[0042] In this embodiment, considering the occlusion of the portable information terminal 2 by the people in the vehicle, the second Bluetooth received signal strength threshold is set according to the number of people, so that the judgment result is more accurate.
[0043] When it is determined that the portable information terminal 2 is getting out of the vehicle from inside the vehicle according to the Bluetooth received signal strength and the first path power, the Bluetooth module 104 detects the Bluetooth received signal strength.
[0044] After the first ultra-wideband module and the second ultra-wideband module restart ranging, when the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y < a2X + b2, the ranging module 102 determines that the portable information terminal 2 exits the vehicle and enters the outside of the vehicle. Here, X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a2 and b2 are real numbers. For example, Figure 3 The sampling points of the corresponding relationship between the Bluetooth received signal strength Y and the first path power X are collected when the portable information terminal 2 enters the vehicle from the outside of the vehicle, is inside the vehicle, and then exits the vehicle from the inside of the vehicle. The sampling points below the K2 line represent that the portable information terminal 2 exits the vehicle and enters the outside of the vehicle. The equation of the K2 line is Y = 0.6X - 97. Therefore, when Y < 0.6X - 97, it is determined that the portable information terminal exits the vehicle and enters the outside of the vehicle. Figure 3 Here, only an embodiment of a specific vehicle model is described, and a2 and b2 in this case are not limited. According to different vehicle models, the equation of the K2 line will vary according to the actual situation. Therefore, the values of a2 and b2 will change according to the actual vehicle model.
[0045] When the Bluetooth received signal strength is less than the first Bluetooth received signal strength threshold, the ranging module 102 notifies the first ultra-wideband module 103 and the second ultra-wideband module to terminate ranging, and the vehicle 1 locks.
[0046] Specifically, the first ultra-wideband module 103 and the second ultra-wideband module leave the power-saving mode and restart ranging. During the continuous ranging process, the Bluetooth received signal strength is obtained through the Bluetooth module 104. When the Bluetooth received signal strength is less than the first Bluetooth received signal strength threshold (for example, 85 db), it notifies the first ultra-wideband module 103 and the second ultra-wideband module to enter the power-saving mode, terminate ranging, and at the same time, the vehicle 1 locks. The first Bluetooth received signal strength threshold is the same as that in the previous text.
[0047] In this embodiment, the vehicle 1 determines whether the first ultra-wideband module 103 and the second ultra-wideband module enter the power-saving mode or leave the power-saving mode based on the Bluetooth signal received strength between the vehicle 1 and the portable terminal 2 and the pressure of the vehicle seat. Compared with the prior art, the power-saving scenario is more accurate.
[0048] Refer to Figure 2 As shown, it is a flowchart of the power-saving method based on ultra-wideband in a preferred embodiment of the present invention. The power-saving method based on ultra-wideband is applied to the vehicle 1. The vehicle 1 includes a first ultra-wideband (UWB) module and a Bluetooth module, and can be implemented by executing the modules 101 to 105 shown by the processor 30 Figure 1 shown.
[0049] Step S200: When it is detected that the portable information terminal 2 is Bluetooth-connected to the vehicle 1, obtain the Bluetooth received signal strength between the portable information terminal 2 and the vehicle 1.
[0050] Specifically, the portable information terminal 2 has an electronic key function and can be a smart phone, a car remote control lock set, or other terminal devices with an electronic key function. For example, it can be a smart watch, a smart bracelet, etc. integrated with functions such as Bluetooth Low Energy (BLE) and Ultra Wide Band (UWB). The car remote control lock set is a secure small terminal with a small hard disk device with a built-in verification mechanism. Just as the keys on a keychain in the real world control access to the owner's house or car, the mechanism in the car remote control lock set also controls access to network services and information.
[0051] Step S202: When the Bluetooth received signal strength is not less than the first Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module of the portable information terminal 2 through the Bluetooth module to perform ranging and measure the distance between the portable information terminal 2 and the vehicle 1.
[0052] Ultra-wideband technology is a wireless carrier communication technology. It does not use a sine carrier but uses non-sine wave narrow pulses in the nanosecond range to transmit data, so the spectrum range it occupies is very wide. Ultra-wideband technology has low system complexity, low transmit signal power spectral density, is not sensitive to channel fading, has low interceptability, and can achieve a data transmission rate of several hundred Mbit / s to several Gbit / s within a range of about 10 meters. In this embodiment, both the first ultra-wideband module and the second ultra-wideband module are ultra-wideband modules. The first and second are only used to distinguish the ultra-wideband modules of the vehicle 1 and the portable information terminal 2 and do not distinguish functions. Both the first ultra-wideband module and the second ultra-wideband module include a transmitter and a receiver, and the distance between the portable information terminal 2 and the vehicle 1 is measured through the information exchange between the first ultra-wideband module and the second ultra-wideband module. The first Bluetooth received signal strength threshold is set according to vehicle information, and each vehicle is different, so the set first Bluetooth received signal strength threshold is also different. For example, when the Bluetooth received signal strength is greater than -85 dB, notify the first ultra-wideband module and the second ultra-wideband module to leave the power-saving mode and start ranging.
[0053] Step S204: When the distance is less than the first threshold, unlock the vehicle.
[0054] For example, when the Bluetooth received signal strength is greater than -85 dB, the first ultra-wideband module and the second ultra-wideband module of the portable information terminal 2 exit the power-saving mode. The distance between the portable information terminal 2 and the vehicle 1 is 5 meters. The first ultra-wideband module and the second ultra-wideband module continuously measure the distance between the portable information terminal 2 and the vehicle 1. When the distance is less than a first threshold (for example, 3 m, specifically, set according to actual needs), the vehicle unlocks. Of course, vehicle unlocking also requires security authentication between the vehicle and the portable information terminal. Security authentication is a common technology, and this embodiment does not elaborate on it in detail.
[0055] Step S206: When the distance is less than a second threshold and it is determined that the portable information terminal is entering the vehicle from outside the vehicle based on the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process, notify the first ultra-wideband module and the second ultra-wideband module to terminate the ranging.
[0056] The second threshold is set according to the vehicle, for example, 50 cm. For example, when the distance is less than 50 cm, it is determined that the portable information terminal may enter the vehicle. At this time, further, it is determined whether the portable information terminal enters the vehicle from outside the vehicle based on the Bluetooth received signal strength (BLE RSSI) and the first path power (First Path Power, FPP) of the first ultra-wideband module during the ranging process. In this embodiment, the second threshold is less than the first threshold.
[0057] Specifically, when the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y > a1X + b1, it is determined that the portable information terminal is entering the vehicle from outside the vehicle, where X is the first path power of the first ultra-wideband module 103 during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module 104, and a1 and b1 are real numbers. For example, Figure 3 are the sampling points of the corresponding relationship between the Bluetooth received signal strength Y and the first path power X when the portable information terminal 2 collected enters the vehicle from outside the vehicle, exits the vehicle from inside the vehicle, and then enters the vehicle again. The sampling points above the K1 line represent that the portable information terminal 2 enters the vehicle from outside the vehicle. The equation of the K1 line is Y = 0.6X - 92. Therefore, when Y > 0.6X - 92, it is determined that the portable information terminal is entering the vehicle from outside the vehicle. Figure 3 only illustrates an embodiment of a specific vehicle model and does not limit a1 and b1 in this case. According to different vehicle models, the equation of the K1 line will vary according to the actual situation. Therefore, the values of a1 and b1 will change according to the actual vehicle model.
[0058] Step S208: When the Bluetooth received signal strength is not less than the second Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module to restart ranging.
[0059] In this embodiment, the first Bluetooth received signal strength threshold is less than the second Bluetooth received signal strength threshold. Specifically, when it is determined that the portable information terminal is inside the vehicle, the first ultra-wideband module and the second ultra-wideband module terminate ranging. At this time, it is judged when to restart ranging according to the Bluetooth received signal strength. When inside the vehicle, the pressure on each seat in the vehicle is detected, and the number of people in the vehicle is judged according to the pressure; the second Bluetooth received signal strength threshold is set according to the number of people. Among them, when the number of people is 1, the second Bluetooth received signal strength threshold is set to the first signal strength threshold; and when the number of people is greater than 1, the second Bluetooth received signal strength threshold is set to the second signal strength threshold. In this embodiment, the first signal strength threshold is greater than the second signal strength threshold.
[0060] For example, when there is pressure on only one seat, it is judged that there is only 1 person in the vehicle, and the Bluetooth received signal strength threshold is set to -60 dB. When the Bluetooth received signal strength between the portable information terminal 2 and the vehicle 1 is greater than -60 dB, it is judged that the portable information terminal 2 has the intention to leave the vehicle, and the first ultra-wideband module and the second ultra-wideband module of the portable information terminal 2 are notified to leave the power-saving mode and start ranging.
[0061] When there is pressure on more than one seat, it is judged that there are more than 1 person in the vehicle, and the Bluetooth received signal strength threshold is set to -70 dB. When the Bluetooth received signal strength between the portable information terminal 2 and the vehicle 1 is greater than -70 dB, it is judged that the portable information terminal 2 has the intention to leave the vehicle, and the first ultra-wideband module and the second ultra-wideband module of the portable information terminal 2 are notified to leave the power-saving mode and start ranging.
[0062] In this embodiment, considering the occlusion of the portable information terminal 2 by the people in the vehicle, the second Bluetooth received signal strength threshold is set according to the number of people, so that the judgment result is more accurate.
[0063] Step S210: When it is judged that the portable information terminal is getting out of the vehicle according to the Bluetooth received signal strength and the first path power, detect the Bluetooth received signal strength.
[0064] After the first ultra-wideband module and the second ultra-wideband module restart ranging, when the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y < a2X + b2, the ranging module 102 determines that the portable information terminal 2 exits the vehicle from inside the vehicle. Here, X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a2 and b2 are real numbers. For example, Figure 3 In the figure, the sampling points of the corresponding relationship between the Bluetooth received signal strength Y and the first path power X are collected when the portable information terminal 2 enters the vehicle from outside the vehicle, is inside the vehicle, and then exits the vehicle from inside the vehicle. The sampling points below the K2 line represent that the portable information terminal 2 exits the vehicle from inside the vehicle. The equation of the K2 line is Y = 0.6X - 97. Therefore, when Y < 0.6X - 97, it is determined that the portable information terminal exits the vehicle from inside the vehicle. Figure 3 In the figure, only an embodiment of a specific vehicle model is described, and a2 and b2 in this case are not limited. According to different vehicle models, the equation of the K2 line will vary according to the actual situation. Therefore, the values of a2 and b2 will change according to the actual vehicle model.
[0065] Step S212, when the Bluetooth received signal strength is less than the first Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module to terminate ranging, and the vehicle locks.
[0066] Specifically, the first ultra-wideband module and the second ultra-wideband module leave the power-saving mode and restart ranging. During the continuous ranging process, the Bluetooth received signal strength is obtained through the Bluetooth module. When the Bluetooth received signal strength is less than the first Bluetooth received signal strength threshold (for example, 85 db), notify the first ultra-wideband module and the second ultra-wideband module to enter the power-saving mode, terminate ranging, and at the same time, the vehicle 1 locks. The first Bluetooth received signal strength threshold is the same as that in step S202.
[0067] In this embodiment, the vehicle 1 determines whether the first ultra-wideband module and the second ultra-wideband module enter the power-saving mode or leave the power-saving mode based on the Bluetooth signal reception strength between the vehicle and the portable terminal 2 and the pressure of the vehicle seat. Compared with the prior art, the power-saving scenario is more accurate.
[0068] This embodiment also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps S200 - S212 of the ultra-wideband-based power-saving method described above are implemented.
[0069] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. An ultra-wideband-based power-saving method, applied to vehicles, characterized in that, The vehicle includes a first ultra-wideband module and a Bluetooth module, and the method includes: When the Bluetooth module detects a Bluetooth connection between the portable information terminal and the vehicle, obtain the Bluetooth received signal strength between the portable information terminal and the vehicle, where the portable information terminal has an electronic key function; When the Bluetooth received signal strength is not less than the first Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module of the portable information terminal to perform ranging and measure the distance between the portable information terminal and the vehicle; When the distance is less than the first threshold, unlock the vehicle; When the distance is less than the second threshold and it is determined according to the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process that the portable information terminal is entering the vehicle from outside the vehicle, notify the first ultra-wideband module and the second ultra-wideband module to terminate the ranging, where the first threshold is greater than the second threshold; When the Bluetooth received signal strength is not less than the second Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module to restart the ranging, where the first Bluetooth received signal strength threshold is less than the second Bluetooth received signal strength threshold; When it is determined according to the Bluetooth received signal strength and the first path power that the portable information terminal is going out of the vehicle from inside the vehicle, detect the Bluetooth received signal strength; and When the Bluetooth received signal strength is less than the first Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module to terminate the ranging and lock the vehicle.
2. The ultra-wideband-based power saving method according to claim 1, characterized in that When it is determined that the portable information terminal is entering the vehicle from outside the vehicle, the method further includes: Detect the pressure of each seat in the vehicle and determine the number of people in the vehicle according to the pressure; and Set the second Bluetooth received signal strength threshold according to the number of people.
3. The power saving method based on ultra-wideband as claimed in claim 2, wherein The setting of the second Bluetooth received signal strength threshold according to the number of people includes: When the number of people is 1, set the second Bluetooth received signal strength threshold to the first signal strength threshold; and When the number of people is greater than 1, set the second Bluetooth received signal strength threshold to the second signal strength threshold, where the first signal strength threshold is greater than the second signal strength threshold.
4. The ultra-wideband-based power saving method according to claim 1, wherein The determination that the portable information terminal is entering the vehicle from outside the vehicle according to the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process includes: When the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y > a1X + b1, determine that the portable information terminal is entering the vehicle from outside the vehicle, where X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a1, b1 are real numbers.
5. The power saving method based on ultra-wideband as claimed in claim 1, wherein, The determination that the portable information terminal is going out of the vehicle from inside the vehicle according to the Bluetooth received signal strength and the first path power includes: When the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y < a2X + b2, it is determined that the portable information terminal exits the vehicle from inside the vehicle, where X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a2 and b2 are real numbers.
6. A vehicle, characterized in that, The vehicle includes a memory, a processor, and an ultra-wideband-based power-saving program stored on the memory and executable on the processor. The vehicle further includes a first ultra-wideband module and a Bluetooth module. When the ultra-wideband-based power-saving program is executed by the processor, the following steps are implemented: When the Bluetooth module detects a Bluetooth connection between the portable information terminal and the vehicle, obtain the Bluetooth received signal strength between the portable information terminal and the vehicle, where the portable information terminal has an electronic key function; When the Bluetooth received signal strength is not less than the first Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module of the portable information terminal to perform ranging and measure the distance between the portable information terminal and the vehicle; When the distance is less than the first threshold, the vehicle unlocks; When the distance is less than the second threshold and it is determined that the portable information terminal is entering the vehicle from outside the vehicle based on the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process, notify the first ultra-wideband module and the second ultra-wideband module to terminate the ranging, where the first threshold is greater than the second threshold; When the Bluetooth received signal strength is not less than the second Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module to restart the ranging, where the second Bluetooth received signal strength threshold is greater than the first Bluetooth received signal strength threshold; When it is determined that the portable information terminal exits the vehicle from inside the vehicle based on the Bluetooth received signal strength and the first path power, detect the Bluetooth received signal strength; and When the Bluetooth received signal strength is less than the first Bluetooth received signal strength threshold, notify the first ultra-wideband module and the second ultra-wideband module to terminate the ranging, and the vehicle locks.
7. The vehicle according to claim 6, wherein When it is determined that the portable information terminal is entering the vehicle from outside the vehicle, when the ultra-wideband-based power-saving program is executed by the processor, the following steps are further implemented: Detect the pressure of each seat in the vehicle and determine the number of people in the vehicle based on the pressure; and Set the second Bluetooth received signal strength threshold according to the number of people.
8. The vehicle according to claim 6, wherein, The determination that the portable information terminal is entering the vehicle from outside the vehicle based on the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process includes: When the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y > a1X + b1, it is determined that the portable information terminal enters the vehicle from outside the vehicle, where X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a1 and b1 are real numbers.
9. The vehicle according to claim 6, wherein, Determining that the portable information terminal exits the vehicle from inside the vehicle according to the Bluetooth received signal strength and the first path power includes: When the Bluetooth received signal strength and the first path power of the first ultra-wideband module during the ranging process satisfy the formula Y < a2X + b2, it is determined that the portable information terminal exits the vehicle from inside the vehicle, where X is the first path power of the first ultra-wideband module during the ranging process, Y is the Bluetooth received signal strength of the Bluetooth module, and a2 and b2 are real numbers.
10. A storage medium, characterized in that, A computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the ultra-wideband-based power saving method according to any one of claims 1 to 5 are implemented.