Vehicle locking method and device and medium

By determining the current distance between the terminal device and the vehicle through multi-band communication connections and mapping relationships, the problem of inaccurate positioning in Bluetooth contactless locking technology is solved, enabling precise unlocking and locking of the vehicle, and improving user experience and security.

CN118748780APending Publication Date: 2024-10-08ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411033469.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing Bluetooth-based contactless locking technology suffers from positioning drift and large errors, resulting in the inability to accurately unlock or lock the car doors, affecting user experience and vehicle safety.

Method used

By establishing multi-band communication connections, including vehicle Bluetooth and Wi-Fi connections, signal strength sequences are obtained, and the current distance between the terminal device and the vehicle is determined using a pre-established mapping relationship, thus achieving precise interlocking control.

Benefits of technology

Without increasing the hardware of the entire vehicle, the accuracy of positioning the distance between the terminal and the vehicle has been improved, thereby enhancing vehicle safety and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748780A_ABST
    Figure CN118748780A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle locking and unlocking method and device and a medium. The method comprises the steps that multi-band communication connection with target terminal equipment is established; and obtaining a signal intensity sequence of the multi-band communication connection, and determining a current distance between the target terminal device and the vehicle according to the signal intensity sequence and a pre-established mapping relationship. Wherein the mapping relation is at least used for representing the corresponding relation between the signal intensity and the target distance under different interference signals, the signal intensity is the signal intensity of the multi-band communication connection between the terminal equipment and the vehicle, and the target distance is the distance between the terminal equipment and the vehicle. And then, locking control is carried out on the vehicle according to the current distance. Therefore, on the basis that hardware of the whole vehicle is not added, the positioning accuracy of the distance between the terminal and the vehicle is improved through the multi-band communication positioning principle, and accurate locking and locking control of the vehicle is achieved based on the corresponding relation between the signal strength and the distance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle connection and locking, and in particular to a method, device and medium for vehicle connection and locking. Background Art

[0002] With the continuous development of the automobile industry, in order to improve the convenience of users opening car doors and avoid users forgetting to bring car keys and being unable to open the car doors normally, mobile phones and other terminal devices can be connected to the Bluetooth on the vehicle, thereby realizing the vehicle's contactless locking based on Bluetooth, that is, the terminal device automatically unlocks when it is close to the vehicle and automatically locks when it is away from the vehicle.

[0003] However, the Bluetooth-based contactless locking technology has disadvantages such as positioning drift and large errors, which makes it impossible to accurately locate the position of the terminal device. As a result, when the distance between the terminal device and the vehicle reaches the unlocking condition, the door still cannot be unlocked normally, or when the distance between the terminal device and the vehicle reaches the locking condition, the door cannot be locked normally, thereby reducing the user experience and vehicle safety. Summary of the invention

[0004] In view of this, one aspect of the present application provides a vehicle locking method, the method comprising:

[0005] Establishing a multi-band communication connection with a target terminal device; wherein the multi-band communication connection includes at least a first communication connection and a second communication connection, and the first communication connection and the second communication connection correspond to different communication frequency bands;

[0006] Obtaining a signal strength sequence of the multi-band communication connection;

[0007] Determine the current distance between the target terminal device and the vehicle according to the signal strength sequence and the pre-established mapping relationship; wherein the mapping relationship is at least used to characterize the corresponding relationship between the signal strength and the target distance under different interference signals, the signal strength is the signal strength of the multi-band communication connection between the terminal device and the vehicle, and the target distance is the distance between the terminal device and the vehicle;

[0008] The vehicle is locked and controlled according to the current distance.

[0009] Optionally, the first communication connection includes a Bluetooth connection of the vehicle Bluetooth, and the second communication connection includes a Wi-Fi connection of the vehicle Wi-Fi.

[0010] Optionally, the vehicle Bluetooth includes a first Bluetooth set on the main driver's seat, a second Bluetooth set on the co-driver's seat, and a third Bluetooth set on the trunk.

[0011] Optionally, performing locking control on the vehicle according to the current distance includes:

[0012] Sorting the signal strengths in the signal strength sequence in descending order to obtain a sorting result;

[0013] Based on the sorting result, if the maximum signal strength is a communication frequency band signal corresponding to the third Bluetooth, and the current distance is less than a first threshold, controlling the trunk to be unlocked;

[0014] If the maximum signal strength is a communication frequency band signal corresponding to the first Bluetooth, and the current distance is less than the first threshold, all doors on the main driver's side of the vehicle are controlled to be unlocked;

[0015] If the maximum signal strength is a communication frequency band signal corresponding to the second Bluetooth or the vehicle WiFi, and the current distance is less than the first threshold, all doors of the vehicle are controlled to be unlocked;

[0016] If the current distance is greater than a second threshold, the trunk and all doors of the vehicle are controlled to be locked; wherein the second threshold is greater than the first threshold.

[0017] Optionally, determining the current distance between the target terminal device and the vehicle according to the signal strength sequence and a pre-established mapping relationship includes:

[0018] Calculate the signal strength averages of the same signal in each signal strength sequence in the current preset period and the previous preset period respectively, and obtain the first sequence A and the second sequence B accordingly;

[0019] Calculating a first difference X between the first sequence A and the same signal in the mapping relationship, and a second difference Y between the second sequence B and the same signal in the mapping relationship;

[0020] respectively sorting in ascending order the mean value M of the first difference value X and the mean value N of the second difference value Y under the same interference signal and the same distance;

[0021] The current distance is determined based on the mapping relationship and the distances corresponding to the mean values ​​M1, M2, N1, and N2 of the top two in the sorting results.

[0022] Optionally, the mapping relationship is also used to characterize the correspondence between the signal strength, the target distance and the signal attenuation coefficient under different interference signals, and the current distance is determined based on the mapping relationship and the distances corresponding to the mean M1, mean M2, mean N1 and mean N2 of the top two in the sorting result, including:

[0023] Calculating a third difference P between the mean M1 and the mean N1, and a fourth difference Q between the mean M2 and the mean N2;

[0024] Calculating a target difference between the same signal in the first sequence A and the second sequence B;

[0025] Respectively calculating the ratio of each of the target difference values ​​to the third difference value P and the fourth difference value Q to obtain a current signal attenuation coefficient;

[0026] respectively calculating a target mean value of a difference between the current signal attenuation coefficient and the signal attenuation coefficient in the mapping relationship under the same signal condition;

[0027] The target distance corresponding to the minimum value of the sum of the target means under the same interference signal and the target distance is taken as the current distance.

[0028] Optionally, the vehicle locking method further includes:

[0029] After receiving the forced unlocking signal sent by the target terminal device, obtaining the positioning information of the vehicle;

[0030] Collecting target interference signals under the positioning information;

[0031] The target interference signal and the positioning information are reported to a remote service center so that the remote service center can update the mapping relationship.

[0032] Another aspect of the present application provides a vehicle locking device, the device comprising:

[0033] A communication module, configured to establish a multi-band communication connection with a target terminal device; wherein the multi-band communication connection includes at least a first communication connection and a second communication connection, and the first communication connection and the second communication connection correspond to different communication frequency bands;

[0034] A sequence acquisition module, used to acquire a signal strength sequence of the multi-band communication connection;

[0035] A first determination module is used to determine the current distance between the target terminal device and the vehicle according to the signal strength sequence and a pre-established mapping relationship; wherein the mapping relationship is at least used to characterize the corresponding relationship between the signal strength and the target distance under different interference signals, the signal strength is the signal strength of the multi-band communication connection between the terminal device and the vehicle, and the target distance is the distance between the terminal device and the vehicle;

[0036] A control module is used to perform locking control on the vehicle according to the current distance.

[0037] Another aspect of the present application provides a vehicle locking device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor implements the steps of the vehicle locking method when executing the program.

[0038] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the steps of the vehicle locking method are implemented.

[0039] The present application provides a vehicle locking method, device and medium, which have the beneficial effect of improving the positioning accuracy of the distance between the terminal and the vehicle through the principle of multi-band communication positioning without adding the hardware of the whole vehicle. In addition, based on the multi-band communication, based on the pre-established mapping relationship, the corresponding relationship between the signal strength and the distance under different interference signals can be determined, so as to determine the current distance between the target terminal device and the vehicle, and further realize the precise locking control of the vehicle according to the current distance, thereby improving the vehicle safety and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic flow chart of a vehicle locking method provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of the principle of multi-frequency communication connection between a terminal device and a vehicle provided in an embodiment of the present application;

[0042] Figure 3 A schematic diagram showing a principle of a multi-frequency communication connection between a terminal device and a vehicle provided in another embodiment of the present application;

[0043] Figure 4 A schematic flow chart of a vehicle locking method provided by another embodiment of the present application;

[0044] Figure 5 A schematic flow chart of a vehicle locking method provided by another embodiment of the present application;

[0045] Figure 6 A schematic diagram of the structure of a vehicle locking device provided in an embodiment of the present application;

[0046] Figure 7 A schematic structural diagram of a vehicle locking device provided in another embodiment of the present application.

[0047] The figure numbers are as follows: 1 is vehicle wifi, 2 is the first Bluetooth, 3 is the second Bluetooth, 4 is the third Bluetooth, 5 is the Bluetooth control module, 6 is the infotainment module, 70 is the memory, 71 is the processor, 72 is the display screen, 73 is the input and output interface, 74 is the communication interface, 75 is the power supply, 76 is the communication bus, 701 is the computer program, 702 is the operating system and 703 is the data. DETAILED DESCRIPTION

[0048] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0049] Figure 1 A flow chart of a vehicle locking method provided in an embodiment of the present application is shown as follows: Figure 1 As shown, the method includes:

[0050] S10: Establishing a multi-band communication connection with a target terminal device; wherein the multi-band communication connection includes at least a first communication connection and a second communication connection, and the first communication connection and the second communication connection correspond to different communication frequency bands;

[0051] First of all, it should be noted that the execution subject of this application can be a vehicle controller or a domain controller, and this application does not limit this. In a specific embodiment, any controller on the vehicle side can be used. In addition, it should be noted that the vehicles to which the method provided by this application can be applied may include but are not limited to sedans, sports utility vehicles (SUVs), multi-purpose vehicles (MPVs), off-road vehicles, pickup trucks or other power-driven non-track-borne vehicles.

[0052] In a specific embodiment, the vehicle establishes a multi-band communication connection with the target terminal device, wherein the multi-band communication includes at least a first communication connection and a second communication connection in which the communication band is uninterrupted. It should be noted that the first communication connection and the second communication connection may include but are not limited to a wireless local area network (wifi) connection, a Bluetooth connection, a mobile communication connection, a radio frequency identification (RFID) connection, an infrared connection, a satellite communication connection, and a radio broadcast connection. Of course, it is worth noting that the first communication connection is different from the second communication connection.

[0053] In an optional embodiment, the first communication connection may be a Bluetooth connection, the communication frequency band corresponding to the first communication connection may be a 2.4G communication frequency band, the second communication connection may be a WiFi connection, and the communication frequency band corresponding to the second communication connection may be a 5G communication frequency band. It is worth noting that the target terminal device is an electronic device that a user can carry with him / her, and may include but is not limited to mobile phones and smart watches.

[0054] S11: Acquire a signal strength sequence of a multi-band communication connection;

[0055] After establishing a multi-band communication connection with the target terminal device in step S10, a signal strength sequence of the multi-band communication connection can be obtained in step S11. It can be understood that communication connections in different frequency bands have different signal strengths. In a specific embodiment, the signal strengths of different communication frequency bands are obtained respectively to form a signal strength sequence.

[0056] It is worth noting that in some optional embodiments, the signal strength sequence can be composed of signal strengths acquired in real time, or it can be composed of the average signal strength in the same communication frequency band within a certain period, and this application does not limit this.

[0057] S12: determining the current distance between the target terminal device and the vehicle according to the signal strength sequence and the pre-established mapping relationship; wherein the mapping relationship is at least used to characterize the corresponding relationship between the signal strength and the target distance under different interference signals, the signal strength is the signal strength of the multi-band communication connection between the terminal device and the vehicle, and the target distance is the distance between the terminal device and the vehicle;

[0058] After obtaining the signal strength sequence, the current distance between the target terminal device and the vehicle is determined according to the signal strength sequence and the pre-established mapping relationship in step S12. The mapping relationship is at least used to characterize the corresponding relationship between the signal strength after the vehicle and the terminal device are connected in multiple frequency bands under different interference signals and the distance between the two.

[0059] It can be understood that the signal strength sequence can be used to characterize the signal strength when the current target terminal device is communicating with the vehicle, and the pre-established mapping relationship can determine the signal interference in the current environment, or the relationship between signal strength and distance under the current signal interference, thereby determining the current distance between the target terminal device and the vehicle.

[0060] In an optional embodiment, the mapping relationship may include but is not limited to a table representation. In a specific embodiment, according to the currently acquired signal strength sequence, the current distance between the target terminal device and the vehicle can be determined based on the table of the mapping relationship.

[0061] Figure 2 A schematic diagram of the principle of a multi-frequency communication connection between a terminal device and a vehicle provided in an embodiment of the present application. In an optional embodiment, when the first communication connection is a Bluetooth connection and the second communication connection is a WiFi connection, in a specific embodiment, after the vehicle Bluetooth and the vehicle WiFi 1 on the vehicle establish a communication connection with the vehicle, when determining the current distance between the target terminal device and the vehicle, for ease of understanding, such as Figure 2 As shown, the current distance can be the distance between the target terminal device and the center point of the vehicle, that is, since the target terminal device is carried by the user, it can also be understood as the distance between the user and the vehicle, that is, Figure 2 As shown, the distance between point C and point D.

[0062] S13: Locking and controlling the vehicle according to the current distance.

[0063] Further, after determining the current distance, the vehicle is locked according to the current distance. Specifically, in an optional embodiment, if the current distance is less than a first preset value, that is, the target terminal device is close to the vehicle, the vehicle is unlocked. If the current distance is greater than a second preset value, that is, the target terminal device is far from the vehicle, the vehicle is locked.

[0064] Therefore, the vehicle locking method provided in the embodiment of the present application improves the positioning accuracy of the distance between the terminal and the vehicle through the principle of multi-band communication positioning without adding the hardware of the whole vehicle. In addition, based on the multi-band communication, based on the pre-established mapping relationship, the corresponding relationship between the signal strength and the distance under different interference signals can be determined, thereby determining the current distance between the target terminal device and the vehicle, and further realizing accurate locking control of the vehicle according to the current distance, thereby improving vehicle safety and user experience.

[0065] In an optional embodiment, the first communication connection includes a Bluetooth connection of the vehicle Bluetooth, and the second communication connection includes a WiFi connection of the vehicle WiFi 1. The first communication connection is a 2.4G communication frequency band, and the second communication connection is a 5G communication frequency band.

[0066] In a specific embodiment, when it is necessary to lock the vehicle through a target terminal device (for example, a mobile phone), the target terminal device and the vehicle establish a multi-band communication connection using Bluetooth and WiFi. During the communication connection, a key comparison is first performed on the target terminal device to verify the identity of the target terminal device. If the key comparison result determines that the identity of the target terminal device is legal, a multi-band communication connection is allowed to be established.

[0067] It should be noted that the vehicle wifi 1 can be set in the main driver's cab, in the co-driver's cab, or between the main driver and the co-driver, and this application does not limit this.

[0068] Therefore, the vehicle locking method provided in the embodiment of the present application improves the positioning accuracy of the distance between the terminal and the vehicle through the dual-band communication connection of Bluetooth connection and WiFi connection without increasing the hardware of the entire vehicle.

[0069] On the basis of the above embodiments, in order to improve the positioning accuracy of the target terminal device, as Figure 2 As shown, the vehicle Bluetooth includes a first Bluetooth 2 set on the main driver, a second Bluetooth 3 set on the co-driver, and a third Bluetooth 4 set on the trunk. It should be noted that the communication frequency bands of the first Bluetooth 2, the second Bluetooth 3 and the third Bluetooth 4 are the same, that is, they all belong to the first communication connection.

[0070] It is understandable that, from the perspective of cost and accuracy, setting three Bluetooths and distributing them on the main driver's seat, co-driver's seat and trunk of the vehicle can ensure that users carrying target terminal devices can obtain signals from the first communication connection no matter from which direction they approach the vehicle. Of course, this application does not limit the number of vehicle Bluetooths, and it can be set according to actual needs.

[0071] Figure 3 This is a schematic diagram of the principle of a multi-frequency communication connection between a terminal device and a vehicle provided by another embodiment of the present application. In a specific embodiment, since the main driver uses the door frequently, that is, the probability of opening the driver's door is higher than the probability of opening other doors, therefore, Figure 3 As shown, the first Bluetooth 2 set on the main driver is used as a logical main node, directly connected to the Bluetooth control module 5, and performs Bluetooth communication with the target terminal device.

[0072] The second Bluetooth 3 and the third Bluetooth 4 are used as auxiliary Bluetooth, that is, as auxiliary positioning antennas, and are connected to the Bluetooth control module 5 through the LIN bus. In an optional embodiment, after the first Bluetooth 2 is connected to the target terminal device, an identity legitimacy verification is performed. After the verification is passed, the Bluetooth control module 5 controls the first Bluetooth 2, the second Bluetooth 3 and the third Bluetooth 4 to be connected to the mobile device in a time-sharing manner.

[0073] Among them, time-sharing connection means that the target terminal device first establishes a communication connection with the first Bluetooth 2. After the connection is successful, the first Bluetooth 2 controls the connection between the second Bluetooth 3 and the third Bluetooth 4 and the target terminal device, and each device (that is, three Bluetooths) maintains the connection for a certain period of time (for example, connected for 15 milliseconds (ms)), and then switches to the next device for connection. In this way, the three Bluetooths are connected in a certain order, and during the connection process, the signal strength of the corresponding communication frequency band is reported in real time.

[0074] It should be noted that when the identity of the target terminal device is legitimate, it is first determined whether the vehicle is in a dormant state. If so, the entire vehicle communication is awakened so that the vehicle can establish a multi-frequency communication connection with the target terminal device.

[0075] like Figure 3 As shown, the vehicle wifi 1 is directly connected to the infotainment module 6, and is connected to the target terminal device via wifi, and the signal strength of the wifi connection is obtained in real time during the connection process. Among them, the infotainment module 6 is connected to the Bluetooth control module 5 via the CAN bus.

[0076] Therefore, the vehicle locking method provided in the embodiment of the present application, based on multi-band communication, sets the vehicle Bluetooth to multiple, and distributes them at different positions of the vehicle, that is, realizes multiple first communication connections, and further improves the accuracy of determining the distance between the vehicle and the terminal on this basis, and no matter from which direction the user carrying the terminal approaches the vehicle, there is always a Bluetooth that can be combined with WiFi, based on the principle of dual-frequency positioning, to achieve accurate positioning of the terminal device.

[0077] In an optional embodiment, the vehicle is locked and controlled according to the current distance, including:

[0078] Sorting the signal strengths in the signal strength sequence in descending order to obtain a sorting result;

[0079] Based on the sorting result, if the maximum signal strength is a communication frequency band signal corresponding to the third Bluetooth, and the current distance is less than the first threshold, the trunk is controlled to be unlocked;

[0080] If the maximum signal strength is a communication frequency band signal corresponding to the first Bluetooth, and the current distance is less than the first threshold, all doors on the main driver's side of the vehicle are controlled to be unlocked;

[0081] If the maximum signal strength is a communication frequency band signal corresponding to the second Bluetooth or the vehicle's Wi-Fi, and the current distance is less than the first threshold, all doors of the vehicle are controlled to be unlocked;

[0082] If the current distance is greater than a second threshold, the trunk and all doors of the vehicle are locked; wherein the second threshold is greater than the first threshold.

[0083] In a specific embodiment, in order to achieve accurate locking of the main driver's door, trunk and other doors of the vehicle, the signal strength in the signal strength sequence is sorted in descending order to obtain a sorting result. It can be understood that the closer the target terminal device is to the vehicle, the greater the signal strength value. Based on this, in an optional embodiment, if the sorting result indicates that the maximum signal strength is the communication frequency band signal corresponding to the third Bluetooth 4, and the current distance is less than the first threshold, that is, the signal strength corresponding to the third Bluetooth 4 set in the trunk is the largest, and according to the pre-established mapping relationship, it is determined that the current distance between the target terminal device and the vehicle is close (for example, the current distance is <1.5 meters), it can be determined that the user wants to open the trunk, and the trunk is controlled to be unlocked at this time.

[0084] If it is determined based on the sorting result that the maximum signal strength is the communication frequency band signal corresponding to the first Bluetooth 2, and the current distance is less than the first threshold value, that is, the signal strength value corresponding to the first Bluetooth 2 set on the main driver's side is the largest, and the current distance is less than the first threshold value (for example, the current distance is less than 1.5 meters), it is determined that the user wants to open the main driver's door or the door behind the main driver's door, and at this time, all the doors on the main driver's side of the vehicle can be controlled to unlock.

[0085] If the maximum signal strength is determined to be the communication frequency band signal corresponding to the second Bluetooth 3 or the vehicle WiFi 1 based on the sorting result, and the current distance is less than the first threshold (for example, the current distance is less than 1.5 meters), that is, when the signal strength value corresponding to the second Bluetooth 3 set on the co-pilot is the largest, or when the signal strength value corresponding to the vehicle WiFi 1 set between the main cab and the co-pilot cab is the largest, it indicates that the user wants to open all the doors of the vehicle, and at this time, all the doors of the vehicle are controlled to be unlocked.

[0086] Of course, in an optional embodiment, if the current distance is greater than the second threshold (for example, the current distance>2.5 meters), it is determined that the user carrying the target terminal device is away from the vehicle, and in order to ensure the safety of the vehicle, the trunk and all doors of the vehicle are controlled to be locked. It can be understood that the second threshold is greater than the first threshold.

[0087] In an optional embodiment, if the current distance is not only less than the first threshold but also less than a third threshold, wherein the third threshold is less than the first threshold, for example, the first threshold is 1.5 meters and the third threshold is 0.8 meters, then it is determined that the user carrying the terminal device has boarded the vehicle, and the user is allowed to start the vehicle.

[0088] Therefore, the vehicle locking method provided in the present application can achieve accurate locking of different doors of the vehicle according to the current distance, thereby improving the user experience.

[0089] Figure 4A schematic flow chart of a vehicle locking method provided by another embodiment of the present application, in an optional embodiment, as Figure 4 As shown, according to the signal strength sequence and the pre-established mapping relationship, the current distance between the target terminal device and the vehicle is determined, including:

[0090] S40: calculating the average signal strength of the same signal in each signal strength sequence in the current preset period and the previous preset period respectively, and obtaining a first sequence A and a second sequence B correspondingly;

[0091] In a specific embodiment, the Bluetooth control module 5 on the vehicle side reads the real-time strength of multi-frequency signals. Specifically, when controlling the time-sharing connection of the first Bluetooth 2, the second Bluetooth 3 and the third Bluetooth 4, the current connection signal strength is reported to the Bluetooth control module 5 in real time. Similarly, the vehicle wifi 1 reports the real-time connection signal strength.

[0092] In order to improve the positioning accuracy of the target terminal device, that is, to improve the accuracy of determining the current distance between the target terminal device and the vehicle, the signal strength corresponding to each Bluetooth connection and WiFi connection within the period is obtained once every preset period, and after obtaining the signal strength sequence composed of the signal strengths within the current preset period and the previous preset period, the signal strength mean of the same signal in each signal strength sequence is calculated respectively to obtain the corresponding first sequence A and second sequence B.

[0093] That is to say, the average signal strength of the first Bluetooth 2 signal, the average signal strength of the second Bluetooth 3 signal, the average signal strength of the third Bluetooth 4 signal, and the average signal strength of the vehicle WiFi 1 signal are calculated in the current preset cycle and the previous preset cycle, and the signal averages between different signals in each cycle constitute a signal sequence. For ease of understanding, an example will be given below.

[0094] For example, the preset period is 250ms, and the Bluetooth control module 5 obtains a signal strength sequence every 250ms after the connection. The first Bluetooth 2, the second Bluetooth 3 and the third Bluetooth 4 are connected once every 15ms, and the vehicle WiFi 1 is updated every 45ms. Therefore, 250ms can ensure that the four devices can receive a signal strength greater than or equal to 5 times.

[0095] Generate a first sequence A corresponding to the average signal strength within a 250ms time period, that is, the first Bluetooth 2 signal strength average AdB T1 , the second Bluetooth 3 signal strength average AdB T2 , the third Bluetooth 4 signal strength average AdB T3 , and the average signal strength of vehicle wifi 1 AdB W1, thus forming the first sequence A: AdB T1 、AdB T2 、AdB T3 、AdB W1 Similarly, calculate the average signal strength of different signals in the next 250ms period to obtain the second sequence B: BdB T1 , BdB T2 , BdB T3 , BdB w1 .

[0096] S41: Calculate a first difference X between the first sequence A and the same signal in the mapping relationship, and a second difference Y between the second sequence B and the same signal in the mapping relationship;

[0097] Table 1 is a pre-established mapping relationship table. As shown in Table 1, under different interference signals and different distances, different Bluetooth and WiFi correspond to different signal strengths.

[0098] Table 1 Pre-established mapping relationship table

[0099]

[0100] After step S40, step S41 is used to calculate the first difference X between the first sequence A and the same signal in the mapping relationship, and the second difference Y between the second sequence B and the same signal in the mapping relationship. Specifically, the signal strengths corresponding to the first Bluetooth 2, the second Bluetooth 3, the third Bluetooth 4, and the vehicle wifi 1 corresponding to the interference E1 and the distance S1 are used as an example for explanation.

[0101] Calculate the first sequence A(AdB T1 、AdB T2 、AdB T3 、AdB W1 ) and the first difference X between the same signal in the mapping relationship, that is, calculate AdB T1 and dB T11E1 The difference X1, AdB T2 and dB T21E1 The difference X2, AdB T3 and dB T31E1 The difference X3, AdB T4 and dB T41E1 The difference X4 is obtained, thus, the differences X1, X2, X3 and X4 constitute the first difference X. Similarly, the second difference Y (Y1, Y2, Y3 and Y4) can be calculated.

[0102] S42: sorting in ascending order the mean values ​​M of the first difference values ​​X and the mean values ​​N of the second difference values ​​Y under the same interference signal and distance respectively;

[0103] Further, the mean M of the first difference X and the mean N of the second difference are calculated, that is, the mean of the difference X1, the difference X2, the difference X3 and the difference X4 are calculated to obtain the mean M, that is, M=(X1+X2+X3+X4) / 4 and the mean of the difference Y1, the difference Y2, the difference Y3 and the difference Y4 are calculated to obtain the mean N, that is, N=(Y1+Y2+Y3+Y4) / 4. After calculation, all the means M and N are upgraded and sorted.

[0104] It is worth noting that a mean M and a mean N can be calculated for each row, that is, a corresponding mean M and a mean N can be calculated for each distance S.

[0105] S43: Determine the current distance based on the mapping relationship and the distances corresponding to the mean values ​​M1, M2, N1, and N2 of the top two in the sorting results.

[0106] Further, according to the mapping relationship in Table 1 and the ascending sorting result, the distances corresponding to the mean values ​​M1, M2, N1, and N2 of the first two values ​​are sorted to determine the current distance.

[0107] It is worth noting that the purpose of ascending sorting is to obtain the top two means with smaller means. It is understandable that under the same interference signal, the signal strengths corresponding to different distances must be different, so the calculated means must also be different, so the interference signals corresponding to the first two means are different. It is also understandable that the signal strengths corresponding to different interference signals and different distances may be the same, and the corresponding means may also be the same. Therefore, in order to reduce the positioning error, the top two means are taken to further determine the current distance.

[0108] Figure 5 A flowchart of a vehicle locking method provided by another embodiment of the present application is provided. In a specific embodiment, the first communication connection and the second communication connection communicate in different frequency bands, respectively. Therefore, under the same interference condition, the attenuation strength of the two communication methods is different. As shown in Table 1, the signal strength curves corresponding to all distances under the same interference signal are determined. For example, the signal strength curve R1 is obtained by derivation of the distance S1-distance Sn under the interference signal E1. The slope obtained by derivation of the signal strength curve R1 is used as the signal attenuation coefficient, that is, the signal attenuation coefficient C11 is obtained. Therefore, in an optional embodiment, the mapping relationship is also used to characterize the corresponding relationship between signal strength, target distance and signal attenuation coefficient under different interference signals,

[0109] Based on the above embodiments, Figure 5 As shown, based on the mapping relationship and the distances corresponding to the mean values ​​M1, M2, N1, and N2 of the top two in the sorting result, the current distance is determined, including:

[0110] S50: Calculate a third difference P between the mean M1 and the mean N1, and a fourth difference Q between the mean M2 and the mean N2;

[0111] S51: Calculate the target difference between the same signal in the first sequence A and the second sequence B;

[0112] Based on the above embodiment, after obtaining the means M1, M2, N1 and N2 of the top two, the third difference P between the means M1 and N1 corresponding to the first place and the fourth difference Q between the means M2 and N2 corresponding to the second place are calculated.

[0113] Further, the target difference between the same signal in the first sequence A and the second sequence B is calculated, that is, AdB is calculated. T1 and BdB T1 The target difference H1, AdB T2 and BdB T2 The target difference H2, AdB T3 and BdB T3 The target difference H3, and AdB T4 and BdB T4 The target difference is H4.

[0114] S52: Calculate the ratio of each target difference to the third difference P and the fourth difference Q respectively to obtain the current signal attenuation coefficient;

[0115] Further, the ratios of each target difference to the third difference P and the fourth difference Q are calculated respectively, that is, CA11=H1 / P, CA12=H1 / Q, CA21=H2 / P, CA22=H2 / Q, CA31=H3 / P, CA32=H3 / Q, CB11=H4 / P, CB12=H4 / Q. Thus, the current signal attenuation coefficients include CA11, CA12, CA21, CA22, CA31, CA32, CB11, and CB12.

[0116] S53: Calculate the target mean value of the difference between the current signal attenuation coefficient and the signal attenuation coefficient in the mapping relationship under the same signal condition;

[0117] S54: taking the target distance corresponding to the minimum value of the sum of the target mean values ​​under the same interference signal and target distance as the current distance.

[0118] After step S52, further, the target mean values ​​of the differences between the current signal attenuation coefficient and the signal attenuation coefficient in the mapping relationship are calculated respectively under the same signal conditions. For example, as shown in Table 1, the target mean values ​​K11 of the differences between the current signal attenuation coefficient CA11 and the current signal attenuation coefficient CA12 corresponding to the first Bluetooth 2 and the signal attenuation coefficient C11 in Table 1 are calculated respectively. Similarly, the target mean values ​​K12 corresponding to the second Bluetooth 3, the target mean values ​​K13 corresponding to the third Bluetooth 4, and the target mean values ​​K13 corresponding to the vehicle wifi 1 under the interference signal E1 are obtained.

[0119] It can be understood that the interference signal E2 can obtain target mean values ​​K21, K22, K23 and K24, and correspondingly, the interference signal En can obtain target mean values ​​Kn1, Kn2, Kn3 and Kn4.

[0120] Furthermore, the target distance corresponding to the minimum value of the sum of the target mean values ​​under the same interference signal and target distance is taken as the current distance. For example, when the interference signal E2 can obtain the minimum sum L1 of the target mean values ​​K11, K12, K13 and K14, where L1 = K11 + K12 + K13 + K14, the distance S1 corresponding to L1 is the current distance between the target terminal device and the vehicle.

[0121] In an optional embodiment, the vehicle locking method further includes:

[0122] After receiving the forced unlocking signal sent by the target terminal device, obtaining the vehicle's positioning information;

[0123] Collect target interference signals under positioning information;

[0124] The target interference signal and positioning information are reported to the remote service center so that the remote service center can update the mapping relationship.

[0125] In a specific embodiment, if the vehicle receives a forced unlocking signal sent by the target terminal device, it is determined that the user carrying the target terminal device is close to the vehicle or far away from the vehicle, and the vehicle still cannot be locked normally. That is, the interference intensity is unknown and exceeds the interference calibration range, and the driver determines that the mobile phone Bluetooth connection is normal, and the vehicle cannot normally achieve the corresponding unlocking, locking, starting and other functions according to the set distance. It can be determined that the locking function is misjudged. At this time, the driver can report the location. Specifically, the APP can be installed on the driver's terminal device, and the driver can manually select the corresponding unlocking, locking, starting and other functions to force the vehicle to act.

[0126] In order to improve the subsequent locking of the vehicle in the same environment, after receiving the forced unlocking signal sent by the target terminal device, the positioning information of the vehicle is obtained. The target interference signal under the positioning information is collected, and further, the target interference signal and the positioning information are reported to the remote service center so that the remote service center can update the mapping relationship. That is, Table 1 is updated according to the target interference signal and the positioning information.

[0127] In an optional embodiment, based on the positioning information of the vehicle, each time the vehicle is found to be in a new location (ie, a new location that the vehicle has never been to), interference signals in the new environment may be collected in real time to update the mapping relationship.

[0128] In the above embodiments, the method for locking a vehicle is described in detail, and the present application also provides an embodiment of a device for locking a vehicle. It should be noted that the present application describes the embodiments of the device part from two perspectives, one is based on the perspective of functional modules, and the other is based on the perspective of hardware structure.

[0129] Figure 6 A schematic diagram of the structure of a vehicle locking device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the device comprises:

[0130] A communication module 60, configured to establish a multi-band communication connection with a target terminal device; wherein the multi-band communication connection includes at least a first communication connection and a second communication connection, and the first communication connection and the second communication connection correspond to different communication frequency bands;

[0131] A sequence acquisition module 61 is used to acquire a signal strength sequence of a multi-band communication connection;

[0132] A first determination module 62 is used to determine the current distance between the target terminal device and the vehicle according to the signal strength sequence and a pre-established mapping relationship; wherein the mapping relationship is at least used to characterize the corresponding relationship between the signal strength and the target distance under different interference signals, the signal strength is the signal strength of the multi-band communication connection between the terminal device and the vehicle, and the target distance is the distance between the terminal device and the vehicle;

[0133] The control module 63 is used to control the vehicle to lock according to the current distance.

[0134] In addition, the vehicle locking device provided in the embodiment of the present application further includes:

[0135] A first sorting module is used to sort the signal strengths in the signal strength sequence in descending order to obtain a sorting result;

[0136] The first processing module is used to control the trunk to unlock based on the sorting results, if the maximum signal strength is the communication frequency band signal corresponding to the third Bluetooth and the current distance is less than the first threshold; if the maximum signal strength is the communication frequency band signal corresponding to the first Bluetooth and the current distance is less than the first threshold, control the main driver's door of the vehicle to unlock; if the maximum signal strength is the communication frequency band signal corresponding to the second Bluetooth or the vehicle's wifi and the current distance is less than the first threshold, control all the doors of the vehicle to unlock; if the current distance is greater than the second threshold, control the trunk and all the doors of the vehicle to lock; wherein the second threshold is greater than the first threshold.

[0137] The strength signal sequence calculation module is used to calculate the signal strength mean of the same signal in each signal strength sequence in the current preset period and the previous preset period, and obtain the first sequence A and the second sequence B accordingly;

[0138] A first difference calculation module, used to calculate a first difference X between the first sequence A and the same signal in the mapping relationship, and a second difference Y between the second sequence B and the same signal in the mapping relationship;

[0139] A second sorting module is used to sort the mean value M of the first difference value X and the mean value N of the second difference value Y under the same interference signal and distance in ascending order respectively;

[0140] The second determination module is used to determine the current distance based on the mapping relationship and the distances corresponding to the mean values ​​M1, M2, N1, and N2 of the top two in the sorting result.

[0141] A second difference calculation module, used for calculating a third difference P between the mean M1 and the mean N1, and a fourth difference Q between the mean M2 and the mean N2;

[0142] A third difference calculation module, used to calculate a target difference between the same signal in the first sequence A and the second sequence B;

[0143] A current signal attenuation coefficient calculation module is used to calculate the ratio of each target difference to the third difference P and the fourth difference Q respectively to obtain the current signal attenuation coefficient;

[0144] A mean value calculation module, used to calculate the target mean value of the difference between the current signal attenuation coefficient and the signal attenuation coefficient in the mapping relationship under the same signal condition;

[0145] The second processing module is used to take the target distance corresponding to the minimum value of the sum of the target mean values ​​under the same interference signal and target distance as the current distance.

[0146] A positioning information acquisition module, used to obtain the positioning information of the vehicle after receiving the forced unlocking signal sent by the target terminal device;

[0147] A collection module, used to collect target interference signals under positioning information;

[0148] The reporting module is used to report the target interference signal and positioning information to the remote service center so that the remote service center can update the mapping relationship.

[0149] Figure 7 A schematic diagram of a vehicle locking device provided in another embodiment of the present application is shown in FIG. Figure 7 As shown, the vehicle locking device includes: a memory 70 for storing a computer program;

[0150] The processor 71 is used to implement the steps of the vehicle locking method mentioned in the above embodiment when executing the computer program.

[0151] The vehicle locking device provided in this embodiment may include but is not limited to a vehicle controller or a domain controller.

[0152] Among them, the processor 71 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 71 can be implemented in at least one hardware form of a digital signal processor (Digital Signal Processor, referred to as DSP), a field programmable gate array (Field-Programmable Gate Array, referred to as FPGA), and a programmable logic array (Programmable Logic Array, referred to as PLA). The processor 71 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (Central Processing Unit, referred to as CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 71 may be integrated with a graphics processing unit (Graphics Processing Unit, referred to as GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 71 may also include an artificial intelligence (Artificial Intelligence, referred to as AI) processor, which is used to process computing operations related to machine learning.

[0153] The memory 70 may include one or more computer-readable storage media, which may be non-transitory. The memory 70 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 70 is at least used to store the following computer program 701, wherein, after the computer program is loaded and executed by the processor 71, it can implement the relevant steps of the vehicle locking method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 70 may also include an operating system 702 and data 703, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 702 may include Windows, Unix, Linux, etc. The data 703 may include, but is not limited to, relevant data involved in the vehicle locking method, etc.

[0154] In some embodiments, the vehicle locking device may further include a display screen 72 , an input / output interface 73 , a communication interface 74 , a power source 75 , and a communication bus 76 .

[0155] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the vehicle locking device, and may include more or less components than those shown in the figure.

[0156] The vehicle locking device provided in the embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, the vehicle locking method in the above embodiment can be implemented.

[0157] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.

[0158] It should be noted that specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some implementations, multitasking and parallel processing may be advantageous.

[0159] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A vehicle locking method, characterized in that: The method comprises: Establishing a multi-band communication connection with a target terminal device; wherein the multi-band communication connection includes at least a first communication connection and a second communication connection, and the first communication connection and the second communication connection correspond to different communication frequency bands; Obtaining a signal strength sequence of the multi-band communication connection; Determine the current distance between the target terminal device and the vehicle according to the signal strength sequence and the pre-established mapping relationship; wherein the mapping relationship is at least used to characterize the corresponding relationship between the signal strength and the target distance under different interference signals, the signal strength is the signal strength of the multi-band communication connection between the terminal device and the vehicle, and the target distance is the distance between the terminal device and the vehicle; The vehicle is locked and controlled according to the current distance.

2. The vehicle locking method according to claim 1, characterized in that: The first communication connection includes a Bluetooth connection of the vehicle Bluetooth, and the second communication connection includes a Wi-Fi connection of the vehicle Wi-Fi.

3. The vehicle locking method according to claim 2, characterized in that: The vehicle Bluetooth includes a first Bluetooth arranged at the main driver's seat, a second Bluetooth arranged at the co-driver's seat, and a third Bluetooth arranged at the trunk.

4. The vehicle locking method according to claim 3, characterized in that: The method further comprises: performing locking control on the vehicle according to the current distance, comprising: Sorting the signal strengths in the signal strength sequence in descending order to obtain a sorting result; Based on the sorting result, if the maximum signal strength is a communication frequency band signal corresponding to the third Bluetooth, and the current distance is less than a first threshold, controlling the trunk to be unlocked; If the maximum signal strength is a communication frequency band signal corresponding to the first Bluetooth, and the current distance is less than the first threshold, all doors on the main driver's side of the vehicle are controlled to be unlocked; If the maximum signal strength is a communication frequency band signal corresponding to the second Bluetooth or the vehicle WiFi, and the current distance is less than the first threshold, all doors of the vehicle are controlled to be unlocked; If the current distance is greater than a second threshold, the trunk and all doors of the vehicle are controlled to be locked; wherein the second threshold is greater than the first threshold.

5. The vehicle locking method according to claim 1, characterized in that: Determining the current distance between the target terminal device and the vehicle according to the signal strength sequence and the pre-established mapping relationship includes: Calculate the signal strength averages of the same signal in each signal strength sequence in the current preset period and the previous preset period respectively, and obtain the first sequence A and the second sequence B accordingly; Calculating a first difference X between the first sequence A and the same signal in the mapping relationship, and a second difference Y between the second sequence B and the same signal in the mapping relationship; respectively sorting in ascending order the mean value M of the first difference value X and the mean value N of the second difference value Y under the same interference signal and the same distance; The current distance is determined based on the mapping relationship and the distances corresponding to the mean values ​​M1, M2, N1, and N2 of the top two in the sorting results.

6. The vehicle locking method according to claim 5, characterized in that: The mapping relationship is also used to characterize the corresponding relationship between the signal strength, the target distance and the signal attenuation coefficient under different interference signals, and the current distance is determined based on the mapping relationship and the distances corresponding to the mean values ​​M1, M2, N1 and N2 of the top two in the sorting results, including: Calculating a third difference P between the mean M1 and the mean N1, and a fourth difference Q between the mean M2 and the mean N2; Calculating a target difference between the same signal in the first sequence A and the second sequence B; Respectively calculating the ratio of each of the target difference values ​​to the third difference value P and the fourth difference value Q to obtain a current signal attenuation coefficient; respectively calculating a target mean value of a difference between the current signal attenuation coefficient and the signal attenuation coefficient in the mapping relationship under the same signal condition; The target distance corresponding to the minimum value of the sum of the target means under the same interference signal and the target distance is taken as the current distance.

7. The vehicle locking method according to claim 1, characterized in that: The method further comprises: After receiving the forced unlocking signal sent by the target terminal device, obtaining the positioning information of the vehicle; Collecting target interference signals under the positioning information; The target interference signal and the positioning information are reported to a remote service center so that the remote service center can update the mapping relationship.

8. A vehicle locking device, characterized in that: The device comprises: A communication module, configured to establish a multi-band communication connection with a target terminal device; wherein the multi-band communication connection includes at least a first communication connection and a second communication connection, and the first communication connection and the second communication connection correspond to different communication frequency bands; A sequence acquisition module, used to acquire a signal strength sequence of the multi-band communication connection; A first determination module is used to determine the current distance between the target terminal device and the vehicle according to the signal strength sequence and a pre-established mapping relationship; wherein the mapping relationship is at least used to characterize the corresponding relationship between the signal strength and the target distance under different interference signals, the signal strength is the signal strength of the multi-band communication connection between the terminal device and the vehicle, and the target distance is the distance between the terminal device and the vehicle; A control module is used to perform locking control on the vehicle according to the current distance.

9. A vehicle locking device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps of the vehicle locking method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the vehicle locking method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Remote intelligent lock control method based on cloud platform

    CN120472567A