VEHICLE AND METHOD AND APPARATUS FOR UNLOCKING VEHICLE

Information

  • Patent Application
  • 20210146884
  • Publication Number
    20210146884
  • Date Filed
    April 18, 2019
    5 years ago
  • Date Published
    May 20, 2021
    3 years ago
Abstract
A method for unlocking a vehicle having a plurality of Bluetooth modules includes: respectively obtaining a received signal strength indicator value corresponding to each of the Bluetooth modules; obtaining a distance between a terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values; determining, according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in a safe unlocking area and whether the vehicle meets a safe unlocking condition; and when it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, sending a vehicle unlocking instruction to a body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is based on and claims priority to Chinese patent application No. 201810362539.X filed on Apr. 20, 2018, the entire content of which is incorporated herein by reference.


FIELD

The present disclosure relates to the technical field of automobiles and, in particular, to a vehicle and a method and an apparatus for unlocking a vehicle.


BACKGROUND

Currently, unlocking a vehicle by using a Bluetooth technology is generally as follows: a Bluetooth module is disposed at a specific position of the vehicle, and a distance between a terminal and the Bluetooth module is determined according to a change of signal strength of the Bluetooth module, and then it is determined whether the terminal is in a safe unlocking area according to the distance between the terminal and the Bluetooth module.


However, the signal strength of the Bluetooth module is greatly affected by the distance. For example, the safe unlocking distance of the vehicle is 3 meters. If the Bluetooth module is mounted at a tail of the vehicle, and a user is 1 meter in front of the vehicle, a current detected distance between the terminal and the Bluetooth module is 4 meters, and it is determined that the terminal is not in the safe unlocking area, and therefore the user cannot unlock the vehicle through the terminal. If the user is 1 meter behind the vehicle, a current detected distance between the terminal and the Bluetooth module is 1 meter, and it is determined that the terminal is in the safe unlocking area, and therefore the user can unlock the vehicle through the terminal.


In the above two cases, the distances between the user and the vehicle are both 1 meter, but in one of the cases, the vehicle cannot be unlocked through the terminal. Therefore, the above method cannot accurately determine positions of the terminal and the vehicle, and as a result, it cannot be accurately determined whether the terminal is in the safe unlocking area.


SUMMARY

The present disclosure is intended to resolve at least one of the technical problems in the related art to some extent. To this end, a first purpose of the present disclosure is intended to provide a method for unlocking a vehicle. According to the method, it can be accurately determined whether a terminal is in a safe unlocking area according to a received signal strength indicator value of a Bluetooth module, greatly increasing accuracy and safety of vehicle unlocking.


A second purpose of the present disclosure is intended to provide an apparatus for unlocking a vehicle.


A third purpose of the present disclosure is intended to provide a vehicle.


In order to achieve the above purposes, an embodiment of a first aspect of the present disclosure provides a method for unlocking a vehicle. The vehicle includes a plurality of Bluetooth modules configured to establish a communication connection to a terminal, and the method includes the following steps: when an unlocking instruction sent by a user is received, respectively obtaining a received signal strength indicator value corresponding to each of the Bluetooth modules; obtaining a distance between the terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values; determining, according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in a safe unlocking area and whether the vehicle meets a safe unlocking condition; and if it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, sending a vehicle unlocking instruction to a body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.


According to the method for unlocking a vehicle in the embodiment of the present disclosure, when the unlocking instruction sent by the user is received, the received signal strength indicator value corresponding to each of the Bluetooth modules is respectively obtained, and the distance between the terminal and the vehicle and the position of the terminal are obtained according to each of the received signal strength indicator values, and then it is determined according to the distance between the terminal and the vehicle and the position of the terminal whether the terminal is in the safe unlocking area, and it is determined whether the vehicle meets the safe unlocking condition. If it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, the vehicle unlocking instruction is sent to the body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked. Therefore, according to the method, it can be accurately determined whether the terminal is in the safe unlocking area according to the received signal strength indicator values of the plurality of Bluetooth modules, greatly increasing accuracy and safety of vehicle unlocking.


In addition, the method for unlocking a vehicle according to the above embodiment of the present disclosure may further have the following additional technical features.


According to an embodiment of the present disclosure, the obtaining a distance between the terminal and the vehicle according to the received signal strength indicator value includes: filtering each of the received signal strength indicator values, and calculating an average value of the received signal strength indicator values within a preset time; obtaining an absolute value of the average value of the received signal strength indicator values; and obtaining a distance between the terminal and the Bluetooth module according to the absolute value, and obtaining the distance between the terminal and the vehicle according to the distance between the terminal and the Bluetooth module.


According to an embodiment of the present disclosure, the obtaining a position of the terminal according to each of the received signal strength indicator values includes: obtaining a distance between the terminal and each of the Bluetooth modules according to each of the received signal strength indicator values; and obtaining the position of the terminal by using a three-point positioning principle according to the distance between the terminal and each of the Bluetooth modules.


According to an embodiment of the present disclosure, the distance between the terminal and the Bluetooth module is obtained according to the following equation: D=10{circumflex over ( )}[(|RSSI|−A)/(10n)], where D is the distance between the terminal and the Bluetooth module, |RSSI| is the absolute value, A is a received signal strength indicator value existing when the terminal is 1 meter away from the Bluetooth module, and n is an attenuation factor of the Bluetooth module.


According to an embodiment of the present disclosure, the method for unlocking a vehicle further includes: determining whether the terminal is in the vehicle according to the position of the terminal; and if it is determined that the terminal is in the vehicle, prohibiting, by the body control module, the vehicle from being controlled to be unlocked/locked.


According to an embodiment of the present disclosure, the determining whether the terminal is in a safe unlocking area according to the distance between the terminal and the vehicle and the position of the terminal includes: determining whether the distance between the terminal and the vehicle is less than or equal to a safe unlocking distance and determining whether the terminal is in the vehicle; and if the distance between the terminal and the vehicle is less than or equal to the safe unlocking distance and the terminal is not in the vehicle, determining that the terminal is in the safe unlocking area.


In order to achieve the above purposes, an embodiment of a second aspect of the present disclosure provides an apparatus for unlocking a vehicle, including: a plurality of Bluetooth modules configured to establish a communication connection to a terminal; a first obtaining module configured to: when an unlocking instruction sent by a user is received, respectively obtain a received signal strength indicator value corresponding to each of the Bluetooth modules; a second obtaining module configured to obtain a distance between the terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values; a determining module configured to determine whether the terminal is in a safe unlocking area according to the distance between the terminal and the vehicle, and determine according to the position of the terminal, whether the vehicle meets a safe unlocking condition; and an instruction sending module configured to: when it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, send a vehicle unlocking instruction to a body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.


According to the apparatus for unlocking a vehicle in the embodiment of the present disclosure, the plurality of Bluetooth modules establish a communication connection to the terminal, when the unlocking instruction sent by the user is received, the first obtaining module respectively obtains the received signal strength indicator value corresponding to each of the Bluetooth modules is respectively obtained, the second obtaining module obtains the distance between the terminal and the vehicle and the position of the terminal according to each of the received signal strength indicator values, and the determining module determines, according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in the safe unlocking area and whether the vehicle meets the safe unlocking condition. When it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, the instruction sending module sends the vehicle unlocking instruction to the body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked. Therefore, according to the apparatus, it can be accurately determined whether the terminal is in the safe unlocking area according to the received signal strength indicator values of the plurality of Bluetooth modules, greatly increasing accuracy and safety of vehicle unlocking.


In addition, the apparatus for unlocking a vehicle according to the above embodiment of the present disclosure may further have the following additional technical features.


According to an embodiment of the present disclosure, the plurality of Bluetooth modules include first to third Bluetooth modules respectively disposed at a left door, a right door, and a trunk of the vehicle.


According to an embodiment of the present disclosure, the second obtaining module is further configured to: filter each of the received signal strength indicator values, and calculate an average value of the received signal strength indicator values within a preset time; obtain an absolute value of the average value of the received signal strength indicator values; and obtain a distance between the terminal and the Bluetooth module according to the absolute value, and obtain the distance between the terminal and the vehicle according to the distance between the terminal and the Bluetooth module.


According to an embodiment of the present disclosure, the second obtaining module is further configured to: obtain a distance between the terminal and each of the Bluetooth modules according to each of the received signal strength indicator values; and obtain the position of the terminal by using a three-point positioning principle according to the distance between the terminal and each of the Bluetooth modules.


According to an embodiment of the present disclosure, the second obtaining module obtains the distance between the terminal and the Bluetooth module according to the following equation: D=10{circumflex over ( )}[(|RSSI|−A)/(10n)], where D is the distance between the terminal and the Bluetooth module, |RSSI| is the absolute value, A is a received signal strength indicator value existing when the terminal is 1 meter away from the Bluetooth module, and n is an attenuation factor of the Bluetooth module.


According to an embodiment of the present disclosure, the determining module may be further configured to determine whether the terminal is in the vehicle according to the position of the terminal, where if it is determined that the terminal is in the vehicle, the body control module prohibits the vehicle from being unlocked/locked.


According to an embodiment of the present disclosure, the determining module is further configured to: determine whether the distance between the terminal and the vehicle is less than or equal to a safe unlocking distance and determine whether the terminal is in the vehicle, and if the distance between the terminal and the vehicle is less than or equal to the safe unlocking distance and the terminal is not in the vehicle, determine that the terminal is in the safe unlocking area.


In order to achieve the above purposes, an embodiment of a third aspect of the present disclosure provides a vehicle, including the apparatus for unlocking a vehicle according to the embodiment of the second aspect of the present disclosure.


According to the vehicle of the embodiment of the present disclosure, by using the above apparatus for unlocking a vehicle, it can be accurately determined whether a terminal is in a safe unlocking area according to received signal strength indicator values of a plurality of Bluetooth modules, greatly increasing accuracy and safety of vehicle unlocking.





BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and comprehensible in the description made with reference to the following accompanying drawings, where:



FIG. 1 is a flowchart of a method for unlocking a vehicle according to an embodiment of the present disclosure;



FIG. 2 is a schematic diagram of a position for disposing a Bluetooth module according to an embodiment of the present disclosure;



FIG. 3 is a flowchart of a method for unlocking a vehicle according to another embodiment of the present disclosure;



FIG. 4 is a flowchart of a method for unlocking a vehicle according to still another embodiment of the present disclosure;



FIG. 5 is a schematic block diagram of an apparatus for unlocking a vehicle according to an embodiment of the present disclosure; and



FIG. 6 is a schematic block diagram of a vehicle according to an embodiment of the present disclosure.





DETAILED DESCRIPTION

The following describes embodiments of the present disclosure in detail. Examples of the embodiments are shown in the accompanying drawings, and same or similar reference signs in all the accompanying drawings indicate same or similar components or components having same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present disclosure and cannot be construed as a limitation to the present disclosure.


A method and an apparatus for unlocking a vehicle and a vehicle according to the embodiments of the present disclosure are described below with reference to the drawings.



FIG. 1 is a flowchart of a method for unlocking a vehicle according to an embodiment of the present disclosure. The vehicle includes a plurality of Bluetooth modules configured to establish a communication connection to a terminal. As shown in FIG. 1, the method for unlocking a vehicle includes the following steps.


S1: When an unlocking instruction sent by a user is received, respectively obtain a received signal strength indicator value corresponding to each of the Bluetooth modules.


S2: Obtain a distance between the terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values.


S3: Determine, according to the distance between the terminal and the vehicle, whether the terminal is in a safe unlocking area and whether the vehicle meets a safe unlocking condition.


In an embodiment of the present disclosure, the determining whether the terminal is in a safe unlocking area according to the distance between the terminal and the vehicle and the position of the terminal may include: determining whether the distance between the terminal and the vehicle is less than or equal to a safe unlocking distance and determining whether the terminal is in the vehicle; and if the distance between the terminal and the vehicle is less than or equal safe unlocking distance and the terminal is not in vehicle, determining that the terminal is in the safe unlocking area.


The safe unlocking distance may be preset according to an actual situation, for example, may be 3 meters.


S4: If it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, send a vehicle unlocking instruction to a body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.


In the embodiment of the present disclosure, as shown in FIG. 2 the plurality of Bluetooth modules may include first to third Bluetooth modules 11 to 13 that may be respectively disposed a left door, a right door, and a trunk of the vehicle. Certainly, a number of Bluetooth modules may also be other values, for example, 4. The four Bluetooth modules may be respectively disposed at the left door, a right door, a trunk, and a front hood. No specific limitation is imposed herein.


A microswitch may be disposed on a door handle of the vehicle. When the user wants to unlock the vehicle, the user may touch the microswitch to send an unlocking instruction. The Bluetooth module may establish a communication connection to the terminal to unlock the vehicle through a Bluetooth technology. The terminal may be a mobile terminal or a wearable device, etc. The mobile terminal may be a hardware device with various operating systems, such as a mobile phone, a tablet computer, or a personal digital assistant, etc. The wearable device may be a smart watch or smart eyes, etc. Since a received signal strength indicator (RSSI) of the Bluetooth module is greatly affected by a distance, generally, a closer distance between the Bluetooth module and the terminal brings a smaller absolute value of the received signal strength indicator value. Therefore, the distance between the terminal and the vehicle can be obtained according to the received signal strength indicator value. Therefore, when the unlocking instruction sent by the user is received, the received signal strength indicator value corresponding to each of the Bluetooth modules can be respectively obtained, and then the distance between the terminal and the vehicle and the position of the terminal can be obtained according to each of the received signal strength indicator values, and a distance between each of the Bluetooth modules and the terminal may be obtained according to the received signal strength indicator value corresponding to each of the Bluetooth modules, and a smallest distance is used as the distance between the terminal and the vehicle. Alternatively, a smallest absolute value of the received signal strength indicator values may be obtained according to the received signal strength indicator values, and then a distance between a corresponding Bluetooth module and the terminal is obtained according to the smallest value, and the distance is used as the distance between the terminal and the vehicle. Then it is determined whether the distance between the terminal and the vehicle is less than or equal to a preset safe unlocking distance, and it is determined whether the terminal is in the vehicle according to the position of the terminal. The preset safe unlocking distance may be preset according to an actual situation, for example, may be 3 meters. If the distance between the terminal and the vehicle is less than or equal to 3 meters, and the terminal is not in the vehicle, it is determined that the terminal is in the safe unlocking area. Then it is determined whether the vehicle meets the safe unlocking condition. The safe unlocking condition may include that the vehicle is in the anti-theft state, or the Bluetooth is in a logged-in state, etc. The logged-in state means that the terminal is connected to the Bluetooth of the vehicle and is authenticated. If the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, a vehicle unlocking instruction is sent to a body control module (BCM) of the vehicle. After receiving the vehicle unlocking instruction, the body control module may verify an identity of the terminal according to an established Bluetooth channel. If the verification succeeds, the body control module may send a corresponding controller area network (CAN) message to a door lock actuator of the vehicle, so that the door lock actuator executes the unlocking command according to the CAN message to unlock the vehicle. If the distance between the terminal and the vehicle is greater than 3 meters, it indicates that the terminal is far away from the vehicle. Although currently the terminal can be connected to the Bluetooth, the terminal is beyond the safe unlocking distance, and therefore unlocking is not allowed. Alternatively, if the terminal is located in the vehicle, the vehicle cannot be unlocked even if the user sends an unlocking instruction through the microswitch on the door, so as to prevent the vehicle from being unlocked by others at will when the user stops the vehicle to wait for someone or have a rest in the vehicle, thereby improving the safety of vehicle unlocking. Therefore, according to the method, it can be accurately determined whether the terminal is in the safe unlocking area according to the received signal strength indicator values of the plurality of Bluetooth modules, greatly increasing accuracy and safety of vehicle unlocking.


When the user wants to lock the vehicle, the user may also send a locking instruction by touching the microswitch. If the terminal is in a safe locking range (the distance between the terminal and the vehicle is less than or equal to 3 meters, and the terminal is not in the vehicle), and the vehicle meets the safe unlocking condition, after receiving the vehicle unlocking instruction, the body control module may verify the identity of the terminal according to the established Bluetooth channel. If the verification succeeds, the body control module may send a corresponding CAN message to the door lock actuator of the vehicle, so that the door lock actuator executes the unlocking command according to the CAN message to unlock the vehicle. The safe unlocking condition may include that the vehicle is at an OFF position and is not in an anti-theft state.


According to an embodiment of the present disclosure, as shown in FIG. 3, the obtaining a distance between the terminal and the vehicle according to each of the received signal strength indicator (RSSI) values may include:


S201: Filter each of the received signal strength indicator values, and calculate an average value of the received signal strength indicator values within a preset time.


S202: Obtain an absolute value of the average value of the received signal strength indicator values.


S203: Obtain a distance between the terminal and the Bluetooth module according to the absolute value, and obtain the distance between the terminal and the vehicle according to the distance between the terminal and the Bluetooth module.


In the embodiment of the present disclosure, the distance between the terminal and the Bluetooth module is obtained according to the following equation:






D=10{circumflex over ( )}[(|RSSI|−A)/(10n)].


D is the distance between the terminal and the Bluetooth module, |RSSI| is the absolute value of the average value of the received signal strength indicator values, A is a received signal strength indicator value existing when the terminal is 1 meter away from the Bluetooth module, and n is an attenuation factor of the Bluetooth module. A value of n is affected by a body and a partition and a partition apparatus in the vehicle, and values of n of the Bluetooth modules are also different. A and n may be preset through related experiments.


After the received signal strength indicator value corresponding to each of the Bluetooth modules is obtained, filtering and smoothing are performed on each of the values to eliminate influence of noise, and the average value of the received signal strength indicator values within the preset time is calculated. The absolute value of the average value of the received signal strength indicator values is obtained, and the distance between the terminal and the Bluetooth module is obtained according to the absolute value. For example, if average values of received signal strength indicator values of three Bluetooth modules are respectively −72, −65, and −83, and absolute values are respectively 72, 65, and 83, a smallest value of the absolute values is obtained, a distance between the Bluetooth module and the terminal corresponding to each of the absolute values is calculated according to the formula D=10{circumflex over ( )}[(|RSSI|−A)/(10n)], and the distance is used as the distance between the terminal and the vehicle. Alternatively, the distance between each of the Bluetooth modules and the terminal may be directly calculated according to the formula D=10{circumflex over ( )}[(|RSSI|−A)/(10n)] respectively, and then a smallest calculated distance is used as the distance between the terminal and the vehicle. In this way, the distance between the terminal and the vehicle can be accurately calculated, and then it can be accurately determined whether the terminal is in the safe unlocking area.


According to an embodiment of the present disclosure, as shown in FIG. 4, the obtaining a position of the terminal according to each of the received signal strength indicator values may include:


S5: Obtain a distance between the terminal and each of the Bluetooth modules according to each of the received signal strength indicator values.


S6: Obtain the position of the terminal by using a three-point positioning principle according to the distance between the terminal and each of the Bluetooth modules.


After the received signal strength indicator value corresponding to each of the Bluetooth modules is obtained, the distance between each of the Bluetooth modules and the terminal may be calculated according to the formula D=10{circumflex over ( )}[(|RSSI|−A)/(10n)]. An actual position of each of the Bluetooth modules is used as a center to draw three circles by using the distance between the Bluetooth module and the terminal as a radius. The three circles with different centers and radii intersect at a specific point, and the point is the position of the terminal.


According to an embodiment of the present disclosure, the method for unlocking a vehicle may further include: determining whether the terminal is in the vehicle according to position of the terminal. If it is determined that the terminal is in the vehicle, the body control module prohibits the vehicle from being unlocked/locked.


After the position of the terminal is determined, it is determined whether the terminal is in the vehicle. If the terminal is in the vehicle, the body control module sends, to the door lock actuator of the vehicle, a corresponding CAN message prohibiting the unlocking/locking of the vehicle, to prohibit the vehicle from being unlocked/locked. In other words, if the terminal is in the vehicle, even if the user mistakenly triggers the terminal to send an unlocking/locking instruction, the vehicle is not unlocked/locked.


In summary, according to the method for unlocking a vehicle in the embodiment of the present disclosure, when the unlocking instruction sent by the user is received, the received signal strength indicator value corresponding to each of the Bluetooth modules is respectively obtained, and the distance between the terminal and the vehicle and the position of the terminal are obtained according to each of the received signal strength indicator values, and then it is determined according to the distance between the terminal and the vehicle and the position of the terminal whether the terminal is in the safe unlocking area and whether the vehicle meets the safe unlocking condition. If it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, the vehicle unlocking instruction is sent to the body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked. Therefore, according to the method, it can be accurately determined whether the terminal is in the safe unlocking area according to the received signal strength indicator values of the plurality of Bluetooth modules, greatly increasing the safety of vehicle unlocking.



FIG. 5 is a schematic block diagram of an apparatus for unlocking a vehicle according to an embodiment of the present disclosure. As shown in FIG. 5, the apparatus includes: a plurality of Bluetooth modules 1 (three Bluetooth modules are used as an example in FIG. 5), a first obtaining module 2, a second obtaining module 3, a determining module 4, and an instruction sending module 5.


The plurality of Bluetooth modules 1 are configured to establish a communication connection to a terminal. The first obtaining module 2 is configured to: when an unlocking instruction sent by a user is received, respectively obtain a received strength indicator value corresponding to each of the Bluetooth modules 1. The second obtaining module 3 is configured to obtain a distance between the terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values. The determining module 4 is configured to determine, according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in a safe unlocking area and whether the vehicle meets a safe unlocking condition. The instruction sending module 5 is configured to: when the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, send a vehicle unlocking instruction to a body control module 6 of the vehicle, so that the body control module 6 controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.


According to an embodiment of the present disclosure, as shown in FIG. 2 the plurality of Bluetooth modules 1 may include first to third Bluetooth modules 11 to 13 that may be respectively disposed a left door, a right door, and a trunk of the vehicle. Certainly, a number of Bluetooth modules 1 may also be other values, for example, 4. The four Bluetooth modules may be respectively disposed at the left door, a right door, a trunk, and a front hood. No specific limitation is imposed herein.


The determining module 3 may be further configured to: determine whether the distance between the terminal and the vehicle is less than or equal to a safe unlocking distance and determine whether the terminal is in the vehicle, and if the distance between the terminal and the vehicle is less than or equal to the safe unlocking distance and the terminal is not in vehicle, determine that the terminal is in the safe unlocking area. The safe unlocking distance may be preset according to an actual situation, for example, may be 3 meters.


A microswitch may be disposed on a door handle of the vehicle. When the user wants to unlock the vehicle, the user may touch the microswitch to send an unlocking instruction. The Bluetooth module 1 may establish a communication connection to the terminal to unlock the vehicle through a Bluetooth technology. The terminal may be a mobile terminal or a wearable device, etc. The mobile terminal may be a hardware device with various operating systems, such as a mobile phone, a tablet computer, or a personal digital assistant, etc. The wearable device may be a smart watch or smart eyes, etc. Since an RSSI of the Bluetooth module 1 is greatly affected by a distance, generally, a closer distance between the Bluetooth module 1 and the terminal brings a smaller absolute value of the received signal strength indicator value. Therefore, the distance between the terminal and the vehicle can be obtained according to the received signal strength indicator value. Therefore, when the unlocking instruction sent by the user is received, the first obtaining module 2 may respectively obtain the received signal strength indicator value corresponding to each of the Bluetooth modules 1, and then the second obtaining module 3 obtains the distance between the terminal and the vehicle and the position of the terminal according to each of the received signal strength indicator values, and may obtain the distance between each of the Bluetooth modules 1 and the terminal according to the received signal strength indicator value corresponding to each of the Bluetooth modules, and use a smallest distance as the distance between the terminal and the vehicle. Alternatively, the second obtaining module 3 may obtain a smallest absolute value of the received signal strength indicator values according to the received signal strength indicator values, and then obtain a distance between a corresponding Bluetooth module 1 and the terminal according to the smallest value, and use the distance as the distance between the terminal and the vehicle. Then the determining module 4 determines whether the distance between the terminal and the vehicle is less than or equal to a preset safe unlocking distance, and determines whether the terminal is in the vehicle according to the position of the terminal. The preset safe unlocking distance may be preset according to an actual situation, for example, may be 3 meters. If the distance between the terminal and the vehicle is less than or equal to 3 meters, and the terminal is not in the vehicle, the determining module 4 determines that the terminal is in the safe unlocking area. Then it is determined whether the vehicle meets the safe unlocking condition. The safe unlocking condition may include that the vehicle is in the anti-theft state, or the Bluetooth is in a logged-in state, etc. The logged-in state means that the terminal is connected to the Bluetooth of the vehicle and is authenticated. If the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, the instruction sending module 5 sends a vehicle unlocking instruction to a body control module 6 of the vehicle. After receiving the vehicle unlocking instruction, the body control module 6 may verify an identity of the terminal according to an established Bluetooth channel. If the verification succeeds, the body control module 6 may send a corresponding CAN message to a door lock actuator of the vehicle, so that the door lock actuator executes the unlocking command according to the CAN message to unlock the vehicle. If the distance between the terminal and the vehicle is greater than 3 meters, it indicates that the terminal is far away from the vehicle. Although currently the terminal can be connected to the Bluetooth, the terminal is beyond the safe unlocking distance, and therefore unlocking is not allowed. Alternatively, if the terminal is located in the vehicle, the vehicle cannot be unlocked even if the user sends an unlocking instruction through the microswitch on the door, so as to prevent the vehicle from being unlocked by others at will when the user stops the vehicle to wait for someone or have a rest in the vehicle, thereby improving the safety of vehicle unlocking. Therefore, the apparatus can accurately determine whether the terminal is in the safe unlocking area according to the received signal strength indicator values of the plurality of Bluetooth modules, greatly increasing accuracy and safety of vehicle unlocking.


According to an embodiment of the present disclosure, the second obtaining module 3 may be further configured to: filter each of the received signal strength indicator values, and calculate an average value of the received signal strength indicator values within a preset time; obtain an absolute value of the average value of the received signal strength indicator values; and obtain a distance between the terminal and the Bluetooth module according to the absolute value, and obtain the distance between the terminal and the vehicle according to the distance between the terminal and the Bluetooth module.


Certainly, when the user wants to lock the vehicle, the user may also send a locking instruction by touching the microswitch. If the terminal is in a safe locking range (the distance between the terminal and the vehicle is less than or equal to 3 meters, and the terminal is not in the vehicle), and the vehicle meets the safe unlocking condition, after receiving the vehicle unlocking instruction, the body control module 6 may verify the identity of the terminal according to the established Bluetooth channel. If the verification succeeds, the body control module may send a corresponding CAN message to the door lock actuator of the vehicle, so that the door lock actuator executes the unlocking command according to the CAN message to unlock the vehicle. The safe unlocking condition may include that the vehicle is at an OFF position and is not in an anti-theft state.


In the embodiment of the present disclosure, the second obtaining module 3 may obtain the distance between the terminal and the Bluetooth module 1 according to the following equation:






D=10{circumflex over ( )}[(|RSSI|−A)/(10n)].


D is the distance between the terminal and the Bluetooth module, |RSSI| is the absolute value of the average value of the received signal strength indicator values, A is a received signal strength indicator value existing when the terminal is 1 meter away from the Bluetooth module, and n is an attenuation factor of the Bluetooth module. A value of n is affected by a body and a partition and a partition apparatus in the vehicle, and values of n of the Bluetooth modules are also different. A and n of each Bluetooth module may be preset through related experiments.


After obtaining the received signal strength indicator value corresponding to each of the Bluetooth modules 1, the second obtaining module 3 performs filtering and smoothing on each of the values to eliminate influence of noise, and calculates the average value of the received signal strength indicator values within the preset time. Then the second obtaining module 3 obtains the absolute value of the average value of the received signal strength indicator values, and obtains the distance between the terminal and the Bluetooth module according to the absolute value. For example, if average values of received signal strength indicator values of three Bluetooth modules are respectively −72, −65, and −83, and absolute values are respectively 72, 65, and 83, the second obtaining module 3 obtains a smallest value of the absolute values, and then calculates a distance between the Bluetooth module and the terminal corresponding to each of the absolute values according to the formula D=10{circumflex over ( )}[(|RSSI|−A)/(10n)], and uses the distance as the distance between the terminal and the vehicle. Alternatively, the second obtaining module 3 may also directly calculate the distance between each of the Bluetooth modules and the terminal according to the formula D=10{circumflex over ( )}[(|RSSI|−A)/(10n)] respectively, and then use a smallest calculated distance as the distance between the terminal and the vehicle. In this way, the distance between the terminal and the vehicle can be accurately calculated, and then it can be accurately determined whether the terminal is in the safe unlocking area.


According to an embodiment of the present disclosure, the second obtaining module 3 may be further configured to: obtain a distance between the terminal and each of the Bluetooth modules according to each of the received signal strength indicator values, and obtain the position of the terminal by using a three-point positioning principle according to the distance between the terminal and each of the Bluetooth modules.


After the first obtaining module 2 obtains the received signal strength indicator value corresponding to each of the Bluetooth modules, the second obtaining module 3 may calculate the distance between each of the Bluetooth modules and the terminal according to the formula D=10{circumflex over ( )}[(|RSSI|−A)/(10n)]. The second obtaining module 3 may use an actual position of each of the Bluetooth modules as a center to draw three circles by using the distance between the Bluetooth module and the terminal as a radius. The three circles with different centers and radii intersect at a specific point, and the point is the position of the terminal. After the second obtaining module 3 determines the position of the terminal, the determining module 4 determines whether the terminal is in the vehicle. If the terminal is in the vehicle, the body control module 6 sends, to the door lock actuator of the vehicle, a corresponding CAN message prohibiting the unlocking of the vehicle, to prohibit the vehicle from being unlocked. In other words, if the terminal is in the vehicle, even if the user mistakenly triggers the terminal to send an unlocking instruction, the vehicle is not unlocked.


According to an embodiment of the present disclosure, the determining module 4 is further configured to determine whether the terminal is in the vehicle according to the position of the terminal, where if it is determined that the terminal is in the vehicle, the body control module 6 prohibits the vehicle from being unlocked/locked.


After the position of the terminal is determined, the determining module 4 determines whether the terminal is in the vehicle. If the terminal is in the vehicle, the body control module sends, to the door lock actuator of the vehicle, a corresponding CAN message prohibiting the unlocking/locking of the vehicle, to prohibit the vehicle from being unlocked/locked. In other words, if the terminal is in the vehicle, even if the user mistakenly triggers the terminal to send an unlocking/locking instruction, the vehicle is not unlocked/locked.


In summary, according to the apparatus for unlocking a vehicle in the embodiment of the present disclosure, the plurality of Bluetooth modules establish a communication connection to the terminal, when the unlocking instruction sent by the user is received, the first obtaining module respectively obtains the received signal strength indicator value corresponding to each of the Bluetooth modules is respectively obtained, the second obtaining module obtains the distance between the terminal and the vehicle and the position of the terminal according to each of the received signal strength indicator values, and the determining module determines, according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in the safe unlocking area and whether the vehicle meets the safe unlocking condition. When it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, the instruction sending module sends the vehicle unlocking instruction to the body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked. Therefore, according to the apparatus, it can be accurately determined whether the terminal is in the safe unlocking area according to the received signal strength indicator values of the plurality of Bluetooth modules, greatly increasing accuracy and safety of vehicle unlocking.


In addition, as shown in FIG. 6, an embodiment of the present disclosure further provides a vehicle 100, including the above apparatus for unlocking a vehicle.


According to the vehicle of the embodiment of the present disclosure, by using the above apparatus for unlocking a vehicle, it can be accurately determined whether a terminal is in a safe unlocking area according to received signal strength indicator values of a plurality of Bluetooth modules, greatly increasing accuracy and safety of vehicle unlocking.


In the description of the present disclosure, it should be understood that orientation or position relationships indicated by the terms such as “center”, “longitudinal”, “transverse”, “length”, “width”, “thickness”, “on”, “below”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “anticlockwise”, “axial”, “radial”, and “circumferential” are based on orientation or position relationships shown in the accompanying drawings, and are used only for ease and brevity of illustration and description, rather than indicating or implying that the mentioned apparatus or component needs to have a particular orientation or needs to be constructed and operated in a particular orientation. Therefore, such terms should not be construed as limiting of the present disclosure.


In addition, terms “first” and “second” are used only for a purpose of description, and shall not be construed as indicating or implying relative importance or implying a quantity of indicated technical features. Therefore, a feature restricted by “first” or “second” may explicitly indicate or implicitly include one or more such features. In description of the present disclosure, “multiple” means at least two, such as two and three unless it is specifically defined otherwise.


In the present disclosure, unless otherwise explicitly specified or defined, the terms such as “mount”, “connect”, “connection”, and “fixed” should be understood in a broad sense. For example, the connection may be a fixed connection, a detachable connection, or an integral connection; or the connection may be a mechanical connection or an electrical connection; or the connection may be a direct connection, an indirect connection through an intermediary, or internal communication between two components or mutual interaction relationship between two components. A person of ordinary skill in the art can understand specific meanings of the terms in the present disclosure based on specific situations.


In the present disclosure, unless otherwise explicitly specified or defined, the first feature being located “above” or “below” the second feature may be the first feature being in a direct contact with the second feature, or the first feature being in an indirect contact with the second feature through an intermediary. Moreover, the first feature is “over”, “above”, and “on” the second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature has a higher horizontal height than the second feature. The first feature is “under”, “below” and “underneath” the second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature has a lower horizontal height than the second feature.


In the description of this specification, the description of the reference terms “an embodiment”, “some embodiments”, “an example”, “a specific example”, “some examples,” and the like means that specific features, structures, materials or characteristics described in combination with the embodiment(s) or example(s) are included in at least one embodiment or example of the present disclosure. In this specification, exemplary representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the described specific features, structures, materials or characteristics may be combined in a suitable manner in any one or more embodiments or examples. In addition, in a case that is not mutually contradictory, a person skilled in the art can combine or group different embodiments or examples that are described in this specification and features of the different embodiments or examples.


Although the embodiments of the present disclosure have been shown and described above, it can be understood that, the foregoing embodiments are exemplary and should not be understood as limitation to the present disclosure. A person of ordinary skill in the art can make changes, modifications, replacements, or variations to the foregoing embodiments within the scope of the present disclosure.

Claims
  • 1. A method for unlocking a vehicle having a plurality of Bluetooth modules configured to establish a communication connection to a terminal, comprising: after an unlocking instruction sent by a user is received, respectively obtaining a received signal strength indicator value corresponding to each of the Bluetooth modules;obtaining a distance between the terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values;determining, according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in a safe unlocking area and whether the vehicle meets a safe unlocking condition; andwhen it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, sending a vehicle unlocking instruction to a body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.
  • 2. The method for unlocking a vehicle according to claim 1, wherein the plurality of Bluetooth modules comprise first to third Bluetooth modules respectively disposed at a left door, a right door, and a trunk of the vehicle.
  • 3. The method for unlocking a vehicle according to claim 1, wherein the obtaining a distance between the terminal and the vehicle according to the received signal strength indicator value comprises: filtering each of the received signal strength indicator values, and calculating an average value of the received signal strength indicator values within a preset time;obtaining an absolute value of the average value of the received signal strength indicator values; andobtaining a distance between the terminal and the Bluetooth module according to the absolute value, and obtaining the distance between the terminal and the vehicle according to the distance between the terminal and the Bluetooth module.
  • 4. The method for unlocking a vehicle according to claim 1, wherein the obtaining a position of the terminal according to each of the received signal strength indicator values comprises: obtaining a distance between the terminal and each of the Bluetooth modules according to each of the received signal strength indicator values; andobtaining the position of the terminal by using a three-point positioning principle according to the distance between the terminal and each of the Bluetooth modules.
  • 5. The method for unlocking a vehicle according to claim 3, wherein the distance between the terminal and the Bluetooth module is obtained according to the following equation: D=10{circumflex over ( )}[(|RSSI|−A)/(10n)],wherein D is the distance between the terminal and the Bluetooth module, |RSSI| is the absolute value of the average value of the received signal strength indicator values, A is a received signal strength indicator value existing when the terminal is 1 meter away from the Bluetooth module, and n is an attenuation factor of the Bluetooth module.
  • 6. The method for unlocking a vehicle according to claim 1, further comprising: determining whether the terminal is in the vehicle according to the position of the terminal; andwhen it is determined that the terminal is in the vehicle, prohibiting, by the body control module, the vehicle from being unlocked/locked.
  • 7. The method for unlocking a vehicle according to claim 1, wherein the determining whether the terminal is in a safe unlocking area according to the distance between the terminal and the vehicle and the position of the terminal comprises: determining whether the distance between the terminal and the vehicle is less than or equal to a safe unlocking distance and determining whether the terminal is in the vehicle; andif the distance between the terminal and the vehicle is less than or equal to the safe unlocking distance and the terminal is not in the vehicle, determining that the terminal is in the safe unlocking area.
  • 8. An apparatus for unlocking a vehicle, comprising: a plurality of Bluetooth modules configured to establish a communication connection to a terminal;a first obtaining module configured to: after an unlocking instruction sent by a user is received, respectively obtain a received signal strength indicator value corresponding to each of the Bluetooth modules;a second obtaining module configured to obtain a distance between the terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values;a determining module configured to determine according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in a safe unlocking area and whether the vehicle meets a safe unlocking condition; andan instruction sending module configured to: when it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, send a vehicle unlocking instruction to a body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.
  • 9. The apparatus for unlocking a vehicle according to claim 8, wherein the plurality of Bluetooth modules comprise first to third Bluetooth modules respectively disposed at a left door, a right door, and a trunk of the vehicle.
  • 10. The apparatus for unlocking a vehicle according to claim 8, wherein the second obtaining module is further configured to: filter each of the received signal strength indicator values, and calculate an average value of the received signal strength indicator values within a preset time;obtain an absolute value of the average value of the received signal strength indicator values; andobtain a distance between the terminal and the Bluetooth module according to the absolute value, and obtain the distance between the terminal and the vehicle according to the distance between the terminal and the Bluetooth module.
  • 11. The apparatus for unlocking a vehicle according to claim 8, wherein the second obtaining module is further configured to: obtain a distance between the terminal and each of the Bluetooth modules according to each of the received signal strength indicator values; andobtain the position of the terminal by using a three-point positioning principle according to the distance between the terminal and each of the Bluetooth modules.
  • 12. The apparatus for unlocking a vehicle according to claim 10, wherein the second obtaining module obtains the distance between the terminal and the Bluetooth module according to the following equation: D=10{circumflex over ( )}[(|RSSI|−A)/(10n)],wherein D is the distance between the terminal and the Bluetooth module, |RSSI| is the absolute value of the average value of the received signal strength indicator values, A is a received signal strength indicator value existing when the terminal is 1 meter away from the Bluetooth module, and n is an attenuation factor of the Bluetooth module.
  • 13. The apparatus for unlocking a vehicle according to claim 8, wherein the determining module is further configured to determine whether the terminal is in the vehicle according to the position of the terminal, wherein when it is determined that the terminal is in the vehicle, the body control module prohibits the vehicle from being unlocked/locked.
  • 14. The apparatus for unlocking a vehicle according to claim 8, wherein the determining module is further configured to: determine whether the distance between the terminal and the vehicle is less than or equal to a safe unlocking distance and determine whether the terminal is in the vehicle, and if the distance between the terminal and the vehicle is less than or equal to the safe unlocking distance and the terminal is not in the vehicle, determine that the terminal is in the safe unlocking area.
  • 15. A vehicle, comprising: an apparatus for unlocking a vehicle, which comprises:a plurality of Bluetooth modules configured to establish a communication connection to a terminal;a first obtaining module configured to: after an unlocking instruction sent by a user is received, respectively obtain a received signal strength indicator value corresponding to each of the Bluetooth modules;a second obtaining module configured to obtain a distance between the terminal and the vehicle and a position of the terminal according to each of the received signal strength indicator values;a determining module configured to determine according to the distance between the terminal and the vehicle and the position of the terminal, whether the terminal is in a safe unlocking area and whether the vehicle meets a safe unlocking condition; andan instruction sending module configured to: when it is determined that the terminal is in the safe unlocking area and the vehicle meets the safe unlocking condition, send a vehicle unlocking instruction to a body control module of the vehicle, so that the body control module controls, according to the vehicle unlocking instruction, the vehicle to be unlocked.
  • 16. The vehicle according to claim 15, wherein the plurality of Bluetooth modules comprise first to third Bluetooth modules respectively disposed at a left door, a right door, and a trunk of the vehicle.
  • 17. The vehicle according to claim 15, wherein the second obtaining module is further configured to: filter each of the received signal strength indicator values, and calculate an average value of the received signal strength indicator values within a preset time;obtain an absolute value of the average value of the received signal strength indicator values; andobtain a distance between the terminal and the Bluetooth module according to the absolute value, and obtain the distance between the terminal and the vehicle according to the distance between the terminal and the Bluetooth module.
Priority Claims (1)
Number Date Country Kind
201810362539.X Apr 2018 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2019/083262 4/18/2019 WO 00