Key positioning method and device based on signal strength, equipment and storage medium

By constructing a signal strength and similarity set to determine the positioning area of ​​the digital car key, the problem of low positioning accuracy caused by the fixed k value in Bluetooth positioning is solved, and higher positioning accuracy and stability are achieved.

CN119399857BActive Publication Date: 2025-10-10BEIJING WATCH SMART TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411301982.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-10-10
Estimated Expiration
2044-09-18

AI Technical Summary

Technical Problem

In existing Bluetooth positioning methods, the fixed k value makes it impossible to eliminate data with large positioning deviations, resulting in low positioning accuracy of the digital key.

Method used

By obtaining the signal strength values ​​received by multiple signal receiving devices on the vehicle, the signal strength values ​​and their corresponding coordinate positions whose similarity meets the preset requirements are screened out, a position and similarity set is constructed, the intersection is taken to determine the positioning area of ​​the digital car key, and the final position is calculated using the weighted coefficient.

Benefits of technology

It improves the positioning accuracy and stability of digital car keys, reduces environmental impact, and enhances user experience and system operation speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119399857B_ABST
    Figure CN119399857B_ABST
Patent Text Reader

Abstract

The disclosure provides a key positioning method and device based on signal strength, equipment and storage medium, the method comprises: obtaining the signal strength value of the target signal received by a plurality of signal receiving devices on the vehicle; for any signal strength value, at least one target first signal strength value whose similarity meets the preset similarity requirement is screened out from the database, and each target first signal strength value corresponds to a target coordinate position; a first position set corresponding to the signal strength value and a first similarity set are constructed; the intersection of a plurality of first position sets corresponding to a plurality of signal strength values is obtained to obtain a second position set; based on a plurality of first similarity sets corresponding to a plurality of signal strength values, a second similarity set corresponding to the second position set is constructed; based on the second position set and the second similarity set, the positioning area of the digital car key is determined. The embodiment of the disclosure can improve the accuracy of key positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of positioning technology, and in particular to a key positioning method, device, equipment and storage medium based on signal strength. Background Art

[0002] With the continuous development of the smart technology industry, the process of vehicle intelligence and networking has accelerated. Car keys have evolved from mechanical keys to remote radio frequency keys to digital keys with Passive Entry Passive Start (PEPS). More and more vehicles are equipped with digital car keys. Digital car keys control the vehicle based on digital signals and can unlock the vehicle and perform other operations without the use of mechanical keys or any other operation. They can be carried by mobile communication devices such as mobile phones, watches, and bracelets.

[0003] Currently, Bluetooth Low Energy (BLE) has become the preferred wireless technology for digital car keys due to its ubiquity, low cost, and low power consumption. The Bluetooth key positioning system mainly uses the on-board Bluetooth module to detect the signal strength value (Receive Signal Strength Indicator, RSSI) of the BLE digital key to estimate the key's position relative to the vehicle, and then generate a corresponding vehicle control request.

[0004] Currently, Bluetooth positioning primarily relies on fingerprint positioning. However, due to the fixed k value, this method cannot eliminate data with significant positioning deviations, resulting in low positioning accuracy for digital keys. For example, when the k value is too small, the algorithm may be affected by noise and outliers, reducing positioning accuracy. When the k value is too large, it may overlook truly representative signal features, resulting in inaccurate positioning results. Therefore, selecting the appropriate k value is crucial to improving positioning system performance. Summary of the Invention

[0005] In view of this, the present disclosure proposes a key positioning method, device, equipment and storage medium based on signal strength to solve the problem of low positioning accuracy of digital keys existing in the related art.

[0006] A first embodiment of the present disclosure provides a key positioning method based on signal strength, the method comprising:

[0007] Obtaining signal strength values ​​of a target signal received by multiple signal receiving devices on a vehicle; the target signal is sent by a digital vehicle key matched with the vehicle;

[0008] For any one of the multiple signal strength values, at least one target first signal strength value whose similarity to the signal strength value meets a preset similarity requirement is screened from a database, along with a target coordinate position corresponding to each target first signal strength value; the database includes the coordinate positions of multiple calibration points and multiple first signal strength values ​​corresponding to each calibration point; each first signal strength value is a strength value of a target signal transmitted by a digital vehicle key located at the corresponding calibration point when received by a corresponding signal receiving device;

[0009] Constructing a first position set and a first similarity set corresponding to the signal strength values; the first position set includes at least one target coordinate position corresponding one-to-one to the first signal strength value of the at least one target; the first similarity set includes the similarity between the signal strength value and the first signal strength value of the at least one target;

[0010] Intersecting a plurality of first position sets corresponding to the plurality of signal strength values, to obtain a second position set; the second position set including at least one common target coordinate position;

[0011] Based on the multiple first similarity sets corresponding to the multiple signal strength values, respectively, a second similarity set corresponding to the second position set is constructed; the second similarity set includes multiple second similarities; each second similarity refers to the target first similarity corresponding to each common target coordinate position in each first similarity set;

[0012] Based on the second position set and the second similarity set, a positioning area of ​​the digital car key is determined.

[0013] The embodiment of the present disclosure obtains a second position set by taking the intersection of multiple first position sets corresponding to multiple signal strength values, constructs a second similarity set corresponding to the second position set based on multiple first similarity sets corresponding to the multiple signal strength values, and determines the positioning area of ​​the digital car key based on the second position set and the second similarity set, thereby greatly improving the accuracy of key positioning.

[0014] In an embodiment of the present disclosure, before screening from the database at least one target first signal strength value whose similarity to the signal strength value meets a preset similarity requirement, and the target coordinate position corresponding to each target first signal strength value, the method further includes:

[0015] sorting the plurality of first signal strength values ​​from largest to smallest according to the signal strength values;

[0016] Filtering out a plurality of second signal strength values ​​whose signal strength values ​​are less than a preset value from the sorted plurality of first signal strength values;

[0017] selecting top k signal strength values from the plurality of second signal strength values as the plurality of signal strength values; wherein the value of k is determined by the number of signal receiving devices on the vehicle.

[0018] In the embodiments of the present disclosure, after obtaining the second position set, the method further comprises:

[0019] if the second position set is empty and k is greater than or equal to the first preset number, selecting top k-1 signal strength values from the plurality of second signal strength values;

[0020] taking the k-1 signal strength values as the plurality of signal strength values, repeating the step of selecting at least one target first signal strength value from the database that meets the preset similarity requirement with any one signal strength value in the plurality of signal strength values, until the second position set is a non-empty set.

[0021] In the embodiments of the present disclosure, the method further comprises:

[0022] if the second position set is empty and k is less than the first preset number, taking the k signal strength values as the plurality of signal strength values, repeating the step of selecting at least one target first signal strength value from the database that meets the preset similarity requirement with any one signal strength value in the plurality of signal strength values, until the second position set is a non-empty set; wherein the preset similarity requirement is a second similarity requirement.

[0023] In the embodiments of the present disclosure, based on the plurality of first similarity sets respectively corresponding to the plurality of signal strength values, a second similarity set corresponding to the second position set is constructed, comprising:

[0024] for any one of the at least one common target coordinate position, selecting a target first similarity corresponding to the common target coordinate position from each first similarity set to obtain a plurality of target first similarities corresponding to the common target coordinate position;

[0025] taking the target first similarity as a second similarity, and constructing the second similarity set according to a plurality of second similarities.

[0026] In the embodiments of the present disclosure, the second similarity set comprises a plurality of second sub-similarity sets corresponding to the plurality of signal receiving devices one by one; each second sub-similarity set comprises a plurality of second similarities;

[0027] Determining a location area of ​​the digital car key based on the second position set and the second similarity set includes:

[0028] For any one of the plurality of signal receiving devices, based on the target coordinate position shared by the signal receiving device and the at least one target, screening out at least one target second similarity from the second similarity set;

[0029] Based on the at least one target second similarity, calculating at least one first weighting coefficient corresponding one-to-one to the at least one common target coordinate position;

[0030] Based on the at least one common target coordinate position and the first weighting coefficient corresponding to each common target coordinate position, the target secondary position corresponding to the signal receiving device is calculated to obtain multiple target secondary positions corresponding to multiple signal receiving devices.

[0031] In the embodiment of the present disclosure, after obtaining a plurality of target secondary positions corresponding to a plurality of signal receiving devices, the method further includes:

[0032] Based on the multiple target sub-positions and the second weighting coefficient corresponding to each target sub-position, the final target position of the digital car key is calculated; wherein each second weighting coefficient is calculated based on the second similarity corresponding to each target sub-position.

[0033] In an embodiment of the present disclosure, the method further includes:

[0034] According to the final target position and the dimensions of the vehicle in all directions, the position area of ​​the digital car key relative to the vehicle and the shortest distance from the position of the digital car key to the vehicle body are determined.

[0035] In an embodiment of the present disclosure, the method further includes:

[0036] performing a validity check on the final target location according to the location area, the shortest distance, and the sorting result of the plurality of first signal strength values;

[0037] If the validity check passes, the final target position and the corresponding position validity identifier are output;

[0038] If the validity check fails, an invalid position flag is output.

[0039] An embodiment of a second aspect of the present disclosure provides a key positioning device based on signal strength, comprising:

[0040] A signal strength value acquisition module, configured to acquire signal strength values ​​of target signals received by multiple signal receiving devices on a vehicle; the target signals are sent by a digital vehicle key matched with the vehicle;

[0041] a data screening module configured to screen, from a database, for any one of a plurality of signal strength values, at least one target first signal strength value whose similarity to the signal strength value satisfies a preset similarity requirement, and a target coordinate position corresponding to each target first signal strength value; the database comprising the coordinate positions of a plurality of calibration points and a plurality of first signal strength values ​​corresponding to each calibration point; each first signal strength value being a strength value of a target signal transmitted by a digital vehicle key located at the corresponding calibration point, received by a corresponding signal receiving device;

[0042] a set construction module, configured to construct a first position set and a first similarity set corresponding to the signal strength values; the first position set comprising at least one target coordinate position corresponding one-to-one to the first signal strength value of the at least one target; and the first similarity set comprising similarities between the signal strength values ​​and the first signal strength value of the at least one target;

[0043] an intersection processing module, configured to intersect a plurality of first position sets corresponding to the plurality of signal strength values ​​to obtain a second position set; the second position set including at least one common target coordinate position;

[0044] a second similarity set construction module, configured to construct a second similarity set corresponding to the second position set based on a plurality of first similarity sets corresponding to the plurality of signal strength values; the second similarity set comprising a plurality of second similarities; each second similarity being a target first similarity corresponding to each common target coordinate position in each first similarity set;

[0045] A positioning area determination module is used to determine the positioning area of ​​the digital car key based on the second position set and the second similarity set.

[0046] An embodiment of the third aspect of the present disclosure provides an electronic device, which includes a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the signal strength-based key positioning method described in the first aspect by executing the computer instructions.

[0047] An embodiment of the fourth aspect of the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are used to enable a computer to execute the key positioning method based on signal strength described in the first aspect.

[0048] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will become apparent from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Various other advantages and benefits will become apparent to those skilled in the art by reading the detailed description of the preferred embodiment below. The accompanying drawings are only for the purpose of illustrating the preferred embodiment and are not to be considered as limiting the present disclosure. In addition, the same reference numerals are used throughout the accompanying drawings to represent the same components.

[0050] In the attached figure:

[0051] Figure 1 A schematic diagram of a flow chart of a key positioning method based on signal strength provided by an embodiment of the present disclosure is shown;

[0052] Figure 2 A schematic diagram showing the installation location of a signal receiving device provided by an embodiment of the present disclosure;

[0053] Figure 3 A schematic diagram illustrating calibration of calibration points provided by an embodiment of the present disclosure is shown;

[0054] Figure 4 A schematic diagram showing the location area of ​​a digital car key relative to a vehicle provided by an embodiment of the present disclosure;

[0055] Figure 5 A schematic structural diagram of a key positioning device based on signal strength provided by an embodiment of the present disclosure is shown;

[0056] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown;

[0057] Figure 7 A schematic diagram of a storage medium provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0058] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0059] It should be noted that, unless otherwise specified, the technical or scientific terms used in the present disclosure should have the common meanings understood by those skilled in the art to which the present disclosure belongs.

[0060] The following describes the technical scenarios involved in the embodiments of the present disclosure.

[0061] Currently, Bluetooth positioning methods mainly include those based on signal propagation models and signal location fingerprints. The signal propagation model-based positioning method uses geometric principles to achieve target positioning. It has simple logic, low complexity, and no offline data collection. However, it is easily affected by the environment, which reduces its universality. The signal location fingerprint-based positioning method uses offline collected signal strength as fingerprint data to achieve positioning, which is more reliable than the signal propagation model. The commonly used fingerprint positioning method is the k-nearest neighbor algorithm, but due to the fixed k value in the application, it cannot eliminate data with large deviations. To improve the accuracy of fingerprint positioning, machine learning models are used to extract features from fingerprint data and online data, effectively improving positioning accuracy. However, machine learning requires a large amount of data and has high system complexity, which is not conducive to the real-time and high efficiency of vehicle-side applications.

[0062] With the replacement of vehicles, upgrade of digital car keys and the complexity and diversification of application scenarios, the common location fingerprint positioning method cannot eliminate data with large errors, affecting positioning accuracy and overall operating speed.

[0063] To solve the above problems, the present invention provides a positioning method based on Bluetooth signal strength, which improves the positioning accuracy of digital car keys and optimizes user experience.

[0064] According to an embodiment of the present disclosure, an embodiment of a key locating method based on signal strength is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0065] In this embodiment, a key positioning method based on signal strength is provided. Figure 1 is a flow chart of a key positioning method based on signal strength according to an embodiment of the present disclosure, such as Figure 1 As shown, the process includes the following steps:

[0066] Step S101: obtaining signal strength values ​​of target signals received by multiple signal receiving devices on a vehicle.

[0067] In the embodiment of the present disclosure, the signal receiving device can be understood as a BLE (Bluetooth Low Energy) module, which is used to receive the target signal sent by the digital car key matched with the vehicle located in the area to be located. A number of signal receiving devices can be installed on the vehicle. The specific number and specific installation location of the signal receiving devices can be set according to actual conditions. The specific number is generally greater than or equal to 4. The specific installation location is, for example, Figure 2 The target signal strength value may be represented by an RSSI (Receive Signal Strength Indicator, RSSI) value.

[0068] In some specific embodiments, the signal strength values ​​of all signal receiving devices on the vehicle within a preset time can be obtained, for example: the RSSI values ​​of all APs within 100ms; after receiving all the signal strength values, all RSSI values ​​can be combined into a one-dimensional vector according to the preset order of the signal receiving devices, namely the RSSI vector; wherein the RSSI value takes the absolute value, for example: the preset order of the signal receiving devices is AP0-AP1-AP2-AP3-AP4, then the one-dimensional vector is: RSSI = {RSSI0, RSSI1, RSSI2, RSSI3, RSSI4}.

[0069] In some specific embodiments, the obtained multiple signal strength values, namely RSSI vectors, are preprocessed to ensure the stability and real-time performance of the multiple first signal strength values. The preprocessing is specifically as follows:

[0070] Each RSSI vector is judged. If the signal receiving device is far away from the digital car key or cannot scan the target signal, the signal strength value (i.e. RSSI value) of the target signal received by the signal receiving device is replaced with 90 to form a new RSSI vector;

[0071] The new RSSI vector is smoothed and denoised. After experimental testing, 19 consecutive RSSI vectors are selected. The new data is placed at the end of each measurement. The data with an RSSI value of 90 is removed. The maximum and minimum values ​​of the remaining data are calculated. The difference between the maximum and minimum values ​​is taken. If the difference is greater than the threshold, the median of the remaining data is taken as the latest data; if the difference is less than the threshold, it remains unchanged. Then Gaussian filtering is performed, with the new value accounting for a larger proportion and the old value accounting for a smaller proportion. The pre-processed RSSI vector rssi = {rssi1,rssi2,…,rssi n}, improve the stability and real-time performance of the online RSSI vector.

[0072] In some specific embodiments, before step S102, the method includes steps a1 to a3:

[0073] Step a1: sorting the plurality of first signal strength values ​​from large to small according to the signal strength values.

[0074] In the disclosed embodiment, in the RSSI value, the closer the value is to 0, the stronger the signal; the smaller the value (i.e., the more negative the value), the weaker the signal. Among them, a strong signal is approximately between -30dBm and -70dBm. A medium signal may be between -71dBm and -90dBm. A weak signal is usually below -91dBm. The sorted multiple first signal strength values ​​can be expressed by the following formula:

[0075] rssi′={rssi1',rssi'2,…,rssi' n}

[0076] Among them, rssi'1≤rssi'2,…≤rssi' n , each rssi′ is the result of taking the absolute value.

[0077] Step a2: Filter out a plurality of second signal strength values ​​whose signal strength values ​​are smaller than a preset value from the sorted plurality of first signal strength values.

[0078] In this disclosed embodiment, a signal greater than 90dBm is considered a weak signal. Therefore, the preset value can be set to 90dBm. m second signal strength values ​​are selected from n first signal strength values, where m depends on the number of second signal strength values ​​that are less than the preset value. If m = 0, the current positioning calculation ends and an invalid position flag is output.

[0079] Step a3: Filter out first k signal strength values ​​from the multiple second signal strength values, and use the k signal strength values ​​as the multiple signal strength values.

[0080] In the disclosed embodiment, the value of k is determined by the number of signal receiving devices on the vehicle. The number of signal receiving devices visible from different directions on the vehicle body must be at least two, i.e., k ≥ 2. For example, when the number of signal receiving devices n = 4, k = 2; and when n = 5, k = 3. Furthermore, if k ≤ m, k remains unchanged; if k > m, k = m + 1.

[0081] Step S102 : for any one of the multiple signal strength values, filter out from the database at least one target first signal strength value whose similarity with the signal strength value meets a preset similarity requirement, and the target coordinate position corresponding to each target first signal strength value.

[0082] In some specific embodiments, the database includes the coordinate positions of multiple calibration points and multiple first signal strength values ​​corresponding to each calibration point. Each first signal strength value refers to the strength value of the target signal sent by the digital car key located at the corresponding calibration point when received by the corresponding signal receiving device. For example, as shown in the following formula:

[0083]

[0084] Among them, F N represents the above database, N represents the number of calibration points, n represents the corresponding signal receiving device, θ is the polar angle in the position coordinate, r is the polar diameter in the position coordinate, θ N and r N Indicates the coordinate position of the calibration point N, Indicates the strength value of the target signal sent by the digital car key located at the calibration point N when the signal receiving device n receives it.

[0085] In some specific embodiments, the database is constructed by the following steps:

[0086] Multiple signal receiving devices are set on the experimental vehicle, and multiple calibration points are set around the experimental vehicle. At each calibration point, a digital car key matching the experimental vehicle is used to send a target signal to the experimental vehicle. The signal strength value of the target signal received by each signal receiving device on the experimental vehicle is detected, and the coordinate position of the calibration point is recorded at the same time. The coordinate position can be in polar coordinates; and a database is established based on this.

[0087] In the embodiment of the present disclosure, the number of calibration points set around the experimental vehicle can be determined by: Figure 3 , with the center of the vehicle body as the center, establish multiple concentric circles around the vehicle body. The widths of the concentric circles are equal or unequal. The concentric circles are divided into equal angles. The intersection of the dividing line and the arc is the calibration point. The number of calibration points can be adjusted by the angle size and the number of concentric circles, which is determined according to the actual application.

[0088] In the embodiment of the present disclosure, in the process of detecting the signal strength value of the target signal received by each signal receiving device on the experimental vehicle, the signal strength values ​​collected within a certain period of time are removed from the beginning and the end of the data, and the three-fold mean error method is used to eliminate the data with large deviations from the remaining data. Then, the average value of the remaining data is calculated as the fingerprint vector of the point, and finally a database after error processing is obtained.

[0089] In some specific embodiments, the above step S102 is described through the following specific examples:

[0090] When multiple signal strength values ​​are obtained, that is: rssi′={rssi1′,rssi′2,…,rssi′ n}, first determine multiple first signal strength values ​​corresponding to the signal receiving device 1 from the database, namely:

[0091]

[0092] Then, similarity calculation is performed on the signal strength value rssi'1 of the target signal received by the signal receiving device 1 and the plurality of first signal strength values ​​mentioned above;

[0093] Finally, at least one target first signal strength value whose similarity meets the preset similarity requirement is screened out, as well as the target coordinate position corresponding to each target first signal strength value. For example, when the target first signal strength value includes and When , the corresponding target coordinate positions include: The corresponding θ1 and r1, as well as The corresponding θ N and r N .

[0094] The preset similarity requirements include the following formulas (1) and (2). When the similarity satisfies both formulas (1) and (2), it is considered to meet the preset similarity requirements.

[0095]

[0096] Where i = 1, 2…k, j = 1, 2…N, σ1 and σ2 control the width between the concentric circles, and the size can be continuously adjusted according to the density of the marking points and the actual application effect.

[0097] The above method is repeatedly executed to filter out from the database at least one target first signal strength value whose similarity with the signal strength value meets the preset similarity requirement, and the target coordinate position corresponding to each target first signal strength value.

[0098] Step S103: construct a first position set and a first similarity set corresponding to the signal strength values.

[0099] In an embodiment of the present disclosure, a first position set and a first similarity set can be constructed based on at least one target first signal strength value filtered out in step S102, and the target coordinate position corresponding to each target first signal strength value; wherein the first position set includes at least one target coordinate position corresponding one-to-one to the at least one target first signal strength value; and the first similarity set includes the similarities between the signal strength values ​​and the at least one target first signal strength value.

[0100] Step S104: Intersect a plurality of first position sets corresponding to the plurality of signal strength values ​​to obtain a second position set.

[0101] Specifically, the second position set includes at least one common target coordinate position.

[0102] In some specific embodiments, after the above step S104, the method further includes steps b1 to b4:

[0103] Step b1: If the second position set is empty and k is greater than or equal to a first preset number, filter out the first k-1 signal strength values ​​from the multiple second signal strength values.

[0104] The first preset number includes but is not limited to 3, that is, when k≥3, the first two signal strength values ​​are screened out from the multiple second signal strength values.

[0105] Step b2: taking the k-1 signal strength values ​​as the multiple signal strength values, repeatedly performing the step of screening out from the database at least one target first signal strength value whose similarity with the signal strength value meets the preset similarity requirement for any one of the multiple signal strength values, until the second position set is a non-empty set.

[0106] Step b3: If the second position set is empty and k is less than the first preset number, the k signal strength values ​​are used as the multiple signal strength values, and the step of screening out from the database at least one target first signal strength value whose similarity with the signal strength value meets the preset similarity requirement for any one of the multiple signal strength values ​​is repeatedly performed until the second position set is a non-empty set; wherein the preset similarity requirement is the second similarity requirement.

[0107] The second similarity requirement can be understood as the following inequality:

[0108]

[0109] Step S105 : constructing a second similarity set corresponding to the second position set based on the multiple first similarity sets respectively corresponding to the multiple signal strength values.

[0110] Specifically, the second similarity set includes multiple second similarities; each second similarity refers to the target first similarity corresponding to each common target coordinate position in each first similarity set.

[0111] In some specific embodiments, the above step S105 includes steps S1051 and S1052:

[0112] Step S1051 : For any one of the at least one shared target coordinate position, select a target first similarity corresponding to the shared target coordinate position from each first similarity set to obtain a plurality of target first similarities corresponding to the shared target coordinate position.

[0113] In the embodiment of the present disclosure, in the process of screening out the first target similarity, the target first signal strength value corresponding to the common target coordinate position can be first screened out from the first position set; then, the similarity corresponding to the target first signal strength value is screened out from the first similarity set, and the similarity is used as the target first similarity.

[0114] Step S1052: Taking the target first similarity as the second similarity, and constructing the second similarity set according to the plurality of second similarities.

[0115] Step S106: Determine the positioning area of ​​the digital car key based on the second position set and the second similarity set.

[0116] In some specific embodiments, the second similarity set includes multiple second sub-similarity sets corresponding one-to-one to multiple signal receiving devices; each second sub-similarity set includes multiple second similarities; the above step S106 includes steps S1061 to S1064:

[0117] Step S1061 : for any one of the plurality of signal receiving devices, based on the target coordinate position shared by the signal receiving device and the at least one target, filter out at least one target second similarity from the second similarity set.

[0118] Specifically, the second similarity set Dis t×k Includes t×k second similarities, for example: Dis 1×2 Indicates the second similarity corresponding to the first shared target coordinate position and the second signal receiving device. Thus, at least one target second similarity corresponding to the shared target coordinate position and the signal receiving device can be screened out from the second similarity set.

[0119] Step S1062: Based on the at least one target second similarity, calculate at least one first weighting coefficient corresponding to the at least one common target coordinate position.

[0120] Specifically, the first weighting coefficient can be calculated by the following formula:

[0121]

[0122] in, represents the first weighting coefficient, represents the second similarity of the target corresponding to the target coordinate position shared by the i-th signal receiving device and the t-th signal receiving device.

[0123] Step S1063, based on the at least one common target coordinate position and the first weighting coefficient corresponding to each common target coordinate position, calculate the target secondary position corresponding to the signal receiving device to obtain multiple target secondary positions corresponding to multiple signal receiving devices.

[0124] Specifically, each shared target coordinate position and its corresponding first weighting coefficient can be weighted and summed to obtain the target secondary position corresponding to the signal receiving device in the following manner; finally, a corresponding number of target secondary positions can be determined based on the number of signal receiving devices.

[0125]

[0126] Among them, P i Indicates the target secondary location, Loc t Indicates the common target coordinate position, represents the corresponding first weighting coefficient.

[0127] Step S1064 : Calculating the final target position of the digital car key based on the multiple target sub-positions and the second weighting coefficient corresponding to each target sub-position.

[0128] Specifically, the final target position of the digital car key can be calculated according to the following formula (5), multiple target sub-positions, and the second weighting coefficient corresponding to each target sub-position. Each second weighting coefficient is calculated based on the second similarity corresponding to each target sub-position, such as shown in the following formula (4):

[0129]

[0130] In some specific embodiments, the method further comprises:

[0131] According to the final target position and the dimensions of the vehicle in all directions, the position area of ​​the digital car key relative to the vehicle and the shortest distance from the position of the digital car key to the vehicle body are determined.

[0132] In the embodiment of the present disclosure, the location area of ​​the digital car key relative to the vehicle can be determined based on the final target location, for example Figure 4 As shown, it includes: front welcome area, rear welcome area, left welcome area, right welcome area, front unlocking area, rear unlocking area, left unlocking area and right unlocking area.

[0133] In the disclosed embodiment, the distance from the digital key to the vehicle's center can be determined based on the final target location. Then, based on the distance from the digital key to the vehicle's center and the vehicle's dimensions in all directions, the shortest distance, i.e., the distance from the digital key to the vehicle's contour line, can be calculated. For example, the distance from the digital key to the vehicle's contour line can be calculated by subtracting the vehicle's length in that direction from the digital key's location.

[0134] In some specific embodiments, after obtaining the shortest distance, the method further includes:

[0135] Based on the shortest distance obtained, a sliding window of fixed size is set, and the Kalman filter is used in the window to smooth the distance, where the filter parameters Q = 0.1, R = 30, P = 1000. The parameter values ​​can be adjusted according to the actual test results. After filtering, the distance from the digital car key to the car body is obtained, which further improves the accuracy of the digital car key position estimation.

[0136] In some specific embodiments, the method further comprises:

[0137] Step c1, performing a validity check on the final target location based on the location area, the shortest distance, and the sorting result of the multiple first signal strength values;

[0138] Step c2: if the validity check passes, output the final target location and the corresponding location validity identifier;

[0139] Step c3: If the validity check fails, output an invalid position flag.

[0140] In the above steps c1 to c3, the validity check can be reflected in the following steps: obtain the sorting results of multiple first signal strength values ​​through step a1, and judge the direction area of ​​the digital car key relative to the vehicle; at the same time, use the shortest distance obtained in the above embodiment to obtain the distance area of ​​the digital car key relative to the vehicle; compare the direction area and the distance area with the position area of ​​the digital car key relative to the vehicle determined in the above embodiment; if both are the same, output the final position and the valid position mark; if the direction area is the same and the distance area is different, it is judged as an abnormal area and eliminated, and the invalid position mark is output; if the direction area is different and the distance area is the same, output the current distance position and the last direction position, and output the valid position mark; if both are different, directly output the invalid position mark.

[0141] In some specific embodiments, the similarity is calculated in a manner including but not limited to Euclidean distance; the coordinate positions of the calibration points in the database include but are not limited to being expressed using polar coordinates.

[0142] The embodiments of the present disclosure have the following technical effects:

[0143] (1) Reduce environmental impact and improve positioning robustness;

[0144] (2) Improve the positioning accuracy and stability of digital car keys and enhance user experience;

[0145] (3) Ensure accuracy while improving the overall operating speed of the system.

[0146] Corresponding to the implementation of the above key positioning method based on signal strength, the embodiment of the present disclosure also provides a key positioning device based on signal strength, which is used to perform the above Figures 1 to 4 The key positioning method based on signal strength described in any of the illustrated embodiments. Figure 5 As shown, the key positioning device based on signal strength includes:

[0147] A signal strength value acquisition module, configured to acquire signal strength values ​​of target signals received by multiple signal receiving devices on a vehicle; the target signals are sent by a digital vehicle key matched with the vehicle;

[0148] a data screening module configured to screen, from a database, for any one of a plurality of signal strength values, at least one target first signal strength value whose similarity to the signal strength value satisfies a preset similarity requirement, and a target coordinate position corresponding to each target first signal strength value; the database comprising the coordinate positions of a plurality of calibration points and a plurality of first signal strength values ​​corresponding to each calibration point; each first signal strength value being a strength value of a target signal transmitted by a digital vehicle key located at the corresponding calibration point, received by a corresponding signal receiving device;

[0149] a set construction module, configured to construct a first position set and a first similarity set corresponding to the signal strength values; the first position set comprising at least one target coordinate position corresponding one-to-one to the first signal strength value of the at least one target; and the first similarity set comprising similarities between the signal strength values ​​and the first signal strength value of the at least one target;

[0150] an intersection processing module, configured to intersect a plurality of first position sets corresponding to the plurality of signal strength values ​​to obtain a second position set; the second position set including at least one common target coordinate position;

[0151] a second similarity set construction module, configured to construct a second similarity set corresponding to the second position set based on a plurality of first similarity sets corresponding to the plurality of signal strength values; the second similarity set comprising a plurality of second similarities; each second similarity being a target first similarity corresponding to each common target coordinate position in each first similarity set;

[0152] A positioning area determination module is used to determine the positioning area of ​​the digital car key based on the second position set and the second similarity set.

[0153] Optionally, the device also includes: a signal strength value screening module, used to sort multiple first signal strength values ​​from large to small according to the size of the signal strength values; screen out multiple second signal strength values ​​whose signal strength values ​​are less than a preset value from the sorted multiple first signal strength values; screen out the first k signal strength values ​​from the multiple second signal strength values, and use the k signal strength values ​​as the multiple signal strength values; wherein the value of k is determined by the number of signal receiving devices on the vehicle.

[0154] Optionally, the device also includes: a judgment module, configured to, after obtaining the second position set, if the second position set is empty and k is greater than or equal to a first preset number, filter out the first k-1 signal strength values ​​from the multiple second signal strength values; use the k-1 signal strength values ​​as the multiple signal strength values, and repeatedly perform the step of filtering out at least one target first signal strength value from the database whose similarity with any one of the multiple signal strength values ​​meets a preset similarity requirement, until the second position set is a non-empty set; if the second position set is empty and k is less than the first preset number, use the k signal strength values ​​as the multiple signal strength values, and repeatedly perform the step of filtering out at least one target first signal strength value from the database whose similarity with any one of the multiple signal strength values ​​meets a preset similarity requirement, until the second position set is a non-empty set; wherein the preset similarity requirement is a second similarity requirement.

[0155] Optionally, the second similarity set construction module is also used to: for any one of the at least one common target coordinate positions, filter out the target first similarity corresponding to the common target coordinate position from each first similarity set, and obtain multiple target first similarities corresponding to the common target coordinate position; use the target first similarity as the second similarity, and construct the second similarity set based on the multiple second similarities.

[0156] Optionally, the second similarity set includes multiple second sub-similarity sets corresponding one-to-one to multiple signal receiving devices; each second sub-similarity set includes multiple second similarities; the positioning area determination module is also used to: for any one of the multiple signal receiving devices, based on the signal receiving device and the at least one common target coordinate position, filter out at least one target second similarity from the second similarity set; based on the at least one target second similarity, calculate at least one first weighting coefficient corresponding one-to-one to the at least one common target coordinate position; based on the at least one common target coordinate position and the first weighting coefficient corresponding to each common target coordinate position, calculate the target sub-position corresponding to the signal receiving device, and obtain multiple target sub-positions corresponding to multiple signal receiving devices.

[0157] Optionally, the final target position calculation module is used to calculate the final target position of the digital car key based on the multiple target sub-positions and the second weighting coefficient corresponding to each target sub-position after obtaining multiple target sub-positions corresponding to multiple signal receiving devices; wherein each second weighting coefficient is calculated based on the second similarity corresponding to each target sub-position.

[0158] Optionally, the device also includes: a shortest distance determination module, which is used to determine the position area of ​​the digital car key relative to the vehicle and the shortest distance from the position of the digital car key to the vehicle body based on the final target position and the dimensions of the vehicle in all directions.

[0159] Optionally, the device also includes: a validity check module, which is used to perform a validity check on the final target position based on the location area, the shortest distance, and the sorting results of the multiple first signal strength values; if the validity check passes, the final target position and the corresponding location validity mark are output; if the validity check fails, the location invalid mark is output.

[0160] The key positioning device based on signal strength provided by the above-mentioned embodiment of the present disclosure and the key positioning method based on signal strength provided by the embodiment of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.

[0161] The present disclosure also provides an electronic device to perform the above-mentioned key positioning method based on signal strength. Figure 6 , which shows a schematic diagram of an electronic device provided by some embodiments of the present disclosure. Figure 6As shown, the electronic device 6 includes: a processor 600, a memory 601, a bus 602 and a communication interface 603, wherein the processor 600, the communication interface 603 and the memory 601 are connected via the bus 602; the memory 601 stores a computer program that can be run on the processor 600, and the processor 600 executes the aforementioned Figures 1 to 4 A key positioning method based on signal strength is provided in any of the illustrated embodiments.

[0162] The memory 601 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage. The system network element and at least one other network element are connected via at least one communication interface 603 (which may be wired or wireless), and may use the Internet, a wide area network, a local area network, a metropolitan area network, or the like.

[0163] The bus 602 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 601 is used to store programs. The processor 600 executes the program after receiving the execution instruction. Figures 1 to 4 The key positioning method based on signal strength disclosed in any of the illustrated embodiments may be applied to the processor 600 or implemented by the processor 600 .

[0164] The processor 600 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method may be completed by hardware integrated logic circuits in the processor 600 or by software instructions. The processor 600 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It may implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure may be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 601 , and the processor 600 reads the information in the memory 601 and completes the steps of the above method in combination with its hardware.

[0165] The electronic device provided by the embodiment of the present disclosure and the key positioning method based on signal strength provided by the embodiment of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented by them.

[0166] The present disclosure also provides a computer-readable storage medium corresponding to the key positioning method based on signal strength provided in the above embodiment. Figure 7 The computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the key positioning method based on signal strength provided in any of the aforementioned embodiments is executed.

[0167] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0168] The computer readable storage medium provided by the above embodiments of the present disclosure has the same beneficial effects as the signal strength-based key positioning method provided by the embodiments of the present disclosure, and has the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0169] It should be noted that:

[0170] In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the disclosure can be practiced without these specific details. In some instances, well-known structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

[0171] Similarly, it is to be understood that the above-described embodiments of the present disclosure have been presented for purposes of illustration to facilitate an understanding of the various inventive aspects of the present disclosure. Various features of the present disclosure are sometimes grouped together in a single embodiment, figure, or description of related features, for the purposes of streamlining the disclosure and aiding in the understanding of one or more of the inventive aspects. However, disclosure of recited aspects is not to be interpreted, in any patent law sense, that the inventive aspects require more features than are explicitly recited in each claim. Rather, it is regarded that features of a single embodiment of the present disclosure that are indicative of one or more of the inventive aspects are integral only to that single embodiment and are not necessarily required for each and every embodiment. It is to be understood, therefore, that a specific claim to a single embodiment of the present disclosure should not be construed as an admission that other inventive aspects not specifically claimed in each claim are not combinable with the features of that single embodiment. The specific claims to each embodiment of the present disclosure should not be construed as the inclusive of more features than are expressly recited in each claim.

[0172] Further, those of ordinary skill in the art will appreciate that the various embodiments described herein which include certain features may be implemented or created in a manner that is different from the specific implementations described herein without departing from the scope of the present disclosure. For example, although the claims are formulated to the specific embodiments described herein, it should be understood that any of the claims (in isolation and in any combination) can be used to define and protect the embodiments of the present disclosure.

[0173] The above description is only the preferred embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any changes or substitutions easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A key positioning method based on signal strength, characterized in that: The method comprises: Obtaining signal strength values ​​of a target signal received by multiple signal receiving devices on a vehicle; the target signal is sent by a digital vehicle key matched with the vehicle; For any one of the multiple signal strength values, at least one target first signal strength value whose similarity to the signal strength value meets a preset similarity requirement is screened from a database, along with a target coordinate position corresponding to each target first signal strength value; the database includes the coordinate positions of multiple calibration points and multiple first signal strength values ​​corresponding to each calibration point; each first signal strength value is a strength value of a target signal transmitted by a digital vehicle key located at the corresponding calibration point when received by a corresponding signal receiving device; Constructing a first position set and a first similarity set corresponding to the signal strength values; the first position set includes at least one target coordinate position corresponding one-to-one to the first signal strength value of the at least one target; the first similarity set includes the similarity between the signal strength value and the first signal strength value of the at least one target; Intersecting a plurality of first position sets corresponding to the plurality of signal strength values, to obtain a second position set; the second position set including at least one common target coordinate position; Based on the multiple first similarity sets corresponding to the multiple signal strength values, respectively, a second similarity set corresponding to the second position set is constructed; the second similarity set includes multiple second similarities; each second similarity refers to the target first similarity corresponding to each common target coordinate position in each first similarity set; Based on the second position set and the second similarity set, a positioning area of ​​the digital car key is determined.

2. The method according to claim 1, characterized in that Before screening out from the database at least one target first signal strength value whose similarity to the signal strength value meets a preset similarity requirement, and the target coordinate position corresponding to each target first signal strength value, the method further includes: sorting the plurality of first signal strength values ​​from largest to smallest according to the signal strength values; Filtering out a plurality of second signal strength values ​​whose signal strength values ​​are less than a preset value from the sorted plurality of first signal strength values; The first k signal strength values ​​are screened out from the plurality of second signal strength values, and the k signal strength values ​​are used as the plurality of signal strength values; wherein the value of k is determined by the number of signal receiving devices on the vehicle.

3. The method according to claim 2, characterized in that After obtaining the second position set, the method further includes: If the second position set is empty, and k is greater than or equal to a first preset number, filtering out first k-1 signal strength values ​​from the plurality of second signal strength values; The k-1 signal strength values ​​are used as the multiple signal strength values, and the step of screening out from the database at least one target first signal strength value whose similarity with any one of the multiple signal strength values ​​meets a preset similarity requirement is repeated until the second position set is a non-empty set.

4. The method according to claim 3, characterized in that The method further comprises: If the second position set is empty and k is less than the first preset number, the k signal strength values ​​are used as the multiple signal strength values, and the step of screening out from the database at least one target first signal strength value whose similarity with any one of the multiple signal strength values ​​meets a preset similarity requirement is repeated until the second position set is a non-empty set; wherein the preset similarity requirement is a second similarity requirement.

5. The method according to claim 1 or 2, characterized in that Constructing a second similarity set corresponding to the second position set based on a plurality of first similarity sets respectively corresponding to the plurality of signal strength values ​​includes: For any one of the at least one shared target coordinate position, filter out a target first similarity corresponding to the shared target coordinate position from each first similarity set to obtain a plurality of target first similarities corresponding to the shared target coordinate position; The target first similarity is used as the second similarity, and the second similarity set is constructed according to the multiple second similarities.

6. The method according to claim 2, characterized in that The second similarity set includes a plurality of second sub-similarity sets corresponding one-to-one to a plurality of signal receiving devices; each second sub-similarity set includes a plurality of second similarities; Determining a location area of ​​the digital car key based on the second position set and the second similarity set includes: For any one of the plurality of signal receiving devices, based on the target coordinate position shared by the signal receiving device and the at least one target, screening out at least one target second similarity from the second similarity set; Based on the at least one target second similarity, calculating at least one first weighting coefficient corresponding one-to-one to the at least one common target coordinate position; Based on the at least one common target coordinate position and the first weighting coefficient corresponding to each common target coordinate position, the target secondary position corresponding to the signal receiving device is calculated to obtain multiple target secondary positions corresponding to multiple signal receiving devices.

7. The method according to claim 6, characterized in that After obtaining a plurality of target secondary positions corresponding to a plurality of signal receiving devices, the method further includes: Based on the multiple target sub-positions and the second weighting coefficient corresponding to each target sub-position, the final target position of the digital car key is calculated; wherein each second weighting coefficient is calculated based on the second similarity corresponding to each target sub-position.

8. The method according to claim 7, characterized in that The method further comprises: According to the final target position and the dimensions of the vehicle in all directions, the position area of ​​the digital car key relative to the vehicle and the shortest distance from the position of the digital car key to the vehicle body are determined.

9. The method according to claim 8, characterized in that The method further comprises: performing a validity check on the final target location according to the location area, the shortest distance, and the sorting result of the plurality of first signal strength values; If the validity check passes, the final target position and the corresponding position validity identifier are output; If the validity check fails, an invalid position flag is output.

10. A key positioning device based on signal strength, characterized in that: The device comprises: A signal strength value acquisition module, configured to acquire signal strength values ​​of target signals received by multiple signal receiving devices on a vehicle; the target signals are sent by a digital vehicle key matched with the vehicle; a data screening module configured to screen, from a database, for any one of a plurality of signal strength values, at least one target first signal strength value whose similarity to the signal strength value satisfies a preset similarity requirement, and a target coordinate position corresponding to each target first signal strength value; the database comprising the coordinate positions of a plurality of calibration points and a plurality of first signal strength values ​​corresponding to each calibration point; each first signal strength value being a strength value of a target signal transmitted by a digital vehicle key located at the corresponding calibration point, received by a corresponding signal receiving device; a set construction module, configured to construct a first position set and a first similarity set corresponding to the signal strength values; the first position set comprising at least one target coordinate position corresponding one-to-one to the first signal strength value of the at least one target; and the first similarity set comprising similarities between the signal strength values ​​and the first signal strength value of the at least one target; an intersection processing module, configured to intersect a plurality of first position sets corresponding to the plurality of signal strength values ​​to obtain a second position set; the second position set including at least one common target coordinate position; a second similarity set construction module, configured to construct a second similarity set corresponding to the second position set based on a plurality of first similarity sets corresponding to the plurality of signal strength values; the second similarity set comprising a plurality of second similarities; each second similarity being a target first similarity corresponding to each common target coordinate position in each first similarity set; A positioning area determination module is used to determine the positioning area of ​​the digital car key based on the second position set and the second similarity set.

11. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the signal strength-based key positioning method according to any one of claims 1 to 9 by executing the computer instructions.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the key positioning method based on signal strength according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Vehicle Bluetooth key positioning method and device, vehicle and storage medium

    CN115767714A

  • Digital car key positioning method, device and system

    WO2024031655A1