Digital key positioning method and device, vehicle-mounted terminal and vehicle

By obtaining the Bluetooth field strength value during digital key positioning and calculating the weighted average and offset value, the problem of difficulty in accurate positioning and high calibration cost of traditional positioning methods is solved, and the accurate positioning and security improvement of the digital key are achieved.

CN118612841APending Publication Date: 2024-09-06CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD

Patent Information

Application Number
CN202410674204.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The traditional RSSI data fingerprint database collection method is difficult to accurately locate in the field of digital key positioning, and requires calibration for different models of mobile terminals, which increases R&D labor costs and low cost performance.

Method used

By obtaining the Bluetooth field strength value of the digital key at multiple test points, perform a weighted average calculation, combine it with the preset field strength offset value for positioning, use the characteristics of the Bluetooth field strength to adaptively determine the weight, and determine the weight by calculating the offset value. Calibration values ​​for different models reduce calibration workload.

Benefits of technology

It achieves accurate positioning of digital keys, reduces calibration workload, improves adapted models, reduces costs and increases efficiency, and ensures vehicle safety and positioning accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612841A
    Figure CN118612841A
Patent Text Reader

Abstract

The invention provides a digital key positioning method and device, a vehicle-mounted terminal and a vehicle, and the method comprises the steps: obtaining Bluetooth field intensity values of a digital key at a plurality of test points, and obtaining a plurality of Bluetooth field intensity values; performing weighted average calculation based on the Bluetooth field intensity value of each test point and the preset weight of each test point to obtain a weighted Bluetooth field intensity value; a digital key is positioned through a weighted Bluetooth field intensity value and a preset field intensity offset value, the field intensity offset value comprises the field intensity offset value of a preset terminal machine type, the characteristic of Bluetooth field intensity is utilized, the weight is adaptively determined through the field intensity received by a test point, and calibration values of different machine types are determined by calculating the offset value. According to the method, the calibration workload is reduced, meanwhile, the adaptive machine type of the digital key for Bluetooth positioning is guaranteed, the digital key is positioned in combination with the weighted Bluetooth field intensity value and the offset value, the car key can be accurately positioned, and cost can be reduced and efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle Bluetooth positioning, and in particular to a digital key positioning method, device, vehicle-mounted terminal and vehicle. Background Art

[0002] With the development of new energy vehicles, digital keys have become an important part of automotive intelligence. Compared with traditional car keys, digital keys can achieve a safer and more convenient way to unlock and start vehicles. For smarter digital keys, they are generally integrated into mobile terminals. In the positioning technology of digital keys, low-power Bluetooth positioning technology is generally indispensable. Therefore, Bluetooth can play an important role in the power consumption and positioning function of digital keys.

[0003] At present, Bluetooth positioning methods are mainly concentrated on information matching algorithm calculation positioning. The application of Bluetooth positioning in the positioning of living things in factories and personnel in office areas is already very mature. However, the traditional RSSI data fingerprint library collection method is not yet mature in the field of digital key positioning. Therefore, it is difficult to accurately locate the mobile terminal corresponding to the digital key. In addition, different models of mobile terminals also need to be calibrated. However, calibrating each mobile terminal will increase the R&D labor cost, and the cost performance is very low. Summary of the invention

[0004] The present application provides a digital key positioning method, device and vehicle-mounted terminal to solve the above-mentioned technical problems.

[0005] An embodiment of the present application provides a digital key positioning method, the method comprising: obtaining Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values; calculating a weighted average value based on the Bluetooth field strength value of each test point and a preset weight of each test point to obtain a weighted Bluetooth field strength value; positioning the digital key through the weighted Bluetooth field strength value and a preset field strength bias value, the field strength bias value including a field strength bias value of a preset terminal model.

[0006] In one embodiment of the present application, the digital key is positioned using the weighted Bluetooth field strength value and the preset field strength bias value, including: summing the weighted Bluetooth field strength value and the preset field strength bias value to obtain a digital key positioning value; if the digital key positioning value is greater than or equal to the first preset positioning value, it is determined that the digital key is located in a valid area, and the valid area includes the interior of the vehicle and the unlocking area; if the digital key positioning value is greater than the first preset positioning value and less than or equal to the second preset positioning value, it is determined that the digital key is located in a pending area, and the pending area includes an unlocking buffer area, a locking area, and a welcome area; if the digital key positioning value is greater than or equal to the second preset positioning value and less than the third preset positioning value, it is determined that the digital key is located in a no-action area; if the digital key positioning value is less than the third preset positioning value, it is determined that the digital key is located in an invalid area.

[0007] In one embodiment of the present application, the weight of each test point is set based on the Bluetooth field strength value of each test point, including: detecting whether the Bluetooth field strength value is less than a preset field strength threshold; eliminating Bluetooth field strength values ​​that are less than the preset field strength threshold, and determining Bluetooth field strength values ​​that are greater than or equal to the preset field strength threshold as effective Bluetooth field strength values; and based on the effective Bluetooth field strength value, setting a weight for the test point corresponding to the effective Bluetooth field strength value.

[0008] In one embodiment of the present application, based on the effective Bluetooth field strength value, setting a weight for a test point corresponding to the effective Bluetooth field strength value includes: setting a weight for the test point corresponding to the effective Bluetooth field strength value in the following manner:

[0009]

[0010] Among them, ω i is the weight of the test point i corresponding to the effective field strength value in this positioning, RSSI i is the effective field strength value, δ is the field strength gain value, and n is a positive integer.

[0011] In one embodiment of the present application, based on the effective Bluetooth field strength value, a weight is set for the test point corresponding to the effective Bluetooth field strength value, including: obtaining a sample data set, the sample data set including the effective Bluetooth field strength value and a preset weight; dividing the sample data set according to a preset division ratio to obtain a training data set and a test data set; inputting the training data set into an initial weight prediction model for training, and testing the trained initial weight prediction model with the test data set to obtain a weight prediction model; inputting the effective Bluetooth field strength value into the weight prediction model to obtain the weight corresponding to the effective Bluetooth field strength value.

[0012] In one embodiment of the present application, the method also includes: if it is detected that the current terminal model corresponding to the digital key is not the same as the preset terminal model, then obtaining the bias value corresponding to the current terminal model to obtain the current field strength bias value; summing the weighted Bluetooth field strength value and the current field strength bias value to obtain the digital key positioning value; and locating the digital key through the digital key positioning value.

[0013] In one embodiment of the present application, a bias value corresponding to the current terminal model is obtained to obtain a current field strength bias value, including: extracting the effective Bluetooth field strength value of the preset terminal model in the effective area to obtain a preset terminal model field strength value set, extracting the effective Bluetooth field strength value of the current terminal model in the effective area to obtain a current terminal model field strength value set; and determining the difference between the average value of the preset terminal model field strength value set and the average value of the current terminal model field strength value set as the current field strength bias value.

[0014] The digital key positioning device provided in the embodiment of the present application includes: an acquisition module, which acquires the Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values; a calculation module, which is used to calculate the weighted average value based on the Bluetooth field strength value of each test point and the preset weight of each test point to obtain the weighted Bluetooth field strength value; a positioning module, which is used to locate the digital key through the weighted Bluetooth field strength value and the preset field strength bias value, and the field strength bias value includes the field strength bias value of the preset terminal model.

[0015] An embodiment of the present application provides a vehicle-mounted terminal, including a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the above-mentioned digital key positioning method.

[0016] An embodiment of the present application provides a vehicle, comprising the above-mentioned digital key positioning device and a vehicle-mounted terminal.

[0017] The beneficial effects of the present application are as follows: obtaining the Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values; calculating a weighted average value based on the Bluetooth field strength value of each test point and the preset weight of each test point to obtain a weighted Bluetooth field strength value; locating the digital key by using the weighted Bluetooth field strength value and the preset field strength bias value, the field strength bias value includes the field strength bias value of the preset terminal model, utilizing the characteristics of the Bluetooth field strength, adaptively determining the weight by the field strength received by the test point itself, and determining the calibration values ​​of different models by calculating the bias value, thereby reducing the calibration workload and ensuring the adaptability of the digital key of the Bluetooth positioning. Combining the weighted Bluetooth field strength value and the bias value to locate the digital key can not only accurately locate the car key, but also reduce costs and increase efficiency.

[0018] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0020] Figure 1 is a flow chart of a digital key positioning method shown in an exemplary embodiment of the present application;

[0021] Figure 2 is a block diagram of a digital key positioning device shown in an exemplary embodiment of the present application;

[0022] Figure 3 It is a structural schematic diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will describe the implementation methods of the present application with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, not for limiting the scope of protection of the present application.

[0024] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0025] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0026] The embodiments of the present application respectively propose a digital key positioning method, a digital key positioning device, a vehicle-mounted terminal and a vehicle, and these embodiments will be described in detail below.

[0027] See also Figure 1 , Figure 1 FIG. 1 is a flow chart showing a method for locating a digital key according to an embodiment of the present application. Figure 1 As shown, the method at least includes steps S110 to S130, which are described in detail as follows:

[0028] Step S110, obtaining Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values.

[0029] In one embodiment of the present application, the digital key is a car key, and the Bluetooth field strength value can be used to determine the relative distance or position between the car key and the vehicle. Since the strength of the Bluetooth signal decreases as the distance increases, the position of the digital key can be located by measuring the Bluetooth field strength value.

[0030] Step S120: performing weighted average calculation based on the Bluetooth field strength value of each test point and the preset weight of each test point to obtain a weighted Bluetooth field strength value.

[0031] In one embodiment of the present application, the test points are fixed points set around the vehicle.

[0032] Step S130, positioning the digital key by using the weighted Bluetooth field strength value and the preset field strength bias value, wherein the field strength bias value includes the field strength bias value of the preset terminal model.

[0033] In one embodiment of the present application, the preset terminal model is a calibrated standard model. By detecting the standard model corresponding to the digital key and correcting the weighted Bluetooth field strength value according to the bias value corresponding to the standard model, the influence of different models on the digital key positioning data is taken into account, thereby locating the digital key more accurately.

[0034] exist Figure 1In the technical scheme shown, the Bluetooth field strength values ​​of the digital key at multiple test points are obtained to obtain multiple Bluetooth field strength values; a weighted average is calculated based on the Bluetooth field strength value of each test point and the preset weight of each test point to obtain a weighted Bluetooth field strength value; the digital key is positioned by the weighted Bluetooth field strength value and the preset field strength bias value, the field strength bias value includes the field strength bias value of the preset terminal model, and utilizes the characteristics of the Bluetooth field strength. The weight is adaptively determined by the field strength received by the test point itself, and the calibration values ​​of different models are determined by calculating the bias value, which reduces the calibration workload and ensures the adaptability of the digital key of the Bluetooth positioning. The digital key is positioned in combination with the weighted Bluetooth field strength value and the bias value, which can not only accurately locate the car key, but also reduce costs and increase efficiency.

[0035] In one embodiment of the present application, the digital key is positioned by weighted Bluetooth field strength value and preset field strength bias value, including: summing the weighted Bluetooth field strength value and the preset field strength bias value to obtain the digital key positioning value; if the digital key positioning value is greater than or equal to the first preset positioning value, it is determined that the digital key is located in the valid area, and the valid area includes the interior of the vehicle and the unlocking area; if the digital key positioning value is greater than the first preset positioning value and less than or equal to the second preset positioning value, it is determined that the digital key is located in the pending area, and the pending area includes the unlocking buffer area, the locking area and the welcome area; if the digital key positioning value is greater than or equal to the second preset positioning value and less than the third preset positioning value, it is determined that the digital key is located in the non-action area; if the digital key positioning value is less than the third preset positioning value, it is determined that the digital key is located in the invalid area. After the interval is divided by the preset threshold, the actual positioning value of the digital key is calculated, and the specific position of the digital key is located based on the interval range in which the actual positioning value falls, so that the geographical location of the digital key can be accurately located, ensuring that the unlocking can be achieved only when the user approaches the vehicle, effectively preventing misoperation, and improving the safety of the vehicle.

[0036] In one embodiment of the present application, if the digital key positioning value is greater than the first preset positioning value, it is determined that the digital key is located in the effective area, and the effective area includes the interior of the vehicle and the unlocking area, including: if the digital key positioning value is greater than the first preset positioning value and less than the fourth preset positioning value, it is determined that the digital key is located in the unlocking area, and if the digital key positioning value is greater than the fourth preset positioning value, it is determined that the digital key is located inside the vehicle. After the interval is divided by the preset threshold, the actual positioning value of the digital key is calculated, and the specific position of the digital key is located based on the interval range in which the actual positioning value falls, so that the geographical location of the digital key can be accurately located, ensuring that unlocking can only be achieved when the user approaches the vehicle, effectively preventing misoperation and improving the safety of the vehicle.

[0037] In one embodiment of the present application, if the digital key positioning value is greater than the first preset positioning value and less than or equal to the second preset positioning value, it is determined that the digital key is located in the pending area, and the pending area includes the unlocking buffer area, the locking area, and the welcoming area, including: if the digital key positioning value is greater than or equal to the second preset positioning value and less than the fifth preset positioning value, it is determined that the digital key is located in the welcoming area, if the digital key positioning value is greater than or equal to the fifth preset positioning value and less than the sixth preset positioning value, it is determined that the digital key is located in the locking area, if the digital key positioning value is greater than or equal to the sixth preset positioning value and less than the first preset positioning value, it is determined that the digital key is located in the unlocking buffer area. After the interval is divided by the preset threshold, the actual positioning value of the digital key is calculated, and the specific position of the digital key is located based on the interval range in which the actual positioning value falls, thereby improving the positioning accuracy.

[0038] As an example, Table 1 is a field strength value-area table shown in an embodiment of the present application. As shown in Table 1, the first preset positioning value is e, the second preset positioning value is b, the third preset positioning value is a, the fourth preset positioning value is f, the fifth preset positioning value is c, the sixth preset positioning value is d, and RSSI 总 For the digital key positioning value, when RSSI 总 >f. It is determined that the digital key is inside the vehicle. When f>RSSI 总 >=e, it is determined that the digital key is in the unlocking area. When e>RSSI 总 >=d, it is determined that the digital key is in the unlocking buffer area. When d>RSSI 总 >=c, it is determined that the digital key is in the locked area. When c>RSSI 总 >=b, it is determined that the digital key is in the welcome area. When b>RSSI 总 >=a, it is determined that the digital key is in the non-action area. When a>RSSI 总 , it is determined that the digital key is in an invalid area. After the interval is divided by the preset threshold, the actual positioning value of the digital key is calculated, and the specific position of the digital key is located based on the interval range in which the actual positioning value falls. The geographical location of the digital key can be accurately located to ensure that the vehicle can be unlocked only when the user is close to the vehicle, effectively preventing misoperation and improving the safety of the vehicle.

[0039] Table 1 Field strength values ​​- area table

[0040]

[0041]

[0042] In one embodiment of the present application, the weight of each test point is set based on the Bluetooth field strength value of each test point, including: detecting whether the Bluetooth field strength value is less than a preset field strength threshold; eliminating the Bluetooth field strength value less than the preset field strength threshold, and determining the Bluetooth field strength value greater than or equal to the preset field strength threshold as the effective Bluetooth field strength value; and setting the weight of the test point corresponding to the effective Bluetooth field strength value based on the effective Bluetooth field strength value. Since the characteristic of Bluetooth itself is that the field strength decreases exponentially with the distance, and there are many interference factors in the Bluetooth field strength, the characteristic of the Bluetooth field strength is utilized, and the weight is adaptively determined by the field strength received by the test point itself, that is, by increasing the positioning weight of the effective Bluetooth, the positioning weight of the severely infected Bluetooth field strength is reduced, thereby improving the accuracy of the positioning area.

[0043] As an example, the weighted Bluetooth field strength value and the preset field strength offset value are summed to obtain the digital key positioning value, which specifically includes:

[0044] RSSI 总 =ω 1 RSSI 1 +ω 2 RSSI 2 +…+ω n RSSI n +θ

[0045] RSSI i (i=1,2,…,n) is the effective field strength value, ω i is the weight of the test point i corresponding to the effective field strength value in this positioning, and θ is the first bias value. The characteristics of the Bluetooth field strength are utilized, and the weight is adaptively determined by the field strength received by the test point itself, that is, by increasing the positioning weight of the effective Bluetooth and reducing the weight of the severely infected Bluetooth field strength in positioning, the positioning weight is calculated based on the effective Bluetooth positioning weight, thereby improving the accuracy of the positioning area.

[0046] In one embodiment of the present application, based on the effective Bluetooth field strength value, setting a weight for a test point corresponding to the effective Bluetooth field strength value includes:

[0047] Set the weights of the test points corresponding to the effective Bluetooth field strength values ​​in the following ways:

[0048]

[0049] Among them, ω i is the weight of the test point i corresponding to the effective field strength value in this positioning, RSSI iis the effective field strength value, δ is the field strength gain value, and n is a positive integer. The weight is determined adaptively by the field strength received by the test point itself. The greater the field strength, the smaller the relative value. Therefore, removing the long forced absolute value inverse form as the weight can increase the positioning weight of effective Bluetooth and reduce the weight of severely infected Bluetooth field strength in positioning, thereby improving the accuracy of the positioning area.

[0050] In one embodiment of the present application, based on the effective Bluetooth field strength value, a weight is set for a test point corresponding to the effective Bluetooth field strength value, including: obtaining a sample data set, the sample data set including the effective Bluetooth field strength value and a preset weight; dividing the sample data set according to a preset division ratio to obtain a training data set and a test data set; inputting the training data set into an initial weight prediction model for training, and testing the trained initial weight prediction model with a test data set to obtain a weight prediction model; inputting the effective Bluetooth field strength value into the weight prediction model to obtain the weight corresponding to the effective Bluetooth field strength value. The weight prediction model is trained by a large number of data sets, and the model is deployed in a vehicle controller. Based on the model, the weight corresponding to the effective Bluetooth field strength value is predicted, so that not only the weight corresponding to the effective Bluetooth field strength value can be quickly obtained, but also the accuracy of the positioning area can be improved.

[0051] In one embodiment of the present application, if it is detected that the current terminal model corresponding to the digital key is not the same as the preset terminal model, the bias value corresponding to the current terminal model is obtained to obtain the current field strength bias value; the weighted Bluetooth field strength value and the current field strength bias value are summed to obtain the digital key positioning value; the digital key is positioned by the digital key positioning value. If it is detected that the current terminal model is inconsistent with the preset terminal model, the digital key positioning value is corrected by the bias value to avoid recalibrating the current terminal model, which not only reduces labor costs, but also improves positioning accuracy by correcting the weighted Bluetooth field strength value by the current field strength bias value.

[0052] As an example, when it is detected that the current terminal model is not the same as the preset terminal model, for example, the current terminal model is a non-standard model, the bias value of the non-standard model is determined by the effective field strength value of the non-standard model and the effective field strength value of the standard model, so as to adaptively adjust the digital key positioning value, so that the positioning value of the digital key is adapted to the corresponding terminal model, so as to more accurately locate the digital key, and by increasing the bias value to determine the calibration values ​​of different models, the calibration workload is reduced, and the adaptation model of the digital key of the Bluetooth positioning is guaranteed, which can not only accurately locate the car key, but also reduce costs and increase efficiency.

[0053] In one embodiment of the present application, the bias value corresponding to the current terminal model is obtained to obtain the current field strength bias value, including: extracting the effective Bluetooth field strength value of the preset terminal model in the effective area to obtain the preset terminal model field strength value set, extracting the effective Bluetooth field strength value of the current terminal model in the effective area to obtain the current terminal model field strength value set; the difference between the average value of the preset terminal model field strength value set and the average value of the current terminal model field strength value set is determined as the current field strength bias value. When it is detected that the current terminal model is inconsistent with the preset terminal model, the digital key positioning value is corrected by calculating the bias value, which not only avoids recalibrating the current terminal model, but also realizes adaptive adjustment of the digital key positioning value, so that the positioning value of the digital key is adapted to the corresponding terminal model, thereby more accurately locating the digital key, and by increasing the bias value to determine the calibration value of different models, reducing the calibration workload, it also ensures the adaptation model of the digital key of the Bluetooth positioning, which can not only accurately locate the car key, but also reduce costs and increase efficiency.

[0054] Figure 2 FIG. 1 is a block diagram of a digital key positioning device according to an exemplary embodiment of the present application. Figure 2 As shown, a digital key positioning device 200 according to an embodiment of the present application includes: an acquisition module 210, a calculation module 220 and a positioning module 230. The acquisition module acquires the Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values; the calculation module is used to calculate the weighted average value based on the Bluetooth field strength value of each test point and the preset weight of each test point to obtain the weighted Bluetooth field strength value; the positioning module is used to locate the digital key through the weighted Bluetooth field strength value and the preset field strength bias value, and the field strength bias value includes the field strength bias value of the preset terminal model. Obtain the Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values; calculate the weighted average value based on the Bluetooth field strength value of each test point and the preset weight of each test point to obtain the weighted Bluetooth field strength value; locate the digital key through the weighted Bluetooth field strength value and the preset field strength bias value, the field strength bias value includes the field strength bias value of the preset terminal model, and utilizes the characteristics of the Bluetooth field strength. The weight is adaptively determined by the field strength received by the test point itself, and the calibration values ​​of different models are determined by calculating the bias value, which reduces the calibration workload while ensuring the adaptability of the digital key of the Bluetooth positioning. The digital key is located in combination with the weighted Bluetooth field strength value and the bias value, which can not only accurately locate the car key, but also reduce costs and increase efficiency.

[0055] In one embodiment of the present application, the positioning module is used to sum the weighted Bluetooth field strength value and the preset field strength bias value to obtain the digital key positioning value; if the digital key positioning value is greater than or equal to the first preset positioning value, it is determined that the digital key is located in a valid area, and the valid area includes the interior of the vehicle and the unlocking area; if the digital key positioning value is greater than the first preset positioning value and less than or equal to the second preset positioning value, it is determined that the digital key is located in a pending area, and the pending area includes an unlocking buffer area, a locking area, and a welcome area; if the digital key positioning value is greater than or equal to the second preset positioning value and less than the third preset positioning value, it is determined that the digital key is located in a no-action area; if the digital key positioning value is less than the third preset positioning value, it is determined that the digital key is located in an invalid area.

[0056] In one embodiment of the present application, the calculation module is used to detect whether the Bluetooth field strength value is less than a preset field strength threshold; eliminate the Bluetooth field strength values ​​that are less than the preset field strength threshold, and determine the Bluetooth field strength values ​​that are greater than or equal to the preset field strength threshold as the effective Bluetooth field strength values; based on the effective Bluetooth field strength values, set weights for the test points corresponding to the effective Bluetooth field strength values.

[0057] In one embodiment of the present application, the calculation module is used to set weights for test points corresponding to effective Bluetooth field strength values ​​in the following manner:

[0058]

[0059] Among them, ω i is the weight of the test point i corresponding to the effective field strength value in this positioning, RSSI i is the effective field strength value, δ is the field strength gain value, and n is a positive integer.

[0060] In one embodiment of the present application, a calculation module is used to obtain a sample data set, which includes effective Bluetooth field strength values ​​and preset weights; divide the sample data set according to a preset division ratio to obtain a training data set and a test data set; input the training data set into an initial weight prediction model for training, and test the trained initial weight prediction model with a test data set to obtain a weight prediction model; input the effective Bluetooth field strength value into the weight prediction model to obtain the weight corresponding to the effective Bluetooth field strength value.

[0061] In one embodiment of the present application, the positioning module is used to obtain the bias value corresponding to the current terminal model if it is detected that the current terminal model corresponding to the digital key is not the same as the preset terminal model, and obtain the current field strength bias value; sum the weighted Bluetooth field strength value and the current field strength bias value to obtain the digital key positioning value; and locate the digital key through the digital key positioning value.

[0062] In one embodiment of the present application, the calculation module is used to extract the effective Bluetooth field strength value of the preset terminal model in the effective area, obtain the preset terminal model field strength value set, extract the effective Bluetooth field strength value of the current terminal model in the effective area, and obtain the current terminal model field strength value set; the difference between the average value of the preset terminal model field strength value set and the average value of the current terminal model field strength value set is determined as the current field strength bias value.

[0063] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the device provided in the above embodiment can distribute the above functions to different functional modules as needed, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0064] See also Figure 3 , Figure 3 is a structural diagram of a vehicle-mounted terminal shown in an exemplary embodiment of the present application. It should be noted that: Figure 3 The vehicle-mounted terminal 300 shown is only an example and should not bring any limitation to the functions and usage area of ​​the embodiments of the present application.

[0065] like Figure 3 As shown, the vehicle terminal 300 includes a processor 301, a memory 302 and a communication bus 303; the communication bus 303 is used to connect the processor 301 and the memory 302; the processor 301 is used to execute the computer program stored in the memory 302 to implement one or more methods in the above embodiments.

[0066] The vehicle-mounted terminal provided in the present application includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic device executes the various steps of the above method.

[0067] In this embodiment, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0068] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can 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, discrete hardware components.

[0069] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A digital key Bluetooth positioning method, It is characterized in that The method comprises: Obtain the Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values; A weighted average value is calculated based on the Bluetooth field strength value of each test point and the preset weight of each test point to obtain a weighted Bluetooth field strength value; The digital key is positioned by using the weighted Bluetooth field strength value and a preset field strength bias value, wherein the field strength bias value includes a field strength bias value of a preset terminal model.

2. The digital key positioning method according to claim 1, It is characterized in that Positioning the digital key by using the weighted Bluetooth field strength value and the preset field strength bias value includes: Summing the weighted Bluetooth field strength value and the preset field strength bias value to obtain a digital key positioning value; If the digital key location value is greater than or equal to a first preset location value, it is determined that the digital key is located in a valid area, and the valid area includes the interior of the vehicle and an unlocking area; If the digital key positioning value is greater than the first preset positioning value and less than or equal to the second preset positioning value, it is determined that the digital key is located in a pending area, and the pending area includes an unlocking buffer area, a locking area, and a welcoming area; If the digital key positioning value is greater than or equal to the second preset positioning value and less than the third preset positioning value, it is determined that the digital key is located in the non-action area; If the digital key positioning value is less than a third preset positioning value, it is determined that the digital key is located in an invalid area.

3. The digital key positioning method according to claim 1, It is characterized in that Set the weight of each test point based on the Bluetooth field strength value of each test point, including: Detecting whether the Bluetooth field strength value is less than a preset field strength threshold; Eliminate Bluetooth field strength values ​​that are less than a preset field strength threshold, and determine Bluetooth field strength values ​​that are greater than or equal to the preset field strength threshold as valid Bluetooth field strength values; Based on the effective Bluetooth field strength value, a weight is set for the test point corresponding to the effective Bluetooth field strength value.

4. The digital key positioning method according to claim 3, It is characterized in that Based on the effective Bluetooth field strength value, setting a weight for a test point corresponding to the effective Bluetooth field strength value includes: The weights of the test points corresponding to the effective Bluetooth field strength values ​​are set in the following manner: Among them, ω i is the weight of the test point i corresponding to the effective field strength value in this positioning, RSSI i is the effective field strength value, δ is the field strength gain value, and n is a positive integer.

5. The digital key positioning method according to claim 3, It is characterized in that Based on the effective Bluetooth field strength value, setting a weight for a test point corresponding to the effective Bluetooth field strength value includes: Acquire a sample data set, wherein the sample data set includes the effective Bluetooth field strength value and a preset weight; Divide the sample data set according to a preset division ratio to obtain a training data set and a test data set; Inputting the training data set into the initial weight prediction model for training, and testing the trained initial weight prediction model with the test data set to obtain a weight prediction model; The effective Bluetooth field strength value is input into the weight prediction model to obtain the weight corresponding to the effective Bluetooth field strength value.

6. The digital key positioning method according to any one of claims 1 to 5, It is characterized in that The method further comprises: If it is detected that the current terminal model corresponding to the digital key is not the same as the preset terminal model, obtaining a bias value corresponding to the current terminal model to obtain a current field strength bias value; Summing the weighted Bluetooth field strength value and the current field strength bias value to obtain a digital key positioning value; The digital key is positioned according to the digital key positioning value.

7. The digital key positioning method according to claim 6, It is characterized in that Obtaining the bias value corresponding to the current terminal model to obtain the current field strength bias value includes: Extract the effective Bluetooth field strength value of the preset terminal model in the effective area to obtain the field strength value set of the preset terminal model, extract the effective Bluetooth field strength value of the current terminal model in the effective area to obtain the field strength value set of the current terminal model; The difference between the average value of the preset terminal model field strength value set and the average value of the current terminal model field strength value set is determined as the current field strength offset value.

8. A digital key positioning device, It is characterized in that The device comprises: An acquisition module is used to acquire Bluetooth field strength values ​​of the digital key at multiple test points to obtain multiple Bluetooth field strength values; A calculation module, used to calculate a weighted average value based on the Bluetooth field strength value of each test point and a preset weight of each test point to obtain a weighted Bluetooth field strength value; A positioning module is used to locate the digital key through the weighted Bluetooth field strength value and a preset field strength bias value, wherein the field strength bias value includes a field strength bias value of a preset terminal model.

9. A vehicle-mounted terminal, It is characterized in that It comprises a processor, a memory and a communication bus; the communication bus is used to connect the processor and the memory; the processor is used to execute a computer program stored in the memory to implement the digital key positioning method as described in any one of claims 1 to 7.

10. A vehicle, It is characterized in that It includes the digital key positioning device as described in claim 8 or the vehicle-mounted terminal as described in claim 9.

Citation Information

Patent Citations

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

    CN115767714A

  • Bluetooth key positioning method and device, equipment and storage medium

    CN117750302A

  • Vehicle PEPS system calibration using a mobile device

    US20190003439A1

Cited By

  • Vehicle door unlocking and locking control method and device and vehicle

    CN119611267A

  • Unlocking and locking control method, device and vehicle for vehicle door

    CN119611267B

  • Bluetooth key calibration method and system based on UWB entity key

    CN119729347A

  • A Bluetooth key calibration method and system based on a UWB physical key

    CN119729347B