Vehicle key position change identification and feedback method and system and vehicle
By dividing the key area by preset priority list and driving antenna search, the problem of difficulty in identifying the position change of multiple keys in the prior art is solved, and effective identification and feedback of multiple keys is achieved. It is suitable for multi-function vehicle systems, reducing the complexity of software development and improving software adoption.
Patent Information
- Application Number
- CN202411752605.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-02
AI Technical Summary
The prior art is difficult to effectively identify and feedback the position changes of multiple keys, especially in multifunctional vehicle systems based on key positions, which increases the complexity of software development and does not have software compliance.
The key area is divided by a preset priority list, and the antenna is driven to search for priority order according to different functional requests, identify the position and movement status of the key, and realize the identification and feedback of the position changes of multiple keys.
It realizes the identification and feedback of position changes of multiple keys, and is suitable for multiple keys and various functions based on key position, reducing the complexity of software development and improving software adoption.
Smart Images

Figure CN119697591A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of vehicle key positioning, and in particular relates to a vehicle key position change recognition and feedback method, system and vehicle. Background Art
[0002] At present, there are many functions in existing vehicles for judging the key position and the key position change. According to the function, it can be divided into key authentication for judging the key position movement and authentication for only judging the key position.
[0003] For authentication that only determines the key position, the existing technology simply proposes external key authentication and returns whether the key is outside the car, but does not propose how to authenticate and how to judge. In addition, the existing technology only returns the result of whether the key is in the main driver's PE area for authentication of the main driver's PE area, and returns the result of whether the key is in the car for authentication of the in-car key. In this way, each time a vehicle function is realized, it is necessary to judge and authenticate the key in the corresponding position, so it is necessary to add logic to authenticate multiple key positions one by one, which increases the complexity of software development and does not have software usability.
[0004] Regarding key authentication for determining key position movement, the prior art only briefly explains key position movement. When the key is detected to move from the vehicle's welcome area to the PE area, the vehicle can be unlocked. However, there is no detailed explanation on how to determine key position movement. Generally, there are two authentication methods. The first method is to authenticate the welcome area key first. After the key is detected in the welcome area, the PE area key is authenticated. When the key is detected in the PE area, it is considered that the key has moved from the welcome area to the PE area. The second method is to authenticate the welcome area key. When the key is detected in the welcome area, the welcome area key is authenticated again until there is no key in the welcome area. Then the PE area key is authenticated. When the key is detected to move from the welcome area to the PE area, the key is authenticated. The vehicle is unlocked. However, the above method is only applicable to vehicles with one key, not to vehicles with multiple keys. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a vehicle key position change recognition and feedback method, system and vehicle, which can be applicable to multiple keys and various functions based on key positions.
[0006] The technical solution adopted by the present invention to solve the above technical problems is: In one aspect, the present invention provides a vehicle key position change recognition and feedback method, A first priority list and a second priority list are preset for dividing the priorities of key areas; the key areas are several areas divided by a certain area inside and outside the vehicle, and each key area has a corresponding antenna; When a request to find the key location is received, the corresponding antenna is driven to search for the key in descending order of priority in the first priority list; when a key signal is received, the search is stopped immediately, and the corresponding key area is the key location; when all key areas are searched and no key signal is received, it is determined that there is no key; When a request for searching the key movement status is received, the corresponding antenna is driven to continuously search for whether there is a key and key information in the order of the second priority list from high to low, and each search result is compared to determine whether there is a key moving between the key areas and the movement trajectory, which is the key movement status.
[0007] According to the above method, each of the key areas corresponds to only one antenna, the key area located inside the vehicle corresponds to an antenna inside the vehicle, and the key area located outside the vehicle corresponds to the nearest antenna outside the vehicle; the first priority list includes the key area located inside the vehicle and the key area located outside the vehicle; the second priority list only includes the key area located outside the vehicle.
[0008] According to the above method, when a request to find the key location is received, the antenna in the vehicle is first driven to search for the key, determine whether there is a key in the vehicle, and record the information of the key in the vehicle; Then, the key area with the highest priority in the first priority list is selected. If the current key area selected is outside the car, the corresponding antenna is driven to search. When the key is found and it is not the key located in the car, it is confirmed that the key is located in the key area with the highest priority, and the search is stopped. At the same time, the key commonly used by the owner is updated in real time as the current key; if the current key area selected is outside the car and the key is not found, or the key found is the key located in the car, the key area with the next priority in the first priority list is selected, and the corresponding antenna is driven to search; if the current key area selected is in the car, and the key located in the car is not 0, feedback is directly given based on the recorded key and information located in the car; if the current key area selected is in the car, and the information of the key located in the car is empty, the key area with the next priority in the first priority list is selected, and the corresponding antenna is driven to search; If the key is not found in the key areas of all priorities in the first priority list, the returned key is invalid; The driving corresponding antenna to search specifically involves driving the corresponding antenna to send a low-frequency signal; when a high-frequency signal with a field strength greater than a field strength threshold is received and authentication is passed, it is determined that the key of the vehicle has been searched.
[0009] According to the above method, the priority order in the first priority list is automatically updated and adjusted according to the purpose of the key location request and the specific working conditions.
[0010] According to the above method, when the purpose of the key location request is to lock the vehicle after leaving, the priority order is updated through the door closing signal: the PE area corresponding to the last door closed each time is taken as the key area with the highest priority.
[0011] According to the above method, the second priority list includes two levels of priority; The search for the key movement status is specifically as follows: When receiving a request to find the key mobile status, first determine whether there is a key in the car and record the key information in the car; Then, the first round of search is performed: the corresponding antenna is driven to continuously search for keys in the order of the second priority list from high to low, and the key information is recorded; according to the key information searched by the two-level priority, the keys in the vehicle are excluded, and it is determined whether a key has moved from a key area with a higher priority to a key area with a lower priority, and if so, the movement trajectory of the key is returned; if not, the key information that has been searched is returned and the next round of search is performed; The next round of search is as follows: driving the corresponding antenna to continuously search for keys in the order of the second priority list from high to low, and recording the key information and the key information returned from the previous round of search; excluding the keys in the vehicle based on the key information searched with two levels of priority and the key information returned from the previous round of search, and determining whether a key has moved from a key area with a higher priority to a key area with a lower priority, and if so, returning the key's movement trajectory, and if not, returning the key information that has been searched and continuing to the next round of search.
[0012] According to the above method, the first round of search specifically includes: A key area with a higher priority in the second priority list is selected, and the corresponding antenna is driven to search. When the vehicle key is found and it does not belong to the in-vehicle key, the key information in the key area with a higher priority is recorded, and the current round of search continues; if the vehicle key is not found, or all the vehicle keys found are the in-vehicle keys, the key is returned to no key, the current round of search ends, and the next round of search continues; The continuing of the current round of search is as follows: selecting a key area with a lower priority, driving the corresponding antenna to search, and when a key identical to the key in the key area with a higher priority is found, it is determined that a key has moved from the key area with a higher priority to the key area with a lower priority, and the moving trajectory of the key is returned to end the search; otherwise, the current search is ended, the key information in the key area with a higher priority is returned, and the next round of search continues.
[0013] According to the above method, the next round of search is specifically as follows: A key area with a higher priority in the second priority list is selected, and the corresponding antenna is driven to search. When the vehicle key is found and does not belong to the in-vehicle key, the vehicle key and the key information that has been searched and returned in the previous round of search are summarized as the key information located in the key area with a higher priority, and the current round of search is continued; if the vehicle key is not found, or all the vehicle keys that have been searched are the in-vehicle keys, but there is key information located in the key area in the previous round of search, only the key information that has been searched and returned in the previous round of search is used as the key information located in the key area with a higher priority, and the current round of search is continued; if the vehicle key is not found, or all the vehicle keys that have been searched are the in-vehicle keys, and there is no key information located in the key area in the key information that has been searched and returned in the previous round of search, then no key is returned, the current round of search is terminated, and the next round of search is continued; The continuing of the current round of search is as follows: selecting a key area with a lower priority, driving the corresponding antenna to search, and when a key identical to the key in the key area with a higher priority is found, it is determined that a key has moved from the key area with a higher priority to the key area with a lower priority, and the moving trajectory of the key is returned to end the search; otherwise, end the current round of search, return the key information in the key area with a higher priority, and continue the next round of search.
[0014] According to the above method, the second priority list is divided into a plurality of second sub-lists according to the purpose of searching for the key, and the priority order of each second sub-list is set according to the purpose; When a request for searching the key movement status is received, the corresponding second sub-table is first selected according to the purpose of searching the key movement status contained in the request, and then the corresponding antenna is driven to search according to the order of priority from high to low in the second sub-table.
[0015] According to the above method, the driving corresponding antenna to search is specifically as follows: The corresponding antenna is driven to send out a low-frequency signal and wait for a certain period of time to ensure that the signals of all keys are received; the period of time and the total number of keys are determined according to the settings when binding the keys.
[0016] According to the above method, the authentication is specifically as follows: if the ESK code of the key end in the high-frequency signal is the same as the ESK code in the low-frequency signal, the authentication is judged to be successful; otherwise, the authentication is unsuccessful; The ESK code is learned when binding the key.
[0017] In a second aspect, the present invention provides a vehicle key position change recognition and feedback system, which is arranged in a vehicle body controller and includes: A storage unit is preset with a first priority list and a second priority list for dividing the priorities of key areas; the key areas are a plurality of areas formed by dividing a certain area inside and outside the vehicle, and each key area has a corresponding antenna; A key location finding module, configured to, upon receiving a request to find the key location, drive the corresponding antenna to search for the key in descending order of priority in the first priority list; when a key signal is received, immediately stop searching, and the corresponding key area is the key location; when all key areas are searched and no key signal is received, determine that there is no key; The key movement status module is used to drive the corresponding antenna to continuously search for whether there are keys and the number of keys in the order of the second priority list from high to low when receiving a request for key movement status, and compare each search result to determine whether there are keys moving between the key areas and the movement trajectory, which is the key movement status.
[0018] In a third aspect, the present invention provides a vehicle body controller, comprising the vehicle key position change identification and feedback system.
[0019] In a fourth aspect, the present invention provides a vehicle, comprising the vehicle body controller.
[0020] The beneficial effects of the present invention are as follows: by prioritizing the key area and setting different priorities according to different functions, and then setting search strategies according to the corresponding priorities for different functions, the key position feedback logic according to the key position priority list and the key position feedback logic for judging the movement of the key position from a high priority to a low priority are respectively completed. The search strategy takes into account all keys and two types of functions, and is applicable to the case of multiple keys. Moreover, when there is a new function request, it only needs to formulate the priority list corresponding to the function to obtain the desired key position feedback. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a schematic diagram of the principle of an embodiment of the present invention.
[0022] Figure 2 It is the key to learn control flow chart.
[0023] Figure 3 This is a diagram of key learning parameters.
[0024] Figure 4 4 is a flowchart of a key location search in one embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0026] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0027] Glossary: Welcome area: An area within a certain close distance of the vehicle, used to automatically turn on the exterior lights of the windows or sound the horn to remind the user after detection.
[0028] PE area: Passive Entry, located in the unlock button area of the door handle.
[0029] CCM: Chassis Control Module, body controller.
[0030] ESK code: Electronic Secret Key, electronic security key, matching the key password for anti-theft.
[0031] The present invention provides a vehicle key position change recognition and feedback method, system and vehicle, which can be set in CCM, with two major function request categories as input, different functions corresponding to different key position priority lists, and respectively complete the key position feedback logic according to the key position priority list and the key position feedback logic for judging the movement of the key position from a high priority to a low priority. The present invention can be applied to multiple keys and various functions based on key positions.
[0032] The vehicle model to which the present invention is applicable requires at least one antenna inside the vehicle and three antennas outside the vehicle (driver's antenna, co-driver's antenna and tailgate antenna). The vehicle may include three antennas, corresponding to the front, middle and rear areas of the vehicle.
[0033] In the process of binding the key to the vehicle, the vehicle's ESK code must first be written into the central processing controller through diagnosis. The specific process is as follows: Figure 2 shown.
[0034] S201. When no key has been learned, the ESK code corresponding to the vehicle is written, and the initial value of the number of learned keys Num is 0.
[0035] S202, determine whether there is a need to learn the key, if so, proceed to S203, if not, return.
[0036] S203, read the number of learned keys Num, and assign Key_Num to Num+1. Key_Num indicates the number of keys learned.
[0037] S204, sending the ESK code and Key_Num to the key end by driving a specific antenna (determined by the manufacturer, one of the antennas installed on the vehicle), so that the key end can store the ESK code and Key_Num and send the key ID.
[0038] S205, receiving the key ID sent by the key end, and storing the key ID in memory. Different keys have different IDs, so the stored key ID and Key_Num are in a one-to-one correspondence.
[0039] S206. Set the number of learned keys as Key_Num.
[0040] After the Key_Num key learning is completed, return to continue to detect whether there is a need to learn a key.
[0041] Through the above key learning control, the ESK code, the total number of keys and the ID of each key are recorded, such as Figure 3 As shown, it is provided for subsequent invocation by the method of the present invention.
[0042] On the one hand, the present invention provides a vehicle key position change recognition and feedback method, such as Figure 1 As shown. The following steps are included: S101. A first priority list and a second priority list are preset to divide the priorities of key areas; the key areas are several areas formed by dividing certain areas inside and outside the vehicle, and each key area has a corresponding antenna.
[0043] Each of the key areas corresponds to only one antenna, the key area inside the vehicle corresponds to an antenna inside the vehicle, and the key area outside the vehicle corresponds to the nearest antenna outside the vehicle; in the first priority list, the key area inside the vehicle has a higher priority than the key area outside the vehicle; the second priority list only includes the key area outside the vehicle.
[0044] In this embodiment, the key area is divided into the in-car area and the out-car area, and the out-car area includes the main driver PE area, the co-driver PE area, the tailgate PE area, the main driver welcome area, the co-driver welcome area and the tailgate welcome area. Among them, the first priority list includes the in-car area and the out-car area. The second priority list only includes the out-car area. The main driver PE area / main driver welcome area, the corresponding output antenna is the main driver antenna; the co-driver PE area / co-driver welcome area, the corresponding output antenna is the co-driver antenna; the tailgate PE area / tailgate welcome area, the corresponding output antenna is the tailgate antenna. Further refinement, according to actual needs, the main driver welcome area, the co-driver welcome area and the tailgate welcome area can be further subdivided according to the distance from the vehicle. For example, the main driver welcome area is divided into the main driver welcome area 1, the main driver welcome area 2, and the main driver welcome area 3 according to the distance from the main driver PE area from far to near. These are all associated with corresponding functions. This embodiment only provides the idea of identifying and feeding back the position change of the vehicle key. Each vehicle can adaptively adjust the division of the key area according to the actual function.
[0045] The first priority list is shown in Table 1. N priorities are set according to functional requirements, where priority 1 has the highest priority and priority N has the lowest priority. The key area corresponding to each priority is recorded.
[0046] Table 1 Priority 1 Priority 2 Priority 3 Priority... Priority N Priority 1 location (such as the main driver's PE area) Priority 2 position (such as the front passenger seat PE area) Priority 3 locations (such as tailgate PE area) … Priority N position S102. When a request to find the key location is received, the corresponding antenna is driven to search for the key in descending order of priority in the first priority list; when a key signal is received, the search is stopped immediately, and the corresponding key area is the key location; when all key areas are searched and no key signal is received, it is determined that there is no key.
[0047] After the antenna is driven to send a low-frequency signal, the key receives the low-frequency signal and determines whether the key corresponds to the vehicle that sent the low-frequency signal. When the key determines that the ESK code in the key end is the same as the ESK code in the low-frequency signal (the key is the key that has been learned by the vehicle that sent the low-frequency signal), it will return the high-frequency signal. However, a vehicle may learn multiple keys. When multiple keys reply to the high-frequency signal together, the other party receives multiple high-frequency signals at the same time, which will cause signal interference, which may cause the failure of high-frequency information extraction, and then cause the key authentication failure. Therefore, in order to prevent interference, the antennas need to be driven one by one, the driving antenna sends a low-frequency signal, and the key returns a high-frequency signal. The keys need to reply to the high frequency one by one, and the timeout time for all keys to reply to the high frequency is Tmax. Therefore, the interval time for each key to reply to the high frequency is Tmax divided by Key_Num (the total number of learned keys can be obtained according to Key_Num), that is, after receiving the low frequency signal, one key first judges the low frequency and confirms whether to reply to the high frequency. After Tmax / Key_Num time, another key judges the low frequency and confirms whether to reply to the high frequency. After 2*Tmax / Key_Num time, another key judges the low frequency and confirms whether to reply to the high frequency until all keys have been judged. In addition to the keys replying to the high frequency data one by one, the order of the keys that reply to the high frequency data needs to be arranged. The closer the key is to the antenna, the greater the field strength at the key location. Therefore, the distance between the key and the antenna can be judged according to the field strength in the high frequency data returned by the key. In this embodiment, when the key is recognized by the driving antenna and the field strength is greater than a certain value, it means that the key is near the antenna.
[0048] The principle of finding the key position of the present invention is: the CCM drives the antenna to send a low-frequency signal. When the high-frequency signal returned by the key is received, the key is authenticated based on the aforementioned ESK code to determine whether it is the key of this vehicle. The position of the key is confirmed based on the field strength information in the high-frequency signal and the antenna (the key is near the driven antenna).
[0049] The search for the key position is as follows: S1021. When a request to find the key location is received, the antenna inside the car is first driven to search for the key, determine whether there is a key in the car, and record the information of the key in the car. That is, the antenna inside the car is driven to send a low-frequency signal. When a high-frequency signal with a field strength greater than the field strength threshold is received and the authentication is passed, it is confirmed to be the key of the car, indicating that the key of the car is in the car. The key information includes: ESK code, key ID (that is, which specific key it is), and key location (that is, key area). The purpose of doing this is that the antenna outside the car may search for the key inside the car, so if the key area is outside the car, the key inside the car needs to be excluded.
[0050] S1022. Select the key area with the highest priority in the first priority list, and drive the corresponding antenna to search. The search process is the same as that of the antenna in the car, which is to send out a low-frequency signal, receive a high-frequency signal with a field strength greater than the field strength threshold, and verify whether it is the key of the car. The following description of the specific search process is omitted, and only the search results are described.
[0051] 1) If the selected current key area is outside the car, the corresponding antenna is driven to search. When a key is found and it is not the key located in the car, it is confirmed that the key is located in the key area with the highest priority, and the search is stopped. At the same time, the key commonly used by the owner is updated in real time as the current key.
[0052] 2) If the currently selected key area is outside the vehicle and no key is found, or the found key is the key inside the vehicle, then the key area with the next priority in the first priority list is selected and the corresponding antenna is driven to search.
[0053] 3) If the currently selected key area is located in the car, then feedback is directly provided based on the key and information located in the car recorded in S1021. For example, if the key located in the car recorded in S1021 is not 0, then the key and information located in the car are directly returned; if the information of the key located in the car recorded in S1021 is empty, then the key area with the next priority in the first priority list is selected, and the corresponding antenna is driven to search.
[0054] If the key is not found in the key areas of all priorities in the first priority list, the returned key is invalid.
[0055] When there are multiple keys, the keys are sorted and the keys return to high frequency in order to avoid signal interference. The initial order is the order in which the keys are learned. After each key location search, the located key is updated to the key commonly used by the owner, that is, it is sorted first, and the order of other keys is moved back in sequence.
[0056] The priority order in the first priority list is automatically updated and adjusted according to the purpose of the key location request and the specific working conditions. For example: when the purpose of the key location request is to lock the vehicle when leaving, and the priority order is updated by the door closing signal: the PE area corresponding to the last door closed each time is taken as the key area with the highest priority. If the last door closed is the driver's door, the driver's door PE area has the highest priority. Similarly, if the last door closed is the passenger / rear door, the passenger / rear door PE area has the highest priority. Therefore, the key position feedback priority corresponding to different functions and different working conditions is different.
[0057] A corresponding first priority list can also be specified according to different functions / working conditions, and then combined with the key position search logic of this patent, the antenna can be reasonably driven to search for the key. The key position can be directly fed back according to the priority list, and when a key is found in a high-priority position, the key position is immediately returned to reduce the key position judgment time, and the antenna is no longer driven one by one to judge the key position, reducing the complexity of the software. The present invention can be used for any key position search request function, which brings certain conveniences to software development engineers.
[0058] No matter what kind of key location search request is triggered, the key in the car will not be repeatedly judged, which improves the key location feedback speed. It is also applicable to all vehicle functions that require key location search in the vehicle. When adding vehicle functions later, the strategy of the present invention can be directly used without secondary development, which improves the usability of software and reduces the workload of software development engineers.
[0059] S103. When a request for searching the key movement status is received, the corresponding antenna is driven to continuously search for keys and the number of keys in the order of the second priority list from high to low, and each search result is compared to determine whether a key moves between the key areas and the movement trajectory, which is the key movement status.
[0060] The search for the key movement status is specifically as follows: S1031. When a request to find the key movement status is received, first determine whether there is a key in the car and record the information of the key in the car. Generally speaking, when determining the key movement status, only the area outside the car is considered, but when the antenna outside the car receives the high-frequency signal, the key inside the car will also be searched. So, first search for the key inside the car, and then exclude the key inside the car when searching with the antenna outside the car. The specific process of determining whether there is a key in the car is: drive the antenna inside the car to send out a low-frequency signal, and when at least one high-frequency signal with a field strength greater than the field strength threshold is received, and the authentication is passed, it is determined that the key is in the car, and the number of keys in the car is determined according to the number of high-frequency signals received, and the key information is obtained according to the authentication process.
[0061] S1032. Drive the corresponding antenna in the order of the second priority list from high to low to continuously search for keys and record the key information. According to the key information searched with two levels of priority, exclude the keys in the vehicle and determine whether a key has moved from a key area with a higher priority to a key area with a lower priority. If so, return the key's movement trajectory; if not, return the key information that has been searched and jump to S1033.
[0062] Taking two-level priority as an example, the first round of search specifically includes: selecting the key area with a higher priority in the second priority list, driving the corresponding antenna to search, and when the vehicle key is found and does not belong to the key inside the vehicle, the key information located in the key area with a higher priority is recorded, and the current round of search continues; if the vehicle key is not found, or all the vehicle keys found are the keys inside the vehicle, it returns to no key, ends the current round of search, and continues S1033.
[0063] The described continuation of this round of search is: select a key area with a lower priority, drive the corresponding antenna to search, and when a key identical to the key in the key area with a higher priority is found, it is determined that a key has moved from the key area with a higher priority to the key area with a lower priority, and the movement trajectory of the key is returned to end the search; otherwise, the current search is ended, the key information in the key area with a higher priority is returned, and S1033 is continued.
[0064] S1033. Drive the corresponding antenna to continuously search for keys in descending order of priority in the second priority list, and record the key information and the key information returned from the previous search; exclude the keys in the vehicle based on the key information searched with two levels of priority and the key information returned from the previous search, and determine whether a key has moved from a key area with a higher priority to a key area with a lower priority; if so, return the key's movement trajectory; if not, return the key information that has been searched and repeat this step.
[0065] Taking the two-level priority as an example, S1033 is as follows: A key area with a higher priority in the second priority list is selected, and the corresponding antenna is driven to search. When the vehicle key is found and does not belong to the in-vehicle key, the vehicle key and the key information that has been searched and returned in the previous round of search are summarized as the key information located in the key area with a higher priority, and the current round of search is continued; if the vehicle key is not found, or all the vehicle keys that have been searched are the in-vehicle keys, but there is key information located in the key area in the previous round of search, only the key information that has been searched and returned in the previous round of search is used as the key information located in the key area with a higher priority, and the current round of search is continued; if the vehicle key is not found, or all the vehicle keys that have been searched are the in-vehicle keys, and there is no key information located in the key area in the key information that has been searched and returned in the previous round of search, then no key is returned, the current round of search is terminated, and the next round of search is continued; The continuing of the current round of search is as follows: selecting a key area with a lower priority, driving the corresponding antenna to search, and when a key identical to the key in the key area with a higher priority is found, it is determined that a key has moved from the key area with a higher priority to the key area with a lower priority, and the moving trajectory of the key is returned to end the search; otherwise, end the current round of search, return the key information in the key area with a higher priority, and continue the next round of search.
[0066] When there are three levels of priority, the principle is the same as above and will not be repeated here.
[0067] The second priority list is divided into several second sub-tables according to the purpose of searching for the key, and the priority order of each second sub-table is set according to the purpose; when a request for searching the key movement status is received, the corresponding second sub-table is first selected according to the purpose of searching the key movement status contained in the request, and then the corresponding antenna is driven to search according to the order of priority from high to low in the second sub-table.
[0068] During the search for the key movement status, after the drive corresponding antenna sends a low-frequency signal, it waits for a certain period of time to ensure that the signals of all keys are received; the period of time and the total number of keys are determined according to the settings when binding the keys.
[0069] In this embodiment, the in-car key list, key authentication priority sequence N and authentication flag Flg are set. According to the key location request, it is determined whether the in-car key list is cleared to 0 (the first authentication must be cleared to 0, and it is not cleared to 0 only when it is the second or more authentications during continuous authentication and the door state is always in the closed state (the in-car key list of the first authentication under this working condition can be used, so there is no need to repeat the authentication, avoiding the increase of the key position feedback time)), and the key authentication priority sequence is determined. When the key authentication priority sequence N=-1 / 0, it is for the authentication of the in-car key, and other values are for the authentication of the Nth priority position. For example, if N is equal to 3, it is to determine whether the key is at the priority 3 position).
[0070] like Figure 4 As shown, when a request for finding the key location function is received, the key location only needs to be returned once, so the in-car key list is cleared to 0, the key authentication priority sequence is equal to -1, the number of antenna authentications M=0, and the authentication flag Flg=0. Then, according to different key location requests, the key location is fed back according to several first sub-tables of the corresponding first priority list. The specific search logic has been recorded in S102 and will not be repeated here. By assigning each function to a sub-table of the priority list, when adding new functions in the future, only a corresponding sub-table needs to be added, without the need to reset the authentication process, and the scalability is strong.
[0071] When a request is received for determining the functional position of the key movement, continuous authentication is required. During the first authentication, the in-car key list is cleared to 0, and the key authentication priority sequence is equal to -1; during subsequent authentications, the in-car key list is not cleared to 0, and the key authentication priority sequence is equal to 1 (there is no need to repeatedly authenticate the in-car key).
[0072] In some embodiments, it is first determined whether the key authentication process is not in progress and a transition of a function key position search request / key movement function position request is received.
[0073] If yes, it means it is the first authentication request, then the key authentication process will be entered, and the key authentication priority sequence N=-1 (for in-car key authentication); antenna authentication times M=0 (each antenna can be authenticated up to Mmax times); authentication flag Flg=0 (no authentication, low-frequency antenna authentication is required); in-car key list=0; first authentication Flg=1 (first authentication). Then, according to the received key location request / key movement function location request, the key position priority of the corresponding function is fed back. For example: when leaving the car and locking, the last door closed is the co-pilot, then the co-pilot PE area key position has the highest priority, followed by the main driver / rear tailgate; in the welcome unlocking, it is necessary to determine whether the welcome unlocking conditions are met when moving from the corresponding welcome area to the PE area, then the priority 1 position is the welcome area; the priority 2 position is the PE area. For example: moving from the main driver's welcome area to the main driver's PE area.
[0074] If not, determine whether it is not in the key authentication process and has received a status signal of a key movement function position request. If so, enter the key authentication process and set the key authentication priority sequence N=1 (no need to repeat the authentication of the key in the car); the number of antenna authentications M=0; the authentication flag Flg=0; the first authentication Flg=0, and then feedback the priority order of the key position corresponding to the function based on the received key location request / key movement function position request.
[0075] Furthermore, in some embodiments, when a request to find the key movement status is received, the key position needs to be continuously judged. For example, the key position priority list of the function position request for judging the key movement in a certain function is shown in Table 2. The priority position indicates: judging whether the key moves from priority 1 position → priority 2 position → priority 3 position, and directly judging according to the key position return result. If it is judged that the key changes between more positions, the strategy is similar. In this embodiment, the main driver's welcome area 1 is far away from the main driver's PE area, and the main driver's welcome area 2 is close to the main driver's PE area. It is judged that the key is approaching the main driver's PE area from far to near.
[0076] Table 2
[0077] In the first round of search, the keys in the car are searched first, and then the first search is started. Whether there are keys in the priority 1 position and which keys are there, if there are, after excluding the keys in the car, return to the priority 1 position and key ID, and conduct a second search; if not, return to no key; During the second search, determine whether there is a key at the priority 2 position, and identify whether the key ID is the key at the priority 1 position in the first search. If so, it means that the key has moved from the priority 1 position to the priority 2 position, record the moved key ID, and continue the third search; if not, return that the key movement is invalid, and give the position and ID of the last key; During the third search, determine whether there is a key at the priority 3 position, and identify whether the key is the key moved from the priority 1 position to the priority 2 position in the second search. If so, it means that the key has moved from the priority 1 position to the priority 2 position and then to the priority 3 position; if not, return that the key movement is invalid, and give the position and ID of the last key.
[0078] When the return key movement is invalid, the request for finding the key movement status will always be there, and it is necessary to use the result of the previous round of search in the next round of search, and then make further judgments.
[0079] It should be noted that the key search process cannot be parallelized. The next request needs to be searched after the previous request is completed. A first-in-first-out buffer can be set up to record the received requests and complete them in chronological order.
[0080] Based on the above vehicle key position change recognition and feedback method, the present invention also provides a corresponding vehicle key position change recognition and feedback system, which is arranged in a vehicle body controller and includes: The storage unit is preset with a first priority list and a second priority list for dividing the priorities of key areas; the key areas are a number of areas divided by a certain area inside and outside the vehicle, and each key area has a corresponding antenna. The first priority list and the second priority list can respectively include a number of sub-lists, and the priority order in each sub-list is different, and each corresponds to a function of finding a key position / finding a key movement state.
[0081] The key location search module is used to drive the corresponding antenna to search for the key in the order of the first priority list from high to low when receiving a request to search for the key location; when a key signal is received, the search is stopped immediately, and the corresponding key area is the key location; when all key areas are searched and no key signal is received, it is determined that there is no key. When searching for the key location, it is only necessary to determine whether the corresponding position under the corresponding function has a key. Therefore, as long as the key is found, the purpose has been achieved and there is no need to continue searching. The detailed search method has been recorded in the aforementioned S102 and will not be repeated here.
[0082] The key movement status search module is used to drive the corresponding antenna to continuously search for keys and the number of keys in the order of the second priority list from high to low when receiving the request for key movement status, and compare the search results each time to determine whether there are keys moving between the key areas and the movement trajectory, which is the key movement status. Under certain functions, it is necessary to determine that the key can be triggered only when it moves according to the predetermined movement trajectory. Therefore, it is necessary to continuously search the position of the key and identify whether the key has moved based on the results of the previous and subsequent searches. For example: when there are 2 keys at the priority 1 position, and then continue to search to find that there is 1 key at the priority 2 position and it is one of the keys at the previous priority 1 position, then it means that a key has moved from the priority 1 position to the priority 2 position. Similarly, when there is a movement trajectory, the next level search is performed until the corresponding position of the last priority level, thus forming the entire trajectory of the key. If the key moved from the previous level position is not found in the middle, the key is returned to be invalid, indicating that there is no key trajectory for the function and the corresponding function is not triggered. The detailed search method has been recorded in the aforementioned S103 and will not be repeated here.
[0083] In a specific application scenario, the vehicle key position change recognition and feedback system is arranged in a body controller to implement the above method. Therefore, the body controller including the vehicle key position change recognition and feedback system is also within the protection scope of the present invention.
[0084] Likewise, a vehicle including the vehicle body controller is also within the protection scope of the present invention.
[0085] The present invention sets priority lists corresponding to different functions. When the position of the key and / or the key movement trajectory is identified based on the needs of the above functions, the purpose can be quickly achieved by searching for the key once or continuously in the order of the corresponding priority list. When a function based on key positioning needs to be added in subsequent research and development, the method of the present invention can be used by simply adding the priority list of the corresponding function without setting up additional search logic.
[0086] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0087] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.
Claims
1. A vehicle key position change recognition and feedback method, characterized in that: A first priority list and a second priority list are preset for dividing the priorities of key areas; the key areas are several areas divided by a certain area inside and outside the vehicle, and each key area has a corresponding antenna; When a request to find the key location is received, the corresponding antenna is driven to search for the key in descending order of priority in the first priority list; when a key signal is received, the search is stopped immediately, and the corresponding key area is the key location; when all key areas are searched and no key signal is received, it is determined that there is no key; When a request for searching the key movement status is received, the corresponding antenna is driven to continuously search for whether there is a key and key information in the order of the second priority list from high to low, and each search result is compared to determine whether there is a key moving between the key areas and the movement trajectory, which is the key movement status.
2. The vehicle key position change recognition and feedback method according to claim 1, characterized in that: Each of the key areas corresponds to only one antenna, the key area inside the vehicle corresponds to an antenna inside the vehicle, and the key area outside the vehicle corresponds to the nearest antenna outside the vehicle; the first priority list includes the key area inside the vehicle and the key area outside the vehicle; the second priority list only includes the key area outside the vehicle.
3. The vehicle key position change recognition and feedback method according to claim 1, characterized in that: The search for the key position is as follows: When a request to find the key location is received, the antenna in the vehicle is first driven to search for the key, determine whether there is a key in the vehicle, and record the information of the key in the vehicle; Then, the key area with the highest priority in the first priority list is selected. If the current key area selected is outside the vehicle, the corresponding antenna is driven to search. When a key is found and it is not the key located in the vehicle, it is confirmed that the key is located in the key area with the highest priority, and the search is stopped. At the same time, the key commonly used by the owner is updated in real time as the current key. If the current key area selected is outside the vehicle and no key is found, or the key found is the key located in the vehicle, the key area with the next priority in the first priority list is selected, and the corresponding antenna is driven to search. If the current key area selected is inside the vehicle, and the number of keys located in the vehicle is not 0, feedback is directly given based on the recorded keys and information located in the vehicle. If the currently selected key area is located in the vehicle, and the information of the key located in the vehicle is empty, then selecting the key area with the next priority in the first priority list, and driving the corresponding antenna to search; If the key is not found in the key areas of all priorities in the first priority list, the returned key is invalid; The driving corresponding antenna to search specifically involves driving the corresponding antenna to send a low-frequency signal; when a high-frequency signal with a field strength greater than a field strength threshold is received and authentication is passed, it is determined that the key of the vehicle has been searched.
4. The vehicle key position change recognition and feedback method according to any one of claims 1 to 3, characterized in that: The priority order in the first priority list is automatically updated and adjusted according to the purpose of the key location search request and the specific working conditions.
5. The vehicle key position change recognition and feedback method according to claim 4, characterized in that: When the purpose of the key location request is to lock the vehicle when leaving, the priority order is updated through the door closing signal: the PE area corresponding to the last door closed each time is taken as the key area with the highest priority.
6. The vehicle key position change recognition and feedback method according to claim 2, characterized in that: The second priority list includes two levels of priority; The search for the key movement status is specifically as follows: When receiving a request to find the key mobile status, first determine whether there is a key in the car and record the key information in the car; Then, the first round of searching is performed: the corresponding antennas are driven to continuously search for keys in the order of the second priority list from high to low, and the key information is recorded; According to the key information searched by the two-level priority, the keys in the vehicle are excluded, and it is determined whether there is a key moved from the key area with a higher priority to the key area with a lower priority. If yes, the movement trajectory of the key is returned; if no, the searched key information is returned and the next round of search is performed; The next round of search is as follows: driving the corresponding antenna to continuously search for keys in the order of the second priority list from high to low, and recording the key information and the key information returned from the previous round of search; excluding the keys in the vehicle based on the key information searched with two levels of priority and the key information returned from the previous round of search, and determining whether a key has moved from a key area with a higher priority to a key area with a lower priority, and if so, returning the key's movement trajectory, and if not, returning the key information that has been searched and continuing to the next round of search.
7. The vehicle key position change recognition and feedback method according to claim 6, characterized in that: The first round of search specifically includes: A key area with a higher priority in the second priority list is selected, and the corresponding antenna is driven to search. When the vehicle key is found and it does not belong to the in-vehicle key, the key information in the key area with a higher priority is recorded, and the current round of search continues; if the vehicle key is not found, or all the vehicle keys found are the in-vehicle keys, the key is returned to no key, the current round of search ends, and the next round of search continues; The continuing of the current round of search is as follows: selecting a key area with a lower priority, driving the corresponding antenna to search, and when a key identical to the key in the key area with a higher priority is found, it is determined that a key has moved from the key area with a higher priority to the key area with a lower priority, and the moving trajectory of the key is returned to end the search; otherwise, the current search is ended, the key information in the key area with a higher priority is returned, and the next round of search continues.
8. The vehicle key position change recognition and feedback method according to claim 6, characterized in that: The next round of search is specifically as follows: A key area with a higher priority in the second priority list is selected, and the corresponding antenna is driven to search. When the vehicle key is found and does not belong to the in-vehicle key, the vehicle key and the key information that has been searched and returned in the previous round of search are summarized as the key information located in the key area with a higher priority, and the current round of search is continued; if the vehicle key is not found, or all the vehicle keys that have been searched are the in-vehicle keys, but there is key information located in the key area in the previous round of search, only the key information that has been searched and returned in the previous round of search is used as the key information located in the key area with a higher priority, and the current round of search is continued; if the vehicle key is not found, or all the vehicle keys that have been searched are the in-vehicle keys, and there is no key information located in the key area in the key information that has been searched and returned in the previous round of search, then no key is returned, the current round of search is terminated, and the next round of search is continued; The continuing of the current round of search is as follows: selecting a key area with a lower priority, driving the corresponding antenna to search, and when a key identical to the key in the key area with a higher priority is found, it is determined that a key has moved from the key area with a higher priority to the key area with a lower priority, and the moving trajectory of the key is returned to end the search; otherwise, end the current round of search, return the key information in the key area with a higher priority, and continue the next round of search.
9. The vehicle key position change recognition and feedback method according to claim 1, 2 or 6, characterized in that: The second priority list is divided into a plurality of second sub-lists according to the purpose of searching for the key, and the priority order of each second sub-list is set according to the purpose; When a request for searching the key movement status is received, the corresponding second sub-table is first selected according to the purpose of searching the key movement status contained in the request, and then the corresponding antenna is driven to search according to the order of priority from high to low in the second sub-table.
10. The vehicle key position change recognition and feedback method according to claim 6, characterized in that: The driving corresponding antenna to search specifically includes: driving the corresponding antenna to send a low-frequency signal and waiting for a certain period of time to ensure that the signals of all keys are received; the period of time and the total number of keys are determined according to the settings when binding the keys.
11. The vehicle key position change recognition and feedback method according to claim 3 or 6, characterized in that: The authentication is specifically as follows: if the ESK code of the key end in the high-frequency signal is the same as the ESK code in the low-frequency signal, the authentication is judged to be successful; otherwise, the authentication is not successful; The ESK code is learned when binding the key.
12. A vehicle key position change recognition and feedback system, characterized in that: Set in the body controller, including: A storage unit is preset with a first priority list and a second priority list for dividing the priorities of key areas; the key areas are a plurality of areas formed by dividing a certain area inside and outside the vehicle, and each key area has a corresponding antenna; A key location finding module, configured to, upon receiving a request to find the key location, drive the corresponding antenna to search for the key in descending order of priority in the first priority list; when a key signal is received, immediately stop searching, and the corresponding key area is the key location; when all key areas are searched and no key signal is received, determine that there is no key; The key movement status search module is used to drive the corresponding antenna to continuously search for keys and key information in the order of the second priority list from high to low when receiving a request for key movement status, and compare each search result to determine whether a key has moved between the key areas and the movement trajectory, which is the key movement status.
13. A vehicle body controller, characterized in that: Including the vehicle key position change identification and feedback system as described in claim 12.
14. A vehicle, characterized in that: Includes the vehicle body controller as described in claim 13.
Citation Information
Patent Citations
Position identification device and method of vehicle remote-control key and vehicle
CN106296881A
Vehicle key searching system
CN107891841A
Control System For A Motor Vehicle And Method For Controlling At Least One Vehicle Function Of A Motor Vehicle
CN112026708A
Multi-antenna-based intelligent key authentication strategy for vehicle end
CN117676573A
Vehicle remote controlled system for controlled accessing priority to distribute nearest vehicle's user
CN1498801A