Automatic unlocking method and device for household two-wheeled vehicle based on Bluetooth and storage medium
By adopting Bluetooth-based automatic unlocking method in household two-wheelers, using Bluetooth communication module, security verification module and unlock execution module, the problem of cumbersome unlocking methods and degraded Bluetooth performance is solved, and a convenient, efficient and safe unlocking process is achieved.
Patent Information
- Application Number
- CN202510255354.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-05-27
AI Technical Summary
The traditional household two-wheeler unlocking method relies on mechanical keys, which poses a risk of loss and theft and is complicated to operate in bad weather or when both hands are busy; the performance of Bluetooth unlocking technology will decline after long-term use, especially in high-temperature environments, and the efficiency and stability will drop sharply.
The Bluetooth-based automatic unlocking method for household two-wheelers is adopted, and it is realized through the Bluetooth communication module, security verification module and unlock execution module in the vehicle automatic unlocking device. The method includes Bluetooth communication module after receiving the unlocking command, performing Bluetooth pairing, security verification and unlocking execution, ensuring that at least one Bluetooth communication unit maintains a stable working state under a high temperature environment.
It realizes a convenient, efficient and secure unlocking process, improves user experience, and maintains the stable performance of the Bluetooth communication module in a high-temperature environment, reducing the risk of unlocking failure.
Smart Images

Figure CN120048033A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle unlocking, and particularly relates to an automatic unlocking method, device and storage medium for a household two-wheeled vehicle based on Bluetooth. Background Art
[0002] With the rapid development of technology and the improvement of people's living standards, household two-wheeled vehicles, as a convenient and flexible means of transportation, are increasingly widely used in daily life. However, the traditional unlocking method of household two-wheeled vehicles often relies on mechanical keys, which has many inconveniences. On the one hand, the keys are easily lost or stolen, bringing unnecessary troubles and potential property safety risks to the vehicle owners; on the other hand, in some special scenarios, such as when the vehicle owners are carrying full items in both hands or in bad weather conditions, using the keys to unlock is rather cumbersome.
[0003] In the related art, Bluetooth communication technology is adopted for convenient unlocking. However, after the Bluetooth communication module has been used for a long time, its performance drops significantly. Especially when the temperature of the external environment is very high, the efficiency and stability of Bluetooth communication unlocking drop sharply, thus affecting the unlocking efficiency. Summary of the Invention
[0004] The main object of the present invention is to provide an automatic unlocking method, device and storage medium for a household two-wheeled vehicle based on Bluetooth, aiming to solve the technical problems in the prior art that using keys to unlock is rather cumbersome and the unlocking efficiency is reduced due to the performance degradation of the Bluetooth module for Bluetooth unlocking.
[0005] To achieve the above object, in the first aspect, an automatic unlocking method for a household two-wheeled vehicle based on Bluetooth is provided in an embodiment of the present application. This method is applied to a vehicle automatic unlocking device of a household two-wheeled vehicle. The vehicle automatic unlocking device includes a Bluetooth communication module, a security verification module and an unlocking execution module. The method includes: Responding to the Bluetooth communication module receiving an unlocking instruction, where the unlocking instruction includes successful Bluetooth pairing between the Bluetooth communication module and a target user terminal; Sending a security verification request to the target user terminal according to the unlocking instruction, and the security verification request carries encrypted key information; Receiving a security verification encrypted packet sent by the target user terminal, and decrypting the security verification encrypted packet with a preset decryption key to obtain a security verification code, where the decryption key matches the encryption key; Performing security verification on the security verification code. When the security verification code is verified successfully, sending an unlocking instruction to the unlocking execution module; Controlling the lock mechanism of the household two-wheeled vehicle to perform an unlocking operation according to the unlocking instruction.
[0006] In a possible implementation, the Bluetooth communication module includes a first Bluetooth communication unit, a second Bluetooth communication unit, and a shielding unit. Before the Bluetooth communication module receives an unlocking instruction, it includes: Obtain the workload status of the first Bluetooth communication unit and the second Bluetooth communication unit; When the workload status of the first Bluetooth communication unit exceeds the preset workload status and the workload status of the second Bluetooth communication unit does not exceed the preset workload status, control the shielding unit to shield and protect the first Bluetooth communication unit so that the second Bluetooth communication unit is in an active use state; When the workload status of the second Bluetooth communication unit exceeds the preset workload status and the workload status of the first Bluetooth communication unit does not exceed the preset workload status, control the shielding unit to shield and protect the second Bluetooth communication unit so that the first Bluetooth communication unit is in an active use state.
[0007] In a possible implementation, the workload status includes the current temperature, the shielding unit includes a heat insulation member, and controlling the shielding unit to shield and protect the first Bluetooth communication unit so that the second Bluetooth communication unit is in an active use state includes: Control the heat insulation member to move above the first Bluetooth communication unit for heat insulation protection and make the heat insulation member leave above the second Bluetooth communication unit; Controlling the shielding unit to shield and protect the second Bluetooth communication unit so that the first Bluetooth communication unit is in an active use state includes: Control the heat insulation member to move above the second Bluetooth communication unit for heat insulation protection and make the heat insulation member leave above the first Bluetooth communication unit.
[0008] In a possible implementation, after obtaining the workload status of the first Bluetooth communication unit and the second Bluetooth communication unit, it further includes: When the workload statuses of both the first Bluetooth communication unit and the second Bluetooth communication unit exceed the preset workload status, obtain the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit; Determine the communication stability of the first Bluetooth communication unit and the second Bluetooth communication unit according to the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit; Control the shielding unit to shield and protect the Bluetooth communication unit with a lower communication stability so that the Bluetooth communication unit with a higher communication stability is in an active use state.
[0009] In a possible implementation, determining the communication stability degrees of the first Bluetooth communication unit and the second Bluetooth communication unit according to the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit includes: Obtain the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit respectively. The historical communication data includes the number of communication interruptions and the total number of communication attempts, the number of connection establishment failures and the total number of connection attempts, the cumulative duration when the signal strength is lower than the threshold, and the total monitoring duration within a preset past time period; Input the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit into a pre-trained communication stability evaluation model respectively to obtain communication stability degree scores. The communication stability evaluation model satisfies the following expression: ; ; where are the communication stability degree scores of the first Bluetooth communication unit and the second Bluetooth communication unit respectively, are the number of communication interruptions and the total number of communication attempts of the first Bluetooth communication unit within a preset past time period respectively, are the cumulative duration when the signal strength of the first Bluetooth communication unit is lower than the threshold and the total monitoring duration respectively, are the number of connection establishment failures and the total number of connection attempts of the first Bluetooth communication unit respectively; are the number of communication interruptions and the total number of communication attempts of the second Bluetooth communication unit within a preset past time period respectively, are the cumulative duration when the signal strength of the second Bluetooth communication unit is lower than the threshold and the total monitoring duration respectively, are the number of connection establishment failures and the total number of connection attempts of the second Bluetooth communication unit respectively; W 1 、W 2 、W 3 are the corresponding influence weights.
[0010] In a possible implementation, after controlling the shielding unit to shield and protect the Bluetooth communication unit with a smaller communication stability degree so that the Bluetooth communication unit with a larger communication stability degree is in an active use state, it further includes: Continuously monitor the surface temperature of the shielded and protected Bluetooth communication unit at a preset time interval. When it is detected that the surface temperature of the shielded and protected Bluetooth communication unit drops below a preset recovery temperature threshold, control the heat insulation member to move so that the shielded and protected Bluetooth communication unit is in an active use state.
[0011] In a possible implementation, after controlling the lock mechanism of the household two-wheeler to perform an unlocking operation according to the unlocking instruction, the method further includes: Sending an unlocking success prompt message to the dashboard display screen of the vehicle, and sending an unlocking success notification message to the target user terminal through the Bluetooth communication module. The unlocking success prompt message and / or the unlocking success notification message include the Bluetooth communication unit currently performing the unlocking and the total number of times each Bluetooth communication unit performs the unlocking.
[0012] In a possible implementation, after sending a security verification request to the target user terminal according to the unlocking instruction, the method further includes: Starting a timing module. If the security verification encryption packet sent by the target user terminal is not received within a preset timeout period, it is determined that the current unlocking process fails, and an unlocking failure notification is sent to the target user terminal.
[0013] In a second aspect, an automatic vehicle unlocking device is further provided in an embodiment of the present application, including a memory and a processor. The memory is used to store program code, and the processor is used to call the program code to execute the method as described in the first aspect.
[0014] In a third aspect, a storage medium is further provided in an embodiment of the present application, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method as described in the first aspect are implemented.
[0015] Different from the prior art, the automatic unlocking method for a household two-wheeler based on Bluetooth provided in the embodiment of the present application is implemented through the Bluetooth communication module, the security verification module, and the unlocking execution module in the automatic vehicle unlocking device. When the Bluetooth communication module receives an unlocking instruction, that is, when the Bluetooth communication module is successfully paired with the target user terminal, the security verification module immediately sends a security verification request carrying encrypted key information to the target user terminal. Then, the security verification encryption packet sent by the target user terminal is received and decrypted using a preset decryption key to obtain a security verification code. In the case of successful security verification, an unlocking instruction is sent to the unlocking execution module, and finally, the lock mechanism of the household two-wheeler is controlled to perform an unlocking operation. In this way, the technical solution of the present application not only greatly improves the user experience but also realizes an efficient and convenient unlocking process while ensuring vehicle safety. Description of the Drawings
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on the structures shown in these drawings.
[0017] Figure 1 It is a schematic diagram of the functional module structure of a vehicle automatic unlocking device in some embodiments of the present application; Figure 2 It is a schematic diagram of the structure of a Bluetooth communication module in some embodiments of the present application; Figure 3 It is a schematic flowchart of a method for automatically unlocking a household two-wheeled vehicle based on Bluetooth in some embodiments of the present application; Figure 4 It is a schematic flowchart of a method for automatically unlocking a household two-wheeled vehicle based on Bluetooth in other embodiments of the present application; Figure 5 It is a schematic diagram of the hardware structure of a vehicle automatic unlocking device in some embodiments of the present application.
[0018] The realization of the object of the present invention, its functional features and advantages will be further described in conjunction with the embodiments and with reference to the drawings. Detailed Embodiments
[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.
[0020] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the drawings). If this specific posture changes, the directional indications will also change accordingly.
[0021] In addition, the descriptions involving "first", "second", etc. in the present invention are for descriptive purposes only, and should not be construed as indicating or implying their relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In addition, "and / or" throughout the text includes three scenarios. Taking A and / or B as an example, it includes the technical solution of A, the technical solution of B, and the technical solution where both A and B are satisfied simultaneously. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the ability of those of ordinary skill in the art to implement. When the combination of technical solutions results in contradictions or inability to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0022] With the rapid development of technology and the improvement of people's living standards, as a convenient and flexible means of transportation, household two-wheel vehicles are increasingly widely used in daily life. However, the unlocking methods of traditional household two-wheel vehicles often rely on mechanical keys, which have many inconveniences. On the one hand, the keys are easily lost or stolen, bringing unnecessary trouble and potential property safety risks to the vehicle owners; on the other hand, in some special scenarios, such as when the vehicle owner is carrying full items in both hands or in bad weather conditions, using the key to unlock is rather cumbersome.
[0023] In the related art, Bluetooth communication technology is adopted for convenient unlocking. However, after the Bluetooth communication module has been used for a long time, its performance drops significantly. Especially when the temperature of the external environment is very high, the efficiency and stability of Bluetooth communication unlocking drop sharply, thus affecting the unlocking efficiency.
[0024] As Figure 1-2 shown, the household two-wheel vehicle of the present application includes a vehicle body (not shown) and a vehicle automatic unlocking device provided on the vehicle body. The vehicle automatic unlocking device includes a Bluetooth communication module 100, a security verification module 200, and an unlocking execution module 300. Among them, the Bluetooth communication module 100 includes a first Bluetooth communication unit 110, a second Bluetooth communication unit 120, and a shielding unit 130. And the first Bluetooth communication unit 110 and the second Bluetooth communication unit 120 maintain a certain distance interval, such as 10 cm or 20 cm, so that the degrees of influence of the first Bluetooth communication unit 110 and the second Bluetooth communication unit 120 by direct sunlight are different. The shielding unit 130 can be a movable heat-insulating member to selectively provide heat-insulating protection for the first Bluetooth communication unit 110 or the second Bluetooth communication unit 120.
[0025] It can be understood that household two-wheel vehicles usually need to be parked outdoors and exposed to the sun. Therefore, the communication stability of the Bluetooth communication module will be affected by the environment such as high temperature. Especially after the Bluetooth communication module has been used for a long time, for example, after 2 or 3 years of use, the Bluetooth communication module is severely aged and is easily affected by the high-temperature environment, resulting in a decrease in communication stability. Based on this, in this application, the first Bluetooth communication unit 110, the second Bluetooth communication unit 120, and the shielding unit 130 are set to work together to keep at least one Bluetooth communication unit in the Bluetooth communication module in an active use state, so as to ensure that at least one of the first Bluetooth communication unit 110 and the second Bluetooth communication unit 120 is not affected by the external high-temperature environment or the influence of the external environment is reduced during operation.
[0026] Exemplarily, when the surface temperature of the first Bluetooth communication unit 110 is relatively high and the surface temperature of the second Bluetooth communication unit 120 is relatively low, the shielding unit 130 can be used to shield and protect the first Bluetooth communication unit 110, and the second Bluetooth communication unit 120 is in an exposed state waiting for a communication connection, ready to establish a communication connection with a user terminal (such as a mobile phone) at any time. When the user needs to unlock, the mobile phone and other user terminals can be used to communicate and unlock with the second Bluetooth communication unit 120.
[0027] In this way, the Bluetooth communication module of the vehicle can maintain a stable communication state in a high-temperature environment, effectively improving the unlocking reliability and safety of household two-wheel vehicles.
[0028] Such as Figures 1-4 shown, the following takes the vehicle automatic unlocking device executing the automatic unlocking method of the household two-wheel vehicle based on Bluetooth as an example for illustration. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here. Please refer to the appendix Figure 2 , this method includes the following steps S200-step S1000: S200. In response to the Bluetooth communication module receiving an unlocking instruction, where the unlocking instruction includes successful Bluetooth pairing between the Bluetooth communication module and a target user terminal; In the embodiment of this application, the triggering method of the unlocking instruction has diversity. It can be an automatically triggered unlocking instruction, for example, when the Bluetooth communication module and the target user terminal are successfully paired via Bluetooth, the unlocking instruction is automatically triggered; it can also be an unlocking instruction sent by the target user terminal to the vehicle automatic unlocking device via Bluetooth communication.
[0029] It can be understood that both the automatic triggering or the active sending of the unlocking instruction require the Bluetooth communication module to be in a stable and active state. Therefore, before performing step S200, it is necessary to ensure that the Bluetooth communication module is in a stable and usable state. In one embodiment, the step S200: before the Bluetooth communication module receives the unlocking instruction, includes: S110. Obtain the workload states of the first Bluetooth communication unit and the second Bluetooth communication unit; S120. When the workload state of the first Bluetooth communication unit exceeds the preset workload state and the workload state of the second Bluetooth communication unit does not exceed the preset workload state, control the shielding unit to shield and protect the first Bluetooth communication unit so that the second Bluetooth communication unit is in an active use state; S130. When the workload state of the second Bluetooth communication unit exceeds the preset workload state and the workload state of the first Bluetooth communication unit does not exceed the preset workload state, control the shielding unit to shield and protect the second Bluetooth communication unit so that the first Bluetooth communication unit is in an active use state.
[0030] Specifically, the workload states of the first Bluetooth communication unit and the second Bluetooth communication unit can be measured by the working duration and the current temperature. The working duration can be accumulated and calculated by a timer, and the current temperature can be detected in real time by a temperature sensor. When the workload state of the first Bluetooth communication unit exceeds the preset workload state and the workload state of the second Bluetooth communication unit does not exceed the preset workload state, control the shielding unit to shield and protect the first Bluetooth communication unit so that the second Bluetooth communication unit is in an active use state. Conversely, if the workload state of the second Bluetooth communication unit exceeds the preset workload state and the workload state of the first Bluetooth communication unit does not exceed the preset workload state, control the shielding unit to shield and protect the second Bluetooth communication unit so that the first Bluetooth communication unit is in an active use state. In this way, it is always ensured that at least one Bluetooth communication unit can be in a stable working state.
[0031] Exemplarily, temperature sensors are arranged near or on the surface of the first Bluetooth communication unit and the second Bluetooth communication unit to obtain the current temperatures of the first Bluetooth communication unit and the second Bluetooth communication unit in real time. When the current temperature of the first Bluetooth communication unit is higher than the working temperature threshold and the current temperature of the second Bluetooth communication unit is not higher than the working temperature threshold, it indicates that the second Bluetooth communication unit can maintain a stable working state at the current temperature. At this time, control the heat insulation member to move above the first Bluetooth communication unit (such as Figure 2As shown in Figure A, heat insulation protection is provided for it, and at the same time, the heat insulation member is moved away from above the second Bluetooth communication unit to make it in an active use state. When the current temperature of the second Bluetooth communication unit is higher than the operating temperature threshold, while the current temperature of the first Bluetooth communication unit is not higher than the operating temperature threshold, it indicates that the first Bluetooth communication unit can maintain a stable operating state at the current temperature. At this time, control the heat insulation member to move above the second Bluetooth communication unit (as shown in Figure B), provide heat insulation protection for it, and at the same time, move the heat insulation member away from above the first Bluetooth communication unit to make it in an active use state. In this way, targeted heat insulation protection for the Bluetooth communication unit is achieved according to the temperature difference, ensuring that at least one Bluetooth communication unit is always in a stable operating state. Figure 2 As shown in Figure B, heat insulation protection is provided for it, and at the same time, the heat insulation member is moved away from above the first Bluetooth communication unit to make it in an active use state. In this way, targeted heat insulation protection for the Bluetooth communication unit is achieved according to the temperature difference, ensuring that at least one Bluetooth communication unit is always in a stable operating state.
[0032] In other embodiments, if the workload states of both the first Bluetooth communication unit and the second Bluetooth communication unit are overloaded, for example, when the current temperatures of both the first Bluetooth communication unit and the second Bluetooth communication unit are relatively high, at this time, it is necessary to select the Bluetooth communication unit with stable long-term operation to work to ensure the success rate of Bluetooth connection for unlocking. Therefore, in one embodiment, after obtaining the workload states of the first Bluetooth communication unit and the second Bluetooth communication unit, it further includes: when the workload states of both the first Bluetooth communication unit and the second Bluetooth communication unit exceed the preset workload state, obtaining the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit; determining the communication stability degrees of the first Bluetooth communication unit and the second Bluetooth communication unit according to the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit; controlling the shielding unit to perform shielding protection on the Bluetooth communication unit with a smaller communication stability degree so that the Bluetooth communication unit with a larger communication stability degree is in an active use state.
[0033] Specifically, when the workload states of both the first Bluetooth communication unit and the second Bluetooth communication unit exceed the preset workload state, first obtain the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit. The historical communication data may include information such as past communication records, signal strength, and connection times. Then, determine the communication stability degrees of the first Bluetooth communication unit and the second Bluetooth communication unit according to the historical communication data. The communication stability degree is an index to measure the reliability of the connection communication between the Bluetooth communication unit and the target user terminal. The communication stability degree can be measured in various ways, such as the fluctuation of signal strength, the duration of the connection, and the error rate of data transmission. Finally, control the shielding unit to perform shielding protection on the Bluetooth communication unit with a smaller communication stability degree, so that the Bluetooth communication unit with a larger communication stability degree is in an active use state. In this way, it is ensured that when the workload of the Bluetooth communication unit is relatively high, there is always a stable Bluetooth communication unit that can continue to work, ensuring that functions such as unlocking of the vehicle are not affected.
[0034] In one embodiment, after the step of controlling the shielding unit to shield and protect the Bluetooth communication unit with a lower communication stability so that the Bluetooth communication unit with a higher communication stability is in an activated use state, the method further includes: The surface temperature of the shielded Bluetooth communication unit is continuously monitored at preset time intervals. When it is detected that the surface temperature of the shielded Bluetooth communication unit drops below a preset recovery temperature threshold, the thermal insulation component is controlled to move so that the shielded Bluetooth communication unit is in an activated use state.
[0035] Specifically, in an embodiment of the present application, when the workload states of the first Bluetooth communication unit and the second Bluetooth communication unit both exceed the preset workload state, the system will select the Bluetooth communication unit with a greater communication stability to be in an activated use state, and shield the Bluetooth communication unit with a smaller communication stability. And the system will continuously monitor the surface temperature of the shielded Bluetooth communication unit at a preset time interval. In order to grasp the temperature state of the shielded unit in real time, so as to switch the state at an appropriate time. When the system detects that the surface temperature of the shielded Bluetooth communication unit drops below the preset recovery temperature threshold, it means that the unit has cooled to a sufficiently safe level and can be reactivated for use without affecting performance or safety due to overheating. Once the temperature condition is met, the system will control the movement of the thermal insulation to release the shielding protection state of the shielded Bluetooth communication unit, so that it can re-enter the activated use state. In this way, the effective use of Bluetooth communication resources is ensured, while avoiding potential problems caused by overheating.
[0036] In one embodiment, the communication stability of the first Bluetooth communication unit and the second Bluetooth communication unit is determined according to the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit, comprising: respectively acquiring the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit, wherein the historical communication data comprises the number of communication interruptions and the total number of communication attempts, the number of connection establishment failures and the total number of connection attempts, the cumulative duration of the signal strength being lower than a threshold and the total monitoring duration in a preset time period in the past; respectively inputting the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit into a pre-trained communication stability evaluation model to obtain a communication stability score; wherein the communication stability evaluation model satisfies the following expression: ; ; in, are the communication stability scores of the first Bluetooth communication unit and the second Bluetooth communication unit, They are respectively the number of communication interruptions and the total number of communication attempts of the first Bluetooth communication unit within a preset past time period, They are respectively the cumulative duration during which the signal strength of the first Bluetooth communication unit is lower than the threshold and the total monitoring duration, They are respectively the number of times the connection establishment of the first Bluetooth communication unit fails and the total number of connection attempts; They are respectively the number of communication interruptions and the total number of communication attempts of the second Bluetooth communication unit within a preset past time period, They are respectively the cumulative duration during which the signal strength of the second Bluetooth communication unit is lower than the threshold and the total monitoring duration, They are respectively the number of times the connection establishment of the second Bluetooth communication unit fails and the total number of connection attempts; W 1 ; W 2 ; W 3 are the corresponding influence weights. The role of the weights is to reflect the importance differences of different factors on the communication stability level.
[0037] The number of communication interruptions reflects the situation where the Bluetooth communication experiences an unexpected disconnection during operation. The total number of communication attempts serves as a reference base. Through the proportional relationship between the two, the frequency of communication interruptions can be understood. For example, if there are 10 communication interruptions in 100 total communication attempts, then the proportion of communication interruptions is 10%. A higher proportion of communication interruptions means poorer communication stability.
[0038] represents the ratio of the number of communication interruptions of the first Bluetooth communication unit to the total number of communication attempts. The higher this ratio, the more frequent the communication interruptions, and the greater the negative impact on the communication stability level, so the communication stability level score will be reduced.
[0039] The number of connection establishment failures reflects the situation where the Bluetooth communication unit encounters failures when attempting to establish a connection with a target device (such as a user terminal). Similarly, by comparing with the total number of connection attempts, the probability of connection establishment failure can be obtained. For example, if there are 5 connection establishment failures in 50 total connection attempts, the failure probability is 10%. The higher the connection establishment failure probability, the worse the stability of the Bluetooth communication unit during the connection establishment phase.
[0040] represents the ratio of the number of connection establishment failures of the first Bluetooth communication unit to the total number of connection attempts. The higher the ratio, the more unstable the connection establishment process, and the score will also be reduced.
[0041] The cumulative duration during which the signal strength is lower than the threshold represents the total duration that the signal strength of the Bluetooth communication unit remains in a weak state (lower than the set threshold) during operation. The total monitoring duration is the total duration of monitoring the signal strength of the Bluetooth communication unit. The proportional relationship between the two reflects the proportion of the poor signal strength state in the entire monitoring process. For example, in a total monitoring duration of 1 hour (3600 seconds), if the cumulative duration during which the signal strength is lower than the threshold is 600 seconds, then the proportion of poor signal strength is 1 / 6. The higher the proportion of poor signal strength, the greater the degree to which Bluetooth communication is affected by the signal strength, that is, the worse the communication stability.
[0042] Represents the ratio of the cumulative duration during which the signal strength of the first Bluetooth communication unit is lower than the threshold to the total monitoring duration. The higher this ratio, the more serious the situation of poor signal strength, which will also reduce the communication stability score.
[0043] Through the above model calculation, the communication stability of the two Bluetooth communication units can be quantified, so as to decide which unit to shield and protect according to the score subsequently, ensuring that there is always a Bluetooth communication unit with a higher communication stability in an active use state.
[0044] It should be noted that since Bluetooth connection for unlocking requires extremely high connection stability, the value of W can be appropriately increased. 3 So that the number of connection establishment failures occupies a greater proportion when evaluating the communication stability, thus paying more attention to the stability in the connection establishment stage. For example, W is assigned a value of 0.3, W is assigned a value of 0.3, and W is assigned a value of 0.4. 1 is assigned a value of 0.3, W 2 is assigned a value of 0.3, W 3 is assigned a value of 0.4.
[0045] S400. Send a security verification request to the target user terminal according to the unlocking instruction, and the security verification request carries encrypted key information; After the Bluetooth communication module receives the unlocking instruction, it will send a security verification request to the target user terminal (such as a mobile phone or the corresponding APP) according to this unlocking instruction. This request contains encrypted key information to ensure the security of subsequent communication.
[0046] In one embodiment, after sending the security verification request to the target user terminal, it further includes: starting a timing module. If the security verification encrypted packet sent by the target user terminal is not received within the preset timeout period, it is determined that the current unlocking process fails, and an unlocking failure notification is sent to the target user terminal.
[0047] In the embodiments of the present application, by introducing a timing module and a timeout determination mechanism, the system can ensure security while also considering the user experience. If the timeout is too long, it may make the user impatient; if the timeout is too short, it may not fully consider actual situations such as network latency. Therefore, the preset timeout needs to find a reasonable balance between security and the user experience.
[0048] S600. Receive the security verification encrypted packet sent by the target user terminal, and decrypt the security verification encrypted packet using a preset decryption key to obtain a security verification code, where the decryption key matches the encryption key. In the embodiments of the present application, after receiving the security verification request, the target user terminal will use the encryption key information provided in the request to encrypt the security verification code to form a security verification encrypted packet and send it back to the Bluetooth communication module. After receiving this encrypted packet, the Bluetooth communication module will use a preset decryption key that matches the encryption key to decrypt the encrypted packet, thereby extracting the security verification code.
[0049] S800. Perform a security verification on the security verification code, and send an unlocking instruction to the unlocking execution module when the security verification code is successfully verified. After successful decryption, the Bluetooth communication module will compare the extracted security verification code with the preset security verification code stored in the security verification module. If the two are the same, that is, the security verification code is successfully verified, it means that the user's identity has been confirmed. At this time, the vehicle controller will send a clear unlocking instruction to the unlocking execution module.
[0050] S1000. Control the locking mechanism of the household two-wheeler to perform an unlocking operation according to the unlocking instruction.
[0051] After receiving this instruction, the unlocking execution module will immediately activate the corresponding unlocking mechanism to control the locking mechanism of the household two-wheeler to perform an unlocking operation, thereby allowing the user to ride the vehicle.
[0052] In one embodiment, after performing the unlocking operation, the system will send an unlocking success prompt message to the dashboard display screen of the vehicle and send an unlocking success notification message to the target user terminal through the Bluetooth communication module. The unlocking success prompt message and / or the unlocking success notification message include the Bluetooth communication unit currently performing the unlocking and the total number of times each Bluetooth communication unit has performed the unlocking. It provides an overview of the usage frequency of the Bluetooth communication unit for the user, which is of practical significance for the user to understand the usage frequency of the device, monitor potential security risks, or conduct troubleshooting, etc.
[0053] Based on this, the automatic unlocking method of the Bluetooth-based household two-wheeled vehicle provided by the embodiments of the present application is implemented through the Bluetooth communication module, the security verification module, and the unlocking execution module in the vehicle automatic unlocking device. First, according to the workload status of the Bluetooth communication units in the Bluetooth communication module, selectively control the Bluetooth communication unit with better stability to be in the active working state. Then, when the Bluetooth communication module receives an unlocking instruction, that is, after the Bluetooth communication module successfully pairs with the target user terminal via Bluetooth, the security verification module immediately sends a security verification request carrying encrypted key information to the target user terminal. Then, receive the security verification encrypted packet sent by the target user terminal, and decrypt it using the preset decryption key to obtain the security verification code. In the case of successful security verification, send an unlocking instruction to the unlocking execution module, and finally control the household two-wheeled vehicle lock mechanism to perform an unlocking operation. In this way, the technical solution of the present application not only greatly improves the user experience, but also realizes an efficient and convenient unlocking process while ensuring vehicle safety.
[0054] As Figure 5 shown, Figure 5 FIG. is a schematic hardware structure diagram of the vehicle automatic unlocking device in some embodiments of the present application. The vehicle automatic unlocking device provided by the embodiments of the present application further includes a memory 1000 and a processor 2000. Among them, the memory 1000 is used to store computer-readable instructions, and the processor 2000 is used to call the computer-readable instructions to execute the automatic unlocking method of the Bluetooth-based household two-wheeled vehicle as described above.
[0055] Among them, the processor 2000 is used to provide computing and control capabilities to control the vehicle automatic unlocking device to perform corresponding tasks. For example, control the vehicle automatic unlocking device to execute the automatic unlocking method of the Bluetooth-based household two-wheeled vehicle in any of the above method embodiments. The method includes: in response to the Bluetooth communication module receiving an unlocking instruction, where the unlocking instruction includes the Bluetooth communication module successfully pairing with the target user terminal via Bluetooth; sending a security verification request to the target user terminal according to the unlocking instruction, and the security verification request carries encrypted key information; receiving the security verification encrypted packet sent by the target user terminal, and decrypting the security verification encrypted packet using the preset decryption key to obtain the security verification code, where the decryption key matches the encrypted key; performing a security verification on the security verification code, and in the case of successful verification of the security verification code, sending an unlocking instruction to the unlocking execution module; controlling the household two-wheeled vehicle lock mechanism to perform an unlocking operation according to the unlocking instruction.
[0056] The processor 2000 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), a hardware chip, or any combination thereof; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0057] The memory 1000, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the automatic unlocking method of the Bluetooth-based household two-wheeler in the embodiments of the present application. By running the non-transitory software programs, instructions, and modules stored in the memory 1000, the processor 2000 can implement the automatic unlocking method of the Bluetooth-based household two-wheeler in any of the above method embodiments.
[0058] Specifically, the memory 1000 can include volatile memory (VM), such as random access memory (RAM); the memory 1000 can also include non-volatile memory (NVM), such as read-only memory (ROM), flash memory, a hard disk drive (HDD), or a solid-state drive (SSD), or other non-transitory solid-state storage devices; the memory 1000 can also include a combination of the above types of memories.
[0059] In summary, the vehicle automatic unlocking device of the present application adopts the technical solution of any of the above embodiments of the automatic unlocking method of the Bluetooth-based household two-wheeler. Therefore, it has at least the beneficial effects brought by the technical solutions of the above embodiments, which will not be elaborated here one by one.
[0060] The embodiments of the present application also provide a computer-readable storage medium, such as a memory including program codes, and the above program codes can be executed by a processor to complete the automatic unlocking method of the household two-wheeler based on Bluetooth in the above embodiments. For example, the computer-readable storage medium can be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CDROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0061] The embodiments of the present application also provide a computer program product, which includes one or more program codes, and the program codes are stored in a computer-readable storage medium. The processor of the vehicle automatic unlocking device reads the program codes from the computer-readable storage medium, and the processor executes the program codes to complete the steps of the automatic unlocking method of the household two-wheeler based on Bluetooth provided in the above embodiments.
[0062] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by hardware related to program codes. The program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk, or an optical disc, etc.
[0063] It should be noted that the device embodiments described above are only illustrative. 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 may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0064] Through the description of the above embodiments, those of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a magnetic disk, an optical disc, a Read-Only Memory (ROM), or a Random Access Memory (RAM), etc.
[0065] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structural transformation made under the inventive concept of the present invention by using the content of the specification and drawings of the present invention, or any direct / indirect application in other related technical fields shall be included within the patent protection scope of the present invention.
Claims
1. A method for automatically unlocking a household two-wheeled vehicle based on Bluetooth, characterized in that: A vehicle automatic unlocking device applied to a household two-wheeled vehicle, the vehicle automatic unlocking device comprises a Bluetooth communication module, a security verification module and an unlocking execution module, and the method comprises: In response to the Bluetooth communication module receiving an unlock instruction, wherein the unlock instruction includes that the Bluetooth communication module is successfully paired with a target user terminal via Bluetooth; Sending a security verification request to the target user terminal according to the unlock instruction, wherein the security verification request carries encryption key information; Receiving a security verification encrypted package sent by the target user terminal, and decrypting the security verification encrypted package using a preset decryption key to obtain a security verification code, wherein the decryption key matches the encryption key; Performing security verification on the security verification code, and sending an unlock instruction to the unlock execution module if the security verification code is successfully verified; The lock mechanism of the household two-wheeled vehicle is controlled to perform an unlocking operation according to the unlocking instruction.
2. The automatic unlocking method for a household two-wheeled vehicle based on Bluetooth as claimed in claim 1, characterized in that: The Bluetooth communication module includes a first Bluetooth communication unit, a second Bluetooth communication unit and a shielding unit. In response to the Bluetooth communication module receiving an unlocking instruction, the method includes: Acquire the workload status of the first Bluetooth communication unit and the second Bluetooth communication unit; When the workload state of the first Bluetooth communication unit exceeds a preset workload state and the workload state of the second Bluetooth communication unit does not exceed a preset workload state, controlling the shielding unit to shield and protect the first Bluetooth communication unit so that the second Bluetooth communication unit is in an activated use state; When the workload state of the second Bluetooth communication unit exceeds the preset workload state and the workload state of the first Bluetooth communication unit does not exceed the preset workload state, the shielding unit is controlled to shield and protect the second Bluetooth communication unit so that the first Bluetooth communication unit is in an activated use state.
3. The automatic unlocking method for a household two-wheeled vehicle based on Bluetooth as claimed in claim 2, characterized in that: The workload state includes a current temperature, the shielding unit includes a heat insulating member, and the controlling the shielding unit to shield and protect the first Bluetooth communication unit so that the second Bluetooth communication unit is in an activated use state includes: Controlling the heat insulation member to move to above the first Bluetooth communication unit for heat insulation protection, and making the heat insulation member move away from above the second Bluetooth communication unit; Controlling the shielding unit to shield and protect the second Bluetooth communication unit so that the first Bluetooth communication unit is in an activated use state, comprising: The heat insulating member is controlled to move to above the second Bluetooth communication unit for heat insulation protection, and the heat insulating member is moved away from above the first Bluetooth communication unit.
4. The automatic unlocking method for a household two-wheeled vehicle based on Bluetooth as claimed in claim 2, characterized in that: After acquiring the workload status of the first Bluetooth communication unit and the second Bluetooth communication unit, the method further includes: When the workload states of the first Bluetooth communication unit and the second Bluetooth communication unit both exceed a preset workload state, acquiring historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit; Determine the communication stability of the first Bluetooth communication unit and the second Bluetooth communication unit according to the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit; The shielding unit is controlled to shield and protect the Bluetooth communication unit with a lower communication stability so that the Bluetooth communication unit with a higher communication stability is in an activated use state.
5. The automatic unlocking method for a household two-wheeled vehicle based on Bluetooth as claimed in claim 4, characterized in that: The determining the communication stability of the first Bluetooth communication unit and the second Bluetooth communication unit according to the historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit comprises: Respectively obtain historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit, wherein the historical communication data includes the number of communication interruptions and the total number of communication attempts, the number of connection establishment failures and the total number of connection attempts, the cumulative duration of the signal strength being below a threshold and the total monitoring duration in a past preset time period; The historical communication data of the first Bluetooth communication unit and the second Bluetooth communication unit are respectively input into a pre-trained communication stability evaluation model to obtain a communication stability score; the communication stability evaluation model satisfies the following expression: ; ; in, are the communication stability scores of the first Bluetooth communication unit and the second Bluetooth communication unit, are the number of communication interruptions and the total number of communication attempts of the first Bluetooth communication unit in the past preset time period, respectively. are respectively the accumulated time that the signal strength of the first Bluetooth communication unit is lower than the threshold and the total monitoring time, The number of failed connection establishments of the first Bluetooth communication unit and the total number of connection attempts are respectively; are the number of communication interruptions and the total number of communication attempts of the second Bluetooth communication unit in the past preset time period, respectively. are respectively the accumulated time that the signal strength of the second Bluetooth communication unit is lower than the threshold and the total monitoring time, are the number of failed connection establishment attempts of the second Bluetooth communication unit and the total number of connection attempts respectively; W1, W2, and W3 are the corresponding influence weights.
6. The automatic unlocking method for a household two-wheeled vehicle based on Bluetooth as claimed in claim 5, characterized in that: After controlling the shielding unit to shield and protect the Bluetooth communication unit with a lower communication stability so that the Bluetooth communication unit with a higher communication stability is in an activated use state, the method further includes: The surface temperature of the shielded Bluetooth communication unit is continuously monitored at preset time intervals. When it is detected that the surface temperature of the shielded Bluetooth communication unit drops below a preset recovery temperature threshold, the thermal insulation component is controlled to move so that the shielded Bluetooth communication unit is in an activated use state.
7. The automatic unlocking method for a household two-wheeled vehicle based on Bluetooth as claimed in claim 2, characterized in that: After controlling the lock mechanism of the household two-wheeled vehicle to perform an unlocking operation according to the unlocking instruction, the method further includes: An unlock success prompt message is sent to the vehicle's dashboard display screen, and an unlock success notification message is sent to the target user terminal through the Bluetooth communication module. The unlock success prompt message and / or unlock success notification message includes displaying the Bluetooth communication unit currently being unlocked and the total number of times each Bluetooth communication unit is unlocked.
8. The automatic unlocking method for a household two-wheeled vehicle based on Bluetooth as claimed in claim 1, characterized in that: After sending a security verification request to the target user terminal according to the unlock instruction, the method further includes: The timing module is started. If the security verification encrypted package sent by the target user terminal is not received within the preset timeout period, it is determined that the unlocking process has failed, and an unlocking failure notification is sent to the target user terminal.
9. A vehicle automatic unlocking device, characterized in that: The method comprises a memory and a processor, wherein the memory is used to store program codes, and the processor is used to call the program codes to execute the method according to any one of claims 1 to 8.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Wireless remote control and electric control device and method for air suspension of commercial vehicle
CN120748178A