Vehicle lock state determination method and device and vehicle
By analyzing the change of the vehicle lock target switch position signal during the change of the door state, timely determine whether the vehicle lock is faulty and alert, the problem of the vehicle door being closed but the vehicle lock being faulty and not locked is solved, and the vehicle safety is improved.
Patent Information
- Application Number
- CN202311083595.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-25
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2043-08-25
AI Technical Summary
In a vehicle, the door is closed but the vehicle lock fails to lock, resulting in safety hazards in the vehicle. How to promptly sense whether the vehicle lock is malfunctioning has become an important issue to ensure the safety of the vehicle.
By analyzing the signal change results of the corresponding position signal of the target switch in the vehicle lock during the change of the door state, we will judge whether the vehicle lock is in a faulty state, and alarm is issued when the fault is faulty. The specific method includes responding to the door state change command, obtaining the change result of the target switch position signal, if the signal has not changed, confirming the vehicle lock fault and sending an alarm.
Automatic vehicle lock fault detection is realized, the accuracy of fault detection is improved, errors caused by human detection are avoided, and safety is enhanced during vehicle use.
Smart Images

Figure CN119507741A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle safety, and more specifically, to a method and device for determining a vehicle lock state in the field of vehicle safety, and a vehicle. Background Art
[0002] Currently, there are two steps in the door closing process. First, the door is completely closed, and second, the door is locked so that the door is in a locked state. In this locked state, other users cannot open the door from the outside.
[0003] In the event of a car lock failure, even if the user completely closes the car door and triggers the car lock command, the car door is not locked and is still at risk of being easily opened, posing a safety hazard to the vehicle.
[0004] Based on this, how to timely sense whether the car lock is faulty has become an urgent problem to be solved in order to ensure vehicle safety. Summary of the invention
[0005] The present application provides a method, device and vehicle for determining a vehicle lock status. The method can timely warn of vehicle lock failure and ensure vehicle safety.
[0006] In a first aspect, a method for determining a vehicle lock state is provided, the method comprising: in response to a change instruction for a vehicle door state, obtaining a signal change result of a position signal corresponding to a target switch, the vehicle door state comprising an unlocked state or a locked state, the target switch being a component in the vehicle lock for controlling the change of the vehicle door state, and the position signal comprising a disconnect signal or a connect signal; when the signal change result indicates that the position signal has not changed, determining that the vehicle lock is in a fault state; when determining that the vehicle lock is in a fault state, issuing an alarm for the vehicle lock fault.
[0007] In the above technical solution, the present application proposes a method for determining a car lock failure: by analyzing the signal change results of the position signal corresponding to the target switch in the car lock during the change of the door state, so as to timely sense whether the car lock is in a faulty state according to the signal change results, and to be able to give an alarm in a timely manner when the car lock is in a faulty state. By detecting the signal change results of the position signal to sense whether the car lock is faulty, automatic car lock fault detection can be achieved, avoiding the errors caused by manual detection of whether the car lock is faulty, and improving the accuracy of car lock fault detection. Moreover, it can also avoid vehicle safety issues caused by the user's failure to detect whether the door is locked successfully when the car lock is in a faulty state, thereby improving the safety of the vehicle during use.
[0008] In combination with the first aspect, in some possible implementations, in response to an instruction to change the door state, obtaining a signal change result of a position signal corresponding to a target switch, includes: in response to the instruction to change the door state, obtaining a signal change result of the position signal corresponding to the target switch within a target time period; when the signal change result indicates that the position signal has not changed, determining that the vehicle lock is in a faulty state includes: when the signal change result indicates that the position signal has not changed within the target time period, determining that the vehicle lock is in the faulty state.
[0009] In the above technical scheme, taking into account that there may be a time delay in the locking process of the vehicle lock, in order to improve the accuracy of the vehicle lock fault warning, the present application obtains the signal change results within the target time period, and judges whether the signal change results within the target time period indicate that the position signal has changed, comprehensively determines whether the vehicle lock is faulty, avoids the prediction of vehicle lock failure due to accidental errors, and improves the accuracy of the vehicle lock fault warning.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the signal change result indicates that the position signal has not changed within the target time period, it is determined that the vehicle lock is in the fault state, including: when the signal change result indicates that the position signal has not changed within the target time period, resending the change instruction N times, N is a positive integer; when the position signal has not changed under N times of the change instruction, it is determined that the vehicle lock is in the fault state.
[0011] In the above technical solution, in order to eliminate the influence of the door state change command transmission problem on the accuracy of the car lock fault warning, for example, if the door does not receive the car lock command, the position signal will not jump. This application proposes to send the change command multiple times and combine the signal change results after receiving the change command multiple times to determine whether the position signal jumps. Eliminate the influence of other factors on the car lock fault warning and further improve the accuracy of the car lock fault warning.
[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the signal change result of the position signal corresponding to the target switch is obtained in response to the change instruction of the door state, including: in response to the change instruction of the door state, the vehicle state of the target vehicle is obtained; when the vehicle state indicates that the door state can be changed, the signal change result of the position signal corresponding to the target switch is obtained.
[0013] In the above technical solution, it is considered that the vehicle itself will not respond to the door state change command under certain vehicle states, for example, it will not respond to the unlock command when the vehicle is driving at high speed. In order to avoid misidentification of the car lock failure in this case, the present application proposes to judge the vehicle state of the target vehicle after receiving the change command, and execute the subsequent car lock failure judgment process when the vehicle state indicates that the door state can be changed. This can avoid the judgment result of the car lock failure being affected by the failure to respond to the change command in certain special vehicle states, and further improve the accuracy of the warning of the car lock failure.
[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when it is determined that the vehicle lock is in a faulty state, an alarm is issued for the vehicle lock fault, including at least one of the following: when it is determined that the vehicle lock is in the faulty state, a first prompt message is sent to a terminal associated with the vehicle, and the first prompt message is used to remind that the vehicle lock is faulty; when it is determined that the vehicle lock is in the faulty state, a second prompt message is sent to a fault repair platform associated with the vehicle, and the second prompt message is used to remind that there is a need for fault repair of the vehicle lock.
[0015] In the above technical solution, considering that in some scenarios the user is not around the vehicle and cannot know the lock status in time, this application proposes to send a prompt message to the terminal associated with the vehicle to promptly remind the user of the lock failure, so as to remind the user to return to the vehicle in time to avoid further property losses; in addition, a prompt message can also be sent to the fault repair platform in advance to shorten the vehicle repair time and provide users with more convenient repair services.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when the vehicle is in a parking state and there are no passengers in the vehicle, obtaining the door state of the vehicle; when the door state is the unlocked state and the door is in a fully closed state, sending the change instruction for the door state, and the change instruction is used to control the door state from the unlocked state to the locked state.
[0017] In the above technical solution, for the scenario where the vehicle is in a parked state and the user is not inside the vehicle, in order to avoid property loss, the present application also proposes obtaining the door status of the vehicle when it is detected that the vehicle is in a parked state and there are no passengers in the vehicle, and sending a locking command to the door when the door status is unlocked and the door is in a completely closed state, so as to lock the vehicle in time and avoid property loss caused by the user forgetting to lock the vehicle, thereby further improving vehicle safety.
[0018] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when it is determined that the vehicle lock is in a faulty state, an alarm is issued for the vehicle lock fault, including: when it is determined that the vehicle lock is in the faulty state, a third prompt message is sent to the terminal associated with the vehicle, and the third prompt message is used to remind that there is no one in the vehicle and the vehicle lock cannot be closed due to a fault; the method also includes: when the signal change result indicates that the position signal has changed, and is consistent with the signal change result corresponding to the locked state, determining that the door state has changed from the unlocked state to the locked state; when it is determined that the door state has changed to the locked state, sending a fourth prompt message to the terminal associated with the vehicle, and the fourth prompt message is used to remind that the door is locked.
[0019] In the above technical solution, in the scenario where the user forgets to lock the car and a car lock failure occurs, making it impossible to lock the car door, a third prompt message needs to be sent to the terminal associated with the vehicle to promptly remind the user that there is no one in the car and the car lock failure cannot be closed, so that the user can return to the vicinity of the vehicle as soon as possible to avoid property loss caused by the user forgetting to lock the car and the car lock failure; in addition, after the car door is successfully locked, a reminder message can also be sent to the user to promptly remind the user that the car door has been successfully locked, so that the user can promptly understand the vehicle status.
[0020] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when the vehicle is in a parking state and the door state is a locked state, receiving a change instruction for the door state, the change instruction is used to control the door state from a locked state to an unlocked state; when it is determined that the vehicle lock is in a faulty state, an alarm is issued for the vehicle lock fault, including: when it is determined that the vehicle lock is in a faulty state, determining whether there is a passenger in the vehicle; when there is a passenger in the vehicle, sending a fifth prompt message to a terminal associated with the vehicle, the fifth prompt message is used to remind that there is someone in the vehicle and the vehicle lock cannot be opened due to a fault; when there is no passenger in the vehicle, sending a sixth prompt message to the terminal associated with the vehicle, the sixth prompt message is used to remind that there is no one in the vehicle and the vehicle lock cannot be opened due to a fault.
[0021] In the above technical scheme, for the situation that the vehicle is in the parked state, the doors are locked, there are people in the car but the locks cannot be opened due to a fault, an early warning can be given that the doors cannot be opened, so as to avoid threatening the personal safety of passengers; and for the situation that the vehicle is in the parked state, the doors are locked, there is no one in the car but the locks cannot be opened due to a fault, an early warning can be given that the doors cannot be opened. In the scenario where the user is in urgent need of the vehicle, the early warning can enable the user to understand the vehicle situation without arriving at the vehicle, thereby changing the travel mode in time.
[0022] In a second aspect, a device for determining a vehicle lock state is provided, the device comprising: an acquisition module, for acquiring a signal change result of a position signal corresponding to a target switch in response to a change instruction for a vehicle door state, the vehicle door state comprising an unlocked state or a locked state, the target switch being a component in the vehicle lock for controlling the change of the vehicle door state, the position signal comprising a disconnect signal or a connect signal; a determination module, for determining that the vehicle lock is in a fault state when the signal change result indicates that the position signal has not changed; and an alarm module, for alarming the vehicle lock fault when it is determined that the vehicle lock is in a fault state.
[0023] In combination with the second aspect, in some possible implementations, the acquisition module is also used to: in response to the change instruction of the vehicle door state, obtain the signal change result of the position signal corresponding to the target switch within the target time period; the determination module is also used to: when the signal change result indicates that the position signal has not changed within the target time period, determine that the vehicle lock is in the fault state.
[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is also used to: when the signal change result indicates that the position signal has not changed within the target time period, resend the change instruction N times, where N is a positive integer; when the position signal has not changed under N times of the change instruction, determine that the vehicle lock is in the fault state.
[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the acquisition module is also used to: obtain the vehicle state of the target vehicle in response to the change instruction of the door state; when the vehicle state indicates that the door state is allowed to be changed, obtain the signal change result of the position signal corresponding to the target switch.
[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the alarm module is also used to: when it is determined that the vehicle lock is in the fault state, send a first prompt message to the terminal associated with the vehicle, and the first prompt message is used to remind that the vehicle lock is faulty; when it is determined that the vehicle lock is in the faulty state, send a second prompt message to the fault repair platform associated with the vehicle, and the second prompt message is used to remind that there is a need for fault repair of the vehicle lock.
[0027] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: an acquisition module, which is used to obtain the door state of the vehicle when the vehicle is in a parking state and there are no passengers in the vehicle; a sending module, which is used to send the change instruction of the door state when the door state is the unlocked state and the door is in a fully closed state, and the change instruction is used to control the door state from the unlocked state to the locked state.
[0028] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the alarm module is also used to: when it is determined that the vehicle lock is in the fault state, send a third prompt message to the terminal associated with the vehicle, and the third prompt message is used to remind that there is no one in the vehicle and the vehicle lock cannot be closed due to a fault; the device also includes: a determination module, which is used to determine that the door state has changed from the unlocked state to the locked state when the signal change result indicates that the position signal has changed and is consistent with the signal change result corresponding to the locked state; a sending module, which is used to send a fourth prompt message to the terminal associated with the vehicle when it is determined that the door state has changed to the locked state, and the fourth prompt message is used to remind that the door is locked.
[0029] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: a receiving module, which is used to receive a change instruction for the door state when the vehicle is in a parking state and the door state is a locked state, and the change instruction is used to control the door state from a locked state to an unlocked state; an alarm module 803, which is also used to: when it is determined that the vehicle lock is in a faulty state, determine whether there is a passenger in the vehicle; when there is a passenger in the vehicle, send a fifth prompt message to a terminal associated with the vehicle, and the fifth prompt message is used to remind that there is someone in the vehicle and the vehicle lock cannot be opened due to a fault; when there is no passenger in the vehicle, send a sixth prompt message to the terminal associated with the vehicle, and the sixth prompt message is used to remind that there is no one in the vehicle and the vehicle lock cannot be opened due to a fault.
[0030] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in any possible implementation of the above aspects.
[0031] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the above aspects.
[0032] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes a method in any possible implementation of the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 is a schematic flow chart of a method for determining a vehicle lock state provided in an embodiment of the present application;
[0034] Figure 2 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application;
[0035] Figure 3 It is a schematic diagram of a vehicle lock fault alarm strategy provided by an embodiment of the present application;
[0036] Figure 4 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application;
[0037] Figure 5 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application;
[0038] Figure 6 It is a schematic diagram of the process of controlling the locking of the entire vehicle provided in an embodiment of the present application;
[0039] Figure 7 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application;
[0040] Figure 8 It is a structural schematic diagram of a vehicle lock state determination device provided in an embodiment of the present application;
[0041] Fig. 9 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0043] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0044] Figure 1 1 is a schematic flow chart of a method for determining a vehicle lock state provided in an embodiment of the present application. The method is applied in a vehicle.
[0045] For example, Figure 1 As shown, the method 100 includes:
[0046] Step 101, in response to a door state change instruction, obtain a signal change result of a position signal corresponding to a target switch, the door state includes an unlocked state or a locked state, the target switch is a component in the vehicle lock for controlling the door state change, and the position signal includes a disconnect signal or a connect signal.
[0047] The door state change instruction may be a door unlock instruction, which is used to control the door to be electrically unlocked. After the instruction is executed, the door state changes from a locked state to an unlocked state; the change instruction may also be a door lock instruction, which is used to control the door to be electrically locked. After the instruction is executed, the door state changes from an unlocked state to a locked state. Optionally, in the unlocked state, other users can open the door from outside the vehicle; in the locked state, other users cannot open the door from outside the vehicle.
[0048] Optionally, the unlocking instruction may be generated by: generating a door unlocking instruction in response to a touch operation on an outer door handle switch; or generating a door unlocking instruction in response to a trigger operation on an inner door handle; a locking instruction may be generated in two scenarios: one is that the vehicle is in parking mode and there is no user in the vehicle, and the body domain controller may generate a door locking instruction; the other is that the vehicle is in driving state, and the body domain controller may generate a door locking instruction.
[0049] Taking the electric unlocking process as an example, the user activates the electric unlocking command (unlocking command) by pressing the outer handle switch or touching the inside of the handle. After receiving the electric unlocking command, the door module drives the motor for 200ms. After completion, it cuts off the power and shorts the motor pins for 200ms. Then it determines whether the ratchet switch is connected. If not, it will be electrically unlocked and powered on in reverse for 200ms. If connected, it will continue to determine whether the door status switch is connected. If it is connected within 8 seconds, it means that the electrolysis is successful, and the power is reversed to drive the electrolysis for 200ms.
[0050] In the process of electric unlocking or electric locking of the door, it is mainly realized by turning on and off the target switch connected to the door, and the target switch may include a pawl switch and a ratchet switch. Specifically, in the process of electric locking of the door, the door controller may control the pawl switch to be in an off state, the door state switch to be in an off state, and the ratchet switch to be in an off state, so as to complete the process of locking the door. The process of electric unlocking of the door is opposite to the process of electric locking. The door controller may control the pawl switch to be in an on state, the door state switch to be in an on state, and the ratchet switch to be in an on state, so as to complete the process of unlocking the door. That is to say, after receiving the change instruction of the door state, the position signal of the target switch used to control the change of the door state in the car lock will change accordingly. For example, in the process of unlocking the door, the pawl switch will change from an off state to an on state, and the corresponding position signal will change to an on signal; in the process of locking the door, the pawl switch will change from an on state to an off state, and the corresponding position signal will change to an off signal.
[0051] Based on the above relationship between the position signal changes of the target switch during locking and unlocking, in order to timely sense the lock state of the vehicle lock, this embodiment proposes a method of determining whether the vehicle lock can work normally according to the signal change result of the position signal corresponding to the target switch. In a possible implementation, after the door controller receives the door state change instruction (unlock instruction or lock instruction), the vehicle can obtain the signal change result of the position signal corresponding to the target switch in the vehicle lock, and then determine the working state of the vehicle lock (fault state or normal state) based on the signal change result.
[0052] Step 102: When the signal change result indicates that the position signal has not changed, it is determined that the vehicle lock is in a fault state.
[0053] Since the position signal of the target switch changes in the unlocked state or locked state, for example, from an off signal to an on signal. If the position signal does not change, the vehicle lock may be faulty and cannot be unlocked or locked. Therefore, in a possible implementation, when the vehicle determines that the signal change result indicates that the position signal has not changed, it can be determined that the vehicle lock is in a faulty state.
[0054] On the contrary, when the vehicle determines that the signal change result indicates that the position signal has changed and is consistent with the signal change indicated by the change instruction, it can be determined that the vehicle lock is in a normal state.
[0055] Step 103: When it is determined that the vehicle lock is in a faulty state, an alarm is issued for the vehicle lock fault.
[0056] In the process of locking the car door, if the user locks the car door remotely or does not check whether the car door is locked successfully after locking it, in the case of a car lock failure, the failure of the car door to lock may threaten the safety of the user's life and property. Therefore, in order to remind the user of the car lock status in time, when the vehicle determines that the car lock is in a faulty state, an alarm is issued for the car lock failure to remind the user of the car lock failure in time.
[0057] Optionally, the warning method can be through sending a text message, a voice reminder, or a light reminder. For example, if the lock of the left door fails, the left door light can flash twice to remind you.
[0058] Optionally, when an alarm is issued for a lock failure, the location of the faulty lock can also be clearly indicated to the user, for example, the lock of the left door is faulty, or the lock of the right door is faulty, or both the locks of the left door and the right door are faulty.
[0059] In summary, the present application proposes a method for determining a car lock failure: by analyzing the signal change results of the position signal corresponding to the target switch in the car lock during the change of the door state, so as to timely sense whether the car lock is in a faulty state according to the signal change results, and to be able to give a timely alarm when the car lock is in a faulty state. By detecting the signal change results of the position signal to sense whether the car lock is faulty, automatic car lock fault detection can be achieved, avoiding the errors caused by manual detection of whether the car lock is faulty, and improving the accuracy of car lock fault detection. Moreover, it can also avoid vehicle safety issues caused by the user's failure to detect whether the door is locked successfully when the car lock is in a faulty state, thereby improving the safety of the vehicle during use.
[0060] Since the change process of the position signal corresponding to the target switch takes a certain amount of time during the process of unlocking or locking the vehicle door, in order to obtain a more accurate position signal change result, in a possible implementation, a target time period can be set in advance, and the final signal change result can be obtained within the target time period, so as to determine whether the vehicle lock is faulty based on the signal change result.
[0061] Figure 2 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application. It should be understood that the method can also be applied to a vehicle.
[0062] For example, Figure 2 As shown, the method 200 includes:
[0063] Step 201 , in response to a door state change instruction, obtain a signal change result of a position signal corresponding to a target switch within a target time period.
[0064] The accuracy of the obtained signal change result will affect the accuracy of the subsequent determination of whether the vehicle lock is faulty. In order to avoid accidental errors, for example, the position signal jump of the target switch occurs slowly. After a delay, the position signal jumps, but the signal change result is obtained before the position signal jumps. The corresponding wrong position signal change result will lead to the wrong determination of the vehicle lock failure. In order to improve the accuracy of the determined vehicle lock state, in a possible implementation, a target time period is preset. After the vehicle door receives the change instruction, the signal change result of the position signal corresponding to the target switch within the target time period can be obtained, so as to determine whether the vehicle lock is faulty according to whether the position signal jumps within the target time period.
[0065] Optionally, the target time period can be determined based on the time required for the process from receiving the change command to the door state changing under the normal state of the vehicle lock. Exemplarily, it takes 10 seconds from receiving the unlock command to unlocking the door, then the target time period is at least greater than or equal to 10 seconds.
[0066] Step 202: When the signal change result indicates that the position signal has not changed within the target time period, it is determined that the vehicle lock is in a fault state.
[0067] When a target time period is set, when the vehicle obtains the change results of the vehicle within the target time period, if the signal change result indicates that the position signal has not changed within the target time period, it indicates that the vehicle lock may be in a faulty state; conversely, if the signal change result indicates that the position signal has changed within the target time period, and the signal change result is consistent with the change result corresponding to the change instruction, it indicates that the vehicle lock is in a normal state.
[0068] In the case where the position signal does not jump, it may be that the vehicle lock fails, or the vehicle door does not respond to the change command (for example, there may be a problem in the command transmission process resulting in the failure to receive the change command this time). In order to more accurately determine the reason why the position signal does not jump and eliminate the transmission problem of the change command, multiple change commands may be sent to determine the vehicle lock state by combining multiple signal change results. The corresponding step 202 may also include step 202A and step 202B.
[0069] Step 202A: when the signal change result indicates that the position signal has not changed within the target time period, resend the change instruction N times, where N is a positive integer.
[0070] Step 202B: when the position signal does not change under N change instructions, it is determined that the vehicle lock is in a fault state.
[0071] After receiving the change command for the first time, if the signal change result means that the position signal does not change within the target time period, the change command is resent N times to exclude the situation where the position signal does not jump due to a problem in command transmission. Optionally, the value of N can be 1 or 3. That is, whether the vehicle lock is faulty is determined based on at least two (N+1) signal change results of the position signal corresponding to the change command.
[0072] Specifically, when the vehicle obtains N+1 change instructions and the signal change results of the target switch corresponding to the position signal, if the N+1 signal change results all indicate that the position signal has not changed or jumped, the transmission problem of the change instruction can be ruled out and it is determined that the vehicle lock is in a faulty state.
[0073] On the contrary, if the position signal changes under the N-th change instruction, it is determined that there may be an error in the first determination result, and it is determined that the vehicle lock is in a normal state.
[0074] Step 203: When it is determined that the vehicle lock is in a faulty state, a first prompt message is sent to a terminal associated with the vehicle, where the first prompt message is used to remind the vehicle lock of a fault.
[0075] Considering some remote locking scenarios, a car lock failure poses a greater threat to vehicle safety. In order to promptly remind the user of a car lock failure, when the vehicle determines that the car lock is in a faulty state, a first prompt message can be sent to a terminal associated with the vehicle in a timely manner to remind the user of the car lock failure and avoid property loss on the vehicle.
[0076] Step 204, when it is determined that the vehicle lock is in a fault state, a second prompt message is sent to a fault repair platform associated with the vehicle, and the second prompt message is used to remind that there is a need for fault repair of the vehicle lock.
[0077] Furthermore, in order to provide more intelligent services to vehicle users, when it is determined that the vehicle lock is in a faulty state, a second prompt message can be sent to a fault repair platform associated with the vehicle to remind the user that the vehicle lock needs to be repaired, so that maintenance personnel can provide repair services for the vehicle in a timely manner, providing more convenient vehicle after-sales services.
[0078] Figure 3 Schematic diagram of the vehicle lock fault warning strategy provided by the embodiment of the present application. Figure 3 After the vehicle receives and executes the electric unlock command (unlock command) or the electric lock command (lock command), if no position signal jump is detected, the vehicle lock is determined to be faulty and the door lock fault is reported; the user terminal APP is notified of the door lock fault and needs to be repaired; at the same time, the door lock fault information is sent to the maintenance platform so that it can contact the user for repair in time.
[0079] Optionally, when sending the second prompt message to the fault repair platform, the signal change result obtained by the vehicle can also be fed back to the maintenance personnel, so that the maintenance personnel can understand the cause of the vehicle failure more quickly and provide more convenient vehicle maintenance services.
[0080] In this embodiment, by setting a target time period and determining whether the vehicle lock is faulty based on the signal change results within the target time period, the accuracy of the vehicle lock fault determination is improved; moreover, by sending change instructions multiple times, the situation where the position signal does not jump due to instruction transmission problems is eliminated, thereby further improving the accuracy of the vehicle lock fault determination; in addition, when it is determined that the vehicle lock is faulty, a prompt message can be sent to the terminal associated with the vehicle, thereby avoiding the problem that the user cannot perceive whether the vehicle lock is normal in the remote vehicle locking scenario; moreover, by feeding back the vehicle lock fault message to the fault maintenance platform, a more intelligent and convenient vehicle maintenance service can be provided to the user.
[0081] In some scenarios, the door will not affect the vehicle unlocking command. For example, when the vehicle is in high-speed driving, in order to ensure the safety of passengers and prevent users from accidentally unlocking the door, it is set that during high-speed driving, even if the door unlocking command is received, it will not be affected. Correspondingly, after receiving the unlocking command, the position signal will not send a jump. In order to avoid being judged as a vehicle lock failure in this scenario, this embodiment limits the timing of obtaining the signal change result.
[0082] Figure 4 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application. It should be understood that the method can also be applied to a vehicle.
[0083] For example, Figure 4 As shown, the method 400 includes:
[0084] Step 401 , in response to a door state change instruction, obtaining a vehicle state of a target vehicle.
[0085] In some scenarios, the door controller may not respond to unlocking commands or locking commands. For example, when the vehicle is in a high-speed driving state, for the safety of the passengers, it does not respond to unlocking commands; when the vehicle is in a parking state (or parking mode) and there are passengers in the vehicle, it may not respond to vehicle locking commands, etc. In order to avoid misidentification of vehicle lock failure due to failure to respond to change commands in the above special scenarios, in a possible implementation, when the door controller receives a door status change command, it can obtain the vehicle status of the target vehicle, so as to determine whether it will respond to the change command based on the vehicle status, and in the case of responding to the change command, determine whether the vehicle lock is faulty based on the signal change result of the acquired position signal.
[0086] Optionally, the vehicle status may include a driving status, a parking status, a status of the vehicle's surrounding environment, a status of passengers inside the vehicle, etc., which is not limited in this embodiment.
[0087] The acquisition method for the above vehicle status may include the following acquisition methods:
[0088] (1) Obtain the driving state and parking state of the vehicle through the speed sensor. Specifically, if the real-time speed of the vehicle is greater than the speed threshold according to the data collected by the speed sensor, it means that the vehicle is in the driving state; if the real-time speed is less than the speed threshold, it means that the vehicle is in the parking state. For example, the speed threshold may be 5 km / h.
[0089] (2) Obtain the state of the vehicle's surrounding environment through body sensors. For example, the temperature outside the vehicle can be detected through a temperature sensor; the vehicle's environment can be detected through a camera, etc.
[0090] (3) Obtaining the status of passengers inside the vehicle through the vehicle's internal components. For example, the camera inside the vehicle can be used to collect image information inside the vehicle to determine whether there are passengers inside the vehicle; the seat bearing pressure can also be obtained to determine whether there are passengers in the vehicle.
[0091] Step 402 , when the vehicle state indicates that the door state is allowed to be changed, a signal change result of a position signal corresponding to the target switch is obtained.
[0092] In order to eliminate the situation where the door controller does not respond to the change command, in one possible implementation, the vehicle determines, based on the vehicle state, that the vehicle state indicates that the door state can be changed, which means that after the door controller responds to the change command, it obtains the signal change result of the position signal corresponding to the target switch.
[0093] On the contrary, if the vehicle status indicates that the door status is not allowed to be changed, it means that the door controller will not respond to the change instruction, and the position signal will not jump. Correspondingly, it is impossible to determine whether the vehicle lock is faulty based on the signal change result of the position signal.
[0094] Step 403: When the signal change result indicates that the position signal has not changed, it is determined that the vehicle lock is in a fault state.
[0095] Step 404: When it is determined that the vehicle lock is in a faulty state, an alarm is issued for the vehicle lock fault.
[0096] The implementation of step 403 and step 404 can refer to the above embodiment, and this embodiment will not be described in detail here.
[0097] In this embodiment, when receiving a change instruction for the door state, the vehicle state of the vehicle is obtained to analyze whether the change instruction can be responded to under the current vehicle state, and if the change instruction can be responded to, whether the vehicle lock is faulty is determined according to the signal change result of the acquired position signal. The situation where the position signal does not jump due to the failure to respond to the change instruction can be avoided, thereby improving the accuracy of the determination of the vehicle lock fault.
[0098] In one possible application scenario, when the vehicle is parked and no one is in the vehicle, if the door controller receives a lock command, but the door is not locked due to a lock failure, it may seriously threaten the vehicle safety. In this case, a targeted alarm method needs to be set.
[0099] Figure 5 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application. It should be understood that the method can also be applied to a vehicle.
[0100] For example, Figure 5 As shown, the method 500 includes:
[0101] Step 501, when the vehicle is in a parked state and there is no passenger in the vehicle, obtain the door state of the vehicle.
[0102] For scenarios where the vehicle is parked, no one is in the vehicle and the doors are unlocked, if the doors are unlocked for a long time, it may threaten the safety of the vehicle. In order to lock the vehicle in time, when it is detected that the vehicle is parked and there are no passengers in the vehicle, the door status of the vehicle can be obtained to determine whether a locking command needs to be executed.
[0103] Step 502, when the door state is unlocked and the door is in a fully closed state, a door state change instruction is sent, where the door state change instruction is used to control the door state to change from an unlocked state to a locked state.
[0104] When it is determined that the door state is unlocked and the door is in a completely closed state, a door state change instruction, specifically a locking instruction, may be sent to control the door to be locked, and the door state changes from an unlocked state to a locked state.
[0105] Optionally, the door state change instruction may be automatically triggered and sent by the vehicle, or may be sent through a vehicle application control on a terminal associated with the vehicle, or may be sent through a vehicle key remote control. This embodiment does not constitute a limitation to this.
[0106] Optionally, if the door is in unlocked state and half-open or fully open state, the electric lock cannot be executed. The user needs to manually close the door before the locking command can be executed. A prompt message can be sent to the terminal associated with the vehicle to remind the user that he forgot to close the door.
[0107] In other possible scenarios, if the user leaves the vehicle for a short time without locking the door, if the door is locked, the user may not be able to continue using the vehicle due to not carrying the key or mobile phone, affecting the normal use of the vehicle. Before sending the door status change instruction, the time when the user left the vehicle should also be obtained. If the time is greater than the time threshold, the change instruction is sent to lock the door; otherwise, if the time is less than the time threshold, the door is not locked.
[0108] Optionally, the vehicle can also obtain whether there is a key inside the vehicle when it is determined that the vehicle is in a parked state, there is no one in the vehicle, and the doors are not locked. If the key is in the vehicle, the door is controlled to be locked to avoid loss of the key.
[0109] Figure 6 Schematic diagram of the process of controlling the locking of the whole vehicle provided by the embodiment of the present application. Figure 6 When the vehicle is parked, no one is in the vehicle, the doors are closed and the key is in the vehicle, CEM sends a vehicle lock command (lock command), controls the entire vehicle to lock (lock the doors), and notifies the user of the vehicle lock through the APP.
[0110] Step 503, in response to the door state change instruction, obtain the signal change result of the position signal corresponding to the target switch, the door state includes an unlocked state or a locked state, the target switch is a component in the vehicle lock for controlling the door state change, and the position signal includes a disconnect signal or a connected signal.
[0111] Step 504: When the signal change result indicates that the position signal has not changed, it is determined that the vehicle lock is in a fault state.
[0112] The implementation of step 503 and step 504 can refer to the above embodiment, and this embodiment will not be described in detail here.
[0113] Step 505, when it is determined that the vehicle lock is in a faulty state, a third prompt message is sent to a terminal associated with the vehicle, and the third prompt message is used to remind that no one is in the vehicle and the vehicle lock cannot be closed due to a fault.
[0114] During the remote locking process when the vehicle is parked and there is no one in the car, if it is detected that the car lock is in a faulty state, in order to ensure the safety of the vehicle, a third prompt message can be sent to the terminal associated with the vehicle to remind the user that there is no one in the car and the car lock cannot be closed due to a fault.
[0115] Step 506 , when the signal change result indicates that the position signal has changed and is consistent with the signal change result corresponding to the locked state, it is determined that the door state has changed from the unlocked state to the locked state.
[0116] On the contrary, if the signal change result indicates that the position signal has changed, and is consistent with the signal change result corresponding to the locked state, it means that the door lock is locked successfully, and the door state changes from the unlocked state to the locked state.
[0117] Step 507: When it is determined that the door state has changed to the locked state, a fourth prompt message is sent to a terminal associated with the vehicle, where the fourth prompt message is used to remind that the door is locked.
[0118] Since the user is not inside the vehicle in this scenario, in order to enable the user to know the door locking information in a timely manner, in one possible implementation, when the vehicle determines that the door state has become locked, a fourth prompt message can be sent to a terminal associated with the vehicle, and the fourth prompt message is used to remind the user that the door is locked.
[0119] Optionally, considering that the vehicle has a power-on initialization process after the vehicle is powered off, after the vehicle is powered on again, the door module energizes the motor reset frequency angle. If the current collected is less than the threshold (current threshold 100mA) within 300ms, the electric start motor is short-circuited for 200ms. If the current is not less than the threshold within 300ms, the electric start motor is short-circuited for 200ms, and an electrolytic reset fault is reported.
[0120] In this embodiment, for the scenario where the vehicle is parked, no one is in the vehicle, and the doors are unlocked, the vehicle can be locked to avoid loss of money in the vehicle; in addition, if the vehicle fails to be locked due to a lock failure in this scenario, it is also necessary to promptly remind the user that the doors are unlocked and the lock is faulty, so as to remind the user to return to the vehicle in time to avoid greater property loss.
[0121] When the vehicle is parked and the doors are locked, if the lock fails, the doors cannot be opened from inside or outside the vehicle regardless of whether there are passengers in the vehicle. If there are passengers in the vehicle, the lock fails and the doors cannot be opened. If the passengers are in the vehicle for a long time, their personal safety may be threatened. Therefore, targeted warning methods need to be set for this scenario.
[0122] Figure 7 is a schematic flow chart of another method for determining a vehicle lock state provided in an embodiment of the present application. It should be understood that the method can also be applied to a vehicle.
[0123] For example, Figure 7 As shown, the method 700 includes:
[0124] Step 701, when the vehicle is in a parking state and the door state is in a locked state, receiving a door state change instruction, the change instruction is used to control the door state to change from a locked state to an unlocked state.
[0125] In the scenario where the vehicle is parked and the door is locked, if the car lock fails, the door cannot be opened from inside or outside the car regardless of whether there are passengers in the car; and for passengers in the car, if the door cannot be opened for a long time, the passengers may be trapped in the car for a long time, which may threaten the personal safety of the passengers; or for users who are in urgent need of the car, they need to be next to the car and manually operate to determine that the door cannot be opened, resulting in the user being unable to use the car in time. In response to the problems caused by the above scenarios, this embodiment can solve or improve the above problems by setting corresponding car lock failure warning methods. Correspondingly, when the vehicle is parked and the door state is locked, after receiving the door state change instruction, that is, controlling the door state from locked to unlocked, it is necessary to perform subsequent detection and alarm steps to determine whether the car lock is faulty.
[0126] Optionally, the change instruction may be triggered by a user remotely through a vehicle key or terminal; the change instruction may also be triggered by a user through a handle inside the vehicle; the change instruction may also be triggered by a user through a handle outside the vehicle, and this embodiment does not constitute a limitation on this.
[0127] Step 702 : In response to the door state change instruction, a signal change result of a position signal corresponding to a target switch is obtained.
[0128] Step 703: When the signal change result indicates that the position signal has not changed, it is determined that the vehicle lock is in a fault state.
[0129] The implementation of step 702 and step 703 can refer to the above embodiment, and this embodiment will not be repeated here.
[0130] Step 704: When it is determined that the vehicle lock is in a faulty state, determine whether there is a passenger in the vehicle.
[0131] When it is determined that the lock is in a faulty state and cannot be opened, the intensity of the alarm or the specific alarm information can be further determined according to whether there are passengers in the vehicle. Correspondingly, when it is determined that the lock is in a faulty state, the vehicle can also select different lock fault warning information by identifying whether there are passengers in the vehicle and then determining whether there are passengers.
[0132] Step 705: When there is a passenger in the vehicle, a fifth prompt message is sent to a terminal associated with the vehicle. The fifth prompt message is used to remind that there is someone in the vehicle and the vehicle lock is faulty and cannot be opened.
[0133] In the case where the door is locked and cannot be opened, and there are passengers in the vehicle, if the door cannot be opened for a long time, it may threaten the personal safety of the passengers, especially when the passengers are minors. In order to avoid this situation, when it is determined that there are passengers in the vehicle and the door lock cannot be opened due to a fault, the vehicle needs to send a fifth prompt message to the terminal associated with it in a timely manner. The fifth prompt message is used to remind the user that there are people in the vehicle and the door lock cannot be opened due to a fault, so as to remind the user of the dangerous scene in a timely manner.
[0134] Step 706, when there is no passenger in the vehicle, a sixth prompt message is sent to a terminal associated with the vehicle, the sixth prompt message being used to remind that there is no one in the vehicle and the vehicle lock is faulty and cannot be opened.
[0135] If the door is locked and cannot be opened, and there is no passenger in the vehicle, it indicates that the user may be remotely unlocking the vehicle and the user has not yet arrived at the location of the vehicle. In order to promptly remind the user that the door may be temporarily unable to be opened, the vehicle needs to send a sixth prompt message to the terminal associated with it in a timely manner when it is determined that there is no passenger in the vehicle and the lock cannot be opened due to a fault. This is to warn the user in time that the door cannot be opened. For scenarios where users need to use the vehicle, early warning allows users to understand the vehicle situation in advance before arriving at the vehicle, so as to change travel methods in advance.
[0136] In this embodiment, for the situation where the vehicle is in the parked state, the doors are locked, there are people in the car but the locks cannot be opened due to a malfunction, an early warning can be given that the doors cannot be opened, so as to avoid threatening the personal safety of passengers; and for the situation where the vehicle is in the parked state, the doors are locked, there is no one in the car but the locks cannot be opened due to a malfunction, an early warning can be given that the doors cannot be opened. In the scenario where the user is in urgent need of the vehicle, the early warning can enable the user to understand the vehicle situation without arriving at the vehicle, thereby changing the travel mode in time.
[0137] Figure 8 It is a structural schematic diagram of a vehicle lock status determination device provided in an embodiment of the present application.
[0138] For example, Figure 8 As shown, the device 800 includes:
[0139] An acquisition module 801 is used to obtain a signal change result of a position signal corresponding to a target switch in response to a door state change instruction, wherein the door state includes an unlocked state or a locked state, the target switch is a component in the vehicle lock for controlling the door state change, and the position signal includes a disconnection signal or a connection signal;
[0140] A determination module 802 is used to determine that the vehicle lock is in a fault state when the signal change result indicates that the position signal has not changed;
[0141] The alarm module 803 is used to alarm the vehicle lock failure when it is determined that the vehicle lock is in a fault state.
[0142] In one possible implementation, the acquisition module 801 is further used to: in response to the change instruction of the door state, obtain the signal change result of the position signal of the target switch corresponding to the target time period; the determination module 802 is further used to: when the signal change result indicates that the position signal has not changed within the target time period, determine that the vehicle lock is in the fault state.
[0143] In one possible implementation, the determination module 802 is also used to: when the signal change result indicates that the position signal has not changed within the target time period, resend the change instruction N times, where N is a positive integer; when the position signal has not changed after N times of the change instruction, determine that the vehicle lock is in the fault state.
[0144] In one possible implementation, the acquisition module 801 is further used to: acquire the vehicle state of the target vehicle in response to the change instruction of the door state; and when the vehicle state indicates that the door state is allowed to be changed, acquire the signal change result of the position signal corresponding to the target switch.
[0145] In one possible implementation, the alarm module 803 is also used to: when it is determined that the vehicle lock is in the fault state, send a first prompt message to the terminal associated with the vehicle, and the first prompt message is used to remind that the vehicle lock is faulty; when it is determined that the vehicle lock is in the faulty state, send a second prompt message to the fault repair platform associated with the vehicle, and the second prompt message is used to remind that there is a need for fault repair of the vehicle lock.
[0146] In one possible implementation, the device also includes: an acquisition module, which is used to acquire the door state of the vehicle when the vehicle is in a parking state and there are no passengers in the vehicle; a sending module, which is used to send the change instruction of the door state when the door state is the unlocked state and the door is in a fully closed state, and the change instruction is used to control the door state to change from the unlocked state to the locked state.
[0147] In one possible implementation, the alarm module 803 is also used to: when it is determined that the vehicle lock is in the fault state, send a third prompt message to the terminal associated with the vehicle, and the third prompt message is used to remind that there is no one in the vehicle and the vehicle lock cannot be closed due to a fault; the device also includes: a determination module, which is used to determine that the door state has changed from the unlocked state to the locked state when the signal change result indicates that the position signal has changed and is consistent with the signal change result corresponding to the locked state; a sending module, which is used to send a fourth prompt message to the terminal associated with the vehicle when it is determined that the door state has changed to the locked state, and the fourth prompt message is used to remind that the door is locked.
[0148] In one possible implementation, the device also includes: a receiving module, which is used to receive a change instruction for the door state when the vehicle is in a parking state and the door state is a locked state, and the change instruction is used to control the door state from a locked state to an unlocked state; an alarm module 803, which is also used to: when it is determined that the door lock is in a faulty state, determine whether there is a passenger in the vehicle; when there is a passenger in the vehicle, send a fifth prompt message to a terminal associated with the vehicle, and the fifth prompt message is used to remind that there is someone in the vehicle and the door lock cannot be opened due to a fault; when there is no passenger in the vehicle, send a sixth prompt message to the terminal associated with the vehicle, and the sixth prompt message is used to remind that there is no one in the vehicle and the door lock cannot be opened due to a fault.
[0149] Figure 8 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0150] For example, Figure 8 As shown, the vehicle 800 includes: a memory 801 and a processor 802, wherein the memory 801 stores an executable program code 803, and the processor 802 is used to call and execute the executable program code 803 to perform a method for determining a vehicle lock state.
[0151] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for determining a vehicle lock status provided in an embodiment of the present application.
[0152] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0153] In the case of dividing each functional module according to each function, the device may also include a first acquisition module, an acquisition module and a first control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0154] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for determining the vehicle lock state, and thus can achieve the same effect as the above-mentioned implementation method.
[0155] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing mutual program codes, etc.
[0156] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits disclosed in the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0157] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for determining the vehicle lock status provided in the above embodiment.
[0158] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a method for determining a vehicle lock state provided in the above embodiment.
[0159] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for determining a vehicle lock state provided in the above embodiment.
[0160] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0161] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0162] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0163] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the 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.
Claims
1. A method for determining a vehicle lock state, characterized in that: The method comprises: In response to a door state change instruction, obtaining a signal change result of a position signal corresponding to a target switch, wherein the door state includes an unlocked state or a locked state, the target switch is a component in a vehicle lock for controlling the door state change, and the position signal includes an off signal or an on signal; When the signal change result indicates that the position signal has not changed, determining that the vehicle lock is in a fault state; When it is determined that the vehicle lock is in a faulty state, an alarm is issued for the vehicle lock fault.
2. The method according to claim 1, characterized in that The step of obtaining a signal change result of a position signal corresponding to a target switch in response to a door state change instruction includes: In response to the change instruction for the door state, obtaining the signal change result of the position signal corresponding to the target switch within a target time period; When the signal change result indicates that the position signal has not changed, determining that the vehicle lock is in a fault state includes: When the signal change result indicates that the position signal does not change within the target time period, it is determined that the vehicle lock is in the fault state.
3. The method according to claim 2, characterized in that When the signal change result indicates that the position signal has not changed within the target time period, determining that the vehicle lock is in the fault state includes: When the signal change result indicates that the position signal has not changed within the target time period, resending the change instruction N times, where N is a positive integer; When the position signal does not change under N times of the change instructions, it is determined that the vehicle lock is in the fault state.
4. The method according to any one of claims 1 to 3, characterized in that: The step of obtaining a signal change result of a position signal corresponding to a target switch in response to a door state change instruction includes: acquiring a vehicle state of a target vehicle in response to the change instruction for the door state; When the vehicle state indicates that the door state is allowed to be changed, the signal change result of the target switch corresponding to the position signal is obtained.
5. The method according to any one of claims 1 to 3, characterized in that: When it is determined that the vehicle lock is in a faulty state, giving an alarm for the vehicle lock fault includes at least one of the following: When it is determined that the vehicle lock is in the fault state, sending a first prompt message to a terminal associated with the vehicle, wherein the first prompt message is used to remind the vehicle lock of the fault; When it is determined that the vehicle lock is in the fault state, a second prompt message is sent to a fault repair platform associated with the vehicle, where the second prompt message is used to remind the vehicle lock that a fault repair is required.
6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the vehicle is in a parking state and there is no passenger in the vehicle, obtaining the door state of the vehicle; When the door state is the unlocked state and the door is in a fully closed state, the change instruction for the door state is sent, and the change instruction is used to control the door state to change from the unlocked state to the locked state.
7. The method according to claim 6, characterized in that When determining that the vehicle lock is in a fault state, giving an alarm for the vehicle lock fault includes: When it is determined that the vehicle lock is in the fault state, a third prompt message is sent to a terminal associated with the vehicle, wherein the third prompt message is used to remind that no one is in the vehicle and the vehicle lock is faulty and cannot be closed; The method further comprises: When the signal change result indicates that the position signal changes and is consistent with the signal change result corresponding to the locked state, determining that the door state changes from the unlocked state to the locked state; When it is determined that the door state has changed to the locked state, a fourth prompt message is sent to the terminal associated with the vehicle, where the fourth prompt message is used to remind that the door is locked.
8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the vehicle is in a parking state and the door state is the locked state, receiving a change instruction for the door state, the change instruction is used to control the door state to change from the locked state to the unlocked state; When determining that the vehicle lock is in a fault state, giving an alarm for the vehicle lock fault includes: In the case where it is determined that the vehicle lock is in the fault state, determining whether there is a passenger in the vehicle; In the case where the passenger is inside the vehicle, sending a fifth prompt message to a terminal associated with the vehicle, wherein the fifth prompt message is used to remind that there is someone in the vehicle and the vehicle lock is faulty and cannot be opened; In the case that the passenger does not exist in the vehicle, a sixth prompt message is sent to the terminal associated with the vehicle, wherein the sixth prompt message is used to remind that there is no one in the vehicle and the vehicle lock is faulty and cannot be opened.
9. A device for determining a vehicle lock state, characterized in that: The device comprises: an acquisition module, configured to acquire a signal change result of a position signal corresponding to a target switch in response to a change instruction of a door state, wherein the door state includes an unlocked state or a locked state, the target switch is a component in a vehicle lock for controlling the change of the door state, and the position signal includes a disconnection signal or a connection signal; A determination module, configured to determine that the vehicle lock is in a fault state when the signal change result indicates that the position signal has not changed; The alarm module is used to alarm the vehicle lock failure when it is determined that the vehicle lock is in a faulty state.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Electricdoor lock failure processing method and device
CN106320852A
Intelligent bicycle lock, control method of intelligent bicycle lock and intelligent bicycle
CN106760995A
Vehicle, vehicle door lock control method and system of vehicle, and storage medium
CN108238003A
Vehicle locking method and device
CN109398303A
Electronic lock control method, apparatus and device of vehicle, and vehicle
CN113787926A