Anti-ping-pong-effect locking control method and device, control equipment and storage medium

By recognizing turning events and user movement trends, intelligent delayed locking solves the ping-pong effect caused by interference in the field of digital keys using Bluetooth Low Energy and Ultra Wideband technologies, thus improving the stability of vehicle locking and unlocking and the user experience.

CN121330802AActive Publication Date: 2026-01-13SHANGHAI INGEEK CYBER SECURITY CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202511873414.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-01-13
Estimated Expiration
2045-12-12

AI Technical Summary

Technical Problem

Bluetooth Low Energy and Ultra Wideband technologies are susceptible to interference in the digital key field, leading to a ping-pong effect that causes vehicles to frequently lock and unlock, affecting the user experience.

Method used

By recognizing turning events and user movement trends, the system intelligently delays locking, obtains positioning information between the digital key anchor point and the digital key on the vehicle's infotainment system, analyzes target events and area changes, and controls the vehicle's infotainment system to remain unlocked for the delay period until the user's movement trend determines whether to lock.

Benefits of technology

It effectively reduces the frequency of unlocking and locking without user intent, improves the responsiveness and user experience of digital keys, and mitigates the ping-pong effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121330802A_ABST
    Figure CN121330802A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an anti-ping-pong effect locking control method. The method comprises the following steps: acquiring positioning information between a digital key anchor point and a digital key at a vehicle terminal; determining the current area of the digital key according to the positioning information; analyzing the positioning information to determine whether a target event is identified, and analyzing according to the positioning information to obtain the current trend of the user; the target event is an unexpected change of an area where the digital key is located; when the state of the vehicle-mounted terminal is an unlocking state, if a target event is recognized, determining a delay duration according to the target event; and in the delay duration, when the area where the digital key is currently located is the locking area, the vehicle-mounted terminal is controlled to be kept in the unlocking state, and after the delay duration is reached, whether locking is conducted or not is determined according to the trend, so that on the basis that normal unlocking and locking are not affected, unlocking and locking operations which are not intended by a user are reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital key technology, and in particular to a locking control method and device, control equipment and storage medium for preventing ping-pong effect. Background Technology

[0002] Bluetooth Low Energy (BLE) and Ultra Wide Band (UWB) technologies are widely used in the field of digital keys. However, their signal characteristics are easily affected, leading to misjudgment of the positioning area and a ping-pong effect in actual use. Specifically, UWB signals may be affected by people, physical obstacles, walls, or other interference sources, causing jumps in ranging or the inability to obtain effective ranging values. BLE signals, on the other hand, may experience significant jumps in RSSI after being obstructed, resulting in incorrect positioning. Therefore, the ping-pong effect is a frequent problem in the use of digital keys. For example, if a user is chatting near the car without moving away, but the car immediately locks after the user turns around, and then immediately unlocks when the user turns back to face the car, this frequent locking and unlocking negatively impacts the user experience. Therefore, improving the ping-pong effect without affecting normal locking and unlocking has become a pressing technical problem in this field. Summary of the Invention

[0003] This invention provides a locking control method, device, control equipment, and storage medium to prevent the ping-pong effect. By recognizing turning events and the user's directional trend, the locking is intelligently delayed, thereby reducing unintended locking operations without affecting normal unlocking and improving the user experience.

[0004] In a first aspect, embodiments of the present invention provide a locking control method to prevent the ping-pong effect, which obtains positioning information between the digital key anchor point on the vehicle terminal and the digital key;

[0005] The location of the digital key is determined based on the location information;

[0006] The location information is analyzed to determine whether a target event has been identified, and the user's current movement trend is obtained based on the location information; the target event is an unexpected change in the area where the digital key is located.

[0007] When the vehicle's infotainment system is in an unlocked state, if the target event is detected, the delay duration is determined based on the target event.

[0008] During the specified delay period, when the area where the digital key is currently located is a locked area, the vehicle terminal is controlled to remain unlocked. After the specified delay period is reached, the vehicle terminal is controlled to remain unlocked based on the trend.

[0009] As one example, the target events include: the user turning away from the vehicle and not turning around, occurring sequentially.

[0010] The delay duration determined based on the target event is the delay duration after the turn ends. Determining the delay duration based on the target event includes:

[0011] The delay duration before the user turns around is determined based on the user's location information before turning away from the vehicle and preset rules.

[0012] The duration of the turn is obtained based on the positioning information;

[0013] The difference between the delay duration before the turn and the duration of the turn is taken as the delay duration after the turn ends.

[0014] Correspondingly, the duration of unlocking after the cumulative turn ends;

[0015] If the unlocking duration after the turn ends is within the delay duration after the turn ends, and the area where the digital key is currently located is a locked area, the vehicle terminal is controlled to remain unlocked.

[0016] The method further includes:

[0017] Before the target event ends, when the area where the digital key is currently located is a locked area, control the vehicle terminal to remain unlocked.

[0018] As one embodiment, obtaining the turning duration based on the positioning information includes:

[0019] If the UWB ranging value is valid during the turn, the initial turn duration TimeTurnBack is accumulated. If the TimeTurnBack is greater than the turn duration threshold, the corrected duration obtained based on the difference between the TimeTurnBack and the turn duration threshold is used as the turn duration.

[0020] or

[0021] If the UWB ranging value is invalid during the turning process, the turning duration is obtained by predicting the state one-step prediction time according to the preset Kalman filter algorithm.

[0022] As one embodiment, determining the delay duration before the user turns around based on the user's positioning information before turning away from the vehicle and a preset rule includes:

[0023] When the positioning information is a UWB ranging value and the UWB ranging value corresponding to the start of the target event is valid, the delay duration before the turn is obtained based on the UWB ranging value corresponding to the start of the target event and the correspondence between distance and delay time; or

[0024] If the UWB ranging value at the start of the target event is invalid, the delay duration before the turn is obtained based on the most recent valid UWB ranging value at the start of the target event and the preset movement speed; or

[0025] When the positioning information is RSSI, the delay time before turning around is set to a preset time.

[0026] As one embodiment, the method further includes:

[0027] If the target event is not identified, the delay duration is determined based on the preset location information after entering the current unlock state.

[0028] As one embodiment, the method further includes:

[0029] If an exit condition is detected after the start of the target event, the delay duration is determined based on the preset positioning information after entering the current unlocked state.

[0030] As one embodiment, determining whether to lock based on the trend includes:

[0031] When the direction of movement is towards leaving the vehicle, the vehicle control unit is locked.

[0032] When the direction trend is no direction, if it is within the preset secondary delay time, the vehicle terminal is controlled to remain unlocked; if it exceeds the secondary delay time and the direction trend remains no direction, the vehicle terminal is controlled to be locked.

[0033] When the trend is to approach the vehicle's infotainment system, control the vehicle's infotainment system to remain unlocked.

[0034] Secondly, embodiments of the present invention provide a locking control device for preventing the ping-pong effect, comprising:

[0035] The acquisition module is used to acquire the location information between the digital key anchor point on the vehicle's infotainment system and the digital key.

[0036] The area determination module is used to determine the area where the digital key is currently located based on the location information.

[0037] The trend recognition module is used to analyze the location information to determine whether a target event has been identified, and to analyze the location information to obtain the user's current directional trend; the target event is an unexpected change in the area where the digital key is located;

[0038] The delay estimation module is used to determine the delay duration based on the target event if the target event is detected when the vehicle terminal is in the unlocked state.

[0039] The delayed locking control module is used to control the vehicle terminal to remain unlocked when the area where the digital key is currently located is a locked area during the delay period, and to determine whether to lock based on the trend after the delay period is reached.

[0040] Thirdly, embodiments of the present invention provide a positioning device, including a memory and a processor;

[0041] A memory is used to store computer programs; the processor is used to read the computer programs in the memory and, when executing the programs, implement the aforementioned anti-ping-pong effect latching control method.

[0042] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the anti-ping-pong effect latching control method as described in the first aspect.

[0043] The technical solutions provided by the embodiments of the present invention have at least the following positive effects compared with the prior art:

[0044] In the technical solution of this invention, by acquiring the positioning information between the digital key anchor point and the digital key on the vehicle terminal, the current area of ​​the digital key is determined based on the positioning information. The positioning information is analyzed to determine whether a target event has been identified, and the user's current movement trend is obtained based on the positioning information. The target event is an unexpected change in the area where the digital key is located. When the vehicle terminal is in the unlocked state, if the target event is identified, a delay time is determined based on the target event. Within the delay time, when the area where the digital key is currently located is the locked area, the vehicle terminal is controlled to remain in the unlocked state. After the delay time is reached, the movement trend is used to determine whether to lock. By effectively identifying the ping-pong effect and performing intelligent delayed locking control, the responsiveness of the digital key can be guaranteed while effectively avoiding frequent unlocking and locking without the user's intent. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 This is a schematic flowchart of the anti-ping-pong effect lockout control method provided in Embodiment 1 of the present invention;

[0047] Figure 2 This is a schematic diagram of the anti-ping-pong effect interlocking control device provided in Embodiment 2 of the present invention;

[0048] Figure 3 This is a schematic diagram of the control device provided in Embodiment 3 of the present invention. Detailed Implementation

[0049] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0050] Figure 1 This is a flowchart illustrating the anti-ping-pong effect locking control method provided in an embodiment of the present invention. It can be applied to digital key locking control to prevent frequent unlocking and locking caused by the ping-pong effect. This method can be executed by an anti-ping-pong effect locking control device provided in an embodiment of the present invention. This device can be implemented in software and / or hardware and configured in the vehicle's control equipment. Figure 1 As shown, the lockout control method for preventing the ping-pong effect of this application includes the following steps:

[0051] Step 101: Obtain the location information between the digital key anchor point on the vehicle's infotainment system and the digital key.

[0052] Step 102: Determine the current location of the digital key based on the location information.

[0053] Step 103: Analyze the location information to determine whether a target event has been identified, and analyze the user's current movement trend based on the location information; the target event is an unexpected change in the area where the digital key is located.

[0054] Step 104: When the vehicle's terminal is in the unlocked state, if a target event is detected, the delay duration is determined based on the location information corresponding to the target event.

[0055] Step 105: During the delay period, when the area where the digital key is currently located is a locked area, control the vehicle terminal to remain unlocked. After the delay period is reached, determine whether to lock based on the trend.

[0056] The steps 101 to 105 of this embodiment will be described in detail below.

[0057] Step 101: Obtain the location information between the digital key anchor point on the vehicle's infotainment system and the digital key.

[0058] Digital key anchors can be BLE single-mode anchors, UWB single-mode anchors, or UWB / BLE dual-mode anchors. Correspondingly, the acquired positioning information may include individual UWB ranging values, individual RSSI, or UWB ranging values ​​and RSSI. This embodiment does not impose specific limitations on the number, type, or deployment method of anchors.

[0059] To improve subsequent positioning accuracy, the acquired positioning information can be preprocessed, such as by filtering. For example, when N BLE signal strengths RSSI[N] are acquired, moving average, low-pass filtering, etc., can be performed to obtain N filtered RSSI_f[N]. When M UWB ranging values ​​DIST[M] are acquired, Kalman filtering, adaptive filtering, etc., can be performed to obtain M filtered ranging values ​​DIST_f[M]. When M1 (M1<=M) anchor points have invalid ranging values, the filter can determine whether the ranging value of UWB anchor point i (1<=i<=M1) at the current time can be predicted, and used as the predicted ranging value for anchor point i. The filter also records whether each filtered ranging value in DIST_f[M] is a predicted value. When the prediction flag AllPredictFlag=1 for all UWB anchor points, it indicates that all ranging values ​​are predicted values; when AllPredictFlag=0, it indicates that at least one UWB ranging value is valid.

[0060] Step 102: Determine the current location of the digital key based on the location information.

[0061] According to the digital key protocol, the functional areas of a digital key may include PS, PE (i.e., UNLOCK), LOCK, WELCOME, and CONNECT. When the digital key is located in the PE area, the vehicle should be unlocked; when the digital key is located in the WELCOME area, the vehicle should be locked. This embodiment does not impose specific restrictions on the vehicle's unlocking and locking conditions. When the digital key has both UWB and BLE anchor points, an external area positioning method based primarily on UWB ranging values ​​and secondarily on RSSI can be used to obtain the external area. The current area of ​​the digital key can be obtained by analyzing the filtered RSSI_f[N], or by using DIST_f[M], or by using both DIST_f[M] and RSSI_f[N]. This embodiment does not impose specific restrictions on the method for determining the area of ​​the digital key based on the anchor point measurement information.

[0062] Step 103: Analyze the location information to determine whether the target event has been identified, and analyze the user's current trend based on the location information.

[0063] The target event is an unexpected change in the area where the digital key is located. For example, the digital key might have been 2 meters away from the vehicle (PE) a moment ago, but is now 5 meters away (WELCOME), causing the area where the digital key is located to jump from the unlocked area to the locked area, thus triggering a ping-pong effect. Causes of the ping-pong effect include turning and obstruction. For example, the target event could include a user turning away from the vehicle. During this process, the signal quality of the digital key deteriorates rapidly as the user turns from facing the vehicle to facing away, causing a sudden change in the area positioning result, such as changing from the unlocked area to the locked area, or from PE to LOCK, WELCOME, or CONNECT. When the user turns from facing away from the vehicle to facing the vehicle, the area judgment result may change from the locked area to the unlocked area. It is understood that this embodiment does not specifically limit the cause of the target event, as long as the area positioning result of the digital key easily or potentially causes the ping-pong effect. For example, when the user is obstructed by a person, the signal change of the positioning information may also be identified as the target event.

[0064] The acquired RSSI[N] is stored in the RSSI history sliding window to obtain the RSSI sequence. The value of N can be determined based on the signal transmission and reception period and the duration of the turning action; for example, N can be 4. By analyzing the data in the RSSI history sliding window, the user's current turning flag (TurnFlag_RSSI) and the user's trend flag (TrendFlag_RSSI) are obtained.

[0065] Storing DIST[M] into the DIST history sliding window yields the DIST sequence. The value of M can be the same as N. By analyzing the data within the DIST history sliding window, we obtain the user's turn flag (TurnFlag_DIST) and trend flag (TrendFlag_DIST) for the current moment.

[0066] When the positioning information includes RSSI and UWB ranging values, the final turn flag (TurnFlag) can be obtained by combining the results of TurnFlag_RSSI and TurnFlag_DIST with their respective confidence levels. When only RSSI or UWB ranging values ​​are available, TurnFlag can be obtained from TurnFlag_RSSI or TurnFlag_DIST.

[0067] The turn flag can have three possible outcomes: TurnFlag = NONE, indicating the user is not turning; TurnFlag = FORWARD, indicating the user is turning towards the vehicle; and TurnFlag = BACK, indicating the user is turning away from the vehicle. Understanding this, when TurnFlag changes from NONE to BACK, it indicates the target event has been detected; when TurnFlag changes from BACK to NONE, it indicates the BACK turn has ended. The start time and duration of the BACK (i.e., the turn length) can be determined based on historical BACK data.

[0068] It should be noted that the embodiments of the present invention do not impose specific limitations on the methods for identifying target events and analyzing trends. Target events and trends can be identified and obtained using methods such as threshold detection, time series analysis, and machine learning. For example, the trend can be obtained based on the increasing or decreasing trend of the RSSI or ranging value feature sequence, or by calculating the slope of the feature sequence. When there is no increasing or decreasing trend, it can be identified as NONE (no trend). The rate of change of feature values, RSSI, or ranging values ​​in the feature sequence can be calculated, and a BACK can be identified based on the rate of change threshold. When the BACK pattern is not met, it can be identified as NONE (no turning point).

[0069] Obstructing the digital key can also be seen as turning away from the vehicle. For example, holding the digital key in your hand or putting it in your pocket and turning around. This is similar to the signal characteristics of a person standing next to the digital key or placing an obstruction between the digital key and the vehicle. For the sake of convenience, this article will refer to such events as turning around.

[0070] Step 104: When the vehicle's terminal is in the unlocked state, if the target event is detected, the delay duration is determined based on the target event.

[0071] The target events include: the user is turning away from the vehicle in sequence and no turning.

[0072] The delay duration determined in step 104 is the delay duration after the end of the turn. Determining the delay duration according to the target event includes the following sub-steps 1041 to sub-step 1043:

[0073] Sub-step 1041: Determine the pre-turn delay duration according to the positioning information before the user turns away from the vehicle and the preset rules.

[0074] When the positioning information is the UWB ranging value and the UWB ranging value corresponding to the start of the target event is valid, the pre-turn delay duration is obtained according to the UWB ranging value corresponding to the start of the target event and the corresponding relationship between distance and delay time. Specifically, an example of the corresponding relationship between distance and delay time is as follows:

[0075] When ShortestDist < DistThrsld_0 (2m), T = HoldTimeThrsld_0 (4s);

[0076] When ShortestDist < DistThrsld_1 (3m), T = HoldTimeThrsld_1 (3s);

[0077] When ShortestDist < DistThrsld_2 (4m), T = HoldTimeThrsld_2 (2s).

[0078] ShortestDist can be the shortest ranging value of the UWB corresponding to the start of the target event, T is the corresponding delay duration, which is the pre-turn delay duration here. It can be understood that the delay durations corresponding to other ranging values can also be obtained according to the corresponding relationship between distance and delay time. DistThrsld_0~2 are multi-level ranging value thresholds, and HoldTimeThrsld_0~2 are the corresponding multi-level delay durations. The delay duration can be intelligently adjusted according to the intention through the multi-level ranging values and their corresponding delay durations, effectively avoiding the ping-pong effect while ensuring the responsiveness of the digital key.

[0079] If the UWB ranging value at the start of the target event is invalid, the pre-turn delay duration is determined according to the nearest valid UWB ranging value at the start of the target event and the preset moving speed. The preset moving speed is, for example, the speed of the user walking quickly, that is, the duration required to reach the locking distance is calculated as the pre-turn delay duration according to the nearest valid UWB ranging value at the start of this turn and the speed of the user walking quickly.

[0080] When the location information is RSSI, set the delay before turning around to a preset duration, such as 2 seconds.

[0081] If none of the above three conditions are met, the delay duration can be set to 0.

[0082] Sub-step 1042: Obtain the duration of the turn based on the positioning information.

[0083] If the UWB ranging value is valid during the turn, the initial turn duration, TimeTurnBack, is accumulated. If TimeTurnBack is greater than the turn duration threshold TimeThrsld, the corrected duration, calculated based on the difference between TimeTurnBack and the threshold, is used as the turn duration. Specifically, when TimeTurnBack > TimeThrsld (e.g., 1 second), the turn duration dT is calculated as TimeTurnBack - TimeThrsld; if TimeTurnBack is less than or equal to TimeThrsld, the turn duration dT is set to 0. Due to the instability of the UWB signal during the turn, TimeTurnBack may be too long. Correcting this can reduce errors. Furthermore, the ping-pong effect originates from the turn itself and is not significantly related to the turn duration; therefore, once the turn is captured, the next step can proceed.

[0084] If the UWB ranging value is invalid during the turn (i.e., AllPredictFlag=1), the turn duration is obtained by predicting the state in one step using a preset Kalman filter algorithm. The accumulated prediction time is then used as the turn duration, resulting in TimeTurnPred. The preset Kalman filter algorithm can be the ranging value filtering method disclosed in the invention patent published on November 11, 2025, with publication number CN120935763A and invention title "Digital Key Ranging Value Filtering Method," which will not be elaborated upon here.

[0085] Sub-step 1043: Use the difference between the delay duration before turning around and the duration of turning around as the delay duration after the turn ends.

[0086] Specifically, the difference between the delay duration before turning obtained in sub-step 1041 and the turning duration in sub-step 1042 can be used as the delay duration after the turning ends. For example, when the delay duration before turning is greater than dT, the difference between the two is used as the delay duration after the turning ends; otherwise, when the delay duration before turning is less than or equal to dT, the delay duration after turning ends is set to 0. For example, if the delay duration before turning is 4s and the turning duration dT is 0.5s, then the delay duration after turning ends is 3.5s.

[0087] When the delay before the turn is greater than TimeTurnPred, the difference between the two is taken as the delay after the turn ends. When the delay before the turn is less than or equal to TimeTurnPred, the delay after the turn ends is set to 0. For example, if the delay before the turn is 3 seconds and the turn duration TimeTurnPred is 0.5 seconds, then the delay after the turn ends is 2.5 seconds.

[0088] Correspondingly, the unlock duration after the turn is completed is accumulated. When the turn flag changes from BACK to NONE, it indicates that the current turn action has been completed. The duration TimeTurnDone after the turn is completed is accumulated from this point as the unlock duration after the turn ends.

[0089] If the unlocking duration after the turn ends is within the delay duration after the turn ends, and the area where the digital key is currently located is a locked area, it is judged as a ping-pong effect, and the vehicle control system will maintain the unlocked state.

[0090] It should be noted that the vehicle's infotainment system remains unlocked until the target event ends, provided the digital key is currently in a locked area. For example, when TurnFlag=BACK, during the accumulation of TimeTurnBack or TimeTurnPred, if the digital key is currently in a locked area (WELCOME or further away), no locking command is sent, and the system directly proceeds to the next calculation.

[0091] In this embodiment, if an exit condition is detected after the target event begins, the process returns to the method described below, which determines the delay duration based on the preset location information after entering the current unlocked state. Specifically, when any of the following conditions are met, steps 104 to 105 do not need to be executed; the relevant time counters in step 104 are reset, and steps 104 and 105 are skipped directly:

[0092] 1) When the UWB ranging value of the digital key is invalid at the current moment, the area where the digital key is located is obtained based on the UWB ranging value and RSSI, and the shortest ranging value ShortestDist at the moment with the nearest valid ranging value is greater than or equal to DistThrsld_2 (4m).

[0093] 2) When the area where the digital key is located is obtained according to the UWB ranging value and AllPredictFlag=0, that is, when there is at least one valid UWB ranging value.

[0094] Step 105: During the delay duration, when the area where the digital key is currently located is the locked area, control the vehicle end to remain in the unlocked state. After reaching the delay duration, determine whether to lock according to the moving trend.

[0095] Determining whether to lock according to the moving trend may include:

[0096] When the moving trend is leaving the vehicle (LEAVE), control the vehicle end to lock;

[0097] When the moving trend is no moving trend (NONE), if within the preset secondary delay duration, control the vehicle end to remain in the unlocked state. If the secondary delay duration is reached and the moving trend remains in the no moving trend state, control the vehicle end to lock;

[0098] When the moving trend is approaching the vehicle end (APPROACH), control the vehicle end to remain in the unlocked state.

[0099] Specifically, according to the unlock duration TimeTurnDone after the turn end and the delay duration T after the turn end and the moving trend, control the locking.

[0100] When TimeTurnDone < T and the area where the digital key is currently located is WELCOME or farther, it is determined that this is a ping-pong at this time, and control the vehicle to remain in the unlocked state.

[0101] When TimeUnlock >= T and the area where the digital key is currently located is WELCOME or farther:

[0102] 1) When TrendFlag = LEAVE, immediately send a locking instruction;

[0103] 2) When TrendFlag = NONE, delay for another HoldTimeThrsld_2 (2s). If TrendFlag remains unchanged during this period, send a locking instruction after reaching HoldTimeThrsld_2;

[0104] 3) When TrendFlag = APPROACH, control the vehicle to remain in the unlocked state.

[0105] In this embodiment, the locking control method further includes: If the target event is not recognized, determine the delay duration according to the preset positioning information after entering the current unlocked state.

[0106] When the vehicle is in the unlocked state and there is no turning event or the vehicle is far away, control the locking according to the following steps:

[0107] ① Record the duration TimeUnlock of the current unlocked state;

[0108] ②Estimate the delay duration T. The delay duration T can be obtained according to the corresponding relationship between the distance and the delay time described above. The ranging value can be the ranging value at the moment when the vehicle enters the unlocked state.

[0109] ③When TimeUnlock < T and the current area where the digital key is located is WELCOME or farther, it is determined that there is a ping-pong effect at this time, and the vehicle is controlled to remain in the unlocked state.

[0110] ④When TimeUnlock >= T and the current area where the digital key is located is WELCOME or farther, the locking is controlled according to the walking trend, which is the same as that described above and will not be elaborated here.

[0111] The locking control method for preventing the ping-pong effect in the embodiments of the present invention has been randomly tested for user experience in the BLE single-mode, UWB single-mode, and UWB / BLE dual-mode digital key systems, and the ping-pong effect has been significantly improved. Among them, the improvement effect of the ping-pong effect in the BLE / UWB dual-mode system is better.

[0112] Compared with the prior art, the locking control method for preventing the ping-pong effect in the embodiments of the present invention obtains the positioning information between the digital key anchor point on the vehicle-mounted device and the digital key, determines the current area where the digital key is located according to the positioning information, analyzes the positioning information to determine whether the target event is recognized, and analyzes the current walking trend of the user according to the positioning information. The target event is that the area where the digital key is located changes unexpectedly. When the state of the vehicle-mounted device is the unlocked state, if the target event is recognized, the delay duration is determined according to the target event. Within the delay duration, when the current area where the digital key is located is the locked area, the vehicle-mounted device is controlled to remain in the unlocked state. After reaching the delay duration, it is determined whether to lock according to the walking trend. By effectively recognizing the ping-pong effect and performing intelligent delayed locking control, it is possible to effectively avoid frequent unlocking and locking that are not the intention of the user while ensuring the responsiveness of the digital key.

[0113] Embodiment II of the present invention provides a locking control device for preventing the ping-pong effect, which is configured in the control device of the digital key system. As Figure 2 shown, the control device 200 includes: an acquisition module 201, an area judgment module 202, a trend recognition module 203, a delay estimation module 204, and a delay locking control module 205.

[0114] The acquisition module 201 is used to acquire the positioning information between the digital key anchor point on the vehicle-mounted device and the digital key.

[0115] The area judgment module 202 is used to determine the current area where the digital key is located according to the positioning information.

[0116] The trend recognition module 203 is used to analyze the location information to determine whether a target event has been identified, and to analyze the user's current trend based on the location information; the target event is an unexpected change in the area where the digital key is located.

[0117] The delay estimation module 204 is used to determine the delay duration based on the target event if the target event is detected when the vehicle terminal is in the unlocked state.

[0118] The delayed locking control module 205 is used to keep the vehicle terminal unlocked when the area where the digital key is currently located is a locked area within the delay period. After the delay period is reached, it determines whether to lock based on the trend.

[0119] Optionally, the target event may include: the user turning away from the vehicle and not turning around, occurring sequentially. The delay estimation module 204 may include:

[0120] The pre-turn duration calculation submodule is used to determine the pre-turn delay duration based on the user's positioning information before turning away from the vehicle and preset rules.

[0121] The duration calculation submodule is used to obtain the duration of the turn based on the positioning information;

[0122] The post-turn duration calculation submodule is used to take the difference between the delay duration before turning and the turn duration as the delay duration after the turn ends.

[0123] Accordingly, the time-delay interlocking control module 205 may include:

[0124] The "Unlock Duration Accumulation After Turning Around" submodule is used to accumulate the unlock duration after turning around ends.

[0125] The locking control submodule is used to control the vehicle terminal to maintain the unlocked state when the unlock duration after the turn ends is within the delay duration after the turn ends, and the area where the digital key is currently located is a locked area.

[0126] The delay estimation module 204 can also be used to keep the vehicle terminal unlocked when the area where the digital key is currently located is a locked area before the target event ends.

[0127] Optionally, the duration calculation submodule is specifically used for:

[0128] If the UWB ranging value is valid during the turn, the initial turn duration TimeTurnBack is accumulated. If TimeTurnBack is greater than the turn duration threshold, the corrected duration obtained from the difference between TimeTurnBack and the turn duration threshold will be used as the turn duration.

[0129] or

[0130] If the UWB ranging value is invalid during the turn, the turn duration is obtained by predicting the state one-step prediction time according to the preset Kalman filter algorithm.

[0131] Optionally, the submodule for calculating the time before turning around is specifically used for:

[0132] When the positioning information is a UWB ranging value and the UWB ranging value corresponding to the start of the target event is valid, the delay duration before turning around is obtained based on the UWB ranging value corresponding to the start of the target event and the correspondence between distance and delay time; or

[0133] If the UWB ranging value at the start of the target event is invalid, the delay before turning around is obtained based on the most recent valid UWB ranging value at the start of the target event and the preset movement speed; or

[0134] When the location information is RSSI, set the delay before turning around to the preset duration.

[0135] Optionally, the delay estimation module 204 is also used to determine the delay duration based on the preset positioning information after entering the current unlock state if the target event is not identified.

[0136] Optionally, the delay estimation module 204 is also used to determine the delay duration based on preset positioning information after entering the current unlock state if an exit condition is detected after the start of the target event.

[0137] Optionally, the time-delayed interlocking control module 205 is specifically used for:

[0138] When the direction of movement is towards leaving the vehicle, the vehicle control unit will lock the door.

[0139] When the direction trend is no direction, if it is within the preset second delay time, the vehicle terminal will be kept unlocked; if it exceeds the second delay time and the direction trend remains no direction, the vehicle terminal will be locked.

[0140] When the trend is towards the vehicle's infotainment system, keep the infotainment system unlocked.

[0141] Compared with the prior art, the anti-ping-pong effect locking control device of this invention obtains the positioning information between the digital key anchor point on the vehicle terminal and the digital key. Based on the positioning information, it determines the current area of ​​the digital key, analyzes the positioning information to determine whether a target event has been identified, and analyzes the user's current movement trend based on the positioning information. The target event is an unexpected change in the area where the digital key is located. When the vehicle terminal is in the unlocked state, if the target event is identified, a delay time is determined based on the target event. Within the delay time, if the area where the digital key is currently located is a locked area, the vehicle terminal is controlled to remain in the unlocked state. After the delay time is reached, it is determined whether to lock based on the movement trend. By effectively identifying the ping-pong effect and performing intelligent delayed locking control, it can effectively avoid frequent unlocking and locking without the user's intention while ensuring the responsiveness of the digital key.

[0142] Figure 3 This is a schematic diagram of the control device provided in Embodiment 3 of the present invention. The control device 30 includes a memory 31 and a processor 32;

[0143] The memory 31 is used to store computer programs; the processor 32 is used to read the computer programs in the memory 31 and, when executing the programs, implement the anti-ping-pong effect locking control method as described in the foregoing embodiments.

[0144] Embodiment 4 of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a computer processor, is used to perform the technical solution of any method embodiment.

[0145] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or grid device, etc.) to execute the methods described in the various embodiments of the present invention.

[0146] It is worth noting that in the embodiments of the above-mentioned device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy distinction between each other and are not used to limit the scope of protection of the present invention.

[0147] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A method of ping-pong prevention latching control, characterized by, The method comprises: acquiring positioning information between a digital key anchor point of a vehicle terminal and a digital key; determining a region where the digital key is currently located according to the positioning information; analyzing the positioning information to determine whether a target event is recognized, and analyzing a current walking trend of a user according to the positioning information; the target event is that the region where the digital key is located changes unexpectedly; when the state of the vehicle terminal is an unlocked state, if the target event is recognized, a delay duration is determined according to the target event; within the delay duration, when the region where the digital key is currently located is a closed region, the vehicle terminal is controlled to remain in the unlocked state, and after the delay duration is reached, whether to be closed is determined according to the walking trend.

2. The method of claim 1, wherein, The target event comprises: the user is turning around in a direction away from the vehicle in sequence, and no turning around. The delay duration determined according to the target event is a delay duration after the turning around ends, and the delay duration determined according to the target event comprises: determining a delay duration before the turning around according to the positioning information before the user is turning around in the direction away from the vehicle and a preset rule; obtaining a turning duration according to the positioning information; taking the difference between the delay duration before the turning around and the turning duration as the delay duration after the turning around ends; correspondingly, accumulating an unlocked duration after the turning around ends; when the unlocked duration after the turning around ends is within the delay duration after the turning around ends, and the region where the digital key is currently located is a closed region, the vehicle terminal is controlled to remain in the unlocked state. The method further comprises: controlling the vehicle terminal to remain in the unlocked state when the region where the digital key is currently located is a closed region before the target event ends.

3. The method of claim 2, wherein, The method further comprises: if the UWB ranging value is valid during the turning around, an initial turning duration TimeTurnBack is accumulated, and if the TimeTurnBack is greater than a turning duration threshold, a modified duration obtained according to the difference between the TimeTurnBack and the turning duration threshold is taken as the turning duration; or if the UWB ranging value is invalid during the turning around, the turning duration is obtained according to a prediction duration of one-step prediction of a state according to a preset Kalman filtering algorithm.

4. The method of claim 2, wherein, The method further comprises: when the positioning information is a UWB ranging value and the UWB ranging value corresponding to the start of the target event is valid, the delay duration before the turning around is obtained according to the UWB ranging value corresponding to the start of the target event and a corresponding relationship between distance and delay time; or if the UWB ranging value at the start of the target event is invalid, the delay duration before the turning around is obtained according to the last valid UWB ranging value at the start of the target event and a preset moving speed; or when the positioning information is RSSI, the delay duration before the turning around is a preset duration.

5. The method of claim 1, wherein, The method further comprises: If the target event is not identified, a preset positioning information after entering the current unlocking state is determined to determine a delay time length.

6. The method of claim 5, wherein, The method further comprises: If an exit condition is detected after the target event starts, a preset positioning information after entering the current unlocking state is determined to determine a delay time length.

7. The method of claim 1, wherein, The determination of whether to lock according to the walking trend comprises: When the walking trend is away from the vehicle, the vehicle terminal is controlled to be locked; When the walking trend is no walking, if within a preset secondary delay time length, the vehicle terminal is controlled to remain in the unlocking state, if the secondary delay time length is exceeded and the walking trend remains no walking, the vehicle terminal is controlled to be locked; When the walking trend is walking towards the vehicle terminal, the vehicle terminal is controlled to remain in the unlocking state.

8. A bounce prevention latching control device, characterized by, Comprise: An acquisition module is configured to acquire positioning information between a digital key anchor point of a vehicle terminal and a digital key; A region determination module is configured to determine a region in which the digital key currently locates according to the positioning information; A trend identification module is configured to analyze the positioning information to determine whether a target event is identified, and to determine a walking trend of a user according to the positioning information; The target event is an unexpected change in the region in which the digital key locates; A delay estimation module is configured to, when a state of the vehicle terminal is an unlocking state, determine a delay time length according to the target event if the target event is identified; A delay lock control module is configured to, when the digital key currently locates in a lock region, control the vehicle terminal to remain in the unlocking state within the delay time length, and to determine whether to lock according to the walking trend after the delay time length is reached.

9. A control device characterized by comprising: Comprise a memory and a processor; The memory is configured to store a computer program, and the processor is configured to read the computer program in the memory and implement the anti-ping effect lock control method according to any one of claims 1-7 when the program is executed.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the anti-ping effect lock control method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Digital key ranging value filtering method and device, electronic equipment and storage medium

    CN120935763A

  • Control method, control device, automobile and storage medium

    CN115431922A

  • Mechanical key unlocking and locking control method, system and device and vehicle thereof

    CN115476811A

  • Automobile digital key turn-around judgment method, system, medium and equipment

    CN116074751A

  • NFC intelligent control module and method for grounding device

    CN118379816A