A Bluetooth key calibration method and system based on a UWB physical key
Through the combination of UWB physical key and Bluetooth module, the signal strength and positioning distance information are detected and synchronized in real time, and the calibration data is calculated and updated, which solves the problem of insufficient recognition accuracy of Bluetooth keys during user use, achieving higher recognition accuracy and adaptability.
Patent Information
- Application Number
- CN202510220430.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2045-02-27
AI Technical Summary
In the prior art, the calibration method of Bluetooth keys is based on the unified calibration of the signal strength reference value RSSI during the vehicle down-line stage, resulting in the average recognition accuracy during the actual use of the user and the inability to adapt to the differences between different mobile phone brands and systems.
The UWB physical key detects the positioning distance information in real time with the UWB main control module on the vehicle, and synchronizes time with the signal strength information detected by the Bluetooth module in real time to establish a correspondence between the signal strength and the positioning distance, calculates the boundary area intensity average of the unlocking and starting range, updates the calibration data and establishes the corresponding storage relationship of the key identification code.
The recognition accuracy of Bluetooth keys during the actual use of users is improved, adapting to users' car usage habits, and solving the problem of general recognition accuracy in the prior art.
Smart Images

Figure CN119729347B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle calibration, and particularly relates to a calibration method and system for a Bluetooth key based on a UWB physical key. Background Art
[0002] In existing various Bluetooth key solutions, after the vehicle-end Bluetooth module is developed in software, several mobile phones are usually used for calibration testing, and then a signal strength reference value (RSSI), such as x, is determined based on the calibration data. Those with a signal strength higher than x are defined as inside the vehicle, and those lower than this value are judged to be outside the vehicle.
[0003] However, in the prior art, the calibration of the Bluetooth key only comprehensively obtains a relatively average reference value based on the calibration data of different mobile phones, and then uses this calibration result to compare and judge the position of the user's Bluetooth key. However, in terms of hardware, whether it is a single Bluetooth host or a solution with multiple Bluetooth antennas, on the one hand, because the Bluetooth signal it emits is not stable enough and has a certain fluctuation range, and on the other hand, due to differences in various mobile phone brands, systems, or Bluetooth hardware, etc., there are also differences in signal recognition results. This leads to situations where in the actual use of the user, at the same position, mobile phone A is recognized as inside the vehicle, while mobile phone B is recognized as outside the vehicle, or even mobile phone A is recognized as inside the vehicle at a relatively long distance outside the vehicle, while there are still some blind spots for mobile phone B inside the vehicle.
[0004] That is to say, in the prior art, when determining the position of the Bluetooth key based on the unified calibration of the signal strength reference value RSSI during the vehicle off-line stage, there is still a problem of general recognition accuracy in the actual use of the user. Summary of the Invention
[0005] Aiming at the deficiencies of the prior art, the purpose of the present invention is to provide a calibration method and system for a Bluetooth key based on a UWB physical key, aiming to solve the problem that in the prior art, when determining the position of the Bluetooth key based on the unified calibration of the signal strength reference value RSSI during the vehicle off-line stage, there is still a problem of general recognition accuracy in the actual use of the user.
[0006] The first aspect of the present invention is to provide a calibration method for a Bluetooth key based on a UWB physical key, which is used to calibrate the Bluetooth key held by a user. The method includes:
[0007] Real-time detecting the positioning distance information between the UWB physical key by a UWB main control module preset on the target vehicle, and sending the positioning distance information to the Bluetooth module on the target vehicle;
[0008] Real-time detecting the signal strength information between the Bluetooth module and the Bluetooth key held by the user, and synchronizing the signal strength information with the positioning distance information in time;
[0009] According to the signal strength information and the positioning distance information after time synchronization, establish a distance-strength correspondence relationship between the signal strength information and the positioning distance information through the Bluetooth module;
[0010] Calculate the average strength of the boundary regions of the specified unlocking range and the specified starting range respectively, output the calibration data corresponding to the boundary regions, and update the original calibration data according to the calibration data and correspondingly set it as the enabled calibration data;
[0011] Establish a corresponding storage relationship between the key identification code and the enabled calibration data through the Bluetooth module to achieve Bluetooth key calibration.
[0012] According to one aspect of the above technical solution, the steps of detecting the signal strength information between the Bluetooth module on the target vehicle and the Bluetooth key held by the user in real time and synchronizing the signal strength information and the positioning distance information in terms of time include:
[0013] Detect the signal strength information between the Bluetooth module preset on the target vehicle and the Bluetooth key held by the user in real time;
[0014] When obtaining the signal strength information, add a time stamp to each signal strength sub-information in the signal strength information, and determine the time reference according to the time stamp to achieve time difference correction for information acquisition;
[0015] Align the signal strength and the positioning distance in the signal strength information and the positioning distance information according to the time reference.
[0016] According to one aspect of the above technical solution, the steps of establishing a distance-strength correspondence relationship between the signal strength information and the positioning distance information through the Bluetooth module according to the signal strength information and the positioning distance information after time synchronization include:
[0017] Match the signal strength information and the positioning distance information after time synchronization, requiring that the time stamps of each signal strength and positioning distance are the same;
[0018] Fit the matched signal strength and the positioning distance by means of linear regression or polynomial fitting to obtain a correspondence model, so as to establish a distance-strength correspondence relationship between the signal strength information and the positioning distance information.
[0019] According to one aspect of the above technical solution, the steps of calculating the average strength of the boundary regions of the specified unlocking range and the specified starting range respectively, outputting the calibration data corresponding to the boundary regions, and updating the original calibration data according to the calibration data and correspondingly setting it as the enabled calibration data include:
[0020] Identify a preset specified unlocking range, and calculate the average strength of the PE unlocking boundary area of the specified unlocking range according to the signal strength information corresponding to the PE unlocking boundary area of the specified unlocking range;
[0021] And identify a preset specified starting range, and calculate the average strength of the PS starting boundary area of the specified starting range according to the signal strength information corresponding to the PS starting boundary area of the specified starting range;
[0022] Output calibration data for the Bluetooth key corresponding to the boundary area according to the average strength of the PE unlocking boundary area and the average strength of the PS starting boundary area;
[0023] Cover and update the original calibration data according to the calibration data, and set it as the enabled calibration data corresponding to the current time node.
[0024] According to one aspect of the above technical solution, in the step of outputting calibration data for the Bluetooth key corresponding to the boundary area according to the average strength of the PE unlocking boundary area and the average strength of the PS starting boundary area, the calculation expression of the calibration value in the calibration data is:
[0025] ;
[0026] In the formula, Calibration_Value ( d ) is the calibration value calculated according to the signal strength indication value received at the positioning distance d , RSSI ( d ) is the signal strength indication value received at the positioning distance d , RSSI_PE_mean is the average signal strength of the PE unlocking boundary area, and RSSI_PS_mean is the average signal strength of the PS starting boundary area;
[0027] Among them, the average signal strength RSSI_PE_mean of the PE unlocking boundary area is greater than the average signal strength RSSI_PS_mean of the PS starting boundary area.
[0028] According to one aspect of the above technical solution, the Bluetooth key includes a main Bluetooth key formed by authorizing a terminal device held by a main user, and a sub-Bluetooth key formed by authorizing and copying through the main Bluetooth key.
[0029] According to one aspect of the above technical solution, the method further includes:
[0030] When unlocking the target vehicle with the main Bluetooth key, except for uploading the key ID data to the cloud server for the first login, all subsequent login actions actively synchronize the key ID data to the cloud server to generate the latest key ID data;
[0031] If the key ID data currently corresponding to the main Bluetooth key does not match the latest key ID data recorded in the cloud server, an identity authentication service is initiated, and after successful verification, the key ID data recorded in the cloud server is updated;
[0032] Alternatively, when unlocking the target vehicle with the sub-Bluetooth key, except for uploading the key ID data to the cloud server for the first login, all subsequent login actions authenticate the key ID data currently corresponding to the sub-Bluetooth key through the cloud server.
[0033] The second aspect of the present invention is to provide a Bluetooth key calibration system based on a UWB physical key, which is applied to the method described in the above technical solution for calibrating the Bluetooth key held by a user. The system includes:
[0034] A positioning distance detection module for real-time detecting the positioning distance information between the UWB physical key through a UWB main control module preset on the target vehicle, and sending the positioning distance information to the Bluetooth module on the target vehicle;
[0035] A signal strength detection module for real-time detecting the signal strength information between the Bluetooth key held by the user through the Bluetooth module, and synchronizing the signal strength information and the positioning distance information in time;
[0036] A correspondence creation module for establishing a distance-strength correspondence between the signal strength information and the positioning distance information through the Bluetooth module according to the signal strength information and the positioning distance information after time synchronization;
[0037] A calibration data output module for respectively calculating the average strength of the boundary regions of the specified unlocking and locking range and the specified starting range, outputting the calibration data corresponding to the boundary regions, updating the original calibration data according to the calibration data and correspondingly setting it as the enabled calibration data;
[0038] A key calibration execution module for establishing a corresponding storage relationship between the key identification code and the enabled calibration data through the Bluetooth module to achieve Bluetooth key calibration.
[0039] The third aspect of the present invention is to provide a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the above technical solution is implemented.
[0040] A fourth aspect of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the methods described in the above technical solutions are implemented.
[0041] Compared with the prior art, the method and system for calibrating a Bluetooth key based on a UWB physical key shown in the present invention have the following beneficial effects:
[0042] The method shown in the present invention real-time detects the positioning distance information between the UWB physical key and the UWB master control module preset on the target vehicle, and sends the positioning distance information to the Bluetooth module on the target vehicle. The Bluetooth module real-time detects the signal strength information between the Bluetooth key held by the user, and synchronizes the signal strength information and the positioning distance information in time. According to the signal strength information and the positioning distance information after time synchronization, the Bluetooth module establishes a distance-strength correspondence relationship between the signal strength information and the positioning distance information, calculates the average strength of the boundary area of the specified unlocking range and the specified starting range respectively, outputs the calibration data corresponding to the boundary area, updates the original calibration data according to the calibration data and correspondingly sets it as the enabled calibration data, and through the Bluetooth module, establishes a corresponding storage relationship between the key identification code and the enabled calibration data to achieve Bluetooth key calibration. The method shown in the present invention can be more suitable for the user's driving habits by recalibrating the unlocking range and the starting range at the user end, and solves the problem that in the prior art, the position of the Bluetooth key is determined based on the unified calibration of the signal strength reference value RSSI at the vehicle off-line stage, and there is still a general problem of recognition accuracy in the actual use of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The above and / or additional aspects and advantages of the present invention will become obvious and easy to understand from the description of the embodiments in conjunction with the following drawings, wherein:
[0044] Figure 1 A flowchart of a method for calibrating a Bluetooth key based on a UWB physical key in an embodiment of the present invention;
[0045] Figure 2 It is a block diagram of a system for calibrating a Bluetooth key based on a UWB physical key in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the following detailed description of the specific embodiments of the present invention is provided in conjunction with the drawings. Several embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, these embodiments are provided to make the disclosure of the present invention more thorough and comprehensive.
[0047] It should be noted that when an element is referred to as being "fixed to" another element, it can be directly on the other element or there can also be an intermediate element. When an element is considered to be "connected to" another element, it can be directly connected to the other element or there may be an intermediate element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this invention belongs. The terms used herein in the specification of this invention are only for the purpose of describing specific embodiments and are not intended to limit this invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0049] Embodiment 1
[0050] Please refer to Figure 1 , the first embodiment of the present invention provides a calibration method for a Bluetooth key based on a UWB physical key, which is used to calibrate the Bluetooth key held by a user. The method includes steps S10 - step S50:
[0051] Step S10, the UWB main control module preset on the target vehicle detects the positioning distance information between the UWB physical key in real time and sends the positioning distance information to the Bluetooth module on the target vehicle.
[0052] First of all, it should be noted that the target vehicle is the vehicle actually owned by the user, which has the UWB function, that is, short-range wireless communication technology, with characteristics such as high-precision positioning, low latency, high reliability, and high refresh rate. The UWB technology transmits data by sending nanosecond-level non-sine wave narrow pulses, making its spectrum range very wide, usually between 3.1 GHz and 10.6 GHz. This characteristic makes the UWB technology perform excellently in anti-interference ability and will not be interfered by other communication signals such as Wi-Fi and Bluetooth.
[0053] In this embodiment, the UWB main control module is a control computer preset inside the target vehicle, mainly used for communicating with the UWB physical key or the Bluetooth key. By detecting the straight-line distance between the UWB physical key or the Bluetooth key and the UWB main control module, the distance between the UWB physical key or the Bluetooth key and the target vehicle is determined, so as to judge the unlocking and locking timing according to the distance value.
[0054] Among them, when the user uses the target vehicle, especially when registering and authenticating the identity information for the first time, the terminal device on the target vehicle will output corresponding prompt information, prompting the user to re-calibrate the unlocking range (PE) and locking range (PS) of the key. By re-calibrating the unlocking and locking ranges of the key, it can better adapt to the user's usage habits. For example, re-calibrating the 8m unlocking range calibrated at the time of the target vehicle's offline to 6m or 12m, and re-calibrating the original 2m locking range to 1m or 3m.
[0055] Specifically, during the process of re-calibrating the unlocking and locking ranges of the key, it is required that the user walks around the vehicle with the UWB physical key while maintaining various linear distance values between the user and the target vehicle. During this process, the UWB main control module real-time detects the positioning distance information between the UWB physical key. After obtaining this positioning distance information, the UWB main control module will send the positioning distance information to the Bluetooth module on the target vehicle, and this Bluetooth module is used for Bluetooth communication with various devices.
[0056] Step S20, the Bluetooth module real-time detects the signal strength information between the Bluetooth key held by the user, and synchronizes the signal strength information with the positioning distance information in terms of time.
[0057] In this embodiment, the step of the Bluetooth module real-time detecting the signal strength information between the Bluetooth key held by the user and synchronizing the signal strength information with the positioning distance information in terms of time includes:
[0058] The Bluetooth module preset on the target vehicle real-time detects the signal strength information between the Bluetooth key held by the user;
[0059] When obtaining the signal strength information, a time stamp is added to each signal strength sub-information in the signal strength information, and the time difference correction for information acquisition is realized according to the time stamp to determine the time reference;
[0060] According to the time reference, the signal strength and the positioning distance in the signal strength information and the positioning distance information are aligned.
[0061] In this embodiment, after the UWB main control module sends the positioning distance information to the Bluetooth module on the target vehicle, during the process of re-calibrating the unlocking and locking ranges, the Bluetooth module will also real-time detect the signal strength information between the Bluetooth key held by the user, and perform time synchronization processing on this signal strength information and the positioning distance information.
[0062] Among them, the Bluetooth key is an authorized terminal electronic device, such as a smart phone, a smart watch, etc. During the process of recalibrating the unlocking and locking range, it is required that the user carry the UWB physical key and the Bluetooth key at the same time and walk around the vehicle, and the Bluetooth function of the Bluetooth key is turned on. During the process of walking around the vehicle, the Bluetooth module will detect the signal strength information between the Bluetooth key at different time nodes and different positioning distances in real time, which is used to express the signal strength indication value, that is, the RSSI value.
[0063] Step S30, according to the signal strength information and the positioning distance information after time synchronization, establish a distance-intensity correspondence relationship between the signal strength information and the positioning distance information through the Bluetooth module.
[0064] In this embodiment, the step of establishing a distance-intensity correspondence relationship between the signal strength information and the positioning distance information through the Bluetooth module according to the signal strength information and the positioning distance information after time synchronization includes:
[0065] Match the signal strength information and the positioning distance information after time synchronization, and require that the time stamps of each signal strength and positioning distance be the same;
[0066] Fit the matched signal strength and the positioning distance by means of linear regression or polynomial fitting to obtain a correspondence model, so as to establish a distance-intensity correspondence relationship between the signal strength information and the positioning distance information.
[0067] In this embodiment, after obtaining the positioning distance information and the signal strength information respectively, the information intensity information and the positioning distance information after time synchronization will be matched. During the process of time synchronization, it is required that the time stamps corresponding to the signal strength in the signal strength information and the positioning distance in the positioning distance information be the same. Then, the matched signal strength and the positioning distance will be fitted by means of linear regression or polynomial fitting to obtain a correspondence model, and the distance-intensity correspondence relationship between the signal strength information and the positioning intensity information will be characterized by this correspondence model.
[0068] Step S40, calculate the average strength of the boundary regions of the specified unlocking and locking range and the specified starting range respectively, output the calibration data corresponding to the boundary regions, and update the original calibration data according to the calibration data and correspondingly set it as the enabled calibration data.
[0069] In this embodiment, the step of calculating the average strength of the boundary regions of the specified unlocking and locking range and the specified starting range respectively, outputting the calibration data corresponding to the boundary regions, and updating the original calibration data according to the calibration data and correspondingly setting it as the enabled calibration data includes:
[0070] Identify a preset specified unlocking range, and calculate the average intensity of the PE unlocking boundary area of the specified unlocking range according to the signal intensity information corresponding to the PE unlocking boundary area of the specified unlocking range;
[0071] And identify a preset specified starting range, and calculate the average intensity of the PS starting boundary area of the specified starting range according to the signal intensity information corresponding to the PS starting boundary area of the specified starting range;
[0072] Output calibration data for the Bluetooth key corresponding to the boundary area according to the average intensity of the PE unlocking boundary area and the average intensity of the PS starting boundary area;
[0073] Cover and update the original calibration data according to the calibration data, and set it as the enabled calibration data corresponding to the current time node.
[0074] In this embodiment, during the calculation process, a preset specified unlocking range will be first identified, and then, according to the signal intensity range of the PE unlocking boundary area in the specified unlocking range, and finally, according to the average intensity of the PE unlocking boundary area when the Bluetooth key is at multiple position points in the specified unlocking range.
[0075] And, in the same way, identify a preset specified starting range again, then, according to the signal intensity range of the PE unlocking boundary area in the specified starting range, and finally, according to the average intensity of the PS starting boundary area when the Bluetooth key is at multiple position points in the specified starting range.
[0076] Finally, output calibration data for calibrating the Bluetooth key corresponding to the boundary area according to the average intensity of the PE unlocking boundary area and the average intensity of the PS starting boundary area. Finally, based on the calibration data, cover and update the original calibration data of the vehicle off-line calibration, and finally set it as the enabled calibration data corresponding to the current time node.
[0077] In this embodiment, in the step of outputting calibration data for the Bluetooth key corresponding to the boundary area according to the average intensity of the PE unlocking boundary area and the average intensity of the PS starting boundary area, the calculation expression of the calibration value in the calibration data is:
[0078] ;
[0079] In the formula, Calibration_Value ( d ) is the calibration value calculated according to the received signal strength indication value at the positioning distance d , RSSI ( d ) is the received signal strength indication value at the positioning distance dThe received signal strength indication value, RSSI_PE_mean is the average signal strength of the PE unlocking boundary area, and RSSI_PS_mean is the average signal strength of the PS startup boundary area;
[0080] Among them, the average signal strength RSSI_PE_mean of the PE unlocking boundary area is greater than the average signal strength RSSI_PS_mean of the PS startup boundary area.
[0081] It should be noted that when calculating the calibration value in the calibration data using the above calculation expression, this formula ensures that the calibration value is always between 0 and 1 through the max function and the min function. When RSSI ( d ) is less than RSSI_lock_mean, since the numerator is negative and the denominator is positive, the result of the entire expression will be less than 0, but max(0,...) ensures that the calibration value will not be lower than 0. And when RSSI ( d ) is greater than or equal to RSSI_unlock_mean, the result of the entire expression will be greater than or equal to 1, but min(1,...) ensures that the calibration value will not be higher than 1. Therefore, when RSSI ( d ) is between RSSI_lock_mean and RSSI_unlock_mean, the formula will output a continuous value between 0 and 1, reflecting the position of the signal strength relative to the two boundary values, which is used to trigger different security policies. For example, when the calibration value exceeds a certain preset threshold, the target vehicle is unlocked.
[0082] Step S50, through the Bluetooth module, establish a corresponding storage relationship between the key identification code and the enabled calibration data to achieve Bluetooth key calibration.
[0083] In this embodiment, after outputting the calibration data based on the average strength of the PE unlocking boundary area within the specified unlocking range and the specified startup range, a corresponding storage relationship between the key identification code, that is, the key ID, and the enabled calibration data will be established through the Bluetooth module to achieve the calibration of the Bluetooth key. Thus, when using the UWB physical key or the Bluetooth key next time, the target vehicle can be controlled based on the latest calibrated unlocking range and locking range to suit the user's driving habits.
[0084] Compared with the prior art, the beneficial effects of using the Bluetooth key calibration method based on the UWB physical key shown in this embodiment are as follows:
[0085] The method shown in this embodiment detects the positioning distance information between the UWB master module preset on the target vehicle and the UWB physical key in real time, and sends the positioning distance information to the Bluetooth module on the target vehicle. The Bluetooth module detects the signal strength information between the Bluetooth key held by the user in real time, synchronizes the signal strength information and the positioning distance information in time, and according to the signal strength information and the positioning distance information after time synchronization, the Bluetooth module establishes a distance-strength correspondence relationship between the signal strength information and the positioning distance information, calculates the average intensity of the boundary areas of the specified unlocking range and the specified starting range respectively, outputs the calibration data corresponding to the boundary areas, updates the original calibration data according to the calibration data and correspondingly sets it as the enabled calibration data, and through the Bluetooth module, establishes a corresponding storage relationship between the key identification code and the enabled calibration data to realize the calibration of the Bluetooth key. The method shown in this embodiment can be more suitable for the user's driving habits by recalibrating the unlocking range and the starting range at the user end, and solves the problem that in the prior art, the position of the Bluetooth key is determined based on the unified calibration of the signal strength reference value RSSI at the vehicle off-line stage, and there is still a general problem of recognition accuracy in the actual use process of the user.
[0086] Embodiment 2
[0087] The second embodiment of the present invention also provides a method for calibrating a Bluetooth key based on a UWB physical key, which is basically similar to the method shown in the first embodiment, and the differences are as follows:
[0088] In this embodiment, the Bluetooth key includes a main Bluetooth key formed by authorizing the terminal device held by the main user, and a sub-Bluetooth key formed by authorizing and copying the main Bluetooth key.
[0089] Among them, the method further includes:
[0090] When unlocking the target vehicle with the main Bluetooth key, except for uploading the key ID data to the cloud server for the first login, all subsequent login behaviors actively synchronize the key ID data to the cloud server to generate the latest key ID data;
[0091] If the key ID data currently corresponding to the main Bluetooth key does not match the latest key ID data recorded in the cloud server, an identity authentication service is initiated, and after the verification is passed, the key ID data recorded in the cloud server is updated;
[0092] Or, when unlocking the target vehicle with the sub-Bluetooth key, except for uploading the key ID data to the cloud server for the first login, all subsequent login behaviors authenticate the key ID data currently corresponding to the sub-Bluetooth key through the cloud server.
[0093] It is easy to understand that the method shown in this embodiment can be divided into three parts, namely the cloud end, the vehicle end, and the mobile phone end. Among them
[0094] Cloud end: Used to establish a cloud account security management platform to control the unique binding relationship among the vehicle, the account, and the mobile phone;
[0095] 1. The target vehicle uses the vehicle identification number (VIN) as the identification code, the account uses the logged-in mobile phone number as the identification code, and the mobile phone uses the Bluetooth hardware MAC address as the identification code. The three are combined and encrypted according to certain rules at the APP end and form a unique 4-digit code (hereinafter collectively referred to as the key ID). After the primary user logs in and binds the vehicle, the key ID data is uploaded to the platform for record keeping.
[0096] 2. The secondary user is directly shared by the primary user according to the vehicles owned and the other party's mobile phone number. When the secondary user logs in for the first time, the APP will obtain the key ID data and upload it to the platform.
[0097] 3. In addition to uploading the key ID data to the cloud for the first login, for all subsequent login behaviors of the primary user, the key ID will be actively synchronized to the cloud. If the key ID data does not match the cloud, an identity authentication service will be initiated. The cloud server will send a random verification code to the logged-in mobile phone number. If the user enters the verification code and passes the verification, the login will be successful, and the key ID data in the cloud will be updated. Otherwise, the login will fail; this design is used to prevent the main account from being stolen and maliciously used by others.
[0098] 4. In addition to uploading the key ID data to the cloud for the first login, for all subsequent login behaviors of the secondary user, the cloud will check the key ID with it. Usually, there is an upper limit X on the number of secondary users. If the upper limit is exceeded, the vehicle owner cannot share and create additional secondary keys; this design is used to prevent the user holding the secondary key from directly giving their account to others without limit after the vehicle owner creates the secondary key, thus bypassing the upper limit X on the number of secondary keys.
[0099] Vehicle end: Used to synchronize and match the positioning distance information of the UWB main control module and the signal strength information of the Bluetooth module in real time, establish the distance-strength correspondence relationship of this user ID, and at the same time establish a corresponding storage table between the key ID and the calibrated data after calibration inside the Bluetooth module;
[0100] 1. The UWB main control module continuously detects the distance from the UWB physical key and transmits this signal to the Bluetooth key module.
[0101] 2. The Bluetooth key continuously monitors the signal strength of the connection with the mobile phone Bluetooth and synchronizes the time with the distance data transmitted by the UWB.
[0102] 3. The Bluetooth key establishes the corresponding relationship data between RSSI and the distance from the vehicle, and statistically calculates the average intensity of the boundary area within the specified PE range (such as within 8 m) / PS range (such as within 1 m) of the vehicle user, which is used as the calibration data for the corresponding boundaries of the two ranges of this key ID, and sets it as the currently enabled calibration data.
[0103] 4. If it is not the first connection, the calibration data of this key ID is stored in the internal storage table of the Bluetooth module. The Bluetooth module reads this data and sets it as the currently enabled calibration data.
[0104] 5. During the vehicle development stage, set default boundaries such as "PE: 5 m, PS: 1 m" (defined by function), and determine the calibration result according to the above calibration process, and set it as the default calibration data of the Bluetooth module.
[0105] Mobile phone side: The mobile phone side (corresponding to the vehicle control APP) exists as the function carrier of the Bluetooth key user side. The APP has the functions of actively turning on the Bluetooth and obtaining the Bluetooth MAC address.
[0106] 1. Establish a login data upload mechanism. After the user logs in to the account, it will actively obtain the Bluetooth hardware MAC address of this device, combine it with the mobile phone number at the time of login, and the vehicle VIN of the vehicle bound or shared later. The three are combined and encrypted into a unique key ID.
[0107] 2. Upload and update this key ID to the cloud platform or perform matching authentication with the existing data request on the cloud platform.
[0108] 3. The mobile phone side establishes a function for the user to re-calibrate the calibration data. When provided for long-term use by sub-users, a good user experience is expected; or when the performance of the user's mobile phone Bluetooth changes due to reasons such as system version updates.
[0109] 4. The mobile phone side can adjust the boundaries of the PE / PS area within a certain range according to the needs of the vehicle user, such as the PE range is 5 - 10 m and the PS range is 1 - 3 m; the adjusted result will be sent to the Bluetooth module through the Bluetooth channel.
[0110] Embodiment III
[0111] Please refer to Figure 2 , the third embodiment of the present invention provides a Bluetooth key calibration system based on a UWB physical key, which is applied to the method described in any of the above embodiments for calibrating the Bluetooth key held by the user. The system includes: a positioning distance detection module 10, a signal intensity detection module 20, a corresponding relationship creation module 30, a calibration data output module 40, and a key calibration execution module 50.
[0112] The positioning distance detection module 10 is used to detect the positioning distance information between the UWB master control module preset on the target vehicle and the UWB physical key in real time, and send the positioning distance information to the Bluetooth module on the target vehicle;
[0113] The signal strength detection module 20 is used to detect the signal strength information between the Bluetooth key held by the user and the Bluetooth module in real time, and synchronize the signal strength information and the positioning distance information in time;
[0114] The corresponding relationship creation module 30 is used to establish the distance-strength corresponding relationship between the signal strength information and the positioning distance information through the Bluetooth module according to the signal strength information and the positioning distance information after time synchronization;
[0115] The calibration data output module 40 is used to calculate the average strength of the boundary areas of the specified unlocking range and the specified starting range respectively, output the calibration data corresponding to the boundary areas, update the original calibration data according to the calibration data and correspondingly set it as the enabled calibration data;
[0116] The key calibration execution module 50 is used to establish the corresponding storage relationship between the key identification code and the enabled calibration data through the Bluetooth module to realize the calibration of the Bluetooth key.
[0117] Compared with the prior art, the Bluetooth key calibration system based on the UWB physical key shown in this embodiment has the beneficial effects that:
[0118] The system shown in this embodiment detects the positioning distance information between the UWB master control module preset on the target vehicle and the UWB physical key in real time, and sends the positioning distance information to the Bluetooth module on the target vehicle. The Bluetooth module detects the signal strength information between the Bluetooth key held by the user and the Bluetooth module in real time, and synchronizes the signal strength information and the positioning distance information in time. According to the signal strength information and the positioning distance information after time synchronization, the Bluetooth module establishes the distance-strength corresponding relationship between the signal strength information and the positioning distance information, calculates the average strength of the boundary areas of the specified unlocking range and the specified starting range respectively, outputs the calibration data corresponding to the boundary areas, updates the original calibration data according to the calibration data and correspondingly sets it as the enabled calibration data, and establishes the corresponding storage relationship between the key identification code and the enabled calibration data through the Bluetooth module to realize the calibration of the Bluetooth key. The system shown in this embodiment can be more suitable for the user's driving habits by recalibrating the unlocking range and the starting range at the user end, and solves the problem that in the prior art, the position of the Bluetooth key is determined by the unified calibration based on the signal strength reference value RSSI at the vehicle off-line stage, and there is still a general problem of recognition accuracy in the actual use process of the user.
[0119] Example 4
[0120] The fourth embodiment of the present invention provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the above embodiments is implemented.
[0121] Example 5
[0122] The fifth embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method described in the above embodiments is implemented.
[0123] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0124] The above-described embodiments only represent several implementation manners of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.
Claims
1. A calibration method for Bluetooth keys based on UWB physical keys, characterized in that For calibrating the Bluetooth key held by the user, the method includes: The UWB master module preset on the target vehicle is used to detect the positioning distance information between the UWB physical key in real time, and send the positioning distance information to the Bluetooth module on the target vehicle; The Bluetooth module is used to detect the signal strength information between the Bluetooth key held by the user in real time, and synchronize the signal strength information and the positioning distance information in time; According to the signal strength information and the positioning distance information after time synchronization, the Bluetooth module is used to establish a distance-strength correspondence relationship between the signal strength information and the positioning distance information; Calculate the average strength of the boundary regions of the specified unlocking range and the specified starting range respectively, output the calibration data corresponding to the boundary regions, update the original calibration data according to the calibration data, and correspondingly set it as the enabled calibration data; The Bluetooth module is used to establish a corresponding storage relationship between the key identification code and the enabled calibration data to realize Bluetooth key calibration; Among them, the step of calculating the average strength of the boundary regions of the specified unlocking range and the specified starting range respectively, outputting the calibration data corresponding to the boundary regions, updating the original calibration data according to the calibration data, and correspondingly setting it as the enabled calibration data includes: Identify the preset specified unlocking range, and calculate the average strength of the PE unlocking boundary region of the specified unlocking range according to the signal strength information corresponding to the PE unlocking boundary region of the specified unlocking range; And identify the preset specified starting range, and calculate the average strength of the PS starting boundary region of the specified starting range according to the signal strength information corresponding to the PS starting boundary region of the specified starting range; According to the average strength of the PE unlocking boundary region and the average strength of the PS starting boundary region, output the calibration data corresponding to the boundary region for the Bluetooth key; According to the calibration data, overwrite and update the original calibration data, and set it as the enabled calibration data corresponding to the current time node; Among them, in the step of outputting the calibration data corresponding to the boundary region for the Bluetooth key according to the average strength of the PE unlocking boundary region and the average strength of the PS starting boundary region, the calculation expression of the calibration value in the calibration data is: ; In the formula, Calibration_Value(d) is the calibration value calculated according to the signal strength indication value received at the positioning distance d, RSSI(d) is the signal strength indication value received at the positioning distance d, RSSI_PE_mean is the average signal strength of the PE unlocking boundary region, and RSSI_PS_mean is the average signal strength of the PS starting boundary region; Among them, the average signal strength RSSI_PE_mean of the PE unlocking boundary region is greater than the average signal strength RSSI_PS_mean of the PS starting boundary region.
2. The calibration method of the Bluetooth key based on the UWB physical key according to claim 1, wherein The step of the Bluetooth module detecting the signal strength information between the Bluetooth key held by the user in real time and synchronizing the signal strength information and the positioning distance information in time includes: The signal strength information between the target vehicle and the Bluetooth key held by the user is detected in real time through the Bluetooth module preset on the target vehicle; When acquiring the signal strength information, a timestamp is added to each signal strength sub-information in the signal strength information, and a time reference is determined according to the timestamp to achieve time difference correction for information acquisition; According to the time reference, the signal strength in the signal strength information is aligned with the positioning distance in the positioning distance information.
3. The calibration method of the Bluetooth key based on the UWB physical key according to claim 2, wherein The step of establishing a distance-intensity correspondence relationship between the signal strength information and the positioning distance information through the Bluetooth module according to the signal strength information and the positioning distance information after time synchronization includes: Matching the signal strength information and the positioning distance information after time synchronization, requiring that the timestamps of each signal strength and positioning distance are the same; Through linear regression or polynomial fitting, the signal strength and the positioning distance after matching are fitted to obtain a correspondence model, so as to establish a distance-intensity correspondence relationship between the signal strength information and the positioning distance information.
4. The method for calibrating a Bluetooth key based on a UWB physical key according to any one of claims 1-3, wherein The Bluetooth key includes a main Bluetooth key formed by authorizing the terminal device held by the main user, and a sub-Bluetooth key formed by authorizing and copying through the main Bluetooth key.
5. The method for calibrating a Bluetooth key based on a UWB physical key according to claim 4, wherein The method further includes: When unlocking the target vehicle through the main Bluetooth key, except for uploading the key ID data to the cloud server for the first login, all subsequent login behaviors actively synchronize the key ID data to the cloud server to generate the latest key ID data; If the key ID data currently corresponding to the main Bluetooth key does not match the latest key ID data recorded in the cloud server, an identity authentication service is initiated, and the key ID data recorded in the cloud server is updated after verification; Alternatively, when unlocking the target vehicle through the sub-Bluetooth key, except for uploading the key ID data to the cloud server for the first login, all subsequent login behaviors authenticate the key ID data currently corresponding to the sub-Bluetooth key through the cloud server.
6. A Bluetooth key calibration system based on a UWB physical key, characterized in that, Applied to the method according to any one of claims 1-5 for calibrating the Bluetooth key held by the user, the system includes: A positioning distance detection module, configured to detect the positioning distance information between the target vehicle and the UWB physical key in real time through the UWB main control module preset on the target vehicle, and send the positioning distance information to the Bluetooth module on the target vehicle; A signal strength detection module, configured to detect the signal strength information between the target vehicle and the Bluetooth key held by the user in real time through the Bluetooth module, and perform time synchronization on the signal strength information and the positioning distance information; A correspondence relationship creation module, configured to establish a distance-intensity correspondence relationship between the signal strength information and the positioning distance information through the Bluetooth module according to the signal strength information and the positioning distance information after time synchronization; The calibration data output module is used to calculate the average intensity of the boundary regions of the specified unlocking range and the specified starting range respectively, output the calibration data corresponding to the boundary regions, update the original calibration data according to the calibration data and correspondingly set it as the enabled calibration data; The key calibration execution module is used to establish the corresponding storage relationship between the key identification code and the enabled calibration data through the Bluetooth module to implement Bluetooth key calibration.
7. A readable storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1-5.
8. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that When the processor executes the computer program, it implements the method according to any one of claims 1-5.
Citation Information
Patent Citations
Digital Bluetooth key self-calibration method and device based on UWB entity key
CN116782128A
Digital key positioning method and device, vehicle-mounted terminal and vehicle
CN118612841A