Bluetooth-based unlocking and locking method and device, electronic equipment and storage medium

By dividing multiple areas around the vehicle and using the positioning information of the Bluetooth key device and the vehicle status information to calculate the locking enable value, the problem of the vehicle being locked without reason is solved, the vehicle's senseless locking and unlocking functions are realized, and the user experience is improved.

CN118744702APending Publication Date: 2024-10-08CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410821746.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The existing Bluetooth-based vehicle sensorless unlocking technology can easily cause the vehicle to lock for no reason in complex user usage scenarios, affecting the user experience.

Method used

By dividing multiple areas around the vehicle, the monitoring device is used to obtain the positioning information of the Bluetooth key device, and the locking enable value is calculated based on the vehicle status information to determine whether to execute the locking command to avoid mislocking.

Benefits of technology

Without increasing the cost of the vehicle, it realizes the vehicle's senseless locking and unlocking functions, improves the user experience, and avoids the situation where the car owner leaves the vehicle and the passengers in the vehicle are mistakenly locked.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118744702A_ABST
    Figure CN118744702A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a Bluetooth-based unlocking and locking method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring positioning information of Bluetooth key equipment through monitoring equipment; when the monitoring equipment monitors that the Bluetooth key equipment is changed from the unlocking area to the locking area according to the positioning information, a locking instruction and the positioning information are sent to a vehicle controller, and the vehicle controller collects state information of the vehicle; calculating a locking enabling value through the vehicle controller according to the positioning information of the Bluetooth key equipment and the state information of the vehicle; and determining whether the vehicle is controlled to be locked or not according to the locking enabling value through the vehicle controller. In the embodiment of the invention, the state information of the vehicle is collected so as to subsequently calculate the locking enabling value in combination with the positioning information of the Bluetooth key equipment, and whether the vehicle controller controls the vehicle to lock is further determined according to the locking enabling value, so that non-inductive locking of the vehicle is realized without increasing the cost of the vehicle, and the vehicle locking efficiency is improved. And the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of vehicle control technology, and in particular to a Bluetooth-based unlocking method, a Bluetooth-based unlocking device, an electronic device, and a computer-readable storage medium. Background Art

[0002] Traditional car keys unlock the vehicle by pressing a button on the physical key, but this method requires the user to manually operate the physical key, which is cumbersome and inconvenient to unlock in certain scenarios. In recent years, with the continuous development of Bluetooth technology, the application of Bluetooth keys combined with positioning technology has realized the function of sensorless vehicle unlocking. However, the current sensorless vehicle unlocking function based on Bluetooth keys is not suitable for complex user scenarios, such as when the owner carries the mobile phone key away from the vehicle, while the user in the car is still using the vehicle function, and the vehicle Bluetooth is disconnected, the vehicle is locked for no reason, resulting in false locks, affecting the user experience. Summary of the invention

[0003] The embodiments of the present invention provide a Bluetooth-based unlocking method, device, electronic device and computer-readable storage medium to solve the problem in the prior art that the vehicle is easily locked for no reason in complex scenarios where the user leaves the vehicle, resulting in mislocking and affecting the user experience.

[0004] The embodiment of the present invention discloses a Bluetooth-based unlocking method, which is applied to a vehicle, wherein the vehicle includes a monitoring device and a vehicle controller, and the periphery of the vehicle is divided into a plurality of vehicle areas based on the distance from the vehicle, wherein the vehicle area includes an unlocking area and a locking area, including:

[0005] Acquiring positioning information of a Bluetooth key device through the monitoring device; the monitoring device is connected to the Bluetooth key device;

[0006] When the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, the locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction;

[0007] The vehicle controller calculates a locking enable value according to the positioning information of the Bluetooth key device and the state information of the vehicle; the locking enable value is used to indicate whether there is someone inside the vehicle;

[0008] The vehicle controller determines whether to control the vehicle to be locked according to the locking instruction according to the locking enable value.

[0009] Optionally, it is characterized in that the vehicle area also includes a buffer zone, and the method further includes:

[0010] When the monitoring device monitors that the Bluetooth key device changes from the buffer zone to the unlocking zone according to the positioning information, an unlocking instruction is sent to the vehicle controller of the vehicle, so that the vehicle controller controls the vehicle to unlock according to the unlocking instruction.

[0011] Optionally, before acquiring the location information of the Bluetooth key device through the monitoring device, the method further includes:

[0012] Performing identity authentication on the Bluetooth key device through the monitoring device;

[0013] If the Bluetooth key device identity authentication fails, disconnecting the connection between the monitoring device and the Bluetooth key device;

[0014] If the Bluetooth key device identity authentication is passed, the positioning information of the Bluetooth key device is obtained through the monitoring device.

[0015] Optionally, the acquiring the positioning information of the Bluetooth key device through the monitoring device includes:

[0016] receiving the signal strength sent by the Bluetooth key device through the monitoring device, and determining the target distance between the Bluetooth key device and the vehicle according to the signal strength;

[0017] When the monitoring device monitors that the target distance is less than the distance threshold, the monitoring device receives the test signal sent by the Bluetooth key device;

[0018] The monitoring device calculates the time difference between the sending and receiving of the test signal, and obtains the positioning information of the Bluetooth key device according to the time difference.

[0019] Optionally, when the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, the monitoring device sends a locking instruction and the positioning information of the Bluetooth key device to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction, including:

[0020] When the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, the locking instruction is sent to the vehicle controller;

[0021] When the vehicle controller receives the locking instruction, it collects the status information of the vehicle;

[0022] Optionally, determining by the vehicle controller according to the locking enable value whether to control the vehicle locking according to the locking instruction includes:

[0023] When the locking enable value is a first preset value, the vehicle controller does not control the vehicle to lock according to the locking instruction;

[0024] When the locking enable value is a second preset value, the vehicle controller controls the vehicle to lock according to the locking instruction;

[0025] The first preset value is used to represent that there is no person in the vehicle, and the second preset value is used to represent that there is no person in the vehicle.

[0026] Optionally, the vehicle status information includes safety status information of the vehicle, operation status information of the vehicle, entertainment status information of the vehicle and electrical status information of the vehicle.

[0027] The embodiment of the present invention further discloses a Bluetooth-based unlocking device, which is applied to a vehicle, wherein the vehicle includes a monitoring device and a vehicle controller, and the periphery of the vehicle is divided into a plurality of vehicle areas based on the distance from the vehicle, wherein the vehicle area includes an unlocking area and a locking area, including:

[0028] An acquisition module, used to acquire the location information of the Bluetooth key device through the monitoring device; the monitoring device is connected to the Bluetooth key device;

[0029] A locking instruction sending module, configured to send a locking instruction and the positioning information of the Bluetooth key device to the vehicle controller when the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, so that the vehicle controller collects the status information of the vehicle according to the locking instruction;

[0030] A locking enable value calculation module, used to calculate a locking enable value according to the positioning information of the Bluetooth key device and the state information of the vehicle through the vehicle controller; the locking enable value is used to indicate whether there is someone inside the vehicle;

[0031] A locking module is used to determine whether to control the vehicle to lock according to the locking instruction through the vehicle controller according to the locking enable value.

[0032] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0033] The memory is used to store computer programs;

[0034] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0035] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.

[0036] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0037] The embodiments of the present invention include the following advantages:

[0038] In an embodiment of the present invention, the positioning information of the Bluetooth key device is obtained by the monitoring device; when the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, a locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction; the vehicle controller calculates a locking enable value according to the positioning information of the Bluetooth key device and the status information of the vehicle; the locking enable value is used to characterize whether there is someone in the vehicle; the vehicle controller determines whether to control the vehicle to be locked according to the locking instruction according to the locking enable value. In the embodiment of the present invention, the area around the vehicle is divided into multiple vehicle areas. When the monitoring device monitors the movement of the Bluetooth key device in a certain vehicle area, it can determine whether to send a locking instruction and the positioning information of the Bluetooth key device to the vehicle controller. The vehicle status information is collected by the vehicle controller so as to subsequently calculate the locking enable value in combination with the positioning information of the Bluetooth key device. The locking enable value is further determined based on the locking enable value. By collecting the vehicle status information and calculating the locking enable value, the situation in which the owner leaves the vehicle while children or other passengers are still mistakenly locked in the vehicle is avoided without increasing the vehicle cost. This not only realizes the senseless locking of the vehicle, but also improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a vehicle area provided in an embodiment of the present invention;

[0040] Figure 2 is a flowchart of a method for unlocking based on Bluetooth provided in an embodiment of the present invention;

[0041] Figure 3It is a flow chart of a vehicle senseless unlocking method provided in the implementation of the present invention;

[0042] Figure 4 It is a flow chart of a vehicle non-sensing locking method provided in the implementation of the present invention;

[0043] Figure 5 is a structural block diagram of a Bluetooth-based unlocking device provided in an embodiment of the present invention;

[0044] Figure 6 is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention;

[0045] Figure 7 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0047] Reference Figure 1 , shows a vehicle area provided in an embodiment of the present invention, where the periphery of the vehicle is divided into a plurality of vehicle areas based on the distance from the vehicle, and the vehicle area includes an unlocking area, a buffer area, and a locking area.

[0048] For example, 0-2 meters corresponds to the unlocking zone, 2-6 meters corresponds to the buffer zone, and 6-10 meters corresponds to the locking zone. It should be noted that the numerical values ​​for dividing the vehicle zones are only an example in the embodiment of the present invention and are not limiting.

[0049] In an embodiment of the present invention, by dividing the vehicle area into three areas: an unlocking area, a buffer area, and a locking area, it can be ensured that when a user carries a Bluetooth key device and moves near the buffer area, no unlocking command will be sent, thereby frequently triggering the vehicle unlocking operation. The vehicle unlocking operation will only be triggered when passing through the buffer area, thereby improving the convenience of the Bluetooth key device and the user experience.

[0050] Reference Figure 2 , shows a flowchart of a method for unlocking based on Bluetooth provided in an embodiment of the present invention, which is applied to a vehicle, wherein the vehicle includes a monitoring device and a vehicle controller, and specifically may include the following steps:

[0051] Step 201: Acquire the location information of the Bluetooth key device through the monitoring device; the monitoring device is connected to the Bluetooth key device;

[0052] In an embodiment of the present invention, the Bluetooth key device, that is, a digital key UWB (Ultra-Wideband) device, can be a key equipped with a Bluetooth module, a mobile terminal with Bluetooth function, or a wearable Bluetooth device. For example, a Bluetooth key, a mobile phone, and a watch can all be used as a Bluetooth key device. The main functions include vehicle-side Bluetooth establishment, key identity authentication (legitimacy authentication), BLE (Bluetooth Low Energy) coarse positioning, and UWB precise positioning.

[0053] The main functions of the monitoring device are to establish device Bluetooth, key identity authentication (legitimacy authentication), BLE signal monitoring, calculate BLE RSSI (Received Signal Strength Indicator) value, calculate UWB TOF (Time of Flight) value and send unlocking instructions.

[0054] In the embodiment of the present invention, the monitoring device roughly locates the Bluetooth key device through BLE and accurately locates the Bluetooth key device through UWB to obtain the positioning information of the Bluetooth key device.

[0055] Step 202: When the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, a locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction;

[0056] The vehicle status information includes safety status information of the vehicle, operation status information of the vehicle, entertainment status information of the vehicle, and electrical status information of the vehicle.

[0057] In an embodiment of the present invention, when the car owner holds a Bluetooth key device that gradually moves away from the vehicle from the vicinity of the vehicle and gradually moves from the unlocking area to the locking area, when the monitoring device monitors that the Bluetooth key device enters the locking area from the unlocking area, a locking command is sent to the vehicle controller. When the vehicle controller receives the locking command, it collects the vehicle status information.

[0058] Specifically, the vehicle's safety status information may include the vehicle's tire pressure status, the vehicle's suspension adjustment status and the vehicle's door lock status; the vehicle's operating status information may include the vehicle's gear information and the vehicle's driving speed; the vehicle's entertainment status information may include the vehicle's audio status and the vehicle's table and chair usage status; the vehicle's electrical status information may include the vehicle's power on and off status.

[0059] Step 203: Calculate a locking enable value through the vehicle controller according to the positioning information of the Bluetooth key device and the state information of the vehicle; the locking enable value is used to indicate whether there is someone inside the vehicle;

[0060] Taking into account the complex situations in which users leave the vehicle in real scenarios, it is necessary to train a model in the vehicle's mobile terminal to determine the locking enable value based on the vehicle's status information through the model, and then the vehicle controller will execute the locking command based on the locking enable value.

[0061] In the embodiment of the present invention, a binary classification neural network model is used for training to obtain a final model and perform locking enable value calculation.

[0062] Model construction: Using the vehicle's cloud data, the positioning information x1 of the Bluetooth key device, and the vehicle's status information including the vehicle gear information x2, vehicle speed x3, vehicle power on and off status x4, vehicle door lock status x5, vehicle table and chair usage status x6, vehicle tire pressure status x7, vehicle suspension adjustment status x8 and vehicle audio status x9, X = {x1, x2, x3, x4, x5, x6, x7, x8, x9}, y represents the user's active unlocking request at this moment, as the model training data set and test set. For each training sample (X i , Y i ), where the eigenvector x i ∈R, output result y i ∈{0,1}, the training set has i samples {(X1,Y1),(X2,Y2),...,(X i , Y i )}. The overall structure of the model includes an input layer, three hidden layers, and an output layer. Finally, the output layer generates the locking enable value Y pre .

[0063] For the input feature X i , W k is the weight corresponding to the kth hidden layer, and the kth hidden layer input can be expressed as The output of the kth hidden layer is expressed as where w k ∈R,β j ∈R,1≤j≤7,1≤k≤3, Represents the activation function used in the hidden layer, j represents the output value of the jth neuron in the hidden layer, and the ReLU activation function is used in this model to introduce nonlinear transformation to the hidden layer input, such as The final output layer uses the Soffmax activation function to output the model to obtain the locking enable value Y pre , Y pre∈{0, 1}, 0 means that the model output result is that there is no one in the vehicle and the locking is executed, 1 means that the model output result is that there is someone in the vehicle, the locking is not executed, the vehicle does not move, and waits until there is no one in the vehicle, as shown in the following formula:

[0064]

[0065] Model training: Set the training batch to 10 times and the model iteration number to 50 times. Use the cross entropy loss function to evaluate the difference between the model output value and the true value. Use the stochastic gradient descent algorithm to update the model hidden layer parameters, as shown in the following formula:

[0066]

[0067] Model evaluation: Since the problem solved by this model is a binary classification problem, the evaluation indicators used include accuracy, precision, recall, and F1-score, as shown in the following formula:

[0068]

[0069]

[0070] Among them, TP (True Positives): true positives, that is, positive examples are predicted to be true (predicted to be positive and actually positive);

[0071] FP (False Positives): False positive examples, that is, negative examples are predicted to be true (predicted as positive examples but actually negative examples);

[0072] FN (false Negatives): False negative examples, that is, positive examples are predicted to be false (predicted as negative examples but actually positive examples);

[0073] TN (True Negatives): True negative examples, that is, negative examples are predicted to be false (predicted as negative examples and are actually negative examples).

[0074] F1-Score is a comprehensive indicator that balances the impact of accuracy and recall and evaluates a classifier more comprehensively. The larger the F1-score, the higher the model quality.

[0075] Step 204: Determine, by the vehicle controller according to the locking enable value, whether to control the vehicle to lock according to the locking instruction.

[0076] In the embodiment of the present invention, if the lock enable value is 0, it means that there is no one in the vehicle, and the vehicle controller will execute the lock according to the lock instruction. If the lock enable value is 1, it means that there is someone in the vehicle, and the vehicle controller will not take any action.

[0077] In an embodiment of the present invention, the positioning information of the Bluetooth key device is obtained by the monitoring device; when the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, a locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction; the vehicle controller calculates a locking enable value according to the positioning information of the Bluetooth key device and the status information of the vehicle; the locking enable value is used to characterize whether there is someone in the vehicle; the vehicle controller determines whether to control the vehicle to be locked according to the locking instruction according to the locking enable value. In the embodiment of the present invention, the area around the vehicle is divided into multiple vehicle areas. When the monitoring device monitors the movement of the Bluetooth key device in a certain vehicle area, it can determine whether to send a locking instruction and the positioning information of the Bluetooth key device to the vehicle controller. The vehicle status information is collected by the vehicle controller so as to subsequently calculate the locking enable value in combination with the positioning information of the Bluetooth key device. The locking enable value is further determined based on the locking enable value. By collecting the vehicle status information and calculating the locking enable value, the situation where the owner leaves the vehicle while children or other passengers are still locked in the vehicle by mistake is avoided without increasing the vehicle cost. The vehicle is locked without feeling and the user experience is improved.

[0078] In one embodiment of the present invention, the vehicle area further includes a buffer zone, and the method further includes:

[0079] When the monitoring device monitors that the Bluetooth key device changes from the buffer zone to the unlocking zone according to the positioning information, an unlocking instruction is sent to the vehicle controller of the vehicle, so that the vehicle controller controls the vehicle to unlock according to the unlocking instruction.

[0080] In the embodiment of the present invention, in addition to realizing the senseless locking function of the vehicle, the senseless unlocking of the vehicle can also be realized. When the owner of the vehicle moves the Bluetooth key device from a distance to the vehicle, and moves from the locking area to the unlocking area, the monitoring device first roughly locates the Bluetooth key device through BLE. When the positioning distance is identified to be about 10m, the monitoring device sends a BLE command to the Bluetooth key device, switches to the UWB positioning mode, and performs precise positioning. When the Bluetooth key device enters the unlocking area from the buffer zone, the monitoring device sends an unlocking command to the vehicle controller, and the vehicle controller executes the unlocking after receiving the unlocking command.

[0081] In an embodiment of the present invention, before acquiring the location information of the Bluetooth key device through the monitoring device, the method further includes:

[0082] Performing identity authentication on the Bluetooth key device through the monitoring device;

[0083] If the Bluetooth key device identity authentication fails, disconnecting the connection between the monitoring device and the Bluetooth key device;

[0084] If the Bluetooth key device identity authentication is passed, the positioning information of the Bluetooth key device is obtained through the monitoring device.

[0085] In an embodiment of the present invention, a connection is established between the monitoring device and the Bluetooth key device at the initial stage. Before the monitoring device obtains the positioning information of the Bluetooth key device, in order to ensure the uniqueness and authenticity of the Bluetooth key device, the monitoring device needs to perform identity authentication on the Bluetooth key device, that is, to determine whether the Bluetooth key device connected to it is legitimate. If the identity authentication fails, the connection between the monitoring device and the Bluetooth key device needs to be disconnected. If the identity authentication passes, the positioning information of the Bluetooth key device can be obtained so as to subsequently send an unlocking command to the vehicle controller.

[0086] In an embodiment of the present invention, the acquiring the positioning information of the Bluetooth key device through the monitoring device includes:

[0087] receiving the signal strength sent by the Bluetooth key device through the monitoring device, and determining the target distance between the Bluetooth key device and the vehicle according to the signal strength;

[0088] When the monitoring device monitors that the target distance is less than the distance threshold, the monitoring device receives the test signal sent by the Bluetooth key device;

[0089] The monitoring device calculates the time difference between the sending and receiving of the test signal, and obtains the positioning information of the Bluetooth key device according to the time difference.

[0090] In the embodiment of the present invention, the monitoring device roughly locates the Bluetooth key device through BLE and accurately locates the Bluetooth key device through UWB to obtain the positioning information of the Bluetooth key device.

[0091] The specific positioning process can be as follows: the listening device receives the BLE signal sent by the Bluetooth key device, and then measures the received signal strength, that is, the RSSI value. According to the relationship between the RSSI value and the distance, the signal strength is converted into the target distance, and the calculated target distance is compared with the preset distance threshold to determine whether the Bluetooth key device is within the operable range. When the listening device detects that the target distance is less than the distance threshold, the Bluetooth key device sends a UWB test signal, the listening device receives the UWB test signal, and then calculates the time difference from the sending to the receiving of the test signal, that is, the TOF value. This time difference is the time required for the signal to propagate from the Bluetooth key device to the listening device. According to the TOF value and the propagation speed of the signal (usually the speed of light), the precise distance between the Bluetooth key device and the listening device is calculated. Through the precise distance, combined with possible multipath effects and environmental factor corrections, the precise positioning information of the Bluetooth key device is obtained.

[0092] In the embodiment of the present invention, the rough positioning and precise positioning are combined to obtain the positioning information of the Bluetooth key device during the vehicle unlocking process.

[0093] First of all, BLE (Bluetooth Low Energy) technology has relatively low energy consumption and is suitable for large-scale rough positioning. Although UWB (Ultra Wideband) technology has high positioning accuracy, it consumes a lot of energy. By using BLE for rough positioning first, the frequency of using UWB can be reduced, thereby optimizing the energy consumption of the entire vehicle system. In addition, rough positioning through BLE can quickly determine the approximate location of the Bluetooth key device, while the UWB positioning mode can provide higher-precision positioning to ensure the accuracy and safety of vehicle unlocking. By combining the two positioning methods, it is possible to more accurately determine whether the Bluetooth key device is actually close to the vehicle to prevent misunderstanding of locking or illegal unlocking.

[0094] In one embodiment of the present invention, when the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, a locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction, including:

[0095] When the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, the locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller;

[0096] When the vehicle controller receives the locking instruction, it collects the status information of the vehicle;

[0097] In an embodiment of the present invention, when the car owner holds a Bluetooth key device that gradually moves away from the vehicle from the vicinity of the vehicle and gradually moves from the unlocking area to the locking area, when the monitoring device monitors that the Bluetooth key device enters the locking area from the unlocking area, a locking command is sent to the vehicle controller. When the vehicle controller receives the locking command, it collects the vehicle status information.

[0098] The embodiment of the present invention collects the status information of the vehicle and calculates the locking enable value in combination with the positioning information of the Bluetooth key device. The status information of the vehicle includes the status information of multiple devices, such as the safety status information of the vehicle, the operation status information of the vehicle, the entertainment status information of the vehicle and the electrical status information of the vehicle. That is, the status information of multiple devices of the vehicle is combined to calculate the locking enable value, and then judge whether there is someone in the vehicle, rather than judging whether there is someone in the vehicle only by a single vehicle data. This can reduce the possibility of misjudgment and adapt to the complex situation of the user leaving the vehicle in the real scene, such as when the owner carries the Bluetooth key device away from the vehicle, while the user in the vehicle is still using the function on the vehicle, and the monitoring device of the vehicle is disconnected from the Bluetooth key device, the vehicle will be locked for no reason, resulting in the situation of wrong locking, thereby improving the accuracy of vehicle judgment, enhancing safety, improving user experience, optimizing energy consumption management, and adapting to complex situations. In addition, this decision-making method based on multiple data sources is more reliable and intelligent than relying on a single data.

[0099] Specifically, the vehicle's safety status information may include the vehicle's tire pressure status, the vehicle's suspension adjustment status and the vehicle's door lock status; the vehicle's operating status information may include the vehicle's gear information and the vehicle's driving speed; the vehicle's entertainment status information may include the vehicle's audio status and the vehicle's table and chair usage status; the vehicle's electrical status information may include the vehicle's power on and off status.

[0100] In one embodiment of the present invention, determining by the vehicle controller according to the locking enable value whether to control the vehicle locking according to the locking instruction includes:

[0101] When the locking enable value is a first preset value, the vehicle controller does not control the vehicle to lock according to the locking instruction;

[0102] When the locking enable value is a second preset value, the vehicle controller controls the vehicle to lock according to the locking instruction;

[0103] The first preset value is used to represent that there is no person in the vehicle, and the second preset value is used to represent that there is no person in the vehicle.

[0104] In the embodiment of the present invention, if the locking enable value is the first preset value, it means that there is someone in the vehicle, and the vehicle controller does not act. If the locking enable value is the second preset value, it means that there is no one in the vehicle, and the vehicle controller will perform locking according to the locking instruction. The first preset value can be 1, and the second preset value can be 0.

[0105] Reference Figure 3 , showing a flow chart of a vehicle senseless unlocking method provided in the implementation of the present invention, the specific process is: first, establish a connection between the monitoring device and the Bluetooth key device; if the connection is successfully established, perform identity authentication on the Bluetooth key device; if the identity authentication is successful, perform rough positioning of the Bluetooth key device; when the distance between the Bluetooth key device and the vehicle is less than 10m, perform precise positioning of the Bluetooth key device; when the Bluetooth key device enters the unlocking area, send an unlocking instruction to the vehicle controller to enable the vehicle controller to execute unlocking.

[0106] In the embodiment of the present invention, by combining the rough positioning and the precise positioning, the vehicle can be unlocked without any sense and the energy consumption of the vehicle system can be reduced.

[0107] Reference Figure 4 , showing a flow chart of a vehicle non-sensing locking method provided in the implementation of the present invention, the specific process is: when the Bluetooth key device held by the owner gradually moves away from the vehicle from the vicinity of the vehicle, the Bluetooth key device is roughly located, and when the monitoring device monitors that the Bluetooth key device enters the locking area from the unlocking area, a locking command is sent to the vehicle controller. After the vehicle controller receives the locking command, it collects the vehicle status information and calculates the locking enable value in combination with the positioning information of the Bluetooth key device; if the locking enable value indicates that there is no one in the vehicle, the vehicle controller executes locking.

[0108] In the embodiment of the present invention, by collecting the status information of the vehicle and calculating the locking enable value in combination with the positioning information of the Bluetooth key device, the vehicle can be locked without any sense of touch without increasing the cost of the vehicle, thereby solving the problem of vehicle mislocking.

[0109] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0110] Reference Figure 5, shows a structural block diagram of a Bluetooth-based unlocking device provided in an embodiment of the present invention, which is applied to a vehicle. The vehicle includes a monitoring device and a vehicle controller, which may specifically include the following modules:

[0111] The acquisition module 501 is used to acquire the location information of the Bluetooth key device through the monitoring device; the monitoring device is connected to the Bluetooth key device;

[0112] A locking instruction sending module 502 is used for sending a locking instruction and the positioning information of the Bluetooth key device to the vehicle controller when the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, so that the vehicle controller collects the status information of the vehicle according to the locking instruction;

[0113] The locking enable value calculation module 503 is used to calculate the locking enable value according to the positioning information of the Bluetooth key device and the state information of the vehicle through the vehicle controller; the locking enable value is used to indicate whether there is someone inside the vehicle;

[0114] The locking module 504 is configured to determine, through the vehicle controller according to the locking enable value, whether to control the vehicle to lock according to the locking instruction.

[0115] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0116] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned Bluetooth-based unlocking method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0117] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned Bluetooth-based unlocking method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0118] An embodiment of the present invention also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned Bluetooth-based unlocking method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0119] Figure 6 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0120] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0121] It should be understood that in the embodiment of the present invention, the radio frequency unit 601 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 610 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 601 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.

[0122] The electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0123] The audio output unit 603 can convert the audio data received by the RF unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output it as sound. Moreover, the audio output unit 603 can also provide audio output related to a specific function performed by the electronic device 600 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, etc.

[0124] The input unit 604 is used to receive audio or video signals. The input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 606. The image frame processed by the graphics processor 6041 can be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.

[0125] The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 6061 and / or the backlight when the electronic device 600 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 605 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0126] The display unit 606 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0127] The user input unit 607 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 6071 or near the touch panel 6071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 6071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 610, receives the command sent by the processor 610 and executes it. In addition, the touch panel 6071 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 6071, the user input unit 607 may also include other input devices 6072. Specifically, other input devices 6072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0128] Furthermore, the touch panel 6071 may be overlaid on the display panel 6061. When the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of touch event. Then, the processor 610 provides corresponding visual output on the display panel 6061 according to the type of touch event. Figure 6 In the figure, the touch panel 6071 and the display panel 6061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0129] The interface unit 608 is an interface for connecting an external device to the electronic device 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and an external device.

[0130] The memory 609 can be used to store software programs and various data. The memory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 609 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0131] The processor 610 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 609 and calling data stored in the memory 609, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.

[0132] The electronic device 600 may also include a power supply 611 (such as a battery) for supplying power to each component. Preferably, the power supply 611 may be logically connected to the processor 610 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0133] In addition, the electronic device 600 includes some functional modules not shown, which will not be described in detail here.

[0134] like Figure 7 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 701 is further provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the Bluetooth-based unlocking method described in the above embodiment.

[0135] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0136] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0137] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0138] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0139] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

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

[0142] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0143] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0144] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A Bluetooth-based unlocking method, applied to a vehicle, wherein the vehicle comprises a monitoring device and a vehicle controller, characterized in that: The periphery of the vehicle is divided into a plurality of vehicle areas based on the distance from the vehicle, and the vehicle areas include an unlocking area and a locking area, including: Acquiring positioning information of a Bluetooth key device through the monitoring device; the monitoring device is connected to the Bluetooth key device; When the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, the monitoring device sends a locking instruction and the positioning information of the Bluetooth key device to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction; The vehicle controller calculates a locking enable value according to the positioning information of the Bluetooth key device and the state information of the vehicle; the locking enable value is used to indicate whether there is someone inside the vehicle; The vehicle controller determines whether to control the vehicle to be locked according to the locking instruction according to the locking enable value.

2. The method according to claim 1, characterized in that The vehicle area also includes a buffer zone, and the method further includes: When the monitoring device monitors that the Bluetooth key device changes from the buffer zone to the unlocking zone according to the positioning information, an unlocking instruction is sent to the vehicle controller of the vehicle, so that the vehicle controller controls the vehicle to unlock according to the unlocking instruction.

3. The method according to claim 1, characterized in that Before acquiring the location information of the Bluetooth key device through the monitoring device, the method further includes: Performing identity authentication on the Bluetooth key device through the monitoring device; If the Bluetooth key device identity authentication fails, disconnecting the connection between the monitoring device and the Bluetooth key device; If the Bluetooth key device identity authentication is passed, the positioning information of the Bluetooth key device is obtained through the monitoring device.

4. The method according to claim 1, characterized in that: The obtaining the positioning information of the Bluetooth key device through the monitoring device includes: receiving the signal strength sent by the Bluetooth key device through the monitoring device, and determining the target distance between the Bluetooth key device and the vehicle according to the signal strength; When the monitoring device monitors that the target distance is less than the distance threshold, the monitoring device receives the test signal sent by the Bluetooth key device; The monitoring device calculates the time difference between the sending and receiving of the test signal, and obtains the positioning information of the Bluetooth key device according to the time difference.

5. The method according to claim 1, characterized in that When the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, the locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller, so that the vehicle controller collects the status information of the vehicle according to the locking instruction, including: When the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, the locking instruction and the positioning information of the Bluetooth key device are sent to the vehicle controller; When the vehicle controller receives the locking instruction, the status information of the vehicle is collected.

6. The method according to claim 1, characterized in that The determining, by the vehicle controller according to the locking enable value, whether to control the vehicle locking according to the locking instruction comprises: When the locking enable value is a first preset value, the vehicle controller does not control the vehicle to lock according to the locking instruction; When the locking enable value is a second preset value, the vehicle controller controls the vehicle to lock according to the locking instruction; The first preset value is used to represent that there is no person in the vehicle, and the second preset value is used to represent that there is no person in the vehicle.

7. The method according to claim 1, characterized in that The vehicle status information includes safety status information of the vehicle, operation status information of the vehicle, entertainment status information of the vehicle, and electrical status information of the vehicle.

8. A Bluetooth-based unlocking device, applied to a vehicle, the vehicle comprising a monitoring device and a vehicle controller, characterized in that: The periphery of the vehicle is divided into a plurality of vehicle areas based on the distance from the vehicle, and the vehicle areas include an unlocking area and a locking area, including: An acquisition module, used to acquire the location information of the Bluetooth key device through the monitoring device; the monitoring device is connected to the Bluetooth key device; A locking instruction sending module, configured to send a locking instruction and the positioning information of the Bluetooth key device to the vehicle controller when the monitoring device monitors that the Bluetooth key device changes from the unlocking area to the locking area according to the positioning information, so that the vehicle controller collects the status information of the vehicle according to the locking instruction; A locking enable value calculation module, used to calculate a locking enable value according to the positioning information of the Bluetooth key device and the state information of the vehicle through the vehicle controller; the locking enable value is used to indicate whether there is someone inside the vehicle; A locking module is used to determine whether to control the vehicle to lock according to the locking instruction through the vehicle controller according to the locking enable value.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Vehicle unlocking and locking method and device, electronic equipment and storage medium

    CN119723715A

  • Vehicle unlocking and locking method and device, electronic equipment and storage medium

    CN119723715B

  • Vehicle control method, apparatus, and system

    WO2026102574A1