Vehicle Key Positioning Method, Device, Vehicle and Storage Medium
By acquiring the signal strength and stable positioning processing of the Bluetooth receiver device, combining historical positioning information and pedestrian tracking trajectory, the problem of inaccurate positioning of Bluetooth is solved and the precise positioning of vehicle keys is achieved.
Patent Information
- Application Number
- CN202510538385.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-04-27
AI Technical Summary
The existing Bluetooth positioning methods have problems with inaccurate positioning in vehicle control, with errors up to several meters or even ten meters, affecting the user experience.
By obtaining the signal strength received by multiple Bluetooth receiving devices, the reference positioning information of the vehicle key is determined based on the signal strength, and stable positioning processing is performed, including anti-cross-zone jump processing and jump suppression processing, and correcting it with historical positioning information and pedestrian tracking trajectory to determine the final positioning result of the vehicle key.
It improves the stability and accuracy of Bluetooth positioning, reduces jumps and errors during positioning, and ensures that the positioning results of the vehicle key are more accurate.
Smart Images

Figure CN120075734B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of Bluetooth positioning, and particularly to a vehicle key positioning method, device, vehicle, and storage medium. Background Art
[0002] With the rapid development of Bluetooth technology, it is more convenient to use a Bluetooth key to control a vehicle, and vehicle Bluetooth keys have become particularly popular.
[0003] Bluetooth signals are carried by electromagnetic waves, and phenomena such as scattering, reflection, refraction, and diffraction will occur when passing through different media during propagation. For different vehicle environments, the interference received by Bluetooth signals is different. When a human body blocks the Bluetooth key, it will also affect the performance of Bluetooth positioning.
[0004] The distance or position estimated by some existing Bluetooth positioning methods has a certain error, and the error can reach several meters or even more than ten meters. For car users, the experience of using a Bluetooth key with inaccurate positioning to control a vehicle is poor. Summary of the Invention
[0005] To solve the above technical problems or at least partially solve the above technical problems, this application provides a vehicle key positioning method, device, vehicle, and storage medium.
[0006] In a first aspect, this application provides a vehicle key positioning method, including:
[0007] Obtain the signal strengths of Bluetooth signals received by multiple Bluetooth receiving devices, where the Bluetooth signals are sent by the vehicle key to the multiple Bluetooth receiving devices, and the multiple Bluetooth receiving devices are arranged at different positions of the vehicle;
[0008] Determine the reference positioning information of the vehicle key at the current positioning moment based on the multiple signal strengths;
[0009] Perform stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment;
[0010] Determine the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments.
[0011] Optionally, the method further includes:
[0012] Determine whether the reference positioning information is the first positioning information within a preset time period;
[0013] If the reference positioning information is the first positioning information within the preset time period, determine the reference positioning information as the Bluetooth positioning information at the current positioning moment; or, if the reference positioning information is not the first positioning result within the preset time period, perform the step of performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
[0014] Optionally, performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment includes:
[0015] Performing anti-cross-region jump processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment, and / or performing jump suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
[0016] Optionally, performing anti-cross-region jump processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment includes:
[0017] Obtain the reference positioning information and the Bluetooth positioning information at the previous positioning moment;
[0018] Input the reference positioning information and the Bluetooth positioning information at the previous positioning moment into a jump limit state machine, so that the jump limit state machine corrects the reference positioning information that does not meet the region jump rule to obtain the Bluetooth positioning information at the current positioning moment.
[0019] Optionally, inputting the reference positioning information and the Bluetooth positioning information at the previous positioning moment into a jump limit state machine, so that the jump limit state machine corrects the reference positioning information that does not meet the region jump rule to obtain the Bluetooth positioning information at the current positioning moment includes:
[0020] The jump limit state machine determines whether the reference positioning information and the Bluetooth positioning information at the previous positioning moment meet the region jump rule. If the reference positioning information and the Bluetooth positioning information at the previous positioning moment meet the region jump rule, the jump limit state machine does not correct the reference positioning information; if the reference positioning information and the Bluetooth positioning information at the previous positioning moment do not meet the region jump rule, the jump limit state machine corrects the reference positioning information to the positioning region adjacent to the Bluetooth positioning information at the previous positioning moment to obtain the Bluetooth positioning information at the current positioning moment.
[0021] Optionally, performing jump suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment includes:
[0022] Obtain the Bluetooth positioning information whose positioning moment is within a historical time period, and the historical time period is before the current positioning moment;
[0023] Based on the Bluetooth positioning information at positioning moments within a historical time period, obtain the consecutive occurrence count of the reference positioning information at the current positioning moment;
[0024] Determine the Bluetooth positioning information at the current positioning moment according to the consecutive occurrence count.
[0025] Optionally, determining the Bluetooth positioning information at the current positioning moment according to the consecutive occurrence count includes:
[0026] If the consecutive occurrence count is less than a preset count threshold, obtain the Bluetooth positioning information at the previous positioning moment;
[0027] Modify the reference positioning information at the current positioning moment to the Bluetooth positioning information at the previous positioning moment.
[0028] Optionally, determining the Bluetooth positioning information at the current positioning moment according to the consecutive occurrence count includes:
[0029] If the consecutive occurrence count is greater than or equal to the preset count threshold, determine the reference positioning information at the current positioning moment as the Bluetooth positioning information at the current positioning moment.
[0030] Optionally, determining the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments includes:
[0031] Determine the historical positioning trajectory of the vehicle key based on the Bluetooth positioning information at positioning moments within a historical time period;
[0032] In the pedestrian tracking trajectory obtained by tracking pedestrians around the vehicle, obtain the historical tracking trajectory of the pedestrian within the historical time period, where the pedestrian tracking trajectory is obtained by smoothing the tracking information of the pedestrian;
[0033] Modify the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key.
[0034] Optionally, modifying the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key includes:
[0035] Fuse the historical positioning trajectory and the historical tracking trajectory to obtain a fused positioning trajectory;
[0036] Match the historical tracking trajectory with the fused positioning trajectory to obtain a trajectory similarity;
[0037] Correct the reference positioning information at the current positioning moment by using the tracking information of the pedestrian with the highest trajectory similarity at the current positioning moment, and obtain the positioning result of the vehicle key.
[0038] Optionally, before determining the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments, the method further includes:
[0039] Perform position tracking on the pedestrians around the vehicle to obtain the tracking information of the pedestrians;
[0040] If the tracking information of the pedestrians disappears at the current positioning moment, determine whether new pedestrians appear around the vehicle;
[0041] If new pedestrians appear around the vehicle at the current positioning moment, determine whether the new pedestrians and the pedestrians whose tracking information disappears meet the binding condition;
[0042] If the new pedestrians and the pedestrians whose tracking information disappears meet the binding condition, determine the tracking information of the new pedestrians as the tracking information of the pedestrians whose tracking information disappears at the current positioning moment;
[0043] Sort all the tracking information at positioning moments within a preset time period in the order of the sequence of positioning moments to obtain the pedestrian tracking trajectory of the pedestrians.
[0044] Optionally, determining whether the new pedestrians and the pedestrians whose tracking information disappears meet the binding condition includes:
[0045] Obtain the estimated position of the pedestrians whose tracking information disappears;
[0046] If the distance between the tracking information of the new pedestrians and the estimated position of the pedestrians whose tracking information disappears is less than a preset distance threshold, determine that the new pedestrians and the pedestrians whose tracking information disappears meet the binding condition.
[0047] In a second aspect, the present application provides a vehicle key positioning device, including:
[0048] A first acquisition module, configured to acquire the signal strength of Bluetooth signals received by a plurality of Bluetooth receiving devices, where the Bluetooth signals are sent by the vehicle key to the plurality of Bluetooth receiving devices, and the plurality of Bluetooth receiving devices are arranged at different positions of the vehicle;
[0049] A first determination module, configured to determine the reference positioning information of the vehicle key at the current positioning moment based on the plurality of signal strengths;
[0050] A first processing module, configured to perform stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment;
[0051] A second determination module, configured to determine a positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments.
[0052] Optionally, the device further includes:
[0053] A third determination module, configured to determine whether the reference positioning information is the first positioning information within a preset time period;
[0054] A fourth determination module, configured to, if the reference positioning information is the first positioning information within the preset time period, determine the reference positioning information as the Bluetooth positioning information at the current positioning moment; or, if the reference positioning information is not the first positioning result within the preset time period, perform a step of performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
[0055] Optionally, the first processing module includes:
[0056] A first processing unit, configured to perform anti-cross-region jump processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment, and / or a second processing unit, configured to perform jump suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
[0057] Optionally, the first processing unit includes:
[0058] A first acquisition subunit, configured to acquire the reference positioning information and the Bluetooth positioning information at the previous positioning moment;
[0059] A first correction subunit, configured to input the reference positioning information and the Bluetooth positioning information at the previous positioning moment into a jump limit state machine, so that the jump limit state machine corrects the reference positioning information that does not meet the region jump rule to obtain the Bluetooth positioning information at the current positioning moment.
[0060] Optionally, the first correction subunit is further configured to:
[0061] The jump limit state machine determines whether the reference positioning information and the Bluetooth positioning information at the previous positioning moment meet the region jump rule. If the reference positioning information and the Bluetooth positioning information at the previous positioning moment meet the region jump rule, the jump limit state machine does not correct the reference positioning information; if the reference positioning information and the Bluetooth positioning information at the previous positioning moment do not meet the region jump rule, the jump limit state machine corrects the reference positioning information to a positioning region adjacent to the Bluetooth positioning information at the previous positioning moment to obtain the Bluetooth positioning information at the current positioning moment.
[0062] Optionally, the second processing unit includes:
[0063] A second acquisition subunit, configured to acquire Bluetooth positioning information at a positioning moment within a historical time period, where the historical time period is before the current positioning moment;
[0064] A third acquisition subunit, configured to acquire the continuous occurrence times of the reference positioning information at the current positioning moment based on the Bluetooth positioning information at a positioning moment within the historical time period;
[0065] A first determination subunit, configured to determine the Bluetooth positioning information at the current positioning moment according to the continuous occurrence times.
[0066] Optionally, the first determination subunit is further configured to:
[0067] If the continuous occurrence times are less than a preset number threshold, acquire the Bluetooth positioning information at the previous positioning moment;
[0068] Modify the reference positioning information at the current positioning moment to the Bluetooth positioning information at the previous positioning moment.
[0069] Optionally, the first determination subunit is further configured to:
[0070] If the continuous occurrence times are greater than or equal to the preset number threshold, determine the reference positioning information at the current positioning moment as the Bluetooth positioning information at the current positioning moment.
[0071] Optionally, the second determination module includes:
[0072] A first determination unit, configured to determine the historical positioning trajectory of the vehicle key based on the Bluetooth positioning information at a positioning moment within the historical time period;
[0073] A first acquisition unit, configured to acquire the historical tracking trajectory of the pedestrian within the historical time period in the pedestrian tracking trajectory obtained by tracking the pedestrians around the vehicle, where the pedestrian tracking trajectory is obtained by smoothing the tracking information of the pedestrian;
[0074] A first correction unit, configured to correct the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key.
[0075] Optionally, the first correction unit includes:
[0076] A fusion subunit, configured to fuse the historical positioning trajectory and the historical tracking trajectory to obtain a fused positioning trajectory;
[0077] A matching subunit, configured to perform trajectory matching on the historical tracking trajectory and the fused positioning trajectory to obtain a trajectory similarity;
[0078] A second correction subunit, configured to correct the reference positioning information at the current positioning moment by using the tracking information of the pedestrian with the highest trajectory similarity at the current positioning moment, so as to obtain the positioning result of the vehicle key.
[0079] Optionally, before the second determination module, the device further includes:
[0080] A position tracking module, configured to perform position tracking on the pedestrians around the vehicle to obtain the tracking information of the pedestrians;
[0081] A pedestrian determination module, configured to determine whether a new pedestrian appears around the vehicle if the tracking information of the pedestrian disappears at the current positioning moment;
[0082] A condition judgment module, configured to determine whether the new pedestrian and the pedestrian whose tracking information disappears satisfy the binding condition if a new pedestrian appears around the vehicle at the current positioning moment;
[0083] An information determination module, configured to determine the tracking information of the new pedestrian as the tracking information of the pedestrian whose tracking information disappears at the current positioning moment if the new pedestrian and the pedestrian whose tracking information disappears satisfy the binding condition;
[0084] A trajectory generation module, configured to sort all the tracking information within a preset time period at the positioning moments in the order of the positioning moments to obtain the pedestrian tracking trajectory of the pedestrians.
[0085] Optionally, the condition judgment module includes:
[0086] A second acquisition unit, configured to acquire the estimated position of the pedestrian whose tracking information disappears;
[0087] A second determination unit, configured to determine that the new pedestrian and the pedestrian whose tracking information disappears satisfy the binding condition if the distance between the tracking information of the new pedestrian and the estimated position of the pedestrian whose tracking information disappears is less than a preset distance threshold.
[0088] In a third aspect, the present application provides a vehicle, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
[0089] The memory is used to store a computer program;
[0090] The processor is configured to implement the vehicle key positioning method according to any one of the first aspect when executing the program stored on the memory.
[0091] Fourthly, the present application provides a computer-readable storage medium, on which a program of the vehicle key positioning method is stored. When the program of the vehicle key positioning method is executed by a processor, the steps of the vehicle key positioning method according to any one of the first aspects are implemented.
[0092] Advantages of the present invention:
[0093] In the embodiment of the present application, stable positioning processing is performed on the reference positioning information determined based on the signal strength of the Bluetooth signal, so that the obtained Bluetooth positioning information is more stable. Furthermore, the positioning result of the vehicle key determined based on the Bluetooth positioning information at multiple positioning moments is more stable, reducing unnecessary jumps and positioning errors caused by jumps during the Bluetooth positioning process, and making the finally obtained positioning result of the vehicle key more accurate. Description of the drawings
[0094] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.
[0095] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0096] Figure 1 It is a schematic diagram of the division of the area around the vehicle provided by the embodiment of the present application;
[0097] Figure 2 It is another schematic diagram of the division of the area around the vehicle provided by the embodiment of the present application;
[0098] Figure 3 It is a flowchart of a vehicle key positioning method provided by the embodiment of the present application;
[0099] Figure 4 It is another flowchart of a vehicle key positioning method provided by the embodiment of the present application;
[0100] Figure 5 It is a flowchart of the anti-cross-region jump processing for the reference positioning information provided by the embodiment of the present application;
[0101] Figure 6 It is a schematic diagram of a regional jump restriction state machine provided by the embodiment of the present application;
[0102] Figure 7 It is a flowchart of the jump suppression processing for the reference positioning information provided by the embodiment of the present application;
[0103] Figure 8 A schematic diagram of Bluetooth positioning correction provided by an embodiment of the present application;
[0104] Figure 9 A flowchart of step S104 provided by an embodiment of the present application;
[0105] Figure 10 A schematic diagram of determining the positioning result of the vehicle key based on the historical positioning trajectory and the historical tracking trajectory provided by an embodiment of the present application;
[0106] Figure 11 A flowchart of another vehicle key positioning method provided by an embodiment of the present application;
[0107] Figure 12 A schematic diagram of binding the tracking trajectory of a pedestrian provided by an embodiment of the present application;
[0108] Figure 13 A structural diagram of a vehicle key positioning device provided by an embodiment of the present application;
[0109] Figure 14 A structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0110] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0111] Since the distances or positions estimated by some existing Bluetooth positioning methods have certain errors, and the errors can reach several meters or even more than ten meters. For car users, the experience of using a Bluetooth key with inaccurate positioning for vehicle control is poor. Therefore, the embodiments of the present application provide a vehicle key positioning method, device, vehicle, and storage medium.
[0112] In order to be able to receive the signal of the vehicle key, it is necessary to pre-install several Bluetooth receiving devices at fixed positions on the vehicle, and use the signal strengths of the Bluetooth signals received by the multiple Bluetooth receiving devices as the input data of the Bluetooth positioning model. For different applications of the vehicle key positioning function, the areas inside and outside the vehicle can be divided. The division method can be, for example Figure 1 the azimuth division shown, that is, five azimuths including inside the vehicle, in front of the vehicle, on the left side of the vehicle, on the right side of the vehicle, and behind the vehicle; or it can be the area division according to the range from the vehicle, such asFigure 2 As shown. The installation layout of the Bluetooth device includes Figure 1 , Figure 2 the layouts in Figure 2 , but is not limited to the above two layouts. For the commonly used vehicle key unlocking and locking functions, this application mainly uses the
[0113] The embodiment of this application provides a vehicle key positioning method. As Figure 3 shown, this vehicle key positioning method can be applied to the control device of the vehicle and may include the following steps:
[0114] Step S101, obtaining the signal strength of the Bluetooth signals received by multiple Bluetooth receiving devices;
[0115] In the embodiment of this application, the Bluetooth signal is sent by the vehicle key to multiple Bluetooth receiving devices, and the multiple Bluetooth receiving devices are arranged at different positions of the vehicle. Exemplarily, the vehicle key may refer to an automotive Bluetooth key.
[0116] When the vehicle key is close to the vehicle, it can broadcast Bluetooth signals to the surrounding at preset time intervals. After multiple Bluetooth receiving devices respectively receive the Bluetooth signals sent by the vehicle key, they detect the signal strength of the Bluetooth signals they receive.
[0117] Taking the Figure 2 shown application scenario as an example, when the vehicle key is close to the vehicle, five Bluetooth receiving devices arranged in the vehicle can receive the Bluetooth signal. Outputting the signal strength at the moment, the signal strength set containing five signal strengths obtained can be denoted as: .
[0118] Step S102, determining the reference positioning information of the vehicle key at the current positioning moment based on the multiple signal strengths;
[0119] In the embodiment of this application, a Bluetooth positioning model can be pre-trained to predict the reference positioning information of the vehicle key based on multiple signal strengths, and obtain the reference positioning information of the vehicle key at the current positioning moment.
[0120] That is to say, before using the Bluetooth positioning model to predict the reference positioning information of the vehicle key, a large amount of data in each region can be collected to train the Bluetooth positioning model. The Bluetooth positioning model can be common geometric measurement methods, location fingerprint methods, machine learning methods, etc.
[0121] Taking the machine learning method as the Bluetooth positioning model as an example, it can be pre-trained according to Figure 2For each of the divided regions, collect the signal strength of the vehicle key in each region, and then assign a true label according to the actual region. Use the set of signal strengths with labels to train an initial Bluetooth positioning model, which can be denoted as , and its output result contains five categories. 1 represents that the Bluetooth key is in region 1, 2 represents region 2, 3 represents region 3, 4 represents region 4, and 5 represents region 5. After obtaining the trained Bluetooth model, it can be deployed to the control device on the vehicle side for real-time positioning prediction.
[0122] In this step, multiple signal strengths can be input into the Bluetooth positioning model, and the Bluetooth positioning model outputs the reference positioning information at the current positioning moment ( moment).
[0123] At any moment, input the obtained set of signal strengths into the pre-trained Bluetooth positioning model to predict the reference positioning information of the vehicle key. Exemplarily, the positioning result is the identifier of the region where the vehicle key is located, and the predicted reference positioning information can be denoted as:
[0124]
[0125] After obtaining the predicted reference positioning information of the vehicle key, the reference positioning information can be stored.
[0126] Step S103: Perform stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment;
[0127] In the embodiment of the present application, the stable positioning processing may refer to controlling the degree of position change when determining the Bluetooth positioning information based on the reference positioning information according to certain rules, so that the position change of the finally obtained Bluetooth positioning information at the current positioning moment relative to the Bluetooth positioning information determined at the positioning moment before the current positioning moment is smaller.
[0128] In this step, after obtaining the reference positioning information, stable positioning processing can be performed on the reference positioning information so that the obtained Bluetooth positioning information is more stable relative to the reference positioning information.
[0129] Step S104: Determine the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments.
[0130] After obtaining the Bluetooth positioning information at multiple positioning moments, based on the Bluetooth positioning information at multiple positioning moments, determine the positioning result of the vehicle key at the current positioning moment.
[0131] In the embodiment of the present application, by performing stable positioning processing on the reference positioning information determined based on the signal strength of the Bluetooth signal, the obtained Bluetooth positioning information is made more stable. Furthermore, the positioning result of the vehicle key determined based on the Bluetooth positioning information at multiple positioning moments is made more stable, reducing unnecessary jumps and positioning errors caused by jumps during the Bluetooth positioning process, and making the finally obtained positioning result of the vehicle key more accurate.
[0132] In another embodiment of the present application, before performing stable positioning processing on the reference positioning information in step S103 to obtain the Bluetooth positioning information at the current positioning moment, as Figure 4 shown, the method further includes:
[0133] Step S201, determining whether the reference positioning information is the first positioning information within a preset time period;
[0134] In the embodiment of the present application, the preset time period can be set according to the duration required for the vehicle key to approach the vehicle once or repeatedly approach and move away from the vehicle multiple times, such as: 5 seconds, 10 seconds, 1 minute, etc.
[0135] Since there is no positioning information relative to the previous moment for the first positioning information within the preset time period, there is no situation of position jump. Therefore, in this step, different methods for determining the Bluetooth positioning information can be adopted according to whether the reference positioning information is the first positioning information within the preset time period.
[0136] Step S202, if the reference positioning information is the first positioning information within the preset time period, determining the reference positioning information as the Bluetooth positioning information at the current positioning moment; or, if the reference positioning information is not the first positioning result within the preset time period, performing step S103 to perform stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
[0137] That is to say, if the reference positioning information at the current positioning moment is the first positioning prediction result within a certain preset time period, the reference positioning information is directly used as the final Bluetooth positioning result without performing stable positioning processing. Otherwise, stable positioning processing needs to be performed on the reference positioning information.
[0138] The embodiment of the present application can automatically distinguish whether the reference positioning information at the current positioning moment is the first positioning information within the preset time period. If so, no stable positioning processing is performed on it. If not, stable positioning processing is performed on it, reducing the number of stable positioning processing times, saving system resources, and avoiding waste of system resources.
[0139] In yet another embodiment of the present application, step S103 performs stable positioning processing on the reference positioning information to obtain Bluetooth positioning information at the current positioning moment, including:
[0140] Performing anti-cross-region jump processing on the reference positioning information to obtain Bluetooth positioning information at the current positioning moment, and / or performing jump suppression processing on the reference positioning information to obtain Bluetooth positioning information at the current positioning moment.
[0141] In the embodiment of the present application, anti-cross-region jump processing can prevent the reference positioning information at the current positioning moment from undergoing a cross-region jump relative to the Bluetooth positioning information at the previous positioning moment. Jump suppression processing can reduce the number of jumps of the reference positioning information and prevent the Bluetooth positioning information at multiple positioning moments from undergoing frequent jumps.
[0142] In the implementation manner of performing anti-cross-region jump processing on the reference positioning information and performing jump suppression processing on the reference positioning information, any one of the processing methods can be performed first, and then the Bluetooth positioning information obtained by the processing method used later is determined as the Bluetooth positioning information at the current positioning moment.
[0143] In the embodiment of the present application, by performing anti-cross-region jump processing and / or jump suppression processing on the reference positioning information, the jump amplitude and / or frequency of the Bluetooth positioning information determined based on the reference positioning information are restricted, making the Bluetooth positioning information more stable.
[0144] In one implementation manner of the present application, as Figure 5 shown, performing anti-cross-region jump processing on the reference positioning information to obtain Bluetooth positioning information at the current positioning moment includes:
[0145] Step S301, obtaining the reference positioning information and the Bluetooth positioning information at the previous positioning moment;
[0146] Step S302, inputting the reference positioning information and the Bluetooth positioning information at the previous positioning moment into a jump limit state machine, so that the jump limit state machine corrects the reference positioning information that does not meet the region jump rule to obtain the Bluetooth positioning information at the current positioning moment.
[0147] In the embodiments of the present application, the jump limit state machine includes a judgment state, a correction state, and a non-correction state. The input of the judgment state is the reference positioning information at the current positioning moment and the Bluetooth positioning information at the previous positioning moment, and the output is a judgment result, that is, yes or no. When the judgment result is yes, it jumps to the non-correction state, and the reference positioning information is not corrected in the non-correction state. When the judgment result is no, it jumps to the correction state, and in the correction state, the reference positioning information at the current positioning moment is corrected to the Bluetooth positioning information at the previous positioning moment, that is, the Bluetooth positioning information at the previous positioning moment is used to replace the reference positioning information at the current positioning moment. That is to say, the Bluetooth positioning information at the previous positioning moment is determined as the Bluetooth positioning information at the current positioning moment.
[0148] As an example, the area jump rule may mean that Bluetooth positioning information is allowed to jump between adjacent areas and is not allowed to jump between non-adjacent areas.
[0149] In this step, the jump limit state machine determines whether the reference positioning information and the Bluetooth positioning information at the previous positioning moment satisfy the area jump rule. If the reference positioning information and the Bluetooth positioning information at the previous positioning moment satisfy the area jump rule, the jump limit state machine does not correct the reference positioning information; if the reference positioning information and the Bluetooth positioning information at the previous positioning moment do not satisfy the area jump rule, the jump limit state machine corrects the reference positioning information to the positioning area adjacent to the Bluetooth positioning information at the previous positioning moment to obtain the Bluetooth positioning information at the current positioning moment.
[0150] As an example, the reference positioning information at the current positioning moment and the Bluetooth positioning information at the previous positioning moment are input into the jump limit state machine. If they conform to the area jump rule, the reference positioning information at the current positioning moment is not corrected, and the reference positioning information is directly used as the Bluetooth positioning result at the current positioning moment; otherwise, the area jump of the Bluetooth positioning information needs to be restricted.
[0151] In the Bluetooth key unlocking and locking function, the allowed area jump situation of the Bluetooth positioning information is as Figure 6 shown. Only the Bluetooth positioning information is allowed to change between adjacent areas. For situations that do not conform to the actual situation, such as the Bluetooth positioning information directly jumping from area 1 to area 3 or the Bluetooth positioning information directly jumping from area 3 to area 5, the Bluetooth positioning information at the current positioning moment is corrected to the Bluetooth positioning information at the previous positioning moment; for situations such as the Bluetooth positioning information jumping from area 2 to area 1 or area 3, the reference positioning information does not need to be corrected.
[0152] In the embodiment of the present application, the jump limit state machine is used to correct the reference positioning information that does not meet the area jump rule, so that the Bluetooth positioning information at the current positioning moment obtained after correction is in the same area as the Bluetooth positioning information at the previous positioning moment, realizing the anti-cross-area jump control of the Bluetooth positioning information, restricting the jump amplitude of the Bluetooth positioning information determined based on the reference positioning information, and making the Bluetooth positioning information more stable.
[0153] In an implementation manner of the present application, as Figure 7 shown, performing jump suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment includes:
[0154] Step S401, obtaining the Bluetooth positioning information at the positioning moment within the historical time period;
[0155] In the embodiment of the present application, the historical time period is before the current positioning moment. In order to make the finally obtained Bluetooth positioning information at the current moment more accurate, the starting boundary of the historical time period can be set according to actual needs, but the ending boundary is the previous positioning moment.
[0156] For example: the starting boundary of the historical time period is the same as the starting boundary of the preset time period, and the ending boundary is the previous positioning moment before the current positioning moment. In practical applications, in order to reduce the calculation amount, the starting boundary of the historical time period can be moved backward to reduce the number of Bluetooth positioning information obtained.
[0157] Step S402, based on the Bluetooth positioning information at the positioning moment within the historical time period, obtaining the continuous occurrence times of the reference positioning information at the current positioning moment;
[0158] In the embodiment of the present application, the continuous occurrence times is the total number of times that the Bluetooth positioning information identical to the reference positioning information appears continuously most recently, including the reference positioning information. That is to say, if the reference positioning information is regarded as the Bluetooth positioning information, it is the total number of times that the Bluetooth positioning information at the current positioning moment appears continuously most recently.
[0159] Step S403, determining the Bluetooth positioning information at the current positioning moment according to the continuous occurrence times.
[0160] In an implementation manner of the present application, step S403 determines the Bluetooth positioning information at the current positioning moment according to the continuous occurrence times, including: if the continuous occurrence times is less than the preset number threshold, obtaining the Bluetooth positioning information at the previous positioning moment; correcting the reference positioning information at the current positioning moment to the Bluetooth positioning information at the previous positioning moment.
[0161] In another embodiment of the present application, step S403 determines the Bluetooth positioning information at the current positioning moment according to the consecutive occurrence times, including: if the consecutive occurrence times are greater than or equal to a preset number threshold, determining the reference positioning information at the current positioning moment as the Bluetooth positioning information at the current positioning moment.
[0162] When the vehicle key is located at the regional boundary, it is easy to have the phenomenon of unstable Bluetooth signal positioning. To stabilize the Bluetooth positioning prediction result, the present application uses a counter to record the total number of consecutive occurrences of the Bluetooth positioning information at the current positioning moment. Instead of adopting the changed positioning result when the Bluetooth positioning information first appears in a different positioning area, it is only when the number of consecutive positions in the new area reaches times that the positioning result is set to the new result. Assuming is set to 3, as in Figure 8 Example 2, when the number of times the moment starts to change from area 2 to area 3 is only two, it is considered that the positioning result has an unstable phenomenon, and then the moment and the result at the moment are reset to the area. For Example 3, when the predicted positioning result is continuously in area 3 for more than 3 times, the latest Bluetooth positioning result is adopted at the 3rd time.
[0163] In the embodiment of the present application, through the jump suppression process, only when the total number of consecutive occurrences of the Bluetooth positioning information reaches the preset number threshold, the Bluetooth positioning information at the previous positioning moment is used to correct the reference positioning information at the current positioning moment. By using the judgment condition that the consecutive occurrence times reach the preset number threshold, the jump frequency of the Bluetooth positioning information can be suppressed, realizing the jump suppression control of the Bluetooth positioning information, restricting the jump frequency of the Bluetooth positioning information determined based on the reference positioning information, and making the Bluetooth positioning information more stable.
[0164] In another embodiment of the present application, as shown in Figure 9 , step S104 determines the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments, including:
[0165] Step S501, determining the historical positioning trajectory of the vehicle key based on the Bluetooth positioning information at positioning moments within the historical time period;
[0166] In this step, among the Bluetooth positioning information at multiple positioning moments, the Bluetooth positioning information at positioning moments within the historical time period can be obtained, and then the historical positioning trajectory of the vehicle key is determined based on the Bluetooth positioning information at positioning moments within the historical time period.
[0167] Step S502: In the pedestrian tracking trajectory obtained by tracking pedestrians around the vehicle, obtain the historical tracking trajectory of the pedestrian in the historical time period. The pedestrian tracking trajectory is obtained by smoothing the tracking information of the pedestrian.
[0168] While performing Bluetooth positioning on the vehicle key, embodiments of the present application also track at least one pedestrian around the vehicle to obtain a pedestrian tracking trajectory. While tracking pedestrians around the vehicle, the obtained tracking information is also smoothed. For details, please refer to the embodiments below.
[0169] Step S503: Based on the historical positioning trajectory and the historical tracking trajectory, correct the reference positioning information at the current positioning moment to obtain the positioning result of the vehicle key.
[0170] In an implementation manner of the present application, step S503 corrects the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key, including: fusing the historical positioning trajectory and the historical tracking trajectory to obtain a fused positioning trajectory; performing trajectory matching between the historical tracking trajectory and the fused positioning trajectory to obtain a trajectory similarity; using the tracking information of the pedestrian with the highest trajectory similarity at the current positioning moment to correct the reference positioning information at the current positioning moment to obtain the positioning result of the vehicle key.
[0171] As Figure 10 , when the historical positioning trajectory and the historical tracking trajectory are obtained, fusion processing can be performed to obtain the final positioning result. The area where the th pedestrian is located in the historical time period (i.e., the historical tracking trajectory) can be denoted as , and the Bluetooth positioning information in the historical time period (i.e., the historical positioning trajectory) can be denoted as . The fused positioning trajectory after fusion is denoted as , where The positioning result at time needs to be fused.
[0172] Perform trajectory matching between the historical tracking trajectories of all pedestrians appearing at the current moment and the fused positioning trajectory in the historical time period. Further, the matching can start from the 1st moment stored. If the area where the pedestrian is located at the corresponding moment is consistent with the fused positioning result, the similarity is incremented by 1 until the tracking trajectories in the entire historical time period are matched to obtain the th pedestrian's similarity (this similarity is not normalized, and the similarity in actual applications can also be normalized), and the index of the matched pedestrian is:
[0173]
[0174] The pedestrian index ID is represented as . Based on the matched pedestrian index ID, determine the area where the current pedestrian is located, and use this area as the final positioning result of the vehicle key. The expression for the fusion process is as follows:
[0175]
[0176] Among them, is the maximum similarity calculated after the pedestrian trajectory matching. When the maximum similarity is less than , it indicates that no corresponding pedestrian is matched, and the Bluetooth positioning information at the current positioning moment is used as the final positioning result of the vehicle key at the current positioning moment; when the maximum similarity is greater than , the area where the pedestrian with the maximum similarity is located is selected as the final positioning result of the vehicle key. Only one possible fusion implementation method is listed in this article, and there may be other fusion methods in the specific practice process.
[0177] In the embodiment of the present application, by correcting the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory, the positioning result of the vehicle key can be obtained. The tracking information of the pedestrian with the highest similarity between the historical tracking trajectory and the historical positioning trajectory at the current positioning moment can be used to correct the Bluetooth positioning information at the current positioning moment, and the tracking information of the pedestrian in the same position as the vehicle key can be used to correct the Bluetooth positioning information of the vehicle key, so as to improve the accuracy of the finally determined positioning result of the vehicle key.
[0178] In another embodiment of the present application, as Figure 11 shown, before determining the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments in step S104, the method further includes:
[0179] Step S601, perform position tracking on the pedestrians around the vehicle to obtain the tracking information of the pedestrians;
[0180] Step S602, if the tracking information of the pedestrians disappears at the current positioning moment, determine whether new pedestrians appear around the vehicle;
[0181] Step S603, if new pedestrians appear around the vehicle at the current positioning moment, determine whether the new pedestrians and the pedestrians whose tracking information has disappeared meet the binding conditions;
[0182] In an implementation of the present application, step S603 determines whether the new pedestrian and the pedestrian whose tracking information has disappeared meet the binding condition, including: obtaining the estimated position of the pedestrian whose tracking information has disappeared; if the distance between the tracking information of the new pedestrian and the estimated position of the pedestrian whose tracking information has disappeared is less than the preset distance threshold, it is determined that the new pedestrian and the pedestrian whose tracking information has disappeared meet the binding condition.
[0183] Step S604, if the new pedestrian and the pedestrian whose tracking information has disappeared meet the binding condition, determine the tracking information of the new pedestrian as the tracking information of the pedestrian whose tracking information has disappeared at the current positioning moment;
[0184] To record the historical tracking trajectory of each pedestrian, it is necessary to store the tracking information of each pedestrian tracked in the past period of time, such as: coordinate position. In practical applications, in order to save system resources, when the disappearance time of a pedestrian is less than time instants, the trajectory change of this id can still be maintained, or the trajectory change of this id can be maintained all the time.
[0185] When a new id appears, the distance between the coordinate position of the pedestrian with the new id and the estimated position of the pedestrian with the disappeared id can be calculated. If it meets the preset condition (that is, the distance is less than the preset distance threshold), the pedestrian with the new id and the pedestrian with the disappeared id are bound to achieve smooth trajectory of the pedestrian.
[0186] According to the coordinate position of the pedestrian obtained by the BEV perception algorithm and the coordinate position obtained historically, calculate the speed of the pedestrian at a certain moment in the and directions, where the speed in the direction is , the speed in the direction is
[0187]
[0188] Among them, represents the time interval between two Bluetooth signal transmissions. Assume that the position estimated for the pedestrian who disappears at time t is , and the position of a certain pedestrian who newly appears at time t is , and the distance between the two pedestrians is:
[0189]
[0190] When the distance is less than the preset threshold, the two pedestrians are associated as the same pedestrian.
[0191] As shown in Figure 12 , the pedestrian with ID 2 disappears after . However, based on the positions at and , the estimated position of the pedestrian with ID 2 between and can be calculated. A pedestrian with ID 8 appears at , and the position is relatively close to the estimated position of the pedestrian with ID 2 at . Then, the newly appeared pedestrian with ID 8 is associated with the pedestrian with ID 2 and bound as the same pedestrian.
[0192] That is to say, after smoothing the perception results of the current positioning time of each pedestrian, it is necessary to calculate the area where the pedestrian is located according to the tracking information obtained after smoothing. Then, the areas where all visible pedestrians are located at the current positioning time are denoted as:
[0192]
[0193]
[0194] Among them, represents the area where the th pedestrian is located, with a total of five areas.
[0195] In addition, the distance range of pedestrians visible in the BEV perception result is relatively large, which may exceed the range of Bluetooth signal reception. Therefore, pedestrians located outside the preset area at the current positioning time are filtered, and pedestrians outside the range do not need to perform trajectory matching.
[0196] Step S605: Sort all the tracking information whose positioning time is within the preset time period in the order of the positioning time to obtain the pedestrian tracking trajectory of the pedestrian.
[0197] In this step, for each pedestrian, all the tracking information whose positioning time is within the preset time period can be sorted in the order of the positioning time to obtain the pedestrian tracking trajectory of the pedestrian.
[0198] The embodiment of the present application can perform position tracking on pedestrians around the vehicle and smooth the tracking information obtained by the position tracking to avoid the loss of pedestrian tracking and smooth the position change of the tracking information, and finally obtain a more stable pedestrian tracking trajectory. Furthermore, in the previous embodiment, when using the fusion of the historical tracking trajectory and the historical positioning trajectory to correct the reference positioning information at the current positioning time, a more stable Bluetooth positioning information at the current positioning time can be obtained, reducing unnecessary jumps and positioning errors caused by the jumps in the Bluetooth positioning process, and making the final positioning result of the vehicle key more accurate.
[0199] In another embodiment of the present application, a vehicle key positioning device is further provided, as Figure 13 shown, including:
[0200] A first acquisition module 11, configured to acquire the signal strengths of Bluetooth signals received by a plurality of Bluetooth receiving devices, where the Bluetooth signals are sent by the vehicle key to the plurality of Bluetooth receiving devices, and the plurality of Bluetooth receiving devices are arranged at different positions of the vehicle;
[0201] A first determination module 12, configured to determine the reference positioning information of the vehicle key at the current positioning moment based on the plurality of signal strengths;
[0202] A first processing module 13, configured to perform stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment;
[0203] A second determination module 14, configured to determine the positioning result of the vehicle key based on the Bluetooth positioning information at a plurality of positioning moments.
[0204] Optionally, the device further includes:
[0205] A third determination module, configured to determine whether the reference positioning information is the first positioning information within a preset time period;
[0206] A fourth determination module, configured to, if the reference positioning information is the first positioning information within the preset time period, determine the reference positioning information as the Bluetooth positioning information at the current positioning moment; or, if the reference positioning information is not the first positioning result within the preset time period, perform the step of performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
[0207] Optionally, the first processing module includes:
[0208] A first processing unit, configured to perform anti-cross-region jump change processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment, and / or a second processing unit, configured to perform jump change suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
[0209] Optionally, the first processing unit includes:
[0210] A first acquisition subunit, configured to acquire the reference positioning information and the Bluetooth positioning information at the previous positioning moment;
[0211] A first correction subunit, configured to input the reference positioning information and the Bluetooth positioning information at the previous positioning moment into a jump limit state machine, so that the jump limit state machine corrects the reference positioning information that does not satisfy the region jump rule to obtain the Bluetooth positioning information at the current positioning moment.
[0212] Optionally, the first correction subunit is further configured to:
[0213] The jump limit state machine determines whether the reference positioning information and the Bluetooth positioning information at the previous positioning moment satisfy the area jump rule. If the reference positioning information and the Bluetooth positioning information at the previous positioning moment satisfy the area jump rule, the jump limit state machine does not correct the reference positioning information; if the reference positioning information and the Bluetooth positioning information at the previous positioning moment do not satisfy the area jump rule, the jump limit state machine corrects the reference positioning information to the positioning area adjacent to the Bluetooth positioning information at the previous positioning moment to obtain the Bluetooth positioning information at the current positioning moment.
[0214] Optionally, the second processing unit includes:
[0215] A second acquisition subunit, configured to acquire Bluetooth positioning information whose positioning moment is within a historical time period, where the historical time period is before the current positioning moment;
[0216] A third acquisition subunit, configured to acquire the continuous occurrence times of the reference positioning information at the current positioning moment based on the Bluetooth positioning information whose positioning moment is within the historical time period;
[0217] A first determination subunit, configured to determine the Bluetooth positioning information at the current positioning moment according to the continuous occurrence times.
[0218] Optionally, the first determination subunit is further configured to:
[0219] If the continuous occurrence times are less than a preset number threshold, acquire the Bluetooth positioning information at the previous positioning moment;
[0220] Correct the reference positioning information at the current positioning moment to the Bluetooth positioning information at the previous positioning moment.
[0221] Optionally, the first determination subunit is further configured to:
[0222] If the continuous occurrence times are greater than or equal to the preset number threshold, determine the reference positioning information at the current positioning moment as the Bluetooth positioning information at the current positioning moment.
[0223] Optionally, the second determination module includes:
[0224] A first determination unit, configured to determine the historical positioning trajectory of the vehicle key based on the Bluetooth positioning information whose positioning moment is within the historical time period;
[0225] A first acquisition unit, configured to acquire a historical tracking trajectory of the pedestrian in a historical time period from a pedestrian tracking trajectory obtained by tracking pedestrians around a vehicle, where the pedestrian tracking trajectory is obtained by smoothing tracking information of the pedestrian;
[0226] A first correction unit, configured to correct reference positioning information at a current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain a positioning result of the vehicle key.
[0227] Optionally, the first correction unit includes:
[0228] A fusion subunit, configured to fuse the historical positioning trajectory and the historical tracking trajectory to obtain a fused positioning trajectory;
[0229] A matching subunit, configured to perform trajectory matching between the historical tracking trajectory and the fused positioning trajectory to obtain a trajectory similarity;
[0230] A second correction subunit, configured to correct the reference positioning information at the current positioning moment by using tracking information of the pedestrian with the highest trajectory similarity at the current positioning moment to obtain the positioning result of the vehicle key.
[0231] Optionally, before the second determination module, the apparatus further includes:
[0232] A position tracking module, configured to perform position tracking on pedestrians around the vehicle to obtain tracking information of the pedestrians;
[0233] A pedestrian determination module, configured to determine whether a new pedestrian appears around the vehicle if the tracking information of the pedestrian disappears at the current positioning moment;
[0234] A condition judgment module, configured to determine whether a new pedestrian and the pedestrian whose tracking information disappears satisfy a binding condition if a new pedestrian appears around the vehicle at the current positioning moment;
[0235] An information determination module, configured to, if the new pedestrian and the pedestrian whose tracking information disappears satisfy the binding condition, determine the tracking information of the new pedestrian as the tracking information of the pedestrian whose tracking information disappears at the current positioning moment;
[0236] A trajectory generation module, configured to sort all tracking information within a preset time period according to the sequence of positioning moments to obtain a pedestrian tracking trajectory of the pedestrian.
[0237] Optionally, the condition judgment module includes:
[0238] A second acquisition unit, configured to acquire an estimated position of the pedestrian whose tracking information disappears;
[0239] A second determination unit, configured to determine that a new pedestrian and a pedestrian whose tracking information has disappeared meet the binding condition if the distance between the tracking information of the new pedestrian and the estimated position of the pedestrian whose tracking information has disappeared is less than a preset distance threshold.
[0240] In another embodiment of the present application, a vehicle is further provided, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus;
[0241] The memory is used to store a computer program;
[0242] The processor is configured to implement the vehicle key positioning method described in any of the foregoing method embodiments when executing the program stored on the memory.
[0243] In the vehicle provided by the embodiment of the present invention, the processor performs stable positioning processing on the reference positioning information determined based on the signal strength of the Bluetooth signal by executing the program stored on the memory, making the obtained Bluetooth positioning information more stable. Furthermore, the positioning result of the vehicle key determined based on the Bluetooth positioning information at multiple positioning moments is more stable, reducing unnecessary jumps and positioning errors caused by jumps during the Bluetooth positioning process, and making the final obtained positioning result of the vehicle key more accurate.
[0244] The communication bus 1140 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 14 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0245] The communication interface 1120 is used for communication between the above electronic device and other devices.
[0246] The memory 1130 may include a Random Access Memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the foregoing processor.
[0247] The above-mentioned processor 1110 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0248] In another embodiment of the present application, a computer-readable storage medium is further provided. A program for the vehicle key positioning method is stored on the computer-readable storage medium. When the program for the vehicle key positioning method is executed by a processor, the steps of the vehicle key positioning method described in any of the foregoing method embodiments are implemented.
[0249] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including the said element.
[0250] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.
Claims
1. A vehicle key positioning method, characterized in that, Including: Obtaining the signal strengths of Bluetooth signals received by multiple Bluetooth receiving devices, where the Bluetooth signals are sent by the vehicle key to the multiple Bluetooth receiving devices, and the multiple Bluetooth receiving devices are arranged at different positions of the vehicle; Determining the reference positioning information of the vehicle key at the current positioning moment based on the multiple signal strengths; Performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment; Performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment, including: Performing anti-cross-region jump processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment, and / or performing jump suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment; Determining the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments; Determining the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments, including: Determining the historical positioning trajectory of the vehicle key based on the Bluetooth positioning information at positioning moments within a historical time period; In the pedestrian tracking trajectory obtained by tracking pedestrians around the vehicle, obtaining the historical tracking trajectory of the pedestrian within the historical time period, where the pedestrian tracking trajectory is obtained by smoothing the tracking information of the pedestrian; Correcting the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key; Correcting the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key, including: Fusing the historical positioning trajectory and the historical tracking trajectory to obtain a fused positioning trajectory, where the fused positioning trajectory includes Bluetooth positioning information or tracking information of the pedestrian corresponding to multiple positioning moments before the current positioning moment; Performing trajectory matching between the historical tracking trajectory and the fused positioning trajectory to obtain a trajectory similarity; Using the tracking information of the pedestrian with the highest trajectory similarity at the current positioning moment to correct the reference positioning information at the current positioning moment to obtain the positioning result of the vehicle key.
2. The vehicle key positioning method according to claim 1, wherein The method further includes: Determining whether the reference positioning information is the first positioning information within a preset time period; If the reference positioning information is the first positioning information within the preset time period, determining the reference positioning information as the Bluetooth positioning information at the current positioning moment; or, if the reference positioning information is not the first positioning result within the preset time period, performing the step of performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment.
3. The vehicle key positioning method according to claim 1, wherein, Performing anti-cross-region jump processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment includes: Obtaining the reference positioning information and the Bluetooth positioning information at the previous positioning moment; Input the reference positioning information and the Bluetooth positioning information at the previous positioning moment into a jump limit state machine, so that the jump limit state machine corrects the reference positioning information that does not meet the area jump rule to obtain the Bluetooth positioning information at the current positioning moment.
4. The vehicle key positioning method according to claim 3, characterized in that Input the reference positioning information and the Bluetooth positioning information at the previous positioning moment into a jump limit state machine, so that the jump limit state machine corrects the reference positioning information that does not meet the area jump rule to obtain the Bluetooth positioning information at the current positioning moment, including: The jump limit state machine determines whether the reference positioning information and the Bluetooth positioning information at the previous positioning moment meet the area jump rule. If the reference positioning information and the Bluetooth positioning information at the previous positioning moment meet the area jump rule, the jump limit state machine does not correct the reference positioning information; if the reference positioning information and the Bluetooth positioning information at the previous positioning moment do not meet the area jump rule, the jump limit state machine corrects the reference positioning information to the positioning area adjacent to the Bluetooth positioning information at the previous positioning moment to obtain the Bluetooth positioning information at the current positioning moment.
5. The vehicle key positioning method according to claim 1, wherein, Perform jump suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment, including: Obtain the Bluetooth positioning information whose positioning moment is within a historical time period, and the historical time period is before the current positioning moment; Based on the Bluetooth positioning information whose positioning moment is within the historical time period, obtain the continuous occurrence times of the reference positioning information at the current positioning moment; Determine the Bluetooth positioning information at the current positioning moment according to the continuous occurrence times.
6. The vehicle key positioning method according to claim 5, wherein Determine the Bluetooth positioning information at the current positioning moment according to the continuous occurrence times, including: If the continuous occurrence times are less than a preset number threshold, obtain the Bluetooth positioning information at the previous positioning moment; Correct the reference positioning information at the current positioning moment to the Bluetooth positioning information at the previous positioning moment.
7. The vehicle key positioning method according to claim 5, characterized in that, Determine the Bluetooth positioning information at the current positioning moment according to the continuous occurrence times, including: If the continuous occurrence times are greater than or equal to the preset number threshold, determine the reference positioning information at the current positioning moment as the Bluetooth positioning information at the current positioning moment.
8. The vehicle key positioning method according to claim 1, characterized in that Before determining the positioning result of the vehicle key based on the Bluetooth positioning information at multiple positioning moments, the method further includes: Perform position tracking on the pedestrians around the vehicle to obtain the tracking information of the pedestrians; If the tracking information of the pedestrians disappears at the current positioning moment, determine whether new pedestrians appear around the vehicle; If new pedestrians appear around the vehicle at the current positioning moment, determine whether the new pedestrians and the pedestrians whose tracking information disappears meet the binding condition; If the new pedestrians and the pedestrians whose tracking information disappears meet the binding condition, determine the tracking information of the new pedestrians as the tracking information of the pedestrians whose tracking information disappears at the current positioning moment; Sort all the tracking information whose positioning moment is within a preset time period in the order of the sequence of the positioning moments to obtain the pedestrian tracking trajectory of the pedestrians.
9. The vehicle key positioning method according to claim 8, wherein, Determine whether the new pedestrians and the pedestrians whose tracking information disappears meet the binding condition, including: Obtain the estimated position of the pedestrians whose tracking information disappears; If the distance between the tracking information of the new pedestrian and the estimated position of the pedestrian whose tracking information has disappeared is less than a preset distance threshold, it is determined that the new pedestrian and the pedestrian whose tracking information has disappeared meet the binding condition.
10. A vehicle key positioning device, characterized in that, Including: A first acquisition module, configured to acquire the signal strengths of Bluetooth signals received by a plurality of Bluetooth receiving devices, where the Bluetooth signals are sent by the vehicle key to the plurality of Bluetooth receiving devices, and the plurality of Bluetooth receiving devices are arranged at different positions of the vehicle; A first determination module, configured to determine the reference positioning information of the vehicle key at the current positioning moment based on the plurality of signal strengths; A first processing module, configured to perform stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment; Performing stable positioning processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment includes: performing anti-cross-region jump processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment, and / or performing jump suppression processing on the reference positioning information to obtain the Bluetooth positioning information at the current positioning moment; A second determination module, configured to determine the positioning result of the vehicle key based on the Bluetooth positioning information at a plurality of positioning moments; determining the positioning result of the vehicle key based on the Bluetooth positioning information at a plurality of positioning moments includes: determining the historical positioning trajectory of the vehicle key based on the Bluetooth positioning information whose positioning moment is within the historical time period; in the pedestrian tracking trajectory obtained by tracking the pedestrians around the vehicle, obtaining the historical tracking trajectory of the pedestrian within the historical time period, where the pedestrian tracking trajectory is obtained by smoothing the tracking information of the pedestrian; correcting the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key; correcting the reference positioning information at the current positioning moment based on the historical positioning trajectory and the historical tracking trajectory to obtain the positioning result of the vehicle key includes: fusing the historical positioning trajectory and the historical tracking trajectory to obtain a fused positioning trajectory, where the fused positioning trajectory includes: the Bluetooth positioning information or the tracking information of the pedestrian corresponding to a plurality of positioning moments before the current positioning moment; performing trajectory matching between the historical tracking trajectory and the fused positioning trajectory to obtain a trajectory similarity; using the tracking information of the pedestrian with the highest trajectory similarity at the current positioning moment to correct the reference positioning information at the current positioning moment to obtain the positioning result of the vehicle key.
11. A vehicle, characterized in that, Including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used to store a computer program; The processor, when executing the program stored on the memory, implements the vehicle key positioning method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, A program of the vehicle key positioning method is stored on the computer-readable storage medium, and when the program of the vehicle key positioning method is executed by the processor, the steps of the vehicle key positioning method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Positioning method and device
CN109061560A
Online multi-pedestrian detection tracking method in complex scene
CN111739053A
UWB-based vehicle digital key positioning method, device and equipment and storage medium
CN116320966A
Fusion positioning method and fusion positioning system for digital key module
CN117693014A