A control method, device and equipment of a vehicle door and a vehicle
By employing a progressive verification scheme involving graded range detection and timing windows, the problem of key signals being susceptible to interference in keyless entry systems has been resolved, thereby improving the reliability and accuracy of door unlocking and enhancing the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG GEELY HLDG GRP CO LTD
- Filing Date
- 2026-05-29
- Publication Date
- 2026-07-14
AI Technical Summary
In existing keyless entry systems, the key signal is susceptible to interference from external radio frequency signals, which can cause door unlocking verification to fail and affect reliability.
A progressive verification scheme using graded range detection and graded timing windows is adopted. First, a valid key signal is detected within the first range of the vehicle to trigger the first timing window. Then, a second detection is performed within a smaller second range. Only when a valid signal is detected within the second range and the first timing window has not failed is a shorter second timing window triggered. Finally, the door is opened based on the detection result within the second timing window. This spatiotemporal dual screening avoids unlocking failure caused by single-frame interference signals.
This improves the reliability of the keyless entry system, reduces the probability of key signal interference, and ensures the accuracy and reliability of door unlocking operations.
Smart Images

Figure CN122392166A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control, and specifically to a method, device, equipment, and vehicle for controlling vehicle doors. Background Technology
[0002] With the rapid development of automotive electronics and intelligence, keyless entry systems have become one of the mainstream configurations in modern cars. They automatically open car doors by detecting valid key signals and combining them with door handle triggering, thus improving the convenience of car use for users.
[0003] Currently, various door control and unlocking solutions exist on the market, but these existing solutions all have certain technical flaws in practical applications, affecting user experience and security. One common problem with existing solutions is that the key signal is susceptible to external interference, leading to door unlocking failure. Specifically, during key search or continuous key signal detection, the key is easily interfered with by radio frequency signals from other vehicles, mobile phones, and other signal transmitters. Sometimes, even a single frame of interference can cause the door unlocking verification to fail, severely impacting the reliability of keyless entry. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method, device, equipment, and vehicle for controlling a car door, in order to solve the problem that in existing keyless entry car door control schemes, the key signal is easily interfered with by external radio frequency signals during the search or continuous detection process, resulting in the failure of car door unlocking verification.
[0005] In a first aspect, embodiments of the present invention provide a method for controlling a vehicle door, the method comprising: When a valid key signal is detected within the first range of the vehicle, the first timing window is triggered. Within the first timing window, it is detected whether there is a valid key signal in the second range where the vehicle is located, wherein the second range is smaller than the first range; If a valid key signal exists in the second range and the first timing window is not invalid, the second timing window is triggered to take effect, wherein the duration of the second timing window is less than the duration of the first timing window. Based on whether a valid key signal is detected in the second timing window, the system controls whether the vehicle door performs an opening operation.
[0006] Furthermore, the step of controlling whether the vehicle door performs an opening operation based on whether a valid key signal is detected within the second timing window includes: If a valid key signal is detected in the second timing window and the first timing window is not invalid, the vehicle door is controlled to open. If no valid key signal is detected in the second timing window, the vehicle door will not be opened.
[0007] Furthermore, the method also includes: If no valid key signal is detected in the second timing window and the first timing window has not expired, then obtain the remaining duration of the first timing window; If the remaining duration is greater than the duration of the second timing window, then the maximum number of re-triggers within the first timing window is determined, and the second timing window is re-triggered. If a valid key signal is detected in the second timing window, the vehicle door is prevented from opening; or, if no valid key signal is detected after the maximum number of re-triggers is reached, the first timing window is invalidated and the verification is determined to have failed.
[0008] Furthermore, controlling the vehicle door to perform the opening operation includes: By analyzing the phase difference between the valid key signal and the signal of the antenna in the vehicle, the orientation information of the key relative to the vehicle can be obtained; Based on the location information, the target door in the vehicle located in the corresponding position is matched; Control the target door to unlock and open it to the corresponding position.
[0009] Furthermore, controlling the target door to unlock and open to the corresponding position includes: Control the target door to unlock and open it to a preset ventilation position; When the target door reaches the preset ventilation position, the target door is controlled to stop, and the presence of any obstacles on the opening trajectory of the target door is detected. If an obstacle exists, the target door is controlled to remain stationary at the preset ventilation position, and a reminder operation is performed until the obstacle is removed; or, if no obstacle exists, the target door is controlled to open from the preset ventilation position to the corresponding position.
[0010] Furthermore, before the second timing window is triggered, the method also includes: Acquire a first time when a valid key signal is detected within the first range, and acquire a second time when a valid key signal is detected within the second range; Obtain the time difference between the second time and the first time; Compare the stated time difference with the preset time difference; If the time difference is greater than or equal to the preset time difference, the second timing window is triggered to take effect; or, if the time difference is less than the preset time difference, the first timing window is triggered to fail, and the verification is determined to have failed.
[0011] Furthermore, the method also includes: Detect changes in the intensity of radio frequency interference in the environment where the vehicle is located; The key signal detection frequency of the vehicle in the first range and the second range is adjusted according to the changes.
[0012] Furthermore, after controlling whether the vehicle door performs an opening operation, the method further includes: If the vehicle door does not perform the opening operation, then obtain the current consecutive number of verification failures; If the number of consecutive failures reaches a preset number, the vehicle is controlled to enter a cooling cycle, during which the vehicle does not perform key signal detection; After the vehicle's cooling cycle is completed, a valid key signal within the first range is detected.
[0013] Secondly, embodiments of the present invention provide a vehicle door control device, the device comprising: The first triggering module is used to trigger the first timing window to take effect when a valid key signal is detected within the first range where the vehicle is located. The detection module is used to detect whether a valid key signal exists in a second range where the vehicle is located within the first timing window, wherein the second range is smaller than the first range; The second triggering module is used to trigger the second timing window to take effect if there is a valid key signal in the second range and the first timing window has not expired, wherein the duration of the second timing window is less than the duration of the first timing window. The control module is used to control whether the vehicle door performs an opening operation based on whether a valid key signal is detected in the second timing window.
[0014] Thirdly, embodiments of the present invention provide a computer device, including: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method described in the first aspect or any corresponding embodiment thereof.
[0015] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer instructions that cause a computer to perform the method described in the first aspect or any of its corresponding embodiments.
[0016] Fifthly, embodiments of the present invention provide a vehicle including a controller, the controller including a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method described in the first aspect or any corresponding embodiment thereof.
[0017] This application employs a progressive verification scheme involving graded range detection and graded timing windows to mitigate interference from a spatiotemporal perspective. First, a first timing window is triggered only when a valid key signal is detected within the first range of the vehicle, completing an initial screening of valid keys. Second, a second valid key signal is detected within a smaller second range, significantly reducing the probability of the key signal encountering external interference. Then, a shorter second timing window is triggered only when the second range detection is valid and the first timing window remains valid, further shortening the timing window for key signal interference. Finally, door opening is controlled based on the detection results within the second timing window. This dual spatiotemporal progressive screening avoids unlocking failures caused by single-frame interference signals, improving the reliability of keyless entry. Attached Figure Description
[0018] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating a method for controlling a vehicle door according to some embodiments of the present invention; Figure 2 This is a flowchart illustrating another door control method according to some embodiments of the present invention; Figure 3 This is a flowchart illustrating another door control method according to some embodiments of the present invention; Figure 4 This is a flowchart illustrating another door control method according to some embodiments of the present invention; Figure 5 This is a schematic diagram of the interaction framework according to some embodiments of the present invention; Figure 6 This is a schematic diagram illustrating the effect of key detection according to some embodiments of the present invention; Figure 7 This is a structural block diagram of a door control device according to an embodiment of the present invention; Figure 8This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] According to embodiments of the present invention, a method, apparatus, device, and vehicle for controlling a vehicle door are provided. It should be noted that the steps shown in the flowcharts in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0022] This embodiment provides a method for controlling a vehicle door. Figure 1 This is a flowchart of a door control method according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps: Step S101: When a valid key signal is detected within the first range where the vehicle is located, the first timing window is triggered.
[0023] In this embodiment, the domain controller acts as the execution subject, continuously driving the vehicle's radio frequency sensing antenna to perform signal detection according to a preset cycle. The first range where the vehicle is located is a long-distance low field strength sensing area (corresponding to low field strength A circle) defined based on the field strength threshold, which is the initial trigger area for key sensing around the vehicle.
[0024] During the detection process, the domain controller performs multi-layer validity checks on the captured key radio frequency signals. A valid key signal refers to a key radio frequency signal that contains an encrypted ID pre-matched with the vehicle and a valid rolling code, and whose signal frame format and communication protocol conform to the vehicle's preset standards. It is a key radio frequency signal that can pass the domain controller's encryption authentication and is not a forged, replayed, or invalid signal that does not match the vehicle.
[0025] It should be noted that the first range (circle A) corresponds to a calibration value of 900, and the second range (circle B) should be calibrated to a value of 400. 900 and 400 are custom calibration parameters obtained through a preset calibration algorithm. These calibration parameters have an inverse relationship with the field strength RSSI. The larger the calibration value, the smaller the corresponding field strength RSSI and the farther the sensing distance. Therefore, the sensing distance of circle A is greater than that of circle B, which is the opposite of the usual correspondence between field strength value and distance.
[0026] When the domain controller detects a valid key signal that meets the above verification requirements for the first time within the field strength determination area of the first range, and the current system is in the initial verification state with no previous abnormal trigger records, it determines that the valid key signal detection of the first range is successful. The moment of successful detection is recorded as the trigger reference time, and the first timing window (5s) is started and triggered. This timing window is the maximum time threshold of the entire key sensing unlock verification process, used to limit the total time consumption of all subsequent verification steps, prevent slow replay attacks, and enters countdown mode after the timing window is started. The domain controller monitors its remaining time in real time.
[0027] Step S102: Within the first timing window, detect whether there is a valid key signal in the second range where the vehicle is located, wherein the second range is smaller than the first range.
[0028] In this embodiment, during the first timing window taking effect and continuously counting down, the domain controller maintains the signal detection state of the radio frequency sensing antenna and switches the detection and judgment area from the first range to the second range. The second range is a near-field high field strength sensing area (corresponding to the high field strength B circle) defined based on the field strength threshold. Its physical coverage is completely contained within the first range and is smaller in area. It is the quasi-verification area after the key approaches the vehicle.
[0029] During this process, the domain controller still uses the valid key signal as the sole criterion for detection and judgment. That is, it only recognizes the legitimate key radio frequency signal that has passed the encryption ID, rolling code, and protocol format verification, and directly filters out invalid signals without triggering any state change. The domain controller will determine in real time whether the current detection position is within the field strength threshold range of the second range, and at the same time verify whether the captured signal is a valid key signal. If a signal outside the second range or an invalid key signal is detected, it is determined that there is no valid key signal in the second range, and the detection state continues. If a valid key signal within the field strength range of the second range is captured, it is initially determined that the detection of a valid key signal in the second range has been triggered, and the entire detection process is completed within the countdown period of the first timing window. If the first timing window expires first, the domain controller will terminate the signal detection in the second range and determine that the detection has failed.
[0030] Step S103: If a valid key signal exists in the second range and the first timing window has not expired, the second timing window is triggered to take effect, wherein the duration of the second timing window is less than the duration of the first timing window.
[0031] In this embodiment, the domain controller performs dual judgments on the signal detection results of the second range and the timeliness status of the first timing window. First, it confirms that a valid key signal that meets the requirements of encryption authentication and protocol matching has been detected within the field strength threshold range of the second range. Second, it confirms through real-time monitoring of timing data that the first timing window is still in the countdown state and has not timed out. Both judgment conditions must be met simultaneously. If either condition is not met, the subsequent process will be terminated directly.
[0032] Once the dual verification is successful, the domain controller records the successful detection time of the second range of valid key signals and simultaneously triggers the second timing window (500ms) to take effect. This timing window is a dedicated time threshold for the final key authentication, and its duration is much shorter than the first timing window. Its core purpose is to compress the timing window for the final key verification, thereby increasing the difficulty of attacking and cracking the system.
[0033] Meanwhile, the domain controller will monitor the countdown that starts in the second timing window and manage it independently from the countdown of the first timing window. After the second timing window takes effect, it will automatically enter the waiting state for final key authentication, retaining only the high-frequency detection function for valid key signals.
[0034] In this embodiment of the application, before the second timing window is triggered, the method further includes: Step A1: Obtain the first time when a valid key signal is detected within the first range, and obtain the second time when a valid key signal is detected within the second range.
[0035] Specifically, the domain controller first continuously drives the vehicle's radio frequency antenna to periodically detect signals in the first range (low field strength sensing area). A valid key signal refers to a key radio frequency signal that contains an encrypted ID pre-matched with the vehicle, a valid rolling code, and whose signal frame format and communication protocol conform to the vehicle's preset standards, and can pass the domain controller's encrypted authentication. Invalid signals that are not counterfeit, replays, or have mismatched protocols are directly filtered out. When the domain controller detects such a valid key signal for the first time within the field strength threshold range of the first range, and there are no abnormalities in the initial verification state, the internal timing module records the moment of successful detection, defines it as the first time, and stores it. At the same time, the verification state is advanced to the stage of waiting for the second range detection.
[0036] The domain controller then switches the signal detection and judgment area to the second range (high field strength sensing area) to maintain continuous detection of valid key signals. When a valid key signal that meets the encryption authentication requirements is detected within the field strength threshold range of the second range, the internal timing module records the moment of successful detection, defines it as the second time, and stores it to ensure that the first time and the second time are the actual detection moments triggered by valid key signals. If no valid signal is triggered, no time is recorded.
[0037] Step A2: Obtain the time difference between the second time and the first time.
[0038] Specifically, after the first and second times are effectively stored, the internal time calculation module is started. Using the stored second time as the minuend and the first time as the subtrahend, the precise calculation of the time difference is performed. Here, the time difference calculation between the second and first times is revised, and the core is the actual time taken to obtain the key from the first range to the second range.
[0039] Step A3: Compare the time difference with the preset time difference.
[0040] In step A4, if the time difference is greater than or equal to the preset time difference, the second timing window is triggered to take effect; or, if the time difference is less than the preset time difference, the first timing window is triggered to fail, and the verification is confirmed to have failed.
[0041] Specifically, if the comparison result shows that the actual time difference is greater than or equal to the preset time difference, the domain controller determines that the time taken for the key to move from the first range to the second range is consistent with the physical movement range and there are no abnormalities such as signal interference or forgery. At this time, it will confirm that the first timing window is still in effect and trigger the second timing window to take effect. The second timing window is a dedicated timing window for the final key authentication, and its duration is shorter than that of the first timing window. After taking effect, the domain controller will enter the high-frequency detection stage of the valid key signal and wait for the final key authentication signal.
[0042] If the comparison result shows that the actual time difference is less than the preset time difference, the domain controller determines that the signal triggering is an abnormal situation (such as instantaneous signal interference, rapid triggering of a fake signal, or non-key physical movement). At this time, the first timing window will be triggered to fail, the countdown function of the first timing window will be terminated, and the key sensing verification process will be directly determined to have failed. No subsequent timing windows or door opening operations will be triggered. Then the domain controller will reset the entire verification state machine to the initial state, clear all time records, difference calculation results and other data in this verification process, and restore the normal signal detection state.
[0043] Step S104: Based on whether a valid key signal is detected in the second timing window, control whether the vehicle door performs an opening operation.
[0044] In this embodiment of the application, controlling whether the vehicle door performs an opening operation based on whether a valid key signal is detected within the second timing window includes: ① If a valid key signal is detected in the second timing window and the first timing window has not expired, the vehicle door will be opened.
[0045] In this embodiment of the application, controlling the vehicle door to perform an opening operation includes: Step B1: Analyze the phase difference between the valid key signal and the signal of the antenna in the vehicle to obtain the orientation information of the key relative to the vehicle.
[0046] Specifically, the domain controller retrieves the raw data of the valid key signal captured in the preceding verification process, and simultaneously activates multiple antennas deployed on the vehicle body (evenly distributed in key locations such as the vehicle doors and trunk to synchronously receive the key radio frequency signal) to collect real-time phase data of the same valid key signal received by each antenna.
[0047] The domain controller has pre-stored the spatial layout parameters of the multi-antenna array, the signal propagation attenuation model, and the mapping algorithm between phase difference and spatial orientation. After acquiring the signal phase data of each antenna, the phase data is first processed to reduce noise and filter out phase offset errors caused by environmental radio frequency interference and vehicle body obstruction. Then, the phase difference value between the valid key signal and each group of vehicle antennas is extracted to form a complete phase difference dataset.
[0048] Next, the domain controller inputs the phase difference dataset into the preset spatial orientation calculation. Using the spatial coordinate information of multiple antennas, it performs three-dimensional spatial positioning calculation. By analyzing the gradient change pattern of the phase difference, it determines the specific physical orientation of the key relative to the vehicle, including subdivided orientations such as the left front door, right front door, left rear door, right rear door, and trunk.
[0049] Step B2: Match the target door in the vehicle located in the corresponding direction based on the location information.
[0050] Specifically, after completing the orientation information calculation and obtaining standardized orientation identification data, the pre-stored matching mapping table is first retrieved. This mapping table is established after actual vehicle calibration and covers the association information between all openable and closable doors of the vehicle and their corresponding surrounding orientations. For example, the left front door corresponds to the left front orientation of the vehicle, the right rear door corresponds to the right rear orientation of the vehicle, and the trunk corresponds to the rear orientation of the vehicle. At the same time, it also takes into account special opening and closing components such as sliding doors and electric tailgates of special models.
[0051] Subsequently, the domain controller compares the obtained location identifier data with the mapping table one by one. Using precise character matching and interval determination algorithms, it first filters out the candidate set of doors that best matches the current location information, and then performs a second verification on the candidate set to eliminate mismatches caused by ambiguous location boundaries, such as avoiding matching the key signal of the left front door boundary as the left rear door. After completing the second verification, the domain controller determines the uniquely corresponding target door.
[0052] Step B3: Unlock the target door and open it to the appropriate position.
[0053] Specifically, controlling the target door to unlock and open to the corresponding position includes: controlling the target door to unlock and open to the preset ventilation position; when the target door reaches the preset ventilation position, controlling the target door to stop and detecting whether there is an obstacle on the opening trajectory of the target door; if there is an obstacle, controlling the target door to remain stationary in the preset ventilation position and performing a reminder operation until the obstacle is removed; or, if there is no obstacle, controlling the target door to open from the preset ventilation position to the corresponding position.
[0054] Specifically, the domain controller retrieves the previously matched target door identifier and control parameters, sends an encrypted unlock command to the target door's locking mechanism via the vehicle bus, and after confirming the unlock feedback, keeps the other doors locked to ensure anti-theft security. Subsequently, the domain controller sends an opening command to the target door's electric actuator, presets low-speed and stable operating parameters, and simultaneously collects opening data in real time through the door position sensor, dynamically adjusting the actuator's speed until the door is detected to have reached a preset ventilation position (such as a 10° micro-opening angle).
[0055] After receiving the "ventilation position reached" feedback signal from the door position sensor, the domain controller sends a continuous stationary command to the electric actuator to lock the current door position and prevent displacement due to inertia or external forces. Simultaneously, the domain controller activates the ultrasonic radar and millimeter-wave sensors bound to the target door, performing a high-frequency scan of the area covered by the door's subsequent opening trajectory along a preset scanning path. This filters out environmental interference signals, extracts data such as object distance and contour, and compares it with preset safety thresholds to determine if there are any obstacles on the trajectory that could affect opening.
[0056] If an obstacle is detected, a stationary command is continuously sent to the actuator to maintain the target door in the preset ventilation position. At the same time, the in-vehicle buzzer and the central control screen are activated to trigger intermittent buzzer warnings and visual pop-up reminders. The detection data is refreshed at a frequency of 100ms / time until the obstacle is eliminated.
[0057] If no obstacle is detected, the detection mechanism is activated, and a command to continue opening is sent to the actuator. Preset dynamic speed adjustment parameters are used to monitor the door's running resistance and position in real time until the door is opened to the preset corresponding position.
[0058] ②If no valid key signal is detected in the second timing window, the vehicle door will not be opened.
[0059] Understandably, when the countdown is completed in the second timing window and the domain controller has not captured a valid key signal throughout the entire process, it is determined that the final key verification process has failed, and all doors are kept in their original locked state without any unlocking or opening operations.
[0060] In the embodiments of this application, such as Figure 2As shown, the method also includes: Step S201: If no valid key signal is detected in the second timing window and the first timing window has not expired, then obtain the remaining duration of the first timing window.
[0061] Specifically, after determining that no valid key signal is detected in the second timing window, the domain controller first verifies the validity status of the first timing window through the internal timing module, reads the preset total duration, elapsed duration and countdown trigger flag of the first timing window, and confirms that it is still in the effective countdown state and has not timed out.
[0062] Once both conditions are met, the domain controller initiates the duration calculation logic, subtracting the actual elapsed duration from the preset total duration of the first timing window to accurately calculate and obtain the remaining duration of the first timing window.
[0063] Step S202: If the remaining duration is greater than the duration of the second timing window, determine the maximum number of re-triggers within the first timing window and re-trigger the second timing window to take effect.
[0064] Specifically, after obtaining the remaining duration of the first timing window, the domain controller retrieves the preset duration of the second timing window stored in the system and compares the two values using a uniform millisecond-level unit of measurement. If it is determined that the remaining duration is greater than the duration of the second timing window, confirming that the time condition for re-triggering is met, the domain controller determines the maximum number of re-triggering attempts based on the ratio of the remaining duration to the duration of the second timing window. Simultaneously, it reads the number of times the second timing window has been triggered in this verification process to confirm whether the maximum number of re-triggering attempts has been exceeded.
[0065] If the maximum number of re-triggers has not been exceeded, the domain controller resets the countdown state of the second timing window, clears the previous detection record, and re-triggers the second timing window to take effect. After taking effect, it resumes the detection of valid key signals and maintains the continuous countdown state of the first timing window without changing its original timing logic.
[0066] In step S203, if a valid key signal is detected in the second timing window, the vehicle door is controlled to open; or, if a valid key signal is not detected after the maximum number of re-triggering attempts, the first timing window is triggered to fail, and the verification is determined to have failed.
[0067] Specifically, during the second re-triggered timing window, the domain controller continuously detects a valid key signal. If a valid key signal is successfully detected within this window, the controller will control the vehicle doors to perform any unlocking and opening operations.
[0068] If the maximum number of re-triggers has been reached after multiple re-triggerings of the second timing window, and no valid key signal is detected throughout the process, the domain controller sends a command to the internal timing module to trigger the failure of the first timing window, terminating its remaining countdown function, and simultaneously confirming that the key sensing verification process has failed. Subsequently, the entire verification state machine is reset to its initial state, clearing all timing data and trigger records for this process, and restoring to the normal signal detection standby state.
[0069] In the embodiments of this application, such as Figure 3 As shown, the method also includes: Step S301: Detect the changes in the intensity of radio frequency interference in the environment where the vehicle is located.
[0070] In this embodiment, data such as clutter signals, noise intensity, and signal frame error rate within a preset radio frequency band around the vehicle are collected. The domain controller performs noise reduction and normalization processing on the collected raw interference data at fixed intervals (e.g., 50ms / time), filters out the inherent interference from the vehicle's own electronic components, converts the processed data into standardized radio frequency interference intensity values, and calculates the amplitude and trend of interference intensity changes by comparing intensity values over multiple consecutive periods.
[0071] Step S302: Adjust the key signal detection frequency of the vehicle in the first range and the second range according to the changes.
[0072] In this embodiment, after the domain controller obtains data such as the change range and trend of the environmental radio frequency interference intensity, it retrieves the radio frequency interference intensity-detection frequency mapping table pre-stored in the system. This table presets the key signal detection frequency parameters of the first range and the second range corresponding to different interference intensity ranges of low, medium and high, and the detection frequency of the second range is always higher than that of the first range under the same interference level.
[0073] The domain controller matches the real-time detected interference intensity value to the corresponding interval, extracts the target detection frequency of the first and second ranges within that interval, and then sends a frequency adjustment command to the vehicle radio frequency signal detection module to update the key signal detection cycle of the first range (low field strength area) and the second range (high field strength area), respectively. If the interference intensity increases, the detection frequency is increased and the detection cycle is shortened; if the interference intensity decreases, the detection frequency is decreased and the detection cycle is extended. After the adjustment is completed, the change in interference intensity is continuously monitored. If the interference intensity exceeds the current interval, the detection frequency is rematched and adjusted in real time to ensure the balance between key signal detection accuracy and power consumption under different interference environments.
[0074] As an example, taking a vehicle with a preset detection cycle of 50ms as the base and radio frequency interference intensity divided into three ranges: low (0-30dB), medium (31-60dB), and high (61dB and above), the system's pre-stored mapping table shows that the detection frequency in the first range under low interference is 100ms / time and the second range is 50ms / time; under medium interference, the first range is 75ms / time and the second range is 40ms / time; and under high interference, the first range is 50ms / time and the second range is 20ms / time. After the domain controller processes data every 50ms, it detects that the radio frequency interference intensity around the vehicle has increased from 25dB to 55dB, thus switching from a low interference range to a medium interference range. It then sends a frequency adjustment command to the radio frequency signal detection module, updating the key signal detection period in the first range from 100ms to 75ms and in the second range from 50ms to 40ms. If the interference intensity continues to rise to 65dB, the system will switch back to a high interference range, simultaneously adjusting the first range to 50ms / time and the second range to 20ms / time. This logic is followed throughout, adjusting in real-time according to changes in interference intensity, while maintaining a higher detection frequency in the second range than in the first range for the same interference level.
[0075] In this embodiment of the application, after controlling whether the vehicle door performs an opening operation, such as Figure 4 As shown, the method also includes: Step S401: If the vehicle door does not perform the opening operation, obtain the current number of consecutive verification failures.
[0076] Specifically, after determining that the vehicle door will not be opened due to verification failure, the system retrieves the pre-set continuous failure counting module. This module specifically records the number of failures that conform to the valid verification process. It only counts verification failures that are determined after a complete verification process starting from the trigger of the first timing window, excluding false statistics of invalid processes such as signal interference and function not being enabled.
[0077] The domain controller first verifies the validity of the failed behavior to confirm that it belongs to the verification failure within the valid unlocking process. Then, it triggers the reading command of the counting module to extract the current cumulative number of verification failures stored in real time.
[0078] Step S402: If the number of consecutive failures reaches a preset number, the vehicle is controlled to enter a cooling cycle, during which the vehicle does not perform key signal detection.
[0079] Specifically, after obtaining the number of consecutive failures of the current verification, the value is compared with the preset threshold for the number of failures (such as 3-5 times). If it is determined that the number of consecutive failures has reached or exceeded the preset threshold, the domain controller sends a cooling cycle start command to each relevant module of the vehicle to control the vehicle to enter the cooling cycle.
[0080] During the cooling cycle, the domain controller sends a shielding command to the radio frequency sensing module, shutting down all key signal detection actions in the first and second ranges of the vehicle, stopping all related operations such as low-frequency antenna polling cycle detection and fast polling detection, and locking the verification state machine to the cooling state, rejecting all key sensor unlocking trigger requests. The duration of the cooling cycle is executed according to a preset value (such as 30 seconds), and the domain controller's internal timing module performs a precise countdown, recording the start time and remaining duration of the cooling cycle throughout, ensuring that the key signal detection function is completely shielded during the cooling cycle.
[0081] Step S403: After the vehicle's cooling cycle ends, detect a valid key signal within the first range.
[0082] Specifically, the countdown status of the cooling cycle is monitored in real time. When the cooling cycle countdown is detected to be zero and the preset end time is reached, a cooling cycle end command is sent to each relevant module of the vehicle, the shielding status of the radio frequency sensing module is released, the cumulative value of the continuous failure counter module is cleared to zero, and the verification state machine is reset to the initial state (waiting to enter the first range).
[0083] Subsequently, the domain controller drives the low-frequency antenna to resume the normal polling periodic detection mode, prioritizing the periodic detection of key signals in the first range (low field strength area) of the vehicle. During the detection process, the validity of the signal is strictly verified according to the preset standard. Only valid key signals containing a pre-matched encrypted ID, a valid rolling code, and conforming to the protocol format are recognized. If a valid signal is detected, the normal verification process is followed. If no valid signal is detected, the normal detection state of the first range is maintained, and the vehicle's regular key sensing unlocking function is restored.
[0084] As a complete example, such as Figures 5-6 As shown, Figure 5 The interactive architecture of the door control method according to an embodiment of this application is given. The vehicle terminal is responsible for setting the duration of the first timing window and sending the parameters to the domain controller. The domain controller, as the core control unit, sends a key detection signal to the key and determines whether the key is in the first range (large range) and the second range (small range) by receiving the key field strength information returned by the key. On the other hand, after confirming that the key is in the second range and the first timing window has not expired, it triggers a shorter second timing window. When a valid key signal is detected in the second timing window, the domain controller sends an unlocking request to the electric door control module (POD), and finally the POD drives the electric door to complete the door opening action.
[0085] like Figure 6As shown, the domain controller drives the low-frequency (LF) antenna to periodically send detection signals to the key. This process may be affected by low-frequency interference sources such as other vehicles. After receiving the LF signal, the key returns a response containing its own field strength information via radio frequency (RF), which may be interfered with by high-frequency signals such as mobile phones. This solution binds this detection process to a second timing window. On the one hand, it utilizes the short duration of the second timing window to significantly shorten the time the key signal is exposed to the interference environment, reducing the probability of interference. On the other hand, through the two-way interaction mechanism of "LF detection - RF response" and combined with up to two repeated detections, it ensures that even in scenarios where high and low frequency interference coexist, a valid key can be accurately identified within the second timing window, thereby supporting reliable control of subsequent door opening.
[0086] This embodiment also provides a door control device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation or a combination of software and hardware is also possible and contemplated.
[0087] This embodiment provides a door control device, such as... Figure 7 As shown, it includes: The first trigger module 701 is used to trigger the first timing window to take effect when a valid key signal is detected within the first range where the vehicle is located.
[0088] The detection module 702 is used to detect whether there is a valid key signal in the second range where the vehicle is located within the first timing window, wherein the second range is smaller than the first range.
[0089] The second trigger module 703 is used to trigger the second timing window to take effect if there is a valid key signal in the second range and the first timing window has not expired, wherein the time length of the second timing window is less than the time length of the first timing window. The control module 704 is used to control whether the vehicle door performs an opening operation based on whether a valid key signal is detected in the second timing window.
[0090] In this embodiment of the application, the control module 704 is specifically used to control the vehicle door to perform an opening operation if a valid key signal is detected in the second timing window and the first timing window has not expired; and to control the vehicle door not to perform an opening operation if no valid key signal is detected in the second timing window.
[0091] In this embodiment, the control module 704 is specifically configured to: if no valid key signal is detected in the second timing window and the first timing window has not expired, obtain the remaining duration of the first timing window; if the remaining duration is longer than the duration of the second timing window, determine the maximum number of re-triggers in the first timing window and re-trigger the second timing window; if a valid key signal is detected in the second timing window, control the vehicle door not to perform an opening operation; or, if no valid key signal is detected after reaching the maximum number of re-triggers, trigger the first timing window to expire and determine that the verification has failed.
[0092] In this embodiment, the control module 704 is specifically used to analyze the phase difference between the valid key signal and the signal of the antenna in the vehicle to obtain the orientation information of the key relative to the vehicle; match the target door in the vehicle located at the corresponding position based on the orientation information; control the target door to unlock and open to the corresponding position.
[0093] In this embodiment, the control module 704 is specifically used to control the target door to unlock and open to a preset ventilation position; when the target door reaches the preset ventilation position, the control module 704 controls the target door to stop and detects whether there is an obstacle on the opening trajectory of the target door; if there is an obstacle, the control module 704 controls the target door to remain stationary at the preset ventilation position and performs a reminder operation until the obstacle is eliminated; or, if there is no obstacle, the control module 704 controls the target door to open from the preset ventilation position to the corresponding position.
[0094] In this embodiment of the application, the device further includes: a verification module, specifically used to acquire a first time when a valid key signal is detected within a first range, and to acquire a second time when a valid key signal is detected within a second range; to acquire the time difference between the second time and the first time; to compare the time difference with a preset time difference; if the time difference is greater than or equal to the preset time difference, to trigger the second timing window to take effect; or, if the time difference is less than the preset time difference, to trigger the first timing window to fail and to determine that the verification has failed.
[0095] In this embodiment of the application, the device further includes: an adjustment module, specifically used to detect changes in the intensity of radio frequency interference in the environment where the vehicle is located; and to adjust the key signal detection frequency of the vehicle in a first range and a second range according to the changes.
[0096] In this embodiment of the application, the device further includes: a processing module, specifically configured to: if the vehicle door does not perform an opening operation, obtain the number of consecutive failures of the current verification failure; if the number of consecutive failures reaches a preset number, control the vehicle to enter a cooling cycle, wherein the vehicle does not perform key signal detection during the cooling cycle; and after the vehicle's cooling cycle ends, detect a valid key signal within a first range.
[0097] This invention provides a vehicle, including a controller. The controller includes a memory and a processor, which are communicatively connected. The memory stores computer instructions, and the processor executes the computer instructions to perform the door control method described above.
[0098] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 8 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system).
[0099] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0100] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.
[0101] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device as shown by a landing page for an app. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0102] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0103] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.
[0104] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0105] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for controlling a vehicle door, characterized in that, The method includes: When a valid key signal is detected within the first range of the vehicle, the first timing window is triggered. Within the first timing window, it is detected whether there is a valid key signal in the second range where the vehicle is located, wherein the second range is smaller than the first range; If a valid key signal exists in the second range and the first timing window is not invalid, the second timing window is triggered to take effect, wherein the duration of the second timing window is less than the duration of the first timing window. Based on whether a valid key signal is detected in the second timing window, the system controls whether the vehicle door performs an opening operation.
2. The method according to claim 1, characterized in that, The step of controlling whether the vehicle door performs an opening operation based on whether a valid key signal is detected within the second timing window includes: If a valid key signal is detected in the second timing window and the first timing window is not invalid, the vehicle door is controlled to open. If no valid key signal is detected in the second timing window, the vehicle door will not be opened.
3. The method according to claim 2, characterized in that, The method further includes: If no valid key signal is detected in the second timing window and the first timing window has not expired, then obtain the remaining duration of the first timing window; If the remaining duration is greater than the duration of the second timing window, then the maximum number of re-triggers within the first timing window is determined, and the second timing window is re-triggered. If a valid key signal is detected in the second timing window, the vehicle door is prevented from opening; or, if no valid key signal is detected after the maximum number of re-triggers is reached, the first timing window is invalidated and the verification is determined to have failed.
4. The method according to claim 2, characterized in that, The control of the vehicle door to open includes: By analyzing the phase difference between the valid key signal and the signal of the antenna in the vehicle, the orientation information of the key relative to the vehicle can be obtained; Based on the location information, the target door in the vehicle located in the corresponding position is matched; Control the target door to unlock and open it to the corresponding position.
5. The method according to claim 4, characterized in that, The control of unlocking the target door and opening it to the corresponding position includes: Control the target door to unlock and open it to a preset ventilation position; When the target door reaches the preset ventilation position, the target door is controlled to stop, and the presence of any obstacles on the opening trajectory of the target door is detected. If an obstacle exists, the target door is controlled to remain stationary at the preset ventilation position, and a reminder operation is performed until the obstacle is removed; or, if no obstacle exists, the target door is controlled to open from the preset ventilation position to the corresponding position.
6. The method according to claim 1, characterized in that, Before the second timing window is triggered, the method further includes: Acquire a first time when a valid key signal is detected within the first range, and acquire a second time when a valid key signal is detected within the second range; Obtain the time difference between the second time and the first time; Compare the stated time difference with the preset time difference; If the time difference is greater than or equal to the preset time difference, the second timing window is triggered to take effect; or, if the time difference is less than the preset time difference, the first timing window is triggered to fail, and the verification is determined to have failed.
7. The method according to claim 1, characterized in that, The method further includes: Detect changes in the intensity of radio frequency interference in the environment where the vehicle is located; The key signal detection frequency of the vehicle in the first range and the second range is adjusted according to the changes.
8. The method according to claim 1, characterized in that, After controlling whether the vehicle door performs an opening operation, the method further includes: If the door does not perform the opening operation, then obtain the current consecutive number of verification failures; If the number of consecutive failures reaches a preset number, the vehicle is controlled to enter a cooling cycle, during which the vehicle does not perform key signal detection; After the vehicle's cooling cycle is completed, a valid key signal within the first range is detected.
9. A control device for a vehicle door, characterized in that, The device includes: The first trigger module is used to trigger the first timing window to take effect when a valid key signal is detected within the first range where the vehicle is located. The detection module is used to detect whether a valid key signal exists in a second range where the vehicle is located within the first timing window, wherein the second range is smaller than the first range; The second triggering module is used to trigger the second timing window to take effect if there is a valid key signal in the second range and the first timing window has not expired, wherein the duration of the second timing window is less than the duration of the first timing window. The control module is used to control whether the vehicle door performs an opening operation based on whether a valid key signal is detected in the second timing window.
10. A computer device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 8.
11. A vehicle, characterized in that, The system includes a controller comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method of any one of claims 1 to 8.