Vehicle lock control system combined with Bluetooth
By setting close to the threshold and processing RSSI data in the vehicle lock control system, the problem of inaccurate unlocking and locking judgments caused by environmental interference in the existing Bluetooth vehicle lock system is solved, and more accurate vehicle unlocking and locking control is achieved, improving user experience and vehicle safety.
Patent Information
- Application Number
- CN202510252993.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-05-16
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When using Bluetooth technology, the existing vehicle lock control system is susceptible to environmental interference because the RSSI value is inaccurate in the judgment of unlocking and locking, and frequent problems of repeatedly unlocking and locking are affected, affecting the user experience.
By setting a close threshold between the vehicle Bluetooth terminal and the mobile terminal, and using mean filtering and Kalman filtering to process RSSI data, calculate the distance between the mobile phone and the vehicle Bluetooth terminal, achieve more accurate unlocking and locking control, and simulate NFC functions to improve user experience.
It effectively reduces the frequent unlocking and locking of vehicles caused by distance misjudgment, improves user experience, and enhances vehicle safety.
Smart Images

Figure CN120014739A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a vehicle lock control system combined with Bluetooth. Background Art
[0002] Nowadays, with the advancement of vehicle network intelligence, the unlocking and locking of car locks no longer rely solely on traditional keys. As users are becoming more and more dependent on traditional keys with the popularization of intelligent equipment, mobile phones, as multi-functional smart terminals, can have many functions and are more convenient for consumers to use.
[0003] Therefore, the vehicle's lock system can also be connected to the mobile phone terminal, so that consumers no longer need to carry keys. The traditional technical solution is to use the Bluetooth pairing of the mobile phone to achieve network connection with the vehicle.
[0004] In the prior art, the distance between the vehicle terminal and the mobile phone terminal is determined by RSSI technology, and the vehicle is unlocked or locked by determining the distance. However, Bluetooth is based on the physical characteristics of 2.4 GHZ, so the RSSI value is easily affected by the surrounding environment, especially the human body, which leads to inaccurate RSSI value obtained by the vehicle terminal, thus affecting the judgment of unlocking and locking the vehicle.
[0005] Due to the connection distance and transmission frequency of Bluetooth, when using RSSI value to calculate the distance, it is necessary to set a threshold value with a large range. When the mobile phone is far away from the vehicle, the vehicle will be unlocked. Then when the user approaches, if the mobile phone is blocked by the human body, the RSSI value obtained by the vehicle will instantly increase. The vehicle terminal will then judge it as locked, and the user will need to take out the mobile phone and operate again to unlock it.
[0006] In addition, the mobile phone Bluetooth will repeatedly unlock and lock the vehicle because the Bluetooth signal is easily blocked and needs to be close to respond. The vehicle terminal will frequently switch between receiving a signal and having no signal. The set threshold will frequently determine whether the mobile phone is near the vehicle or not. This will cause the vehicle to be frequently unlocked and locked, greatly affecting the user experience. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide a car lock control system combined with Bluetooth, modify the traditional Bluetooth technology, add a new unlocking mode, change the traditional threshold, and use the new system to realize the function of Bluetooth simulating NFC, thereby improving the user experience.
[0008] In order to solve the above technical problems, the technical solution of the present invention is: A car lock control system combined with Bluetooth, including a car-mounted Bluetooth terminal and a mobile phone terminal, wherein the mobile phone terminal is provided with a user APP, which is connected with the car-mounted Bluetooth terminal for pairing and controls the car lock of the vehicle; The vehicle-mounted Bluetooth terminal is positioned as a HID slave device, and Bluetooth broadcast is started: the user performs Bluetooth pairing and binding with the vehicle through the mobile phone terminal; After the vehicle-mounted Bluetooth terminal is connected to the mobile phone terminal through Bluetooth, the vehicle obtains RSSI data of the mobile phone terminal, and uses the RSSI data to perform a distance measurement algorithm to calculate the distance between the mobile phone terminal and the vehicle-mounted Bluetooth terminal; A proximity threshold is set, and the proximity threshold is compared with the distance calculated by Bluetooth. When the distance calculated by Bluetooth is less than the proximity threshold, the vehicle-mounted Bluetooth terminal controls the vehicle to perform unlocking and locking operations; When the mobile phone terminal approaches the vehicle-mounted Bluetooth terminal once, the vehicle-mounted Bluetooth terminal identifies it as the first contact and unlocks the vehicle lock; when the mobile phone terminal approaches the Bluetooth terminal for the second time, the vehicle-mounted Bluetooth terminal identifies it as the second contact, indicating that the vehicle owner is about to leave, and locks the vehicle lock, and the cycle continues; In this system, the proximity threshold may be set to, for example, one meter.
[0009] Furthermore, the distance measurement algorithm in the system uses mean filtering and Kalman filtering to process and predict the original RSSI data obtained by the vehicle-mounted Bluetooth terminal, thereby obtaining the Bluetooth distance between the vehicle-mounted Bluetooth terminal and the mobile phone terminal.
[0010] Furthermore, after the first use, after the mobile phone terminal is successfully paired and bound with the vehicle-mounted Bluetooth terminal, the user no longer needs to open the user APP on the mobile phone terminal to operate, and the system executes the unlocking and locking functions by default.
[0011] Furthermore, the system is also compatible with traditional Bluetooth usage methods. During use, the user APP is opened to select the usage method, that is, to turn off the NFC simulation function of the system.
[0012] Furthermore, the operation process of this system is as follows: The first step is that the vehicle-mounted Bluetooth terminal starts Bluetooth broadcasting; The second step is that if it is the first time to use, the mobile phone terminal opens the user APP and pairs with the vehicle-mounted Bluetooth terminal through the user APP; The third step is that if it is not the first time to use, there is no need to open the user APP, and the mobile phone terminal is automatically connected to the vehicle-mounted Bluetooth terminal; In the fourth step, the vehicle-mounted Bluetooth terminal obtains RSSI data, performs distance measurement calculation, and obtains the Bluetooth distance; Step 5: Ask the user APP whether to turn on the NFC simulation function. Generally, it is turned on by default. If it is turned off, the user APP needs to be turned on to operate; Step 6: determine whether the Bluetooth distance is less than the proximity threshold, if it is not, return to step 4 and continue to calculate the Bluetooth distance, if it is, read the proximity times of the mobile phone terminal; Step 7: If the number of approaches is once, it is judged as unlocked state and the unlock command is executed; if the number of approaches is twice, it is judged as locked state and the lock command is executed.
[0013] Furthermore, in the seventh step, when the number of approaches exceeds two times, the number of times is directly reset to zero and counted again.
[0014] Furthermore, in the operation process, if the mobile phone terminal turns off the NFC simulation function, the following operations are performed: In the first step, the unlocking threshold and the locking threshold are set in the user APP; In the second step, the calculated Bluetooth distance is compared with the unlocking threshold and the locking threshold. If the Bluetooth distance is less than the unlocking threshold, the unlocking command is executed; if the Bluetooth distance is greater than the locking threshold, the locking command is executed.
[0015] Compared with the prior art, the present invention provides a car lock control system combined with Bluetooth, which uses the mobile phone Bluetooth to simulate the NFC function and sets the proximity threshold small enough so that the unlocking and locking functions will be triggered only when the mobile phone is completely close to the vehicle, thereby reducing the problem of premature unlocking due to distance reasons when Bluetooth is turned on. At the same time, because the proximity is close enough, when the Bluetooth signal is blocked, the car lock will not be frequently unlocked and locked due to failure to search for the signal, because the system will only be started when it is close enough, and when the signal is blocked after approaching, the system will not have the conditions to start, and there will be no phenomenon of locking again due to failure to find the signal after unlocking, thereby effectively improving the user experience, and because the distance is close enough, the risk of car theft can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Attached Figure 1 A system schematic diagram of the present invention is shown.
[0017] Attached Figure 2 A flow chart showing the operation of the present invention is shown. DETAILED DESCRIPTION
[0018] In one embodiment, Figure 1As shown, a car lock control system combined with Bluetooth includes a car Bluetooth terminal and a mobile phone terminal. The mobile phone terminal is provided with a user APP, which is connected with the car Bluetooth terminal to perform pairing and control the car lock of the vehicle; The vehicle-mounted Bluetooth terminal is positioned as a HID slave device, and Bluetooth broadcast is started: the user performs Bluetooth pairing and binding with the vehicle through the mobile phone terminal; After the vehicle-mounted Bluetooth terminal is connected to the mobile phone terminal through Bluetooth, the vehicle obtains RSSI data of the mobile phone terminal, and uses the RSSI data to perform a distance measurement algorithm to calculate the distance between the mobile phone terminal and the vehicle-mounted Bluetooth terminal; A proximity threshold is set, and the proximity threshold is compared with the distance calculated by Bluetooth. When the distance calculated by Bluetooth is less than the proximity threshold, the vehicle-mounted Bluetooth terminal controls the vehicle to perform unlocking and locking operations; When the mobile phone terminal approaches the vehicle-mounted Bluetooth terminal once, the vehicle-mounted Bluetooth terminal identifies it as the first contact and unlocks the vehicle lock; when the mobile phone terminal approaches the Bluetooth terminal for the second time, the vehicle-mounted Bluetooth terminal identifies it as the second contact, indicating that the vehicle owner is about to leave, and locks the vehicle lock, and the cycle continues; In this system, the proximity threshold may be set to, for example, one meter.
[0019] Because the proximity threshold is set very small, the mobile phone terminal needs to be close to the vehicle-mounted Bluetooth terminal to activate the system. Therefore, there will be no situation where the system is unlocked at a long distance and locked due to signal loss at a close distance.
[0020] In one embodiment, the distance measurement algorithm in the system uses mean filtering and Kalman filtering to process and predict the original RSSI data obtained by the vehicle-mounted Bluetooth terminal, thereby obtaining the Bluetooth distance between the vehicle-mounted Bluetooth terminal and the mobile phone terminal. Real-time distance measurement can be achieved, and the distance between the mobile phone terminal and the vehicle-mounted Bluetooth terminal can be quickly updated.
[0021] Furthermore, after the first use, after the mobile phone terminal is successfully paired with the vehicle-mounted Bluetooth terminal, the user does not need to open the user APP on the mobile phone terminal for operation, and the system performs the unlocking and locking functions by default. This is convenient for the operator to use later, does not require frequent operations, and improves the user experience.
[0022] Furthermore, the system is also compatible with the traditional Bluetooth usage method. During use, the user APP can be opened to select the usage method, that is, to turn off the NFC simulation function of the system. Compatible with traditional methods, users can make multiple choices.
[0023] Furthermore, the operation process of this system is as follows: The first step is that the vehicle-mounted Bluetooth terminal starts Bluetooth broadcasting; The second step is that if it is the first time to use, the mobile phone terminal opens the user APP and pairs with the vehicle-mounted Bluetooth terminal through the user APP; The third step is that if it is not the first time to use, there is no need to open the user APP, and the mobile phone terminal is automatically connected to the vehicle-mounted Bluetooth terminal; In the fourth step, the vehicle-mounted Bluetooth terminal obtains RSSI data, performs distance measurement calculation, and obtains the Bluetooth distance; Step 5: Ask the user APP whether to turn on the NFC simulation function. Generally, it is turned on by default. If it is turned off, the user APP needs to be turned on to operate; Step 6: determine whether the Bluetooth distance is less than the proximity threshold, if it is not, return to step 4 and continue to calculate the Bluetooth distance, if it is, read the proximity times of the mobile phone terminal; Step 7: If the number of approaches is once, it is judged as unlocked state and the unlock command is executed; if the number of approaches is twice, it is judged as locked state and the lock command is executed.
[0024] Furthermore, in the seventh step, when the number of approaches exceeds two times, the number of times is directly reset to zero and counted again.
[0025] Furthermore, in the operation process, if the mobile phone terminal turns off the NFC simulation function, the following operations are performed: In the first step, the unlocking threshold and the locking threshold are set in the user APP; In the second step, the calculated Bluetooth distance is compared with the unlocking threshold and the locking threshold. If the Bluetooth distance is less than the unlocking threshold, the unlocking command is executed; if the Bluetooth distance is greater than the locking threshold, the locking command is executed.
[0026] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than a limiting technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.
Claims
1. A car lock control system combined with Bluetooth, including a car Bluetooth terminal and a mobile phone terminal, the mobile phone terminal is provided with a user APP, connected with the car Bluetooth terminal, paired, and controls the car lock of the vehicle; It is characterized in that in, Position the vehicle-mounted Bluetooth terminal as a HID slave device and start Bluetooth broadcasting: the user performs Bluetooth pairing and binding with the vehicle through the mobile phone terminal; After the vehicle-mounted Bluetooth terminal is connected to the mobile phone terminal through Bluetooth, the vehicle obtains RSSI data of the mobile phone terminal, and uses the RSSI data to perform a distance measurement algorithm to calculate the distance between the mobile phone terminal and the vehicle-mounted Bluetooth terminal; A proximity threshold is set, and the proximity threshold is compared with the distance calculated by Bluetooth. When the distance calculated by Bluetooth is less than the proximity threshold, the vehicle-mounted Bluetooth terminal controls the vehicle to perform unlocking and locking operations; When the mobile phone terminal approaches the vehicle-mounted Bluetooth terminal once, the vehicle-mounted Bluetooth terminal identifies it as the first contact and unlocks the car lock; when the mobile phone terminal approaches the Bluetooth terminal for the second time, the vehicle-mounted Bluetooth terminal identifies it as the second contact, indicating that the car owner is about to leave, and locks the car lock, and the cycle continues.
2. A car lock control system combined with Bluetooth according to claim 1, characterized in that: The distance measurement algorithm in the system adopts mean filtering and Kalman filtering to process and predict the original RSSI data obtained by the vehicle-mounted Bluetooth terminal, and then obtain the Bluetooth distance between the vehicle-mounted Bluetooth terminal and the mobile phone terminal.
3. A car lock control system combined with Bluetooth according to claim 1, characterized in that: After the first use, after the mobile phone terminal is successfully paired and bound with the vehicle-mounted Bluetooth terminal, the user no longer needs to open the user APP on the mobile phone terminal to operate, and the system executes the unlocking and locking functions by default.
4. A car lock control system combined with Bluetooth according to claim 1, characterized in that: During use, open the user APP and select the method of use, that is, turn off the NFC simulation function of the system and use the Bluetooth unlocking and locking functions.
5. The car lock control system combined with Bluetooth according to claim 1, characterized in that: The operation flow of the system is as follows: The first step is that the vehicle-mounted Bluetooth terminal starts Bluetooth broadcasting; The second step is that if it is the first time to use, the mobile phone terminal opens the user APP and pairs with the vehicle-mounted Bluetooth terminal through the user APP; The third step is that if it is not the first time to use, there is no need to open the user APP, and the mobile phone terminal is automatically connected to the vehicle-mounted Bluetooth terminal; In the fourth step, the vehicle-mounted Bluetooth terminal obtains RSSI data, performs distance measurement calculation, and obtains the Bluetooth distance; Step 5: Ask the user APP whether to turn on the NFC simulation function. Generally, it is turned on by default. If it is turned off, the user APP needs to be turned on to operate; Step 6: determine whether the Bluetooth distance is less than the proximity threshold, if it is not, return to step 4 and continue to calculate the Bluetooth distance, if it is, read the proximity times of the mobile phone terminal; Step 7: If the number of approaches is once, it is judged as unlocked state and the unlock command is executed; if the number of approaches is twice, it is judged as locked state and the lock command is executed.
6. A car lock control system combined with Bluetooth according to claim 1, characterized in that: In the seventh step, when the number of approaches exceeds two times, the number judgment is directly reset to zero and the counting is restarted.
7. A car lock control system combined with Bluetooth according to claim 5, characterized in that: In the operation process, if the NFC simulation function is turned off on the mobile terminal, perform the following operations: In the first step, the unlocking threshold and the locking threshold are set in the user APP; In the second step, the calculated Bluetooth distance is compared with the unlocking threshold and the locking threshold. If the Bluetooth distance is less than the unlocking threshold, the unlocking command is executed; if the Bluetooth distance is greater than the locking threshold, the locking command is executed.
Citation Information
Patent Citations
Electronic lock system capable of being quickly connected with single chip for unlocking based on NFC Bluetooth
CN112184954A
Vehicle NFC key authentication method
CN113920625A
Automobile control system based on Bluetooth and NFC
CN114148286A
Vehicle unlocking and locking processing method, vehicle and system
CN114999035A
Convenient connection method for automobile Bluetooth key
CN116142130A
Cited By
Vehicle unlocking and locking control method and device based on digital key, vehicle and medium
CN121157835A