Vehicle control method and apparatus, computer device, storage medium and program product
By performing multiple clustering iterations on the Bluetooth signal strength set and using the maximum and minimum values to determine the target Bluetooth signal strength, the problem of misjudgment of unlocking or locking caused by the extreme value of a single Bluetooth signal is solved, thus improving the accuracy of unlocking and locking.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- ZHEJIANG GEELY HLDG GRP CO LTD
- Filing Date
- 2025-11-19
- Publication Date
- 2026-06-04
AI Technical Summary
During the process of unlocking or locking a car using a Bluetooth key, the extreme value judgment of a single Bluetooth signal strength may lead to inaccurate unlocking or locking results, especially when the user terminal device is not in a good position.
By acquiring multiple sets of Bluetooth signal strength and performing multiple clustering iterations, the target Bluetooth signal strength is determined. The maximum and minimum values of the cluster centers are used to determine whether to unlock or lock the vehicle, avoiding the use of extreme values for judgment.
It improves the accuracy of unlocking and locking operations, avoids misjudgments caused by extreme values of a single Bluetooth signal, and enhances the accuracy of vehicle control.
Smart Images

Figure CN2025136040_04062026_PF_FP_ABST
Abstract
Description
Vehicle control methods, devices, computer equipment, storage media and software products Cross-reference to related applications
[0001] This disclosure claims priority to Chinese patent application No. 202411704851.4, filed on November 26, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This disclosure relates to, but is not limited to, the field of vehicle control technology, specifically to vehicle control methods, devices, computer equipment, storage media, and program products. Background Technology
[0003] Determining the strength of the Bluetooth signal on the user's device as they approach or move away from the vehicle is the basis for the Bluetooth key to unlock or lock the vehicle.
[0004] During the process of unlocking or locking the vehicle using a Bluetooth key, the strength of the Bluetooth signal of the user's terminal device is determined each time by comparing the strength of a single Bluetooth signal collected at the corresponding moment with a corresponding threshold to determine whether to unlock or lock the vehicle. Summary of the Invention
[0005] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.
[0006] This disclosure provides a vehicle control method, apparatus, computer equipment, storage medium, and program product.
[0007] In a first aspect, embodiments of this disclosure provide a vehicle control method, comprising: acquiring a Bluetooth signal strength set, the Bluetooth signal strength set including the strengths of multiple Bluetooth signals received within a target time period; performing multiple clustering iterations on the Bluetooth signal strength set, and determining a target Bluetooth signal strength from a first clustering result generated by the last clustering iteration, wherein the first cluster center of the first clustering result generated by the first clustering iteration is less than the maximum value of the Bluetooth signal strength set and greater than the minimum value of the Bluetooth signal strength set, the first clustering result generated by subsequent clustering iterations is generated based on the first cluster center of the first clustering result generated by the previous clustering iteration, the second cluster center of the second clustering result generated by each clustering iteration is the maximum value, and the third cluster center of the third clustering result generated by each clustering iteration is the minimum value; and in response to determining that the target Bluetooth signal strength meets unlocking or locking conditions, performing an unlocking operation or a locking operation on the target vehicle.
[0008] In one possible implementation, the unlocking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the unlocking operation, and the locking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the locking operation.
[0009] In one possible implementation, before acquiring the Bluetooth signal strength set, the method further includes: acquiring multiple sets of Bluetooth signal strengths for testing, wherein the Bluetooth signal strengths for testing are collected in a scenario corresponding to the Bluetooth signal strengths for testing, the scenario being a scenario where the distance between the user's device for testing and the vehicle for testing is a preset calibration distance and the user's posture is a preset posture; determining the calibration Bluetooth signal strength corresponding to each calibration distance among multiple calibration distances based on the multiple sets of Bluetooth signal strengths for testing, the multiple calibration distances including: a first calibration distance, an associated calibration distance of the first calibration distance, a second calibration distance, and an associated calibration distance of the second calibration distance; determining the calibration Bluetooth signal strength range for unlocking operations based on the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance; and determining the calibration Bluetooth signal strength range for locking operations based on the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance.
[0010] In one possible implementation, determining the range of calibrated Bluetooth signal strength for the unlocking operation based on the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance includes: using the smaller of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance as the minimum value of the range of calibrated Bluetooth signal strength for the unlocking operation; and using the larger of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance as the range of calibrated Bluetooth signal strength for the unlocking operation. The maximum value, wherein, based on the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance, the range of calibration Bluetooth signal strength used for locking the vehicle is determined, including: taking the smaller of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance as the minimum value of the range of calibration Bluetooth signal strength used for locking the vehicle; and taking the larger of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance as the maximum value of the range of calibration Bluetooth signal strength used for locking the vehicle.
[0011] In one possible implementation, the associated calibration distance of the first calibration distance includes a first associated calibration distance and a second associated calibration distance of the first calibration distance. Determining the calibration Bluetooth signal strength range for the unlocking operation based on the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance includes: determining the calibration Bluetooth signal strength range for the unlocking operation based on the calibration Bluetooth signal strength corresponding to the first calibration distance, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance. The range of calibration distances; and the associated calibration distances of the second calibration distance include the first associated calibration distance of the second calibration distance and the second associated calibration distance of the second calibration distance. Based on the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance, the range of calibration Bluetooth signal strengths used for locking the vehicle is determined, including: based on the calibration Bluetooth signal strength corresponding to the second calibration distance, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance, the range of calibration Bluetooth signal strengths used for locking the vehicle is determined.
[0012] In one possible implementation, determining the range of calibrated Bluetooth signal strength for the unlocking operation based on the calibrated Bluetooth signal strength corresponding to the first calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance includes: determining the average of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the first associated calibration distance as the minimum value within the range of calibrated Bluetooth signal strength for the unlocking operation; determining the average of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance as the maximum value within the range of calibrated Bluetooth signal strength for the unlocking operation; and determining the calibrated Bluetooth signal strength range for the unlocking operation based on the minimum value and the maximum value within the range of calibrated Bluetooth signal strength for the unlocking operation. The range of calibration Bluetooth signal strength for locking the vehicle is determined based on the calibration Bluetooth signal strength corresponding to the second calibration distance, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance. This includes: determining the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance as the minimum value within the range of calibration Bluetooth signal strength for locking the vehicle; determining the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance as the maximum value within the range of calibration Bluetooth signal strength for locking the vehicle; and determining the range of calibration Bluetooth signal strength for locking the vehicle based on the minimum value and the maximum value within the range of calibration Bluetooth signal strength for locking the vehicle.
[0013] In one possible implementation, determining the range of calibrated Bluetooth signal strength for unlocking operations based on the calibrated Bluetooth signal strength corresponding to the first calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance includes: determining the smaller of the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance as the minimum value of the range of calibrated Bluetooth signal strength for unlocking operations; and determining the larger of the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance as the maximum value of the range of calibrated Bluetooth signal strength for unlocking operations. Based on the calibrated Bluetooth signal strength corresponding to the second calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance, the range of calibrated Bluetooth signal strength used for locking the vehicle is determined, including: determining the smaller of the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance as the minimum value of the range of calibrated Bluetooth signal strength used for locking the vehicle; and determining the larger of the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance as the maximum value of the range of calibrated Bluetooth signal strength used for locking the vehicle.
[0014] In one possible implementation, the above method further includes determining the average of the maximum and minimum values as the starting cluster centers for generating the first clustering result in the first clustering iteration.
[0015] In one possible implementation, the method further includes: determining the median of the strengths of multiple Bluetooth signals in the Bluetooth signal strength set as the starting cluster center for generating the first clustering result in the first clustering iteration.
[0016] In one possible implementation, performing multiple clustering iterations on the Bluetooth signal strength set and determining the target Bluetooth signal strength from the first clustering result generated by the last clustering iteration includes: for each clustering iteration, calculating the average value of all Bluetooth signal strengths in the first clustering result generated by that iteration; in response to the difference between the average value and the Bluetooth signal strength corresponding to the first cluster center of the first clustering result generated by the previous clustering iteration being greater than a preset difference, using the average value as the new first cluster center for the next clustering iteration; and in response to the difference between the average value and the Bluetooth signal strength corresponding to the first cluster center of the first clustering result generated by the previous clustering iteration being less than or equal to the preset difference, using the Bluetooth signal strength corresponding to the first cluster center of the first clustering result generated by the previous clustering iteration as the target Bluetooth signal strength.
[0017] In one possible implementation, the method further includes: performing a start operation on the target vehicle in response to determining that the target Bluetooth signal strength meets the start conditions of the target vehicle.
[0018] Secondly, embodiments of this disclosure provide a vehicle control device, comprising: a Bluetooth signal strength set acquisition unit configured to acquire a Bluetooth signal strength set, the Bluetooth signal strength set including the strengths of multiple Bluetooth signals received within a target time period; a clustering iteration unit configured to perform multiple clustering iterations on the Bluetooth signal strength set, and determine a target Bluetooth signal strength from a first clustering result generated by the last clustering iteration, wherein the first cluster center of the first clustering result generated by the first clustering iteration is less than the maximum value of the Bluetooth signal strength set and greater than the minimum value of the Bluetooth signal strength set, the first clustering result generated by subsequent clustering iterations is generated based on the first cluster center of the first clustering result generated by the previous clustering iteration, the second cluster center of the second clustering result generated by each clustering iteration is the maximum value, and the third cluster center of the third clustering result generated by each clustering iteration is the minimum value; and an execution unit configured to perform an unlocking operation or a locking operation on the target vehicle in response to determining that the target Bluetooth signal strength meets the unlocking condition or the locking condition.
[0019] In one possible implementation, the unlocking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the unlocking operation, and the locking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the locking operation.
[0020] In one possible implementation, the above apparatus further includes: a Bluetooth signal strength acquisition unit for testing, configured to acquire multiple sets of Bluetooth signal strengths for testing, wherein the Bluetooth signal strengths for testing are collected in a scenario corresponding to the Bluetooth signal strengths for testing, the scenario being a scenario where the distance between the user's device for testing and the vehicle for testing is a preset calibration distance and the user's posture is a preset posture; and a calibration Bluetooth signal strength determination unit, configured to determine the calibration Bluetooth signal strength corresponding to each calibration distance among multiple calibration distances based on the multiple sets of Bluetooth signal strengths for testing, the multiple calibration distances including: a first... The system includes a calibration distance, a first calibration distance associated with the first calibration distance, a second calibration distance, and a second calibration distance associated with the second calibration distance; a calibration range determination unit for unlocking operations, configured to determine a calibration Bluetooth signal strength range for unlocking operations based on the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance; and a calibration range determination unit for locking operations, configured to determine a calibration Bluetooth signal strength range for locking operations based on the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance.
[0021] In one possible implementation, the calibration range determination unit for the unlocking operation is further configured to determine the average value between the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance as the minimum value of the calibration Bluetooth signal strength range for the unlocking operation; determine the average value between the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance as the maximum value of the calibration Bluetooth signal strength range for the unlocking operation; and determine the calibration Bluetooth signal strength range for the unlocking operation based on the minimum value and the maximum value of the calibration Bluetooth signal strength range for the unlocking operation. The calibration range determination unit for vehicle locking operation is further configured to determine the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance as the minimum value within the calibration Bluetooth signal strength range for vehicle locking operation; determine the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance as the maximum value within the calibration Bluetooth signal strength range for vehicle locking operation; and determine the calibration Bluetooth signal strength range for vehicle locking operation based on the minimum value and the maximum value within the calibration Bluetooth signal strength range for vehicle locking operation.
[0022] In one possible implementation, the above apparatus further includes: an initial cluster center determination unit configured to determine the average of the maximum and minimum values as the initial cluster centers for generating the first clustering result in the first clustering iteration.
[0023] Thirdly, embodiments of this disclosure provide a computer device, including: at least one processor; at least one memory communicatively connected to the at least one processor, wherein the at least one memory stores computer-executable instructions, and the at least one processor is configured to read the computer-executable instructions from the at least one memory and execute the computer-executable instructions to implement the vehicle control method of the first aspect or any corresponding embodiment described above.
[0024] Fourthly, embodiments of this disclosure provide a non-transitory computer-readable storage medium storing computer-executable instructions, which, when executed by at least one processor, implement the vehicle control method of the first aspect or any corresponding embodiment described above.
[0025] Fifthly, embodiments of this disclosure provide a computer program product including computer-executable instructions, which, when executed by at least one processor, implement the vehicle control method of the first aspect or any corresponding embodiment described above.
[0026] The vehicle control method provided in this disclosure acquires a Bluetooth signal strength set in real time when a user's terminal device approaches or moves away from a target vehicle. The Bluetooth signal strength set includes multiple Bluetooth signal strengths within a target time period. Multiple clustering iterations are performed on the Bluetooth signal strength set. During these iterations, only the cluster centers of the first clustering result are updated. The cluster centers of the second clustering result generated in each iteration are the maximum values in the Bluetooth signal strength set, and the cluster centers of the third clustering result generated in each iteration are the minimum values in the Bluetooth signal strength set. The second clustering result generated in the last iteration consists of the maximum Bluetooth signal strength and Bluetooth signal strengths close to that maximum. The third clustering result generated in the last iteration consists of the minimum Bluetooth signal strength and Bluetooth signal strengths close to that minimum. The target Bluetooth signal strength is determined from the first clustering result generated in the last iteration, and it is then determined whether the target Bluetooth signal strength meets the unlocking and locking conditions. The target Bluetooth signal strength is neither a maximum nor a minimum value within the Bluetooth signal strength set. This avoids inaccurate results in determining whether the vehicle should be unlocked or locked due to the reliance on extreme values to determine whether unlocking or locking conditions are met. Therefore, the accuracy of determining whether to unlock or lock the vehicle is improved, thereby enhancing the overall accuracy of unlocking and locking the vehicle.
[0027] After reading and understanding the accompanying diagrams and detailed descriptions, the other aspects can be understood. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. The accompanying drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0029] Figure 1 is a schematic flowchart of the vehicle control method provided in an embodiment of this disclosure.
[0030] Figure 2 is a schematic diagram of an example of performing multiple clustering iterations on a Bluetooth signal strength set according to an embodiment of this disclosure.
[0031] Figure 3 is a schematic diagram of one example of a user approaching a vehicle according to an embodiment of this disclosure.
[0032] Figure 4 is a schematic diagram of one example of a user moving away from a vehicle, provided by an embodiment of this disclosure.
[0033] Figure 5 is a structural block diagram of the vehicle control device provided in an embodiment of this disclosure.
[0034] Figure 6 is a schematic diagram of the hardware structure of a computer device according to an embodiment of this disclosure. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. The described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0036] When unlocking or locking a vehicle using a Bluetooth key, the signal strength of a single Bluetooth signal collected at a given moment is typically compared to a corresponding threshold. The comparison result then determines whether to unlock or lock the vehicle. However, at certain times, the user's device may be positioned in a way that results in an excessively strong or weak Bluetooth signal (e.g., at an angle or orientation relative to the vehicle). This causes the strength of the single Bluetooth signal used for comparison with the threshold at that particular position to be at a maximum or minimum, compared to the signal strength of other positions at that location. In such cases, the determination of whether to unlock or lock the vehicle may be inaccurate, thus reducing the accuracy of unlocking or locking the vehicle.
[0037] In view of the above, this disclosure provides a vehicle control method, apparatus, computer device, storage medium, and program product. The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0038] Referring to Figure 1, a schematic flowchart of a vehicle control method provided in an embodiment of this disclosure is shown. This method can be executed by a target vehicle, such as its in-vehicle Bluetooth system, and includes the following steps S101 to S103.
[0039] In step S101, a Bluetooth signal strength set is obtained, which includes the strength of multiple Bluetooth signals received within the target time period.
[0040] In step S102, the Bluetooth signal strength set is subjected to multiple clustering iterations, and the target Bluetooth signal strength is determined from the first clustering result generated from the last clustering iteration.
[0041] In step S103, in response to determining that the target Bluetooth signal strength meets the unlocking or locking conditions, an unlocking or locking operation is performed on the target vehicle.
[0042] The target vehicle can be any vehicle to which the methods provided in the embodiments of this disclosure can be applied.
[0043] Bluetooth signal strength is a signal sent by the user's terminal device after a Bluetooth connection is established between the user's terminal device and the target vehicle's in-vehicle Bluetooth system, in response to a request for Bluetooth signal strength from the target vehicle.
[0044] In one possible implementation, the target vehicle receives Bluetooth signals at preset time intervals. As an example, the preset time interval is 1ms.
[0045] As an example, a user's terminal device can be a mobile phone, a wearable terminal device (such as a wearable watch), etc.
[0046] The target time period is a sub-time period within the time period of unlocking or locking the target vehicle.
[0047] Steps S101 and S102 are repeatedly executed during the process of unlocking or locking the target vehicle. The number of times steps S101 and S102 are executed is denoted as m.
[0048] During the process of unlocking or locking a target vehicle, if after the k-th execution of steps S101 and S102 it is determined that the locking or unlocking conditions are not met, then steps S101 and S102 are executed for the (k+1)th time. If after the m-th execution of steps S101 and S102 it is determined that the locking or unlocking conditions are met, then step S103 is executed. In this embodiment, k is less than m, and k+1 is less than or equal to m.
[0049] In one possible implementation, the start time of the time period for locking the target vehicle can be the moment when the vehicle is powered off, the moment when the vehicle door changes from open to closed, or the moment when the vehicle is turned off.
[0050] In one possible implementation, the start time of the first target time period within the time period of unlocking the target vehicle can be: the moment when the user's terminal device establishes a Bluetooth connection with the target vehicle's in-vehicle Bluetooth system.
[0051] The end time of the i-th target time period is the start time of the (i+1)-th target time period.
[0052] In one possible implementation, the target time period has a preset duration. As an example, the target time period has a duration of 500ms.
[0053] In step S102, multiple clustering iterations are performed on the Bluetooth signal strength set, and the target Bluetooth signal strength is determined from the first clustering result generated in the last clustering iteration. The cluster center of the first clustering result generated in the first clustering iteration is less than the maximum value of the Bluetooth signal strength set and greater than the minimum value of the Bluetooth signal strength set. The first clustering result generated in subsequent clustering iterations is generated based on the cluster center of the first clustering result generated in the previous clustering iteration. The cluster center of the second clustering result generated in each clustering iteration is the maximum value of the Bluetooth signal strength set, and the cluster center of the third clustering result generated in each clustering iteration is the minimum value of the Bluetooth signal strength set.
[0054] In one possible implementation, the cluster center used to generate the first clustering result in the first clustering iteration is the median of the Bluetooth signal strength set.
[0055] The target Bluetooth signal strength can be used to determine the distance between the target vehicle and the user's terminal device. For example, when the target Bluetooth signal strength is M1, the distance between the target vehicle and the user's terminal device is N1; when the target Bluetooth signal strength is M2, the distance between the target vehicle and the user's terminal device is N2.
[0056] The target Bluetooth signal strength can be obtained by performing multiple clustering iterations on the Bluetooth signal strength set. Specifically, in the i-th clustering iteration, for Bluetooth signal strength j, the starting cluster center of the i-th clustering iteration is determined based on the method of using K-means clustering to determine the cluster center to which the Bluetooth signal strength should belong.
[0057] For the initial cluster centers used as the first cluster centers, the first cluster centers in the first clustering iteration are determined based on the maximum and minimum values of the Bluetooth signal strength in the Bluetooth signal strength set. The first cluster centers in subsequent clustering iterations are determined based on the first cluster centers determined in the previous clustering iteration.
[0058] For the initial cluster center that serves as the second cluster center, in each clustering iteration, the second cluster center is the maximum value of the Bluetooth signal strength set.
[0059] For the initial cluster center that serves as the third cluster center, in each clustering iteration, the third cluster center is the minimum value of the Bluetooth signal strength set.
[0060] Please refer to Figure 2, which shows a schematic diagram of an example of multiple clustering iterations of a Bluetooth signal strength set.
[0061] As an example, we incorporate elements of the K-means clustering algorithm to perform multiple clustering iterations on the Bluetooth signal strength set. Specifically, the obtained Bluetooth signal strength set includes Bluetooth signal strength 1 to Bluetooth signal strength 10.
[0062] It should be noted that in Figure 2, points can be used to represent the Bluetooth signal strengths being clustered. Each point in Figure 2 represents a Bluetooth signal strength. Circles represent the clustering results generated after each clustering iteration. Rectangles represent the second cluster centers of the second clustering results after each clustering iteration, and the second cluster centers of the second clustering results generated in each iteration are all the maximum values of the Bluetooth signal strength set. Triangles represent the third cluster centers of the third clustering results after each clustering iteration, and the third cluster centers of the third clustering results generated in each clustering iteration are all the minimum values of the Bluetooth signal strength set. Pentagons represent the first cluster centers of the first clustering results after each clustering iteration, and the first cluster centers of the first clustering results generated in each clustering iteration are variable.
[0063] Before the first round of clustering iteration (i.e., the first clustering iteration), Bluetooth signal strength 1 is the maximum value in the Bluetooth signal strength set, and Bluetooth signal strength 10 is the minimum value in the Bluetooth signal strength set. The average value of Bluetooth signal strength 1 and Bluetooth signal strength 10 is determined as the first cluster center. Bluetooth signal strength 1 is used as the second cluster center, and Bluetooth signal strength 10 is used as the third cluster center. The first distance, the second distance, and the third distance of other Bluetooth signal strengths from the first cluster center and the third cluster center are calculated respectively. The first distance, the second distance, and the third distance are compared to determine the minimum distance among the first distance, the second distance, and the third distance. Then, the Bluetooth signal strength is assigned to the cluster center that satisfies the minimum distance.
[0064] As an example, the first distance from the first cluster center, the second distance from the second cluster center, and the third distance from the third cluster center of other Bluetooth signal strengths can all be determined using a one-dimensional Euclidean formula.
[0065] In the first round of clustering iteration, Bluetooth signal strengths 2 to 7 are assigned to the first cluster center to form the first clustering result, Bluetooth signal strength 8 is assigned to the second cluster center to form the second clustering result, and Bluetooth signal strength 9 is assigned to the third cluster center to form the third clustering result.
[0066] The average value of each Bluetooth signal strength in the first clustering result is calculated. Then, it is checked whether the difference between the average value of each Bluetooth signal strength in the first clustering result and the Bluetooth signal strength of the first cluster center is not less than a preset difference. If the difference between the average value of each Bluetooth signal strength in the first clustering result and the Bluetooth signal strength of the first cluster center is greater than the preset difference, then the next clustering iteration needs to be performed based on the new first cluster center. That is, the average value of each Bluetooth signal strength in the first clustering result is used as the new first cluster center, and then the cluster centers of other Bluetooth signal strengths are re-determined based on the new first cluster center, second cluster center, and third cluster center.
[0067] In the second round of clustering iteration, Bluetooth signal strengths 2 to 6 are assigned to the first cluster center to form a new first clustering result; Bluetooth signal strengths 7 and 8 are assigned to the second cluster center to form a new second clustering result; and Bluetooth signal strength 9 is assigned to the third cluster center to form a new third clustering result. The second cluster center of the new second clustering result remains the maximum value of the Bluetooth signal strength in the set, and the third cluster center of the new third clustering result remains the minimum value of the Bluetooth signal strength in the set.
[0068] Calculate the average value of each Bluetooth signal strength in the new first cluster result. Then, check if the difference between the average value of each Bluetooth signal strength in the first cluster result and the Bluetooth signal strength of the new first cluster center is not less than a preset difference. If the difference between the average value of each Bluetooth signal strength in the new first cluster result and the Bluetooth signal strength of the new first cluster center is greater than the preset difference, then the next clustering iteration needs to be performed based on the updated first cluster center. Use the average value of each Bluetooth signal strength in the first cluster result as the first cluster center for the next clustering iteration. Then, reallocate other Bluetooth signal strengths to their respective cluster centers using the first, second, and third cluster centers for the next clustering iteration.
[0069] Bluetooth signal strengths 2 through 5 are assigned to the first cluster centers in the (n-1)th round to form the first clustering result of the (n-1)th round; Bluetooth signal strengths 7 and 8 are assigned to the second cluster centers to form the second clustering result of the (n-1)th round; and Bluetooth signal strengths 6 and 9 are assigned to the third cluster centers to form the third clustering result of the (n-1)th round. The second cluster center of the (n-1)th round second clustering result remains the maximum value of the Bluetooth signal strengths in the cluster, and the third cluster center of the (n-1)th round third clustering result remains the minimum value of the Bluetooth signal strengths in the cluster.
[0070] Calculate the average value of each Bluetooth signal strength in the first clustering result of the (n-1)th round. Then, check whether the difference between the average value of each Bluetooth signal strength in the first clustering result of the (n-1)th round and the Bluetooth signal strength of the first cluster center in the (n-1)th round is not less than a preset difference. If the difference between the average value of each Bluetooth signal strength in the first clustering result of the (n-1)th round and the Bluetooth signal strength of the first cluster center in the (n-1)th round is less than or equal to the preset difference, then no further clustering iteration is needed, and the Bluetooth signal strength of the first cluster center in the (n-1)th round is taken as the target Bluetooth signal strength. Here, the Bluetooth signal strength of the first cluster center in the (n-1)th round is the average value of each Bluetooth signal strength in the first clustering result of the (n-2)th round.
[0071] In one possible implementation, the average of the cluster centers of the second clustering result and the cluster centers of the third clustering result is determined as the starting cluster centers for generating the first clustering result in the first clustering iteration.
[0072] In step S103, in response to determining that the target Bluetooth signal strength meets the unlocking or locking conditions, an unlocking or locking operation is performed on the target vehicle.
[0073] When a user approaches a target vehicle with their terminal device, the device can send a Bluetooth signal to the vehicle's Bluetooth system in real time. The system can then acquire the target Bluetooth signal strength and unlock the vehicle when the signal strength is within the range for unlocking, and lock it when the signal strength is within the range for locking.
[0074] Users can bring their terminal devices close to the target vehicle or move them away from the vehicle. In step S103, it is determined whether the unlocking conditions and the locking conditions are met.
[0075] In one possible implementation, the unlocking condition is: the target Bluetooth signal strength is not less than the calibrated Bluetooth signal strength corresponding to the unlocking operation; the locking condition is: the target Bluetooth signal strength is not greater than the calibrated Bluetooth signal strength corresponding to the locking operation.
[0076] As an example, when a user approaches a target vehicle with a terminal device, the vehicle's Bluetooth system uses the Bluetooth signal strength received during the t-th target time period to execute steps S101 and S102 for the t-th time. If the target Bluetooth signal strength determined by executing steps S101 and S102 for the t-th time is less than the calibrated Bluetooth signal strength corresponding to the unlocking operation, then steps S101 and S102 are executed again, i.e., steps S101 and S102 are executed for the (t+1)-th time. If the target Bluetooth signal strength determined by executing steps S101 and S102 for the (t+1)-th time is greater than or equal to the calibrated Bluetooth signal strength corresponding to the unlocking operation, then step S103 is executed to unlock the vehicle. If the target Bluetooth signal strength determined by executing steps S101 and S102 for the (t+1)-th time is less than the calibrated Bluetooth signal strength corresponding to the unlocking operation, then steps S101 and S102 are executed again.
[0077] As an example, please refer to Figure 3, which shows a schematic diagram of one example of a user approaching a vehicle according to an embodiment of the present disclosure.
[0078] When a user approaches a target vehicle with their terminal device, the vehicle's Bluetooth system can unlock the vehicle when the distance between the user's terminal device and the target vehicle (e.g., the driver's seat) is within interval A. In this embodiment, the right endpoint of interval A is 3 meters, which can be set manually based on experience. The calibrated Bluetooth signal strength corresponding to 3 meters is A1. Therefore, when the user approaches the target vehicle with their terminal device, and the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range corresponding to interval A (i.e., the target Bluetooth signal strength is not less than A1), the vehicle is unlocked.
[0079] As an example, please refer to Figure 4, which shows a schematic diagram of one example of a user being away from a vehicle according to an embodiment of the present disclosure.
[0080] When a user moves away from the target vehicle with their terminal device, the vehicle's Bluetooth system can lock the vehicle when the distance between the user's terminal device and the target vehicle (e.g., the driver's seat) is within interval B. In this embodiment, the left endpoint of interval B is 6 meters, and the calibrated Bluetooth signal strength corresponding to 6 meters is B1. Therefore, when the user moves away from the target vehicle with their terminal device, the vehicle's Bluetooth system can determine the target Bluetooth signal strength for the (t+n)th target time period. When the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range corresponding to interval B, i.e., the target Bluetooth signal strength is not greater than B1, the vehicle locks the target vehicle.
[0081] It should be noted that the left endpoint of interval B can be set manually based on experience.
[0082] Typically, the duration of the target time period is not set too long. If, after the target vehicle has been unlocked, the vehicle's Bluetooth system still detects that the target Bluetooth signal strength is greater than A1 in other target time periods, then the distance between the user's terminal device and the target vehicle is no longer within interval A, and the unlocking operation will not be repeated.
[0083] Similarly, if the vehicle's Bluetooth system detects that the target Bluetooth signal strength is still less than B1 after the target vehicle has been locked, the distance between the user's terminal device and the target vehicle is no longer within interval B, and the vehicle will not be locked again.
[0084] In one possible implementation, when a user brings their terminal device close to the target vehicle, and the vehicle's Bluetooth system determines the target Bluetooth signal strength in the (t+1)th target time period to be the calibrated Bluetooth signal strength corresponding to the vehicle start operation, the target vehicle is started.
[0085] In this embodiment, when a user's terminal device approaches or moves away from a target vehicle, a Bluetooth signal strength set is acquired in real time. This set includes multiple Bluetooth signal strengths within a target time period. Multiple clustering iterations are performed on the Bluetooth signal strength set. During these iterations, only the cluster centers of the first clustering result are updated. The cluster centers of the second clustering result generated in each iteration are the maximum values in the Bluetooth signal strength set, and the cluster centers of the third clustering result generated in each iteration are the minimum values. The second clustering result generated in the last iteration consists of the maximum Bluetooth signal strength and Bluetooth signal strengths close to that maximum. The third clustering result generated in the last iteration consists of the minimum Bluetooth signal strength and Bluetooth signal strengths close to that minimum. The target Bluetooth signal strength is determined from the first clustering result generated in the last iteration. It is then determined whether the target Bluetooth signal strength meets the unlocking and locking conditions. The target Bluetooth signal strength is neither a maximum nor a minimum value within the Bluetooth signal strength set. This avoids inaccurate results in determining whether the vehicle should be unlocked or locked due to using extreme values to determine whether unlocking or locking conditions are met. Therefore, the accuracy of determining whether to unlock or lock the vehicle is improved, thereby enhancing the accuracy of unlocking or locking the vehicle.
[0086] In one possible implementation, the unlocking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the unlocking operation, and the locking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the locking operation.
[0087] Both the calibrated Bluetooth signal strength ranges used for unlocking and locking operations can be determined before acquiring the set of Bluetooth signal strengths received within the target time period. Both ranges can be determined using multiple sets of Bluetooth signal strengths used for testing.
[0088] As an example, during testing using multiple sets of Bluetooth signal strength parameters, if a predetermined number of test results show that the target vehicle was unlocked within a specific Bluetooth signal strength range, then that Bluetooth signal strength range is considered the calibrated Bluetooth signal strength range used for unlocking. Optionally, the predetermined number can be 100 times, 200 times, etc., depending on the scenario requirements.
[0089] If, during the testing process using multiple sets of Bluetooth signal strengths, a predetermined number of test results show that the target vehicle was locked within a Bluetooth signal strength range, then that Bluetooth signal strength range is the calibrated Bluetooth signal strength range used for locking the vehicle.
[0090] In this embodiment of the disclosure, the vehicle's Bluetooth system and the user's terminal device may be subject to interference from other electronic devices, obstacles, or environmental factors during communication. These interference signals may cause fluctuations in Bluetooth signal strength, thereby affecting the accuracy and reliability of the system. By taking into account the impact of interference signals, a more reasonable calibration range for Bluetooth signal strength can be determined, enabling the vehicle's Bluetooth system and the user's terminal device to maintain stable communication even when interfered with, reducing false locking or mis-locking of the vehicle due to interference.
[0091] In one possible implementation, prior to step S101, the vehicle control method further includes steps S1001 to S1004.
[0092] In step S1001, multiple sets of Bluetooth signal strengths for testing are acquired. The Bluetooth signal strengths for testing are collected in the scenario corresponding to the Bluetooth signal strengths for testing. The scenario corresponding to the Bluetooth signal strengths for testing is a scenario in which the distance between the user's device for testing and the vehicle for testing is a preset calibration distance and the user's posture is a preset posture.
[0093] As an example, preset gestures could be a user placing their device (e.g., a terminal device) into their belongings (e.g., putting it in their pocket), a user holding their device, or a user using their device to make a phone call.
[0094] As an example, the scenarios corresponding to the Bluetooth signal strength test can include: a scenario where the distance between the device being tested and the vehicle being tested is a preset calibration distance S meters and the user places the device in their belongings; a scenario where the distance between the device being tested and the vehicle being tested is a preset calibration distance S meters and the user holds the device; and a scenario where the distance between the device being tested and the vehicle being tested is a preset calibration distance S meters and the user makes a phone call using the device. In this embodiment, the preset calibration distance S can be, but is not limited to, a range of 0 to 10 meters. For example, the preset calibration distance S can be 0 meters, 3 meters, 6 meters, 9 meters, etc.
[0095] As an example, the Bluetooth signal strength used for testing can include: the Bluetooth signal strength when the distance between the device used for testing and the vehicle used for testing is a preset calibration distance S meters and the user places the user's device in the user's belongings; the Bluetooth signal strength when the distance between the device used for testing and the vehicle used for testing is a preset calibration distance S meters and the user holds the user's device; and the Bluetooth signal strength when the distance between the device used for testing and the vehicle used for testing is a preset calibration distance S meters and the user uses the user's device to make a phone call.
[0096] In step S1002, based on multiple sets of Bluetooth signal strengths used for testing, the calibration Bluetooth signal strength corresponding to each calibration distance among multiple calibration distances is determined. The multiple calibration distances include: a first calibration distance, an associated calibration distance of the first calibration distance, a second calibration distance, and an associated calibration distance of the second calibration distance.
[0097] As an example, the target Bluetooth signal strength corresponding to the Bluetooth signal strength used for testing is determined through the above step S102, and then the distance between the user's terminal device and the target vehicle is calculated based on the target Bluetooth signal strength corresponding to the Bluetooth signal strength used for testing.
[0098] As an example, the distance between a user's terminal device and the target vehicle can be calculated using the following formula: Wherein, RSSI (Received Signal Strength Indication) is the target Bluetooth signal strength corresponding to the tested Bluetooth signal strength, abs is the absolute value, A is the Bluetooth signal strength when the user's terminal device and the target vehicle are 1 meter apart, n is the environmental attenuation factor, and d is the distance between the user's terminal device and the target vehicle. In this embodiment, n can be calculated using two sets of RSSI values at different distances, namely (d1, RSSI1) and (d2, RSSI2).
[0099] After determining A and n, the distance d between the user's terminal device and the target vehicle depends only on the target Bluetooth signal strength corresponding to the Bluetooth signal strength used for testing. To make the obtained distance between the user's terminal device and the target vehicle more effective and reduce computation, we take the logarithm of d, which gives the formula:
[0100] After determining A and n, the calibrated Bluetooth signal strength corresponding to the scenario corresponding to the Bluetooth signal strength used for testing is determined by the scenario. In this embodiment of the disclosure, extensive tests of locking or locking the target vehicle by calibrating the Bluetooth signal strength show that when the user carries their terminal device away from the vehicle, the locking operation is performed within the locking range (X1~X2) regardless of the scenario corresponding to the Bluetooth signal strength used for testing. Therefore, (X1~X2) can be determined as the locking range.
[0101] It should be noted that X1 can be the second calibration distance. When X1 is the second calibration distance, X2 can be the associated calibration distance of the second calibration distance. X1 can also be the associated calibration distance of the second calibration distance. When X1 is the associated calibration distance of the second calibration distance, X2 can be the second calibration distance.
[0102] Similarly, when a user approaches a vehicle with their terminal device, the unlocking operation will be performed within the unlocking range (Y1~Y2) regardless of the scenario corresponding to the Bluetooth signal strength used for testing. Therefore, (Y1~Y2) can be determined as the unlocking range.
[0103] It should be noted that Y1 can be the first calibration distance. When Y1 is the first calibration distance, Y2 can be the associated calibration distance of the first calibration distance. Alternatively, Y1 can be the associated calibration distance of the first calibration distance, and when Y1 is the associated calibration distance of the first calibration distance, Y2 can be the first calibration distance.
[0104] In step S1003, the range of calibrated Bluetooth signal strengths used for unlocking is determined based on the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance.
[0105] As an example, after determining the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance, the calibration Bluetooth signal strength corresponding to the first calibration distance can be used as the minimum value of the calibration Bluetooth signal strength range for unlocking, and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance can be used as the maximum value of the calibration Bluetooth signal strength range for unlocking.
[0106] As an example, after determining the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance, the calibration Bluetooth signal strength corresponding to the first calibration distance can be used as the maximum value of the calibration Bluetooth signal strength range for unlocking, and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance can be used as the minimum value of the calibration Bluetooth signal strength range for unlocking.
[0107] In step S1004, the range of calibrated Bluetooth signal strength for locking the vehicle is determined based on the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance.
[0108] As an example, after determining the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance, the calibration Bluetooth signal strength corresponding to the second calibration distance can be used as the minimum value of the calibration Bluetooth signal strength range for locking the car, and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance can be used as the maximum value of the calibration Bluetooth signal strength range for locking the car.
[0109] As an example, after determining the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance, the calibration Bluetooth signal strength corresponding to the second calibration distance can be used as the maximum value of the calibration Bluetooth signal strength range for locking the car, and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance can be used as the minimum value of the calibration Bluetooth signal strength range for locking the car.
[0110] Taking Table 1 as an example, Table 1 shows the relationship between the calibration distance and the calibration Bluetooth signal strength range. Table 1
[0111] Referring to Table 1, the first calibration distance can be 2 meters, the associated distance of the first calibration distance can be 3 meters, the calibration Bluetooth signal strength corresponding to the first calibration distance is 300 dBm, and the calibration Bluetooth signal strength corresponding to the associated distance of the first calibration distance is 400 dBm. Therefore, the calibration Bluetooth signal strength range for unlocking is 300 dBm to 400 dBm. The second calibration distance can be 6 meters, the associated distance of the second calibration distance can be 7 meters, the calibration Bluetooth signal strength corresponding to the second calibration distance is 700 dBm, and the calibration Bluetooth signal strength corresponding to the associated distance of the second calibration distance is 800 dBm. Therefore, the calibration Bluetooth signal strength range for locking the vehicle is 700 dBm to 800 dBm. In the embodiments of this disclosure, the maximum and minimum values of the calibration Bluetooth signal strength range represent the absolute values of the corresponding Bluetooth signal strengths.
[0112] In this embodiment, the vehicle's Bluetooth system and the user's terminal device may be subject to interference from other electronic devices, obstacles, or environmental factors during communication. These interference signals may cause fluctuations in Bluetooth signal strength, thereby affecting the accuracy and reliability of the system. By considering the impact of interference signals, a more reasonable range of calibrated Bluetooth signal strength can be more accurately determined using two associated calibration Bluetooth signal strengths. This allows the vehicle's Bluetooth system and the user's terminal device to maintain stable communication even when interfered with, reducing the likelihood of false locking or mis-locking of the vehicle due to interference.
[0113] In one possible implementation, step S1003 includes: determining the range of calibrated Bluetooth signal strengths for unlocking based on the calibrated Bluetooth signal strength corresponding to the first calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance.
[0114] The range of calibrated Bluetooth signal strength used for unlocking can be determined by the calibrated Bluetooth signal strength corresponding to the two associated calibrated distances of the first calibrated distance.
[0115] As an example, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance can be the minimum value of the calibration Bluetooth signal strength range used for unlocking, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance can be the maximum value of the calibration Bluetooth signal strength range used for unlocking.
[0116] Please refer to Table 2, which shows another relationship between calibration distance and calibration Bluetooth signal strength range. Table 2
[0117] In Table 2, the first associated calibration distance of the first calibration distance can be 2 meters, the second associated calibration distance of the first calibration distance can be 4 meters, the first calibration distance can be 3 meters, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance can be 300dBm, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance can be 500dBm.
[0118] As an example, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance can be the maximum value of the calibration Bluetooth signal strength range used for unlocking, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance can be the minimum value of the calibration Bluetooth signal strength range used for unlocking.
[0119] Please refer to Table 3, which shows another relationship between calibration distance and calibration Bluetooth signal strength range. Table 3
[0120] In Table 3, the first associated calibration distance of the first calibration distance can be 4 meters, the second associated calibration distance of the first calibration distance can be 2 meters, the first calibration distance can be 3 meters, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance can be 500dBm, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance can be 300dBm.
[0121] Step S1004 above includes: determining the range of calibrated Bluetooth signal strength for locking the vehicle based on the calibrated Bluetooth signal strength corresponding to the second calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance.
[0122] Please refer to Table 4, which shows the relationship between another calibration distance and the calibration Bluetooth signal strength range. Table 4
[0123] In Table 4, the second calibration distance can be 6 meters, the first associated calibration distance of the second calibration distance can be 7 meters, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance is 800dBm, the second associated calibration distance of the second calibration distance can be 5 meters, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance is 600dBm.
[0124] Please refer to Table 5, which shows the relationship between another calibration distance and the calibration Bluetooth signal strength range. Table 5
[0125] In Table 5, the second calibration distance can be 6 meters, the first associated calibration distance of the second calibration distance can be 5 meters, the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance is 600dBm, the second associated calibration distance of the second calibration distance can be 7 meters, and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance is 800dBm.
[0126] In this embodiment of the disclosure, by using three associated calibrated Bluetooth signal strengths, different Bluetooth signal strength ranges can be accommodated, enabling the vehicle's in-vehicle Bluetooth system and the user's terminal device to maintain stable communication even when interfered with, thereby reducing the possibility of accidental locking or mis-locking of the vehicle due to interference.
[0127] In one possible implementation, step S1003 above includes steps S10031 to S10033.
[0128] In step S10031, the average value of the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance is determined as the minimum value within the range of calibration Bluetooth signal strength used for unlocking.
[0129] In step S10032, the average value of the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance is determined as the maximum value within the range of calibration Bluetooth signal strength used for unlocking.
[0130] In step S10033, the calibrated Bluetooth signal strength range for unlocking is determined based on the minimum value and the maximum value within the calibrated Bluetooth signal strength range for unlocking.
[0131] The range of calibrated Bluetooth signal strength used for unlocking can be determined by the average of the calibrated Bluetooth signal strength corresponding to the first calibrated distance and the calibrated Bluetooth signal strength corresponding to the first associated calibrated distance, as well as the average of the calibrated Bluetooth signal strength corresponding to the first calibrated distance and the calibrated Bluetooth signal strength corresponding to the second associated calibrated distance.
[0132] Please refer to Table 6, which shows the relationship between another calibration distance and the calibration Bluetooth signal strength range. Table 6
[0133] In Table 6, the first calibration distance can be 3 meters, and the corresponding calibration Bluetooth signal strength is 400dBm. The first associated calibration distance of the first calibration distance can be 2 meters, and the corresponding calibration Bluetooth signal strength is 300dBm. The second associated calibration distance of the first calibration distance can be 4 meters, and the corresponding calibration Bluetooth signal strength is 500dBm. Therefore, the minimum value of the calibration Bluetooth signal strength range used for unlocking can be 350dBm, and the maximum value of the calibration Bluetooth signal strength range used for unlocking is 450dBm.
[0134] In one possible implementation, step S1004 above includes steps S10041 to S10043.
[0135] In step S10041, the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance is determined as the minimum value within the calibration Bluetooth signal strength range used for locking the car.
[0136] In step S10042, the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance is determined as the maximum value within the calibration Bluetooth signal strength range used for locking the car.
[0137] In step S10043, the calibrated Bluetooth signal strength range for locking the vehicle is determined based on the minimum value and the maximum value within the calibrated Bluetooth signal strength range for locking the vehicle.
[0138] The calibrated Bluetooth signal strength range used for locking the vehicle can be determined by the average of the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, as well as the average of the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance.
[0139] Please refer to Table 7, which shows the relationship between another calibration distance and the calibration Bluetooth signal strength range. Table 7
[0140] In Table 7, the second calibration distance can be 6 meters, and the corresponding calibration Bluetooth signal strength is 700dBm. The first associated calibration distance of the second calibration distance can be 5 meters, and the corresponding calibration Bluetooth signal strength is 600dBm. The second associated calibration distance of the second calibration distance can be 7 meters, and the corresponding calibration Bluetooth signal strength is 800dBm. Therefore, the minimum value of the calibration Bluetooth signal strength range used for locking the car can be 650dBm, and the maximum value of the calibration Bluetooth signal strength range used for locking the car is 750dBm.
[0141] It should be noted that, during the process of a user carrying a terminal device approaching or moving away from the target vehicle, the target Bluetooth signal strength determined by the vehicle's in-vehicle Bluetooth system within the target time period can be substituted into the above formula: This allows us to obtain the calibration distance corresponding to the target Bluetooth signal strength and the calibration Bluetooth signal strength corresponding to that calibration distance. If the calibration Bluetooth signal strength is within the calibration Bluetooth signal strength range used for locking the vehicle, then the vehicle is locked; if the calibration Bluetooth signal strength is within the calibration Bluetooth signal strength range used for unlocking the vehicle, then the vehicle is unlocked.
[0142] This disclosure provides a vehicle control device. This vehicle control device is used to implement the above embodiments and implementation methods, and details already described will not be repeated. As used below, the term "unit" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0143] As shown in Figure 5, the vehicle control device includes: a Bluetooth signal strength acquisition unit 501, a clustering iteration unit 502, and an execution unit 503.
[0144] The Bluetooth signal strength set acquisition unit 501 is configured to acquire a Bluetooth signal strength set, which includes the strengths of multiple Bluetooth signals received within a target time period.
[0145] The clustering iteration unit 502 is configured to perform multiple clustering iterations on the Bluetooth signal strength set, and to determine the target Bluetooth signal strength from the first clustering result generated in the last clustering iteration. In this embodiment of the present disclosure, the first cluster center of the first clustering result generated in the first clustering iteration is less than the maximum value of the Bluetooth signal strength set and greater than the minimum value of the Bluetooth signal strength set. The first clustering result generated in subsequent clustering iterations is generated based on the first cluster center of the first clustering result generated in the previous clustering iteration. The second cluster center of the second clustering result generated in each clustering iteration is the maximum value of the Bluetooth signal strength set, and the third cluster center of the third clustering result generated in each clustering iteration is the minimum value of the Bluetooth signal strength set.
[0146] The execution unit 503 is configured to perform an unlocking operation or a locking operation on the target vehicle in response to determining that the target Bluetooth signal strength meets the unlocking condition or the locking condition.
[0147] In one possible implementation, the unlocking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the unlocking operation, and the locking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the locking operation.
[0148] In one possible implementation, the above-mentioned device further includes: a Bluetooth signal strength acquisition unit for testing, a Bluetooth signal strength calibration unit, a calibration range determination unit for unlocking, and a calibration range determination unit for locking the vehicle. The Bluetooth signal strength acquisition unit for testing is configured to acquire multiple sets of Bluetooth signal strengths for testing, wherein the Bluetooth signal strengths for testing are collected under a scenario corresponding to the Bluetooth signal strengths for testing, the scenario referring to a scenario where the distance between the user's testing device and the testing vehicle is a preset calibration distance and the user's posture is a preset posture.
[0149] The calibration Bluetooth signal strength determination unit is configured to determine the calibration Bluetooth signal strength corresponding to each calibration distance among multiple calibration distances based on multiple sets of Bluetooth signal strengths used for testing. The multiple calibration distances include: a first calibration distance, an associated calibration distance of the first calibration distance, a second calibration distance, and an associated calibration distance of the second calibration distance.
[0150] The calibration range determination unit for unlocking is configured to determine the calibration Bluetooth signal strength range for unlocking operation based on the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance.
[0151] The calibration range determination unit for locking the vehicle is configured to determine the calibration Bluetooth signal strength range for locking the vehicle based on the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance.
[0152] In one possible implementation, the calibration range determination unit for unlocking is further configured to: determine the average value of the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance as the minimum value within the calibration Bluetooth signal strength range for the unlocking operation; determine the average value of the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance as the maximum value within the calibration Bluetooth signal strength range for the unlocking operation; and determine the calibration Bluetooth signal strength range for the unlocking operation based on the minimum value and the maximum value within the calibration Bluetooth signal strength range for the unlocking operation.
[0153] The calibration range determination unit for locking the vehicle is further configured to determine the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance as the minimum value within the calibration Bluetooth signal strength range for locking the vehicle; determine the average value of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance as the maximum value within the calibration Bluetooth signal strength range for locking the vehicle; and determine the calibration Bluetooth signal strength range for locking the vehicle based on the minimum value and the maximum value within the calibration Bluetooth signal strength range for locking the vehicle.
[0154] In one possible implementation, the above apparatus further includes: an initial cluster center determination unit, configured to determine the average of the maximum and minimum values of the Bluetooth signal strength in the Bluetooth signal strength set as the initial cluster centers for generating the first clustering result in the first clustering iteration.
[0155] In this embodiment, the device is presented in the form of a functional unit. Here, a unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above-mentioned functions.
[0156] Further functional descriptions of the above-mentioned units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0157] Referring to Figure 6, which illustrates a schematic diagram of a computer device provided in an embodiment of this disclosure, the computer device includes: one or more processors 10, one or more memories 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI (Graphical User Interface) on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, multiple processors and / or multiple buses can be used with multiple memories, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0158] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include hardware chips. These hardware chips may be application-specific integrated circuits (ASICs), programmable logic devices (PLDs), or combinations thereof. The programmable logic devices may be complex programmable logic devices (CLPs), field-programmable gate arrays (FPGAs), general-purpose array logic (GDAs), or any combination thereof.
[0159] The memory 20 stores instructions executable by at least one processor 10 to cause at least one processor 10 to perform the method shown in the above embodiments.
[0160] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0161] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0162] The computer device also includes an input device 30 and an output device 40. The processor 10, memory 20, input device 30, and output device 40 can be connected via a bus or other means.
[0163] Input device 30 can receive input numerical or character information and generate key signal inputs related to user settings and function control of the computer device. Input device 30 may include, for example, a touch screen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 40 may include display device, auxiliary lighting device (e.g., LED), and haptic feedback device (e.g., vibration motor), etc. The above-mentioned display device includes, but is not limited to, liquid crystal display, light-emitting diode display, and plasma display. In some optional embodiments, the display device may be a touch screen.
[0164] This disclosure also provides a computer-readable storage medium in which the methods described in this disclosure can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium after being downloaded over a network. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code that, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0165] A portion of the embodiments disclosed herein can be applied to computer program products, such as computer program instructions, which, when executed by a computer, can perform or provide methods and / or technical solutions according to this disclosure through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer. Although embodiments of this disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the scope of this disclosure, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A vehicle control method, comprising: Obtain a set of Bluetooth signal strengths, which includes the strengths of multiple Bluetooth signals received within a target time period. The Bluetooth signal strength set is subjected to multiple clustering iterations, and the target Bluetooth signal strength is determined from the first clustering result generated by the last clustering iteration. Specifically, the first cluster center of the first clustering result generated in the first clustering iteration is less than the maximum value of the Bluetooth signal strength set and greater than the minimum value of the Bluetooth signal strength set. The first clustering result generated in subsequent iterations is generated based on the first cluster center of the first clustering result generated in the previous iteration. The second cluster center of the second clustering result generated in each iteration is the maximum value, and the third cluster center of the third clustering result generated in each iteration is the minimum value. In response to determining that the target Bluetooth signal strength meets the unlocking or locking conditions, an unlocking or locking operation is performed on the target vehicle.
2. The vehicle control method according to claim 1, wherein, The unlocking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the unlocking operation, and the locking condition is that the target Bluetooth signal strength is within the calibrated Bluetooth signal strength range used for the locking operation.
3. The vehicle control method according to claim 2, wherein Before acquiring the Bluetooth signal strength set, the method further includes: Multiple sets of Bluetooth signal strengths for testing are acquired, wherein the Bluetooth signal strengths for testing are collected in the scenario corresponding to the Bluetooth signal strengths for testing, wherein the scenario is a scenario in which the distance between the user's device for testing and the vehicle for testing is a preset calibration distance and the user's posture is a preset posture. Based on the multiple sets of Bluetooth signal strengths used for testing, determine the calibrated Bluetooth signal strength corresponding to each of the multiple calibration distances, including: a first calibration distance, an associated calibration distance of the first calibration distance, a second calibration distance, and an associated calibration distance of the second calibration distance; The range of calibrated Bluetooth signal strength used for the unlocking operation is determined based on the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance. The range of calibrated Bluetooth signal strengths used for the vehicle locking operation is determined based on the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance.
4. The vehicle control method according to claim 3, wherein, The range of calibrated Bluetooth signal strengths used for the unlocking operation is determined based on the calibrated Bluetooth signal strength corresponding to the first calibrated distance and the calibrated Bluetooth signal strength corresponding to the associated calibrated distance of the first calibrated distance, including: The smaller of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance is taken as the minimum value of the calibrated Bluetooth signal strength range used for the unlocking operation; and The larger of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance is taken as the maximum value of the calibrated Bluetooth signal strength range used for the unlocking operation. Specifically, determining the range of calibrated Bluetooth signal strength used for the vehicle locking operation based on the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance includes: The smaller of the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance is taken as the minimum value of the calibrated Bluetooth signal strength range used for the car locking operation; and The larger of the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance is taken as the maximum value of the calibration Bluetooth signal strength range used for the car locking operation.
5. The vehicle control method according to claim 3, wherein, The associated calibration distance of the first calibration distance includes a first associated calibration distance and a second associated calibration distance of the first calibration distance. Based on the calibration Bluetooth signal strength corresponding to the first calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the first calibration distance, the calibration Bluetooth signal strength range used for the unlocking operation is determined, including: Based on the calibrated Bluetooth signal strength corresponding to the first calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance, the calibrated Bluetooth signal strength range used for the unlocking operation is determined; and The associated calibration distance of the second calibration distance includes a first associated calibration distance and a second associated calibration distance of the second calibration distance. The calibration Bluetooth signal strength range used for the vehicle locking operation is determined based on the calibration Bluetooth signal strength corresponding to the second calibration distance and the calibration Bluetooth signal strength corresponding to the associated calibration distance of the second calibration distance, including: The range of calibrated Bluetooth signal strengths used for the vehicle locking operation is determined based on the calibrated Bluetooth signal strength corresponding to the second calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance.
6. The vehicle control method according to claim 5, wherein The step of determining the range of calibrated Bluetooth signal strength used for the unlocking operation based on the calibrated Bluetooth signal strength corresponding to the first calibrated distance, the calibrated Bluetooth signal strength corresponding to the first associated calibrated distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibrated distance includes: The average value of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance is determined as the minimum value of the calibrated Bluetooth signal strength range used for the unlocking operation; The average value of the calibrated Bluetooth signal strength corresponding to the first calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance is determined as the maximum value of the calibrated Bluetooth signal strength range used for the unlocking operation; and The calibrated Bluetooth signal strength range for the unlocking operation is determined based on the minimum value and the maximum value of the calibrated Bluetooth signal strength range used for the unlocking operation. The step of determining the range of calibrated Bluetooth signal strength used for the vehicle locking operation based on the calibrated Bluetooth signal strength corresponding to the second calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance includes: The average value of the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance is determined as the minimum value of the calibrated Bluetooth signal strength range used for the car locking operation; The average value of the calibrated Bluetooth signal strength corresponding to the second calibration distance and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance is determined as the maximum value of the calibrated Bluetooth signal strength range used for the vehicle locking operation; and The calibrated Bluetooth signal strength range for the vehicle locking operation is determined based on the minimum value of the calibrated Bluetooth signal strength range used for the vehicle locking operation and the maximum value of the calibrated Bluetooth signal strength range used for the vehicle locking operation.
7. The vehicle control method according to claim 5, wherein The step of determining the range of calibrated Bluetooth signal strength used for the unlocking operation based on the calibrated Bluetooth signal strength corresponding to the first calibrated distance, the calibrated Bluetooth signal strength corresponding to the first associated calibrated distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibrated distance includes: The smaller of the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the first calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the first calibration distance is determined as the minimum value of the calibration Bluetooth signal strength range used for the unlocking operation; The larger of the calibrated Bluetooth signal strength corresponding to the first associated calibrated distance of the first calibrated distance and the calibrated Bluetooth signal strength corresponding to the second associated calibrated distance of the first calibrated distance is determined as the maximum value of the calibrated Bluetooth signal strength range used for the unlocking operation, and The step of determining the range of calibrated Bluetooth signal strength used for the vehicle locking operation based on the calibrated Bluetooth signal strength corresponding to the second calibration distance, the calibrated Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance, and the calibrated Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance includes: The smaller of the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance is determined as the minimum value of the calibration Bluetooth signal strength range used for the car locking operation; The larger of the calibration Bluetooth signal strength corresponding to the first associated calibration distance of the second calibration distance and the calibration Bluetooth signal strength corresponding to the second associated calibration distance of the second calibration distance is determined as the maximum value of the calibration Bluetooth signal strength range used for the car locking operation.
8. The vehicle control method according to any one of claims 1 to 7, further comprising: The average of the maximum and minimum values is determined as the starting cluster center for generating the first clustering result in the first clustering iteration.
9. The vehicle control method according to any one of claims 1 to 7, further comprising: The median of the strengths of multiple Bluetooth signals in the set of Bluetooth signal strengths is determined as the starting cluster center for generating the first clustering result in the first clustering iteration.
10. The vehicle control method according to any one of claims 1 to 9, wherein, The step of performing multiple clustering iterations on the Bluetooth signal strength set, and determining the target Bluetooth signal strength from the first clustering result generated in the last clustering iteration, includes: For each clustering iteration, the average value of all Bluetooth signal strengths in the first clustering result generated in that clustering iteration is calculated; In response to the fact that the difference between the average value and the Bluetooth signal strength corresponding to the first cluster center of the first clustering result generated in the previous clustering iteration is greater than a preset difference, the average value is used as the new first cluster center for the next clustering iteration; and In response to the fact that the difference between the average value and the Bluetooth signal strength corresponding to the first cluster center of the first clustering result generated in the previous clustering iteration is less than or equal to the preset difference, the Bluetooth signal strength corresponding to the first cluster center of the first clustering result generated in the previous clustering iteration is taken as the target Bluetooth signal strength.
11. The vehicle control method according to any one of claims 1 to 10, further comprising: In response to determining that the target Bluetooth signal strength meets the starting conditions of the target vehicle, a starting operation is performed on the target vehicle.
12. A vehicle control device, comprising: The Bluetooth signal strength set acquisition unit is configured to acquire a Bluetooth signal strength set, which includes the strengths of multiple Bluetooth signals received within a target time period. A clustering iteration unit is configured to perform multiple clustering iterations on the Bluetooth signal strength set, and to determine the target Bluetooth signal strength from the first clustering result generated in the last clustering iteration. The first cluster center of the first clustering result generated in the first clustering iteration is less than the maximum value of the Bluetooth signal strength set and greater than the minimum value of the Bluetooth signal strength set. The first clustering result generated in subsequent clustering iterations is generated based on the first cluster center of the first clustering result generated in the previous clustering iteration. The second cluster center of the second clustering result generated in each clustering iteration is the maximum value, and the third cluster center of the third clustering result generated in each clustering iteration is the minimum value. The execution unit is configured to perform an unlocking operation or a locking operation on the target vehicle in response to determining that the target Bluetooth signal strength meets the unlocking condition or the locking condition.
13. A computer device, comprising: At least one processor; as well as At least one memory is communicatively connected to the at least one processor, the at least one memory stores computer-executable instructions, and the at least one processor is configured to read the computer-executable instructions from the at least one memory and execute the computer-executable instructions to implement the vehicle control method as claimed in any one of claims 1 to 11.
14. A non-transitory computer-readable storage medium, wherein, The non-transitory computer-readable storage medium stores computer-executable instructions, which, when executed by at least one processor, implement the vehicle control method as described in any one of claims 1 to 11.
15. A computer program product comprising computer-executable instructions, which, when executed by at least one processor, implement the vehicle control method as described in any one of claims 1 to 11.