Vehicle unlocking method and device based on temple sensing and Bluetooth safety authentication

By introducing edge-support sensing and Bluetooth security authentication mechanisms into the intelligent unlocking system, the defects of the existing system in edge-support status detection and user experience have been solved, and higher security and convenience have been achieved.

CN119920034APending Publication Date: 2025-05-02SHANGHAI SHIWEI REMOTE SENSING INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510100514.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing intelligent lock-unlocking system has defects in physical status monitoring, simplicity of operation and safety, especially in the detection of side support status and user experience, which have great potential risks and inconveniences.

Method used

The vehicle unlocking method based on edge support sensing and Bluetooth security authentication is adopted. By performing Bluetooth authentication during the first connection, Bluetooth pairing is completed using the self-negotiation mechanism, and the edge support status is detected in real time after Bluetooth connection, and the locking operation is only performed when the edge support is in a fully closed state.

Benefits of technology

It improves the safety of the unlocking process of electric bicycles and the safety of riding, simplifies user operations, enhances user experience, and effectively avoids the potential cycling risks caused by the side support not being closed or not being completely closed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119920034A_ABST
    Figure CN119920034A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle unlocking method and device based on temple sensing and Bluetooth security authentication, when a vehicle is unlocked, verification of a PIN code only needs to be carried out during first connection, and Bluetooth connection is carried out by using an auto-negotiation mechanism, so that a user does not need to manually input the PIN code in the whole Bluetooth connection process, and after connection is carried out once, the user does not need to manually input the PIN code; the vehicle can be automatically identified and does not need to be paired again, so that the use convenience is greatly improved; meanwhile, when the Bluetooth connection is carried out for the first time, the MAC address and the current timestamp of the equipment are introduced, so that the generated PIN code is closely related to the equipment and the time, and the uniqueness and the security of each connection are ensured; besides, after Bluetooth connection, the state of the temple can be detected, and unlocking operation is executed only when it is judged that the temple is in a completely folded state; on the basis, the problem that potential riding risks exist due to the fact that the temple is not folded or not completely folded is solved; therefore, the method is very suitable for large-scale application and popularization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of bicycle intelligent unlocking, and in particular relates to a vehicle unlocking method and device based on side support sensing and Bluetooth security authentication. Background Art

[0002] With the widespread application of intelligent technology in the field of electric bicycles, intelligent unlocking systems have gradually replaced traditional mechanical locks and have become a key technology to improve vehicle safety and user convenience; however, most of the intelligent unlocking systems on the market still have certain technical shortcomings, especially in terms of physical state monitoring, safety and user experience, which urgently need further improvement and optimization.

[0003] First of all, the existing intelligent unlocking system lacks real-time monitoring of the physical state of the electric bicycle side stand. As an important safety component of the electric bicycle, the state of the side stand directly affects the riding safety. If the side stand is not fully retracted or not properly fixed, the electric bicycle may lose balance, tilt or fall during riding, thereby causing a safety accident. However, the existing unlocking system fails to effectively integrate physical sensors to monitor the state of the side stand, resulting in the system still triggering unlocking and starting the vehicle when the side stand is in an unsafe state. In this way, the safety of riding is not fully considered, and there is a great potential risk.

[0004] Secondly, existing smart unlocking systems usually require users to perform complex operations, such as entering a PIN code, pairing Bluetooth, or relying on other identity authentication methods (such as scanning a code and relying on the network to unlock). These manual operations not only increase the user's usage burden, but also make the unlocking process cumbersome and inconvenient. For users who frequently use electric bicycles, the first time they unlock, they need to manually enter a password or pair Bluetooth, which cannot meet the user's demand for convenience.

[0005] Furthermore, the existing smart unlocking system relies on simple Bluetooth pairing for identity authentication, which poses a security risk. In addition, the PIN code used for pairing is relatively simple and lacks sufficient robustness, making it vulnerable to brute force cracking or theft attacks, resulting in low security.

[0006] In summary, the existing intelligent unlocking systems have defects and shortcomings to varying degrees in terms of physical state monitoring, ease of operation and safety. Therefore, how to provide a vehicle unlocking method that is easy to operate, highly secure and supports side support detection has become a problem that needs to be solved urgently. Summary of the invention

[0007] The purpose of the present invention is to provide a vehicle unlocking method and device based on side stand sensing and Bluetooth security authentication, so as to solve the problems of low operating convenience, poor security and potential risks in riding caused by the absence of side stand status detection in the prior art.

[0008] In order to achieve the above object, the present invention adopts the following technical solutions:

[0009] In a first aspect, a vehicle unlocking method based on side support sensing and Bluetooth security authentication is provided, comprising:

[0010] After receiving the Bluetooth connection request sent by the user terminal, determining whether the user corresponding to the user terminal is a first-time connecting user;

[0011] If yes, then obtain the current time and the MAC mask of the vehicle, and generate a first Bluetooth PIN code according to the current time and the MAC mask; otherwise, directly establish a Bluetooth connection with the user terminal;

[0012] Receiving a second Bluetooth PIN code sent by the user terminal, wherein the second Bluetooth PIN code is generated by the user terminal after sending a Bluetooth connection request, by receiving a MAC mask of the vehicle, and based on the MAC mask of the vehicle and the current time;

[0013] Determining whether the first Bluetooth PIN code and the second Bluetooth PIN code are the same;

[0014] If yes, a Bluetooth connection is established with the user terminal;

[0015] Obtaining a state of a side stand of the vehicle, and determining whether the side stand is in a fully retracted state;

[0016] If so, the electric door lock of the vehicle is opened to unlock the vehicle.

[0017] Based on the above disclosed content, after receiving the Bluetooth connection request sent by the user terminal, the present invention will first determine whether the user is a first-time connecting user, wherein, if it is not the first-time connecting user, a Bluetooth connection can be directly established with the user terminal; and if it is the first-time connecting user, identity authentication is required through the Bluetooth authentication mechanism; that is: using the current time and the MAC mask of the vehicle to generate a first Bluetooth PIN code, and then receiving the second Bluetooth PIN code sent by the user terminal (the second Bluetooth PIN code is generated by the user terminal according to the MAC mask sent by the vehicle and the current time), and then, determining whether the first Bluetooth PIN code and the second Bluetooth PIN code are the same, if they are the same, then passing identity authentication, allowing the Bluetooth connection to be established with the user terminal; and after establishing the Bluetooth connection, the present invention will also obtain the side support status of the vehicle to determine whether the vehicle can be unlocked based on the side support status of the vehicle, that is, to determine whether it is in a fully retracted state, wherein, if it is in a fully retracted state, the vehicle's electric door lock is opened to unlock the vehicle, otherwise, the vehicle unlocking operation is interrupted to avoid the risk of people riding.

[0018] Through the above design, when the present invention unlocks the vehicle, it is only necessary to verify the PIN code when connecting for the first time, and use the self-negotiation mechanism to perform Bluetooth connection, that is, the vehicle generates a first Bluetooth PIN code, and the user terminal generates a second Bluetooth PIN code and sends it to the vehicle, and then the vehicle establishes a Bluetooth connection between the two when it determines that the two are the same; in this way, the entire Bluetooth connection process does not require the user to manually enter the PIN code and manually pair, and after connecting once, the vehicle will automatically recognize it without re-pairing, thereby greatly improving the convenience of use; at the same time, when the Bluetooth connection is made for the first time, the MAC address and current timestamp of the device are introduced, so that the generated PIN code is closely related to the device and time, ensuring the uniqueness and security of each connection; in addition, after the Bluetooth connection, the state of the side stand will also be detected, and the unlocking operation will be performed only when it is determined that it is in a fully retracted state; based on this, the problem of potential riding risks caused by the side stand not being retracted or not being fully retracted is avoided; therefore, the present invention not only improves the safety of the unlocking process and the safety of riding of the electric bicycle, but also simplifies the user operation, thereby ensuring that the user can enjoy a safe and convenient riding experience under any circumstances.

[0019] In one possible design, generating a first Bluetooth PIN code according to the current time and the MAC mask includes:

[0020] Generate a first string based on the MAC mask, and generate a second string according to the current time;

[0021] Generate a first PIN parameter code using the first character string and the second character string;

[0022] Constructing a second PIN parameter code according to the first PIN parameter code;

[0023] The first Bluetooth PIN code is generated based on the second PIN parameter code.

[0024] In one possible design, based on the MAC mask, a first string is generated, including:

[0025] Extracting a plurality of numbers from the MAC mask, and performing binary conversion processing on the extracted plurality of numbers, so as to obtain the first character string after the binary conversion processing;

[0026] Correspondingly, generating a second character string according to the current time includes:

[0027] Perform binary conversion processing on the second character string to obtain the second character string after the binary conversion processing.

[0028] In one possible design, generating a first PIN parameter code using the first character string and the second character string includes:

[0029] Performing an XOR operation on the first character string and the second character string to obtain the first PIN parameter code after the XOR operation;

[0030] Correspondingly, constructing a second PIN parameter code according to the first PIN parameter code includes:

[0031] The first PIN parameter code is hashed using a hash algorithm to obtain the second PIN parameter code after the hash operation; wherein the hash algorithm includes a SHA-256 hash algorithm.

[0032] In one possible design, generating the first Bluetooth PIN code based on the second PIN parameter code includes:

[0033] Convert the second PIN parameter code into an integer to obtain a PIN integer code;

[0034] A plurality of PIN digits are extracted from the PIN integer code, and the extracted plurality of PIN digits are used as the first Bluetooth PIN code.

[0035] In one possible design, unlocking the vehicle's electric door lock includes:

[0036] Generate an unlock signal;

[0037] An unlock signal is sent to the vehicle lock controller so that the vehicle lock controller opens the vehicle's electric door lock after receiving the unlock signal.

[0038] In a possible design, a Hall sensor is provided on a side support of the vehicle, wherein obtaining the side support status of the vehicle includes:

[0039] Receive a detection signal sent by a Hall sensor;

[0040] The state of the side stand of the vehicle is determined according to the detection signal.

[0041] In a second aspect, a vehicle unlocking device based on side support sensing and Bluetooth security authentication is provided, comprising:

[0042] The Bluetooth module is used to determine whether the user corresponding to the user terminal is a first-time connecting user after receiving a Bluetooth connection request sent by the user terminal;

[0043] A Bluetooth module, for obtaining the current time and the MAC mask of the vehicle when it is determined that the user is a first-time connecting user, and generating a first Bluetooth PIN code according to the current time and the MAC mask; or for directly establishing a Bluetooth connection with the user terminal when it is determined that the user is not a first-time connecting user;

[0044] A Bluetooth module, configured to receive a second Bluetooth PIN code sent by a user terminal, wherein the second Bluetooth PIN code is generated by the user terminal after sending a Bluetooth connection request, by receiving a MAC mask of the vehicle, and based on the MAC mask of the vehicle and the current time;

[0045] A Bluetooth module, used to determine whether the first Bluetooth PIN code and the second Bluetooth PIN code are the same;

[0046] A Bluetooth module, configured to establish a Bluetooth connection with a user terminal when it is determined that the first Bluetooth PIN code and the second Bluetooth PIN code are the same;

[0047] The MCU module is used to obtain the state of the side stand of the vehicle and determine whether the side stand is in a fully retracted state;

[0048] If so, the MCU module opens the vehicle's electric door lock to unlock the vehicle.

[0049] According to a third aspect, another vehicle unlocking device based on side brace sensing and Bluetooth security authentication is provided. Taking the device as an electronic device as an example, the device includes a memory, a processor and a transceiver which are communicatively connected in sequence, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the vehicle unlocking method based on side brace sensing and Bluetooth security authentication as described in the first aspect or any possible design of the first aspect.

[0050] In a fourth aspect, a storage medium is provided, on which instructions are stored. When the instructions are executed on a computer, the vehicle unlocking method based on side support sensing and Bluetooth security authentication as described in the first aspect or any possible design of the first aspect is executed.

[0051] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, causes the computer to execute a vehicle unlocking method based on side support sensing and Bluetooth security authentication as described in the first aspect or any possible design of the first aspect.

[0052] Beneficial effects:

[0053] (1) When unlocking a vehicle, the present invention only needs to verify the PIN code when connecting for the first time, and uses a self-negotiation mechanism to connect to Bluetooth. In this way, the entire Bluetooth connection process does not require the user to manually enter the PIN code and manually pair, and after connecting once, the vehicle will automatically recognize it without the need for re-pairing, thereby greatly improving the convenience of use. At the same time, when the Bluetooth connection is made for the first time, the MAC address and current timestamp of the device are introduced, so that the generated PIN code is closely related to the device and time, ensuring the uniqueness and security of each connection. In addition, after the Bluetooth connection is made, the state of the side stand is also detected, and the unlocking operation is performed only when it is determined that it is in a fully retracted state. Based on this, the problem of potential riding risks caused by the side stand not being retracted or not being fully retracted is avoided. Therefore, the present invention not only improves the safety of the unlocking process and the safety of riding an electric bicycle, but also simplifies user operations, thereby ensuring that users can enjoy a safe and convenient riding experience under any circumstances. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of the steps of a vehicle unlocking method based on temple sensing and Bluetooth security authentication provided by an embodiment of the present invention;

[0055] Figure 2 A schematic diagram of a Bluetooth authentication process provided by an embodiment of the present invention;

[0056] Figure 3 A flow chart of generating a first Bluetooth PIN code provided by an embodiment of the present invention;

[0057] Figure 4 A schematic diagram of the unlocking process of an electric door lock provided in an embodiment of the present invention.

[0058] Figure 5 A schematic diagram of the structure of a vehicle unlocking device based on temple sensing and Bluetooth security authentication provided by an embodiment of the present invention;

[0059] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.

[0061] It should be understood that although the terms first, second, etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another unit. For example, a first unit can be referred to as a second unit, and similarly, a second unit can be referred to as a first unit without departing from the scope of the exemplary embodiments of the present invention.

[0062] It should be understood that the term "and / or" that may appear in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, B exists alone, and A and B exist at the same time. The term " / and" that may appear in this article describes another type of association object relationship, indicating that two relationships may exist. For example, A / and B can represent two situations: A exists alone, and A and B exist alone. In addition, the character " / " that may appear in this article generally indicates that the previous and next associated objects are in an "or" relationship.

[0063] Example:

[0064] See also Figure 1As shown, the vehicle unlocking method based on side support sensing and Bluetooth security authentication provided by the present embodiment only needs to perform Bluetooth identity authentication when the user connects for the first time, and uses the self-negotiation mechanism to complete the entire Bluetooth pairing process; in this way, the user does not need to manually enter the PIN code and manually pair, and after connecting once, the vehicle will automatically recognize it without the need for re-pairing; therefore, the convenience of use is greatly improved; at the same time, in the Bluetooth authentication process, the MAC mask of the device and the current timestamp of the device are combined to generate a PIN code, so that the generated PIN code is related to the device and time, which enhances the unpredictability of the PIN code, thereby improving the PIN code security; in addition, after the Bluetooth connection is successful, the state of the side stand will be detected in real time, and the unlocking mechanism will be triggered only when the side stand is fully retracted. Based on this, the disadvantage of traditional technology that the electric bicycle can still be unlocked in an unsafe state is avoided; therefore, the method not only improves the safety of the unlocking process of the electric bicycle and the safety of riding, but also simplifies the user operation, thereby being very suitable for large-scale application and promotion; among them, for example, the method can be but not limited to running on the vehicle equipment side. It can be understood that the aforementioned execution subject does not constitute a limitation on the embodiments of the present application. Accordingly, the operation steps of the method can be but not limited to the following steps S1 to S7.

[0065] S1. After receiving the Bluetooth connection request sent by the user terminal, it is determined whether the user terminal corresponds to the user for the first time connecting to the user; in the specific implementation, see Figure 2 As shown in FIG. 1 , when a user needs to use an electric bicycle (or a common shared bicycle), the user first turns on Bluetooth and then sends a Bluetooth connection request to the vehicle device (i.e. Figure 2 The Bluetooth connection request includes a unique identification of the user terminal. At this time, after receiving the Bluetooth connection request from the user terminal, the vehicle equipment can determine whether the user is a first-time connecting user based on the unique identification (i.e., matching the unique identification in its historical connection user database. If the match is successful, it is determined to be a non-first-time user, otherwise, it is determined to be a first-time connecting user). In this way, it can be decided whether to enter the Bluetooth authentication process or directly establish a Bluetooth connection based on the judgment result; wherein, according to the judgment result in step S1, the different operation processes executed can be but are not limited to those shown in the following step S2.

[0066] S2. If yes, then obtain the current time and the MAC mask of the vehicle, and generate a first Bluetooth PIN code based on the current time and the MAC mask, otherwise, directly establish a Bluetooth connection with the user terminal; in this embodiment, if the user is not a first-time connecting user, then the Bluetooth connection can be directly performed, that is, the following step S5 is executed, otherwise, it is necessary to enter the Bluetooth authentication verification process, wherein, in this embodiment, the current time and the MAC mask (i.e., MAC address) of the vehicle are first obtained, and then, based on this, the first Bluetooth PIN code is generated, and at the same time, the MAC mask is also sent to the user terminal, so that The user terminal generates a second Bluetooth PIN code according to the received MAC mask and the sending time of the Bluetooth connection request (due to the short distance, the difference between the sending and receiving time of the Bluetooth sending request is negligible. Therefore, the time value can be taken in minutes. For example, the sending time is 1:20:04 on December 10, 2024, and the receiving time is 1:20:05 on December 10, 2024, then the time values ​​of both are 1:20 on December 10, 2024), and sends it to the vehicle equipment. In this way, the vehicle equipment can complete the Bluetooth authentication verification by comparing the two Bluetooth PIN codes.

[0067] Optional, see Figure 3 As shown, one of the methods for generating the following public first Bluetooth PIN code may be, but is not limited to, as shown in the following steps S21 to S24.

[0068] S21. Generate a first string based on the MAC mask, and generate a second string based on the current time; in a specific implementation, a number of numbers are extracted from the MAC mask, and the extracted numbers are subjected to binary conversion processing, so as to obtain the first string after the binary conversion processing; similarly, the second string is subjected to binary conversion processing, so as to obtain the second string after the binary conversion processing.

[0069] Further, for example, but not limited to, the last six digits in the MAC mask are extracted, and the extracted last six digits are converted into a binary string, thereby obtaining the first string.

[0070] After obtaining the first character string and the second character string, a first PIN parameter code may be generated based on the first character string and the second character string. The process may be, but is not limited to, as shown in the following step S22.

[0071] S22. Generate a first PIN parameter code using the first character string and the second character string. In a specific application, for example, but not limited to, an XOR operation may be performed on the first character string and the second character string, so that after the XOR operation, the first PIN parameter code is obtained. Then, the second PIN parameter code may be constructed with the help of the first PIN parameter code, and the process is shown in the following step S23.

[0072] S23. Construct a second PIN parameter code according to the first PIN parameter code; in this embodiment, for example, but not limited to, a hash algorithm can be used to perform a hash operation on the first PIN parameter code, so as to obtain the second PIN parameter code after the hash operation; wherein, for example, the hash algorithm can include but is not limited to a SHA-256 hash algorithm; in this case, the SHA-256 hash algorithm is used to convert the first PIN parameter code into a hexadecimal hash value of a fixed length, so as to serve as the second PIN parameter code.

[0073] After the second PIN parameter code is generated, the first Bluetooth PIN code may be generated based on it, and the process may be but not limited to the following step S24.

[0074] S24. Generate the first Bluetooth PIN code based on the second PIN parameter code; in specific implementation, for example, but not limited to, first convert the second PIN parameter code into an integer to obtain a PIN integer code, that is, convert the hexadecimal second PIN parameter code into a decimal integer; then, extract a number of PIN digits from the PIN integer code, and use the extracted PIN digits as the first Bluetooth PIN code; optionally, for example, but not limited to, extract the last six PIN digits from the PIN integer code as the first Bluetooth PIN code; of course, the specific extracted digits can be selected according to actual use, and are not limited to the aforementioned examples.

[0075] In this way, through the aforementioned steps S21 to S24, this embodiment generates a PIN code by introducing the MAC mask and timestamp of the device and combining the XOR operation with the hash algorithm, thereby ensuring the high randomness and security of the PIN code; based on this, it can be guaranteed that each time the device is connected, the generated PIN code is unique and closely related to the device and time, based on this, the security risks that may exist in traditional static passwords are prevented; in addition, the PIN code pairing process adopts an automatic negotiation mode, so that the user does not need to manually enter any password, thereby simplifying the usage process and improving the user experience.

[0076] After the first Bluetooth PIN code is generated, the second Bluetooth PIN code sent by the user terminal can be received so as to complete the Bluetooth authentication by comparing the two. The receiving process of the second Bluetooth PIN code is shown in the following step S3.

[0077] S3. Receive a second Bluetooth PIN code sent by the user terminal, wherein the second Bluetooth PIN code is generated by the user terminal after sending a Bluetooth connection request, by receiving the MAC mask of the vehicle, and based on the MAC mask of the vehicle and the current time; in this embodiment, the generation process of the second Bluetooth PIN code can refer to the aforementioned first Bluetooth PIN code, and its principle will not be repeated here.

[0078] After receiving the second Bluetooth PIN code, the PIN code can be compared, and the process is shown in the following step S4.

[0079] S4. Determine whether the first Bluetooth PIN code and the second Bluetooth PIN code are the same; in this embodiment, if the two are the same, then Bluetooth authentication can be performed, and then the following step S5 is performed, that is, the vehicle device can establish a connection with the user terminal (that is, the Bluetooth of the user terminal is connected to the ECU in the vehicle device, and the Bluetooth is integrated in the ECU); otherwise, the Bluetooth connection is not allowed to be established, and the Bluetooth authentication process can be re-performed, such as Figure 2 shown.

[0080] S5. If yes, establish a Bluetooth connection with the user terminal.

[0081] After establishing a Bluetooth connection with the user terminal, this embodiment also needs to perform real-time detection of the side support status so as to determine whether the unlocking operation can be performed based on the side support status; wherein, the side support status detection process is shown in the following step S6.

[0082] S6. Obtain the state of the vehicle's side stand, and determine whether the side stand is in a fully retracted state; in a specific implementation, for example, a Hall sensor is provided on the vehicle's side stand, and a magnet is provided on the vehicle at a position corresponding to the side stand. Therefore, by receiving the detection signal sent by the Hall sensor, the state of the vehicle's side stand can be determined according to the detection signal; such as a fully retracted state, an incompletely retracted state, or a not retracted state, etc.; of course, a magnet can also be installed on the side stand, and a Hall sensor can be installed at a position corresponding to the vehicle body. The installation form can be specifically set according to actual use, and is not limited to the aforementioned example.

[0083] Specifically, when a magnet approaches the Hall sensor, the sensor detects the change in the magnetic field and generates a voltage signal, and through this voltage signal, the state of the side support can be detected.

[0084] Among them, see Figure 4As shown, when the vehicle equipment (that is, the MCU module in the vehicle equipment) determines that the unlocking conditions are met, that is, the Bluetooth connection is successful and the side support is in a fully retracted state, the unlocking operation can be performed, that is, the following step S7 is executed, otherwise, the unlocking operation is interrupted; optionally, the unlocking process is shown in the following step S7.

[0085] S7. If yes, open the electric door lock of the vehicle to unlock the vehicle; in this embodiment, an unlocking signal is first generated; then, the unlocking signal is sent to the vehicle lock controller, so that the vehicle lock controller opens the electric door lock of the vehicle after receiving the unlocking signal, thereby unlocking the vehicle, that is, the power is turned on and the electric door lock is opened.

[0086] Therefore, through the vehicle unlocking method based on side stand sensing and Bluetooth security authentication described in detail in the aforementioned steps S1 to S7, the present invention only needs to perform Bluetooth identity authentication when the user connects for the first time, and uses the self-negotiation mechanism to complete the entire Bluetooth pairing process; in this way, the user does not need to manually enter the PIN code and manually pair, and after connecting once, the vehicle will automatically recognize it without the need for re-pairing; therefore, the convenience of use is greatly improved; at the same time, in the Bluetooth authentication process, the MAC mask of the device and the current timestamp of the device are combined to generate a PIN code, so that the generated PIN code is related to the device and time, thereby enhancing the unpredictability of the PIN code and thus improving the security of the PIN code; in addition, after the Bluetooth connection is successful, the side stand status will be detected in real time, and the unlocking mechanism will be triggered only when the side stand is fully retracted. Based on this, the disadvantage that traditional technology can still unlock the electric bicycle in an unsafe state is avoided; therefore, the present invention not only improves the safety of the unlocking process and the safety of riding of the electric bicycle, but also simplifies user operations, thereby being very suitable for large-scale application and promotion.

[0087] like Figure 5 As shown, the second aspect of this embodiment provides a hardware device for implementing the vehicle unlocking method based on temple sensing and Bluetooth security authentication described in the first aspect of the embodiment, taking the device as a vehicle device as an example, including:

[0088] The Bluetooth module is used to determine whether the user corresponding to the user terminal is a first-time connecting user after receiving a Bluetooth connection request sent by the user terminal.

[0089] The Bluetooth module is used to obtain the current time and the MAC mask of the vehicle when it is determined that the user is a first-time connecting user, and generate a first Bluetooth PIN code based on the current time and the MAC mask; or when it is determined that the user is not a first-time connecting user, directly establish a Bluetooth connection with the user terminal.

[0090] The Bluetooth module is used to receive a second Bluetooth PIN code sent by a user terminal, wherein the second Bluetooth PIN code is generated by the user terminal after sending a Bluetooth connection request, by receiving a MAC mask of the vehicle, and based on the MAC mask of the vehicle and the current time.

[0091] The Bluetooth module is used to determine whether the first Bluetooth PIN code and the second Bluetooth PIN code are the same.

[0092] The Bluetooth module is used to establish a Bluetooth connection with a user terminal when it is determined that the first Bluetooth PIN code and the second Bluetooth PIN code are the same.

[0093] The MCU module is used to obtain the state of the side stand of the vehicle and determine whether the side stand is in a fully retracted state.

[0094] If so, the MCU module opens the vehicle's electric door lock to unlock the vehicle.

[0095] The working process, working details and technical effects of the device provided in this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.

[0096] like Figure 6 As shown, the third aspect of this embodiment provides another vehicle unlocking device based on side support sensing and Bluetooth security authentication. Taking the device as an electronic device as an example, it includes: a memory, a processor and a transceiver that are communicatively connected in sequence, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer program to execute the vehicle unlocking method based on side support sensing and Bluetooth security authentication as described in the first aspect of the embodiment.

[0097] For example, the memory may include, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, first-in-first-out memory (FIFO) and / or first-in-last-out memory (FILO), etc. Specifically, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). At the same time, the processor 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 CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.

[0098] In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. For example, the processor may not be limited to a microprocessor of the STM32F105 series, a reduced instruction set computer (RISC) microprocessor, an X86 or other architecture processor, or a processor with an integrated embedded neural network processor (NPU); the transceiver may be, but is not limited to, a wireless fidelity (WIFI) wireless transceiver, a Bluetooth wireless transceiver, a general packet radio service technology (Genera l Packet Rad ioService, GPRS) wireless transceiver, a ZigBee protocol (a low-power LAN protocol based on the IEEE 802.15.4 standard, ZigBee) wireless transceiver, a 3G transceiver, a 4G transceiver and / or a 5G transceiver, etc. In addition, the device may also include, but is not limited to, a power module, a display screen and other necessary components.

[0099] The working process, working details and technical effects of the electronic device provided in this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.

[0100] The fourth aspect of this embodiment provides a storage medium that stores instructions for the vehicle unlocking method based on side support sensing and Bluetooth security authentication as described in the first aspect of the embodiment, that is, the storage medium stores instructions, and when the instructions are run on a computer, the vehicle unlocking method based on side support sensing and Bluetooth security authentication as described in the first aspect of the embodiment is executed.

[0101] The storage medium refers to a carrier for storing data, which may include but is not limited to a floppy disk, a CD, a hard disk, a flash memory, a USB flash drive and / or a memory stick, etc. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.

[0102] The working process, working details and technical effects of the storage medium provided in this embodiment can be found in the first aspect of the embodiment and will not be described in detail here.

[0103] The fifth aspect of this embodiment provides a computer program product comprising instructions, which, when executed on a computer, causes the computer to execute the vehicle unlocking method based on side support sensing and Bluetooth security authentication as described in the first aspect of the embodiment, wherein the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.

[0104] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A vehicle unlocking method based on temple sensing and Bluetooth security authentication, characterized in that: include: After receiving the Bluetooth connection request sent by the user terminal, determining whether the user corresponding to the user terminal is a first-time connecting user; If yes, then obtain the current time and the MAC mask of the vehicle, and generate a first Bluetooth PIN code according to the current time and the MAC mask; otherwise, directly establish a Bluetooth connection with the user terminal; Receiving a second Bluetooth PIN code sent by the user terminal, wherein the second Bluetooth PIN code is generated by the user terminal after sending a Bluetooth connection request, by receiving a MAC mask of the vehicle, and based on the MAC mask of the vehicle and the current time; Determining whether the first Bluetooth PIN code and the second Bluetooth PIN code are the same; If yes, a Bluetooth connection is established with the user terminal; Obtaining a state of a side stand of the vehicle, and determining whether the side stand is in a fully retracted state; If so, the electric door lock of the vehicle is opened to unlock the vehicle.

2. The method according to claim 1, characterized in that Generating a first Bluetooth PIN code according to the current time and the MAC mask, including: Generate a first string based on the MAC mask, and generate a second string according to the current time; Generate a first PIN parameter code using the first character string and the second character string; Constructing a second PIN parameter code according to the first PIN parameter code; The first Bluetooth PIN code is generated based on the second PIN parameter code.

3. The method according to claim 2, characterized in that Based on the MAC mask, a first character string is generated, comprising: Extracting a plurality of numbers from the MAC mask, and performing binary conversion processing on the extracted plurality of numbers, so as to obtain the first character string after the binary conversion processing; Correspondingly, generating a second character string according to the current time includes: Perform binary conversion processing on the second character string to obtain the second character string after the binary conversion processing.

4. The method according to claim 2, characterized in that: Generating a first PIN parameter code using the first character string and the second character string includes: Performing an XOR operation on the first character string and the second character string to obtain the first PIN parameter code after the XOR operation; Correspondingly, constructing a second PIN parameter code according to the first PIN parameter code includes: A hash operation is performed on the first PIN parameter code by using a hash algorithm to obtain the second PIN parameter code after the hash operation, wherein the hash algorithm includes a SHA-256 hash algorithm.

5. The method according to claim 2, characterized in that: Generating the first Bluetooth PIN code based on the second PIN parameter code includes: Convert the second PIN parameter code into an integer to obtain a PIN integer code; A plurality of PIN digits are extracted from the PIN integer code, and the extracted plurality of PIN digits are used as the first Bluetooth PIN code.

6. The method according to claim 1, characterized in that Unlock the vehicle's power doors, including: Generate an unlock signal; An unlock signal is sent to the vehicle lock controller so that the vehicle lock controller opens the vehicle's electric door lock after receiving the unlock signal.

7. The method according to claim 1, characterized in that A Hall sensor is provided on the side support of the vehicle, wherein obtaining the side support status of the vehicle includes: Receive a detection signal sent by a Hall sensor; The state of the side stand of the vehicle is determined according to the detection signal.

8. A vehicle unlocking device based on temple sensing and Bluetooth security authentication, characterized in that: include: The Bluetooth module is used to determine whether the user corresponding to the user terminal is a first-time connecting user after receiving a Bluetooth connection request sent by the user terminal; A Bluetooth module, for obtaining the current time and the MAC mask of the vehicle when it is determined that the user is a first-time connecting user, and generating a first Bluetooth PIN code according to the current time and the MAC mask; or for directly establishing a Bluetooth connection with the user terminal when it is determined that the user is not a first-time connecting user; A Bluetooth module, configured to receive a second Bluetooth PIN code sent by a user terminal, wherein the second Bluetooth PIN code is generated by the user terminal after sending a Bluetooth connection request, by receiving a MAC mask of the vehicle, and based on the MAC mask of the vehicle and the current time; A Bluetooth module, used to determine whether the first Bluetooth PIN code and the second Bluetooth PIN code are the same; A Bluetooth module, configured to establish a Bluetooth connection with a user terminal when it is determined that the first Bluetooth PIN code and the second Bluetooth PIN code are the same; The MCU module is used to obtain the state of the side stand of the vehicle and determine whether the side stand is in a fully retracted state; If so, the MCU module opens the vehicle's electric door lock to unlock the vehicle.

9. An electronic device, characterized in that: include: A memory, a processor and a transceiver which are sequentially connected in communication, wherein the memory is used to store computer programs, the transceiver is used to send and receive messages, and the processor is used to read the computer programs, and execute the vehicle unlocking method based on side support sensing and Bluetooth security authentication as described in any one of claims 1 to 7.

10. A computer program product comprising instructions, characterized in that When the instructions are executed on a computer, the computer is caused to execute the vehicle unlocking method based on temple sensing and Bluetooth security authentication as described in any one of claims 1 to 7.