WO2025130355A1 - 数字钥匙的标定方法、标定系统、控制器及存储介质 - Google Patents

数字钥匙的标定方法、标定系统、控制器及存储介质 Download PDF

Info

Publication number
WO2025130355A1
WO2025130355A1 PCT/CN2024/128008 CN2024128008W WO2025130355A1 WO 2025130355 A1 WO2025130355 A1 WO 2025130355A1 CN 2024128008 W CN2024128008 W CN 2024128008W WO 2025130355 A1 WO2025130355 A1 WO 2025130355A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal strength
digital key
preset
multiple groups
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/128008
Other languages
English (en)
French (fr)
Inventor
田野
申其壮
肖柏宏
刘峥
王澄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIO Technology Anhui Co Ltd
Original Assignee
NIO Technology Anhui Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIO Technology Anhui Co Ltd filed Critical NIO Technology Anhui Co Ltd
Publication of WO2025130355A1 publication Critical patent/WO2025130355A1/zh
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks

Definitions

  • the present application belongs to the technical field of positioning data signal calibration, and specifically relates to a calibration method, calibration system, controller and storage medium for a digital key.
  • Bluetooth signal positioning technology is mainly based on RSSI.
  • the field strength value of Bluetooth signals is related to distance. The closer the distance, the greater the field strength value.
  • the distance between the mobile phone and the car body can be measured and estimated according to the signal strength identified by different anchor points on the car, as well as the judgment of whether the mobile phone key is inside or outside the car.
  • By setting a suitable unlocking distance threshold the function application of approaching unlocking APU and leaving the car to lock WAL can be realized.
  • the transmission power of Bluetooth signals varies in different mobile phone models.
  • the technical problem to be solved by the present 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.
  • the preset execution action corresponding to the target signal strength is executed.
  • a method for creating a correspondence between target signal strength and a preset execution action includes:
  • 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.
  • the current signal strength is corrected by the following formula:
  • the method for obtaining the correction parameter includes:
  • a signal strength acquisition module configured to acquire the current signal strength of the digital key in real time
  • a controller 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.
  • FIG3 is a schematic block diagram of a digital key calibration system according to another embodiment of the present application.
  • the digital key calibration method provided in the embodiment of the present application performs standardized correction on 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.
  • Step S10 obtaining the current signal strength of the digital key in real time.
  • the pre-stored correction parameters include the maximum value and the minimum value of the pre-collected signal strength of the digital key.
  • the amount of data of multiple groups of signal strengths collected in advance is less than a preset number, due to the small amount of data, the accuracy of correction parameters such as the calculated maximum and minimum values of the signal strength is poor. Therefore, when the amount of data is less than the preset number, the calculation of correction parameters such as the maximum and minimum values of the signal strength is not performed.
  • the variance of the plurality of groups of signal strengths, the maximum value of the signal strengths, the minimum value of the signal strengths and the mean value of the signal strengths are calculated.
  • multiple groups of signal strengths are recorded as x 1 , x 2 , ..., x N , where N is a preset number, which is a positive integer.
  • N is a preset number, which is a positive integer.
  • 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 in the multiple groups of signal strengths.
  • the usability of the latest acquired signal strength can be determined by determining whether the latest acquired signal strength meets the preset conditions.
  • the latest signal strength obtained meets the preset conditions, it means that the latest signal strength obtained is abnormal data and it is deleted. If the latest signal strength obtained does not meet the preset conditions, it means that the latest signal strength obtained meets the regulations, and the latest signal strength is added to the multiple groups of signal strengths obtained before, and then 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 calculated. The specific calculation method has been described in detail above and will not be repeated here.
  • 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 to continuously improve the standardized calculation of the current signal strength, thereby ensuring the accuracy of the standardized signal strength.
  • the preset condition for determining whether the latest acquired signal strength is abnormal data is:
  • xt represents the latest acquired signal strength
  • represents the average value of the signal strength
  • represents the variance of the signal strength.
  • the meaning of this preset condition is that the latest acquired signal strength xt is not within the range of the average value ⁇ of the signal strength plus or minus three times the variance ⁇ of the signal strength.
  • the current signal strength may be corrected using the following formula:
  • 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.
  • the control terminal executes the preset execution action corresponding to the target signal strength.
  • the correspondence between the target signal strength and the preset execution action is pre-stored.
  • the target signal strength may be one or more, and the multiple target signal strengths correspond to different execution actions respectively.
  • the terminal is a vehicle
  • the preset execution actions may include preset execution actions such as unlocking and locking, and the target signal strengths corresponding to unlocking and locking are different.
  • a method for establishing a correspondence relationship between a target signal strength and a preset execution action includes:
  • Step 100 obtaining multiple groups of signal strengths of any digital key at a preset distance as signal strength samples.
  • 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.
  • the preset distance is the distance between the digital key and the data receiver of the terminal set according to actual usage requirements.
  • the preset distance can be one or more.
  • the preset distance corresponds to the preset execution action of the terminal.
  • the vehicle when the terminal is a vehicle and the preset distance is 1 meter, the vehicle will be unlocked; when the preset distance is 5 meters, the vehicle will be locked.
  • the signal strengths of multiple groups of digital keys are obtained as signal strength samples.
  • Step 200 after filtering the signal strength samples for outliers, obtain the standardized data samples and the sample labels corresponding to the standardized data samples, where the sample labels are the preset distances corresponding to the standardized data samples.
  • MaxMinScaler normalization
  • Step 300 Obtain a corresponding relationship between a target signal strength and a preset execution action based on corresponding standardized data samples and a preset distance.
  • the preset distance corresponds to the preset execution action of the terminal
  • the standardized sample corresponds to the signal strength of the digital key collected at the preset distance, that is, the target signal strength.
  • a digital key calibration system includes: a signal strength acquisition module 10 , a signal strength table conversion module 20 and a preset action execution module 30 .
  • the signal strength acquisition module 10 is configured to acquire the current signal strength of the digital key in real time.
  • the terminal may be a vehicle
  • the digital key may be a smart mobile device such as a mobile phone or a bracelet that has Bluetooth functionality.
  • the signal strength standardization module 20 corrects the collected signal strength of the digital key in real time by using the pre-stored correction parameters to obtain the corrected standardized signal strength, so that different terminals or different digital keys can obtain the same signal strength when the distance between them is the same, and thus the same set of calibration parameters or models can be used between any terminals or digital keys without re-adjusting the parameters or modifying the model.
  • 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, which will result in different signal strengths received by the vehicle's data receiver when the mobile phone reaches a specified distance, such as 1 meter from the vehicle's data receiver, for mobile phones of different brands and models.
  • 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 door.
  • the variance of the plurality of groups of signal strengths, the maximum value of the signal strengths, the minimum value of the signal strengths and the mean value of the signal strengths are calculated.
  • multiple groups of signal strengths are recorded as x 1 , x 2 , ..., x N , where N is a preset number, which is a positive integer.
  • N is a preset number, which is a positive integer.
  • 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 in the multiple groups of signal strengths.
  • the usability of the latest acquired signal strength can be determined by determining whether the latest acquired signal strength meets the preset conditions.
  • the latest signal strength obtained meets the preset conditions, it means that the latest signal strength obtained is abnormal data and it is deleted. If the latest signal strength obtained does not meet the preset conditions, it means that the latest signal strength obtained meets the regulations, and the latest signal strength is added to the multiple groups of signal strengths obtained before, and then 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 calculated. The specific calculation method has been described in detail above and will not be repeated here.
  • 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 to continuously improve the standardized calculation of the current signal strength, thereby ensuring the accuracy of the standardized signal strength.
  • the preset condition for determining whether the latest acquired signal strength is abnormal data is:
  • xt represents the latest acquired signal strength
  • represents the average value of the signal strength
  • represents the variance of the signal strength.
  • the meaning of this preset condition is that the latest acquired signal strength xt is not within the range of the average value ⁇ of the signal strength plus or minus three times the variance ⁇ of the signal strength.
  • the current signal strength may be corrected using the following formula:
  • the preset action execution module configuration 30 is configured to, when the standardized signal strength is equal to the target signal strength, perform the action based on the pre-stored The stored correspondence between the target signal strength and the preset execution action is used to execute the preset execution action corresponding to the target signal strength.
  • the terminal is a vehicle
  • the preset execution actions may include preset execution actions such as unlocking and locking, and the target signal strengths corresponding to unlocking and locking are different.
  • the relationship creation module 40 includes an acquisition unit 401 , a filtering unit 402 and a creation unit 403 .
  • 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.
  • the preset distance is the distance between the digital key and the data receiver of the terminal set according to actual usage requirements.
  • the preset distance can be one or more.
  • the preset distance corresponds to the preset execution action of the terminal.
  • the signal strengths of multiple groups of digital keys are obtained as signal strength samples.
  • the filtering unit 402 is configured to obtain a standardized data sample and a sample label corresponding to the standardized data sample after performing outlier filtering on the signal strength sample, wherein the sample label is a preset distance corresponding to the standardized data sample.
  • the preset distance corresponds to the preset execution action of the terminal
  • the standardized sample corresponds to the signal strength of the digital key collected at the preset distance, that is, the target signal strength.
  • the target signal strength and the preset execution action can be presented in the form of a calibration configuration table or in the form of a model, and the present application is not limited thereto.
  • a digital key calibration method is provided, based on any mobile phone and vehicle model.
  • RSSI signal strength
  • RSSI data receivers there are N RSSI data receivers inside the vehicle body.
  • x meters i.e., the preset distance
  • the label corresponding to the sample is x meters.
  • MaxMinScaler to filter outliers on the data, standardized data and sample labels for training can be obtained, thereby training the RSSI-distance model.
  • multiple sets of RSSI of the new mobile phone can be collected in advance or during use.
  • the amount of RSSI data collected of the new mobile phone is less than N (N is a positive integer), no action is taken.
  • the RSSI of the new mobile phone collected is recorded as x 1 , x 2 ,..., x N .
  • the multiple RSSI groups of mobile phones are standardized by the following formula:
  • the standardized RSSI is imported into the RSSI-distance model in real time, and the distance corresponding to the standardized RSSI is output.
  • the relationship between the distance corresponding to the standardized RSSI and the distance calibration parameter is determined.
  • the present application obtains a standardized signal strength by correcting the signal strength of the digital key obtained during use, 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

一种数字钥匙的标定方法、标定系统、控制器及存储介质。数字钥匙标定方法包括:实时获取数字钥匙的当前信号强度(S10);基于预先存储的修正参数对当前信号强度进行修正,以得到标准化信号强度(S20);在标准化信号强度等于目标信号强度时,基于预先存储的目标信号强度与预设执行动作的对应关系,执行目标信号强度对应的预设执行动作(S30)。数字钥匙标定方法解决了不同规格的数字钥匙因信号强度不同,导致需要重复标定信号强度值、调整距离阈值及模型参数的问题。

Description

数字钥匙的标定方法、标定系统、控制器及存储介质
本申请要求于2023年12月20日提交中国专利局、申请号为202311767005.2、申请名称为“数字钥匙的标定方法、标定系统、控制器及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于定位数据信号标定技术领域,具体涉及一种数字钥匙的标定方法、标定系统、控制器及存储介质。
背景技术
目前,数字钥匙将智能手机作为车钥匙的一种载体,用户无需携带实体钥匙,即可轻松对车辆进行操控,使用体验简单方便。手机钥匙集成了NFC、BLE、UWB三种无线通信技术,其中,蓝牙信号定位技术的原理主要基于RSSI,蓝牙信号的场强值与距离相关,距离越近时,场强值越大,可以根据车上不同锚点识别到的信号强弱进行手机与车身距离的测量估计,以及手机钥匙位于车内车外的判别,通过设置合适的解闭锁距离阈值,进而实现靠近解锁APU、离车落锁WAL的功能应用。蓝牙信号在不同手机型号的发射功率各不相同,因此在距离车身相同位置时,由不同手机得到的信号强度有所不同。为实现使用不同型号的手机能够表现出较为一致性的解闭锁功能,需要对各型号的手机在相同距离时的信号强度值进行标定,得到不同型号的手机蓝牙钥匙在工作范围内的信号强度区间,并对应调整适应于该手机型号的解闭锁距离阈值及模型参数。
发明内容
本申请所要解决的技术问题在于,提供一种数字钥匙的标定方法、标定系统、控制器及存储介质,以解决不同规格的数字钥匙因信号强度不同,导致需要重复标定信号强度值、调整距离阈值及模型参数的问题。
为了解决或者一定程度上改善上述技术问题,本申请第一实施例,提供一种数字钥匙的标定方法,其特征在于,包括:
实时获取所述数字钥匙的当前信号强度;
基于预先存储的修正参数对所述当前信号强度进行修正,以得到标准化信号强 度;
在所述标准化信号强度等于目标信号强度时,基于预先存储的目标信号强度与预设执行动作的对应关系,执行所述目标信号强度对应的预设执行动作。
在一些实施方式中,目标信号强度与预设执行动作的对应关系的创建方法包括:
获取任一数字钥匙在预设距离的多组信号强度,作为信号强度样本;
对所述信号强度样本进行异常值过滤后,得到标准化数据样本和所述标准化数据样本对应的所述预设距离;
基于对应的所述标准化数据样本和所述样本标签得到所述目标信号强度与所述预设执行动作的对应关系。
在一些实施方式中,所述预先存储的修正参数包括预先采集的所述数字钥匙的信号强度的最大值和最小值;
通过如下公式对所述当前信号强度进行修正:
式中,表示所述标准化信号强度,max表示预先采集的信号强度的最大值,min表示预先采集的信号强度的最小值,xi表示所述当前信号强度。
在一些实施方式中,所述修正参数的获取方法包括:
采集所述数字钥匙的多组信号强度,根据所述多组信号强度的数据量来获取所述修正参数。
在一些实施方式中,当所述多组信号强度的数据量等于预设数量时,获取所述修正参数的方法,包括:
遍历所述多组信号强度,得到所述多组信号强度的方差;
计算所述多组信号强度的25%分位数I1、中位数I2和75%分位数I3,删除所述多组信号强度中I2±I区间之外的信号强度,其中,I=(I3-I1)/2;
对所述多组信号强度中剩余的信号强度进行计算得到所述信号强度的最大值、信号强度的最小值、信号强度的平均值。
在一些实施方式中,当所述多组信号强度的数据量大于预设数量时,获取所述修正参数的方法,包括:
判断最新获取的信号强度是否满足预设条件,若是,则将所述最新获得的信号强度删除,否则将最新获取的信号强度添加至所述多组信号强度后,更新所述信号强度的最大值、信号强度的最小值、信号强度的平均值。
在一些实施方式中,所述预设条件为:
式中,xt表示最新获取的信号强度,μ表示信号强度的平均值,σ表示信号强度的方差。
根据本申请第二实施例,提供了一种数字钥匙的标定系统,包括:
信号强度获取模块,配置为实时获取所述数字钥匙的当前信号强度;
信号强度标准化模块,配置为基于预先存储的修正参数对所述当前信号强度进行修正,以得到标准化信号强度;
预设动作执行模块,配置为在所述标准化信号强度等于目标信号强度时,基于预先存储的目标信号强度与预设执行动作的对应关系,执行所述目标信号强度对应的预设执行动作。
根据本申请第三实施例,提供了一种控制器,其包括存储器与处理器,所述存储器存储有计算机程序,所述程序在被所述处理器执行时能够实现上述方法的步骤。
根据本申请第四实施例,提供了一种计算机可读存储介质,用于存储计算机指令,所述指令在由一计算机或处理器执行时实现上述方法的步骤。
本申请与现有技术相比具有明显的优点和有益效果。借由上述技术方案,本申请的数字钥匙的标定方法、标定系统、控制器及存储介质可以达到相当的技术进步性及实用性,并具有产业上的广泛利用价值,其至少具有下列优点:
本申请通过在使用过程中对获取到的数字钥匙的信号强度进行修正,得到标准化信号强度,使得标准化后的数字钥匙的信号强度在相同距离时的信号强度保持一致,保证了预先构建的目标信号强度与预设执行动作的对应关系能够适应不同的数字钥匙和终端,解决了在使用不同数字钥匙或终端时,需要重复进行信号强度标定的问题。
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。
附图说明
图1为本申请一实施例的数字钥匙的标定方法的流程示意图;
图2为本申请一实施例的数字钥匙的标定系统的示意框图;
图3为本申请另一实施例的数字钥匙的标定系统的示意框图;
图4为本申请一实施例的数字钥匙的标定系统的关系创建模块的示意框图;
图5为本申请另一实施例的数字钥匙的标定方法的流程示意图。
具体实施方式
为更进一步阐述本申请为达成预定发明目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本申请提出的数字钥匙的标定方法、标定系统、控制器及存储介质的具体实施方式及其功效,详细说明如后。
本申请的实施例提供的数字钥匙的标定方法,通过对数字钥匙的信号强度进行标准化修正,使得不同的数字钥匙在同样位置处的信号强度保持一致,进而实现采用同一套标定参数或者模型能够适配不同的数字钥匙。
如图1所示,数字钥匙的标定方法,包括:
步骤S10,实时获取所述数字钥匙的当前信号强度。
在该步骤中,通过设置在终端不同位置的数据接收器实时检测数字钥匙的信号。数字钥匙与终端之间的距离越近,则检测到数字钥匙的信号强度越强。
在一实施例中,终端可以为车辆,数字钥匙为手机、手环等具备蓝牙功能的智能移动设备。
步骤S20,基于预先存储的修正参数对所述当前信号强度进行修正,以得到标准化信号强度。
在该步骤中,通过预先存储的修正参数对采集到的数字钥匙的信号强度实时进行修正,以得到修正后的标准化信号强度。使得不同的终端或者不同的数字钥匙之间距离相同时,均能够得到相同的信号强度,进而可以实现同一套标定参数或者模型在任意终端或数字钥匙之间进行使用,无需重新调整参数或修改模型。
举例来说,数字钥匙为手机,终端为车辆。不同的手机品牌和型号,其蓝牙信号的发射功率会有所差别,这就会导致在手机到达规定的距离时,例如是距离车辆的数据接收器为1米时,针对不同品牌不同型号的手机,车辆的数据接收器所接收到信号强度会有所不同。
为了能够使得手机距离车辆的数据接收器为1米时的信号强度能够正好满足解锁车门时的信号强度,通过预先存储的修正参数对检测到的信号强度进行修正,使得不同品牌、不同信号的手机在距离数据接收器1米时的信号强度均等于解锁车门所需的信号强度。
在一实施例中,预先存储的修正参数包括预先采集的该数字钥匙的信号强度中的最大值和最小值。
其中,该信号强度的最大值和最小值指的是预先采集多组该数字钥匙的信号强度,该多组信号强度对应数字钥匙与终端的数据接收器之间的不同距离。
在获取信号强度的最大值和最小值时,为了能够剔除预先采集的多组信号强度中 的异常值,需要根据多组信号强度的数据量来获取预先存储的修正参数,如信号强度的最大值和最小值。
在一具体实施方式中,当预先采集的多组信号强度的数据量小于预设数量时,因数据量较小,所计算出的信号强度最大值和最小值等修正参数的准确性较差,故在数据量小于预设数量时,不进行信号强度的最大值、最小值等修正参数的计算。
当预先采集的多组信号强度的数据量等于预设数量时,计算多组信号强度的方差、信号强度的最大值、信号强度的最小值和信号强度的均值。
具体地,多组信号强度记作x1,x2,…,xN,其中N为预设数量,其为正整数。通过遍历x1,x2,…,xN,j∈{1,2,…},得到多组信号强度的方差。计算x1,x2,…,xN的25%分位数I1、中位数I2和75%分位数I3,然后删除多组信号强度中I2±I区间之外的信号强度,其中I=(I3-I1)/2。对多组信号强度中剩余的信号强度进行计算,以得到多组信号强度中的信号强度的最大值、信号强度的最小值和信号强度的平均值。
当多组信号强度的数据量大于预设数量时,需要判断最新获取到的信号强度是否为异常数据,可以通过判断最新获取的信号强度是否满足预设条件,以此来确定最新获取的信号强度是否可用。
若最新获取到的信号强度满足预设条件时,则说明最新获取到的信号强度为异常数据,将其进行删除。若最新获取到的信号强度不满足预设条件时,则说明最新获取到的信号强度符合规定,则将该最新获取的信号强度添加至之前获取的多组信号强度中,而后进行信号强度的最大值、信号强度的最小值和信号强度的平均值、信号强度的方差的计算。具体的计算方式在上述中已进行详细描述,此处不在进行赘述。
在该实施例中,通过持续地增加采集的信号强度(包括在数字钥匙的使用过程中所采集到的信号强度),实现动态估计信号强度的最大值、信号强度的最小值和信号强度的平均值、信号强度的方差,能够持续多修正参数进行更新,使得对当前信号强度的标准化的计算得到持续地改进,保证标准化信号强度的准确性。
在一实施例中,判断最新获取的信号强度是否为异常数据的预设条件为:
式中,xt表示最新获取的信号强度,μ表示信号强度的平均值,σ表示信号强度的方差。该预设条件的含义为最新获取的信号强度xt不在信号强度的平均值μ加减三倍的信号强度的方差σ的范围内。
在一实施例中,可通过如下公式对当前信号强度进行修正:
式中,表示所述标准化信号强度,max表示预先采集的信号强度的最大值,min表示预先采集的信号强度的最小值,xi表示所述当前信号强度。
步骤S30,在标准化信号强度等于目标信号强度时,基于预先存储的目标信号强度与预设执行动作的对应关系,执行目标信号强度对应的预设执行动作。
在该步骤中,在对当前信号强度进行修正得到标准化信号强度后,需要实时判断标准化信号强度是否等于目标信号强度。在判定标准化信号强度等于目标信号强度时,则控制终端执行该目标信号强度所对应的预设执行动作。
为了能够实现预设执行动作的执行,预先存储了目标信号强度与预设执行动作的对应关系,该目标信号强度可以是一个,也可以是多个,多个目标信号强度分别对应不同的执行动作。
举例来说,终端为车辆,预设执行动作可以包括解锁、落锁等预设执行动作,解锁和落锁所对应的目标信号强度不同。
在一实施例中,目标信号强度与预设执行动作的对应关系的创建方法包括:
步骤100,获取任一数字钥匙在预设距离的多组信号强度,作为信号强度样本。
在该步骤中的任一数字钥匙可以是日常使用的数字钥匙为同一数字钥匙,也可以是与日常使用的数字钥匙不同的数字钥匙。
预设距离为根据实际使用需求设定的数字钥匙与终端的数据接收器之间的距离,预设距离可以为一个,也可以是多个。预设距离对应着终端的预设执行动作。
举例来说,终端为车辆,预设距离为1米时,则对应着车辆执行解锁的动作,当预设距离为5米时,则对应着车辆执行落锁的动作。
在数字钥匙达到预设距离后,获取多组数字钥匙的信号强度,以作为信号强度样本。
步骤200,对信号强度样本进行异常值过滤后,得到标准化数据样本和标准化数据样本对应的样本标签,样本标签为标准化数据样本所对应的预设距离。
在该步骤中,在得到多组信号强度样本后,需采用MaxMinScaler(归一化)来对多组信号强度样本中的异常值进行过滤,得到标准化数据样本和标准化数据样本对应的预设距离。
步骤300,基于对应的标准化数据样本和预设距离得到目标信号强度与预设执行动作的对应关系。
在该步骤中,预设距离对应着终端的预设执行动作,标准化样本则对应着在预设距离时采集到的数字钥匙的信号强度,即目标信号强度。
进而,在得到对应的标准化样本和预设距离后,即可以创建出目标信号强度与所 述预设执行动作的对应关系。目标信号强度与所述预设执行动作的对应关系可以通过标定配置表的方式呈现,也可以通过构建模型的方式进行呈现,本申请并不以此为限。
根据本申请的另一方面,提供一种数字钥匙的标定系统,如图2所示,该系统包括:信号强度获取模块10、信号强度表转化模块20和预设动作执行模块30。
其中,信号强度获取模块10配置为实时获取数字钥匙的当前信号强度。
具体地,通过设置在终端不同位置的数据接收器实时检测数字钥匙的信号。数字钥匙与终端之间的距离越近,则检测到数字钥匙的信号强度越强。
在一实施例中,终端可以为车辆,数字钥匙为手机、手环等具备蓝牙功能的智能移动设备。
信号强度标准化模块20配置为基于预先存储的修正参数对当前信号强度进行修正,以得到标准化信号强度。
具体地,信号强度标准化模块20通过预先存储的修正参数对采集到的数字钥匙的信号强度实时进行修正,以得到修正后的标准化信号强度。使得不同的终端或者不同的数字钥匙之间距离相同时,均能够得到相同的信号强度,进而可以实现同一套标定参数或者模型在任意终端或数字钥匙之间进行使用,无需重新调整参数或修改模型。
举例来说,数字钥匙为手机,终端为车辆。不同的手机品牌和型号,其蓝牙信号的发射功率会有所差别,这就会导致在手机到达规定的距离时,例如是距离车辆的数据接收器为1米时,针对不同品牌不同型号的手机,车辆的数据接收器所接收到信号强度会有所不同。
为了能够使得手机距离车辆的数据接收器为1米时的信号强度能够正好满足解锁车门时的信号强度,通过预先存储的修正参数对检测到的信号强度进行修正,使得不同品牌、不同信号的手机在距离数据接收器1米时的信号强度均等于解锁车门所需的信号强度。
在一实施例中,预先存储的修正参数包括预先采集的该数字钥匙的信号强度中的最大值和最小值。
其中,该信号强度的最大值和最小值指的是预先采集多组该数字钥匙的信号强度,该多组信号强度对应数字钥匙与终端的数据接收器之间的不同距离。
在获取信号强度的最大值和最小值时,为了能够剔除预先采集的多组信号强度中的异常值,需要根据多组信号强度的数据量来获取预先存储的修正参数,如信号强度的最大值和最小值。
在一具体实施方式中,当预先采集的多组信号强度的数据量小于预设数量时,因 数据量较小,所计算出的信号强度最大值和最小值等修正参数的准确性较差,故在数据量小于预设数量时,不进行信号强度的最大值、最小值等修正参数的计算。
当预先采集的多组信号强度的数据量等于预设数量时,计算多组信号强度的方差、信号强度的最大值、信号强度的最小值和信号强度的均值。
具体地,多组信号强度记作x1,x2,…,xN,其中N为预设数量,其为正整数。通过遍历x1,x2,…,xN,j∈{1,2,…},得到多组信号强度的方差。计算x1,x2,…,xN的25%分位数I1、中位数I2和75%分位数I3,然后删除多组信号强度中I2±I区间之外的信号强度,其中I=(I3-I1)/2。对多组信号强度中剩余的信号强度进行计算,以得到多组信号强度中的信号强度的最大值、信号强度的最小值和信号强度的平均值。
当多组信号强度的数据量大于预设数量时,需要判断最新获取到的信号强度是否为异常数据,可以通过判断最新获取的信号强度是否满足预设条件,以此来确定最新获取的信号强度是否可用。
若最新获取到的信号强度满足预设条件时,则说明最新获取到的信号强度为异常数据,将其进行删除。若最新获取到的信号强度不满足预设条件时,则说明最新获取到的信号强度符合规定,则将该最新获取的信号强度添加至之前获取的多组信号强度中,而后进行信号强度的最大值、信号强度的最小值和信号强度的平均值、信号强度的方差的计算。具体的计算方式在上述中已进行详细描述,此处不在进行赘述。
在该实施例中,通过持续地增加采集的信号强度(包括在数字钥匙的使用过程中所采集到的信号强度),实现动态估计信号强度的最大值、信号强度的最小值和信号强度的平均值、信号强度的方差,能够持续多修正参数进行更新,使得对当前信号强度的标准化的计算得到持续地改进,保证标准化信号强度的准确性。
在一实施例中,判断最新获取的信号强度是否为异常数据的预设条件为:
式中,xt表示最新获取的信号强度,μ表示信号强度的平均值,σ表示信号强度的方差。该预设条件的含义为最新获取的信号强度xt不在信号强度的平均值μ加减三倍的信号强度的方差σ的范围内。
在一实施例中,可通过如下公式对当前信号强度进行修正:
式中,表示所述标准化信号强度,max表示预先采集的信号强度的最大值,min表示预先采集的信号强度的最小值,xi表示所述当前信号强度。
预设动作执行模块配置30为在标准化信号强度等于目标信号强度时,基于预先存 储的目标信号强度与预设执行动作的对应关系,执行目标信号强度对应的预设执行动作。
具体地,预设动作执行模块30在对当前信号强度进行修正得到标准化信号强度后,需要实时判断标准化信号强度是否等于目标信号强度。在判定标准化信号强度等于目标信号强度时,则控制终端执行该目标信号强度所对应的预设执行动作。
为了能够实现预设执行动作的执行,预先存储了目标信号强度与预设执行动作的对应关系,该目标信号强度可以是一个,也可以是多个,多个目标信号强度分别对应不同的执行动作。
举例来说,终端为车辆,预设执行动作可以包括解锁、落锁等预设执行动作,解锁和落锁所对应的目标信号强度不同。
在一实施例中,数字钥匙的标定系统还包括关系创建模块40配置为创建目标信号强度与预设执行动作的对应关系。
具体地,关系创建模块40包括获取单元401、过滤单元402和创建单元403。
其中,获取单元401配置为获取任一数字钥匙在预设距离的多组信号强度,作为信号强度样本。
任一数字钥匙可以是日常使用的数字钥匙为同一数字钥匙,也可以是与日常使用的数字钥匙不同的数字钥匙。
预设距离为根据实际使用需求设定的数字钥匙与终端的数据接收器之间的距离,预设距离可以为一个,也可以是多个。预设距离对应着终端的预设执行动作。
举例来说,终端为车辆,预设距离为1米时,则对应着车辆执行解锁的动作,当预设距离为5米时,则对应着车辆执行落锁的动作。
在数字钥匙达到预设距离后,获取多组数字钥匙的信号强度,以作为信号强度样本。
过滤单元402配置为对信号强度样本进行异常值过滤后,得到标准化数据样本和标准化数据样本对应的样本标签,样本标签为标准化数据样本所对应的预设距离。
在得到多组信号强度样本后,需采用MaxMinScaler(归一化)来对多组信号强度样本中的异常值进行过滤,得到标准化数据样本和标准化数据样本对应的预设距离。
创建单元403配置为基于对应的标准化数据样本和预设距离得到目标信号强度与预设执行动作的对应关系。
预设距离对应着终端的预设执行动作,标准化样本则对应着在预设距离时采集到的数字钥匙的信号强度,即目标信号强度。
进而,在得到对应的标准化样本和预设距离后,即可以创建出目标信号强度与所 述预设执行动作的对应关系。目标信号强度与所述预设执行动作的对应关系可以通过标定配置表的方式呈现,也可以通过构建模型的方式进行呈现,本申请并不以此为限。
在一具体实施方式中,提供一种数字钥匙的标定方法,基于任一手机和车型。
如图5所示,获取手机的多组RSSI(信号强度)构建RSSI-距离模型。
具体地,在车身内部有N个RSSI数据接收器,我们将手机放置在距离车身x(即预设距离)米的地方,收集一段时间该接收器内的RSSI信号强度作为样本,与该样本对应的标签为x米。采用MaxMinScaler对数据进行异常值过滤后,可以得到用于训练的标准化数据和样本标签,由此可以训练得到RSSI-距离模型。
在使用过程中,更换手机或车型后,实时获取手机的多组RSSI。采用动态估计标准化参数对多组RSSI进行标准化,得到多组标准化RSSI(STD RSSI)。
在更新手机或车型后,可以预先或者在使用过程中采集多组新手机的RSSI。当采集的新手机的RSSI的数据量小于N(N为正整数)时,则不进行任何动作。
当采集的新手机的RSSI的数据量等于N时,采集的新手机的RSSI记作x1,x2,…,xN。遍历j∈{1,2,…},得到新手机的RSSI的方差,计算新手机的RSSI的25%分位数I1,中位数I2,75%分位数I3,记I=(I3-I1)/2。剔除区间I2±I之外的数据,对剩余的数据计算最小值m,最大值M,样本均值μ,方差σ。
当采集的新手机的RSSI的数据量大于N时,设新采集的新手机的RSSI为xt,如果则剔除xt,否则添加xt,并更新当前的最小值min,最大值max,样本均值σ,样本标准差σ,进而得到动态估计标准化参数。
通过如下公式对手机的多组RSSI进行标准化:
式中,为标准化RSSI,xi为采集的新手机的RSSI。
而后,将标准化RSSI实时导入RSSI-距离模型中,输出标准化RSSI对应的距离。判断标准化RSSI对应的距离与距离标定参数之间的关系,当标准化RSSI对应的距离大于距离标定参数1时,则车辆执行落锁动作,当标准化RSSI对应的距离小于距离标定参数2时,则车辆执行解锁动作。
本申请通过在使用过程中对获取到的数字钥匙的信号强度进行修正,得到标准化信号强度,使得标准化后的数字钥匙的信号强度在相同距离时的信号强度保持一致,保证了预先构建的目标信号强度与预设执行动作的对应关系能够适应不同的数字钥匙和终端,解决了在使用不同数字钥匙或终端时,需要重复进行信号强度标定的问题。
以上所述,仅是本申请的较佳实施例而已,并非对本申请作任何形式上的限制,虽然本申请已以较佳实施例揭露如上,然而并非用以限定本申请,任何熟悉本专业的技术人员,在不脱离本申请技术方案范围内,当可利用上述揭示的技术内容作出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本申请技术方案的内容,依据本申请的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本申请技术方案的范围内。

Claims (10)

  1. 一种数字钥匙的标定方法,其特征在于,包括:
    实时获取所述数字钥匙的当前信号强度;
    基于预先存储的修正参数对所述当前信号强度进行修正,以得到标准化信号强度;
    在所述标准化信号强度等于目标信号强度时,基于预先存储的目标信号强度与预设执行动作的对应关系,执行所述目标信号强度对应的预设执行动作。
  2. 根据权利要求1所述的数字钥匙的标定方法,其特征在于,目标信号强度与预设执行动作的对应关系的创建方法包括:
    获取任一数字钥匙在预设距离的多组信号强度,作为信号强度样本;
    对所述信号强度样本进行异常值过滤后,得到标准化数据样本和所述标准化数据样本对应的所述预设距离;
    基于对应的所述标准化数据样本和所述样本标签得到所述目标信号强度与所述预设执行动作的对应关系。
  3. 根据权利要求1或2所述的数字钥匙的标定方法,其特征在于,所述预先存储的修正参数包括预先采集的所述数字钥匙的信号强度的最大值和最小值;
    通过如下公式对所述当前信号强度进行修正:
    式中,表示所述标准化信号强度,max表示预先采集的信号强度的最大值,min表示预先采集的信号强度的最小值,xi表示所述当前信号强度。
  4. 根据权利要求3所述的数字钥匙的标定方法,其特征在于,所述修正参数的获取方法包括:
    采集所述数字钥匙的多组信号强度,根据所述多组信号强度的数据量来获取所述修正参数。
  5. 根据权利要求4所述的数字钥匙的标定方法,其特征在于,当所述多组信号强度的数据量等于预设数量时,获取所述修正参数的方法,包括:
    遍历所述多组信号强度,得到所述多组信号强度的方差;
    计算所述多组信号强度的25%分位数I1、中位数I2和75%分位数I3,删除所述多组信号强度中I2±I区间之外的信号强度,其中,I=(I3-I1)/2;
    对所述多组信号强度中剩余的信号强度进行计算得到所述信号强度的最大值、信号强度的最小值、信号强度的平均值。
  6. 根据权利要求5所述的数字钥匙的标定方法,其特征在于,当所述多组信号强度的数据量大于预设数量时,获取所述修正参数的方法,包括:
    判断最新获取的信号强度是否满足预设条件,若是,则将所述最新获得的信号强度删除,否则将最新获取的信号强度添加至所述多组信号强度后,更新所述信号强度的最大值、信号强度的最小值、信号强度的平均值。
  7. 根据权利要求6所述的数字钥匙的标定方法,其特征在于,所述预设条件为:
    式中,xt表示最新获取的信号强度,μ表示信号强度的平均值,σ表示信号强度的方差。
  8. 一种数字钥匙的标定系统,其特征在于,包括:
    信号强度获取模块,配置为实时获取所述数字钥匙的当前信号强度;
    信号强度标准化模块,配置为基于预先存储的修正参数对所述当前信号强度进行修正,以得到标准化信号强度;
    预设动作执行模块,配置为在所述标准化信号强度等于目标信号强度时,基于预先存储的目标信号强度与预设执行动作的对应关系,执行所述目标信号强度对应的预设执行动作。
  9. 一种控制器,其包括存储器与处理器,其特征在于,所述存储器存储有计算机程序,所述程序在被所述处理器执行时能够实现权利要求1至7中任意一项权利要求所述的方法的步骤。
  10. 一种计算机可读存储介质,用于存储计算机指令,其特征在于,所述指令在由一计算机或处理器执行时实现如权利要求1至7中任意一项权利要求所述的方法的步骤。
PCT/CN2024/128008 2023-12-20 2024-10-29 数字钥匙的标定方法、标定系统、控制器及存储介质 Pending WO2025130355A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311767005.2A CN117831164A (zh) 2023-12-20 2023-12-20 数字钥匙的标定方法、标定系统、控制器及存储介质
CN202311767005.2 2023-12-20

Publications (1)

Publication Number Publication Date
WO2025130355A1 true WO2025130355A1 (zh) 2025-06-26

Family

ID=90518217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/128008 Pending WO2025130355A1 (zh) 2023-12-20 2024-10-29 数字钥匙的标定方法、标定系统、控制器及存储介质

Country Status (2)

Country Link
CN (1) CN117831164A (zh)
WO (1) WO2025130355A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117831164A (zh) * 2023-12-20 2024-04-05 蔚来汽车科技(安徽)有限公司 数字钥匙的标定方法、标定系统、控制器及存储介质
CN119729347B (zh) * 2025-02-27 2025-07-08 江西五十铃汽车有限公司 一种基于uwb实体钥匙的蓝牙钥匙标定方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017175467A (ja) * 2016-03-24 2017-09-28 キヤノン株式会社 通信装置とその制御方法、及びプログラム
CN115714792A (zh) * 2022-11-08 2023-02-24 浙江极氪智能科技有限公司 数字钥匙标定方法、移动终端、云端服务器及存储介质
US20230080147A1 (en) * 2021-09-16 2023-03-16 Toyota Jidosha Kabushiki Kaisha Information processing device, vehicle, information processing method, and non-transitory recording medium in which computer program is recorded
CN116279296A (zh) * 2023-03-23 2023-06-23 浙江零跑科技股份有限公司 一种车门控制方法、设备和存储介质
CN116801382A (zh) * 2023-06-30 2023-09-22 阿维塔科技(重庆)有限公司 一种车辆定位方法、系统及计算机可读存储介质
CN117831164A (zh) * 2023-12-20 2024-04-05 蔚来汽车科技(安徽)有限公司 数字钥匙的标定方法、标定系统、控制器及存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017191480A1 (en) * 2016-05-02 2017-11-09 Dura Automotive Systems Control system and method for a vehicle
JP7234170B2 (ja) * 2020-02-14 2023-03-07 株式会社東芝 測距装置及び測距方法
CN112839131B (zh) * 2020-12-29 2022-04-08 浙江吉利控股集团有限公司 一种车辆的蓝牙钥匙激活方法及系统
CN113271160B (zh) * 2021-05-07 2022-10-14 远峰科技股份有限公司 用于数字钥匙系统的信号定位标定方法及系统
CN114861825B (zh) * 2022-05-31 2025-07-08 上海银基信息安全技术股份有限公司 数字钥匙端定位性能分类方法及装置、分类设备及介质
CN115563504A (zh) * 2022-10-12 2023-01-03 联合汽车电子有限公司 基于定位模型的定位方法
CN115460545B (zh) * 2022-11-09 2023-03-24 小米汽车科技有限公司 数字钥匙的标定方法、标定装置、车辆、存储介质及芯片
CN115795364B (zh) * 2022-12-16 2026-03-03 长春理工大学 一种基于rfid无源感知的多模态人体动作识别系统及方法
CN117133145A (zh) * 2023-07-17 2023-11-28 青岛理工大学 基于lstm网络的泊车引导和反向寻车的系统及方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017175467A (ja) * 2016-03-24 2017-09-28 キヤノン株式会社 通信装置とその制御方法、及びプログラム
US20230080147A1 (en) * 2021-09-16 2023-03-16 Toyota Jidosha Kabushiki Kaisha Information processing device, vehicle, information processing method, and non-transitory recording medium in which computer program is recorded
CN115714792A (zh) * 2022-11-08 2023-02-24 浙江极氪智能科技有限公司 数字钥匙标定方法、移动终端、云端服务器及存储介质
CN116279296A (zh) * 2023-03-23 2023-06-23 浙江零跑科技股份有限公司 一种车门控制方法、设备和存储介质
CN116801382A (zh) * 2023-06-30 2023-09-22 阿维塔科技(重庆)有限公司 一种车辆定位方法、系统及计算机可读存储介质
CN117831164A (zh) * 2023-12-20 2024-04-05 蔚来汽车科技(安徽)有限公司 数字钥匙的标定方法、标定系统、控制器及存储介质

Also Published As

Publication number Publication date
CN117831164A (zh) 2024-04-05

Similar Documents

Publication Publication Date Title
WO2025130355A1 (zh) 数字钥匙的标定方法、标定系统、控制器及存储介质
CN111147079B (zh) 一种采样频率自适应可调的数据采集方法及装置
CN113498099B (zh) 数据包时延抖动监测方法及设备
DE112018001683T5 (de) Verfahren und Vorrichtungen zur Sendeleistungssteuerung
CN105451248B (zh) 一种数据采集系统及数据采集方法
CN109274450A (zh) 通信系统
CN113271160B (zh) 用于数字钥匙系统的信号定位标定方法及系统
CN117197927A (zh) 智能锁的控制方法、智能锁控制系统和智能锁
CN111736648B (zh) 输出电压控制方法、装置及终端设备
CN114701451B (zh) Rssi值标定方法及装置、智能设备及存储介质
CN106618499A (zh) 跌倒检测设备、跌倒检测方法及装置
CN108551526A (zh) 计算距离的方法及装置
CN118870294A (zh) 一种数字蓝牙钥匙参数标定方法和装置
WO2016107089A1 (zh) 信道质量指示信息的调整方法及装置、移动终端、存储介质
CN119729347A (zh) 一种基于uwb实体钥匙的蓝牙钥匙标定方法及系统
CN108495232B (zh) 一种麦克风音量的调节方法、装置、麦克风及存储介质
CN107305247B (zh) 信道模型公式修正方法、装置及设备
CN111053569B (zh) 一种基于定位系统的体态判断方法、装置及存储介质
CN111641913A (zh) 屏幕亮度控制方法、装置、计算机设备和可读存储介质
CN117312871A (zh) 波特率自适应方法、装置和设备
CN116879837A (zh) 位置确定方法、装置、设备及存储介质
WO2026062703A1 (en) System and method for mobile access control using signal strength calibration
CN113127751B (zh) 用户画像构建方法、装置、设备及计算机可读存储介质
CN105897357B (zh) 一种基于减少采样点数的快速两步能量检测算法
CN119946597B (zh) 一种基于蓝牙信号的数据处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24905843

Country of ref document: EP

Kind code of ref document: A1