Control methods, devices, equipment, and storage media based on vehicle key detection and measurement
By prioritizing key request signals and optimizing the key detection process, the problem of functional failure caused by high-frequency interference in vehicle multifunctions was solved, improving the stability and response speed of vehicle functions.
Patent Information
- Application Number
- CN202410952957.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2044-07-16
AI Technical Summary
In existing technologies, when multiple vehicle functions occur simultaneously or when other functional requirements arise during a certain functional process, high-frequency interference can easily lead to functional failure.
By acquiring the key request signal, and according to the preset signal processing priority, the function flow corresponding to the highest priority key request signal is entered, and the target measurement value is recorded. After the highest priority function flow ends, the function flow corresponding to the prohibited key request signal is entered. By combining the polling key process, PEWO authentication and key measurement process, the key detection and measurement process is optimized.
It effectively solves the problem of vehicle function failure under high-frequency interference, improves the stability and response speed of vehicle functions, and reduces vehicle power consumption.
Smart Images

Figure CN118748801B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of artificial intelligence technology, and in particular to a control method, device, equipment, and storage medium based on vehicle key detection and measurement. Background Technology
[0002] With the continuous development of science and technology, car owners' demands for automobiles are constantly increasing, and the scope of intelligent functions in automobiles is also expanding. Currently, many cars have functions such as door locking upon departure and door unlocking upon arrival. However, existing technologies only analyze the functional logic flow for a single function, such as door locking upon departure. Since functions such as door locking upon departure and door unlocking upon arrival involve key measurement and authentication, high-frequency interference may occur when other key authentication requests arise during the key measurement process, leading to authentication / measurement failure and thus affecting the function. Existing technologies do not consider this situation, therefore there is a risk of authentication / measurement failure leading to functional malfunction.
[0003] Therefore, there is an urgent need for a control method based on vehicle key detection and measurement that can solve the technical problem of vehicle function failure caused by high-frequency interference when multiple vehicle functions occur simultaneously or when other functional requirements occur in a certain functional process. Summary of the Invention
[0004] The main objective of this invention is to provide a control method, device, equipment, and storage medium based on vehicle key detection and measurement, aiming to solve the technical problem of vehicle function failure caused by high-frequency interference when multiple vehicle functions occur simultaneously or when other functional requirements occur in a certain functional process.
[0005] To achieve the above objectives, the present invention provides a control method based on vehicle key detection and measurement, the method comprising the following steps:
[0006] Obtain a key request signal, which includes an exit lock signal, an AR tailgate signal, a welcome unlock signal, a key button signal, and / or a preset key authentication signal;
[0007] When two or more key request signals are required, the function flow corresponding to the key request signal with the highest priority is entered according to the preset signal processing priority, the function flow corresponding to the other key request signals is disabled, and the target measurement value is recorded.
[0008] After the function flow corresponding to the highest priority key request signal is completed, the function flow corresponding to the prohibited key request signal is entered according to the target measurement value.
[0009] Optionally, the method further includes:
[0010] When the vehicle is initially in a wake-up state, it is detected in real time whether the vehicle meets the vehicle sleep conditions;
[0011] If the vehicle meets the vehicle dormancy conditions, then determine whether the conditions for the vehicle to enter the welcome unlock key retrieval function or the AR tailgate key retrieval function are met.
[0012] If the conditions are met, the vehicle enters a shallow sleep state, which is characterized by the vehicle's Polling key function and the first timer being activated.
[0013] If the timing duration of the first timer is within the first time threshold and the key or wake-up source signal is valid, the vehicle enters the wake-up state.
[0014] Optionally, the method further includes:
[0015] When the vehicle is in the wake-up state, it is detected in real time whether the conditions for entering the vehicle lock and key retrieval function, the conditions for entering the welcome unlock and key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met.
[0016] If the conditions are met and the system is not in the preset key authentication process or key button action process, then the system will enter the welcome unlocking function process, the vehicle exit locking function process, or the AR tailgate function process, and the second timer will be activated.
[0017] During the welcoming unlock function process, the vehicle exit locking function process, or the AR tailgate function process, it is determined in real time whether the timing duration of the second counter is greater than the second time threshold.
[0018] If the duration of the second counter exceeds the second time threshold, a function shutdown command is sent. The function shutdown command is a command to shut down the welcome unlock function, a command to shut down the AR tailgate function, or a command to shut down the vehicle exit lock function.
[0019] After disabling the corresponding function via the function disable command, exit the welcome unlock function process, the vehicle exit lock function process, or the AR tailgate function process, and execute the step of real-time detection of whether the conditions for the vehicle to enter the vehicle exit lock key retrieval function, the conditions for entering the welcome unlock key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met.
[0020] Optionally, the welcome unlocking function process, the vehicle exit locking function process, and the AR tailgate function process include a key polling process, PEWO authentication of the polled key, a key measurement process, full authentication of the polled key, and controlling the vehicle to perform corresponding actions.
[0021] Accordingly, the Polling key process includes:
[0022] The field strength memory value is initialized, and the driver's antenna, passenger's antenna and tailgate antenna of the vehicle are used to send Polling request data with ESK data in turn.
[0023] The system checks whether the Polling request data containing ESK data has a key response and whether ESK authentication is successful.
[0024] If a key is returned and ESK authentication is successful, the IDE number of the key that was successfully polled is recorded, and PEWO authentication is performed on the key obtained through polling.
[0025] Accordingly, the PEWO authentication of the polled key includes:
[0026] The antenna that drives Polling to the key sends a PEWO authentication request with the key's IDE number;
[0027] If the keyless response or PEWO authentication fails, the Polling key process will then begin.
[0028] If a key is received and PEWO authentication is successful, the key measurement process will proceed.
[0029] Accordingly, the key measurement process includes:
[0030] Set the current field strength to the field strength memory value, and use the vehicle's driver's side antenna, passenger's side antenna, and tailgate antenna to measure the key numbered IDE in turn;
[0031] Check if at least one antenna successfully measures the key;
[0032] If so, the field strength of the key relative to the driver's side antenna, passenger side antenna and tailgate antenna of the vehicle is obtained, and the key is determined to meet the conditions for performing the welcome unlocking action, the exit locking action or the AR tailgate action based on the field strength of the driver's side antenna, passenger side antenna and tailgate antenna of the vehicle.
[0033] Optionally, the drive current for the polling key process, the PEWO authentication of the polled key, and the full authentication of the polled key is greater than the drive current for the key measurement process.
[0034] Optionally, the preset signal processing priorities, from high to low, are the key button signal, the preset key authentication signal, and the vehicle exit lock signal / AR tailgate signal / welcome unlock signal;
[0035] The steps of entering the welcome unlock function process, the vehicle exit lock function process, or the AR tailgate function process, and activating the second timer, also include:
[0036] When entering the welcome unlocking function process, the vehicle exit locking function process, or the AR tailgate function process, it is determined in real time whether the key button signal or the preset key authentication signal is received.
[0037] If so, exit the welcome unlock function process, the vehicle exit lock function process, or the AR tailgate function process;
[0038] Determine whether the key measurement process is in progress before exiting the welcome unlock function process, the vehicle departure lock function process, or the AR tailgate function process.
[0039] If the key measurement process is in progress, then update the current field strength value.
[0040] Optionally, the method further includes:
[0041] Real-time detection of whether the rear tailgate camera light of the vehicle is on and whether someone steps on the rear tailgate camera light for a preset time;
[0042] If so, the vehicle's rear tailgate antenna is used to search for the presence of a key within a preset area of the rear tailgate outside the vehicle.
[0043] If a key is present, determine the status of the vehicle's tailgate;
[0044] When the tailgate is in the open state, control the tailgate of the vehicle to close.
[0045] When the tailgate is in the closed state, control the tailgate of the vehicle to open.
[0046] Furthermore, to achieve the above objectives, the present invention also proposes a control device based on vehicle key detection and measurement, the device comprising:
[0047] The signal acquisition module is used to acquire key request signals, including vehicle exit lock signal, AR tailgate signal, welcome unlock signal, key button signal and / or preset key authentication signal;
[0048] The first processing module is used to, when two or more key request signals are required, enter the functional process corresponding to the key request signal with the highest priority according to the preset signal processing priority, disable the functional processes corresponding to the other key request signals, and record the target measurement value.
[0049] The second processing module is also used to enter the function flow corresponding to the prohibited key request signal after the function flow corresponding to the highest priority key request signal has ended, based on the target measurement value.
[0050] Furthermore, to achieve the above objectives, the present invention also proposes a control device based on vehicle key detection and measurement, the device comprising: a memory, a processor, and a control program based on vehicle key detection and measurement stored in the memory and executable on the processor, the control program being configured to implement the steps of the control method based on vehicle key detection and measurement as described above.
[0051] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing a control program based on vehicle key detection and measurement, wherein the control program based on vehicle key detection and measurement, when executed by a processor, implements the steps of the control method based on vehicle key detection and measurement as described above.
[0052] This invention acquires key request signals, including vehicle exit lock signals, AR tailgate signals, welcome unlock signals, key button signals, and / or preset key authentication signals. When two or more key request signals are required, the system, based on preset signal processing priorities, enters the functional flow corresponding to the highest priority key request signal, disables the functional flows corresponding to the remaining key request signals, and records the target measurement value. After the functional flow corresponding to the highest priority key request signal ends, the system re-enters the functional flow corresponding to the disabled key request signal based on the target measurement value. Because this invention, when two or more key request signals are required, enters the functional flow corresponding to the highest priority key request signal according to preset signal processing priorities, disables the functional flows corresponding to the remaining key request signals, records the target measurement value, and then re-enters the disabled functional flow after the functional flow corresponding to the highest priority key request signal ends, compared to existing technologies, this invention solves the technical problem of high-frequency interference causing vehicle function failure when multiple vehicle functions occur simultaneously or when other functional requests occur within a certain functional flow. Attached Figure Description
[0053] Figure 1 This is a flowchart illustrating the first embodiment of the control method based on vehicle key detection and measurement of the present invention;
[0054] Figure 2 This is a flowchart illustrating the second embodiment of the control method based on vehicle key detection and measurement of the present invention;
[0055] Figure 3This is a flowchart illustrating the third embodiment of the control method based on vehicle key detection and measurement of the present invention;
[0056] Figure 4 This is a structural block diagram of the first embodiment of the control device based on vehicle key detection and measurement of the present invention;
[0057] Figure 5 This is a schematic diagram of the structure of a control device based on vehicle key detection and measurement in the hardware operating environment of the embodiment of the present invention.
[0058] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0059] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0060] This invention provides a control method based on vehicle key detection and measurement, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the control method based on vehicle key detection and measurement of the present invention.
[0061] In this embodiment, the control method based on vehicle key detection and measurement includes steps S10 to S30:
[0062] Step S10: Obtain a key request signal, which includes an exit lock signal, an AR tailgate signal, a welcome unlock signal, a key button signal, and / or a preset key authentication signal.
[0063] It should be noted that the execution subject of this embodiment can be applied to vehicle function control, and can be an in-vehicle control device with data processing, network communication and program operation functions or a control device based on vehicle key detection and measurement. The following uses a control device based on vehicle key detection and measurement as an example to illustrate this embodiment and the following embodiments.
[0064] It needs to be explained that the AR tailgate signal is used to control the AR tailgate projection light to turn on or off, and the preset key authentication signal is used to search for whether there is a key corresponding to the vehicle in a certain area. For example, pressing the one-button start switch button searches for the key inside the car. If there is a key inside the car, the vehicle will be powered on; otherwise, it will not be powered on.
[0065] Step S20: When two or more key request signals are required, according to the preset signal processing priority, enter the function flow corresponding to the key request signal with the highest priority, disable the function flows corresponding to the other key request signals, and record the target measurement value.
[0066] It should be noted that the functional flow corresponding to the welcome unlock signal, i.e. the welcome unlock function flow, includes: Polling the key → PEWO authentication of the polled key → Continuous measurement of the polled key (measuring the key) and determining whether the key is close to the vehicle (the maximum field strength value at the distance from the vehicle changes from less than a certain value to greater than a certain value, at which point it indicates that the key is moving from far to near) → Full authentication of the polled key → Control and unlock the vehicle.
[0067] The functional flow corresponding to the vehicle departure locking signal, namely the vehicle departure locking function flow, includes: Polling the key → performing PEWO authentication on the polled key → continuously measuring the polled key and determining whether the key is far away from the vehicle (the maximum field strength value at the distance from the vehicle changes from greater than a certain value to less than a certain value, indicating that the key is moving from near to far) → performing full authentication on the polled key → no key inside the vehicle → controlling the locking of the vehicle.
[0068] The functional flow corresponding to the AR tailgate signal, namely the AR tailgate function flow, includes: Polling the key → PEWO authentication of the polled key → Continuous measurement of the polled key and determination of whether the key is close or far from the tailgate and whether the tailgate projection light is off or on → Full authentication of the polled key → Controlling the lighting of the tailgate projection light.
[0069] It should be noted that the opening and closing logic of the three functions—locking the door when leaving the vehicle, unlocking the door upon arrival, and the AR tailgate—is exactly the same and independent of each other. The IVI interface has open / close buttons for each of the three functions (the IVI interface can be the in-vehicle infotainment system interface).
[0070] The vehicle initially defaults to having its functions off (at this time, the IVI only has an on button). It checks if the corresponding function's IVI on button has been clicked; if so, the function is on (at this time, the IVI only has a off button). It then checks if the corresponding function's IVI off button has been clicked; if so, the function enters its off state (the owner actively turns off the IVI, so the function can only be turned on via the IVI button). If a function is on and a command to turn off the corresponding function is received, it enters its off state (this is because the measurement or polling key time has been too long, and to prevent battery depletion, the software actively turns off the corresponding function; therefore, the IVI can turn on the function at this time, and it will automatically turn on after the engine has been running for a certain period to increase the battery charge). If the engine has been running for a preset time threshold or the IVI on button has been clicked, the function will turn on. After hibernation, the on / off state of the corresponding function is remembered, and upon waking, the function maintains its original on / off state.
[0071] The function flow corresponding to the key button signal, i.e. the key button function flow, includes: pressing the key button → triggering the corresponding vehicle action (unlocking / locking, etc.).
[0072] The preset key authentication signal corresponds to the following functional flow, i.e., the preset key authentication function flow, which includes: pressing SSB, pressing the brake, or closing the last door → searching for the key (authenticating the area key) → performing the relevant action. For example, pressing SSB to close → searching for the key inside the vehicle → powering on the vehicle.
[0073] Since pressing the key button and the preset key authentication take very short time, down to the millisecond level, and the AR tailgate, vehicle exit lock, or welcome unlock process is a continuous key detection process that takes a long time, the preset signal processing priority from high to low is the key button signal, the preset key authentication signal, and the vehicle exit lock signal / the AR tailgate signal / the welcome unlock signal.
[0074] It needs to be explained that the Polling key only verifies the key's ESK code to ensure that the Polling key corresponds to the vehicle; (the Polling function can continue to operate when the vehicle is in a light sleep state). PEWO certification and full certification verify the key's IDE number, key ID, and ESK code. Key measurement only authenticates the key's IDE, and the key returns the field strength at the location of the corresponding IDE key (the longest process for functions such as welcome unlocking / leaving the vehicle and locking / AR tailgate is the key measurement process; to avoid excessive vehicle power consumption, data transmission is minimized, and only the key's IDE number is authenticated).
[0075] Furthermore, to avoid vehicle power depletion and improve vehicle intelligence, the drive current A of the polling key process, the PEWO authentication of the polled key, and the full authentication of the polled key can be made greater than the drive current B of the key measurement process.
[0076] Since A is greater than B, by selecting the key polling method, the PEWO authentication and comprehensive authentication of the polled key, and the drive current of the drive antenna during key measurement, the key detection range can be changed. This improves the success rate of welcome unlocking after the vehicle enters shallow sleep mode, thus enhancing the vehicle's intelligent performance. Scenario: After the vehicle enters shallow sleep mode and the key is polled, the vehicle needs time to wake up. Therefore, the key should be polled even when it is far from the vehicle. This ensures that as the owner approaches the vehicle, the measurement can detect changes in the field strength at the key's location within a threshold range, avoiding the problem of undetected field strength changes leading to unrecoverable welcome unlocking.
[0077] As can be seen from the above, the welcoming unlock function process, the vehicle exit locking function process, and the AR tailgate function process include the key polling process, PEWO authentication of the polled key, key measurement process, comprehensive authentication of the polled key, and controlling the vehicle to perform corresponding actions.
[0078] The polling key process includes: initializing the field strength memory value, and using the vehicle's driver's side antenna, passenger side antenna, and tailgate antenna to send polling request data with ESK data in turn; detecting whether the polling request data with ESK data has a key response and ESK authentication passed; if a key response and ESK authentication passed, recording the key IDE number of the successfully polled key, and performing PEWO authentication on the polled key.
[0079] The PEWO authentication of the polled key includes: driving the antenna of the polled key to send a PEWO authentication request with the key's IDE number; if there is no key response or the PEWO authentication fails, then proceeding to the polling key process; if there is a key response and the PEWO authentication passes, then proceeding to the key measurement process.
[0080] The key measurement process includes: setting the current field strength as a field strength memory value, and using the vehicle's driver's side antenna, passenger side antenna, and tailgate antenna to measure the key numbered IDE in turn; detecting whether at least one antenna has successfully measured the key; if so, obtaining the field strength of the key relative to the vehicle's driver's side antenna, passenger side antenna, and tailgate antenna, and determining whether the key meets the conditions for performing the welcome unlocking action, the exit locking action, or the AR tailgate action based on the field strength of the vehicle's driver's side antenna, passenger side antenna, and tailgate antenna.
[0081] Step S30: After the function flow corresponding to the highest priority key request signal ends, enter the function flow corresponding to the prohibited key request signal according to the target measurement value.
[0082] It should be noted that the detailed process when the vehicle is in the wake-up state includes: when the vehicle is in the wake-up state, real-time detection is performed to determine whether the conditions for entering the off-vehicle lock and key retrieval function, the conditions for entering the welcome unlock and key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met; if they are met, and the vehicle is not in the preset key authentication process or key button action process, then the vehicle enters the welcome unlock function process, the off-vehicle lock function process, or the AR tailgate function process, and the second timer is activated; during the welcome unlock function process, the off-vehicle lock function process, or the AR tailgate function process, the count of the second timer is determined in real-time. If the duration of the second counter is greater than the second time threshold, a function shutdown command is sent. The function shutdown command is a command to shut down the welcome unlock function, a command to shut down the AR tailgate function, or a command to shut down the vehicle exit lock function. After shutting down the corresponding function through the function shutdown command, the welcome unlock function process, the vehicle exit lock function process, or the AR tailgate function process is exited, and the step of real-time detection of whether the conditions for entering the vehicle exit lock key retrieval function, the conditions for entering the welcome unlock key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met is executed.
[0083] It should be understood that the reason for determining that the above-mentioned process is not in the preset key authentication process and key button action process is to prevent high-frequency interference from causing vehicle function failure.
[0084] It needs to be explained that the conditions for entering the off-vehicle lock key retrieval function are: the vehicle is in the OFF position and the vehicle is unlocked, and the off-vehicle lock function is activated; the conditions for entering the welcome unlock key retrieval function are: the vehicle is in the OFF position and the welcome unlock function is activated, the vehicle is locked, and the most recent locking was done by the owner from outside the vehicle via remote key / PE, etc.; the conditions for entering the AR tailgate key retrieval function are: the vehicle is in the OFF position and the AR tailgate function is activated (as long as this function is activated, the owner can light up the tailgate light by holding the key near the tailgate, and the tailgate light will be projected onto the ground. The owner can trigger the tailgate unlocking action by stepping on the projection light and having the key outside the vehicle in the tailgate PE unlocking area).
[0085] In the welcome unlock, off-vehicle lock, or AR tailgate function process, the first step is to enter the Polling key process: Initialize the field strength memory value—the off-vehicle lock memory field strength value is 0 by default (the key is based on the field strength memory value of the driver's / passenger's / tailgate antennas), and the welcome unlock memory field strength value is the maximum field strength value by default (the key is based on the field strength memory value of the driver's / passenger's / tailgate antennas) (greater than the welcome unlock field strength threshold of 1, to avoid the phenomenon of false welcome unlocking when the field strength is detected to be greater than the threshold of 1 immediately after the vehicle is locked); Polling request data with ESK data is sent one by one (using the driver's / passenger's / tailgate antennas to send in turn), and it is checked whether there is a key reply and the information (ESK) authentication is successful. If there is, it means that the Polling key is successful. At this time, the IDE number of the key that was successfully Polled is recorded for subsequent PEWO authentication and measurement of the key, etc., to avoid measuring multiple keys in turn and prolonging the vehicle's response time.
[0086] After recording the IDE number of the successfully polled key, the process proceeds to PEWO authentication of the polled key: the antenna driving the polled key sends a PEWO authentication request containing the key's IDE number (directly using the antenna that found the key to authenticate the successfully polled key, avoiding invalid authentication and speeding up vehicle response). It checks if a key responds and if the information (ESK, IDE, or ID, etc.) is authenticated successfully. If not, PEWO authentication fails (successful polling indicates successful ESK code authentication, but PEWO authentication failure indicates that other information such as IDE or ID failed authentication, therefore the polled key does not match the vehicle), and the polling process is restarted. If yes, PEWO authentication is successful, meaning the polled key is bound to the vehicle, and the key measurement process begins.
[0087] In the key measurement process, the current field strength 1 / 2 / 3 is set as the memorized value of field strength 1 / 2 / 3. The driver's side / passenger side / tailgate antennas are used in turn to measure the key numbered IDE (only IEDs are authenticated). Field strength 1 / 2 / 3 represent the key's field strength based on the driver's side / passenger side / tailgate antennas, respectively. The process checks if at least one antenna has successfully measured the key (if the key is too far from an antenna and outside its measurement range, the measurement will fail). If not, it means the key is too far from the vehicle, and the process returns to the polling key procedure; if yes, the key measurement is successful. The system obtains the field strength 1 of the key relative to the driver's side antenna, the field strength 2 of the passenger side antenna, and the field strength 3 of the rear tailgate antenna (if the key is far from an antenna, the measurement will fail when using that antenna to measure the key). The field strength values of the antennas that failed to be measured are assigned to the field strength memory values of the corresponding antennas (if the driver's side measurement fails, the field strength 1 of the corresponding function = the field strength 1 memory value of the corresponding function). The field strength values that were successfully measured are assigned to the corresponding field strength memory values (if the driver's side measurement succeeds, the field strength 1 memory value of the corresponding function = the measured field strength 1). Therefore, if the measurement is successful, the memory value is equal to the actual field strength value; if the measurement fails, the field strength value is set to the memory value.
[0088] It should be understood that the key measurement function aims to obtain the field strength value of the key closest to the vehicle, specifically the maximum value of field strength 1 / 2 / 3. This maximum value will only trigger the function when it meets the field strength change conditions for locking / unlocking upon leaving the vehicle. Similarly, the tailgate camera light will only illuminate when the key is close to the tailgate; otherwise, it will remain off. The antenna for the key measurement will be selected using the antenna closest to the key. If the tailgate antenna is subsequently used, it indicates the key is close to the tailgate, and the tailgate camera light will only illuminate in this case; otherwise, it will remain off.
[0089] The next step involves selecting the antenna with the highest field strength to continue measuring the key numbered IDE. If the measurement fails, it indicates that the key is moving away from the vehicle, and the polling key process is restarted. Otherwise, the field strength value of the corresponding antenna is obtained, and the corresponding field strength memory value is updated. It is then determined whether the field strength value measured by the current antenna is greater than or equal to the field strength value measured by the previous corresponding antenna. If so, it indicates that the key is gradually moving closer to the corresponding antenna, so the previous antenna is used to measure the key numbered IDE again. Otherwise, it indicates that the key is moving away from the corresponding antenna. In order to obtain the maximum field strength, the driver's side / passenger side / rear tailgate antennas are used in turn to measure the key numbered IDE again (only authenticating IEDs), thus ensuring that the antenna closest to the key is used to measure the key and obtain the maximum field strength value.
[0090] It should be noted that during the key measurement process, the system will determine in real time whether the conditions for entering the AR tailgate key retrieval function are not met or the tailgate antenna is not used to measure the key and whether the tailgate camera light is on. If so, the tailgate camera light will be turned off and the key measurement process will be restarted.
[0091] During the key measurement process, it is determined in real time that the conditions for entering the welcoming unlock key search function are met and [(the measured field strength value changes from less than threshold 1 to greater than threshold 1) or (the corresponding antenna welcoming unlock memory field strength value is less than threshold 1 and the latest antenna measured field strength value is greater than threshold 1). If so, the function process flag is set to 1 (the welcoming unlock action conditions are met), and the process of fully authenticating the polled key before the action is entered.
[0092] During the key measurement process, the system detects in real time that the conditions for entering the vehicle lock and key retrieval function are met and all four doors are closed [(the measured field strength value changes from greater than threshold 2 to less than threshold 2) or (the corresponding antenna's vehicle lock memory field strength value is greater than threshold 2 and the latest antenna measured field strength value is greater than threshold 2). If so, the function process flag is set to 2 (the vehicle lock action conditions are met), and the process of fully authenticating the polled key before the action begins.
[0093] It also detects in real time whether the conditions for entering the AR tailgate key search function are met, and whether the key being measured by the tailgate antenna is lit, the tailgate camera light is on, and the latest antenna measurement field strength value is less than the threshold 3. If so, it sets the function flow flag to 3 (meets the condition for turning off the tailgate camera light) and enters the process of fully authenticating the polled key before the action.
[0094] It also detects in real time whether the conditions for entering the AR tailgate key search function are met, and whether the key being measured by the tailgate antenna is off, and the latest antenna measurement field strength value is greater than the threshold 3. If so, it sets the function process flag to 4 (meets the conditions for turning on the tailgate camera light) and enters the process of fully authenticating the polled key before the action.
[0095] It should be noted that if the field strength value meets the vehicle locking condition (i.e., the measured field strength value changes from greater than threshold 2 to less than threshold 2, or the corresponding antenna's vehicle locking memory field strength value is greater than threshold 2 and the latest antenna measured field strength value is greater than threshold 2), then the system checks whether the four doors of the vehicle are closed for a preset closing time (the preset closing time is set according to the vehicle manufacturer, such as 2 seconds, 3 seconds, etc., and this embodiment does not limit this). If the four doors are detected to be closed within the preset closing time, the system proceeds to the next step (i.e., the process of fully authenticating the polled key before the action). If the four doors are not closed within the preset closing time, the system does not lock, and it determines whether the vehicle locking, welcome unlock, or AR tailgate functions are activated.
[0096] It should be understood that the preset closing time is used to check whether the four doors of the vehicle are closed because the doors close slowly. The field strength value reaches the locking condition, but the doors are not closed yet, so the doors cannot be locked. Therefore, a few seconds are waited for the doors to close.
[0097] In the pre-action process of fully authenticating the polled key, the antenna of the measuring key sends a PEWO authentication request with the key number IDE data (directly using the antenna of the measuring key to authenticate the key, avoiding invalid authentication and speeding up the vehicle response). If authentication fails, it means the key is invalid, and the polling key process is restarted. If authentication passes, it means the key is valid. At this time, if the function process flag is 1, the vehicle is unlocked to achieve the welcome unlock function; if the function process flag is 2, it checks whether there is no key inside the vehicle. If so, it controls the vehicle to lock to achieve the exit lock function; if the function process flag is 3, the rear tailgate camera light is turned off; if the function process flag is 4, the rear tailgate camera light is turned on (so that the rear tailgate can be unlocked, opened, and automatically closed without freeing up the hands, simply by stepping on the camera light, which will be explained in later chapters).
[0098] After the action is completed, it is determined whether the conditions for entering the vehicle lock and key retrieval function are met; or whether the conditions for entering the welcome unlock and key retrieval function are met; or whether the conditions for entering the AR tailgate key retrieval function are met. If so, it means that the key needs to be measured again to realize the corresponding function. Therefore, the memory value is initialized, the vehicle lock memory field strength value is assigned to 0 (field strength 1 / 2 / 3 memory value); the welcome unlock memory field strength value is assigned to the maximum field strength (field strength 1 / 2 / 3 memory value) (the maximum field strength must be greater than the welcome unlock field strength threshold 1 to avoid the phenomenon of false welcome unlocking when the actual measured field strength is greater than the threshold 1 and the memory value is less than the threshold 1 after the vehicle has just left the vehicle and locked, thus meeting the welcome unlocking conditions). Then, the key measurement process is restarted. If not, it means that the conditions for entering the vehicle lock / welcome unlock / AR tailgate key retrieval function are not met. Therefore, exit the welcome unlock / vehicle lock / AR tailgate function process and re-evaluate (whether the conditions for entering the vehicle lock / key retrieval function are met; or whether the conditions for entering the welcome unlock / key retrieval function are met; or whether the conditions for entering the AR tailgate key retrieval function are met) and not be in other key authentication processes or key button action processes.
[0099] It should be noted that, in order to avoid high-frequency interference from the key, when entering the welcome unlocking function process, the vehicle locking function process, or the AR tailgate function process, it can be determined in real time whether the key button signal or the preset key authentication signal is received; if so, the welcome unlocking function process, the vehicle locking function process, or the AR tailgate function process is exited; it can also be determined whether the vehicle was in the key measurement process before exiting the welcome unlocking function process, the vehicle locking function process, or the AR tailgate function process; if it was in the key measurement process, the current field strength value is updated.
[0100] In the specific implementation, to avoid high-frequency interference from the key, which could lead to key authentication failure / measurement failure and thus affect vehicle functions, during the welcome unlock / away locking / AR tailgate function process, it is checked in real time whether there are other key authentication requests / key button presses. If so, the welcome unlock / away locking / AR tailgate function process is exited (to execute other key authentication requests / key button functions). It is then checked whether the key measurement process was in progress before exiting. If not, the measurement process flag is set to 0; if so, it is set to 1. The corresponding field strength 1 / 2 / 3 memory value is equal to the field strength 1 / 2 / 3 value (if no key is measured, it is updated to the default memory value; if a key is measured, it is updated to the latest field strength value of the measured key). When not in other key authentication processes and not in key button action processes, the system determines whether to return to the key measurement process or the polling key process based on the return to the measurement process flag. (This helps avoid functional failures caused by high-frequency interference; if the field strength value is memorized before exiting the key measurement process, the vehicle can directly enter the measurement process after exiting other key authentication / key button functions, which can speed up the vehicle's response speed; memorizing the field strength value can avoid the problem that in other key authentication / key button functions, after the field strength value meets the threshold for welcome unlocking / leaving the vehicle lock, the previous field strength value is not memorized and the jump in the field strength value reaching the threshold cannot be detected, thus leading to functional failure).
[0101] To avoid high-frequency interference from the key, which could lead to authentication or measurement failures and affect vehicle functionality, the implementation of a preset key authentication process involves determining whether the user is not currently in the welcome unlock, door lock, or AR tailgate function flow, and whether a key button request signal has been sent. If not, the process waits for this condition to be met. Once met, a key authentication request or a remembered key authentication request command is sent, and the preset key authentication process begins. During the preset key authentication process, if a key button is pressed, the process is paused, and the corresponding request is remembered (to facilitate resuming the preset key authentication process after the key button function is completed). When the user is no longer in the key button action flow, the preset key authentication request or the remembered preset key authentication request is sent again, and the process resumes. If key authentication is successful, the corresponding function is implemented based on the authentication result, and the preset key authentication process exits. The system then re-evaluates whether a preset key authentication requirement exists.
[0102] It should be noted that the existing vehicle locking function only searches for the key (polling the key) when the last door of the vehicle is closed. If the key is not found, it is assumed that the owner did not take the key, and the vehicle locking function is not initiated. However, if the last door closes slowly and the owner quickly leaves the vehicle, the owner may be too far away to find the key by the time the last door closes, resulting in the vehicle locking function failing to lock and potentially causing property loss. Therefore, to address the above issues, this embodiment optimizes the vehicle locking function process so that the key is searched before the last door closes, avoiding the problem of the owner leaving the vehicle too quickly when closing the door, thus improving the success rate of vehicle locking.
[0103] Considering the car owner was chatting with friends near the car without leaving or approaching it, the conditions for locking / unlocking upon departure / the tailgate camera light would not be met, causing the vehicle to remain in key measurement mode. If the owner stayed for an extended period, this could potentially lead to battery drain due to continuous key measurement. Therefore, during the welcome unlock / lock / AR tailgate function process, the system continuously checks if the duration of the second timer exceeds a second time threshold. If so, it sends commands to disable the welcome unlock, AR tailgate, and lock / unlock functions (to disable these functions). After the functions are disabled, the system exits the welcome unlock, lock / unlock, or AR tailgate function process and re-checks whether the conditions for entering the lock / unlock / key retrieval function, welcome unlock / key retrieval function, or AR tailgate / key retrieval function are met, ensuring the vehicle is not in other key authentication processes or key button operation processes.
[0104] Furthermore, during the welcome unlock, vehicle lock, or AR tailgate function process, if it is detected that the conditions for entering the vehicle lock key retrieval function, the conditions for entering the welcome unlock key retrieval function, and the conditions for entering the AR tailgate key retrieval function are not met, then the welcome unlock, vehicle lock, or AR tailgate function process will be exited, and the conditions for entering the vehicle lock key retrieval function will be re-checked; or the conditions for entering the welcome unlock key retrieval function or the conditions for entering the AR tailgate key retrieval function will be met, and the process will not be in other key authentication processes or key button operation processes.
[0105] This embodiment acquires key request signals, including vehicle exit lock signals, AR tailgate signals, welcome unlock signals, key button signals, and / or preset key authentication signals. When two or more key request signals are required, the system enters the function flow corresponding to the highest priority key request signal according to preset signal processing priorities, disables the function flows corresponding to the remaining key request signals, and records the target measurement value. After the function flow corresponding to the highest priority key request signal ends, the system re-enters the function flow corresponding to the disabled key request signal based on the target measurement value. Because this embodiment, when two or more key request signals are required, enters the function flow corresponding to the highest priority key request signal according to preset signal processing priorities, disables the function flows corresponding to the remaining key request signals, records the target measurement value, and then re-enters the disabled function flow after the function flow corresponding to the highest priority key request signal ends, compared to existing technologies, this embodiment solves the technical problem of high-frequency interference causing vehicle function failure when multiple vehicle functions occur simultaneously or when other function requests occur within a certain function flow.
[0106] refer to Figure 2 , Figure 2 This is a flowchart illustrating the second embodiment of the control method based on vehicle key detection and measurement of the present invention.
[0107] Based on the first embodiment described above, in this embodiment, the method further includes steps S40 to S70:
[0108] Step S40: When the vehicle is initially in a wake-up state, detect in real time whether the vehicle meets the vehicle hibernation conditions.
[0109] It needs to be explained that the vehicle's sleep condition was in the OFF position, the door status did not change, the SSB switch status did not change, the key was not measured, and the key was not authenticated.
[0110] Step S50: If the vehicle meets the vehicle hibernation conditions, determine whether the conditions for the vehicle to enter the welcome unlock key retrieval function or the AR tailgate key retrieval function are met.
[0111] Step S60: If satisfied, the vehicle enters a shallow sleep state, wherein the shallow sleep state is characterized by the vehicle's Polling key function and the first timer being turned on.
[0112] It should be explained that if the conditions are not met, the vehicle controller will enter a deep sleep state, and all vehicle functions will be unavailable.
[0113] Step S70: If the timing duration of the first timer is within the first time threshold and the key or wake-up source signal is valid, the vehicle enters the wake-up state.
[0114] It should be understood that a valid wake-up source signal can be such as the SSB switch being pressed or the door status changing, and this embodiment does not limit this.
[0115] It should be noted that after the vehicle goes into sleep mode, the vehicle will pollute the key. The system will detect in real time whether the vehicle has polluted the key and wake up the vehicle from sleep mode. If so, the IDE number of the key that was successfully polluted will be recorded, and the vehicle will directly enter the PEWO authentication process to complete the implementation of subsequent functions. Thus, when the welcome unlock function is enabled, after the vehicle goes into sleep mode, anyone holding the key and approaching the vehicle can unlock the vehicle.
[0116] It should be noted that if the key is not polled within the initial threshold, it indicates that the owner has been away for an extended period. Since polling the key consumes battery power, prolonged polling may deplete the vehicle's battery. Therefore, a command to disable the welcome unlock and AR tailgate functions is sent, and the vehicle controller enters deep sleep mode, during which all vehicle functions are unavailable. After the vehicle enters deep sleep mode, once the wake-up source signal is valid, the vehicle wakes up, and all vehicle functions become available.
[0117] In this embodiment, when the vehicle is initially in an awake state, it continuously monitors whether the vehicle meets the vehicle sleep conditions. If the vehicle meets the sleep conditions, it determines whether the conditions for entering the welcome unlock key retrieval function or the AR tailgate key retrieval function are met. If met, the vehicle enters a shallow sleep state, where the vehicle's polling key function and the first timer are activated. If a key or wake-up source signal is effectively polled within a first time threshold during the first timer's duration, the vehicle enters an awake state. Compared to existing technologies, this embodiment ensures that if a key or wake-up source signal is effectively polled within the first time threshold during the first timer's duration, the vehicle enters an awake state; if no key is polled within the first time threshold, the vehicle enters a deep sleep state, effectively preventing vehicle power depletion.
[0118] refer to Figure 3 , Figure 3 This is a flowchart illustrating the third embodiment of the control method based on vehicle key detection and measurement of the present invention.
[0119] Based on the above embodiments, in this embodiment, the method further includes steps S80 to S102:
[0120] Step S80: Real-time detection of whether the rear tailgate camera light of the vehicle is illuminated and whether someone steps on the rear tailgate camera light for a preset time.
[0121] Step S90: If yes, use the vehicle's tailgate antenna to search for the presence of a key within a preset area of the tailgate outside the vehicle.
[0122] Step S100: If a key exists, determine the status of the vehicle's tailgate.
[0123] Step S101: When the rear tailgate is in the open state, control the rear tailgate of the vehicle to close.
[0124] Step S102: When the rear tailgate is in the closed state, control the rear tailgate of the vehicle to open.
[0125] In practice, the system continuously monitors whether the tailgate camera light is illuminated and whether someone has pressed the light for a preset time. If so, the tailgate antenna searches the PE area (a preset area on the tailgate outside the vehicle) for a key (preset key authentication). If a key is found, the system determines the tailgate status. If it's open, the tailgate closes automatically; if it's closed, the tailgate unlocks. This eliminates the need for manual operation; simply pressing the camera light automatically opens or closes the tailgate, improving the user experience for those with many items in their hands and enhancing the vehicle's intelligent features.
[0126] This embodiment detects in real time whether the vehicle's tailgate camera light is illuminated and whether someone has stepped on the camera light for a preset time. If so, the vehicle's tailgate antenna searches for a key within a preset area outside the tailgate. If a key is found, the tailgate status is determined. If the tailgate is open, it is controlled to close; if it is closed, it is controlled to open. Compared to existing technologies, this embodiment achieves automatic tailgate opening or closing without manual operation, simply by stepping on the camera light. This improves the experience for users with many items in their hands who cannot use the trunk, and enhances the vehicle's intelligent functions.
[0127] Furthermore, embodiments of the present invention also propose a storage medium storing a control program based on vehicle key detection and measurement. When the control program based on vehicle key detection and measurement is executed by a processor, it implements the steps of the control method based on vehicle key detection and measurement as described above.
[0128] Reference Figure 4 , Figure 4 This is a structural block diagram of the first embodiment of the control device based on vehicle key detection and measurement of the present invention.
[0129] like Figure 4 As shown, the control device based on vehicle key detection and measurement proposed in this embodiment of the invention includes: a signal acquisition module 401, a first processing module 402, and a second processing module 403.
[0130] The signal acquisition module 401 is used to acquire key request signals, including vehicle exit lock signals, AR tailgate signals, welcome unlock signals, key button signals and / or preset key authentication signals.
[0131] The first processing module 402 is used to, when two or more key request signal requirements occur, enter the functional process corresponding to the key request signal with the highest priority according to the preset signal processing priority, disable the functional processes corresponding to the other key request signals, and record the target measurement value.
[0132] The second processing module 403 is further configured to, after the completion of the functional process corresponding to the highest priority key request signal, enter the functional process corresponding to the prohibited key request signal according to the target measurement value.
[0133] The device further includes a processing module, configured to, when the vehicle is in a wake-up state, detect in real time whether the conditions for entering the vehicle lock-out key retrieval function, the conditions for entering the welcome unlock key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met; if met, and not in a preset key authentication process or key button action process, then enter the welcome unlock function process, the vehicle lock-out function process, or the AR tailgate function process, and start a second timer; during the welcome unlock function process, the vehicle lock-out function process, or the AR tailgate function process, determine in real time whether the timing duration of the second counter is greater than a second time threshold; if the timing duration of the second counter is greater than the second time threshold, then send a function shutdown command, the function shutdown command being a command to shut down the welcome unlock function, a command to shut down the AR tailgate function, or a command to shut down the vehicle lock-out function; after shutting down the corresponding function through the function shutdown command, exit the welcome unlock function process, the vehicle lock-out function process, or the AR tailgate function process, and execute the step of real-time detection of whether the conditions for entering the vehicle lock-out key retrieval function, the conditions for entering the welcome unlock key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met.
[0134] The processing module is also used to determine in real time whether the key button signal or the preset key authentication signal is received when entering the welcome unlocking function process, the vehicle locking function process, or the AR tailgate function process; if so, exit the welcome unlocking function process, the vehicle locking function process, or the AR tailgate function process; determine whether the key measurement process was in progress before exiting the welcome unlocking function process, the vehicle locking function process, or the AR tailgate function process; if the key measurement process was in progress, update the current field strength value.
[0135] This device embodiment acquires key request signals, including vehicle exit lock signals, AR tailgate signals, welcome unlock signals, key button signals, and / or preset key authentication signals. When two or more key request signals are required, the device enters the functional flow corresponding to the highest priority key request signal according to preset signal processing priorities, disables the functional flows corresponding to the remaining key request signals, and records the target measurement value. After the functional flow corresponding to the highest priority key request signal ends, the device re-enters the functional flow corresponding to the disabled key request signal based on the target measurement value. Because this device embodiment, when two or more key request signals are required, enters the functional flow corresponding to the highest priority key request signal according to preset signal processing priorities, disables the functional flows corresponding to the remaining key request signals, records the target measurement value, and then re-enters the disabled functional flow after the functional flow corresponding to the highest priority key request signal ends, compared to existing technologies, this device embodiment solves the technical problem of high-frequency interference causing vehicle function failure when multiple vehicle functions occur simultaneously or when other functional requests occur within a certain functional flow.
[0136] Based on the first embodiment of the control device based on vehicle key detection and measurement of the present invention, a second embodiment of the control device based on vehicle key detection and measurement of the present invention is proposed.
[0137] In this embodiment, the processing module is further configured to detect in real time whether the vehicle meets the vehicle sleep conditions when the vehicle is initially in a wake-up state; if the vehicle meets the vehicle sleep conditions, it is determined whether the conditions for entering the welcome unlock key retrieval function or the AR tailgate key retrieval function are met; if met, the vehicle enters a shallow sleep state, wherein the shallow sleep state is characterized by the vehicle's Polling key function and the first timer being turned on; if the key or wake-up source signal is effectively polled within the first time threshold of the first timer's duration, the vehicle enters a wake-up state.
[0138] The processing module is also used to detect in real time whether the rear tailgate camera light of the vehicle is illuminated and whether someone has stepped on the rear tailgate camera light for a preset time; if so, the rear tailgate antenna of the vehicle is used to search for whether there is a key in a preset area of the rear tailgate outside the vehicle; if there is a key, the rear tailgate status of the vehicle is determined; when the rear tailgate status is open, the rear tailgate of the vehicle is controlled to close; when the rear tailgate status is closed, the rear tailgate of the vehicle is controlled to open.
[0139] Other embodiments or specific implementations of the control device based on vehicle key detection and measurement of the present invention can be referred to the above-described method embodiments, and will not be repeated here.
[0140] This application provides a control device based on vehicle key detection and measurement. The control device based on vehicle key detection and measurement includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the control method based on vehicle key detection and measurement in the above embodiment 1.
[0141] The following is for reference. Figure 5 This document illustrates a schematic diagram of a control device suitable for implementing vehicle key detection and measurement embodiments of this application. The control device based on vehicle key detection and measurement in these embodiments may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The control device shown is merely an example based on vehicle key detection and measurement, and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0142] like Figure 5As shown, the control device based on vehicle key detection and measurement may include a processing unit 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1002 or a program loaded from storage device 1003 into random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the control device based on vehicle key detection and measurement. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the control device based on vehicle key detection and measurement to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows a control device based on vehicle key detection and measurement with various systems, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.
[0143] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0144] The control device based on vehicle key detection and measurement provided in this application, employing the control method based on vehicle key detection and measurement in the above embodiments, can solve the technical problem in the prior art where high-frequency interference causes vehicle function failure when multiple vehicle functions occur simultaneously or when other functional requirements arise in a certain functional process. Compared with the prior art, the beneficial effects of the control device based on vehicle key detection and measurement provided in this application are the same as those of the control method based on vehicle key detection and measurement provided in the above embodiments, and other technical features in this control device based on vehicle key detection and measurement are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0145] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0146] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0147] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0148] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0149] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0150] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A control method based on vehicle key detection and measurement, characterized in that, The method includes: Obtain a key request signal, which includes an exit lock signal, an AR tailgate signal, a welcome unlock signal, a key button signal, and / or a preset key authentication signal; When two or more key request signals are required, the function flow corresponding to the key request signal with the highest priority is entered according to the preset signal processing priority, the function flow corresponding to the other key request signals is disabled, and the target measurement value is recorded. After the function flow corresponding to the highest priority key request signal is completed, the function flow corresponding to the prohibited key request signal is entered according to the target measurement value. The method further includes: When the vehicle is in the wake-up state, it is detected in real time whether the conditions for entering the vehicle lock and key retrieval function, the conditions for entering the welcome unlock and key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met. If the conditions are met and the system is not in the preset key authentication process or key button action process, then the system will enter the welcome unlocking function process, the vehicle exit locking function process, or the AR tailgate function process, and the second timer will be activated. During the welcoming unlock function process, the vehicle exit locking function process, or the AR tailgate function process, it is determined in real time whether the duration of the second timer is greater than the second time threshold. If the duration of the second timer exceeds the second time threshold, a function shutdown command is sent. The function shutdown command is a command to disable the welcome unlock function, a command to disable the AR tailgate function, or a command to disable the vehicle exit lock function. After disabling the corresponding function through the function shutdown command, exit the welcome unlock function process, the vehicle exit lock function process, or the AR tailgate function process, and execute the step of real-time detection of whether the conditions for the vehicle to enter the vehicle exit lock key retrieval function, the conditions for entering the welcome unlock key retrieval function, or the conditions for entering the AR tailgate key retrieval function are met. The welcome unlocking function process, the vehicle exit locking function process, and the AR tailgate function process include the key polling process, PEWO authentication of the polled key, key measurement process, full authentication of the polled key, and controlling the vehicle to perform corresponding actions. Accordingly, the Polling key process includes: The field strength memory value is initialized, and the driver's antenna, passenger's antenna and tailgate antenna of the vehicle are used to send Polling request data with ESK data in turn. The system checks whether the Polling request data containing ESK data has a key response and whether ESK authentication is successful. If a key is returned and ESK authentication is successful, the IDE number of the key that was successfully polled is recorded, and PEWO authentication is performed on the key obtained through polling. Accordingly, the PEWO authentication of the polled key includes: The antenna that drives Polling to the key sends a PEWO authentication request with the key's IDE number; If the keyless response or PEWO authentication fails, the Polling key process will then begin. If a key is received and PEWO authentication is successful, the key measurement process will proceed. Accordingly, the key measurement process includes: Set the current field strength to the field strength memory value, and use the vehicle's driver's side antenna, passenger's side antenna, and tailgate antenna to measure the key numbered IDE in turn; Check if at least one antenna successfully measures the key; If so, the field strength of the key relative to the driver's side antenna, passenger side antenna and tailgate antenna of the vehicle is obtained, and the key is determined to meet the conditions for performing the welcome unlocking action, the exit locking action or the AR tailgate action based on the field strength of the driver's side antenna, passenger side antenna and tailgate antenna of the vehicle.
2. The control method based on vehicle key detection and measurement as described in claim 1, characterized in that, The method further includes: When the vehicle is initially in a wake-up state, it is detected in real time whether the vehicle meets the vehicle sleep conditions; If the vehicle meets the vehicle dormancy conditions, then determine whether the conditions for the vehicle to enter the welcome unlock key retrieval function or the AR tailgate key retrieval function are met. If the conditions are met, the vehicle enters a shallow sleep state, which is characterized by the vehicle's Polling key function and the first timer being activated. If the timing duration of the first timer is within the first time threshold and the key or wake-up source signal is valid, the vehicle enters the wake-up state.
3. The control method based on vehicle key detection and measurement as described in claim 1, characterized in that, The driving current for the polling key process, the PEWO authentication of the polled key, and the full authentication of the polled key is greater than the driving current for the key measurement process.
4. The control method based on vehicle key detection and measurement as described in claim 1, characterized in that, The preset signal processing priorities, from high to low, are: key button signal, preset key authentication signal, and vehicle exit lock signal / AR tailgate signal / welcome unlock signal; The steps of entering the welcome unlock function process, the vehicle exit lock function process, or the AR tailgate function process, and activating the second timer, also include: When entering the welcome unlocking function process, the vehicle exit locking function process, or the AR tailgate function process, it is determined in real time whether the key button signal or the preset key authentication signal is received. If so, exit the welcome unlock function process, the vehicle exit lock function process, or the AR tailgate function process; Determine whether the key measurement process is in progress before exiting the welcome unlock function process, the vehicle departure lock function process, or the AR tailgate function process. If the key measurement process is in progress, then update the current field strength value.
5. The control method based on vehicle key detection and measurement as described in claim 1, characterized in that, The method further includes: Real-time detection of whether the rear tailgate camera light of the vehicle is on and whether someone steps on the rear tailgate camera light for a preset time; If so, the vehicle's rear tailgate antenna is used to search for the presence of a key within a preset area of the rear tailgate outside the vehicle. If a key is present, determine the status of the vehicle's tailgate; When the tailgate is in the open state, control the tailgate of the vehicle to close. When the tailgate is in the closed state, control the tailgate of the vehicle to open.
6. A control device based on vehicle key detection and measurement, characterized in that, The device includes: The signal acquisition module is used to acquire key request signals, including vehicle exit lock signal, AR tailgate signal, welcome unlock signal, key button signal and / or preset key authentication signal; The first processing module is used to, when two or more key request signals are required, enter the functional process corresponding to the key request signal with the highest priority according to the preset signal processing priority, disable the functional processes corresponding to the other key request signals, and record the target measurement value. The second processing module is also used to enter the function flow corresponding to the prohibited key request signal after the function flow corresponding to the highest priority key request signal has ended, based on the target measurement value. The processing module, when the vehicle is in a wake-up state, continuously monitors whether the conditions for entering the vehicle lock / retrieve key function, the welcome unlock / retrieve key function, or the AR tailgate key retrieval function are met. If met, and not in a preset key authentication process or key button action process, the module enters the welcome unlock / retrieve function process, the vehicle lock / retrieve function process, or the AR tailgate function process, and starts a second timer. During the welcome unlock / retrieve function process, the vehicle lock / retrieve function process, or the AR tailgate function process, the module continuously checks whether the duration of the second timer exceeds a second time threshold. If the duration of the second timer exceeds the second time threshold, a function deactivation command is sent, which is either a command to deactivate the welcome unlock / retrieve function, an AR tailgate function, or a vehicle lock / retrieve function. After deactivating the corresponding function via the function deactivation command, the module exits the welcome unlock / retrieve function process, the vehicle lock / retrieve function process, or the AR tailgate function process, and executes the step of continuously monitoring whether the conditions for entering the vehicle lock / retrieve key function, the welcome unlock / retrieve key function, or the AR tailgate key retrieval function are met. The welcome unlocking function process, the vehicle exit locking function process, and the AR tailgate function process include the key polling process, PEWO authentication of the polled key, key measurement process, full authentication of the polled key, and controlling the vehicle to perform corresponding actions. Accordingly, the Polling key process includes: The field strength memory value is initialized, and the driver's antenna, passenger's antenna and tailgate antenna of the vehicle are used to send Polling request data with ESK data in turn. The system checks whether the Polling request data containing ESK data has a key response and whether ESK authentication is successful. If a key is returned and ESK authentication is successful, the IDE number of the key that was successfully polled is recorded, and PEWO authentication is performed on the key obtained through polling. Accordingly, the PEWO authentication of the polled key includes: The antenna that drives Polling to the key sends a PEWO authentication request with the key's IDE number; If the keyless response or PEWO authentication fails, the Polling key process will then begin. If a key is received and PEWO authentication is successful, the key measurement process will proceed. Accordingly, the key measurement process includes: Set the current field strength to the field strength memory value, and use the vehicle's driver's side antenna, passenger's side antenna, and tailgate antenna to measure the key numbered IDE in turn; Check if at least one antenna successfully measures the key; If so, the field strength of the key relative to the driver's side antenna, passenger side antenna and tailgate antenna of the vehicle is obtained, and the key is determined to meet the conditions for performing the welcome unlocking action, the exit locking action or the AR tailgate action based on the field strength of the driver's side antenna, passenger side antenna and tailgate antenna of the vehicle.
7. A control device based on vehicle key detection and measurement, characterized in that, The device includes: a memory, a processor, and a control program based on vehicle key detection and measurement stored in the memory and executable on the processor, the control program being configured to implement the steps of the control method based on vehicle key detection and measurement as described in any one of claims 1 to 5.
8. A storage medium, characterized in that, The storage medium stores a control program based on vehicle key detection and measurement, which, when executed by a processor, implements the steps of the control method based on vehicle key detection and measurement as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle key searching method and device, computer readable storage medium and vehicle
CN115384447A
Vehicle key searching method and device, computer-readable storage medium, and vehicle
WO2022247447A1