A vehicle key authentication method based on multiple smart key authentication categories

By employing multiple smart key authentication categories and real-time updated authentication requirement management, the problem of key authentication conflicts has been resolved, improving vehicle security and intelligence, and ensuring the accuracy and timeliness of key authentication.

CN117636513BActive Publication Date: 2026-04-28DONGFENG MOTOR GRP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DONGFENG MOTOR GRP
Filing Date
2023-10-27
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Existing vehicle key authentication methods can cause vehicle malfunctions and prevent timely key authentication when there is a conflict between continuous triggering and immediate authentication requests, posing a security risk.

Method used

It employs multiple smart key authentication categories, presets authentication types and priorities, updates the authentication request team in real time, prioritizes urgent authentications, interrupts non-urgent authentication processes, and ensures that key authentication requests are completed in order of priority.

Benefits of technology

This improves vehicle safety and intelligence, avoids functional abnormalities caused by continuous key authentication, and ensures the accuracy and timeliness of key authentication results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117636513B_ABST
    Figure CN117636513B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of automobile control, and discloses a vehicle key authentication method based on multiple intelligent key authentication categories, which comprises the following steps: S11: presetting a key authentication type and authentication priorities, authentication required time and maximum time capable of being accepted for waiting of the key authentication type; S12: presetting a key authentication team storage unit, arranging key authentication requirements in the key authentication team storage unit in sequence, and updating a key authentication requirement team in real time; and S13: selecting a key authentication process according to the updated key authentication requirement team, and performing key authentication on the key authentication requirements in sequence according to the authentication priorities. The application can effectively complete key authentication, avoid the problem that when key authentication is continuously triggered, only the principle of later triggering is adopted to cause some functional abnormalities of the vehicle, and improve the safety, usability and intelligence of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of automotive technology, specifically relating to a vehicle key authentication method based on multiple smart key authentication categories. 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. Features such as keyless start, door locking upon exiting the vehicle, and keyless entry (PE unlocking) are increasingly becoming standard features in vehicles. The application of these intelligent vehicle unlocking / locking systems greatly improves the user experience and comfort. The use of these systems typically requires key authentication. For example, when determining whether to enter the door locking / exit process after closing the last door, authentication of the external key is required; similarly, authentication of the internal key is required when locking the doors.

[0003] Generally, when the vehicle is locked upon leaving the vehicle or when the vehicle is powered on, the system sends a key authentication request and waits for the authentication result. For example, when the vehicle is locked, the system authenticates the key inside the vehicle and stores the authentication result. When the PE (Preinstallation Equipment) unlocks the vehicle, it uses the external antenna to authenticate the key and compares it with the stored result. If the key authenticated by the external antenna is not in the stored result, it means the key is outside the vehicle and can be unlocked; otherwise, it means the key is inside the vehicle and cannot be unlocked.

[0004] However, this method does not consider the time required for key authentication. If one authentication process is incomplete before another key authentication is triggered, the current method fails to address the issue. Existing technologies mostly employ a post-trigger principle for key authentication. Regarding the PE unlocking logic, if the driver presses the start switch during the key authentication process after the central locking system has locked the vehicle, the in-vehicle key authentication process is interrupted, and the power-on key authentication process begins. Therefore, the stored in-vehicle key authentication result is not updated, making it inaccurate. If the owner is asleep in the car and the power is off, a passerby could touch the PE unlocking switch, opening the door and posing a risk of theft. Furthermore, this patent also considers the need for immediate key authentication. For example, if the last door is closed, external key authentication is required to initiate the exit locking process. If authentication is not performed promptly, the owner may leave the vehicle, resulting in authentication failure and the exit locking function becoming ineffective. Therefore, if there is a need for immediate authentication, the existing key authentication is interrupted based on the authentication time and the available waiting time, and the immediate key authentication request is authenticated. The interrupted key authentication request is stored in the key authentication request queue to ensure that the key authentication request will be authenticated next time.

[0005] Based on the above, this invention proposes a vehicle key authentication method based on multiple smart key authentication categories. The aim is to solve the problem that regardless of how the driver operates the vehicle, key authentication can be completed for those requiring key authentication, and the key authentication result corresponding to the key authentication requirement can be read. This avoids the problem that when key authentication is triggered continuously, only the last trigger principle is used, which may cause certain functions of the vehicle to malfunction, thereby improving vehicle security, usability, and intelligence. Summary of the Invention

[0006] To better address the aforementioned problems, this invention provides a vehicle key authentication method based on multiple smart key authentication categories, comprising the following steps:

[0007] S11: Preset key authentication type and the authentication priority, authentication time required, and maximum acceptable waiting time for the key authentication type;

[0008] S12: Preset key authentication team storage unit, arrange key authentication requests in the key authentication team storage unit in sequence, and update the key authentication request team in real time;

[0009] S13: Select the key authentication process based on the updated key authentication requirements of the team, and perform key authentication in sequence according to the authentication priority; when the actual time required for emergency key authentication is greater than the maximum acceptable waiting time, interrupt the current key authentication process and prioritize the processing of emergency key authentication.

[0010] Furthermore, the key authentication types include: authenticating the in-vehicle key when the vehicle is powered on by pressing the one-button start switch, authenticating the external key when the last door of the vehicle is closed, authenticating the external key when the PE is unlocked, and authenticating the in-vehicle key after the vehicle is locked.

[0011] Furthermore, the actual time required for emergency key authentication = the time required for key authentication in progress - the time already authenticated + the time required for key authentication that requires emergency key authentication.

[0012] Further, step S12 specifically includes:

[0013] S121: Preset key authentication queue storage unit, with the number of queues for key authentication requests sequentially being 1, 2...L. max-1 L max When the key authentication requirement is 0, it means there is no key authentication requirement, and the number of queues for the key authentication requirement is 0.

[0014] S122: Determine in real time whether there is any key authentication requirement; if so, call the function to update the key authentication requirement queue and add the current key authentication requirement to the key authentication requirement queue according to the key authentication priority.

[0015] S123: Determine if the current key authentication request interrupts the current key authentication process. If it does, call the function N, which represents the largest non-zero column in the key authentication request queue. max ;

[0016] S124: Update the key authentication requirement team, including the Nth team. max Column +1 is set to the current key authentication requirement, and the Nth column is... max The column is set to the interrupted key authentication requirement;

[0017] S125: The key authentication requirement team has been updated.

[0018] Furthermore, in step S123, the maximum non-zero column function N in the key authentication request queue... max Specific methods for obtaining it include:

[0019] The largest non-zero column number N in the key authentication request queue. max Set to 0; set the internal variable i = L max The function checks if the i-th column in the key authentication request queue is equal to 0. If not, it calculates the maximum number of non-zero columns in the key authentication request queue, i = N. max ;

[0020] If the i-th column in the key authentication request queue is equal to 0, then set i = i-1, and then check again whether i is 0. If it is, it means that the key authentication request queue has no authentication request. At this time, N max =0; if not, continue to check if the i-th column in the key authentication request team is equal to 0.

[0021] Furthermore, the specific method for updating the key authentication requirement team in step S124 includes:

[0022] If key authentication requires the maximum column function N, then... max If the value is 0, then the first column in the key authentication request queue will be set to the current key authentication request.

[0023] If key authentication requires the maximum column function N, then... max ≠0, the largest non-zero column count function N in the key authentication requirement queue. max =i, determine whether the priority of the key authentication request in column i is higher than the current key authentication request. If yes, set column i+1 in the key authentication request queue as the key authentication request in column i; otherwise, set column i+1 in the key authentication request queue as the current key authentication request.

[0024] Furthermore, after setting the (i+1)th column in the key authentication request queue as the key authentication request of the ith column, the method further includes determining whether i equals 1. If yes, the ith column in the key authentication request queue is set as the current key authentication request; otherwise, i is set to i-1, and then the priority of the key authentication request of the ith column is re-determined to be higher than that of the current key authentication request.

[0025] Furthermore, step S13 specifically includes the following steps:

[0026] S131: Initialize to a non-key authentication process;

[0027] S132: Determine if the process is in a non-key authentication phase. If so, call the function of the largest non-zero column in the key authentication request queue to obtain N. max The value of N is then determined. max Is it 0?

[0028] S133: N in the key authentication request team max The key authentication request in the queue is issued, the key authentication request queue is updated, and N is added. max The key authentication requirement in the column is reduced to 0;

[0029] S134: Start Timer 1 and enter the key authentication process for the issued key authentication request;

[0030] S135: Continue the current key authentication process and determine whether authentication is complete. If complete, proceed to the non-key authentication process. If not complete, determine whether an immediate key authentication request has been received. If received, calculate the key authentication time of the current key authentication process - the accumulated time of timer 1 + the time required for key authentication with an immediate authentication request, and determine whether the result is greater than the acceptable waiting time in the technology for immediate authentication requests. If it is greater, the current key authentication request needs to interrupt the current key authentication process and proceed to the non-key authentication process. If it is not greater, the current key authentication request does not need to interrupt the current key authentication process and continues the current key authentication.

[0031] Furthermore, after entering the non-key authentication process, once the key authentication request team is updated, it is re-determined whether it is in the non-key authentication process, and then the key authentication is performed on the largest non-zero column in the latest team.

[0032] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0033] (1) Improve vehicle safety, usability, and intelligence. Using the method provided by this invention, it is ensured that key authentication can be completed and the key authentication result can be returned whenever key authentication is triggered, thereby improving vehicle functionality and avoiding unpredictable problems with certain functions.

[0034] (2) It resolves the conflict between immediate key authentication and existing key authentication. If there is a need for immediate authentication, the existing key authentication is interrupted based on the authentication time and the waiting time, and the immediate key authentication request is authenticated. The interrupted key authentication request is stored in the key authentication request queue to ensure that the key authentication request will be authenticated next time.

[0035] (3) Avoid the problem of certain vehicle functions malfunctioning due to continuous key authentication triggering and the use of the existing post-trigger principle. Using the method provided by this invention, key authentication can be completed for those requiring key authentication regardless of how the driver operates the vehicle, and the key authentication result corresponding to the key authentication requirement can be read. This avoids the problem of certain vehicle functions malfunctioning when key authentication is continuously triggered and only the post-trigger principle is used. Attached Figure Description

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

[0037] Figure 1 A flowchart of a vehicle key authentication method based on multiple smart key authentication categories provided for an embodiment of the present invention;

[0038] Figure 2 A flowchart of a team update control method based on multiple smart key authentication requirements is provided for an embodiment of the present invention;

[0039] Figure 3 A flowchart of a method for calculating the maximum non-zero column function in a team with multiple key authentication requirements, provided in an embodiment of the present invention;

[0040] Figure 4 A flowchart of a method for calculating the function of updating key authentication requirements based on multiple key authentications provided in this embodiment of the invention;

[0041] Figure 5 This is a flowchart of a method for selecting and controlling multiple key authentication processes, provided as an embodiment of the present invention. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. Obviously, the specific embodiments described herein are merely illustrative of the invention and represent only a portion, not all, of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.

[0043] It should be noted that if the embodiments of the present invention involve descriptions such as "first," "second," and "third," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first," "second," and "third" may explicitly or implicitly include at least one of those features. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.

[0044] This invention introduces four key authentication types (in actual vehicles, there are more than four key authentication types; this patent only introduces these four, but other key authentication types commonly used by those skilled in the art can also be addressed using the vehicle key authentication method of this invention), namely:

[0045] Figure 1 A flowchart of a vehicle key authentication method based on multiple smart key authentication categories is provided for embodiments of the present invention. The flowchart specifically includes:

[0046] S11: Preset key authentication type and the authentication priority, authentication time required, and maximum acceptable waiting time for the key authentication type;

[0047] S12: Preset key authentication team storage unit, arrange key authentication requests in the key authentication team storage unit in sequence, and update the key authentication request team in real time;

[0048] S13: Select the key authentication process based on the updated key authentication requirements of the team, and perform key authentication in sequence according to the authentication priority; when the actual time required for emergency key authentication is greater than the maximum acceptable waiting time, interrupt the current key authentication process and prioritize the processing of emergency key authentication.

[0049] Specifically, the key authentication types include: key authentication when the vehicle is powered on by pressing the one-button start switch; key authentication when the last door is closed; key authentication when the vehicle is unlocked via PE; and key authentication after locking the vehicle. Specifically, key authentication is required when the vehicle is powered on by pressing the one-button start switch; power can only be activated if a key is inside the vehicle. Key authentication is required when the last door is closed; if a key is detected, it indicates that the owner has taken the key, and the vehicle can be locked upon exiting. Key authentication is required when the vehicle is unlocked via PE; if not all the detected keys are in the key authentication storage results inside the vehicle, it means a key is present outside the vehicle, and the vehicle can be unlocked; otherwise, it will not unlock. Key authentication is required after locking the vehicle, and the result is stored to prevent keys from being forgotten inside the vehicle. These key authentication settings ensure vehicle security and improve vehicle usability and intelligent features.

[0050] Furthermore, the maximum acceptable waiting time is a set value (set by the car manufacturer according to actual needs), and the key authentication priority is sorted (the car manufacturer can change the priority according to actual conditions), where the larger the priority number, the higher the priority; the explanation of the time required for key authentication and the maximum acceptable waiting time, where the maximum acceptable waiting time refers to the maximum waiting time that the technology can accept. Specifically, the actual time required for emergency key authentication = the time required for key authentication in progress - the time already authenticated + the time required for key authentication requiring emergency key authentication.

[0051] Preferably, the preset key authentication type and the relationship between the authentication priority, authentication time required, and maximum acceptable waiting time for the key authentication type are set as shown in Table 1 below.

[0052] Table 1

[0053]

[0054] Furthermore, a key authentication team storage unit is preset to store key authentication request teams. The key authentication request team can have multiple columns; the more columns, the more key authentication requests can be stored. When the number of key authentication requests is 0, it indicates no key authentication request; when it is not 0, it indicates a key authentication request exists. Preferably, as shown in Table 2 below, there are two key authentication requests. The key authentication request priority in the first column is 2, and the key authentication request priority in the second column is 4. When there is a key authentication request, it is sorted by priority from the first column downwards, with the higher the column number, the higher the priority. When not in the key authentication process, the highest priority key authentication request can be authenticated and enter the key authentication process. Simultaneously, the key authentication requests in that column are cleared to 0. After the authentication request is completed, the highest priority key authentication request in the key authentication request team continues to be authenticated.

[0055] Table 2

[0056] Number of queues required for key authentication (maximum Lmax) Key authentication requirements 1 2 (Corresponding key authentication priority) 2 4 (Corresponding key authentication priority) 3 0 … Lmax-1 0 Lmax 0

[0057] Furthermore, step S12 specifically includes:

[0058] S121: Preset key authentication queue storage unit, with the number of queues for key authentication requests sequentially being 1, 2...L. max-1 L max When the key authentication requirement is 0, it means there is no key authentication requirement, and the number of queues for the key authentication requirement is 0.

[0059] S122: Determine in real time whether there is any key authentication requirement; if so, call the function to update the key authentication requirement queue and add the current key authentication requirement to the key authentication requirement queue according to the key authentication priority.

[0060] S123: Determine if the current key authentication request interrupts the current key authentication process. If it does, call the function N, which represents the largest non-zero column in the key authentication request queue. max ;

[0061] S124: Update the key authentication requirement team, including the Nth team. max Column +1 is set to the current key authentication requirement, and the Nth column is... max The column is set to the interrupted key authentication requirement;

[0062] S125: The key authentication requirement team has been updated.

[0063] Specifically, attached Figure 2 This is a flowchart of a method for updating and controlling a queue of multiple smart key authentication requests, provided by an embodiment of the present invention. The system continuously determines whether any key authentication request exists (i.e., the current key authentication request). If so, it calls the function to update the key authentication request queue. This function adds the current key authentication request to the queue according to key authentication priority. It then checks whether the current key authentication request interrupts the current key authentication process. If not, the update is complete (i.e., proceeds directly to step S125). If interrupted, it calls the function for the largest non-zero column in the key authentication request queue to obtain Nmax (i.e., the largest non-zero column number in the key authentication request queue). The system then updates the key authentication request queue, setting the (Nmax+1)th column as the current key authentication request and the Nmaxth column as the interrupted key authentication request. The update is then complete.

[0064] For example, the number of key authentication request queues is shown in Table 3 (Nmax = 2). Currently, the key authentication process is in progress, and the current process is handling key authentication with priority 3. At this point, a key authentication request with priority 4 is received, and the key authentication request queue is updated as shown in Table 4 (Nmax = 3). Then, it is determined whether the previous key authentication request interrupted the current key authentication process. If it did not interrupt, the key authentication request queue remains as shown in Table 4. If it did interrupt, the key authentication request list is updated as shown in Table 5 (Nmax = 4).

[0065] Table 3

[0066]

[0067] Table 4

[0068]

[0069] Table 5

[0070]

[0071] Furthermore, in step S123, the maximum non-zero column function N in the key authentication requirement queue... max Specific methods for obtaining it include:

[0072] The largest non-zero column number N in the key authentication request queue. max Set to 0; set the internal variable i = L max The function checks if the i-th column in the key authentication request queue is equal to 0. If not, it calculates the maximum number of non-zero columns in the key authentication request queue, i = N. max ;

[0073] If the i-th column in the key authentication request queue is equal to 0, then set i = i-1, and then check again whether i is 0. If it is, it means that the key authentication request queue has no authentication request. At this time, N max =0; if not, continue to check if the i-th column in the key authentication request team is equal to 0.

[0074] Specifically, see the appendix for the above methods. Figure 3 The flowchart provides a method for calculating the maximum non-zero column function in a team with multiple key authentication requirements.

[0075] Furthermore, the specific method for updating the key authentication requirement team in step S124 includes:

[0076] If key authentication requires the maximum column function N, then... max If the value is 0, then the first column in the key authentication request queue will be set to the current key authentication request.

[0077] If key authentication requires the maximum column function N, then...max ≠0, the largest non-zero column count function N in the key authentication requirement queue. max =i, determine whether the priority of the key authentication request in column i is higher than the current key authentication request. If yes, set column i+1 in the key authentication request queue as the key authentication request in column i; otherwise, set column i+1 in the key authentication request queue as the current key authentication request.

[0078] After setting the (i+1)th column in the key authentication request queue as the key authentication request of the ith column, the process also includes determining whether i equals 1. If yes, the ith column in the key authentication request queue is set as the current key authentication request; otherwise, i is set to i-1, and then the priority of the key authentication request of the ith column is re-determined to be higher than that of the current key authentication request.

[0079] Specifically, attached Figure 4 The flowchart illustrates a method for calculating the function of updating key authentication requirements based on multiple key authentication methods, as provided in this embodiment of the invention.

[0080] The function calls the function for the largest non-zero column in the key authentication request queue to obtain Nmax. It then checks if Nmax equals 0. If it does, it means there are no authentication requests in the queue (as shown in Table 6 below), and sets the first column of the key authentication request queue to the current key authentication request (as shown in Table 7 below), ending the update. If not, the function's internal variable i = Nmax (the largest non-zero column number in the key authentication request queue, as shown in Table 8 below, where Nmax = 2). It then checks if the priority of the key authentication request in the i-th column is higher than the current key authentication request. If not (e.g., the current key authentication request is 4), the function checks if the priority of the i-th column's key authentication request is higher than the current key authentication request. If the current key authentication requirement is set to the (i+1)th column in the key authentication requirement queue, and everything else remains unchanged, as shown in Table 9, the update ends. If the current key authentication requirement is 2, then the (i+1)th column in the key authentication requirement queue is set to the key authentication requirement of the ith column, and everything else remains unchanged. Then, check if i equals 1. If it does, it means that only the ith column in the previous key authentication requirement queue had a key authentication requirement (as shown in Table 10, which leads to Table 11 after the previous step). In this case, set the ith column in the key authentication requirement queue to the current key authentication requirement, and everything else remains unchanged, as shown in Table 11, the update ends. If it does not equal 1, then decrement i by 1 and re-check if the priority of the ith column's key authentication requirement is higher than the current key authentication requirement. This process is repeated in Table 8 to obtain Table 13, and the update ends. Finally, the highest priority key authentication requirement is filled into the maximum number of non-zero columns in the key authentication requirement queue. The larger the number of non-zero columns in the queue, the higher the priority. For example, the ith column has a higher priority than the ith column, and the ith column has a higher priority than the ith column.

[0081] Table 6

[0082]

[0083] Table 7

[0084]

[0085]

[0086] Table 8

[0087]

[0088] Table 9

[0089]

[0090] Table 10

[0091]

[0092] Table 11

[0093]

[0094] Table 12

[0095]

[0096] Table Thirteen

[0097]

[0098] Furthermore, step S13 specifically includes the following steps: S131: Initialize the process to a non-key authentication procedure;

[0099] S132: Determine if the process is in a non-key authentication phase. If so, call the function of the largest non-zero column in the key authentication request queue to obtain N. max The value of N is then determined. max Is it 0?

[0100] S133: N in the key authentication request team max The key authentication request in the queue is issued, the key authentication request queue is updated, and N is added. max The key authentication requirement in the column is reduced to 0;

[0101] S134: Start Timer 1 and enter the key authentication process for the issued key authentication request;

[0102] S135: Continue the current key authentication process and determine whether authentication is complete. If complete, proceed to the non-key authentication process. If not complete, determine whether an immediate key authentication request has been received. If received, calculate the key authentication time of the current key authentication process - the accumulated time of timer 1 + the time required for key authentication with an immediate authentication request, and determine whether the result is greater than the acceptable waiting time in the technology for immediate authentication requests. If it is greater, the current key authentication request needs to interrupt the current key authentication process and proceed to the non-key authentication process. If it is not greater, the current key authentication request does not need to interrupt the current key authentication process and continues the current key authentication.

[0103] Once the non-key authentication process is initiated, after the key authentication request team is updated, it will re-evaluate whether it is in the non-key authentication process and further perform key authentication on the largest non-zero column in the latest team.

[0104] Specifically, as shown in the attached document Figure 5 This embodiment provides a flowchart of a multi-key authentication process selection and control method.

[0105] Initialize the process to a non-key authentication flow. Check if it's in a non-key authentication flow. If so, call the function for the largest non-zero column in the key authentication request queue to get Nmax. Check if Nmax is 0. If it is, it means there are no key authentication requests in the queue, and the non-key authentication flow is checked again. If it's not 0, send out the key authentication requests in the Nmax column of the queue, update the key authentication request queue, and reset the key authentication requests in the Nmax column to 0 (no authentication requests). Start Timer 1 and enter the key authentication flow for the sent key authentication requests. Continue the current key authentication flow and check if authentication is complete. If complete, enter the non-key authentication flow. After the key authentication request queue is updated, check again if it's in a non-key authentication flow to perform key authentication on the latest non-zero largest column in the queue.

[0106] If not completed, determine if an immediate key authentication request has been received (this indicates a recently received current key authentication request that is urgent (the urgency level depends on the manufacturer). For example, if someone has just closed the door and is about to leave the car, it's necessary to determine if the owner has the key and authenticate the external key. If authentication isn't completed quickly, the person will be gone, causing some functions to malfunction. Therefore, this key authentication can be set as an immediate key authentication request, similar to the emergency key authentication mentioned in this invention). If so, determine if (the key authentication time required in the current key authentication process – timer 1 + the key authentication time required for an immediate authentication request) is greater than the acceptable waiting time in the technology for immediate authentication requests. If not, the current key authentication request does not need to interrupt the current key authentication process and continues. If so, the current key authentication request needs to interrupt the current key authentication process and enter the non-key authentication process. After the key authentication request queue is updated, re-determine whether it is in the non-key authentication process and perform key authentication in the largest non-zero column of the latest queue. Then, it will continue to enter other higher priority key authentication processes.

[0107] The above embodiments merely illustrate preferred embodiments of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

Claims

1. A vehicle key authentication method based on multiple smart key authentication categories, characterized in that, Includes the following steps: S11: Preset key authentication type and the authentication priority, authentication time required, and maximum acceptable waiting time for the key authentication type; S12: Preset key authentication team storage unit, arrange key authentication requests in the key authentication team storage unit in sequence, and update the key authentication request team in real time; S13: Select the key authentication process based on the updated key authentication request team, and perform key authentication requests in sequence according to authentication priority; when the actual time required for emergency key authentication is greater than the maximum acceptable waiting time, interrupt the current key authentication process and prioritize the processing of emergency key authentication. Step S13 specifically includes the following steps: S131: Initialize to a non-key authentication process; S132: Determine whether the process is in a non-key authentication process. If so, call the function of the largest non-zero column in the key authentication request queue to get the value of Nmax, and then determine whether Nmax is 0. S133: Issue the key authentication requests in the Nmax column of the key authentication request team, update the key authentication request team, and reset the key authentication requests in the Nmax column to 0; S134: Start Timer 1 and enter the key authentication process for the issued key authentication request; S135: Continue the current key authentication process and determine whether authentication is complete. If complete, proceed to the non-key authentication process. If not complete, determine whether an emergency key authentication request has been received. If received, calculate the key authentication time of the current key authentication process - the accumulated time of timer 1 + the time required for key authentication with emergency key authentication request, and determine whether the result is greater than the acceptable waiting time in the technology for emergency key authentication request. If it is greater, the current key authentication request needs to interrupt the current key authentication process and proceed to the non-key authentication process. If it is not greater, the current key authentication request does not need to interrupt the current key authentication process and continues the current key authentication.

2. The vehicle key authentication method based on multiple smart key authentication categories according to claim 1, characterized in that, The key authentication types include: authenticating the in-vehicle key when the power is turned on by pressing the one-button start switch, authenticating the external key when the last door of the vehicle is closed, authenticating the external key when the PE is unlocked, and authenticating the in-vehicle key after locking the vehicle.

3. The vehicle key authentication method based on multiple smart key authentication categories according to claim 1, characterized in that, Step S12 is as follows: S121: Preset key authentication queue storage unit, the number of key authentication request queues is 1, 2...Lmax-1, Lmax, when the key authentication request is 0, it means there is no key authentication request, and the number of key authentication request queues is 0; S122: Determine in real time whether there is any key authentication requirement; if so, call the function to update the key authentication requirement queue and add the current key authentication requirement to the key authentication requirement queue according to the key authentication priority. S123: Determine whether the current key authentication request interrupts the current key authentication process. If it does, call the function Nmax, which represents the largest non-zero column in the key authentication request queue. S124: Update the key authentication requirement team, set the Nmax+1th column as the current key authentication requirement, and set the Nmaxth column as the interrupted key authentication requirement; S125: The key authentication requirement team has been updated.

4. The vehicle key authentication method based on multiple smart key authentication categories according to claim 3, characterized in that, In step S123, if the key authentication requirement does not interrupt the current key authentication process, proceed directly to step S125.

5. The vehicle key authentication method based on multiple smart key authentication categories according to claim 4, characterized in that, The specific method for obtaining the maximum non-zero column function Nmax in the key authentication requirement team in step S123 includes: Set the maximum number of non-zero columns Nmax in the key authentication request queue to 0; set the internal variable i=Lmax of the function to check if the i-th column in the key authentication request queue is equal to 0. If not, then set the maximum number of non-zero columns Nmax in the key authentication request queue to i. If the i-th column in the key authentication request queue is equal to 0, then set i = i-1, and then check if i is 0 again. If it is, it means that there is no authentication request in the key authentication request queue, and Nmax = 0. If not, continue to check if the i-th column in the key authentication request queue is equal to 0.

6. The vehicle key authentication method based on multiple smart key authentication categories according to claim 5, characterized in that, The specific method for updating the key authentication requirement team in step S124 includes: If the maximum column function Nmax for key authentication needs is 0, then the first column in the key authentication need queue is set as the current key authentication need; If the maximum column count function Nmax ≠ 0 for key authentication requirements, and the maximum non-zero column count function i = Nmax in the key authentication requirement queue, determine whether the priority of the i-th column key authentication requirement is higher than the current key authentication requirement. If yes, set the (i+1)-th column in the key authentication requirement queue as the key authentication requirement of the i-th column; otherwise, set the (i+1)-th column in the key authentication requirement queue as the current key authentication requirement.

7. The vehicle key authentication method based on multiple smart key authentication categories according to claim 6, characterized in that, After setting the (i+1)th column in the key authentication request queue as the key authentication request of the ith column, the method further includes determining whether i equals 1. If yes, then the ith column in the key authentication request queue is set as the current key authentication request; otherwise, i is set to i-1, and then the priority of the key authentication request of the ith column is re-determined to be higher than that of the current key authentication request.

8. The vehicle key authentication method based on multiple smart key authentication categories according to claim 1, characterized in that, After entering the non-key authentication process, once the key authentication request team is updated, it is re-determined whether it is in the non-key authentication process, and then the key authentication is performed on the largest non-zero column in the latest team.

Citation Information

Patent Citations

  • Bluetooth key intelligent control method and device, vehicle and storage medium

    CN114613041A

  • Capacitance door handle vehicle unlocking and locking control method and system

    CN115139981A