Bluetooth field intensity calibration method and device, computer equipment and readable storage medium
By using the ranging device on the vehicle to obtain the distance between the digital key and the vehicle in real time and recording the field strength value of the Bluetooth signal, the problem of low convenience in Bluetooth field strength calibration in the existing technology is solved, and high-precision Bluetooth is achieved Field strength calibration.
Patent Information
- Application Number
- CN202411485163.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, the Bluetooth field strength calibration method of digital keys is relatively convenient, and due to the differences in Bluetooth chips, antenna models, etc. of mobile phones and physical keys, the error in the signal strength indication value is relatively large.
By setting distance measurement devices on the vehicle, such as millimeter wave radar, camera and ultra-wideband sensor, the distance between the digital key and the vehicle is obtained in real time, and the field strength value of the Bluetooth signal is recorded as a Bluetooth field when the preset distance calibration value is set. Strong calibration value to determine the correspondence between the field strength value of the digital key and the distance.
It realizes automatic and convenient calibration of Bluetooth field strength, accurately establishes the relationship between field strength and distance of the digital key, and improves the convenience and accuracy of Bluetooth field strength calibration.
Smart Images

Figure CN119450421A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for calibrating Bluetooth field strength. Background Art
[0002] In the field of vehicle technology, the development of digital key systems is becoming increasingly mature. Currently, digital keys can support multiple forms, such as physical keys, mobile phone application keys, etc. Physical keys and mobile phones are usually connected to vehicles through Bluetooth Low Energy (BLE) technology. In order to achieve more accurate positioning and non-sensing unlocking functions in vehicle access control, digital keys based on BLE technology need to be accurately calibrated.
[0003] Since the mobile phones and physical keys on the market differ in the Bluetooth chips, antenna models, transmission power, and shell shapes and materials used, this leads to large errors when using the received signal strength indicator (RSSI) for distance measurement, where the value of the signal strength indicator can also be called the field strength value. Therefore, it is necessary to calibrate these digital keys. Due to the large number of mobile phone models and Bluetooth chip signals on the market, the workload of calibration is extremely large. The current method for calibrating Bluetooth field strength is to fix the digital key at a certain distance and record its Bluetooth field strength value, but this method makes the calibration of Bluetooth field strength very inconvenient. Summary of the invention
[0004] Based on this, it is necessary to provide a Bluetooth field strength calibration method, device, computer equipment, computer-readable storage medium and computer program product that can improve the convenience of Bluetooth field strength calibration in order to address the above technical problems.
[0005] In a first aspect, the present application provides a method for calibrating Bluetooth field strength, comprising:
[0006] After the digital key of the vehicle establishes a Bluetooth connection with the vehicle, obtaining a field strength value of a Bluetooth signal emitted by the digital key when approaching the vehicle;
[0007] Obtaining a Bluetooth field strength calibration value from the field strength value; the Bluetooth field strength calibration value is a field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value;
[0008] According to the preset distance calibration value and the Bluetooth field strength calibration value, the corresponding relationship between the field strength value and the distance of the digital key is determined.
[0009] In one embodiment, obtaining a Bluetooth field strength calibration value from the field strength value includes:
[0010] In the case where a distance measuring device is provided on the vehicle, obtaining, by means of the distance measuring device, the distance between the digital key and the vehicle when the digital key is approaching the vehicle;
[0011] When the distance reaches the preset distance calibration value, the field strength value of the Bluetooth signal emitted by the digital key is recorded as the Bluetooth field strength calibration value.
[0012] In one embodiment, the distance measuring device includes: a millimeter wave radar, a camera, and an ultra-wideband sensor; and obtaining the distance between the digital key and the vehicle when the digital key approaches the vehicle through the distance measuring device includes:
[0013] Acquiring, by the millimeter-wave radar, the distance between the digital key and the vehicle when the digital key is approaching the vehicle;
[0014] When the distance acquired by the millimeter-wave radar is less than or equal to a first distance threshold, acquiring the distance between the digital key and the vehicle through the camera;
[0015] When the distance acquired by the camera is less than or equal to a second distance threshold, acquiring the distance between the digital key and the vehicle by using the ultra-wideband sensor;
[0016] Among them, when the distance between the digital key and the vehicle is obtained through the camera, the preset distance calibration value includes multiple calibration values with a first spacing value; when the distance between the digital key and the vehicle is obtained through the ultra-wideband sensor, the preset distance calibration value includes multiple calibration values with a second spacing value; the first value is greater than the second value.
[0017] In one embodiment, the distance measuring device includes: a millimeter wave radar, a camera, and an ultrasonic radar; and obtaining the distance between the digital key and the vehicle when the digital key approaches the vehicle through the distance measuring device includes:
[0018] Acquiring, by the millimeter-wave radar, the distance between the digital key and the vehicle when the digital key is approaching the vehicle;
[0019] When the distance acquired by the millimeter-wave radar is less than or equal to a first distance threshold, acquiring the distance between the digital key and the vehicle through the camera;
[0020] When the distance acquired by the camera is less than or equal to a third distance threshold, acquiring the distance between the digital key and the vehicle by using the ultrasonic radar;
[0021] Among them, when the distance between the digital key and the vehicle is obtained through the camera, the preset distance calibration value includes multiple calibration values with a third numerical spacing; when the distance between the digital key and the vehicle is obtained through the ultrasonic radar, the preset distance calibration value includes multiple calibration values with a fourth numerical spacing; the third numerical value is greater than the fourth numerical value.
[0022] In one embodiment, the preset distance calibration value includes the distance between the digital key and the vehicle when the door of the vehicle is opened, and the distance between the digital key and the vehicle when the digital key establishes the Bluetooth connection with the vehicle; and obtaining the Bluetooth field strength calibration value from the field strength value includes:
[0023] When no ranging device is provided on the vehicle, the field strength value of the digital key when the digital key establishes the Bluetooth connection with the vehicle and the field strength value of the digital key when the door of the vehicle is opened are used as the Bluetooth field strength calibration value.
[0024] In one embodiment, determining the correspondence between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value includes:
[0025] According to the preset distance calibration value, the Bluetooth field strength calibration value and the attenuation coefficient of the field strength value of the digital key with respect to the distance, a ranging function of the field strength value of the digital key with respect to the distance is determined as the corresponding relationship between the field strength value of the digital key and the distance.
[0026] In one embodiment, the corresponding relationship is used to determine the actual distance between the digital key and the vehicle according to the actual value of the Bluetooth field strength of the digital key, determine the functional area corresponding to the digital key around the vehicle according to the actual distance, and perform a vehicle control operation matching the functional area; the functional area includes an area whose distance from the vehicle is within or outside a function trigger threshold; the method also includes:
[0027] determining a correction coefficient according to a distance between the digital key and the vehicle when the digital key establishes the Bluetooth connection with the vehicle, and a field strength value of a Bluetooth signal emitted by the digital key when the digital key establishes the Bluetooth connection with the vehicle;
[0028] The corrected function trigger threshold is determined according to the product of the correction coefficient and the function trigger threshold.
[0029] In a second aspect, the present application also provides a Bluetooth field strength calibration device, including:
[0030] A connection module, configured to obtain, after a digital key of a vehicle establishes a Bluetooth connection with the vehicle, a field strength value of a Bluetooth signal emitted by the digital key when the digital key approaches the vehicle;
[0031] A calibration module, used to obtain a Bluetooth field strength calibration value from the field strength value; the Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value;
[0032] The determination module is used to determine the corresponding relationship between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value.
[0033] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0035] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.
[0036] The above-mentioned Bluetooth field strength calibration method, device, computer equipment, computer-readable storage medium and computer program product obtain the field strength value of the Bluetooth signal emitted by the digital key when approaching the vehicle after the vehicle's digital key establishes a Bluetooth connection with the vehicle; obtain the Bluetooth field strength calibration value from the field strength value, and the Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value; determine the corresponding relationship between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value, and can automatically obtain the corresponding Bluetooth field strength calibration value according to whether the distance between the digital key and the vehicle is the preset distance calibration value when the user naturally approaches the vehicle, so that the Bluetooth field strength can be automatically and conveniently calibrated, and the relationship between the field strength and distance of the digital key can be accurately established without the user deliberately performing fixed-point detection at certain fixed distances. This dynamic and real-time calibration method of Bluetooth field strength can effectively improve the convenience of Bluetooth field strength calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] FIG1 is an application environment diagram of a method for calibrating Bluetooth field strength in one embodiment;
[0039] FIG2 is a schematic flow chart of a method for calibrating Bluetooth field strength in one embodiment;
[0040] FIG3 is a schematic diagram of a device for assisting calibration of a digital key in a vehicle at different distances in one embodiment;
[0041] FIG4 is a schematic flow chart of a method for calibrating Bluetooth field strength in another embodiment;
[0042] FIG5 is a structural block diagram of a device for calibrating Bluetooth field strength in one embodiment;
[0043] FIG. 6 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] The calibration method of the Bluetooth field strength provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. After the digital key of the vehicle establishes a Bluetooth connection with the vehicle, the terminal 102 obtains the field strength value of the Bluetooth signal emitted by the digital key when approaching the vehicle; the terminal 102 obtains the Bluetooth field strength calibration value from the field strength value; the Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is the preset distance calibration value; the terminal 102 determines the correspondence between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value. Among them, the terminal 102 can be a vehicle terminal, and the vehicle terminal may include a vehicle-mounted controller for controlling vehicle functions. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0046] In an exemplary embodiment, as shown in FIG. 2 , a method for calibrating Bluetooth field strength is provided, which is described by taking the method applied to the terminal 102 in FIG. 1 as an example, and includes:
[0047] Step S202, after the digital key of the vehicle establishes a Bluetooth connection with the vehicle, obtain the field strength value of the Bluetooth signal emitted by the digital key when approaching the vehicle.
[0048] Among them, the digital key is a key that includes at least a Bluetooth chip and can interact with the vehicle through Bluetooth Low Energy (BLE) technology to realize functions such as unlocking, locking, and starting the vehicle.
[0049] The field strength value may be a signal strength indicator (Received Signal Strength Indicator, RSSI), which may refer to the strength of a Bluetooth signal measured by a device receiving the Bluetooth signal.
[0050] Exemplarily, digital keys may include physical keys, mobile phone application keys, etc. Optionally, in addition to BLE technology, physical keys may also use Ultra Wide Band (UWB) technology to communicate with the vehicle through Bluetooth signals and ultra-wideband signals, thereby realizing functions such as unlocking, locking, and starting the vehicle; in addition, mobile phone application keys may establish a connection with the vehicle through an application installed on the mobile phone to realize the control function of the vehicle. In addition to using BLE technology to establish a connection with the vehicle, mobile phone application keys may also use Ultra Wide Band (UWB) technology to establish a connection with the vehicle, thereby communicating with the vehicle through Bluetooth signals and ultra-wideband signals, thereby realizing functions such as unlocking, locking, and starting the vehicle, without specific limitation.
[0051] In a specific implementation, the user of the vehicle can carry the digital key and walk towards the vehicle from a distance. When the user approaches the vehicle with the digital key, due to the long communication distance of Bluetooth, the Bluetooth of the digital key will first scan the Bluetooth broadcast sent by the vehicle terminal. After receiving the Bluetooth broadcast, the digital key initiates a connection and authentication request with the vehicle terminal. After the authentication is successful, the digital key of the vehicle establishes a Bluetooth connection with the vehicle. The digital key can send a positioning broadcast, which is a Bluetooth signal sent by the digital key that carries the identity information and field strength value of the digital key. Each anchor point of the vehicle can scan the Bluetooth signal sent by the digital key when approaching the vehicle, wherein each anchor point of the vehicle can be a Bluetooth sensor installed at different positions of the vehicle, which can be used to receive the Bluetooth signal of the digital key. The vehicle terminal can obtain the field strength value of the Bluetooth signal scanned by each anchor point of the vehicle, and the vehicle terminal can use the field strength value of the Bluetooth signal as the basis for characterizing the distance between the digital key and the vehicle, and perform related vehicle control operations according to the distance between the digital key and the vehicle.
[0052] As the user approaches the vehicle with the digital key, the vehicle terminal will monitor and record in real time the field strength value of the Bluetooth signal emitted by the digital key during the process. This method of dynamically obtaining the field strength value is more flexible than the traditional fixed-position calibration, and can reflect the actual signal attenuation when the user naturally approaches the vehicle.
[0053] Step S204, obtaining a Bluetooth field strength calibration value from the field strength value.
[0054] Among them, the Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value.
[0055] In a specific implementation, the vehicle is the center, and outwards can be divided into different functional areas according to the distance between the digital key and the vehicle. When the vehicle terminal determines the distance between the digital key and the vehicle, it can perform relevant vehicle control operations according to the functional area where the digital key is located. For example, the functional areas around the vehicle may include a vehicle search area, a welcome area, a locking area, and an unlocking area. Among them, the vehicle search area can be a range that is far away from the vehicle (tens of meters). When the vehicle terminal detects that the digital key is in the vehicle search area, it can help the vehicle user locate the vehicle by flashing lights or honking the horn; among them, the welcome area can be a range that is close to the vehicle (several meters or more than ten meters). When the vehicle terminal detects that the digital key is in the welcome area, it can trigger some "welcome" functions, such as automatic lighting of car lights, unfolding of rearview mirrors, lighting of ambient lights, etc.; among them, the locking area can be a range that is locked after the user leaves the vehicle, which can be a range of several meters away. When the vehicle terminal detects that the digital key leaves the locking area, the vehicle terminal will automatically lock the door; among them, the unlocking area can be a range where the user is very close to the vehicle, such as next to the door or holding the door handle. When the vehicle terminal detects that the digital key enters the unlocking area, it can automatically unlock the door to allow the user to enter the vehicle.
[0056] Therefore, the preset distance calibration value can be a calibration value determined according to the distance range of the functional area corresponding to the vehicle's surroundings. The specific value can be customized according to the function of the vehicle, such as 2 meters, 5 meters, 10 meters, 15 meters, 20 meters, etc.
[0057] The vehicle terminal can preset these preset distance calibration values. When the digital key approaches the vehicle and reaches these distances, the field strength value of the Bluetooth signal at that moment can be recorded as the Bluetooth field strength calibration value, thereby establishing a corresponding relationship between field strength and distance.
[0058] As an example, the vehicle terminal can determine the distance between the digital key and the vehicle through sensors such as ultrasonic sensors, millimeter wave sensors, lidars, infrared sensors, cameras, ultra-wideband sensors, etc. installed in the vehicle, thereby determining whether the distance between the digital key and the vehicle meets the preset distance calibration value.
[0059] Step S206, determining the correspondence between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value.
[0060] In a specific implementation, the vehicle terminal may trigger the above steps S202 to S206 when the digital key and the vehicle establish a Bluetooth connection for the first time, or may trigger the above steps S202 to S206 when a calibration request is received from the digital key.
[0061] In a specific implementation, the vehicle terminal uses the one-to-one correspondence between the preset distance calibration value and the Bluetooth field strength calibration value as the correspondence between the field strength value and the distance of the digital key. After determining the correspondence between the field strength value and the distance, the vehicle terminal can record the identity information of the digital key and the correspondence between the field strength value corresponding to the identity information and the distance. Optionally, the identity information of the digital key may include a serial number (SN) or a vehicle identification number (VIN). The next time the digital key establishes a Bluetooth connection with the vehicle, the vehicle terminal can directly obtain the correspondence between the field strength value and the distance based on the identity information of the digital key.
[0062] After determining the correspondence between the field strength value and the distance of the digital key, the vehicle terminal completes the calibration of the Bluetooth field strength of the digital key. In actual applications, each time a user uses the vehicle, the vehicle terminal can directly determine the actual distance between the digital key and the vehicle from the determined correspondence based on the actual field strength value of the Bluetooth signal emitted by the digital key, and determine the functional area corresponding to the digital key around the vehicle based on the actual distance, and perform vehicle control operations that match the functional area. For example, when the actual field strength value indicates that the digital key is 2 meters away from the vehicle, an unlocking operation can be triggered; when the actual field strength value indicates that the digital key is more than 5 meters away from the vehicle, a locking operation can be triggered.
[0063] After completing the calibration of the Bluetooth field strength, in actual applications, there is no need to use a ranging sensor to determine the actual distance between the digital key and the vehicle. You only need to simply use the real-time actual field strength value and the corresponding relationship determined during calibration to make an accurate distance judgment and trigger the corresponding vehicle function.
[0064] The Bluetooth field strength calibration method can be applied to a variety of devices. Different models of mobile phones and physical keys have different Bluetooth chips and antenna performances. The Bluetooth field strength calibration can make adaptive adjustments according to the characteristics of different devices.
[0065] The above-mentioned Bluetooth field strength calibration method, device, computer equipment, computer-readable storage medium and computer program product obtain the field strength value of the Bluetooth signal emitted by the digital key when approaching the vehicle after the vehicle's digital key establishes a Bluetooth connection with the vehicle; obtain the Bluetooth field strength calibration value from the field strength value, and the Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value; determine the corresponding relationship between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value, and can automatically obtain the corresponding Bluetooth field strength calibration value according to whether the distance between the digital key and the vehicle is the preset distance calibration value when the user naturally approaches the vehicle, so that the Bluetooth field strength can be automatically and conveniently calibrated, and the relationship between the field strength and distance of the digital key can be accurately established without the user deliberately performing fixed-point detection at certain fixed distances. This dynamic and real-time calibration method of Bluetooth field strength can effectively improve the convenience of Bluetooth field strength calibration.
[0066] In another embodiment, a Bluetooth field strength calibration value is obtained from the field strength value, including: when a ranging device is provided on the vehicle, obtaining the distance between the digital key and the vehicle when the digital key approaches the vehicle through the ranging device; when the distance reaches a preset distance calibration value, recording the field strength value of the Bluetooth signal emitted by the digital key as the Bluetooth field strength calibration value.
[0067] Among them, the ranging equipment may include ultrasonic sensors, millimeter wave sensors, lidar, infrared sensors, cameras, ultra-wideband sensors and other equipment.
[0068] In a specific implementation, the vehicle terminal can obtain the distance between the digital key and the vehicle through a single distance measuring device, or through a combination of at least two distance measuring devices. For example, based on the distance measuring performance of the distance measuring device, when the distance of the digital key is far, a distance measuring device suitable for medium and long distances can be used for distance measurement, and when the distance of the digital key is close, it can be actively switched to a distance measuring device suitable for short distances for distance measurement.
[0069] In actual applications, after the digital key establishes a Bluetooth connection with the vehicle, the distance measuring device can detect the distance between the digital key and the vehicle in real time. When it is detected that the distance between the digital key and the vehicle reaches the preset distance calibration value, the field strength value of the Bluetooth signal emitted by the digital key at this time can be recorded. In other words, every time the digital key reaches a preset distance calibration value, the vehicle terminal will record the field strength value at this time as the corresponding Bluetooth field strength calibration value. The vehicle terminal will record the corresponding field strength value under different preset distance calibration values, and correspond these field strength values to the corresponding distances one by one, and obtain the corresponding relationship between the field strength value and the distance of the digital key. This corresponding relationship can be used for distance judgment and function triggering in actual vehicle applications.
[0070] The technical solution of this embodiment, by combining the distance measuring device to measure the distance, assists the calibration of the Bluetooth field strength, eliminates the need for manual distance measurement, and improves the convenience of the Bluetooth field strength calibration.
[0071] In another embodiment, the ranging device includes: a millimeter-wave radar, a camera and an ultra-wideband sensor; obtaining the distance between the digital key and the vehicle when the digital key approaches the vehicle through the ranging device includes: obtaining the distance between the digital key and the vehicle when the digital key approaches the vehicle through the millimeter-wave radar; when the distance obtained by the millimeter-wave radar is less than or equal to a first distance threshold, obtaining the distance between the digital key and the vehicle through the camera; when the distance obtained by the camera is less than or equal to a second distance threshold, obtaining the distance between the digital key and the vehicle through the ultra-wideband sensor; wherein, when obtaining the distance between the digital key and the vehicle through the camera, the preset distance calibration value includes multiple calibration values with a first spacing; when obtaining the distance between the digital key and the vehicle through the ultra-wideband sensor, the preset distance calibration value includes multiple calibration values with a second spacing; the first value is greater than the second value.
[0072] This embodiment can be applied to the case where the digital key has ultra-wideband (UWB) function and Bluetooth low energy (BLE) function, and the vehicle has three ranging devices: millimeter wave radar, camera and ultra-wideband sensor.
[0073] Among them, millimeter-wave radar can be a device used for long-distance ranging, which can usually detect objects within a range of tens of meters or even hundreds of meters. Therefore, millimeter-wave radar is responsible for measuring the longest distance and preliminarily determining the distance between the digital key and the vehicle.
[0074] In a specific implementation, when the digital key approaches the vehicle, the millimeter-wave radar continuously obtains the distance between the digital key and the vehicle. When the distance detected by the millimeter-wave radar is less than or equal to the first distance threshold, a higher-precision distance measuring device is used for subsequent measurement. Optionally, the first distance threshold can be 30 meters, 35 meters, 40 meters, etc., without specific limitation.
[0075] In the specific implementation, when the digital key enters the first distance threshold range, the vehicle terminal can trigger the camera to obtain more accurate distance information. Optionally, the camera can be a 360-degree surround camera, which can provide high-precision ranging within a medium distance through image recognition technology. If the distance detected by the camera is less than or equal to the second distance threshold, it can switch to the ultra-wideband sensor for accurate close-range measurement. Optionally, the second distance threshold can be 20 meters, 18 meters or 16 meters, etc., without specific limitation.
[0076] Among them, ultra-wideband sensors have extremely high ranging accuracy, which can be accurate to the centimeter level, and are very suitable for precise ranging at close range.
[0077] In a specific implementation, different distance measuring devices may correspond to different preset distance calibration values.
[0078] Exemplarily, in the case of obtaining the distance between the digital key and the vehicle through millimeter wave radar, the preset distance calibration value can be a single calibration value, such as 45 meters or 50 meters, which is used to preliminarily determine the distance between the digital key and the vehicle.
[0079] For example, when the distance between the digital key and the vehicle is obtained by a camera, the preset distance calibration value may include multiple calibration values with a first spacing value, such as 30 meters, 25 meters, and 20 meters. When the distance between the digital key and the vehicle is obtained by an ultra-wideband sensor, the preset distance calibration value may include multiple calibration values with a second spacing value, such as 20 meters, 18 meters, 16 meters, 14 meters, 12 meters, 10 meters, 8 meters, 6 meters, 4 meters, and 2 meters.
[0080] The reason why the first value is greater than the second value is that the error of the Bluetooth field strength value is large at a long distance. For example, the Bluetooth field strength values at 28 meters and 30 meters may not be much different, and the distance cannot be accurately determined. Therefore, when calibrating the Bluetooth field strength value at a long distance, it is necessary to calibrate at a longer interval. Therefore, when obtaining the distance between the digital key and the vehicle through the camera, the spacing between the multiple calibration values included in the preset distance calibration value is large. However, Bluetooth has more accurate positioning within a short distance (such as 20 meters) and can identify a distance of 0.5 meters. Therefore, when obtaining the distance between the digital key and the vehicle through the ultra-wideband sensor, the spacing between the multiple calibration values included in the preset distance calibration value is small.
[0081] In another embodiment, when the distance between the digital key and the vehicle is obtained by an ultra-wideband sensor, the preset distance calibration value may include a plurality of calibration values with a fifth numerical spacing and a plurality of calibration values with a sixth numerical spacing, the fifth numerical spacing being greater than the sixth numerical spacing, and a minimum value of the plurality of calibration values with the fifth numerical spacing being greater than a maximum value of the plurality of calibration values with the sixth numerical spacing being.
[0082] Exemplarily, when the distance between the digital key and the vehicle is obtained through an ultra-wideband sensor, the preset distance calibration value can be 20 meters, 18 meters, 16 meters, 14 meters, 12 meters, 10 meters, 8 meters, 6 meters, 5 meters, 4 meters, 3 meters, 2 meters, and 1 meter. The distance farther away from the vehicle is calibrated in units of 2 meters, and the distance closer to the vehicle is calibrated in units of 1 meter.
[0083] For example, for the case where the digital key has ultra-wideband (UWB) and Bluetooth low energy (BLE) functions, such as physical keys and mobile application keys with ultra-wideband (UWB) and Bluetooth low energy (BLE) functions, after the Bluetooth connection is established, the user approaches the vehicle and records the RSSI value at the time of connection, that is, the field strength value; the vehicle terminal detects the RSSI value at 50 meters through the millimeter wave radar; the vehicle terminal turns on the 360-degree surround camera around the vehicle to measure the user's position, and records the Bluetooth RSSI values at 30 meters, 25 meters, and 20 meters away from the vehicle; when the ultra-wideband UWB sensor starts ranging, the BLE is calibrated using the UWB ranging accuracy to record the RSSI values of Bluetooth at 20 meters, 18 meters, 16 meters, 14 meters, 12 meters, 10 meters, 8 meters, 6 meters, 5 meters, 4 meters, 3 meters, 2 meters, and 1 meter away from the vehicle, as well as the RSSI value when the user opens the taxi door; the vehicle terminal associates the above RSSI values with the identity information of the key and stores them on the main controller of the vehicle terminal.
[0084] The technical solution of this embodiment gradually and accurately obtains the distance between the digital key and the vehicle through the coordinated work of three ranging devices: millimeter wave radar, camera and ultra-wideband sensor, and uses preset distance calibration values at different intervals to calibrate the Bluetooth field strength according to different ranging devices. This solution ensures high-precision ranging from long distance to short distance, improves the accuracy of Bluetooth field strength calibration, and automatically switches to suitable ranging devices according to different distances, without manual measurement, which improves the convenience of Bluetooth field strength calibration.
[0085] In another embodiment, the ranging device includes: a millimeter-wave radar, a camera and an ultrasonic radar; obtaining the distance between the digital key and the vehicle when the digital key approaches the vehicle through the ranging device includes: obtaining the distance between the digital key and the vehicle when the digital key approaches the vehicle through the millimeter-wave radar; when the distance obtained by the millimeter-wave radar is less than or equal to a first distance threshold, obtaining the distance between the digital key and the vehicle through the camera; when the distance obtained by the camera is less than or equal to a third distance threshold, obtaining the distance between the digital key and the vehicle through the ultrasonic radar; wherein, when obtaining the distance between the digital key and the vehicle through the camera, the preset distance calibration value includes multiple calibration values with a third numerical value as the spacing; when obtaining the distance between the digital key and the vehicle through the ultrasonic radar, the preset distance calibration value includes multiple calibration values with a fourth numerical value as the spacing; the third numerical value is greater than the fourth numerical value.
[0086] In a specific implementation, when the data key enters the third distance range, the vehicle terminal can trigger the switching of the distance measuring device from the camera to the ultra-wideband sensor to obtain more accurate distance information. Optionally, the third distance threshold can be 5 meters, 6 meters or 7 meters, etc., without specific limitation.
[0087] Among them, ultrasonic radar can be used for short-range detection of vehicles and provide accurate close-range ranging data.
[0088] In a specific implementation, different distance measuring devices may correspond to different preset distance calibration values.
[0089] Exemplarily, in the case of obtaining the distance between the digital key and the vehicle through millimeter wave radar, the preset distance calibration value can be a single calibration value, such as 45 meters or 50 meters, which is used to preliminarily determine the distance between the digital key and the vehicle.
[0090] For example, when the distance between the digital key and the vehicle is obtained by a camera, the preset distance calibration value may include multiple calibration values with a third value spacing, such as 30 meters, 25 meters, 20 meters, 15 meters, 10 meters, and 5 meters. When the distance between the digital key and the vehicle is obtained by an ultrasonic radar, the preset distance calibration value may include multiple calibration values with a fourth value spacing, such as 5 meters, 4 meters, 3 meters, 2 meters, and 1 meter.
[0091] The reason why the third value is greater than the fourth value can refer to the reason why the first value is greater than the second value mentioned above, and the details are not repeated here.
[0092] For example, in the case where the digital key has the Bluetooth low energy (BLE) function, after the Bluetooth connection is established, the user approaches the vehicle and records the RSSI value at the time of connection, that is, the field strength value; the vehicle terminal detects the RSSI value at 50 meters through the millimeter wave radar; the vehicle terminal turns on the 360-degree surround camera around the vehicle, measures the user's position, and records the RSSI values of Bluetooth at 30 meters, 25 meters, 20 meters, 15 meters, 10 meters, and 5 meters from the vehicle; when the distance between the user and the vehicle reaches the detection distance of the ultrasonic radar, the ultrasonic radar ranging is turned on to record the RSSI values of Bluetooth at 5 meters, 4 meters, 3 meters, 2 meters, and 1 meter from the vehicle, as well as the RSSI value when the user opens the taxi door; the vehicle terminal associates the above RSSI values with the identity information of the key, and stores them on the main controller of the vehicle terminal.
[0093] To facilitate the understanding of those skilled in the art, FIG3 exemplarily provides a schematic diagram of a device for assisting calibration in a vehicle at different distances when a digital key is carried by a vehicle user. It can be seen that in the process of the vehicle user carrying the digital key and gradually approaching the vehicle from a distance, the type of device used for ranging in the vehicle also changes with the distance between the digital key and the vehicle. The digital key enters the area where it can establish a connection with the vehicle Bluetooth from the non-connected area, and then when it is closer to the vehicle, the vehicle terminal uses the camera or millimeter-wave radar on the vehicle body as a ranging device for auxiliary calibration; when the digital key is one step closer to the vehicle, the vehicle terminal uses the ultra-wideband sensor or the camera on the vehicle body as a ranging device for auxiliary calibration; when the digital key is very close to the vehicle, the vehicle terminal can use the ultra-wideband sensor or ultrasonic radar as a ranging device for auxiliary calibration, thereby completing the calibration of the Bluetooth field strength. By combining with other vehicle devices, the ranging function is played, helping BLE to calibrate the field strength value, and improving the convenience and efficiency of Bluetooth field strength calibration. In practical applications, which device is used for ranging at different distances can be determined based on the devices actually configured in the vehicle itself.
[0094] In another embodiment, the preset distance calibration value includes the distance between the digital key and the vehicle when the vehicle door is opened, and the distance between the digital key and the vehicle when a Bluetooth connection is established between the digital key and the vehicle; the Bluetooth field strength calibration value is obtained from the field strength value, including: when no ranging device is provided on the vehicle, the field strength value of the digital key when the digital key establishes a Bluetooth connection with the vehicle, and the field strength value of the digital key when the vehicle door is opened, are used as the Bluetooth field strength calibration value.
[0095] Among them, when there is no distance measuring device on the vehicle, the preset distance calibration value includes the distance between the digital key and the vehicle when the vehicle door is opened, and the distance between the digital key and the vehicle when the digital key establishes a Bluetooth connection with the vehicle. These preset distance calibration values are pre-defined values based on experience, and can also be factory parameters of the digital key, because for different digital keys, generally speaking, the distance between the digital key and the vehicle when the vehicle door is opened can generally be between 0 and 0.5 meters, and the distance between the digital key and the vehicle when the digital key establishes a Bluetooth connection with the vehicle can also be a value determined based on the Bluetooth model and Bluetooth performance of the digital key itself, and these values can all be pre-configured values. Since there is no distance measuring device on the vehicle, there is no need for a distance measuring device to determine whether the distance between the digital key and the vehicle meets the preset distance calibration value, and the pre-configured preset distance calibration value can be directly used.
[0096] This solution can be used for situations where the digital key only has Bluetooth low energy (BLE) function and there is no ranging equipment such as radar and camera on the vehicle.
[0097] In the specific implementation, when the digital key establishes a Bluetooth connection with the vehicle, the vehicle terminal will receive a successful connection signal fed back by the vehicle's Bluetooth module, thereby confirming that the digital key and the vehicle have established a Bluetooth connection, and obtaining the field strength value of the digital key at this moment; and, when the vehicle door is opened, the vehicle terminal will receive a confirmation signal indicating that the door has been opened (such as the signal sent by the door sensor when it detects that the door is opened), and can obtain the field strength value of the digital key at this moment, and use the above field strength value as the Bluetooth field strength calibration value.
[0098] After obtaining the two sets of preset distance calibration values and Bluetooth field strength calibration values, a function between the field strength value of the digital key and the distance can be established as the corresponding relationship between the field strength value of the digital key and the distance. In one embodiment, since the field strength value decreases with increasing distance, a logarithmic attenuation model can be determined by fitting the two sets of field strength values and their corresponding distances to infer the field strength values at other distances.
[0099] The logarithmic decay model can be expressed as: ; Among them, RSSI is the field strength value, A can be the initial field strength value, that is, the field strength value when the vehicle door is opened; a is the attenuation coefficient, which can be the factory parameter of the Bluetooth key; d is the distance.
[0100] The technical solution of this embodiment derives the relationship between the Bluetooth field strength value and the distance through two preset distance calibration values (the distance when the Bluetooth is connected and the distance when the car door is opened) and the corresponding Bluetooth field strength calibration value. This does not require reliance on additional ranging equipment, thereby reducing the cost of Bluetooth field strength calibration and improving the convenience of Bluetooth field strength calibration.
[0101] Furthermore, in another embodiment, the correspondence between the field strength value and the distance of the digital key is determined according to the preset distance calibration value and the Bluetooth field strength calibration value, including: determining the ranging function of the field strength value of the digital key with respect to the distance according to the preset distance calibration value, the Bluetooth field strength calibration value and the attenuation coefficient of the field strength value of the digital key with respect to the distance, as the correspondence between the field strength value and the distance of the digital key.
[0102] Among them, the attenuation coefficient can be a factory parameter of the digital key, which can be obtained by querying the manual of the digital key. In specific implementation, the signal strength function of the Bluetooth radio frequency (usually an exponential function, which can generally be obtained by querying the manual of the Bluetooth chip or mobile phone antenna) can be used to perform an inverse operation to obtain a logarithmic function, and the above two sets of preset distance calibration values and Bluetooth field strength calibration values (the distance between the digital key and the vehicle when the vehicle door is opened and the corresponding field strength value, and the distance between the digital key and the vehicle when the digital key and the vehicle establish a Bluetooth connection) are fitted to obtain the distance measurement function of the digital key's field strength value with respect to the distance. In actual applications, the distance measurement function can be used for distance measurement and vehicle function triggering.
[0103] As an example, , whose inverse function is , y is a function of the field strength value with respect to the distance x, and its inverse function is a function of the distance x with respect to the field strength value y. This function is fitted by the above two sets of preset distance calibration values and Bluetooth field strength calibration values. Specifically, the two sets of preset distance calibration values and Bluetooth field strength calibration values can be substituted into the inverse function, and polynomial difference can be performed. The equation can be solved to calculate C1 and C2, thereby obtaining the ranging function of the field strength value of the digital key with respect to the distance.
[0104] The technical solution of this embodiment derives a ranging function between the Bluetooth field strength value and the distance through two preset distance calibration values (the distance when the Bluetooth is connected and the distance when the car door is open) and the corresponding Bluetooth field strength calibration value. Therefore, in actual applications, the real-time detected field strength value can be substituted into the ranging function to determine the distance between the digital key and the vehicle, thereby controlling the vehicle to realize automatic unlocking, locking, welcoming and other vehicle functions without relying on additional ranging equipment, thereby reducing the cost of Bluetooth field strength calibration and improving the convenience of Bluetooth field strength calibration.
[0105] In another embodiment, the corresponding relationship is used to determine the actual distance between the digital key and the vehicle based on the actual value of the Bluetooth field strength of the digital key, determine the functional area corresponding to the digital key around the vehicle based on the actual distance, and perform vehicle control operations matching the functional area; the functional area includes an area whose distance from the vehicle is within or outside the function trigger threshold; the method also includes: determining a correction coefficient based on the distance between the digital key and the vehicle when the digital key establishes a Bluetooth connection with the vehicle, and the field strength value of the Bluetooth signal emitted by the digital key when the digital key establishes a Bluetooth connection with the vehicle; determining the corrected function trigger threshold based on the product of the correction coefficient and the function trigger threshold.
[0106] The definition of the functional area can refer to the above embodiment, and the details are not repeated here. The functional area includes an area within or outside the function trigger threshold value between the vehicle and the unlocking area. The function trigger threshold value is used to determine whether to enter the corresponding functional area. For example, if the functional area is an unlocking area, the unlocking area includes an area within the function trigger threshold value (such as 0.5 meters) between the vehicle and the unlocking area; if the functional area is a locking area, the locking area includes an area outside the function trigger threshold value (such as 2 meters) between the vehicle and the unlocking area. In this embodiment, taking into account the differences between different models of digital keys or Bluetooth devices, the function trigger threshold value can be corrected to ensure the accuracy of the vehicle function triggering.
[0107] In a specific implementation, the correction coefficient is determined based on the distance between the digital key and the vehicle when the digital key establishes a Bluetooth connection with the vehicle, and the field strength value of the Bluetooth signal emitted by the digital key when the digital key establishes a Bluetooth connection with the vehicle. The correction coefficient can be determined based on the ratio between the two. The correction coefficient can be used to compensate for the distance and signal strength changes caused by different devices (such as different models of mobile phones or physical keys) or environments (such as interference, obstacles, etc.), and to correct the function triggering threshold. In different environments and devices, it can still accurately determine whether the distance between the digital key and the vehicle enters the corresponding functional area, and ensure the accuracy of the vehicle function triggering.
[0108] As an example, the field strength value when the digital key establishes a Bluetooth connection with the vehicle is X 连接 When the digital key establishes a Bluetooth connection with the vehicle, the distance between the digital key and the vehicle is T 连接 , then the correction coefficient can be expressed as:
[0109] .
[0110] Assuming that the functional area is the blocking area, the corresponding function trigger threshold is the blocking threshold T lock , the lockout threshold T lock Corrected, the corrected lockout threshold It can be expressed as:
[0111] .
[0112] Assuming that the functional area is the unlocking area, the corresponding function triggering threshold is the unlocking threshold T unlock , the unlocking threshold T unlock Corrected, the unlocking threshold after correction It can be expressed as:
[0113] .
[0114] The technical solution of this embodiment determines the correction coefficient used to correct the function trigger threshold through the distance and field strength value when the digital key establishes a Bluetooth connection with the vehicle, so that the function trigger threshold can be adjusted according to the specific environment or equipment differences (such as different models of digital keys or different obstacles in the environment), so that the trigger distance of each functional area can be adjusted according to the actual situation, ensuring that the vehicle function triggering remains accurate and reliable under different environments and equipment conditions.
[0115] In another embodiment, as shown in FIG. 4 , a method for calibrating Bluetooth field strength is provided, which is described by taking the method applied to the terminal in FIG. 1 as an example, and includes the following steps:
[0116] S402, after the digital key of the vehicle establishes a Bluetooth connection with the vehicle, obtaining a field strength value of a Bluetooth signal emitted by the digital key when approaching the vehicle.
[0117] S404, determine whether the vehicle is equipped with a distance measuring device, if so, execute step S406; if not, execute step S412.
[0118] S406: When a distance measuring device is provided on the vehicle, the distance between the digital key and the vehicle is obtained by using the distance measuring device when the digital key is approaching the vehicle.
[0119] S408, when the distance reaches a preset distance calibration value, the field strength value of the Bluetooth signal emitted by the digital key is recorded as the Bluetooth field strength calibration value.
[0120] The Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is the preset distance calibration value.
[0121] S410: Determine the correspondence between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value.
[0122] S412, when no ranging device is provided on the vehicle, the field strength value of the digital key when the digital key establishes a Bluetooth connection with the vehicle and the field strength value of the digital key when the vehicle door is opened are used as Bluetooth field strength calibration values.
[0123] S414, determining a ranging function of the field strength value of the digital key with respect to the distance according to a preset distance calibration value, a Bluetooth field strength calibration value, and an attenuation coefficient of the field strength value of the digital key with respect to the distance, as a corresponding relationship between the field strength value of the digital key and the distance.
[0124] S416: Determine a correction coefficient according to the distance between the digital key and the vehicle when the digital key establishes a Bluetooth connection with the vehicle, and the field strength value of the Bluetooth signal emitted by the digital key when the digital key establishes a Bluetooth connection with the vehicle.
[0125] Among them, the corresponding relationship is used to determine the actual distance between the digital key and the vehicle according to the actual value of the Bluetooth field strength of the digital key, determine the functional area corresponding to the digital key around the vehicle according to the actual distance, and execute vehicle control operations matching the functional area; the functional area includes the area whose distance from the vehicle is within or outside the function trigger threshold.
[0126] S418, determining a corrected function trigger threshold according to the product of the correction coefficient and the function trigger threshold.
[0127] It should be noted that the specific limitations of the above steps can refer to the specific limitations of a method for calibrating Bluetooth field strength described above.
[0128] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0129] Based on the same inventive concept, the embodiment of the present application also provides a Bluetooth field strength calibration device for implementing the Bluetooth field strength calibration method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more Bluetooth field strength calibration devices provided below can refer to the limitations of the Bluetooth field strength calibration method above, and will not be repeated here.
[0130] In an exemplary embodiment, as shown in FIG5 , a device for calibrating Bluetooth field strength is provided, including:
[0131] The connection module 510 is used to obtain the field strength value of the Bluetooth signal emitted by the digital key when approaching the vehicle after the digital key of the vehicle establishes a Bluetooth connection with the vehicle.
[0132] The calibration module 520 is used to obtain a Bluetooth field strength calibration value from the field strength value; the Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value.
[0133] The determination module 530 is used to determine the corresponding relationship between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value.
[0134] In one of the embodiments, the calibration module 520 is specifically used to obtain the distance between the digital key and the vehicle when the digital key approaches the vehicle through the ranging device when a ranging device is provided on the vehicle; when the distance reaches the preset distance calibration value, the field strength value of the Bluetooth signal emitted by the digital key is recorded as the Bluetooth field strength calibration value.
[0135] In one embodiment, the ranging device includes: a millimeter-wave radar, a camera and an ultra-wideband sensor; a calibration module 520, which is specifically used to obtain the distance between the digital key and the vehicle when the digital key approaches the vehicle through the millimeter-wave radar; when the distance obtained by the millimeter-wave radar is less than or equal to a first distance threshold, the distance between the digital key and the vehicle is obtained through the camera; when the distance obtained by the camera is less than or equal to a second distance threshold, the distance between the digital key and the vehicle is obtained through the ultra-wideband sensor; wherein, when the distance between the digital key and the vehicle is obtained through the camera, the preset distance calibration value includes multiple calibration values with a first spacing; when the distance between the digital key and the vehicle is obtained through the ultra-wideband sensor, the preset distance calibration value includes multiple calibration values with a second spacing; the first value is greater than the second value.
[0136] In one embodiment, the ranging device includes: a millimeter-wave radar, a camera and an ultrasonic radar; a calibration module 520, which is specifically used to obtain the distance between the digital key and the vehicle when the digital key approaches the vehicle through the millimeter-wave radar; when the distance obtained by the millimeter-wave radar is less than or equal to a first distance threshold, the distance between the digital key and the vehicle is obtained through the camera; when the distance obtained by the camera is less than or equal to a third distance threshold, the distance between the digital key and the vehicle is obtained through the ultrasonic radar; wherein, when the distance between the digital key and the vehicle is obtained through the camera, the preset distance calibration value includes multiple calibration values with a third numerical spacing; when the distance between the digital key and the vehicle is obtained through the ultrasonic radar, the preset distance calibration value includes multiple calibration values with a fourth numerical spacing; the third numerical value is greater than the fourth numerical value.
[0137] In one embodiment, the preset distance calibration value includes the distance between the digital key and the vehicle when the door of the vehicle is opened, and the distance between the digital key and the vehicle when the Bluetooth connection is established between the digital key and the vehicle; the calibration module 520 is specifically used to use the field strength value of the digital key when the Bluetooth connection is established between the digital key and the vehicle, and the field strength value of the digital key when the door of the vehicle is opened, as the Bluetooth field strength calibration value when no ranging device is provided on the vehicle.
[0138] In one embodiment, the determination module 530 is specifically used to determine the ranging function of the field strength value of the digital key with respect to the distance based on the preset distance calibration value, the Bluetooth field strength calibration value and the attenuation coefficient of the field strength value of the digital key with respect to the distance, as the correspondence between the field strength value of the digital key and the distance.
[0139] In one of the embodiments, the corresponding relationship is used to determine the actual distance between the digital key and the vehicle according to the actual value of the Bluetooth field strength of the digital key, determine the functional area corresponding to the digital key around the vehicle according to the actual distance, and perform vehicle control operations matching the functional area; the functional area includes an area whose distance from the vehicle is within or outside a function trigger threshold; the calibration module 520 is specifically used to determine a correction coefficient based on the distance between the digital key and the vehicle when the digital key establishes the Bluetooth connection with the vehicle, and the field strength value of the Bluetooth signal emitted by the digital key when the digital key establishes the Bluetooth connection with the vehicle; and determine the corrected function trigger threshold based on the product of the correction coefficient and the function trigger threshold.
[0140] Each module in the above-mentioned Bluetooth field strength calibration device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0141] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG6. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for calibrating Bluetooth field strength is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0142] Those skilled in the art will understand that the structure shown in FIG. 6 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0143] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0144] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0145] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0146] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0147] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0148] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0149] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for calibrating Bluetooth field strength, characterized in that: The method comprises: After the digital key of the vehicle establishes a Bluetooth connection with the vehicle, obtaining a field strength value of a Bluetooth signal emitted by the digital key when approaching the vehicle; Obtaining a Bluetooth field strength calibration value from the field strength value; the Bluetooth field strength calibration value is a field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value; According to the preset distance calibration value and the Bluetooth field strength calibration value, the corresponding relationship between the field strength value and the distance of the digital key is determined.
2. The method according to claim 1, characterized in that The obtaining of a Bluetooth field strength calibration value from the field strength value comprises: In the case where a distance measuring device is provided on the vehicle, obtaining, by means of the distance measuring device, the distance between the digital key and the vehicle when the digital key is approaching the vehicle; When the distance reaches the preset distance calibration value, the field strength value of the Bluetooth signal emitted by the digital key is recorded as the Bluetooth field strength calibration value.
3. The method according to claim 2, characterized in that The distance measuring device includes: a millimeter wave radar, a camera and an ultra-wideband sensor; the distance between the digital key and the vehicle when the digital key approaches the vehicle through the distance measuring device includes: Acquiring, by the millimeter-wave radar, the distance between the digital key and the vehicle when the digital key is approaching the vehicle; When the distance acquired by the millimeter-wave radar is less than or equal to a first distance threshold, acquiring the distance between the digital key and the vehicle through the camera; When the distance acquired by the camera is less than or equal to a second distance threshold, acquiring the distance between the digital key and the vehicle by using the ultra-wideband sensor; Among them, when the distance between the digital key and the vehicle is obtained through the camera, the preset distance calibration value includes multiple calibration values with a first spacing value; when the distance between the digital key and the vehicle is obtained through the ultra-wideband sensor, the preset distance calibration value includes multiple calibration values with a second spacing value; the first value is greater than the second value.
4. The method according to claim 2, characterized in that The distance measuring device includes: a millimeter wave radar, a camera and an ultrasonic radar; the distance between the digital key and the vehicle when the digital key approaches the vehicle through the distance measuring device includes: Acquiring, by the millimeter-wave radar, the distance between the digital key and the vehicle when the digital key is approaching the vehicle; When the distance acquired by the millimeter-wave radar is less than or equal to a first distance threshold, acquiring the distance between the digital key and the vehicle through the camera; When the distance acquired by the camera is less than or equal to a third distance threshold, acquiring the distance between the digital key and the vehicle by using the ultrasonic radar; Among them, when the distance between the digital key and the vehicle is obtained through the camera, the preset distance calibration value includes multiple calibration values with a third numerical spacing; when the distance between the digital key and the vehicle is obtained through the ultrasonic radar, the preset distance calibration value includes multiple calibration values with a fourth numerical spacing; the third numerical value is greater than the fourth numerical value.
5. The method according to claim 1, characterized in that The preset distance calibration value includes the distance between the digital key and the vehicle when the door of the vehicle is opened, and the distance between the digital key and the vehicle when the digital key establishes the Bluetooth connection with the vehicle; the obtaining of the Bluetooth field strength calibration value from the field strength value includes: When no ranging device is provided on the vehicle, the field strength value of the digital key when the digital key establishes the Bluetooth connection with the vehicle and the field strength value of the digital key when the door of the vehicle is opened are used as the Bluetooth field strength calibration value.
6. The method according to claim 5, characterized in that The determining the corresponding relationship between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value includes: According to the preset distance calibration value, the Bluetooth field strength calibration value and the attenuation coefficient of the field strength value of the digital key with respect to the distance, a ranging function of the field strength value of the digital key with respect to the distance is determined as the corresponding relationship between the field strength value of the digital key and the distance.
7. The method according to claim 5, characterized in that The corresponding relationship is used to determine the actual distance between the digital key and the vehicle according to the actual value of the Bluetooth field strength of the digital key, determine the functional area corresponding to the digital key around the vehicle according to the actual distance, and perform the vehicle control operation matching the functional area; The functional area includes an area whose distance from the vehicle is within or outside a function triggering threshold; the method further includes: determining a correction coefficient according to a distance between the digital key and the vehicle when the digital key establishes the Bluetooth connection with the vehicle, and a field strength value of a Bluetooth signal emitted by the digital key when the digital key establishes the Bluetooth connection with the vehicle; The corrected function trigger threshold is determined according to the product of the correction coefficient and the function trigger threshold.
8. A Bluetooth field strength calibration device, characterized in that: The device comprises: A connection module, configured to obtain, after a digital key of a vehicle establishes a Bluetooth connection with the vehicle, a field strength value of a Bluetooth signal emitted by the digital key when the digital key approaches the vehicle; A calibration module, used to obtain a Bluetooth field strength calibration value from the field strength value; the Bluetooth field strength calibration value is the field strength value of the digital key when the distance between the digital key and the vehicle is a preset distance calibration value; The determination module is used to determine the corresponding relationship between the field strength value and the distance of the digital key according to the preset distance calibration value and the Bluetooth field strength calibration value.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Near field communication method, module and equipment
CN122178946A
Calibration method, calibration apparatus, electronic device, storage medium, and vehicle
WO2026179394A1