Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention provides a remote control method and system for a vehicle, which is used to solve the problem that a mobile phone with UWB function must be equipped to implement UWB digital key application function in the prior art.
A first aspect of the present invention provides a remote control method of a vehicle, including:
the terminal establishes Bluetooth connection with the entity key and the vehicle respectively;
if the distance between the terminal and the entity key is detected to be smaller than or equal to the preset distance, the distance measurement and data transmission are carried out on the vehicle through the entity key, and the vehicle is controlled; the communication between the entity key and the vehicle is realized by a safety enhanced ultra-wideband UWB technology;
otherwise, the terminal releases the Bluetooth connection with the entity key.
In an embodiment of the present invention, the method further includes:
and if the distance is less than or equal to the preset distance, adjusting the transmitting power when the terminal is communicated with the entity key according to a Bluetooth channel protocol.
In an embodiment of the present invention, the distance is obtained according to a link rf signal strength attenuation amount when the terminal communicates with the physical key bluetooth.
In an embodiment of the present invention, the step of the terminal performing distance measurement and data transmission with the vehicle through the physical key includes:
the terminal sends the control instruction to the entity key; the entity key sends the control instruction to the vehicle; wherein the control instruction carries corresponding parameters;
and the vehicle acquires an execution result and feeds the execution result back to the terminal through Bluetooth. .
In an embodiment of the present invention, the step before the terminal performs ranging and data transmission with the vehicle through the physical key further includes:
the entity key and the vehicle agree initial information through the terminal, and distance measurement and data transmission between the entity key and the vehicle are achieved according to the agreed initial information.
In an embodiment of the present invention, the step before the terminal performs ranging and data transmission with the vehicle through the physical key further includes:
the terminal is matched with the entity key through a pairing key, the terminal is matched with the vehicle through a Bluetooth communication key, and if the matching is successful, the terminal performs distance measurement and data transmission with the vehicle through the entity key.
In an embodiment of the present invention, the method further includes:
the vehicle obtains the position information of the entity key through UWB positioning algorithm calculation, and transmits the position information to the terminal through Bluetooth.
The second aspect of the present invention also provides a remote control system of a vehicle, including:
the terminal is respectively connected with the entity key and the vehicle Bluetooth, and the communication between the entity key and the vehicle is realized by the UWB technology;
the terminal is used for carrying out distance measurement and data transmission with the vehicle through the entity key when detecting that the distance between the terminal and the entity key is smaller than or equal to a preset distance, and controlling the vehicle;
otherwise, the terminal is disconnected to release the Bluetooth connection with the entity key.
In an embodiment of the present invention, the terminal is further configured to adjust a transmission power when communicating with the entity key according to a bluetooth channel protocol when detecting that the distance between the terminal and the entity key is smaller than or equal to a preset distance, so that a communication coverage is smaller than a preset range.
In an embodiment of the present invention, the entity key and the vehicle agree with initial information via the terminal, and the distance measurement and the data transmission between the entity key and the vehicle are implemented according to the agreed initial information.
As described above, the vehicle remote control method and system of the present invention have the following beneficial effects:
the distance between the terminal and the entity key is judged by adopting the terminal without the UWB function, if the distance is smaller than or equal to the preset value, the terminal and the entity key are bound with high safety, the distance measurement and data transmission between the terminal and the vehicle through the entity key are allowed, and then the vehicle is remotely controlled by PEPS action, remote authorization of the digital key and the like, so that the function of completely realizing the UWB vehicle digital key through the common terminal is realized, the relay attack is avoided, the good user experience of high-precision positioning is realized, and the economic burden that a user needs to purchase the UWB terminal is eliminated.
Detailed Description
The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will become apparent to those skilled in the art from the present disclosure.
Please refer to fig. 1 to 4. It should be understood that the structures, ratios, sizes, and the like shown in the drawings are only used for matching the disclosure of the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modification, ratio relationship change or size adjustment should still fall within the scope of the present invention without affecting the efficacy and the achievable purpose of the present invention. In addition, the terms "upper", "lower", "left", "right", "middle" and "one" used in the present specification are for clarity of description, and are not intended to limit the scope of the present invention, and the relative relationship between the terms and the terms is not to be construed as a scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention discloses a remote control system for a vehicle, including: the terminal and the entity key have a low-power consumption Bluetooth BLE communication function, can be respectively in communication connection with a vehicle, and can also be connected between the terminal and the entity key; the entity key is provided with a UWB chip/module and can carry out ToF ranging and high-security data transmission with a UWB anchor point on the vehicle; typically, the farthest communication distance between BLE and the vehicle (e.g. 30-50 m) is larger than the ranging/communication distance between UWB and the vehicle (e.g. 15 m). Wherein, the terminal can be equipment such as smart mobile phone, panel computer, palm computer, notebook computer or desktop computer, and in this embodiment, explain for the example of cell-phone to the terminal, and install digital key APP on this cell-phone, user's accessible digital key APP operates the terminal.
Specifically, the common mobile phone of the embodiment includes a BLE module and an eSE module; the entity key comprises a BLE module and a UWB module; the vehicle includes automobile body controller and distributes in a plurality of UWB anchor points of automobile body outside and cockpit, and wherein, automobile body controller includes BLE module, eSE module, UWB module and NFC module.
The version of the BLE module of the mobile phone and the entity key in this embodiment should satisfy BLE SC (secure connections) security connection capability, and after a connection is initially established through broadcasting or scanning, a high security level BLE pairing and binding process is performed, so that the mobile phone and the entity key have mitm (man in the middle) protection capability. After the BLE SC connection is established between the mobile phone and the entity key, safe instruction or data transmission can be realized.
In addition, before data transmission, the entity key and the vehicle agree initial information through the terminal, and distance measurement and data transmission between the entity key and the vehicle are realized according to the agreed initial information; the initial information comprises center frequency between the entity key and each UWB anchor point of the vehicle, a ranging time sequence parameter, a key pairing state and an encryption algorithm initial index.
The entity key and the vehicle are matched through the pairing key, the distance measurement and data transmission are carried out between the terminal and the entity key after the matching is successful, wherein the pairing key can be preset or can be dynamically generated by a cloud digital key system. Meanwhile, the terminal is matched with the vehicle through the Bluetooth communication key, and data transmission between the terminal and the vehicle is allowed only after the terminal is successfully matched with the vehicle.
Under normal conditions, the mobile phone can establish Bluetooth connection with a BLE module in an entity key or a Bluetooth module in a vehicle Body Controller (BCM) through the BLE module; the entity key can carry out high-precision distance measurement and high-safety data transmission through the UWB module and a plurality of UWB anchor points on the vehicle. Because the power consumption is great when UWB is surveyed or is communicated to the power consumption during to the during operation is nearer, for the energy can be saved, the entity key in this embodiment only when being nearer with the distance of vehicle, just enables UWB's range finding or communication function.
It should be understood that, considering the energy consumption of the battery of the physical key, the physical key in this embodiment is only used for distance measurement and a small amount of data transmission with high safety requirements, and the positioning solution or the logic judgment is mainly performed in the vehicle BCM or the mobile phone. In practical application, the above functions can be transferred to the physical key according to actual needs.
Further, in order to provide two-dimensional or even three-dimensional coordinates of the key relative to the vehicle body to support more functions, a plurality of UWB anchor modules are generally configured around the vehicle body (e.g., 4 angular points at the front and rear of the vehicle) and at different positions in the cockpit, each UWB anchor module is respectively used for ranging with a UWB module in the entity key, and then ranging results are transmitted to a vehicle Body Controller (BCM) through a CAN bus at the vehicle end, and the vehicle body BCM CAN obtain the position coordinates of the entity key by resolving a plurality of ranging results between each UWB anchor and the entity key.
When the common mobile phone is far away from the entity key, the common mobile phone is vulnerable to relay attack because the common mobile phone does not have a UWB function, and under a normal condition, the mobile phone can establish communication connection with the entity key or the vehicle through Bluetooth, and at the moment, a user can perform simple and manual remote control operation on the vehicle through the mobile phone digital key APP, for example, the vehicle door is opened or closed, but the common mobile phone does not have a PEPS function for the sake of safety. The entity key has a UWB function and a relay attack prevention capability, can safely execute various operations of the PEPS function on the vehicle, but is limited by software and hardware resources and battery energy, and does not have the function of a digital key, namely, the use right of the vehicle cannot be remotely authorized or shared.
When the distance between the common mobile phone and the entity key is smaller than or equal to the preset value, the mobile phone and the entity key form a combination body at the moment, namely, a special BLE communication channel is established between the mobile phone and the entity key and the vehicle, UWB of the entity key and UWB anchor points distributed on the vehicle carry out ranging and safety data transmission, each UWB anchor point of the vehicle body gathers ranging data of the entity key to BCM for carrying out entity key position calculation, and the coordinates of the output entity key are calculated. The terminal and entity key assembly at this moment possess all security abilities of ' UWB terminal ', feasible all functions that make ' UWB terminal ', user's accessible cell-phone digital key APP realizes the noninductive control of the safe UWB PEPS of vehicle, can also conveniently carry out the long-range share of digital key simultaneously, with family's sharing vehicle, or authorize friend's use of car for a short time.
It should be noted that the UWB positioning algorithm includes various algorithms, such as: an AOA location algorithm, a TOF location algorithm, a TOA location algorithm, or a TDOA location algorithm, etc. When the system is used, a proper algorithm can be selected according to needs, in the embodiment, a TOF positioning algorithm is selected, the algorithm measures the distance between nodes through the propagation time of a wireless signal, the algorithm is based on the first-path arrival time delay estimation theory in multipath, a vehicle sends a UWB signal, after an entity key receives the signal, timestamp information including the time when the UWB pulse signal is received and the time when the UWB pulse signal is re-sent and related data information are sent back to the vehicle, and the vehicle can calculate the distance corresponding to the UWB ToF by combining the timestamp when the UWB pulse is sent out and the timestamp information when the UWB pulse is returned.
The vehicle and the entity key of this embodiment are embedded with UWB modules, and the UWB modules mainly include: the system comprises an antenna, a UWB receiving and transmitting switch, a UWB radio frequency front end, a signal processing unit, a configuration control unit, a microcontroller and an external interface. The UWB signal processing unit is mainly used for processing a sending signal and a receiving signal, sending information to be sent out through operations such as coding and modulation through the radio frequency front end and the antenna, and recovering information carried by the signals through operations such as signal demodulation and decoding of the radio frequency front end of the antenna and the received signal; the UWB radio frequency front end is a module that processes radio frequency signals, such as: out-of-band interference filtering, signal power amplification, etc. The configuration control unit mainly provides a UWB radio frequency front end, a control register and a read-write control logic in the signal processing unit, and the microcontroller and the interface function (library) provide parameter setting and state output such as the time sequence of the ToF distance measurement/communication. An antenna is a device that converts a guided wave propagating on a transmission line into an electromagnetic wave propagating through an unbounded medium (usually, free space) or vice versa.
Referring to fig. 2, a second embodiment of the present invention discloses a remote control method for a vehicle, including:
the method comprises the steps that a Bluetooth broadcast signal is scanned between a terminal and an entity key in real time, the transmitting power of the opposite party and the received signal strength RSSI of the own party are monitored, the distance between the transmitting power of the opposite party and the received signal strength RSSI of the own party is calculated, Bluetooth connection is built timely, if the terminal detects that the distance between the terminal and the entity key is smaller than or equal to a preset distance, a special Bluetooth connection channel is built between the terminal and the entity key, a combined body is formed by binding, and the complete UWB digital key application function borne by a UWB terminal is performed, wherein the complete UWB digital key application function comprises remote authorization/sharing of a digital key, and PEPS process control of the UWB of the entity key and a BLE between a region near a vehicle and the vehicle is performed;
and if the terminal detects that the distance between the terminal and the entity key is greater than the preset distance, the binding relationship between the terminal and the entity key is released, the terminal and the entity key respectively recover to perform the existing functions, and the Bluetooth connection is timely disconnected.
Specifically speaking, terminal and entity key all have low-power consumption bluetooth BLE communication function, can carry out communication connection with the vehicle respectively. Wherein, the terminal can be equipment such as smart mobile phone, panel computer, palm computer, notebook computer or desktop computer, and in this embodiment, explain for the example of cell-phone to the terminal, and install digital key APP on this cell-phone, user's accessible digital key APP operates the terminal.
Entity key or cell-phone interval preset time carry out the bluetooth broadcast signal circulation detection to the other side, judge whether can establish mutual Bluetooth (BLE) and connect, if connect successfully, then according to the distance of sending side transmitting power and receiving side received signal intensity when BLE communicates entity key and cell-phone, wherein, radio-frequency signal attenuation between BLE receiving and dispatching accords with wireless communication radio-frequency transmission model, has following equation relation:
wherein d represents the distance between the BLE transmitter and the receiver, d0Represents a reference distance;
Pr(d) represents the received signal strength rssi (dbm) when the distance between the BLE transmitter and the receiver is d;
Pr(d0) Representing the distance between a BLE transmitter and a receiver as a reference distance d0Received signal strength of time rssi (dbm);
n is a link insertion loss index, is usually a constant and is determined by a test environment;
ασis random noise.
The distance d will usually be referenced in engineering0Assuming 1m, the RSSI at 1 meter distance is denoted as a, and the RSSI at distance d can be expressed as:
RSSI=A-10nlog(d)
referring to fig. 3, fig. 3 shows the measurement results of the decrease of the received signal strength with the distance increase when the BLE receiving/transmitting distance is within 25 meters according to the above formula, and each curve represents the data measured once, as can be seen from fig. 3, although each measurement result has a certain randomness, the general trend is consistent, that is, the received signal strength decreases with the distance increase when the transmitting power is unchanged and the gain of the transmitting/receiving antenna is unchanged.
Referring to fig. 4, fig. 4 is a partial enlarged view of the distance of 0-5 m in fig. 3, as can be seen from fig. 4, when BLE is received/transmitted within 5m, the received signal strength decreases rapidly with the increase of the distance, particularly, the curve decreases steeply in the interval of 0-50 cm, the curve has high consistency, the RSSI decrease amplitude is large (close to 30dB), and according to this characteristic, the distance between the mobile phone and the physical key can be more accurately calculated according to the RSSI within the range of 50cm, so the preset distance is set to 50cm in this embodiment.
If the distance between the ordinary mobile phone and the entity key is less than 50cm, the mobile phone and the entity key are bound through a special BLE communication channel between the ordinary mobile phone and the entity key to form an ordinary mobile phone and UWB entity key combination, UWB ToF ranging and safety data transmission are carried out through the entity key and the vehicle in the combination, BLE connection between a terminal in the combination and the vehicle is carried out to search the vehicle in a distance section outside a UWB ranging range relative to the vehicle body, BLE _ RSSI rough ranging is carried out to enable the combination to be close to the vehicle body to a preset distance, accurate ranging/positioning is triggered in time, BLE connection between the combination and the vehicle body is also used for UWB time sequence parameter negotiation in the UWB ranging/communication process, ranging synchronization between the entity key UWB and the vehicle body UWB anchor point, and the like.
Further, after the entity key is bound with the mobile phone, when the vehicle carries out UWB positioning on the entity key, the UWB anchor point modules distributed at different positions of the vehicle body carry out ToF ranging through the UWB module with the entity key, then the ranging result is transmitted to a vehicle Body Controller (BCM) through a CAN bus of the vehicle end, the vehicle body BCM CAN obtain the position coordinate of the entity key through resolving, the coordinate information is transmitted to the mobile phone through a BLE communication channel between the vehicle and the mobile phone for a user to check, and the user CAN obtain the same use experience as the mobile phone with the UWB function by ensuring the position consistency of the entity key and the mobile phone.
It should be noted that, considering that the battery capacity of the terminal is large and the charging is convenient, and the terminal is not sensitive to energy consumption, in this embodiment, the terminal and the entity key combination are in communication with BLE of the vehicle, and the BLE module of the terminal is connected with BLE in the vehicle BCM, but the BLE module of the entity key may also be used to be connected with BLE in the vehicle BCM, and only at this time, the information communication between the vehicle and the terminal needs to be relayed through the entity key BLE in the combination, but the functions of the combination such as PEPS sensorless control of the vehicle are not affected.
To reduce the possibility of relay attack and improve security, the transmission power of the transmitting party is included in the broadcast packet before the terminal connects to the entity key-specific bluetooth or in the data packet after the connection. After the entity key and the mobile phone are bound, if the distance measured by the receiver according to the RSSI information is smaller than or equal to the preset distance, the transmitting power of the entity key and the mobile phone is controlled in the process of establishing the BLE connection and after the connection is established through a Bluetooth communication channel between the entity key and the mobile phone, the transmitting power during the Bluetooth communication between the entity key and the mobile phone is adjusted, the communication coverage range of the BLE special connection between the terminal and the entity key is minimized on the premise of ensuring reliable communication between the entity key and the mobile phone, and therefore the probability of interception by a third party during the BLE special channel communication between the entity key and the mobile phone is reduced.
If the distance between the mobile phone and the entity key is larger than 50cm, the binding relationship between the entity key and the mobile phone is released, and the functions related to UWB joint control in the digital key APP on the mobile phone are closed, so that the position consistency of the entity key and the mobile phone is ensured, and a user obtains the same use experience as the mobile phone with UWB function. After the terminal and the entity key are unbound, the entity key and the mobile phone are independent from each other, and the mobile phone and the entity key recover to be independent established functions. The entity key is provided with a BLE module and a UWB module, corresponding PEPS actions are usually carried out on vehicles according to the private protocol of each vehicle factory, when the distance from the vehicles is far, the BLE module tries to establish BLE communication connection with the vehicles and carries out RSSI coarse ranging, when the distance from the vehicles is near to a preset distance, the UWB module is started to carry out ToF ranging (detection) with UWB anchors on the vehicles, when the distance is near to a closer preset distance, the UWB module in the entity key and the plurality of UWB anchors on the vehicles are started to carry out ToF ranging simultaneously and carry out two-dimensional or three-dimensional coordinate calculation to obtain the plane position or three-dimensional coordinate of the entity key relative to the vehicles, and different positions are accompanied with corresponding door control/lamp control/seat adjustment/air conditioner starting and other service functions. After the ordinary mobile phone is unbound with the UWB entity key, because the ordinary mobile phone does not have the relay attack prevention capability any more, the PEPS function is normally closed for the sake of safety, but most functions (such as remote sharing) of the digital key and functions of manually remotely controlling the vehicle (the mobile communication network such as 4G/5G is used for connection in a long distance, and the BLE is used for connection in a short distance) can still be used.
In summary, according to the remote control method and system for the vehicle, the terminal without the UWB function and the UWB physical key are adopted, if the distance between the terminal and the physical key is smaller than or equal to the preset value, the physical key and the terminal are bound with high security to form an assembly capable of performing the function of the 'UWB terminal', and then the UWB non-inductive gating and ignition enabling intelligent control with high security and high positioning accuracy is performed on the vehicle, so that the function of realizing the complete UWB digital key of the vehicle through a common terminal is realized, the risk of relay attack is reduced, good user experience brought by high-accuracy positioning is enjoyed, and meanwhile, the economic burden of a user for purchasing the UWB terminal is eliminated. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.