Vehicle locking method and device and electronic equipment

By sending a first signal including a sequence identifier in the vehicle's locking method, instructing the smart key to send a second signal with different delay times, and controlling the vehicle to lock when the field strength value meets the conditions, the problem of automatic locking failure caused by interference from multiple smart keys is solved, and normal vehicle locking is achieved.

CN120708311APending Publication Date: 2025-09-26BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410347040.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2025-09-26

AI Technical Summary

Technical Problem

When a user carries multiple smart keys, the RF signals fed back between the multiple smart keys will produce co-frequency interference, making it impossible for the vehicle to perform the automatic locking function normally.

Method used

When the locking conditions are met, a first signal is sent, which includes the sequential identification of the smart keys that have been matched with the vehicle, indicating that the delay time for each key to send the second signal after receiving the first signal is different, and the frequency of the second signal is higher than the frequency of the first signal. The second signal sent by the smart key is received and the vehicle is locked when the field strength value is less than or equal to the threshold.

Benefits of technology

This avoids the same-frequency interference caused by multiple smart keys sending signals at the same time, ensuring that the vehicle can normally realize the automatic locking function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120708311A_ABST
    Figure CN120708311A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a vehicle locking method and device and electronic equipment, which are used for solving the problem that when a user carries a plurality of intelligent keys of a vehicle, RF signals fed back among the intelligent keys can generate same-frequency interference, so that the vehicle cannot normally receive the RF signals, and the vehicle cannot normally receive the RF signals. Therefore, the problem that the vehicle cannot normally realize the automatic locking function is solved. The method comprises the following steps: sending a first signal under the condition that a locking condition is met; receiving a second signal sent by the intelligent key; and when the field intensity value in the second signal is smaller than or equal to the intensity threshold value, a vehicle lock of the vehicle is controlled to be locked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle locking method, device, and electronic device. Background Art

[0002] At present, vehicles can periodically send LF (low frequency) signals through the low-frequency antenna arranged on the vehicle. After receiving the LF signal, the vehicle's smart key replies with an RF (high frequency) signal to the vehicle, so that the vehicle can realize the automatic locking function of the vehicle based on the RF signal feedback from the smart key.

[0003] However, when the user carries multiple smart keys for the vehicle, the RF signals fed back between the multiple smart keys will produce co-frequency interference, making it impossible for the vehicle to receive the RF signal normally, and thus causing the vehicle to be unable to perform the automatic locking function normally. Summary of the Invention

[0004] In order to solve the above technical problems, the present disclosure provides a vehicle locking method, device and electronic device.

[0005] To achieve the above objectives, the present disclosure adopts the following technical solutions:

[0006] In a first aspect, the present disclosure provides a method for locking a vehicle, comprising: sending a first signal when a locking condition is met; wherein the first signal includes a sequence identifier of each smart key of at least two smart keys that have been matched with the vehicle, and the sequence identifier is used to indicate a delay time for each smart key to send a second signal after receiving the first signal, and different smart keys have different corresponding delay times; the second signal includes a field strength value corresponding to when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal; receiving the second signal sent by the smart key; and when the field strength value in the second signal is less than or equal to the intensity threshold, controlling the vehicle lock to lock.

[0007] In some feasible examples, when the locking condition is met, a first signal is sent, including: when the locking condition is met, obtaining the historical moment when each of at least two smart keys that have matched the vehicle last opened the vehicle; generating a sequence identifier for each smart key according to the chronological order of the historical moments; wherein one sequence identification corresponds to one historical moment; based on the sequence identifier, generating a first signal including the sequence identifier, and sending the first signal.

[0008] In some feasible examples, when the locking condition is met, a first signal is sent, including: when the locking condition is met, obtaining the key identification of each smart key of at least two smart keys that have been matched with the vehicle; based on the key identification, querying in a pre-configured correspondence relationship, determining the identification interval into which the key identification falls, and the identification value corresponding to the identification interval; according to the identification value, generating a sequential identification for each smart key; wherein, one sequential identification corresponds to one identification value; based on the identification value, generating a first signal including the identification value, and sending the first signal.

[0009] In some feasible examples, determining the identification interval in which the key identifier falls and the identification value corresponding to the identification interval based on a query in a preconfigured correspondence relationship based on the key identifier includes: when determining that at least two key identifiers fall into the same identification interval based on a query in a preconfigured correspondence relationship, using the actual identification value of the target position of the key identifier that falls into the same identification interval as the identification value corresponding to the key identifier; wherein, the actual identification value of each key identifier that falls into the same identification interval is different at the target position.

[0010] In some feasible examples, when the locking condition is met, a first signal is sent, including: when the locking condition is met, obtaining the historical moment when each of at least two smart keys that have matched the vehicle last opened the vehicle; based on the historical moment, determining the actual difference between the historical moment and the current moment; based on the actual difference, querying a pre-configured specified relationship, determining the difference interval into which the actual difference falls, and the delay time corresponding to the difference interval; generating a sequence identification for each smart key according to the delay time; wherein one sequence identification corresponds to one delay time; based on the sequence identification, generating a first signal including the sequence identification, and sending the first signal.

[0011] In some feasible examples, the locking condition includes: there are no passengers in the vehicle cabin, the vehicle power is turned off, all the vehicle doors are closed, and the doors are not locked.

[0012] In a second aspect, the present disclosure provides a locking device for a vehicle, comprising: a processing unit, for controlling a transceiver unit to send a first signal when a locking condition is met; wherein the first signal includes a sequence identifier of each smart key of at least two smart keys that have been matched with the vehicle, and the sequence identifier is used to indicate a delay time for each smart key to send a second signal after receiving the first signal, and different smart keys have different corresponding delay times; the second signal includes a field strength value corresponding to when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal; a transceiver unit, for receiving the second signal sent by the smart key; and the processing unit, further for controlling the vehicle lock to lock when the field strength value in the second signal received by the transceiver unit is less than or equal to the intensity threshold.

[0013] In some feasible examples, the processing unit is specifically used to control the transceiver unit to obtain the historical moment when each of the at least two smart keys matched with the vehicle last unlocked the vehicle when the locking condition is met; the processing unit is specifically used to generate a sequence identifier for each smart key according to the chronological order of the historical moments obtained by the transceiver unit; wherein one sequence identification corresponds to one historical moment; the processing unit is specifically used to generate a first signal including the sequence identifier based on the sequence identifier, and send the first signal.

[0014] In some feasible examples, the processing unit is specifically used to control the transceiver unit to obtain the key identification of each smart key of at least two smart keys matched with the vehicle when the locking condition is met; the processing unit is specifically used to query in a pre-configured correspondence based on the key identification, determine the identification interval into which the key identification falls, and the identification value corresponding to the identification interval; the processing unit is specifically used to generate a sequential identification for each smart key according to the identification value; wherein, one sequential identification corresponds to one identification value; the processing unit is specifically used to generate a first signal including the identification value based on the identification value, and send the first signal.

[0015] In some feasible examples, the processing unit is specifically used to query in a preconfigured correspondence based on the key identification, and when it is determined that at least two key identifications fall into the same identification interval, the actual identification value of the target position of the key identification falling into the same identification interval is used as the identification value corresponding to the key identification; wherein, the actual identification value of each key identification falling into the same identification interval at the target position is different.

[0016] In some feasible examples, the processing unit is specifically used to control the transceiver unit to obtain the historical moment when each of the at least two smart keys matched with the vehicle last opened the vehicle when the locking condition is met; the processing unit is specifically used to determine the actual difference between the historical moment and the current moment based on the historical moment obtained by the transceiver unit; the processing unit is specifically used to query the pre-configured designated relationship based on the actual difference, determine the difference interval into which the actual difference falls, and the delay time corresponding to the difference interval; the processing unit is specifically used to generate a sequence identification for each smart key according to the delay time; wherein, one sequence identification corresponds to one delay time; the processing unit is specifically used to generate a first signal including the sequence identification based on the sequence identification, and send the first signal.

[0017] In some feasible examples, the locking condition includes: there are no passengers in the vehicle cabin, the vehicle power is turned off, all the vehicle doors are closed, and the doors are not locked.

[0018] In a third aspect, the present disclosure provides an electronic device comprising: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to enable the electronic device to implement the vehicle locking method provided in the first aspect above when executing the computer program.

[0019] In a fourth aspect, the present disclosure provides a computer-readable storage medium, comprising: a computer program stored on the computer-readable storage medium, which, when executed by a computing device, enables the computing device to implement the vehicle locking method provided in the first aspect above.

[0020] In a fifth aspect, the present disclosure provides a vehicle, comprising the locking device of any vehicle provided in the second aspect.

[0021] In this disclosure, the names of the aforementioned vehicle locking devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those disclosed herein, they are within the scope of the claims of this disclosure and their equivalents.

[0022] These and other aspects of the present disclosure will become more apparent from the following description.

[0023] The technical solution provided by the present disclosure has the following advantages compared with the existing technology:

[0024] The vehicle locking method provided by the present disclosure transmits a first signal when locking conditions are met. The first signal includes a sequence identifier for each of at least two smart keys paired with the vehicle, the sequence identifier indicating the delay time for each smart key to transmit a second signal after receiving the first signal, with different smart keys corresponding to different delay times. The second signal includes a corresponding field strength value when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal. Thus, after receiving the first signal, the smart key can transmit the second signal according to the delay time in the first signal. Because each smart key has a different delay time, each smart key can transmit the second signal according to the corresponding delay time, thereby preventing multiple smart keys from transmitting the second signal simultaneously after receiving the first signal. Thereafter, the second signal sent by the smart key is received; when the field strength value in the second signal is less than or equal to a strength threshold, the vehicle locks are controlled to lock. This solves the problem that when a user carries multiple smart keys for the vehicle, the RF signals fed back by the multiple smart keys will generate co-channel interference, preventing the vehicle from properly receiving the RF signal and, in turn, preventing the vehicle from automatically locking. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0026] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0027] Figure 1 One of the flowcharts of a vehicle locking method provided by an embodiment of the present disclosure;

[0028] Figure 2 A second flow chart of a vehicle locking method provided in an embodiment of the present disclosure;

[0029] Figure 3 A third flow chart of a vehicle locking method provided in an embodiment of the present disclosure;

[0030] Figure 4 A fourth flowchart of a vehicle locking method provided by an embodiment of the present disclosure;

[0031] Figure 5 A fifth flowchart of a vehicle locking method provided by an embodiment of the present disclosure;

[0032] Figure 6 A schematic structural diagram of a vehicle locking device provided in an embodiment of the present disclosure;

[0033] Figure 7 A schematic structural diagram of a vehicle-mounted terminal provided in an embodiment of the present disclosure;

[0034] Figure 8 A schematic structural diagram of a computer program product for a vehicle locking method provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.

[0036] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0037] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0038] The vehicle locking method in the embodiments of this application is executed by the vehicle's locking device. The vehicle locking device may be installed in a server or other device, and this embodiment is not limited to this. For example, when the vehicle locking device is installed in an automobile, a new energy vehicle, or an intelligent connected vehicle, the vehicle locking method provided in the embodiments of this disclosure is executed by the vehicle's processor.

[0039] For example, the locking method for a vehicle provided by an embodiment of the present disclosure is introduced by taking an automobile as an example in which the executing entity of the locking method for a vehicle provided by an embodiment of the present disclosure is an automobile.

[0040] like Figure 1As shown, the vehicle locking method provided by the embodiment of the present disclosure includes the following steps S11-S13:

[0041] S11. When the locking condition is met, a first signal is sent. The first signal includes a sequence identifier of each of at least two smart keys paired with the vehicle, the sequence identifier indicating a delay time for each smart key to send a second signal after receiving the first signal, with different smart keys corresponding to different delay times. The second signal includes a field strength value corresponding to when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal.

[0042] In some examples, the locking condition includes: there are no passengers in the vehicle cabin, the vehicle power is turned off, all the vehicle doors are closed, and the doors are unlocked.

[0043] In some examples, the vehicle may determine whether there are passengers in the cabin using an image acquisition device (e.g., a camera) within the vehicle cabin (e.g., performing image recognition on the current cabin image captured by the image acquisition device to determine whether there are passengers in the current cabin image). Alternatively, the vehicle may determine whether there are passengers in the cabin using pressure values ​​acquired by pressure sensors located at each seat within the vehicle cabin (e.g., determining that there are passengers in the cabin if a pressure value greater than a preset pressure is present).

[0044] In some examples, the first signal may be a low-frequency signal and the second signal may be a high-frequency signal.

[0045] In some examples, a vehicle includes a Passive Entry Passive Start (PEPS) system, a front body control module (FBCM), a radio frequency receiver (RFR), a low-frequency (LF) antenna, a domain control unit (DCU), and actuators such as vehicle locks. The LF antenna and RFR are connected to the FBCM via a wiring harness. The FBCM primarily drives the LF antenna to transmit a low-frequency signal (e.g., the LF signal), interprets a second signal (e.g., the high-frequency (RF) signal) returned by the smart key after receiving the LF signal, and drives the DCU to lock the vehicle locks. The smart key is used to receive the LF signal and respond to RF signals sent by the door lock controller, as well as actively send RF signals when the smart key button is pressed. The RFR receives the RF signal sent by the smart key after receiving the LF signal and transparently transmits the RF signal to the FBCM. The FBCM can then determine whether to control the DCU to lock the vehicle locks based on the field strength of the RF signal.

[0046] In some examples, when at least two smart keys that have been matched with a vehicle receive a low-frequency signal sent by the vehicle's low-frequency antenna, the smart key dynamically adjusts its waiting time for sending an RF signal after receiving the LF signal by identifying the sequence identifier in the LF signal. In this way, the smart key can send an RF signal based on the delay time corresponding to the sequence identifier. For example, there are two smart keys that have been matched with the vehicle, namely smart key 1 and smart key 2. The delay time corresponding to the sequence identifier corresponding to smart key 1 is 0s, and the delay time corresponding to the sequence identifier corresponding to smart key 2 is 0.5s. In this way, when smart key 1 and smart key 2 both receive a low-frequency signal, smart key 1 immediately sends a high-frequency signal. Smart key 2 waits 0.5s after receiving the low-frequency signal before sending the high-frequency signal. This can avoid the problem of co-frequency interference caused by smart key 1 and smart key 2 sending high-frequency signals at the same time. S12, receiving the second signal sent by the smart key.

[0047] In some examples, each smart key corresponds to a theoretical key identifier, such as a code. Thus, when the vehicle parses the second signal and obtains the actual key identifier carried in the second signal, if the actual key identifier matches the theoretical key identifier of the smart key that has been paired with the vehicle, the vehicle continues to determine the field strength value in the second signal to prevent accidental locking.

[0048] In some examples, upon receiving a first signal, the smart key measures the field strength at the time of receipt. The smart key then transmits a second signal carrying at least that field strength value. Upon receiving the high-frequency signal from the smart key, the vehicle's radio frequency receiver module transparently transmits the high-frequency signal to the vehicle body controller. The vehicle body controller then determines whether to control the door lock controller to lock the vehicle based on the field strength value in the high-frequency signal.

[0049] In some examples, after receiving the LF signal, the smart key sends an RF signal so that the vehicle's RFR receives the RF signal fed back by the smart key in response to the LF signal sent by the vehicle. The RF signal includes key ID information, the field strength value (Received Signal Strength Indicator, RSSI) measured by the key, encryption information, etc. The vehicle's RFR transmits the received RF signal to the FBCM; after receiving the RF signal fed back by the RFR, the FBCM performs signal verification on the RF signal to identify the key identification (ID) and field strength value that sent the RF signal. In this way, the vehicle can locate the distance between the smart key and the vehicle based on the field strength value. For example, when the FBCM determines that the key identification is a smart key that has been matched with the vehicle and the field strength value is less than or equal to the strength threshold, it executes the vehicle lock (i.e., controls the vehicle lock to lock).

[0050] S13: When the field strength value in the second signal is less than or equal to the strength threshold, control the vehicle lock to lock.

[0051] In some examples, when the field strength value is less than or equal to the strength threshold, it means that the smart key is far away from the vehicle, that is, the user has moved away from the vehicle. At this time, since the vehicle has met the locking conditions, the vehicle lock can be controlled to lock, such as: the vehicle's body controller controls the door lock controller to lock the vehicle lock.

[0052] In some examples, when the field strength value is greater than the strength threshold, it means that the smart key is close to the vehicle, that is, the user is not far away from the vehicle. At this time, although the vehicle has met the locking conditions, the user cannot control the vehicle lock to lock because he is not far away from the vehicle.

[0053] In some examples, when locking the vehicle locks, all the vehicle locks are locked.

[0054] The vehicle locking method provided by the present disclosure sends a first signal when the locking conditions are met; wherein the first signal includes a sequence identifier of each smart key among at least two smart keys that have been matched with the vehicle, and the sequence identifier is used to indicate the delay time for each smart key to send a second signal after receiving the first signal, and different smart keys have different corresponding delay times. The second signal includes the corresponding field strength value when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal. In this way, after receiving the first signal, the smart key can send the second signal according to the delay time in the first signal. Since the delay time corresponding to each smart key is different, the smart key can send the second signal according to the corresponding delay time respectively, which can avoid multiple smart keys sending the second signal at the same time after receiving the first signal. Afterwards, the second signal sent by the smart key is received; when the field strength value in the second signal is less than or equal to the strength threshold, the vehicle lock is controlled to lock.

[0055] In some possible implementation examples, combined with Figure 1 ,like Figure 2 As shown, the above S11 can be specifically implemented through the following S110-S112.

[0056] S110: When a locking condition is met, obtain the historical moment when each of at least two smart keys matched with the vehicle last unlocked the vehicle.

[0057] S111: Generate a sequence identification for each smart key according to the order of historical moments, wherein one sequence identification corresponds to one historical moment.

[0058] In some examples, the vehicle's memory pre-stores a delay time corresponding to the sequence number of each smart key in the target sequence.

[0059] For example, taking the case where there are two smart keys matched with the vehicle (including smart key 1 and smart key 2) and two sequence numbers, the delay time corresponding to each sequence number in the pre-stored target sequence is shown in Table 1.

[0060] Table 1

[0061] Key logo Sequence number Delay time Logo 2 1 0s Logo 1 2 0.5s

[0062] At this point, if the historical moment when smart key 2 last unlocked the vehicle is 16:12:14 on February 20, 2024, and the historical moment when smart key 1 last unlocked the vehicle is 16:12:14 on February 21, 2024, then when sorting by the order of historical moments, since the historical moment when smart key 2 last unlocked the vehicle is earlier than the historical moment when smart key 1 last unlocked the vehicle, the corresponding sequence number for smart key 2 is 1, and the corresponding sequence number for smart key 1 is 2. At this point, based on the historical moment when the smart key last unlocked the vehicle, the vehicle generates a correspondence table for delay times as shown in Table 1. Afterwards, upon determining that the locking conditions are met, the vehicle sends a first signal carrying Table 1. After receiving the first signal sent by the vehicle, the smart key parses the first signal and obtains the correspondence table carried in the first signal. The smart key then queries the correspondence table based on the key identifier to obtain the delay time corresponding to the smart key. For example, smart key 1 queries the corresponding table based on key identifier (identifier 1) and determines the delay time is 0.5s. Similarly, smart key 2 queries the corresponding table based on key identifier (identifier 2) and determines the delay time is 0s. Thus, when both smart key 1 and smart key 2 receive the first signal, smart key 2 immediately transmits the second signal. After receiving the low-frequency signal, smart key 1 waits 0.5s before transmitting the second signal.

[0063] S112: Generate a first signal including the sequence identifier based on the sequence identifier, and send the first signal.

[0064] In some possible implementation examples, combined with Figure 1 ,like Figure 3 As shown, the above S11 can be specifically implemented through the following S113-S116.

[0065] S113: When the locking condition is met, obtain a key identifier of each smart key of at least two smart keys matched with the vehicle.

[0066] S114 : Query the pre-configured corresponding relationship based on the key identifier to determine the identifier interval that the key identifier falls into and the identifier value corresponding to the identifier interval.

[0067] In some examples, since each smart key corresponds to a key identifier, an identification value corresponding to the smart key can be assigned based on the key identifier. For example, multiple identification intervals can be preconfigured, and an identification value can be assigned to each identification interval. This allows a preconfigured correspondence to be generated based on the identification intervals and the identification values ​​corresponding to the identification intervals. Subsequently, when determining the identification value corresponding to the smart key, the preconfigured correspondence can be queried based on the key identifier of the smart key to determine the identification interval within the interval where the key identifier falls. The identification value corresponding to the identification interval within the interval where the key identifier falls is then used as the identification value for the smart key.

[0068] In some examples, a preconfigured correspondence between identification intervals and identification values ​​is pre-stored in the vehicle's memory.

[0069] For example, taking the case where there are two smart keys matched with the vehicle (including smart key 1 and smart key 2, the key identification of smart key 1 is 55, and the key identification of smart key 2 is 99), and the identification intervals include two, the pre-configured corresponding relationship is shown in Table 2.

[0070] Table 2

[0071] Identification interval Identification value [0,99) 0s [99,199) 0.5s

[0072] At this point, as can be seen from Table 2, since key identifier 55 corresponding to smart key 1 falls within the identifier interval [0, 99), and since the identifier value corresponding to the identifier interval [0, 99] is 0s, the delay time corresponding to the sequence identifier corresponding to smart key 1 is 0s. Similarly, since key identifier 99 corresponding to smart key 2 falls within the identifier interval [99, 199), and since the identifier value corresponding to the identifier interval [99, 199] is 0.5s, the delay time corresponding to the sequence identifier corresponding to smart key 2 is 0.5s. Thus, when both smart key 1 and smart key 2 receive a low-frequency signal, smart key 1 immediately transmits a high-frequency signal. After receiving the low-frequency signal, smart key 2 waits 0.5s before transmitting the high-frequency signal.

[0073] In some examples, when multiple smart keys fall within the same identification interval, an updated identification value can be determined based on the key identification corresponding to each smart key. For example, the updated identification value is determined based on the sum of the last digit of the key identification of the smart key and the identification value that the smart key falls within.

[0074] For example, suppose two smart keys, such as smart key 1 and smart key 2, fall within the same identification interval. Smart key 1's key identification is 55, and smart key 2's key identification is 66. Since both smart key 1 and smart key 2 fall within the identification interval [0, 99), the updated identification value can be derived based on the sum of the last digit of each smart key's key identification and the identification value it falls into. For example, if the last digit of smart key 1's key identification is 5, the updated identification value corresponding to smart key 1 is 5 (5 + 0). Similarly, if the last digit of smart key 2's key identification is 6, the updated identification value corresponding to smart key 2 is 6 (6 + 0).

[0075] In some examples, when the last digit of the key identifiers of smart keys falling within the same identification interval is the same, the smart keys falling within the same identification interval are sorted in ascending order according to their key identifiers to obtain a ranking value corresponding to each smart key. The ranking value is then summed with the identification value corresponding to the identification interval in which the key identifier of the smart key falls to obtain an updated identification value.

[0076] For example, two smart keys, such as smart key 1 and smart key 2, fall within the same identification interval. Smart key 1's key identification is 56, and smart key 2's key identification is 66. Since both smart key 1 and smart key 2 fall within the identification interval [0, 99), and the last digit of the key identification of smart key 1 and the last digit of the key identification of smart key 2 are the same, the smart keys falling within the same identification interval are sorted in ascending order according to their key identifications, determining that the sort value of smart key 1 is 1 and the sort value of smart key 2 is 2. The sort value is then summed with the identification value corresponding to the identification interval in which the key identification of the smart key falls to obtain an updated identification value. For example, the updated identification value corresponding to smart key 1 is 1 (1+0), and the updated identification value corresponding to smart key 2 is 2 (2+0).

[0077] S115: Generate a sequence identifier for each smart key according to the identifier value, wherein one sequence identifier corresponds to one identifier value.

[0078] S116. Generate a first signal including the identification value based on the identification value, and send the first signal.

[0079] In some possible implementation examples, combined with Figure 3 ,like Figure 4 As shown, the above S114 can be specifically implemented through the following S1140.

[0080] S1140: When a query is performed based on the key identifiers in a pre-configured correspondence relationship and at least two key identifiers are determined to fall within the same identifier interval, the actual identifier values ​​of the target positions of the key identifiers falling within the same identifier interval are used as the identifier values ​​corresponding to the key identifiers. The actual identifier values ​​of the target positions of the key identifiers falling within the same identifier interval are different.

[0081] For example, in conjunction with the example provided in S114 above, assume that there are two smart keys paired with the vehicle (including smart key 1 and smart key 2, with key identifier 99 for smart key 1 and key identifier 100 for smart key 2). As can be seen from Table 2, the key identifier 99 corresponding to smart key 1 and the key identifier 100 corresponding to smart key 2 both fall within the identifier interval [99, 199]. To prevent smart key 1 and smart key 2 from simultaneously transmitting the second signal after receiving the first signal, the actual identifier value of the target position of the key identifiers of both smart key 1 and smart key 2 can be selected as the identifier value corresponding to the key identifier. For example, if the target position is the first digit of the key identifier, the identifier value corresponding to the sequence identifier of smart key 1 can be determined to be 9, and the identifier value corresponding to the sequence identifier of smart key 2 can be determined to be 1. Therefore, the delay time corresponding to the sequence identifier of smart key 1 is 9 seconds, and the delay time corresponding to the sequence identifier of smart key 2 is 1 second. Thus, when both smart key 1 and smart key 2 receive a low-frequency signal, smart key 1 waits 9 seconds after receiving the low-frequency signal before transmitting the high-frequency signal. After receiving the low-frequency signal, the smart key 2 waits for 1 second and then sends a high-frequency signal.

[0082] In some possible implementation examples, combined with Figure 1 ,like Figure 5 As shown, the above S11 can be specifically implemented through the following S117-S119-2.

[0083] S117: When the locking condition is met, obtain the historical time when each of the at least two smart keys matched with the vehicle last unlocked the vehicle.

[0084] S118. Determine the actual difference between the historical moment and the current moment based on the historical moment.

[0085] S119 : Query a pre-configured designated relationship based on the actual difference value, and determine the difference value interval that the actual difference value falls into, and the delay time corresponding to the difference value interval.

[0086] In some examples, because users may use different smart keys to unlock their vehicles during use, delay times can be assigned to smart keys based on the order in which they are unlocked. For example, multiple difference intervals can be preconfigured, and a delay time can be assigned to each difference interval. This allows a preconfigured designated relationship to be established based on the difference intervals and the delay times corresponding to those difference intervals. Subsequently, when determining the delay time corresponding to a smart key, the delay time can be determined based on the actual difference between the last time the smart key unlocked the vehicle and the current time, and the difference interval into which the actual difference falls.

[0087] In some examples, a preconfigured specified relationship including a difference interval and a delay time is pre-stored in the vehicle's memory.

[0088] For example, taking the case where there are two smart keys matched with the vehicle (including smart key 1 and smart key 2) and two difference intervals, the pre-configured designated relationship is shown in Table 3.

[0089] Table 3

[0090] Difference interval Delay time [0,48) 0s [48,96) 0.5s

[0091] At this point, if the historical time when smart key 2 last opened the vehicle is 16:12:14 on February 20, 2024, and the historical time when smart key 1 last opened the vehicle is 16:12:14 on February 21, 2024, and the current time is 16:12:14 on February 22, 2024, then it can be determined that the actual difference between the historical time when smart key 1 last opened the vehicle and the current time is 24 hours, and the actual difference between the historical time when smart key 2 last opened the vehicle and the current time is 48 hours. As can be seen from Table 3, the actual difference of 24 hours between the historical time when smart key 1 last opened the vehicle and the current time falls within the difference interval [0, 48). Since the delay time corresponding to the difference interval [0, 48) is 0 seconds, the delay time corresponding to the sequence identifier corresponding to smart key 1 is 0 seconds. Similarly, the difference of 48 between the last time smart key 2 unlocked the vehicle and the current time falls within the difference interval [48, 96). Since the delay time corresponding to the difference interval [48, 96) is 0.5 seconds, the delay time corresponding to the sequence identifier of smart key 2 is also 0.5 seconds. Thus, when both smart key 1 and smart key 2 receive a low-frequency signal, smart key 1 immediately transmits a high-frequency signal. Smart key 2 waits 0.5 seconds after receiving the low-frequency signal before transmitting the high-frequency signal.

[0092] S119-1. Generate a sequence identification for each smart key according to the delay time, wherein one sequence identification corresponds to one delay time.

[0093] S119-2. Based on the sequence identifier, generate a first signal including the sequence identifier, and send the first signal.

[0094] In some examples, when multiple actual difference values ​​fall within the same difference interval, the actual identification value of the target position of the key identification of the smart key falling within the same difference interval can be used as the identification value corresponding to the key identification. Based on this identification value, the sequence identification of the smart key is generated.

[0095] For example, assuming that there are two smart keys matched with the vehicle (including smart key 1 and smart key 2, the key identification of smart key 1 is 55, and the key identification of smart key 2 is 99), and the difference interval includes two, the pre-configured designated relationship is shown in Table 4.

[0096] Table 4

[0097] Difference interval Delay time [0,24) 0s [24,96) 0.5s

[0098] At this point, if the historical time when smart key 2 last opened the vehicle is 16:12:14 on February 20, 2024, and the historical time when smart key 1 last opened the vehicle is 16:12:14 on February 21, 2024, and the current time is 16:12:14 on February 22, 2024, then it can be determined that the actual difference between the historical time when smart key 1 last opened the vehicle and the current time is 24 hours, and the actual difference between the historical time when smart key 2 last opened the vehicle and the current time is 48 hours. As shown in Table 4, the actual difference value 24 corresponding to smart key 1 and the actual difference value 48 corresponding to smart key 2 both fall within the difference interval [24, 96]. At this point, to prevent smart key 1 and smart key 2 from simultaneously sending the second signal after receiving the first signal, the actual identification value of the target position of the key identification of both smart key 1 and smart key 2 can be selected as the identification value corresponding to the key identification. For example, if the target position is the first digit of the key identification, then the identification value corresponding to the sequence identification of smart key 1 can be determined to be 5, and the identification value corresponding to the sequence identification of smart key 2 can be determined to be 9. Therefore, the delay time corresponding to the sequence identifier of smart key 1 is 5 seconds, and the delay time corresponding to the sequence identifier of smart key 2 is 9 seconds. Thus, when both smart key 1 and smart key 2 receive low-frequency signals, smart key 1 waits 5 seconds after receiving the low-frequency signal before sending the high-frequency signal. Smart key 2 waits 9 seconds after receiving the low-frequency signal before sending the high-frequency signal.

[0099] In some feasible examples, the locking condition includes: there are no passengers in the vehicle cabin, the vehicle power is turned off, all the vehicle doors are closed, and the doors are not locked.

[0100] The above mainly introduces the solution provided by the embodiment of the present disclosure from the perspective of method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.

[0101] The disclosed embodiments can divide the vehicle's locking device into functional modules based on the above-described method examples. For example, each functional module can be divided into corresponding functional modules, or two or more functions can be integrated into a single processing module. The integrated modules can be implemented in either hardware or software functional modules. It should be noted that the module division in the disclosed embodiments is illustrative and represents only a logical functional division. In actual implementation, other division methods may be used.

[0102] like Figure 6 FIG. 1 is a schematic structural diagram of a vehicle locking device 10 provided by an embodiment of the present disclosure, comprising a processing unit 101 and a transceiver unit 102 .

[0103] The processing unit 101 is used to control the transceiver unit 102 to send a first signal when the locking condition is met; wherein the first signal includes a sequence identifier of each smart key of at least two smart keys matched with the vehicle, and the sequence identifier is used to indicate the delay time for each smart key to send a second signal after receiving the first signal, and different smart keys have different corresponding delay times. The second signal includes a field strength value corresponding to when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal; the transceiver unit 102 is used to receive the second signal sent by the smart key; the processing unit 101 is also used to control the vehicle lock to lock when the field strength value in the second signal received by the transceiver unit 102 is less than or equal to the strength threshold.

[0104] In some feasible examples, the processing unit 101 is specifically used to control the transceiver unit 102 to obtain the historical moment when each of the at least two smart keys matched with the vehicle last unlocked the vehicle when the locking condition is met; the processing unit 101 is specifically used to generate a sequential identification of each smart key according to the chronological order of the historical moments obtained by the transceiver unit 102; wherein one sequential identification corresponds to one historical moment; the processing unit 101 is specifically used to generate a first signal including the sequential identification based on the sequential identification, and send the first signal.

[0105] In some feasible examples, the processing unit 101 is specifically used to control the transceiver unit 102 to obtain the key identification of each smart key of at least two smart keys matched with the vehicle when the locking condition is met; the processing unit 101 is specifically used to query in a pre-configured correspondence based on the key identification, determine the identification interval into which the key identification falls, and the identification value corresponding to the identification interval; the processing unit 101 is specifically used to generate a sequential identification for each smart key according to the identification value; wherein, one sequential identification corresponds to one identification value; the processing unit 101 is specifically used to generate a first signal including the identification value based on the identification value, and send the first signal.

[0106] In some feasible examples, the processing unit 101 is specifically used to query in a preconfigured correspondence based on the key identifier, and when it is determined that at least two key identifiers fall into the same identification interval, the actual identification value of the target position of the key identifier falling into the same identification interval is used as the identification value corresponding to the key identifier; wherein, each key identifier falling into the same identification interval has a different actual identification value at the target position.

[0107] In some feasible examples, the processing unit 101 is specifically used to control the transceiver unit 102 to obtain the historical moment when each of the at least two smart keys matched with the vehicle last opened the vehicle when the locking condition is met; the processing unit 101 is specifically used to determine the actual difference between the historical moment and the current moment based on the historical moment obtained by the transceiver unit 102; the processing unit 101 is specifically used to query a pre-configured designated relationship based on the actual difference, determine the difference interval into which the actual difference falls, and the delay time corresponding to the difference interval; the processing unit 101 is specifically used to generate a sequential identification for each smart key according to the delay time; wherein, one sequential identification corresponds to one delay time; the processing unit 101 is specifically used to generate a first signal including the sequential identification based on the sequential identification, and send the first signal.

[0108] In some feasible examples, the locking condition includes: there are no passengers in the vehicle cabin, the vehicle power is turned off, all the vehicle doors are closed, and the doors are not locked.

[0109] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and its role will not be repeated here.

[0110] Of course, the vehicle locking device 10 provided in the embodiments of the present disclosure includes but is not limited to the aforementioned modules. For example, the vehicle locking device 10 may further include a storage unit 103. The storage unit 103 may be used to store program code of the vehicle locking device 10 and may also be used to store data generated during operation of the vehicle locking device 10, such as data in a write request.

[0111] Figure 7 A schematic diagram of the structure of a vehicle-mounted terminal provided by an embodiment of the present disclosure is shown in FIG. Figure 7 As shown, the vehicle-mounted terminal may include: at least one processor 51 , a memory 52 , a communication interface 53 and a communication bus 54 .

[0112] The following combination Figure 7 A detailed introduction to the various components of the vehicle terminal:

[0113] The processor 51 is the control center of the electronic device 10 and can be a single processor or a collective term for multiple processing elements. For example, the processor 51 is a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure, such as one or more DSPs or one or more field programmable gate arrays (FPGAs).

[0114] In a specific implementation, as an embodiment, the processor 51 may include one or more CPUs, such as Figure 7 Also, as an embodiment, the electronic device may include multiple processors, such as Figure 7 5. Each of these processors can be a single-core processor (Single-CPU) or a multi-core processor (Multi-CPU). A processor here can refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0115] The memory 52 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 52 may be independent and connected to the processor 51 via a communication bus 54. The memory 52 may also be integrated with the processor 51.

[0116] In a specific implementation, the memory 52 is used to store the data disclosed herein and execute the software programs disclosed herein. The processor 51 can execute various functions of the air conditioner by running or executing the software programs stored in the memory 52 and calling the data stored in the memory 52.

[0117] The communication interface 53 uses any transceiver or other device for communicating with other devices or communication networks, such as a radio access network (RAN), a wireless local area network (WLAN), a terminal, or the cloud. The communication interface 53 may include a receiving unit and an acquiring unit to implement the receiving and acquiring functions.

[0118] The communication bus 54 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0119] As an example, combine Figure 6The function of the transceiver unit 102 in the vehicle locking device 10 is the same as Figure 7 The function of the communication interface 53 in the vehicle is the same as that of the processing unit 101 in the locking device 10 of the vehicle. Figure 7 The function of the processor 51 in the vehicle is the same as that of the storage unit 103 in the locking device 10 of the vehicle. Figure 7 The function of the memory 52 in is the same.

[0120] Another embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a computing device, the computing device executes the mode switching method shown in the above method embodiment.

[0121] In some embodiments, the disclosed methods may be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of manufacture.

[0122] Figure 8 The figure schematically shows a conceptual partial view of a computer program product provided by an embodiment of the present disclosure, wherein the computer program product includes a computer program for executing a computer process on a computing device.

[0123] In one embodiment, the computer program product is provided using a signal bearing medium 410. The signal bearing medium 410 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 1 Thus, for example, reference to Figure 1 In the embodiment shown in , one or more features of S11-S13 may be undertaken by one or more instructions associated with the signal bearing medium 410. In addition, Figure 8 The program instructions in also describe example instructions.

[0124] In some examples, signal-bearing medium 410 may include computer-readable medium 411, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM), a random access memory (RAM), and the like.

[0125] In some implementations, signal bearing medium 410 may include computer recordable medium 412 such as, but not limited to, memory, read / write (R / W) CD, R / W DVD, or the like.

[0126] In some embodiments, signal bearing medium 410 may include communication medium 413 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0127] Signal bearing medium 410 may be communicated by a wireless form of communication medium 413 (eg, a wireless communication medium conforming to the IEEE 802.41 standard or other transmission protocols). The one or more program instructions may be, for example, computing device executable instructions or logic implementing instructions.

[0128] In some examples, such as for Figure 8 The described vehicle locking device 10 may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer-readable media 411 , computer-recordable media 412 , and / or communication media 413 .

[0129] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0130] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0131] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0132] In addition, the functional units in the various embodiments of the present disclosure may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0133] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.

[0134] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A method for locking a vehicle, characterized in that: include: When the locking condition is met, a first signal is sent; wherein the first signal includes a sequence identifier of each smart key of at least two smart keys that have been matched with the vehicle, the sequence identifier is used to indicate a delay time for each smart key to send a second signal after receiving the first signal, and different smart keys have different corresponding delay times; the second signal includes a field strength value corresponding to when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal; receiving a second signal sent by the smart key; When the field strength value in the second signal is less than or equal to the strength threshold, the vehicle lock is controlled to be locked.

2. The vehicle locking method according to claim 1, characterized in that: The sending of the first signal when the lock condition is met includes: When the locking condition is met, obtaining a historical moment when each of at least two smart keys matched with the vehicle unlocks the vehicle; Generate a sequence identification for each smart key according to the chronological order of the historical moments; wherein one sequence identification corresponds to one historical moment; Based on the sequence identifier, a first signal including the sequence identifier is generated, and the first signal is sent.

3. The vehicle locking method according to claim 1, characterized in that: The sending of the first signal when the lock condition is met includes: When the locking condition is met, obtaining a key identifier of each smart key of at least two smart keys matched with the vehicle; Searching the pre-configured correspondence relationship based on the key identifier to determine the identifier interval into which the key identifier falls and the identifier value corresponding to the identifier interval; Generate a sequence identifier for each smart key according to the identifier value; wherein one sequence identifier corresponds to one identifier value; Based on the identification value, a first signal including the identification value is generated, and the first signal is sent.

4. The vehicle locking method according to claim 3, characterized in that: The querying of the pre-configured corresponding relationship based on the key identifier to determine the identifier interval into which the key identifier falls and the identifier value corresponding to the identifier interval includes: Based on the query of the key identification in the pre-configured corresponding relationship, when it is determined that at least two of the key identifications fall into the same identification interval, the actual identification value of the target position of the key identification falling into the same identification interval is used as the identification value corresponding to the key identification; wherein, each key identification falling into the same identification interval has a different actual identification value at the target position.

5. The vehicle locking method according to claim 1, characterized in that: The sending of the first signal when the lock condition is met includes: When the locking condition is met, obtaining a historical moment when each of at least two smart keys matched with the vehicle unlocks the vehicle; Based on the historical moment, determining an actual difference between the historical moment and the current moment; Querying a pre-configured designated relationship based on the actual difference value to determine the difference interval into which the actual difference value falls, and the delay time corresponding to the difference interval; Generating a sequence identification for each smart key according to the delay time; wherein one sequence identification corresponds to one delay time; Based on the sequence identifier, a first signal including the sequence identifier is generated, and the first signal is sent.

6. The vehicle locking method according to any one of claims 1 to 5, characterized in that: The locking conditions include: there are no passengers in the vehicle cabin, the vehicle power supply is turned off, all the vehicle doors are closed, and the doors are not locked.

7. A locking device for a vehicle, characterized in that: include: a processing unit, configured to control the transceiver unit to transmit a first signal when a locking condition is met; wherein the first signal includes a sequence identifier of each smart key among at least two smart keys matched to the vehicle, the sequence identifier being used to indicate a delay time for each smart key to transmit a second signal after receiving the first signal, the delay time corresponding to different smart keys being different; the second signal includes a field strength value corresponding to when the smart key receives the first signal, and the frequency of the second signal is greater than the frequency of the first signal; The transceiver unit is configured to receive a second signal sent by the smart key; The processing unit is further configured to control the vehicle lock to lock when the field strength value of the second signal received by the transceiver unit is less than or equal to a strength threshold.

8. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to enable the electronic device to implement the vehicle locking method according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that include: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computing device, the computing device implements the vehicle locking method according to any one of claims 1 to 6.

10. A vehicle comprising the vehicle locking device according to claim 7.