Digital key calibration method and system, and controller and storage medium
By standardizing the signal strength of digital keys, the repeated calibration problem caused by inconsistent signal strength of digital keys of different specifications is solved, and the consistency of signal strength and the stability of unlocking function are achieved.
Patent Information
- Application Number
- PCT/CN2024/128008
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-20
- Filing Date
- 2024-10-29
- Publication Date
- 2025-06-26
AI Technical Summary
Due to different signal strengths of digital keys of different specifications, the need to repeatedly calibrate the signal strength value, adjust the distance threshold and model parameters.
By obtaining the current signal strength of the digital key in real time, correcting the signal strength based on the pre-stored correction parameters, obtaining the standardized signal strength, and performing a preset execution action when the standardized signal strength is equal to the target signal strength.
The consistency of signal strengths of different models of mobile phones at the same distance is achieved, and the problem of repeated calibration of signal strength and adjustment parameters is avoided, ensuring the consistency of understanding of the locking function.
Smart Images

Figure CN2024128008_26062025_PF_FP_ABST
Abstract
Description
Digital key calibration method, calibration system, controller and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on December 20, 2023, with application number 202311767005.2 and application name “Calibration method, calibration system, controller and storage medium for digital keys”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application belongs to the technical field of positioning data signal calibration, and specifically relates to a digital key calibration method, calibration system, controller and storage medium. Background Art
[0003] Currently, digital keys use smartphones as a vehicle key carrier, allowing users to easily control their vehicles without carrying a physical key, creating a simple and convenient user experience. Mobile keys integrate three wireless communication technologies: NFC, BLE, and UWB. Bluetooth signal positioning technology is primarily based on RSSI. Bluetooth signal strength is related to distance, with closer distances producing greater strength. Signal strength detected at different anchor points on the vehicle can be used to estimate the distance between the phone and the vehicle body, as well as determine whether the phone key is inside or outside the vehicle. By setting appropriate unlocking distance thresholds, these functions can be implemented, such as approaching to unlock the APU and leaving the vehicle to lock the vehicle. Bluetooth signal transmission power varies across different phone models, so different phones will experience varying signal strength at the same distance from the vehicle body. To ensure consistent unlocking performance across different phone models, signal strength measurements at the same distance are calibrated for each phone model. This calibrates the signal strength range within the operating range for different phone models, allowing the unlocking distance threshold and model parameters to be adjusted accordingly.
[0004] Summary of the Invention
[0005] The technical problem to be solved by this application is to provide a digital key calibration method, calibration system, controller and storage medium to solve the problem that digital keys of different specifications have different signal strengths, resulting in the need to repeatedly calibrate signal strength values, adjust distance thresholds and model parameters.
[0006] In order to solve or improve the above technical problems to a certain extent, the first embodiment of the present application provides a digital key calibration method, which is characterized by comprising:
[0007] Obtaining the current signal strength of the digital key in real time;
[0008] Correcting the current signal strength based on a pre-stored correction parameter to obtain a normalized signal strength;
[0009] When the normalized signal strength is equal to the target signal strength, the preset execution action corresponding to the target signal strength is executed based on a pre-stored correspondence between the target signal strength and the preset execution action.
[0010] In some embodiments, a method for establishing a correspondence between target signal strength and a preset execution action includes:
[0011] Obtain multiple sets of signal strengths of any digital key at a preset distance as signal strength samples;
[0012] After filtering the signal strength samples for outliers, a standardized data sample and the preset distance corresponding to the standardized data sample are obtained;
[0013] A corresponding relationship between the target signal strength and the preset execution action is obtained based on the corresponding standardized data sample and the sample label.
[0014] In some embodiments, the pre-stored correction parameters include pre-collected maximum and minimum values of the signal strength of the digital key;
[0015] The current signal strength is corrected using the following formula:
[0016] Where, represents the standardized signal strength, max represents the maximum value of the pre-collected signal strength, min represents the minimum value of the pre-collected signal strength, x i Indicates the current signal strength.
[0017] In some embodiments, the method for obtaining the correction parameter includes:
[0018] Collect multiple groups of signal strengths of the digital key, and obtain the correction parameter according to the data volume of the multiple groups of signal strengths.
[0019] In some embodiments, when the amount of data of the multiple groups of signal strengths is equal to a preset amount, the method for obtaining the correction parameter includes:
[0020] Traversing the multiple groups of signal strengths to obtain variances of the multiple groups of signal strengths;
[0021] Calculating the 25% quantile I1, median I2, and 75% quantile I3 of the multiple groups of signal intensities, and deleting the signal intensities outside the interval I2±I in the multiple groups of signal intensities, where I=(I3-I1) / 2;
[0022] The remaining signal strengths in the multiple groups of signal strengths are calculated to obtain the maximum value of the signal strength, the minimum value of the signal strength, and the average value of the signal strength.
[0023] In some embodiments, when the amount of data of the multiple groups of signal strengths is greater than a preset amount, the method for obtaining the correction parameter includes:
[0024] Determine whether the latest signal strength meets the preset conditions. If so, delete the latest signal strength. Otherwise, add the latest signal strength to the multiple groups of signal strengths and update the maximum signal strength, minimum signal strength, and average signal strength.
[0025] In some embodiments, the preset condition is:
[0026] Where x t represents the latest acquired signal strength, μ represents the average value of the signal strength, and σ represents the variance of the signal strength.
[0027] According to a second embodiment of the present application, a digital key calibration system is provided, comprising:
[0028] A signal strength acquisition module configured to acquire the current signal strength of the digital key in real time;
[0029] a signal strength normalization module configured to correct the current signal strength based on a pre-stored correction parameter to obtain a normalized signal strength;
[0030] The preset action execution module is configured to execute the preset execution action corresponding to the target signal strength based on the pre-stored correspondence between the target signal strength and the preset execution action when the normalized signal strength is equal to the target signal strength.
[0031] According to a third embodiment of the present application, a controller is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the program can implement the steps of the above method when executed by the processor.
[0032] According to a fourth embodiment of the present application, a computer-readable storage medium is provided for storing computer instructions, which implement the steps of the above method when executed by a computer or a processor.
[0033] Compared with the existing technology, this application has obvious advantages and beneficial effects. By means of the above technical solution, the digital key calibration method, calibration system, controller and storage medium of this application can achieve considerable technological advancement and practicality, and have wide industrial utilization value, which has at least the following advantages:
[0034] This application corrects the signal strength of the digital key obtained during use to obtain a standardized signal strength, so that the signal strength of the standardized digital key remains consistent at the same distance, ensuring that the pre-constructed correspondence between the target signal strength and the preset execution action can adapt to different digital keys and terminals, and solving the problem of repeated signal strength calibration when using different digital keys or terminals.
[0035] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] FIG1 is a schematic diagram of a flow chart of a digital key calibration method according to an embodiment of the present application;
[0037] FIG2 is a schematic block diagram of a digital key calibration system according to an embodiment of the present application;
[0038] FIG3 is a schematic block diagram of a digital key calibration system according to another embodiment of the present application;
[0039] FIG4 is a schematic block diagram of a relationship creation module of a digital key calibration system according to an embodiment of the present application;
[0040] FIG5 is a flow chart of a digital key calibration method according to another embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to further illustrate the technical means and effects adopted by this application to achieve the predetermined invention purpose, the following, in combination with the accompanying drawings and preferred embodiments, describes in detail the specific implementation methods and effects of the digital key calibration method, calibration system, controller and storage medium proposed in this application.
[0042] The digital key calibration method provided in the embodiment of the present application standardizes the signal strength of the digital key so that the signal strength of different digital keys at the same position remains consistent, thereby achieving the adaptation of different digital keys using the same set of calibration parameters or models.
[0043] As shown in Figure 1, the digital key calibration method includes:
[0044] Step S10: obtaining the current signal strength of the digital key in real time.
[0045] In this step, data receivers set at different locations on the terminal detect the digital key's signal in real time. The closer the distance between the digital key and the terminal, the stronger the signal strength of the digital key detected.
[0046] In one embodiment, the terminal may be a vehicle, and the digital key may be a smart mobile device with Bluetooth functionality, such as a mobile phone or a wristband.
[0047] Step S20: Correct the current signal strength based on pre-stored correction parameters to obtain a standardized signal strength.
[0048] In this step, the collected digital key signal strength is corrected in real time using pre-stored correction parameters to obtain a corrected, standardized signal strength. This ensures that different terminals or digital keys, when at the same distance, will all receive the same signal strength. This allows the same set of calibration parameters or models to be used across any terminal or digital key without the need to readjust parameters or modify the model.
[0049] For example, the digital key is a mobile phone and the terminal is a vehicle. Different mobile phone brands and models have different Bluetooth signal transmission powers. This results in different signal strengths being received by the vehicle's data receiver when the phone is within a specified distance, such as 1 meter from the vehicle's data receiver.
[0050] In order to ensure that the signal strength of the mobile phone when it is 1 meter away from the vehicle's data receiver is just enough to unlock the car door, the detected signal strength is corrected using pre-stored correction parameters so that the signal strength of mobile phones of different brands and different signals when they are 1 meter away from the data receiver is equal to the signal strength required to unlock the car door.
[0051] In one embodiment, the pre-stored correction parameters include the maximum and minimum values of the pre-collected signal strengths of the digital key.
[0052] The maximum and minimum values of the signal strength refer to pre-collected signal strengths of multiple groups of digital keys, where the multiple groups of signal strengths correspond to different distances between the digital key and the data receiver of the terminal.
[0053] When obtaining the maximum and minimum values of signal strength, in order to eliminate abnormal values in the pre-collected multiple sets of signal strengths, it is necessary to obtain pre-stored correction parameters such as the maximum and minimum values of signal strength according to the data volume of the multiple sets of signal strengths.
[0054] In a specific embodiment, when the amount of data of multiple groups of signal strengths collected in advance is less than a preset number, the accuracy of the correction parameters such as the calculated maximum and minimum values of the signal strength is poor due to the small amount of data. Therefore, when the amount of data is less than the preset number, the calculation of the correction parameters such as the maximum and minimum values of the signal strength is not performed.
[0055] When the amount of pre-collected data of the plurality of groups of signal strengths is equal to a preset number, the variance, the maximum value, the minimum value and the mean value of the signal strengths of the plurality of groups of signal strengths are calculated.
[0056] Specifically, multiple groups of signal strengths are recorded as x1, x2, ..., x N , where N is a preset number, which is a positive integer. By traversing x1, x2, ..., x N , j∈{1,2,…}, and get the variance of multiple signal strengths. Calculate x1,x2,…,x N The 25% quantile I1, median I2, and 75% quantile I3 of the multiple signal intensities are then removed from the multiple signal intensities outside the interval I2±I, where I=(I3-I1) / 2. The remaining signal intensities in the multiple signal intensities are calculated to obtain the maximum signal intensity, the minimum signal intensity, and the average signal intensity in the multiple signal intensities.
[0057] When the amount of data of multiple groups of signal strengths is greater than a preset number, it is necessary to determine whether the latest acquired signal strength is abnormal data. The usability of the latest acquired signal strength can be determined by determining whether the latest acquired signal strength meets the preset conditions.
[0058] If the newly acquired signal strength meets the preset conditions, it is considered abnormal data and is deleted. If the newly acquired signal strength does not meet the preset conditions, it is considered to be in compliance with the regulations. The newly acquired signal strength is then added to the previously acquired multiple sets of signal strengths, and the maximum signal strength, minimum signal strength, average signal strength, and variance of the signal strength are calculated. The specific calculation method has been described in detail above and will not be repeated here.
[0059] In this embodiment, by continuously increasing the collected signal strength (including the signal strength collected during the use of the digital key), the maximum value of the signal strength, the minimum value of the signal strength, the average value of the signal strength, and the variance of the signal strength are dynamically estimated, and multiple correction parameters can be continuously updated, so that the standardized calculation of the current signal strength is continuously improved, thereby ensuring the accuracy of the standardized signal strength.
[0060] In one embodiment, the preset conditions for determining whether the latest acquired signal strength is abnormal data are:
[0061] Where x t The default condition means that the signal strength x is the latest signal strength. t It is not within the range of the mean value μ of the signal intensity plus or minus three times the variance σ of the signal intensity.
[0062] In one embodiment, the current signal strength may be corrected using the following formula:
[0063] Where, represents the standardized signal strength, max represents the maximum value of the pre-collected signal strength, min represents the minimum value of the pre-collected signal strength, x i Indicates the current signal strength.
[0064] Step S30 : When the normalized signal strength is equal to the target signal strength, based on the pre-stored correspondence between the target signal strength and the preset execution action, executing the preset execution action corresponding to the target signal strength.
[0065] In this step, after correcting the current signal strength to obtain the normalized signal strength, it is necessary to determine in real time whether the normalized signal strength is equal to the target signal strength. If the normalized signal strength is equal to the target signal strength, the control terminal executes the preset execution action corresponding to the target signal strength.
[0066] In order to implement the execution of the preset execution action, the correspondence between the target signal strength and the preset execution action is pre-stored. The target signal strength can be one or more, and the multiple target signal strengths correspond to different execution actions.
[0067] For example, the terminal is a vehicle, and the preset execution actions may include unlocking, locking, and other preset execution actions, and the target signal strengths corresponding to unlocking and locking are different.
[0068] In one embodiment, a method for establishing a correspondence between target signal strength and a preset execution action includes:
[0069] Step 100: Obtain multiple groups of signal strengths of any digital key at a preset distance as signal strength samples.
[0070] Any digital key in this step may be the same digital key as the digital key used daily, or may be a digital key different from the digital key used daily.
[0071] The preset distance is the distance between the digital key and the terminal's data receiver, which is set based on actual usage requirements. The preset distance can be one or more. The preset distance corresponds to the terminal's preset execution action.
[0072] For example, if the terminal is a vehicle, when the preset distance is 1 meter, the vehicle will be unlocked, and when the preset distance is 5 meters, the vehicle will be locked.
[0073] After the digital key reaches a preset distance, the signal strengths of multiple groups of digital keys are obtained as signal strength samples.
[0074] In step 200 , after filtering outliers on the signal strength samples, a standardized data sample and a sample label corresponding to the standardized data sample are obtained. The sample label is a preset distance corresponding to the standardized data sample.
[0075] In this step, after obtaining multiple groups of signal strength samples, MaxMinScaler (normalization) is used to filter outliers in the multiple groups of signal strength samples to obtain standardized data samples and preset distances corresponding to the standardized data samples.
[0076] Step 300: Obtain a correspondence between target signal strength and a preset execution action based on corresponding standardized data samples and a preset distance.
[0077] In this step, the preset distance corresponds to the preset execution action of the terminal, and the standardized sample corresponds to the signal strength of the digital key collected at the preset distance, that is, the target signal strength.
[0078] Furthermore, after obtaining the corresponding standardized samples and preset distances, a correspondence between the target signal strength and the preset execution action can be created. The correspondence between the target signal strength and the preset execution action can be presented in the form of a calibration configuration table or by constructing a model, and this application is not limited to this.
[0079] According to another aspect of the present application, a digital key calibration system is provided, as shown in FIG2 , the system includes: a signal strength acquisition module 10 , a signal strength table conversion module 20 and a preset action execution module 30 .
[0080] The signal strength acquisition module 10 is configured to acquire the current signal strength of the digital key in real time.
[0081] Specifically, data receivers arranged at different locations of the terminal detect the digital key's signal in real time. The closer the distance between the digital key and the terminal, the stronger the signal strength of the digital key detected.
[0082] In one embodiment, the terminal may be a vehicle, and the digital key may be a smart mobile device with Bluetooth functionality, such as a mobile phone or a wristband.
[0083] The signal strength normalization module 20 is configured to correct the current signal strength based on pre-stored correction parameters to obtain a normalized signal strength.
[0084] Specifically, the signal strength normalization module 20 uses pre-stored correction parameters to correct the collected digital key signal strength in real time to obtain a corrected, standardized signal strength. This ensures that different terminals or digital keys, even at the same distance, can achieve the same signal strength. This allows the same set of calibration parameters or models to be used across all terminals or digital keys without the need to readjust parameters or modify the model.
[0085] For example, the digital key is a mobile phone and the terminal is a vehicle. Different mobile phone brands and models have different Bluetooth signal transmission powers. This results in different signal strengths being received by the vehicle's data receiver when the phone is within a specified distance, such as 1 meter from the vehicle's data receiver.
[0086] In order to ensure that the signal strength of the mobile phone when it is 1 meter away from the vehicle's data receiver is just enough to unlock the car door, the detected signal strength is corrected using pre-stored correction parameters so that the signal strength of mobile phones of different brands and different signals when they are 1 meter away from the data receiver is equal to the signal strength required to unlock the car door.
[0087] In one embodiment, the pre-stored correction parameters include the maximum and minimum values of the pre-collected signal strengths of the digital key.
[0088] The maximum and minimum values of the signal strength refer to pre-collected signal strengths of multiple groups of digital keys, where the multiple groups of signal strengths correspond to different distances between the digital key and the data receiver of the terminal.
[0089] When obtaining the maximum and minimum values of signal strength, in order to eliminate abnormal values in the pre-collected multiple sets of signal strengths, it is necessary to obtain pre-stored correction parameters such as the maximum and minimum values of signal strength according to the data volume of the multiple sets of signal strengths.
[0090] In a specific embodiment, when the amount of data of multiple groups of signal strengths collected in advance is less than a preset number, the accuracy of the correction parameters such as the calculated maximum and minimum values of the signal strength is poor due to the small amount of data. Therefore, when the amount of data is less than the preset number, the calculation of the correction parameters such as the maximum and minimum values of the signal strength is not performed.
[0091] When the amount of pre-collected data of the plurality of groups of signal strengths is equal to a preset number, the variance, the maximum value, the minimum value and the mean value of the signal strengths of the plurality of groups of signal strengths are calculated.
[0092] Specifically, multiple groups of signal strengths are recorded as x1, x2, ..., x N , where N is a preset number, which is a positive integer. By traversing x1, x2, ..., x N , j∈{1,2,…}, and get the variance of multiple signal strengths. Calculate x1,x2,…,x N The 25% quantile I1, median I2, and 75% quantile I3 of the multiple signal intensities are then removed from the multiple signal intensities outside the interval I2±I, where I=(I3-I1) / 2. The remaining signal intensities in the multiple signal intensities are calculated to obtain the maximum signal intensity, the minimum signal intensity, and the average signal intensity in the multiple signal intensities.
[0093] When the amount of data of multiple groups of signal strengths is greater than a preset number, it is necessary to determine whether the latest acquired signal strength is abnormal data. The usability of the latest acquired signal strength can be determined by determining whether the latest acquired signal strength meets the preset conditions.
[0094] If the newly acquired signal strength meets the preset conditions, it is considered abnormal data and is deleted. If the newly acquired signal strength does not meet the preset conditions, it is considered to be in compliance with the regulations. The newly acquired signal strength is then added to the previously acquired multiple sets of signal strengths, and the maximum signal strength, minimum signal strength, average signal strength, and variance of the signal strength are calculated. The specific calculation method has been described in detail above and will not be repeated here.
[0095] In this embodiment, by continuously increasing the collected signal strength (including the signal strength collected during the use of the digital key), the maximum value of the signal strength, the minimum value of the signal strength, the average value of the signal strength, and the variance of the signal strength are dynamically estimated, and multiple correction parameters can be continuously updated, so that the standardized calculation of the current signal strength is continuously improved, thereby ensuring the accuracy of the standardized signal strength.
[0096] In one embodiment, the preset conditions for determining whether the latest acquired signal strength is abnormal data are:
[0097] Where x t The default condition means that the signal strength x is the latest signal strength. tIt is not within the range of the mean value μ of the signal intensity plus or minus three times the variance σ of the signal intensity.
[0098] In one embodiment, the current signal strength may be corrected using the following formula:
[0099] Where, represents the standardized signal strength, max represents the maximum value of the pre-collected signal strength, min represents the minimum value of the pre-collected signal strength, x i Indicates the current signal strength.
[0100] The preset action execution module 30 is configured to execute the preset action corresponding to the target signal strength based on the pre-stored correspondence between the target signal strength and the preset action when the normalized signal strength is equal to the target signal strength.
[0101] Specifically, after correcting the current signal strength to obtain the normalized signal strength, the preset action execution module 30 needs to determine in real time whether the normalized signal strength is equal to the target signal strength. If the normalized signal strength is equal to the target signal strength, the terminal is controlled to execute the preset execution action corresponding to the target signal strength.
[0102] In order to implement the execution of the preset execution action, the correspondence between the target signal strength and the preset execution action is pre-stored. The target signal strength can be one or more, and the multiple target signal strengths correspond to different execution actions.
[0103] For example, the terminal is a vehicle, and the preset execution actions may include unlocking, locking, and other preset execution actions, and the target signal strengths corresponding to unlocking and locking are different.
[0104] In one embodiment, the digital key calibration system further includes a relationship creation module 40 configured to create a corresponding relationship between the target signal strength and the preset execution action.
[0105] Specifically, the relationship creation module 40 includes an acquisition unit 401 , a filtering unit 402 and a creation unit 403 .
[0106] The acquisition unit 401 is configured to acquire multiple groups of signal strengths of any digital key at a preset distance as signal strength samples.
[0107] Any digital key may be the same as the digital key used daily, or may be a digital key different from the digital key used daily.
[0108] The preset distance is the distance between the digital key and the terminal's data receiver, which is set based on actual usage requirements. The preset distance can be one or more. The preset distance corresponds to the terminal's preset execution action.
[0109] For example, if the terminal is a vehicle, when the preset distance is 1 meter, the vehicle will be unlocked, and when the preset distance is 5 meters, the vehicle will be locked.
[0110] After the digital key reaches a preset distance, the signal strengths of multiple groups of digital keys are obtained as signal strength samples.
[0111] The filtering unit 402 is configured to obtain a standardized data sample and a sample label corresponding to the standardized data sample after filtering outliers on the signal strength sample. The sample label is a preset distance corresponding to the standardized data sample.
[0112] After obtaining multiple groups of signal strength samples, MaxMinScaler (normalization) is used to filter outliers in the multiple groups of signal strength samples to obtain standardized data samples and preset distances corresponding to the standardized data samples.
[0113] The creation unit 403 is configured to obtain a correspondence between the target signal strength and the preset execution action based on the corresponding standardized data sample and the preset distance.
[0114] The preset distance corresponds to the preset execution action of the terminal, and the standardized sample corresponds to the signal strength of the digital key collected at the preset distance, that is, the target signal strength.
[0115] Furthermore, after obtaining the corresponding standardized samples and preset distances, a correspondence between the target signal strength and the preset execution action can be created. The correspondence between the target signal strength and the preset execution action can be presented in the form of a calibration configuration table or by constructing a model, and this application is not limited to this.
[0116] In a specific embodiment, a digital key calibration method is provided based on any mobile phone and vehicle model.
[0117] As shown in FIG5 , multiple groups of RSSI (signal strength) of mobile phones are obtained to construct an RSSI-distance model.
[0118] Specifically, there are N RSSI data receivers inside a vehicle. A mobile phone is placed x meters (a preset distance) from the vehicle body and the RSSI signal strength within each receiver is collected over a period of time as a sample. The label corresponding to each sample is x meters. After filtering outliers using MaxMinScaler, standardized data and sample labels are obtained for training, which can then be used to train an RSSI-distance model.
[0119] During use, after changing the phone or car model, multiple RSSI groups of the phone are obtained in real time. Dynamically estimated normalization parameters are used to normalize the multiple RSSI groups to obtain multiple standardized RSSI groups (STD RSSI).
[0120] After updating a mobile phone or car model, multiple sets of RSSI data of the new mobile phone can be collected in advance or during use. If the amount of RSSI data collected of the new mobile phone is less than N (N is a positive integer), no action is taken.
[0121] When the amount of RSSI data collected from a new mobile phone is equal to N, the RSSI collected from the new mobile phone is recorded as x1, x2, ..., x N Traverse j∈{1,2,…} to obtain the variance of the new phone's RSSI. Calculate the 25% quantile I1, median I2, and 75% quantile I3 of the new phone's RSSI, where I = (I3-I1) / 2. Remove data outside the interval I2±I and calculate the minimum value m, maximum value M, sample mean μ, and variance σ for the remaining data.
[0122] When the amount of RSSI data collected from a new mobile phone is greater than N, let the RSSI of the newly collected new mobile phone be x t ,if Then remove x t , otherwise add x t , and update the current minimum value min, maximum value max, sample mean σ, sample standard deviation σ, and then obtain the dynamic estimation standardization parameters.
[0123] The following formula is used to normalize multiple RSSI groups of mobile phones:
[0124] Where, is the normalized RSSI, x i The RSSI of the new mobile phone is collected.
[0125] The normalized RSSI is then imported into the RSSI-distance model in real time, and the distance corresponding to the normalized RSSI is output. The relationship between the normalized RSSI distance and the distance calibration parameter is determined. When the normalized RSSI distance is greater than distance calibration parameter 1, the vehicle is locked; when the normalized RSSI distance is less than distance calibration parameter 2, the vehicle is unlocked.
[0126] This application corrects the signal strength of the digital key obtained during use to obtain a standardized signal strength, so that the signal strength of the standardized digital key remains consistent at the same distance, ensuring that the pre-constructed correspondence between the target signal strength and the preset execution action can adapt to different digital keys and terminals, and solving the problem of repeated signal strength calibration when using different digital keys or terminals.
[0127] The above description is merely a preferred embodiment of the present application and does not constitute any form of limitation to the present application. Although the present application has been disclosed as a preferred embodiment, it is not intended to limit the present application. Any technician familiar with the present profession can make slight changes or modifications to equivalent embodiments of the technical contents disclosed above without departing from the scope of the technical solution of the present application. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.
Claims
1. A digital key calibration method, characterized in that: include: Acquire the current signal strength of the digital key in real time; Correcting the current signal strength based on a pre-stored correction parameter to obtain a standardized signal strength; When the normalized signal strength is equal to the target signal strength, based on a pre-stored correspondence between the target signal strength and the preset execution action, the preset execution action corresponding to the target signal strength is executed.
2. The digital key calibration method according to claim 1, characterized in that: The method for creating the corresponding relationship between the target signal strength and the preset execution action includes: Obtain multiple groups of signal strengths of any digital key at a preset distance as signal strength samples; After filtering the signal strength samples for outliers, a standardized data sample and the preset distance corresponding to the standardized data sample are obtained; A corresponding relationship between the target signal strength and the preset execution action is obtained based on the corresponding standardized data sample and the sample label.
3. The digital key calibration method according to claim 1 or 2, characterized in that: The pre-stored correction parameters include the maximum and minimum values of the signal strength of the digital key collected in advance; The current signal strength is corrected by the following formula: In the formula, represents the standardized signal strength, max represents the maximum value of the pre-collected signal strength, min represents the minimum value of the pre-collected signal strength, x i Indicates the current signal strength.
4. The digital key calibration method according to claim 3, characterized in that: The method for obtaining the correction parameters includes: Collect multiple groups of signal strengths of the digital key, and obtain the correction parameter according to the data volume of the multiple groups of signal strengths.
5. The digital key calibration method according to claim 4, characterized in that: When the data amount of the plurality of groups of signal strengths is equal to a preset amount, the method for obtaining the correction parameter comprises: Traversing the multiple groups of signal strengths to obtain variances of the multiple groups of signal strengths; Calculate the 25% quantile I1, median I2 and 75% quantile I3 of the multiple groups of signal intensities, and delete the signal intensities outside the interval I2±I of the multiple groups of signal intensities, where I=(I3-I1) / 2; The remaining signal strengths in the multiple groups of signal strengths are calculated to obtain the maximum value of the signal strength, the minimum value of the signal strength, and the average value of the signal strength.
6. The digital key calibration method according to claim 5, characterized in that: When the amount of data of the plurality of groups of signal strengths is greater than a preset amount, the method for obtaining the correction parameter comprises: Determine whether the latest acquired signal strength meets the preset conditions. If so, delete the latest acquired signal strength. Otherwise, add the latest acquired signal strength to the multiple groups of signal strengths and update the maximum value, minimum value and average value of the signal strength.
7. The digital key calibration method according to claim 6, characterized in that: The preset conditions are: In the formula, x t represents the latest acquired signal strength, μ represents the average value of the signal strength, and σ represents the variance of the signal strength.
8. A digital key calibration system, characterized in that: include: A signal strength acquisition module, configured to acquire the current signal strength of the digital key in real time; A signal strength normalization module, configured to correct the current signal strength based on a pre-stored correction parameter to obtain a normalized signal strength; The preset action execution module is configured to execute the preset execution action corresponding to the target signal strength based on the pre-stored correspondence between the target signal strength and the preset execution action when the standardized signal strength is equal to the target signal strength.
9. A controller comprising a memory and a processor, characterized in that , the memory stores a computer program, which, when executed by the processor, can implement the steps of the method described in any one of claims 1 to 7.
10. A computer-readable storage medium for storing computer instructions, characterized in that , when the instructions are executed by a computer or a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Digital key calibration method, mobile terminal, cloud server and storage medium
CN115714792A
Vehicle door control method and device and storage medium
CN116279296A
Vehicle positioning method and system and computer readable storage medium
CN116801382A
Digital key calibration method and calibration system, controller and storage medium
CN117831164A
Communication device, control method of the same, and program
JP2017175467A