Anti-relay method, smart key, vehicle-mounted device and readable storage medium

By detecting the status of the smart key in real time and obtaining its location information, the problem that the anti-relay method of the keyless startup function cannot balance the user experience and the anti-relay effect is solved, and an efficient anti-relay function and excellent user experience are achieved.

CN119428543AActive Publication Date: 2025-02-14UNITED AUTOMOTIVE ELECTRONICS SYST
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411653113.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-02-14
Estimated Expiration
2044-11-19

AI Technical Summary

Technical Problem

The keyless startup function anti-relay method in the prior art cannot effectively balance the user experience and the anti-relay effect, resulting in the user experience being affected or the relay attack cannot be prevented.

Method used

By real-time detection of the status of the smart key, determine whether the preset anti-relay optimization start condition is met. If it is met, send request information to the on-board device to obtain the location information of the smart key. If it is located outside the vehicle, the anti-relay function is enabled. The anti-relay function is not enabled in the vehicle.

Benefits of technology

It effectively resolves the conflict between the keyless startup anti-relay function and the user experience, realizes a better anti-relay function, and improves the user experience without increasing hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119428543A_ABST
    Figure CN119428543A_ABST
Patent Text Reader

Abstract

The invention provides an anti-relay method, an intelligent key, a vehicle-mounted device and a readable storage medium. The anti-relay method executed by the intelligent key comprises the steps of detecting the state of the intelligent key in real time, judging whether the state of the intelligent key meets a preset anti-relay optimization starting condition or not, and if yes, executing the following steps: sending request information for positioning the intelligent key to a vehicle-mounted device of a target vehicle, the vehicle-mounted device generates feedback information according to the request information and sends the feedback information to the intelligent key; the feedback information comprises position information of the intelligent key; if the intelligent key judges that the intelligent key is located in the target vehicle according to the feedback information, the anti-relay function is not started, and the intelligent key enters a normal working state; and otherwise, starting an anti-relay function and entering an anti-relay state. According to the invention, the conflict between the keyless start anti-relay function and the user experience can be effectively solved, the user experience is improved, a good anti-relay function is achieved, and no hardware cost needs to be increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to an anti-relay method, a smart key, a vehicle-mounted device and a readable storage medium. Background Art

[0002] Vehicles with PEPS (Passive Entry & Passive Start) function usually include PKE (Passive Keyless Enter) key, low-frequency antenna and body controller (BCM, Body Control Module) with integrated PEPS function. The basic principle is: when the PKE key is near the vehicle, the button on the door can directly trigger the low-frequency antenna to find the key and unlock the vehicle; when the PKE key is in the vehicle, the one-button start switch can automatically trigger the key to start the vehicle. The whole process does not require taking out the physical key, which brings great convenience to users.

[0003] However, thieves may use relay devices to amplify the signal of the vehicle's low-frequency antenna looking for the key, causing the key to be mistakenly identified as being within the unlocking / starting range, thereby unlocking / starting the vehicle and causing the vehicle to be stolen. In order to reduce the probability of being attacked by relays, a commonly used solution in the relevant technology is to install a motion sensor on the PKE key to detect whether the key is moving. When the key remains stationary for a certain period of time, the anti-relay function is activated, that is, the keyless entry and start functions are turned off, and the low-frequency signal (i.e., LF signal) of the low-frequency antenna looking for the key is not responded to. This solution can effectively solve the problem that the keyless entry and start functions are easily attacked by relays.

[0004] However, research has found that for the Passive Start (PS) function, this solution cannot balance the user experience and anti-relay effect. If you need to prevent relay attacks on keyless start, when the key has been stationary in the car for a certain period of time, it may not be able to start, and you need to shake the key to start the vehicle, which affects the user experience; if the key must be able to start directly after being stationary in the car for a certain period of time, it is impossible to prevent relay attacks on the keyless start function.

[0005] It should be noted that the information disclosed in the background technology section of the invention is only intended to deepen the understanding of the general background technology of the invention, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention

[0006] The purpose of the present invention is to provide an anti-relay method, a smart key, a vehicle-mounted device and a readable storage medium to address the problem that the anti-relay method of the keyless start function in the prior art cannot balance the user experience and the anti-relay effect. The present invention can effectively solve the conflict between the keyless start anti-relay function and the user experience. It not only has a better anti-relay function, but also can improve the user experience without increasing any hardware costs.

[0007] In order to achieve the above object, the present invention is implemented by the following technical scheme: an anti-relay method for a keyless entry and start system, which is executed by a smart key of a target vehicle, and the anti-relay method includes:

[0008] Detect the state of the smart key in real time, and determine whether the state of the smart key meets the preset anti-relay optimization start condition. If so, perform the following steps:

[0009] Sending a request message for locating the smart key to the onboard device of the target vehicle, so that the onboard device generates feedback information according to the request message and sends the feedback information to the smart key; the feedback information includes the location information of the smart key; the location information is one of the two that the smart key is located inside the target vehicle and the smart key is located outside the target vehicle;

[0010] If it is determined according to the received feedback information that the smart key is located in the target vehicle, the anti-relay function is not enabled and the normal working state is entered; otherwise, the anti-relay function is enabled and the anti-relay state is entered.

[0011] Optionally, the real-time detection of the state of the smart key and judging whether the state of the smart key satisfies a preset anti-relay optimization start condition include:

[0012] The state of the smart key is detected in real time, and when the movement of the smart key is detected, the following steps are performed:

[0013] SA11: exit the anti-relay state and clear the first timer;

[0014] SA12: Detect the state of the smart key in real time. If the movement of the smart key is detected, execute step SA11; if the movement of the smart key is not detected, control the first timer to count, and execute step SA13;

[0015] SA13: Determine whether the timing duration of the first timer is greater than or equal to a first preset duration. If so, the state of the smart key meets the preset anti-relay optimization start condition; if not, execute step SA12.

[0016] Optionally, it is determined whether the timing duration of the first timer is greater than or equal to a first preset duration. If so, the state of the smart key meets the preset anti-relay optimization start condition; if not, step SA12 is executed, including:

[0017] If the timing duration of the first timer is greater than or equal to the first preset duration and the smart key does not receive the RKE button during the timing of the first timer, the state of the smart key meets the preset anti-relay optimization start condition; otherwise, execute step SA12.

[0018] Optionally, sending request information for locating the smart key to an onboard device of the target vehicle, so that the onboard device generates feedback information according to the request information and sends the feedback information to the smart key, includes:

[0019] Sending first high-frequency information for locating the smart key to the vehicle-mounted device, so that the vehicle-mounted device generates first low-frequency information according to preset smart key configuration information and the first high-frequency information;

[0020] receiving and detecting the received first low-frequency information to obtain a real-time carrier field strength value of the first low-frequency information;

[0021] Sending second high-frequency information including the real-time carrier field strength value to the vehicle-mounted device, so that the vehicle-mounted device generates the position information according to the real-time carrier field strength value and the preset carrier field strength value and sends the position information to the smart key through the feedback information.

[0022] Optionally, after sending the request information for locating the smart key to the onboard device of the target vehicle, the anti-relay method further includes:

[0023] If the smart key does not receive the feedback information within a second preset time period after sending the request information, it is determined that the smart key is outside the target vehicle, and an anti-relay function is activated and the anti-relay state is entered.

[0024] In order to achieve the above object, the present invention also provides another anti-relay method for a keyless entry and start system, which is executed by an onboard device of a target vehicle, and the anti-relay method includes:

[0025] Receiving a request message for locating the smart key sent by the smart key of the target vehicle; the request message is sent after the smart key determines that the state of the smart key meets a preset anti-relay optimization start condition during the process of the smart key detecting the state of the smart key in real time;

[0026] generating feedback information according to the request information;

[0027] The feedback information is sent to the smart key, so that the smart key obtains the location information of the smart key according to the feedback information, and when the smart key is located in the target vehicle, the smart key does not start the anti-relay function and enters a normal working state; otherwise, the smart key starts the anti-relay function and enters an anti-relay state;

[0028] The feedback information includes location information of the smart key; the location information is one of: the smart key is located inside the target vehicle and the smart key is located outside the target vehicle.

[0029] Optionally, the receiving request information sent by the smart key of the target vehicle for locating the smart key, generating feedback information according to the request information, and sending the feedback information to the smart key includes:

[0030] Receiving first high-frequency information sent by the smart key for locating the smart key;

[0031] Generate first low-frequency information according to preset smart key configuration information and the first high-frequency information, and send the first low-frequency information to the smart key, so that the smart key detects the first low-frequency information and obtains a real-time carrier field strength value of the first low-frequency information;

[0032] receiving the second high frequency information including the real-time carrier field strength value sent by the smart key, and generating the position information according to the real-time carrier field strength value and the preset carrier field strength value;

[0033] The position information is sent to the smart key through the feedback information.

[0034] Optionally, generating the location information according to the real-time carrier field strength value and the preset carrier field strength value includes:

[0035] If the real-time carrier field strength value is greater than or equal to the preset carrier field strength value, the smart key is located inside the target vehicle; otherwise, the smart key is located outside the target vehicle.

[0036] In order to achieve the above object, the present invention also provides a smart key for a keyless entry and start system, the smart key comprising a motion sensor, a first processing unit, a first signal transmitting unit and a first signal receiving unit;

[0037] The motion sensor is configured to detect the state of the smart key in real time;

[0038] The first processing unit is configured to determine whether the state of the smart key meets the preset anti-relay optimization start condition according to the detection result of the motion sensor, and if so, control the first signal transmitting unit to send a request information for locating the smart key to the vehicle-mounted device of the target vehicle, so that the vehicle-mounted device generates feedback information according to the request information and sends the feedback information to the smart key; the feedback information includes the location information of the smart key; the location information is one of the two that the smart key is located inside the target vehicle and the smart key is located outside the target vehicle;

[0039] The first signal receiving unit is configured to receive the feedback information;

[0040] The first processing unit is further configured to, if it is determined according to the received feedback information that the smart key is located in the target vehicle, not enable the anti-relay function and enter a normal working state; otherwise, enable the anti-relay function and enter an anti-relay state.

[0041] In order to achieve the above object, the present invention further provides a vehicle-mounted device for a keyless entry and start system, the vehicle-mounted device comprising a second signal receiving unit, a second processing unit and a second signal transmitting unit;

[0042] The second signal receiving unit is configured to receive a request message for locating the smart key sent by the smart key of the target vehicle; the request message is sent after the smart key determines that the state of the smart key meets the preset anti-relay optimization start condition during the process of the smart key detecting the state of the smart key in real time;

[0043] The second processing unit is configured to generate feedback information according to the request information;

[0044] The second signal transmitting unit is configured to send the feedback information to the smart key, so that the smart key obtains the location information of the smart key according to the feedback information, and when the smart key is located in the target vehicle, the smart key does not turn on the anti-relay function and enters a normal working state; otherwise, the smart key starts the anti-relay function and enters an anti-relay state; wherein the feedback information includes the location information of the smart key; the location information is one of the two that the smart key is located in the target vehicle and the smart key is located outside the target vehicle.

[0045] In order to achieve the above-mentioned object, the present invention further provides a readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned anti-relay methods is implemented.

[0046] Compared with the prior art, the anti-relay method, smart key, vehicle-mounted device and readable storage medium provided by the present invention have the following advantages:

[0047] The anti-relay method for keyless entry and start system provided by the present invention first detects the state of the smart key in real time and determines whether the state of the smart key meets the preset anti-relay optimization start condition, and sends a request information for locating the smart key to the vehicle-mounted device of the target vehicle when the preset anti-relay optimization start condition is met, so as to accurately obtain the location information of the smart key, so as to enable the anti-relay function only when the smart key is outside the target vehicle, and not enable the anti-relay function when the smart key is inside the target vehicle and enter the normal working state. That is, after the smart key is stationary in the target vehicle for a certain period of time, it does not affect the user to start the vehicle; when the key is stationary outside the target vehicle for a certain period of time, the keyless entry and start anti-relay function can also be effectively enabled. The present invention can effectively solve the conflict between the keyless start anti-relay function and the user experience, not only has a good anti-relay function, but also can improve the user experience without increasing any hardware cost. Further, the positioning process of the smart key is mainly implemented by the vehicle-mounted device (such as the body controller), the requirements for the smart key are relatively low, the changes are small, and it is easy to implement.

[0048] Since the smart key, vehicle-mounted device and readable storage medium provided by the present invention belong to the same inventive concept as the anti-relay method for a keyless entry and starting system provided by the present invention, the smart key, vehicle-mounted device and readable storage medium provided by the present invention at least have all the advantages of the anti-relay method for a keyless entry and starting system provided by the present invention. For details on the beneficial effects of the smart key, vehicle-mounted device and readable storage medium provided by the present invention, please refer to the above description of the beneficial effects of the anti-relay method for a keyless entry and starting system provided by the present invention, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram of the overall flow of an anti-relay method for a keyless entry and start system provided by a first embodiment of the present invention;

[0050] Figure 2 for Figure 1 A flowchart of a specific example of step SA1 in FIG.

[0051] Figure 3a for Figure 1 A schematic diagram of a specific example of step SA2;

[0052] Figure 3b for Figure 1 A flowchart of a specific example of step SA2;

[0053] Figure 4 A schematic diagram of a specific example of an anti-relay method for a keyless entry and start system provided by a first embodiment of the present invention;

[0054] Figure 5 A schematic diagram of the overall flow of an anti-relay method for a keyless entry and start system provided in a second embodiment of the present invention;

[0055] Figure 6 A schematic block diagram of a smart key for a keyless entry and start system provided by a third embodiment of the present invention;

[0056] Figure 7 A schematic block diagram of a vehicle-mounted device for a keyless entry and start system provided in a fourth embodiment of the present invention;

[0057] The reference numerals are as follows:

[0058] Target vehicles - 100;

[0059] Smart key 110, motion sensor 111, first processing unit 112, first signal transmitting unit 113, first signal receiving unit 114;

[0060] The vehicle-mounted device 120, the second signal receiving unit 121, the second processing unit 122, and the second signal transmitting unit 123. DETAILED DESCRIPTION

[0061] The following is a further detailed description of the anti-relay method, smart key, vehicle-mounted device and readable storage medium proposed in the present invention in conjunction with the accompanying drawings. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are in a very simplified form and all use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention. Any modification of the structure, change in the proportional relationship or adjustment of the size, in the case of the same or similar effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical content disclosed by the present invention. The specific design features of the present invention disclosed herein include, for example, specific dimensions, directions, positions and shapes, which will be determined in part by the specific environment to be applied and used. And, in the embodiments described below, sometimes the same figure mark is used in common between different drawings to represent the same part or part with the same function, and its repeated description is omitted. In this specification, similar reference numerals and letters are used to refer to similar items, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures. In addition, if the method described herein includes a series of steps, the order of these steps presented herein is not necessarily the only order in which these steps can be performed, and some of the steps described may be omitted and / or some other steps not described herein may be added to the method.

[0062] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The singular forms "a", "an" and "the" include plural objects, the term "or" is generally used in a sense including "and / or", the term "several" is generally used in a sense including "at least one", and the term "at least two" is generally used in a sense including "two or more". In addition, the terms "first", "second" and "third" are used for descriptive purposes only and are not to be understood as indicating or suggesting relative importance or implicitly indicating the number of the indicated technical features.

[0063] The core idea of ​​the present invention is to provide an anti-relay method, a smart key, a vehicle-mounted device and a readable storage medium. The present invention can effectively solve the conflict between the keyless start anti-relay function and the user experience. It not only has a better anti-relay function, but also can improve the user experience without increasing any hardware costs.

[0064] In order to realize the above idea and solve the problem that the anti-relay method of keyless start function in the prior art cannot balance the user experience and the anti-relay effect, the inventor of the present invention has proposed an anti-relay optimization scheme after continuous in-depth research and practice. The basic principle of the scheme is: when the continuous static time of the smart (PKE) key meets the requirements of starting the anti-relay function, the smart key automatically sends an RF (Radio Frequency Signal) high-frequency signal to request the body controller to drive the low-frequency antenna to find the key, and feed back the key search result to the smart key through a low-frequency (LF, Low Frequency) signal. The smart key confirms its own position based on the received low-frequency signal. If the smart key is in the vehicle, the anti-relay function is not turned on; if the smart key is outside the vehicle or does not receive the low-frequency signal, it will no longer respond to the low-frequency signal of the PEPS key search to achieve the anti-relay effect. Until the smart key detects movement again, it will exit the anti-relay state and switch back to normal mode.

[0065] Based on the above research, the first embodiment of the present invention provides an anti-relay method for a keyless entry and start system. The anti-relay method provided in this embodiment is executed by the smart key of the target vehicle. Figure 1 , Figure 1 The overall flow chart of the anti-relay method for the keyless entry and start system provided in this embodiment is as follows. Figure 1 It can be seen that the anti-relay method provided in this embodiment includes the following steps:

[0066] SA1: Detect the state of the smart key in real time and determine whether the state of the smart key meets the preset anti-relay optimization start condition. If so, perform the following steps:

[0067] SA2: Sending a request message for locating the smart key to the onboard device of the target vehicle, so that the onboard device generates feedback information according to the request message and sends the feedback information to the smart key; the feedback information includes the location information of the smart key; the location information is one of the two that the smart key is located inside the target vehicle and the smart key is located outside the target vehicle;

[0068] SA3: If it is determined that the smart key is located in the target vehicle according to the received feedback information, the anti-relay function is not enabled and the normal working state is entered; otherwise, the anti-relay function is enabled and the anti-relay state is entered.

[0069] It can be seen that the anti-relay method for keyless entry and start system provided by the present invention first detects the state of the smart key in real time and determines whether the state of the smart key meets the preset anti-relay optimization start condition, and sends a request information for locating the smart key to the vehicle-mounted device of the target vehicle when the preset anti-relay optimization start condition is met, so as to accurately obtain the location information of the smart key, so as to enable the anti-relay function only when the smart key is outside the target vehicle, and not enable the anti-relay function when the smart key is inside the target vehicle and enter the normal working state. That is, after the smart key is stationary in the target vehicle for a certain period of time, it does not affect the user to start the vehicle; when the key is stationary outside the target vehicle for a certain period of time, the keyless entry and start anti-relay function can also be effectively enabled. The present invention can effectively solve the conflict between the keyless start anti-relay function and the user experience, not only has a good anti-relay function, but also can improve the user experience, without increasing any hardware cost. Further, the positioning process of the smart key is mainly implemented by the vehicle-mounted device (such as the body controller), the requirements for the smart key are relatively low, the changes are small, and it is easy to implement.

[0070] Preferably, in some of the exemplary embodiments, see Figure 2 , Figure 2 for Figure 1 A flowchart of a specific example of step SA1 in FIG. Figure 2 It can be seen that the real-time detection of the state of the smart key in step SA1 and the determination of whether the state of the smart key meets the preset anti-relay optimization start condition include:

[0071] The state of the smart key is detected in real time, and when the movement of the smart key is detected, the following steps are performed:

[0072] SA11: exit the anti-relay state and clear the first timer;

[0073] SA12: Detect the state of the smart key in real time. If the movement of the smart key is detected, execute step SA11; if the movement of the smart key is not detected, control the first timer to count, and execute step SA13;

[0074] SA13: Determine whether the timing duration of the first timer is greater than or equal to a first preset duration. If so, the state of the smart key meets the preset anti-relay optimization start condition; if not, execute step SA12.

[0075] Therefore, the anti-relay method for a keyless entry and starting system provided by the present invention can improve the accuracy and sensitivity of the smart key anti-relay by clearing the first timer when the movement of the smart key is detected and monitoring the length of time the smart key is stationary through the first timer.

[0076] It should be noted that, as can be understood by those skilled in the art, the present invention does not impose any limitation on the first preset duration. Exemplarily, the first preset duration is preferably any value between 60s-600s, and preferably, the first preset duration can be 120s. It should be further noted that, according to the above description, those skilled in the art should be able to understand that the anti-relay method for keyless entry and start system provided by the present invention detects whether the state of the smart key is motion or static in real time, and only when the motion of the smart key is detected, it is possible to change the working state of the smart key; after the above steps SA2 and SA3, the smart key is in a normal working state or in a steady state of an anti-relay state, unless the motion of the smart key is detected again so that the smart key operates in a normal working state (if the last working state of the smart key is an anti-relay state, then exit the anti-relay state), and when the duration of its continuous static state is detected again to exceed the first preset duration, steps SA2 and SA3 will be executed; otherwise, the smart key will always maintain the original working state, and only step SA1 of real-time detection of the state of the smart key will be executed, and steps SA2 and SA3 will not be executed again. Furthermore, when executing step SA3 so that the smart key is in a normal working state or in a steady state of an anti-relay state, as one of the preferred implementations, it is recommended to clear the first timer at the same time.

[0077] It should be further explained that those skilled in the art should be able to understand that the present invention does not impose any limitation on the specific method of detecting whether the smart key is moving or stationary, including but not limited to detecting whether the smart key is moving or stationary by a motion sensor of the smart key.

[0078] Preferably, in some exemplary embodiments, step SA13 determines whether the timing duration of the first timer is greater than or equal to the first preset duration. If so, the state of the smart key meets the preset anti-relay optimization start condition; if not, step SA12 is executed, which specifically includes:

[0079] If the timing duration of the first timer is greater than or equal to the first preset duration and the smart key does not receive an RKE (Remote Keyless Entry) button during the timing of the first timer, the state of the smart key meets the preset anti-relay optimization start condition; otherwise, execute step SA12.

[0080] Therefore, the anti-relay method for the keyless entry and start system provided by the present invention determines that the preset anti-relay optimization start condition is met only when the static state of the smart key lasts for a period longer than the first preset time and no PKE button is received, further improving the robustness of the anti-relay method for the keyless entry and start system provided by the present invention. For example, in some implementations in which a motion sensor is used to detect whether the state of the smart key is moving or stationary, it can effectively avoid the situation in which the vehicle-mounted device cannot respond to the key-finding function due to entering the anti-relay state when the motion sensor fails. In other words, when the smart key receives the PKE button, it also considers that the detected state of the smart key is moving, not stationary.

[0081] Preferably, in some exemplary embodiments, Figure 3a for Figure 1 A schematic diagram of a specific example of step SA2; Figure 3b for Figure 1 A flowchart of a specific example of step SA2 in FIG. Figure 3b It is not difficult to see that step SA2 sends a request message for locating the smart key to the onboard device of the target vehicle, so that the onboard device generates feedback information according to the request information and sends the feedback information to the smart key, including:

[0082] SA21: Sending first high-frequency information for locating the smart key 110 to the vehicle-mounted device 120, so that the vehicle-mounted device 120 generates first low-frequency information according to preset configuration information of the smart key 110 and the first high-frequency information;

[0083] SA22: receiving and detecting the received first low-frequency information to obtain a real-time carrier field strength value (Received Signal Strength Indication, RSSI) of the first low-frequency information;

[0084] SA23: Send the second high-frequency information including the real-time carrier field strength value to the vehicle-mounted device 120, so that the vehicle-mounted device 120 generates the position information according to the real-time carrier field strength value and the preset carrier field strength value and sends the position information to the smart key 110 through the feedback information.

[0085] Therefore, in the anti-relay method for a keyless entry and starting system provided by the present invention, when the continuous static time of the smart key 110 meets the requirement for starting the anti-relay function, the smart key 110 automatically sends the first high-frequency information for locating the smart key 110 to the vehicle-mounted device 120, so as to obtain the real-time carrier field strength value of the first low-frequency information returned by the vehicle-mounted device 120, and sends the real-time carrier field strength value to the vehicle-mounted device 120 through the second high-frequency information, so that the vehicle-mounted device 120 can obtain the location information of the smart key 110 according to the returned real-time carrier field strength value and the preset carrier field strength value, and send it to the smart key 110 through feedback information, so that the smart key 110 can decide whether to turn on the anti-relay function according to the location information of the smart key 110, thereby effectively resolving the conflict between the keyless start anti-relay function and the user experience, and not only has a better anti-relay function, but also can improve the user experience without increasing any hardware cost.

[0086] Preferably, in some exemplary embodiments, after sending the request information for locating the smart key 110 to the onboard device 120 of the target vehicle 100 in step SA21, the anti-relay method further includes:

[0087] If the smart key 110 does not receive the feedback information within a second preset time period after sending the request information, it is determined that the smart key 110 is located outside the target vehicle 100, and the anti-relay function is activated and enters the anti-relay state.

[0088] Therefore, the anti-relay method for the keyless entry and starting system provided by the present invention, in which the situation in which the smart key 110 does not receive the feedback information within the second preset time period after sending the request information is determined to be that the smart key 110 is located outside the target vehicle 100, can further enhance the anti-relay effect and safety of the anti-relay method provided by the present invention.

[0089] It should be noted that, as can be understood by those skilled in the art, the present invention does not impose any limitation on the second preset duration. Exemplarily, the second preset duration is preferably any value between 2s and 15s, and preferably, the first preset duration can be 6s. When the present invention is implemented, the smart key can send the request message or clear the second timer and start timing. If the feedback information has not been received when the timing duration of the second timer is equal to or greater than the second preset duration, it is determined that the smart key is outside the target vehicle to activate the anti-relay function.

[0090] It should be noted that those skilled in the art should be able to understand that the present invention does not limit the timing method of the first timer and the second timer. In some embodiments, the positive timing method as described above can be used to compare the timing duration with the preset duration to determine whether there is a timeout; in other embodiments, the countdown method can also be used to determine whether there is a timeout by judging whether the countdown has terminated.

[0091] For example, see Figure 4 , Figure 4 A schematic diagram of a specific example of an anti-relay method for a keyless entry and start system provided by a first embodiment of the present invention. Figure 4 It can be seen that the anti-relay method for keyless entry and start system provided by the present invention is interactively implemented by the smart key and the body controller (equivalent to the vehicle-mounted device). In this example, the motion sensor of the smart key detects the state of the smart key in real time. If motion is detected, the smart key exits the anti-relay state and the 120s timer is reset; if no motion is detected, timing is performed, and it is determined whether the timing duration exceeds 120s and the RKE button is not received within the timing duration: if not (i.e. the timing duration is less than 120s or the PKE button is received within the timing duration), it returns to continue to detect the state of the smart key; if (i.e. the timing duration is greater than or equal to 120s and the PKE button is not received within the timing duration), a request message for locating the smart key is sent to the body controller (i.e. the vehicle-mounted device) of the target vehicle; the body controller drives the low-frequency antenna to send a low-frequency signal for finding the key to determine the location of the smart key, and the body controller sends the location information of the smart key to the smart key through feedback information. If the smart key receives feedback information that the smart key is inside the target vehicle within 6 seconds, it means that the smart key is inside the target vehicle, the anti-relay function is not turned on and the smart key enters a normal working state, and the first timer is reset; otherwise, it means that the smart key is outside the target vehicle, the anti-relay function is turned on and the smart key enters an anti-relay state, and the smart key no longer responds to the low-frequency signal for finding the key; the first timer is reset.

[0092] Corresponding to the anti-relay method for a keyless entry and start system provided by the first embodiment, which is performed by a smart key, the anti-relay method for a keyless entry and start system provided by the second embodiment of the present invention is performed by an onboard device of the target vehicle. Figure 5 , Figure 5 The overall flow chart of the anti-relay method for a keyless entry and start system provided by the second embodiment of the present invention is as follows. Figure 5 It can be seen that the anti-relay method provided in this embodiment includes the following steps:

[0093] SB1: receiving a request message for locating the smart key sent by the smart key of the target vehicle; the request message is sent after the smart key determines that the state of the smart key meets a preset anti-relay optimization start condition during the process of the smart key detecting the state of the smart key in real time;

[0094] SB2: generating feedback information according to the request information;

[0095] SB3: Send the feedback information to the smart key so that the smart key obtains the location information of the smart key according to the feedback information, and when the smart key is located in the target vehicle, the smart key does not turn on the anti-relay function and enters a normal working state; otherwise, the smart key starts the anti-relay function and enters an anti-relay state; wherein the feedback information includes the location information of the smart key; the location information is one of the two: the smart key is located in the target vehicle and the smart key is located outside the target vehicle.

[0096] Since the anti-relay method for the keyless entry and start system provided in this embodiment and the anti-relay method for the keyless entry and start system provided in the first embodiment of the present invention belong to the same inventive concept, therefore, for the beneficial effects of the anti-relay method for the keyless entry and start system provided in this embodiment, please refer to the relevant description of the beneficial effects of the anti-relay method for the keyless entry and start system provided in the first embodiment above, and no further description will be given here. In addition, since the anti-relay method for the keyless entry and start system provided in this embodiment and the anti-relay method for the keyless entry and start system provided in the first embodiment of the present invention have the same basic principles, in order to avoid redundancy, only the parts not described in the first embodiment will be described below. For the parts not described in this embodiment, please refer to the relevant description of the first embodiment above for adaptive understanding, and no further description will be given here.

[0097] Preferably, in some exemplary embodiments, the receiving request information sent by the smart key of the target vehicle for locating the smart key, generating feedback information according to the request information, and sending the feedback information to the smart key includes:

[0098] Receiving first high-frequency information sent by the smart key for locating the smart key;

[0099] Generate first low-frequency information according to preset smart key configuration information and the first high-frequency information, and send the first low-frequency information to the smart key, so that the smart key detects the first low-frequency information and obtains a real-time carrier field strength value of the first low-frequency information;

[0100] receiving the second high frequency information including the real-time carrier field strength value sent by the smart key, and generating the position information according to the real-time carrier field strength value and the preset carrier field strength value;

[0101] The position information is sent to the smart key through the feedback information.

[0102] Therefore, the anti-relay method for the keyless entry and start system provided in this embodiment generates the first low-frequency information according to the preset smart key configuration information and the first high-frequency information, which can avoid illegal requests for locating the key and reduce the risk of the target vehicle being stolen. Furthermore, the design method of multiple interactions between the smart key and the vehicle-mounted device, including the first high-frequency information for locating the smart key, the first low-frequency information that can detect the real-time carrier field strength value, the second high-frequency information containing the real-time carrier field strength value, and the feedback information with location information, can further reduce the risk of the target vehicle being stolen.

[0103] Preferably, in some exemplary implementations, generating the location information according to the real-time carrier field strength value and the preset carrier field strength value includes:

[0104] If the real-time carrier field strength value is greater than or equal to the preset carrier field strength value, the smart key is located inside the target vehicle; otherwise, the smart key is located outside the target vehicle.

[0105] Therefore, the anti-relay method for keyless entry and start system provided by the present invention determines whether the smart key is located inside or outside the target vehicle according to the preset carrier field strength value and the real-time carrier field strength value by the vehicle-mounted device. Not only is the change to the smart key small, but the logic is simple and easy to implement. It should be noted that those skilled in the art can understand that the present invention does not impose any restrictions on the number of smart keys of the target vehicle. The number of smart keys of the target vehicle can be any number such as 1, 2 or 3. Further, the present invention does not impose any restrictions on the specific value and acquisition method of the preset carrier field strength value. For example, for a vehicle with 2 or more smart keys, the preset carrier field strength values ​​corresponding to all smart keys can be the same or different; the preset carrier field strength value can be determined by calibration or based on experience, and there are no excessive restrictions on this.

[0106] Preferably, in some preferred embodiments, the first high-frequency information includes but is not limited to the slot number and ID of the smart key; the preset smart key configuration information may include but is not limited to the identification information of all smart keys of the target vehicle, and the identified information includes but is not limited to the slot number and ID of the smart key. In addition to the positioning information of the smart key, the feedback information may also include but is not limited to the slot number and ID of the smart key that sends the positioning request.

[0107] In order to facilitate the understanding of the present invention, the following is an example of a target vehicle with two smart keys A and B to illustrate the anti-relay method for the keyless entry and start system provided by this embodiment. The preset smart key configuration information of the vehicle-mounted device of the target vehicle includes the slot number K1 of the smart key A and the slot number K2 of the smart key B. According to the preset smart key configuration information, the vehicle-mounted device only responds to the first high-frequency information sent by the smart key A and the smart key B for locating the smart key; if the smart key A and the smart key B both send the first high-frequency information of the positioning request to the vehicle-mounted device, since the feedback information contains the slot number or ID of the smart key, therefore, for the smart keys A and B, when receiving the feedback information, they can determine whether the location information of the smart key in the feedback information is the positioning request issued by themselves according to the slot number or ID in the feedback information, thereby further improving the robustness and security of the anti-relay method for the keyless entry and start system provided by the present invention.

[0108] Corresponding to the first embodiment described above, the third embodiment of the present invention provides a smart key 110 for a keyless entry and start system. Figure 3a and Figure 6 , Figure 6 The block diagram of the smart key 110 for the keyless entry and start system provided in this embodiment. Figure 6It can be seen that the smart key 110 provided in this embodiment includes a motion sensor 111, a first processing unit 112, a first signal transmitting unit 113 and a first signal receiving unit 114. Exemplarily, the motion sensor 111 is configured to detect the state of the smart key 110 in real time. The first processing unit 112 is configured to determine whether the state of the smart key 110 meets the preset anti-relay optimization start condition according to the detection result of the motion sensor 111. If so, the first signal transmitting unit 113 is controlled to send a request information for locating the smart key 110 to the vehicle-mounted device 120 of the target vehicle 100, so that the vehicle-mounted device 120 generates feedback information according to the request information and sends the feedback information to the smart key 110; the feedback information includes the location information of the smart key 110; the location information is one of the two that the smart key 110 is located inside the target vehicle 100 and the smart key 110 is located outside the target vehicle 100. The first signal receiving unit 114 is configured to receive the feedback information. The first processing unit 112 is further configured to, if it is determined according to the received feedback information that the smart key 110 is located in the target vehicle 100, not to activate the anti-relay function and enter a normal working state; otherwise, to activate the anti-relay function and enter an anti-relay state.

[0109] Since the smart key 110 provided by the present invention and the anti-relay method for a keyless entry and starting system provided by the present invention belong to the same inventive concept, the smart key 110 provided by the present invention at least has all the advantages of the anti-relay method for a keyless entry and starting system provided by the present invention. For details on the beneficial effects of the smart key 110 provided by the present invention, please refer to the above description of the beneficial effects of the anti-relay method for a keyless entry and starting system provided by the present invention, which will not be repeated here. Furthermore, since the basic principle of the smart key 110 provided by the present invention is the same as the basic principle of the anti-relay method for a keyless entry and starting system provided by Example 1 of the present invention, for more detailed contents of the smart key 110 provided by the present invention, please refer to the above description of the anti-relay method for a keyless entry and starting system provided by Example 1, which will be adaptively understood, and will not be repeated here.

[0110] It should be noted that, as can be understood by those skilled in the art, the present invention does not limit the specific implementation of the motion sensor 111, the first processing unit 112, the first signal transmitting unit 113 and the first signal receiving unit 114. Exemplarily, the motion sensor 111 can be, but not limited to, an acceleration sensor, a gyroscope, a geomagnetic sensor, an electronic compass sensor, etc.; the first processing unit 112 can be a microprocessor (MicroProcessing Unit, MPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.; the first signal transmitting unit can be, but not limited to, a high-frequency signal transmitting device; the first signal receiving unit 114 can be, but not limited to, a high-frequency signal receiving device.

[0111] Corresponding to the second embodiment above, the fourth embodiment of the present invention provides a vehicle-mounted device 120 for a keyless entry and start system. Figure 3a and Figure 7 , Figure 7 The block diagram of the vehicle-mounted device 120 for the keyless entry and start system provided in this embodiment. Figure 7It can be seen that the vehicle-mounted device 120 provided in this embodiment includes a second signal receiving unit 121, a second processing unit 122 and a second signal transmitting unit 123. Exemplarily, the second signal receiving unit 121 is configured to receive a request message for locating the smart key 110 sent by the smart key 110 of the target vehicle 100; the request message is sent after the smart key 110 determines that the state of the smart key 110 meets the preset anti-relay optimization start condition during the process of the smart key 110 detecting the state of the smart key 110 in real time. The second processing unit 122 is configured to generate feedback information according to the request message. The second signal transmitting unit 123 is configured to send the feedback information to the smart key 110, so that the smart key 110 obtains the location information of the smart key 110 according to the feedback information, and when the smart key 110 is located in the target vehicle 100, the smart key 110 does not turn on the anti-relay function and enters a normal working state; otherwise, the smart key 110 starts the anti-relay function and enters an anti-relay state; wherein the feedback information includes the location information of the smart key 110; the location information is one of the two: the smart key 110 is located in the target vehicle 100 and the smart key 110 is located outside the target vehicle 100.

[0112] Since the vehicle-mounted device 120 provided by the present invention and the anti-relay method for a keyless entry and starting system provided by the present invention belong to the same inventive concept, the vehicle-mounted device 120 provided by the present invention at least has all the advantages of the anti-relay method for a keyless entry and starting system provided by the present invention. For details on the beneficial effects of the vehicle-mounted device 120 provided by the present invention, please refer to the above description of the beneficial effects of the anti-relay method for a keyless entry and starting system provided by the present invention, which will not be repeated here. Furthermore, since the basic principle of the vehicle-mounted device 120 provided by the present invention is the same as the basic principle of the anti-relay method for a keyless entry and starting system provided by Example 2 of the present invention, for more detailed contents of the vehicle-mounted device 120 provided by the present invention, please refer to the above description of the anti-relay method for a keyless entry and starting system provided by Example 2 for adaptive understanding, which will not be repeated here.

[0113] It should be noted that, as can be understood by those skilled in the art, the present invention does not limit the specific implementation of the vehicle-mounted device 120. Exemplarily, the vehicle-mounted device 120 may be a vehicle body controller; the second signal receiving unit 121 may be, but not limited to, a low-frequency signal receiving device; the second signal transmitting unit 123 may be, but not limited to, a low-frequency signal transmitting device; the second processing unit 122 may be a microprocessor (Micro Processing Unit, MPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The present invention does not impose too many restrictions on this.

[0114] A fifth embodiment of the present invention provides a readable storage medium, wherein a computer program is stored in the readable storage medium, and when the computer program is executed by a processor, the anti-relay method described above can be implemented. Since the readable storage medium provided by the present invention and the anti-relay method for a keyless entry and start system provided by the present invention belong to the same inventive concept, the readable storage medium provided by the present invention at least has all the advantages of the anti-relay method for a keyless entry and start system provided by the present invention. For details of the beneficial effects of the readable storage medium provided by the present invention, please refer to the above description of the beneficial effects of the anti-relay method for a keyless entry and start system provided by the present invention, which will not be repeated here.

[0115] The readable storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared or semiconductor, or any combination of the above. More specific examples (non-exhaustive examples) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer hard disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this article, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0116] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0117] Computer program code for performing the operation of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0118] Compared with the prior art, the anti-relay method, smart key, vehicle-mounted device and readable storage medium provided by the present invention have the following advantages:

[0119] The anti-relay method for keyless entry and start system provided by the present invention first detects the state of the smart key in real time and determines whether the state of the smart key meets the preset anti-relay optimization start condition, and sends a request information for locating the smart key to the vehicle-mounted device of the target vehicle when the preset anti-relay optimization start condition is met, so as to accurately obtain the location information of the smart key, so as to enable the anti-relay function only when the smart key is outside the target vehicle, and not enable the anti-relay function when the smart key is inside the target vehicle and enter the normal working state. That is, after the smart key is stationary in the target vehicle for a certain period of time, it does not affect the user to start the vehicle; when the key is stationary outside the target vehicle for a certain period of time, the keyless entry and start anti-relay function can also be effectively enabled. The present invention can effectively solve the conflict between the keyless start anti-relay function and the user experience, not only has a good anti-relay function, but also can improve the user experience without increasing any hardware cost. Further, the positioning process of the smart key is mainly implemented by the vehicle-mounted device (such as the body controller), the requirements for the smart key are relatively low, the changes are small, and it is easy to implement.

[0120] Since the smart key, vehicle-mounted device and readable storage medium provided by the present invention belong to the same inventive concept as the anti-relay method for a keyless entry and starting system provided by the present invention, the smart key, vehicle-mounted device and readable storage medium provided by the present invention at least have all the advantages of the anti-relay method for a keyless entry and starting system provided by the present invention. For details on the beneficial effects of the smart key, vehicle-mounted device and readable storage medium provided by the present invention, please refer to the above description of the beneficial effects of the anti-relay method for a keyless entry and starting system provided by the present invention, and no further details will be given here.

[0121] It should be noted that the anti-relay method for a keyless entry and start system and a readable storage medium provided by the present invention can be applied to the smart key and / or vehicle-mounted device provided by the present invention, and the anti-relay method for a keyless entry and start system, the smart key, the vehicle-mounted device and the readable storage medium provided by the present invention can be applied to a vehicle. It should be understood that the terms "vehicle" or "vehicle-borne" or other similar terms used herein include general motor vehicles, such as passenger vehicles including sport utility vehicles (SUVs), buses, trucks, and various commercial vehicles, and include hybrid vehicles, electric vehicles, plug-in hybrid electric vehicles, fuel cell vehicles and other alternative fuel vehicles (e.g., fuels obtained from resources other than petroleum).

[0122] It should be noted that the devices and methods disclosed in the embodiments of this article can also be implemented in other ways. The device implementation described above is only schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of this article. In this regard, each box in the flowchart or block diagram can represent a part of a module, program or code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system for performing a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0123] In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0124] The above description is only a description of the preferred embodiments of the anti-relay method, smart key, vehicle-mounted device and readable storage medium provided by the present invention, and is not intended to limit the scope of the present invention. Any changes and modifications made by ordinary technicians in the field of the present invention based on the above disclosures are within the scope of protection of the present invention. Obviously, technicians in this field can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations fall within the scope of the present invention and its equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims

1. An anti-relay method for a keyless entry and start system, characterized in that: The anti-relay method is executed by the smart key of the target vehicle, comprising: Detect the state of the smart key in real time, and determine whether the state of the smart key meets the preset anti-relay optimization start condition. If so, perform the following steps: Sending a request message for locating the smart key to the onboard device of the target vehicle, so that the onboard device generates feedback information according to the request message and sends the feedback information to the smart key; the feedback information includes the location information of the smart key; the location information is one of the two that the smart key is located inside the target vehicle and the smart key is located outside the target vehicle; If it is determined according to the received feedback information that the smart key is located in the target vehicle, the anti-relay function is not enabled and the normal working state is entered; otherwise, the anti-relay function is enabled and the anti-relay state is entered.

2. The anti-relay method according to claim 1, characterized in that: The real-time detection of the state of the smart key and the determination of whether the state of the smart key satisfies a preset anti-relay optimization start condition include: The state of the smart key is detected in real time, and when the movement of the smart key is detected, the following steps are performed: SA11: exit the anti-relay state and clear the first timer; SA12: Detect the state of the smart key in real time. If the movement of the smart key is detected, execute step SA11; if the movement of the smart key is not detected, control the first timer to count, and execute step SA13; SA13: Determine whether the timing duration of the first timer is greater than or equal to a first preset duration. If so, the state of the smart key meets the preset anti-relay optimization start condition; if not, execute step SA12.

3. The anti-relay method according to claim 2, characterized in that: Determine whether the timing duration of the first timer is greater than or equal to a first preset duration, and if so, the state of the smart key meets the preset anti-relay optimization start condition; If not, then execute step SA12, including: If the timing duration of the first timer is greater than or equal to the first preset duration and the smart key does not receive the RKE button during the timing of the first timer, the state of the smart key satisfies the preset anti-relay optimization start condition; Otherwise, execute step SA12.

4. The anti-relay method according to claim 1, characterized in that: Sending request information for locating the smart key to the onboard device of the target vehicle, so that the onboard device generates feedback information according to the request information and sends the feedback information to the smart key, comprising: Sending first high-frequency information for locating the smart key to the vehicle-mounted device, so that the vehicle-mounted device generates first low-frequency information according to preset smart key configuration information and the first high-frequency information; receiving and detecting the received first low-frequency information to obtain a real-time carrier field strength value of the first low-frequency information; Sending second high-frequency information including the real-time carrier field strength value to the vehicle-mounted device, so that the vehicle-mounted device generates the position information according to the real-time carrier field strength value and the preset carrier field strength value and sends the position information to the smart key through the feedback information.

5. The anti-relay method according to claim 1, characterized in that: After sending the request information for locating the smart key to the on-board device of the target vehicle, the anti-relay method further includes: If the smart key does not receive the feedback information within a second preset time period after sending the request information, it is determined that the smart key is outside the target vehicle, and an anti-relay function is activated and the anti-relay state is entered.

6. An anti-relay method for a keyless entry and start system, characterized in that: The anti-relay method is performed by an on-board device of a target vehicle, comprising: Receiving a request message for locating the smart key sent by the smart key of the target vehicle; the request message is sent after the smart key determines that the state of the smart key meets a preset anti-relay optimization start condition during the process of the smart key detecting the state of the smart key in real time; generating feedback information according to the request information; The feedback information is sent to the smart key, so that the smart key obtains the location information of the smart key according to the feedback information, and when the smart key is located in the target vehicle, the smart key does not start the anti-relay function and enters a normal working state; otherwise, the smart key starts the anti-relay function and enters an anti-relay state; The feedback information includes location information of the smart key; the location information is one of: the smart key is located inside the target vehicle and the smart key is located outside the target vehicle.

7. The anti-relay method according to claim 6, characterized in that: The receiving request information sent by the smart key of the target vehicle for locating the smart key, generating feedback information according to the request information, and sending the feedback information to the smart key includes: Receiving first high-frequency information sent by the smart key for locating the smart key; Generate first low-frequency information according to preset smart key configuration information and the first high-frequency information, and send the first low-frequency information to the smart key, so that the smart key detects the first low-frequency information and obtains a real-time carrier field strength value of the first low-frequency information; receiving the second high frequency information including the real-time carrier field strength value sent by the smart key, and generating the position information according to the real-time carrier field strength value and the preset carrier field strength value; The position information is sent to the smart key through the feedback information.

8. The anti-relay method according to claim 7, characterized in that: The generating the location information according to the real-time carrier field strength value and the preset carrier field strength value includes: If the real-time carrier field strength value is greater than or equal to the preset carrier field strength value, the smart key is located inside the target vehicle; otherwise, the smart key is located outside the target vehicle.

9. A smart key for a keyless entry and start system, characterized in that: The smart key includes a motion sensor, a first processing unit, a first signal transmitting unit and a first signal receiving unit; The motion sensor is configured to detect the state of the smart key in real time; The first processing unit is configured to determine whether the state of the smart key meets the preset anti-relay optimization start condition according to the detection result of the motion sensor, and if so, control the first signal transmitting unit to send a request information for locating the smart key to the vehicle-mounted device of the target vehicle, so that the vehicle-mounted device generates feedback information according to the request information and sends the feedback information to the smart key; the feedback information includes the location information of the smart key; the location information is one of the two that the smart key is located inside the target vehicle and the smart key is located outside the target vehicle; The first signal receiving unit is configured to receive the feedback information; The first processing unit is further configured to, if it is determined according to the received feedback information that the smart key is located in the target vehicle, not enable the anti-relay function and enter a normal working state; otherwise, enable the anti-relay function and enter an anti-relay state.

10. A vehicle-mounted device for a keyless entry and start system, characterized in that: The vehicle-mounted device comprises a second signal receiving unit, a second processing unit and a second signal transmitting unit; The second signal receiving unit is configured to receive a request message sent by a smart key of a target vehicle for locating the smart key; The request information is sent after the smart key determines that the state of the smart key meets the preset anti-relay optimization start condition during the process of the smart key detecting the state of the smart key in real time; The second processing unit is configured to generate feedback information according to the request information; The second signal transmitting unit is configured to send the feedback information to the smart key, so that the smart key obtains the location information of the smart key according to the feedback information, and when the smart key is located in the target vehicle, the smart key does not turn on the anti-relay function and enters a normal working state; otherwise, the smart key starts the anti-relay function and enters an anti-relay state; wherein the feedback information includes the location information of the smart key; the location information is one of the two that the smart key is located in the target vehicle and the smart key is located outside the target vehicle.

11. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the anti-relay method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Method and system for relay attack prevention incorporating motion

    CN111542460A

  • Relay attack prevention method, readable storage medium and intelligent equipment

    CN111775887A

  • Intelligent key and PEPS with same

    CN204055716U

  • Electronic key system and electronic key

    JP2011052505A

  • Electronic key and method for operating an electronic key

    WO2020126590A1