Bluetooth vehicle control method and device, equipment and storage medium
By obtaining the connection authentication status and feedbacking detailed fault information in the wake-up state of the target vehicle, the problem of unknown execution results of Bluetooth vehicle control commands is solved, improving user experience and operational security.
Patent Information
- Application Number
- CN202411021205.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-22
AI Technical Summary
When the user operates Bluetooth vehicle control commands, connection authentication abnormalities and signal instability may occur, resulting in unresponsiveness, making it difficult for the user to identify the cause of the failure.
When the target vehicle wakes up state and meets the preset verification conditions, obtain the connection authentication status of the mobile Bluetooth terminal and the target vehicle, and perform vehicle control according to the information feedback status and vehicle terminal control instructions. By sending detailed fault information to the user's mobile phone interface, reminding The result of the user's current instruction execution.
Effectively feedback possible causes of failure to users, facilitate after-sales repair and improve user experience, and ensure the safety and stability of Bluetooth operation.
Smart Images

Figure CN119012176A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle-mounted Bluetooth technology, and in particular to a Bluetooth vehicle control method, device, equipment and storage medium. Background Art
[0002] In the daily use of the car, users often operate the mobile phone Bluetooth App to control the functions of the vehicle's BCM module. In order to ensure the security of Bluetooth operation, the Bluetooth App needs to connect and authenticate with the ECU module on the vehicle for receiving Bluetooth signals, and the Bluetooth ECU module needs to perform anti-theft authentication with the BCM module. Taking into account the abnormal operating conditions and instability of Bluetooth signals that may occur during these two types of authentication processes, there will be no response when operating Bluetooth vehicle control commands, but users often do not know the reason. Therefore, how to display the results of command execution and the detailed reasons for failure based on multiple scenarios has become an urgent problem to be solved. Summary of the invention
[0003] The main purpose of this application is to provide a Bluetooth vehicle control method, device, equipment and storage medium, aiming to solve the technical problem of how to display the results of instruction execution and the detailed reasons for failure based on multiple scenarios.
[0004] To achieve the above objectives, the present application proposes a Bluetooth vehicle control method, which includes:
[0005] When the target vehicle is in an awake state and meets a preset verification condition, obtaining a connection authentication state between the mobile Bluetooth terminal and the target vehicle;
[0006] When the connection authentication state is a connection success state, obtaining an information feedback state of the encrypted information of the target vehicle Bluetooth terminal;
[0007] The vehicle is controlled according to the information feedback status and the vehicle-side control instruction of the mobile Bluetooth terminal.
[0008] In one embodiment, when the target vehicle is in the awake state and meets the preset verification condition, before obtaining the connection authentication state between the mobile Bluetooth terminal and the target vehicle, it also includes:
[0009] Upon receiving the anti-theft authentication request signal sent by the mobile Bluetooth terminal, obtaining the current running status of the target vehicle;
[0010] When the current running state of the target vehicle is a dormant state, switching the dormant state to an awakened state, and obtaining the current interval duration;
[0011] When the current interval duration is greater than or equal to the first duration threshold, obtaining the current delay duration;
[0012] When the current delay duration is greater than or equal to the second duration threshold, it is determined that the target vehicle meets the preset verification condition.
[0013] In one embodiment, when the target vehicle is in the awake state and meets the preset verification condition, after obtaining the connection authentication state between the mobile Bluetooth terminal and the target vehicle, the method further includes:
[0014] When the connection authentication state is a connection failure state, generating Bluetooth connection failure information;
[0015] The Bluetooth connection failure information is sent to the mobile Bluetooth terminal, and the vehicle-side control instruction of the mobile Bluetooth terminal is not responded.
[0016] In one embodiment, when the target vehicle is in the awake state and meets the preset verification condition, after obtaining the connection authentication state between the mobile Bluetooth terminal and the target vehicle, the method further includes:
[0017] When the connection authentication state is a connection timeout state, determining an update quantity of the first counter according to a current quantity and a preset quantity of the first counter;
[0018] When the update quantity of the first counter is greater than or equal to the counter threshold, determining instruction execution timeout information;
[0019] The command execution timeout information is sent to the mobile Bluetooth terminal, and the vehicle-side control command of the mobile Bluetooth terminal is not responded.
[0020] In one embodiment, the vehicle control according to the information feedback state and the vehicle-side control instruction of the mobile Bluetooth terminal includes:
[0021] When the information feedback state is the information sending state, information verification is performed according to the encrypted information of the target vehicle Bluetooth terminal and the target verification information to obtain the anti-theft authentication state;
[0022] When the anti-theft authentication state is a verification passed state, respond to the vehicle-side control instruction of the mobile Bluetooth terminal.
[0023] In one embodiment, the vehicle control according to the information feedback state and the vehicle-side control instruction of the mobile Bluetooth terminal includes:
[0024] When the information feedback state is the information processing state, obtaining the encryption information duration;
[0025] When the duration of the encrypted information is greater than a third duration threshold, determining the update quantity of the second counter according to the current quantity of the second counter and a preset quantity;
[0026] When the update number of the second counter is greater than or equal to the counter threshold, determining instruction execution timeout information;
[0027] The command execution timeout information is sent to the mobile Bluetooth terminal, and the vehicle-side control command of the mobile Bluetooth terminal is not responded.
[0028] In one embodiment, when the information feedback state is the information sending state, after performing information verification according to the encrypted information of the target vehicle Bluetooth terminal and the target verification information to obtain the anti-theft authentication state, it also includes:
[0029] When the anti-theft authentication state is a verification failure state, generating Bluetooth module failure information;
[0030] The Bluetooth module fault information is sent to the mobile Bluetooth terminal, and the vehicle-side control instruction of the mobile Bluetooth terminal is not responded.
[0031] In addition, to achieve the above purpose, the present application also proposes a Bluetooth vehicle control device, the Bluetooth vehicle control device comprising:
[0032] An acquisition module, used for acquiring the connection authentication status between the mobile Bluetooth terminal and the target vehicle when the target vehicle is in an awake state and meets a preset authentication condition;
[0033] The acquisition module is further used to acquire the information feedback status of the encrypted information of the target vehicle Bluetooth terminal when the connection authentication status is a connection success status;
[0034] The control module is used to control the vehicle according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal.
[0035] In addition, to achieve the above objectives, the present application also proposes a Bluetooth vehicle control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the Bluetooth vehicle control method described above.
[0036] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the Bluetooth vehicle control method described above are implemented.
[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the Bluetooth vehicle control method described above are implemented.
[0038] This application obtains the connection authentication status between the mobile Bluetooth terminal and the target vehicle when the target vehicle is in the awake state and meets the preset verification conditions; obtains the information feedback status of the encrypted information of the target vehicle Bluetooth end when the connection authentication status is the connection success state; and controls the vehicle according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal. When the connection authentication between the mobile Bluetooth terminal and the target vehicle is successful, the vehicle is controlled according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal, that is, starting from the actual use scenario, the possible cause of the fault is sent to the user's mobile phone Bluetooth App operation interface, and the user is fed back to remind the result of the current Bluetooth vehicle control instruction execution, which is also convenient for after-sales personnel to repair the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] Figure 1 A flowchart of the first embodiment of the Bluetooth vehicle control method of the present application is provided;
[0042] Figure 2 A schematic diagram of a Bluetooth instruction execution result feedback system provided in Embodiment 1 of the Bluetooth vehicle control method of the present application;
[0043] Figure 3 A flowchart of the second embodiment of the Bluetooth vehicle control method of the present application is provided;
[0044] Figure 4 A brief flowchart of the Bluetooth vehicle control method provided in Embodiment 2 of the present application;
[0045] Figure 5 This is a schematic diagram of the module structure of the Bluetooth vehicle control device according to an embodiment of the present application;
[0046] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the Bluetooth vehicle control method in the embodiment of the present application.
[0047] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0049] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0050] The main solution of the embodiment of the present application is: when the target vehicle is in an awake state and meets the preset verification conditions, the connection authentication status between the mobile Bluetooth terminal and the target vehicle is obtained; when the connection authentication status is a successful connection state, the information feedback status of the encrypted information of the Bluetooth end of the target vehicle is obtained; and the vehicle is controlled according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal.
[0051] In the daily use of the car, users often operate the mobile phone Bluetooth App to control the functions of the vehicle's BCM module. In order to ensure the security of Bluetooth operation, the Bluetooth App needs to connect and authenticate with the ECU module on the vehicle for receiving Bluetooth signals, and the Bluetooth ECU module needs to perform anti-theft authentication with the BCM module. Taking into account the abnormal operating conditions and instability of Bluetooth signals that may occur during these two types of authentication processes, there will be no response when operating Bluetooth vehicle control commands, but users often do not know the reason. Therefore, how to display the results of command execution and the detailed reasons for failure based on multiple scenarios has become an urgent problem to be solved.
[0052] This application obtains the connection authentication status between the mobile Bluetooth terminal and the target vehicle when the target vehicle is in the awake state and meets the preset verification conditions; obtains the information feedback status of the encrypted information of the target vehicle Bluetooth end when the connection authentication status is the connection success state; and controls the vehicle according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal. When the connection authentication between the mobile Bluetooth terminal and the target vehicle is successful, the vehicle is controlled according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal, that is, starting from the actual use scenario, the possible cause of the fault is sent to the user's mobile phone Bluetooth App operation interface, and the user is fed back to remind the result of the current Bluetooth vehicle control instruction execution, which is also convenient for after-sales personnel to repair the vehicle.
[0053] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a Bluetooth vehicle control device that can realize the above functions, etc. The following takes the Bluetooth vehicle control device as an example of the execution subject, such as a body control module (Body Control Module, BCM), to illustrate this embodiment and the following embodiments.
[0054] Based on this, the embodiment of the present application provides a Bluetooth vehicle control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the Bluetooth vehicle control method of the present application.
[0055] In this embodiment, the Bluetooth vehicle control method includes steps S10 to S40:
[0056] Step S10, when the target vehicle is in the awake state and meets the preset verification condition, obtaining the connection authentication state between the mobile Bluetooth terminal and the target vehicle;
[0057] It should be noted that if Figure 2 As shown, the Bluetooth instruction execution result feedback system in this embodiment includes a mobile phone Bluetooth App, a TBOX module, a vehicle-side Bluetooth ECU module, and a BCM module, wherein the mobile phone Bluetooth App: integrates application programs for controlling vehicle doors, locks, windows and other BCM modules, and provides an interface display on the mobile phone to facilitate users to operate and control the vehicle remotely; TBOX (Telematics Box): an electronic unit that provides cellular data traffic on the vehicle side, receives CAN communication signals / Ethernet services from other modules on the vehicle body and forwards them to the user's mobile phone; vehicle-side Bluetooth ECU module: a regional electronic control unit installed on the vehicle, integrating the Bluetooth control and communication functions of the vehicle side, and the communication method between it and the mobile phone App is a wireless radio frequency signal; BCM module: an electronic control unit including but not limited to receiving control sources from the Bluetooth ECU module, integrating all the body control functions of the vehicle, and the communication method between it and the vehicle-side Bluetooth ECU module is the CAN bus.
[0058] It can be understood that the wake-up state refers to the process of the vehicle's electronic system changing from sleep or low-power mode to active state, the preset verification condition refers to the pre-set condition for verifying whether the Bluetooth failure can be verified, the mobile Bluetooth terminal refers to a mobile terminal device with Bluetooth function, and the connection authentication state refers to the connection authentication state between the mobile Bluetooth and the vehicle-side ECU Bluetooth module. The connection authentication state includes the connection authentication failure (Fail) state, the connection authentication timeout (busy) state and the connection authentication success (Successful) state.
[0059] In a specific implementation, when the vehicle's electronic system changes from a sleep or low-power mode to an active state and meets the pre-set conditions for verifying a Bluetooth fault, the connection authentication status of the mobile-side Bluetooth and the vehicle-side ECU Bluetooth module is obtained. When the vehicle changes the vehicle's electronic system from a sleep or low-power mode to an active state based on the anti-theft authentication request signal sent by the mobile terminal, a random number seed is sent through the BCM, and after a delay of a period of time, it can be verified whether the Bluetooth is faulty, that is, whether the preset verification conditions are met.
[0060] In a feasible implementation manner, step S10 may include steps A11 to A14:
[0061] Step A11, upon receiving the anti-theft authentication request signal sent by the mobile Bluetooth terminal, obtaining the current running state of the target vehicle;
[0062] It can be understood that the anti-theft authentication request signal refers to a signal used to verify the identity of the key during the vehicle startup or unlocking process, and the current operating state includes a dormant state and a wake-up state.
[0063] In the specific implementation, when the vehicle-side Bluetooth ECU module receives the vehicle control execution instruction (anti-theft authentication request signal) sent by the mobile terminal and sends the vehicle control Bluetooth command signal to the BCM module through the CAN bus communication method, the BCM module first determines whether this request signal switches the vehicle from the sleep state to the wake-up state, thereby obtaining the current state of the vehicle.
[0064] Step A12, when the current running state of the target vehicle is a dormant state, switching the dormant state to an awake state, and obtaining the current interval duration;
[0065] It can be understood that the sleep state refers to the low energy consumption state of the vehicle, and the current interval duration refers to the duration after the vehicle switches to the awake state.
[0066] In the specific implementation, if the anti-theft authentication request signal sent by the mobile terminal switches the vehicle from a sleep state to a wake-up state, it is necessary to send a random number seed after a delay of T1 to ensure the time required for the mobile terminal Bluetooth App to establish a connection and authenticate the vehicle-side Bluetooth ECU module. Therefore, when the vehicle state is switched to a wake-up state, it is necessary to obtain the length of time after the vehicle switches to a wake-up state.
[0067] Step A13, when the current interval duration is greater than or equal to the first duration threshold, obtaining the current delay duration;
[0068] It can be understood that the first duration threshold refers to a critical time value for determining whether the random number seed is sent, and the current delay duration refers to the delay duration after the random number seed is sent.
[0069] In the specific implementation, when the time after the vehicle switches to the wake-up state is greater than the time critical value for judging whether the time for sending the random number seed is met, it indicates that the random number seed can be sent at this time. Then the BCM directly sends the random number seed to the vehicle-side Bluetooth ECU module through CAN communication, and starts comparison and authentication after a delay of T2 to ensure that the encrypted number 1 received from the CAN is calculated by the Bluetooth ECU module based on the random number seed most recently sent by the BCM and sent to the CAN bus. Therefore, the delay after sending the random number seed is obtained.
[0070] Step A14: when the current delay time is greater than or equal to the second time threshold, determine that the target vehicle meets the preset verification condition.
[0071] It can be understood that the second duration threshold refers to the critical value used to determine whether the delay duration is met, wherein the second duration threshold and the first duration threshold respectively determine different delay durations. Therefore, the first duration threshold may be greater than the second duration threshold, or the first duration threshold may be less than the second duration threshold, or the first duration threshold may be equal to the second duration threshold. This embodiment does not limit the above-mentioned duration thresholds and can be set according to specific circumstances.
[0072] In a specific implementation, when the delay length after sending the random number seed is greater than or equal to the critical value used to determine whether the delay time is met, it indicates that the delay time T2 has been reached, which can ensure that the encrypted number 1 received from the CAN is calculated by the Bluetooth ECU module based on the random number seed most recently sent by the BCM and sent to the CAN bus. Therefore, the Bluetooth fault type can be verified, that is, the preset verification conditions are met.
[0073] In a feasible implementation manner, step S10 may include steps B11 to B12:
[0074] Step B11, when the connection authentication state is a connection failure state, generating Bluetooth connection failure information;
[0075] It can be understood that the connection failure state refers to the state in which the connection authentication between the mobile Bluetooth and the vehicle-side ECU Bluetooth module fails, and the Bluetooth connection failure information refers to the fault prompt information of the Bluetooth connection failure.
[0076] Step B12, sending the Bluetooth connection failure information to the mobile Bluetooth terminal, and not responding to the vehicle-side control command of the mobile Bluetooth terminal.
[0077] It is understandable that the fault prompt information of the Bluetooth connection failure is sent to the mobile Bluetooth terminal, and due to the Bluetooth connection failure, it is impossible to respond to the command of controlling the vehicle sent by the mobile Bluetooth terminal.
[0078] It should be noted that when the vehicle-side Bluetooth ECU module receives the vehicle control execution command sent by the mobile phone App and sends the vehicle control Bluetooth command signal to the BCM module through the communication method of the CAN bus, the BCM module first determines whether this request signal switches the vehicle from the dormant state to the awake state. If so, it is sent after a delay of T1 to ensure the time required for the mobile phone Bluetooth App to establish a connection and authentication with the vehicle-side Bluetooth ECU module. If the delay of T1 is not required, the BCM directly sends the random number seed to the vehicle-side Bluetooth ECU module through CAN communication, and starts the comparison authentication after a delay of T2 to ensure that the encrypted number 1 received from the CAN is calculated by the Bluetooth ECU module based on the random number seed recently sent by the BCM and sent to the CAN bus. After T2 time, it is determined that the connection authentication status of the mobile phone Bluetooth App and the vehicle-side Bluetooth ECU module is Fail, then the BCM module feedbacks the information that the mobile phone App and the vehicle-side Bluetooth ECU module failed to connect to TBOX through the communication method of the SOMEIP Ethernet service, and then TBOX feedbacks the execution result to the mobile phone App interface.
[0079] In a feasible implementation manner, step S10 may include steps C11 to C13:
[0080] Step C11, when the connection authentication state is a connection timeout state, determining an update quantity of the first counter according to a current quantity and a preset quantity of the first counter;
[0081] It can be understood that the connection timeout state refers to the state in which the connection authentication between the mobile terminal Bluetooth and the vehicle-side ECU Bluetooth module has timed out. The first counter is used to record the number of times the connection authentication between the mobile terminal Bluetooth and the vehicle-side ECU Bluetooth module has timed out. The preset number refers to the preset number of counter increases. For example, every time the connection authentication between the mobile terminal Bluetooth and the vehicle-side ECU Bluetooth module times out, the first counter increases by 1. The update number refers to the updated count number.
[0082] In the specific implementation, when the connection authentication between the mobile Bluetooth and the vehicle ECU Bluetooth module times out, the current count of the first counter is obtained, that is, the number of timeouts of the connection authentication between the current mobile Bluetooth and the vehicle ECU Bluetooth module is determined, and then the pre-set counter increase number is added to obtain the updated count of the first counter.
[0083] Step C12, when the update quantity of the first counter is greater than or equal to the counter threshold, determining instruction execution timeout information;
[0084] It can be understood that the counter threshold is a critical value of the counter used to determine whether a Bluetooth failure occurs, and the instruction execution timeout information refers to the prompt information of the instruction execution being busy and timed out sent to TBOX through the middleware protocol (Scalable Service-Oriented MiddlewarE over IP, SOMEIP).
[0085] In a specific implementation, the updated count of the first counter is compared with the critical value of the counter used to determine whether a Bluetooth failure occurs. When the updated count of the first counter is greater than or equal to the critical value of the counter used to determine whether a Bluetooth failure occurs, a prompt message is generated to send a command to TBOX through SOMEIP indicating that the execution is busy and timed out.
[0086] Step C13, sending the instruction execution timeout information to the mobile Bluetooth terminal, and not responding to the vehicle-side control instruction of the mobile Bluetooth terminal.
[0087] In a specific implementation, a prompt message indicating that the execution of a command sent to TBOX via SOMEIP is busy and timed out is sent to the mobile Bluetooth terminal, indicating that the command for controlling the vehicle sent by the mobile Bluetooth terminal cannot be responded to.
[0088] It should be noted that when the vehicle-side Bluetooth ECU module receives the vehicle control execution command sent by the mobile phone App and sends the vehicle control Bluetooth command signal to the BCM module through the communication method of the CAN bus, the BCM module first determines whether this request signal switches the vehicle from the dormant state to the awake state. If so, it is sent after a delay of T1 to ensure the time required for the mobile phone Bluetooth App to establish a connection and authentication with the vehicle-side Bluetooth ECU module. If the delay of T1 is not required, the BCM directly sends the random number seed to the vehicle-side Bluetooth ECU module through CAN communication, and starts the comparison authentication after a delay of T2 to ensure that the encrypted number 1 received from the CAN is calculated by the Bluetooth ECU module based on the random number seed recently sent by the BCM and sent to the CAN bus. After T2 time, if the connection authentication status between the mobile Bluetooth App and the vehicle Bluetooth ECU module is busy, the counter C2 is increased by 1, and then the BCM resends the random number seed and counts in a cycle. If the counter C2 value is greater than or equal to 5, the BCM module uses the SOMEIP Ethernet service communication method to feedback the instruction execution busy timeout information to TBOX, and then TBOX feeds back the execution result to the mobile App interface.
[0089] Step S20, when the connection authentication state is a connection success state, obtaining the information feedback state of the encryption information of the target vehicle Bluetooth terminal;
[0090] It can be understood that the successful connection status refers to the status of successful connection authentication between the mobile Bluetooth and the vehicle ECU Bluetooth module, the information feedback status includes the status of whether the encrypted information is fed back, and the target vehicle Bluetooth terminal refers to the vehicle-side Bluetooth ECU module.
[0091] In the specific implementation, when the connection authentication between the mobile Bluetooth and the vehicle-side ECU Bluetooth module is successful, the status of whether the vehicle-side Bluetooth ECU module has fed back is obtained. After the vehicle is in the awake state, the BCM will randomly generate a random number seed and send it to the vehicle-side Bluetooth ECU module. Then the vehicle-side Bluetooth ECU module calculates the encrypted data according to the random number seed, and then feeds back the calculated encrypted data to the BCM. Therefore, when the connection is successful, it is necessary to detect whether the vehicle-side Bluetooth ECU module feeds back encrypted data.
[0092] Step S30, controlling the vehicle according to the information feedback status and the vehicle-side control instruction of the mobile Bluetooth terminal.
[0093] It can be understood that the vehicle-side control instruction refers to the instruction issued by the mobile Bluetooth terminal to control the vehicle, and also refers to the anti-theft authentication request signal.
[0094] In the specific implementation, whether the anti-theft authentication is completed is determined based on whether the vehicle-side ECU Bluetooth module feeds back the status of the encrypted information, and finally whether the vehicle control command issued by the mobile Bluetooth terminal is executed.
[0095] In a feasible implementation, step S30 may include steps A31 to A34:
[0096] Step A31, when the information feedback state is the information processing state, obtaining the encryption information duration;
[0097] It can be understood that the information processing status refers to the state in which the vehicle-side ECU Bluetooth module is processing encrypted information, and the encrypted information duration refers to the duration in which the vehicle-side ECU Bluetooth module processes the encrypted information.
[0098] In a specific implementation, when the information feedback status is that the vehicle-side ECU Bluetooth module is processing encrypted information, the duration for the vehicle-side ECU Bluetooth module to process the encrypted information is obtained.
[0099] Step A32, when the duration of the encrypted information is greater than a third duration threshold, determining the update quantity of the second counter according to the current quantity of the second counter and a preset quantity;
[0100] It can be understood that the third duration threshold refers to the critical duration value used to determine whether the feedback encrypted information has timed out, and the second counter is used to record the number of times the vehicle-side ECU Bluetooth module times out to send the encrypted number 1, wherein the third duration threshold and the second duration threshold and the first duration threshold respectively determine different delay durations. Therefore, the third duration threshold may be greater than the second duration threshold or the first duration threshold, or the third duration threshold may be less than the second duration threshold or the first duration threshold, or the third duration threshold may be equal to the second duration threshold and the first duration threshold. This embodiment does not limit the above-mentioned duration thresholds and can be set according to specific circumstances.
[0101] In a specific implementation, when the time taken by the vehicle-side ECU Bluetooth module to process encrypted information is greater than the critical time value used to determine whether the feedback encrypted information has timed out, it indicates that the vehicle-side ECU Bluetooth module has timed out to send the encrypted information, and then the current count of the second counter is obtained, that is, the number of times the vehicle-side ECU Bluetooth module has timed out to send the encrypted information is determined, and then the count is added according to the pre-set counter increase number to obtain the updated count of the second counter.
[0102] Step A33, when the update number of the second counter is greater than or equal to the counter threshold, determining instruction execution timeout information;
[0103] It can be understood that the encrypted information sent by the vehicle-side ECU Bluetooth module after timeout is compared with the critical value of the counter used to determine whether a Bluetooth fault occurs. When the encrypted information sent by the vehicle-side ECU Bluetooth module after timeout is greater than or equal to the critical value of the counter used to determine whether a Bluetooth fault occurs, a prompt message that the instruction execution is busy and timed out is generated and sent to TBOX through the middleware protocol SOMEIP. The scenario of the instruction execution busy timeout at this time is different from the scenario of the connection authentication timeout between the mobile Bluetooth and the vehicle-side ECU Bluetooth module mentioned above, but it is also a scenario of instruction execution timeout, that is, the scenario where the vehicle-side ECU Bluetooth module times out to send encrypted information.
[0104] Step A34, sending the instruction execution timeout information to the mobile Bluetooth terminal, and not responding to the vehicle-side control instruction of the mobile Bluetooth terminal.
[0105] It can be understood that because the number of times the vehicle-side ECU Bluetooth module times out sending encrypted information reaches a pre-set threshold, it then sends a prompt message to the mobile Bluetooth terminal through the middleware protocol SOMEIP that the instruction execution to TBOX is busy and timed out, and does not respond to the vehicle-side control instructions of the mobile Bluetooth terminal.
[0106] It should be noted that when the vehicle-side Bluetooth ECU module receives the vehicle control execution command sent by the mobile phone App and sends the vehicle control Bluetooth command signal to the BCM module through the communication method of the CAN bus, the BCM module first determines whether this request signal switches the vehicle from the dormant state to the awake state. If so, it is sent after a delay of T1 to ensure the time required for the mobile phone Bluetooth App to establish a connection and authentication with the vehicle-side Bluetooth ECU module. If the delay of T1 is not required, the BCM directly sends the random number seed to the vehicle-side Bluetooth ECU module through CAN communication, and starts the comparison authentication after a delay of T2 to ensure that the encrypted number 1 received from the CAN is calculated by the Bluetooth ECU module based on the random number seed recently sent by the BCM and sent to the CAN bus. After T2 time, if the connection authentication status between the mobile Bluetooth App and the vehicle Bluetooth ECU module is not busy or Fail, but the encrypted number 1 sent by the vehicle Bluetooth ECU module is not received after T3 time, the counter C1 is increased by 1, and then the BCM resends the random number seed, and the counting is cyclic. If the counter C1 value is greater than or equal to 5, the BCM module feeds back the information that the instruction execution is busy and timed out to TBOX in the communication mode of SOMEIP Ethernet service, and then TBOX feeds back the execution result to the mobile App interface.
[0107] This embodiment obtains the connection authentication status between the mobile Bluetooth terminal and the target vehicle when the target vehicle is in the awake state and meets the preset verification conditions; obtains the information feedback status of the encrypted information of the target vehicle Bluetooth end when the connection authentication status is the connection success state; and controls the vehicle according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal. When the connection authentication between the mobile Bluetooth terminal and the target vehicle is successful, the vehicle is controlled according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal, that is, starting from the actual use scenario, the possible cause of the fault is sent to the user's mobile phone Bluetooth App operation interface, and the user is fed back to remind the result of the current Bluetooth vehicle control instruction execution, which is also convenient for after-sales personnel to repair the vehicle.
[0108] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , step S30 in the Bluetooth vehicle control method further includes steps S31-S32:
[0109] Step S31, when the information feedback state is the information sending state, information verification is performed according to the encrypted information of the target vehicle Bluetooth terminal and the target verification information to obtain the anti-theft authentication state;
[0110] It can be understood that the information sending status refers to the status in which the vehicle-side ECU Bluetooth module has sent encrypted information, the target verification information refers to the encrypted verification information calculated by the BCM based on the random number seed, and the anti-theft authentication status includes the verification failure status and the verification success status.
[0111] In the specific implementation, when the information feedback status is that the vehicle-side ECU Bluetooth module has sent encrypted information, the encrypted information fed back by the vehicle-side ECU Bluetooth module and the encrypted verification information calculated by the BCM based on the random number seed are compared to determine the verification failure status or the verification success status.
[0112] In a feasible implementation manner, step S31 may include steps A311 to A312:
[0113] Step A311, when the anti-theft authentication state is a verification failure state, generating Bluetooth module failure information;
[0114] It can be understood that the verification failure state refers to the state where the encrypted information sent by the vehicle-side ECU Bluetooth module is different from the encrypted verification information calculated by the BCM based on the random number seed, and the Bluetooth module fault information refers to the vehicle-mounted Bluetooth fault prompt information.
[0115] In the specific implementation, when the encrypted information sent by the vehicle-side ECU Bluetooth module is different from the encrypted verification information calculated by the BCM based on the random number seed, that is, the anti-theft authentication status is a verification failure status, and then a vehicle-mounted Bluetooth fault prompt information is generated.
[0116] Step A312, sending the Bluetooth module fault information to the mobile Bluetooth terminal, and not responding to the vehicle-side control command of the mobile Bluetooth terminal.
[0117] It is understandable that the vehicle-mounted Bluetooth fault prompt information is sent to the mobile Bluetooth terminal to remind the user that the Bluetooth anti-theft authentication has failed, and does not respond to the vehicle-side control instructions of the mobile Bluetooth terminal.
[0118] It should be noted that when the vehicle-side Bluetooth ECU module receives the vehicle control execution command sent by the mobile phone App and sends the vehicle control Bluetooth command signal to the BCM module through the communication method of the CAN bus, the BCM module first determines whether this request signal switches the vehicle from the dormant state to the awake state. If so, it is sent after a delay of T1 to ensure the time required for the mobile phone Bluetooth App to establish a connection and authentication with the vehicle-side Bluetooth ECU module. If the delay of T1 is not required, the BCM directly sends the random number seed to the vehicle-side Bluetooth ECU module through CAN communication, and starts the comparison authentication after a delay of T2 to ensure that the encrypted number 1 received from the CAN is calculated by the Bluetooth ECU module based on the random number seed recently sent by the BCM and sent to the CAN bus. After T2 time, if the connection authentication status between the mobile Bluetooth App and the vehicle Bluetooth ECU module is not busy or Fail, but the encrypted number 1 sent by the vehicle Bluetooth ECU module is not equal to the encrypted number 2 calculated by BCM, then the counter C3 is increased by 1, and then BCM resends the random number seed, and the counting is cyclic. If the counter C3 value is greater than or equal to 2, the BCM module feeds back the Bluetooth module sending fault information to TBOX in the communication mode of SOMEIP Ethernet service, and then TBOX feeds back the execution result to the mobile App interface.
[0119] Step S32, when the anti-theft authentication state is a verification passed state, respond to the vehicle-side control instruction of the mobile Bluetooth terminal.
[0120] It can be understood that the verification passed status refers to the status in which the encrypted information sent by the vehicle-side ECU Bluetooth module is the same as the encrypted verification information calculated by the BCM based on the random number seed.
[0121] It should be noted that when the vehicle-side Bluetooth ECU module receives the vehicle control execution command sent by the mobile phone App and sends the vehicle control Bluetooth command signal to the BCM module through the communication method of the CAN bus, the BCM module first determines whether this request signal switches the vehicle from the dormant state to the awake state. If so, it is sent after a delay of T1 to ensure the time required for the mobile phone Bluetooth App to establish a connection and authentication with the vehicle-side Bluetooth ECU module. If the delay of T1 is not required, the BCM directly sends the random number seed to the vehicle-side Bluetooth ECU module through CAN communication, and starts to compare and authenticate after a delay of T2 to ensure that the encrypted number 1 received from the CAN is calculated by the Bluetooth ECU module based on the random number seed recently sent by the BCM and sent to the CAN bus. After T2 time, if the connection authentication status of the mobile phone Bluetooth App and the vehicle-side Bluetooth ECU module is not busy or Fail, and the encrypted number 1 is equal to the encrypted number 2 calculated by the BCM, it indicates that the Bluetooth anti-theft authentication initiated by the vehicle-side Bluetooth ECU module has passed, and its vehicle control Bluetooth command can be executed. The BCM module uses the SOMEIP Ethernet service communication method to feedback the successful execution of the command to TBOX, and then TBOX feeds back the execution result to the mobile phone App interface.
[0122] This embodiment obtains the anti-theft authentication state by performing information verification according to the encrypted information and target verification information of the target vehicle Bluetooth terminal when the information feedback state is the information sending state; and responds to the vehicle-side control command of the mobile Bluetooth terminal when the anti-theft authentication state is the verification passed state. The anti-theft authentication state is determined by the encrypted information and target verification information of the target vehicle Bluetooth terminal, and when the anti-theft authentication state is the verification passed state, the vehicle-side control command is executed, thereby ensuring the safety of the vehicle.
[0123] For example, in order to help understand the implementation process of the Bluetooth vehicle control method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 4 , Figure 4 A brief flow chart of a Bluetooth vehicle control method is provided, specifically: by considering five scenarios, namely, successful command execution, command execution failure caused by failure of connection authentication between the mobile phone App and the vehicle-side ECU module, command execution failure caused by the vehicle-side Bluetooth ECU module feedbacking the busy state to the BCM module reaching the upper limit, command execution failure caused by the BCM module timeout and no response and not receiving the encrypted number reaching the upper limit, and authentication failure caused by the vehicle-side ECU Bluetooth module feedbacking the asymmetric encrypted number to the BCM module reaching the upper limit. Based on the actual usage scenario, the possible cause of the fault is sent to the user's mobile phone Bluetooth App operation interface, and the user is fed back to remind the user of the result of the current Bluetooth vehicle control command execution, which is also convenient for after-sales personnel to repair the vehicle.
[0124] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the Bluetooth vehicle control method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.
[0125] This application also provides a Bluetooth vehicle control device, please refer to Figure 5 , the Bluetooth vehicle control device comprises:
[0126] The acquisition module 10 is used to acquire the connection authentication status between the mobile Bluetooth terminal and the target vehicle when the target vehicle is in the awake state and meets the preset authentication conditions;
[0127] The acquisition module 10 is further used to acquire the information feedback status of the encrypted information of the target vehicle Bluetooth terminal when the connection authentication status is a connection success status;
[0128] The control module 20 is used to control the vehicle according to the information feedback status and the vehicle-side control instruction of the mobile Bluetooth terminal.
[0129] Optionally, the acquisition module 10 is further used to:
[0130] Upon receiving the anti-theft authentication request signal sent by the mobile Bluetooth terminal, obtaining the current running status of the target vehicle;
[0131] When the current running state of the target vehicle is a dormant state, switching the dormant state to an awakened state, and obtaining the current interval duration;
[0132] When the current interval duration is greater than or equal to the first duration threshold, obtaining the current delay duration;
[0133] When the current delay duration is greater than or equal to the second duration threshold, it is determined that the target vehicle meets the preset verification condition.
[0134] Optionally, the acquisition module 10 is further used to:
[0135] When the connection authentication state is a connection failure state, generating Bluetooth connection failure information;
[0136] The Bluetooth connection failure information is sent to the mobile Bluetooth terminal, and the vehicle-side control instruction of the mobile Bluetooth terminal is not responded.
[0137] Optionally, the acquisition module 10 is further used to:
[0138] When the connection authentication state is a connection timeout state, determining an update quantity of the first counter according to a current quantity and a preset quantity of the first counter;
[0139] When the update quantity of the first counter is greater than or equal to the counter threshold, determining instruction execution timeout information;
[0140] The command execution timeout information is sent to the mobile Bluetooth terminal, and the vehicle-side control command of the mobile Bluetooth terminal is not responded.
[0141] Optionally, the control module 20 is further used for:
[0142] When the information feedback state is the information sending state, information verification is performed according to the encrypted information of the target vehicle Bluetooth terminal and the target verification information to obtain the anti-theft authentication state;
[0143] When the anti-theft authentication state is a verification passed state, respond to the vehicle-side control instruction of the mobile Bluetooth terminal.
[0144] Optionally, the control module 20 is further used for:
[0145] When the information feedback state is the information processing state, obtaining the encryption information duration;
[0146] When the duration of the encrypted information is greater than a third duration threshold, determining the update quantity of the second counter according to the current quantity of the second counter and a preset quantity;
[0147] When the update number of the second counter is greater than or equal to the counter threshold, determining instruction execution timeout information;
[0148] The command execution timeout information is sent to the mobile Bluetooth terminal, and the vehicle-side control command of the mobile Bluetooth terminal is not responded.
[0149] Optionally, the control module 20 is further used for:
[0150] When the anti-theft authentication state is a verification failure state, generating Bluetooth module failure information;
[0151] The Bluetooth module fault information is sent to the mobile Bluetooth terminal, and the vehicle-side control instruction of the mobile Bluetooth terminal is not responded.
[0152] The Bluetooth vehicle control device provided by the present application adopts the Bluetooth vehicle control method in the above embodiment, which can solve the technical problem of how to display the results of command execution and the detailed reasons for failure based on multiple scenarios. Compared with the prior art, the beneficial effects of the Bluetooth vehicle control device provided by the present application are the same as the beneficial effects of the Bluetooth vehicle control method provided by the above embodiment, and other technical features in the Bluetooth vehicle control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0153] The present application provides a Bluetooth vehicle control device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the Bluetooth vehicle control method in the above-mentioned embodiment one.
[0154] Reference below Figure 6 , which shows a schematic diagram of the structure of a Bluetooth vehicle control device suitable for implementing an embodiment of the present application. The Bluetooth vehicle control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The Bluetooth vehicle control device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0155] like Figure 6 As shown, the Bluetooth vehicle control device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the Bluetooth vehicle control device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the Bluetooth vehicle control device to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a Bluetooth vehicle control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0156] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0157] The Bluetooth vehicle control device provided by the present application adopts the Bluetooth vehicle control method in the above embodiment, which can solve the technical problem of how to display the results of command execution and the detailed reasons for failure based on multiple scenarios. Compared with the prior art, the beneficial effects of the Bluetooth vehicle control device provided by the present application are the same as the beneficial effects of the Bluetooth vehicle control method provided by the above embodiment, and other technical features in the Bluetooth vehicle control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0158] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0159] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0160] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the Bluetooth vehicle control method in the above-mentioned embodiment.
[0161] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0162] The computer-readable storage medium may be included in the Bluetooth vehicle control device; or may exist independently without being assembled into the Bluetooth vehicle control device.
[0163] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the Bluetooth vehicle control device, the Bluetooth vehicle control device: obtains the connection authentication status between the mobile Bluetooth terminal and the target vehicle when the target vehicle is in an awake state and meets the preset verification conditions; obtains the information feedback status of the encrypted information of the Bluetooth end of the target vehicle when the connection authentication status is a successful connection state; and controls the vehicle according to the information feedback status and the vehicle-end control instructions of the mobile Bluetooth terminal.
[0164] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0166] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0167] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned Bluetooth vehicle control method, and can solve the technical problem of how to display the results of instruction execution and the detailed reasons for failure based on multiple scenarios. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the Bluetooth vehicle control method provided in the above-mentioned embodiment, and will not be repeated here.
[0168] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned Bluetooth vehicle control method when executed by a processor.
[0169] The computer program product provided by the present application can solve the technical problem of how to display the results of instruction execution and the detailed reasons for failure based on multiple scenarios. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the Bluetooth vehicle control method provided by the above embodiment, which will not be repeated here.
[0170] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A Bluetooth vehicle control method, characterized in that: The Bluetooth vehicle control method comprises: When the target vehicle is in an awake state and meets a preset verification condition, obtaining a connection authentication state between the mobile Bluetooth terminal and the target vehicle; When the connection authentication state is a connection success state, obtaining an information feedback state of the encrypted information of the target vehicle Bluetooth terminal; The vehicle is controlled according to the information feedback status and the vehicle-side control instruction of the mobile Bluetooth terminal.
2. The method according to claim 1, characterized in that When the target vehicle is in the awake state and meets the preset verification condition, before obtaining the connection authentication state between the mobile Bluetooth terminal and the target vehicle, the method further includes: Upon receiving the anti-theft authentication request signal sent by the mobile Bluetooth terminal, obtaining the current running status of the target vehicle; When the current running state of the target vehicle is a dormant state, switching the dormant state to an awakened state, and obtaining the current interval duration; When the current interval duration is greater than or equal to the first duration threshold, obtaining the current delay duration; When the current delay duration is greater than or equal to the second duration threshold, it is determined that the target vehicle meets the preset verification condition.
3. The method according to claim 1, characterized in that When the target vehicle is in the awakened state and meets the preset verification condition, after obtaining the connection authentication state between the mobile Bluetooth terminal and the target vehicle, the method further includes: When the connection authentication state is a connection failure state, generating Bluetooth connection failure information; The Bluetooth connection failure information is sent to the mobile Bluetooth terminal, and the vehicle-side control instruction of the mobile Bluetooth terminal is not responded.
4. The method according to claim 1, characterized in that When the target vehicle is in the awakened state and meets the preset verification condition, after obtaining the connection authentication state between the mobile Bluetooth terminal and the target vehicle, the method further includes: When the connection authentication state is a connection timeout state, determining an update quantity of the first counter according to a current quantity and a preset quantity of the first counter; When the update quantity of the first counter is greater than or equal to the counter threshold, determining instruction execution timeout information; The command execution timeout information is sent to the mobile Bluetooth terminal, and the vehicle-side control command of the mobile Bluetooth terminal is not responded.
5. The method according to claim 1, characterized in that The vehicle control according to the information feedback state and the vehicle-side control instruction of the mobile Bluetooth terminal includes: When the information feedback state is the information sending state, information verification is performed according to the encrypted information of the target vehicle Bluetooth terminal and the target verification information to obtain the anti-theft authentication state; When the anti-theft authentication state is a verification passed state, respond to the vehicle-side control instruction of the mobile Bluetooth terminal.
6. The method according to claim 1, characterized in that The vehicle control according to the information feedback state and the vehicle-side control instruction of the mobile Bluetooth terminal includes: When the information feedback state is the information processing state, obtaining the encryption information duration; When the duration of the encrypted information is greater than a third duration threshold, determining the update quantity of the second counter according to the current quantity of the second counter and a preset quantity; When the update number of the second counter is greater than or equal to the counter threshold, determining instruction execution timeout information; The command execution timeout information is sent to the mobile Bluetooth terminal, and the vehicle-side control command of the mobile Bluetooth terminal is not responded.
7. The method according to claim 5, characterized in that When the information feedback state is the information sending state, information verification is performed according to the encrypted information of the target vehicle Bluetooth terminal and the target verification information, and after the anti-theft authentication state is obtained, the method further includes: When the anti-theft authentication state is a verification failure state, generating Bluetooth module failure information; The Bluetooth module fault information is sent to the mobile Bluetooth terminal, and the vehicle-side control instruction of the mobile Bluetooth terminal is not responded.
8. A Bluetooth vehicle control device, characterized in that: The device comprises: An acquisition module, used for acquiring the connection authentication status between the mobile Bluetooth terminal and the target vehicle when the target vehicle is in an awake state and meets a preset authentication condition; The acquisition module is further used to acquire the information feedback status of the encrypted information of the target vehicle Bluetooth terminal when the connection authentication status is a connection success status; The control module is used to control the vehicle according to the information feedback status and the vehicle-side control instructions of the mobile Bluetooth terminal.
9. A Bluetooth vehicle control device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the Bluetooth vehicle control method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the Bluetooth vehicle control method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Standby method for communication failure of digital key main module
CN119889018A
