Vehicle door lock control method and device, storage medium and control system
By monitoring the activity duration of the door lock reset contact block in real time and stopping its movement when the protection time is reached, the problem of the reset contact block is stuck and the stable control of the door lock is achieved.
Patent Information
- Application Number
- CN202510346234.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-07-25
AI Technical Summary
In the existing door lock control method, the reset contact block fails to reset after unlocking and locking, causing it to get stuck at the unlocking point or the locking point, resulting in the door being unable to be locked or unlocked.
By real-time acquisition of the active duration of the reset contact block from the first position to the second position, and control the reset contact block to stop when the active duration reaches the reset protection time. The reset protection time is the standard duration of the reset contact block from the first position to the reset position, and the reset position is located between the first and the second positions.
Timely prevent the reset contact block from getting stuck in the second position, ensure the normal operation of the door lock, and avoid the risk of stuck due to failure of reset.
Smart Images

Figure CN120367476A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle door control, and particularly to a method, device, storage medium, and control system for controlling a vehicle door lock. Background Art
[0002] Currently, the door lock of a vehicle realizes locking and unlocking of the door by moving a reset contact block between an unlocking position and a latching position. The reset contact block needs to be reset after unlocking and latching. However, if the reset fails, the reset contact block will continue to move until it gets stuck at the unlocking position or the latching position, thereby causing the door to be unable to be locked or unlocked.
[0003] In view of the existing technical deficiencies, how to provide a more stable method for controlling a vehicle door lock is a technical problem that those skilled in the art urgently need to solve. Summary of the Invention
[0004] The present application provides at least one method, device, storage medium, and control system for controlling a vehicle door lock.
[0005] The present application provides a method for controlling a vehicle door lock. The method for controlling a vehicle door lock includes: obtaining in real time the active duration of the reset contact block moving from a first position to a second position, where one of the first position and the second position is the unlocking position of the vehicle door lock, and the other is the latching position of the vehicle door lock; in response to the active duration being greater than or equal to a reset protection duration, controlling the reset contact block to stop, where the reset protection duration is the standard duration for the reset contact block to move from the first position to the reset position, and the reset position is located between the first position and the second position.
[0006] In some embodiments, the first standard duration for the reset contact block to move from the unlocking position to the reset position is different from the second standard duration for the reset contact block to move from the latching position to the reset position.
[0007] In some embodiments, the first position is the unlocking position and the second position is the latching position. Before the step of obtaining in real time the active duration of the reset contact block moving from the first position to the second position, the method further includes: obtaining the first moving durations of the reset contact block moving from the first position to the reset position for multiple times; obtaining the first standard duration based on the maximum first moving duration among the multiple first moving durations.
[0008] In some embodiments, the step of obtaining the first standard duration based on the maximum first moving duration among the multiple first moving durations includes: multiplying the maximum first moving duration by a first preset coefficient to obtain the first standard duration; where the first preset coefficient is greater than 1.
[0009] In some embodiments, the first position is the locking point, and the second position is the unlocking point. Before the step of obtaining in real time the moving duration of the reset contact block from the first position to the second position, the method further includes: obtaining the second moving durations of the reset contact block moving from the first position to the reset position for multiple times; obtaining a second standard duration based on the maximum second moving duration among the multiple second moving durations.
[0010] In some embodiments, the step of obtaining a first standard duration based on the maximum first moving duration among the multiple second moving durations includes: multiplying the maximum second moving duration by a second preset coefficient to obtain a second standard duration; wherein, the second preset coefficient is greater than 1.
[0011] In some embodiments, before the step of obtaining in real time the moving duration of the reset contact block from the first position to the second position, the method further includes:
[0012] Controlling the reset contact block to move from the reset position to the first position.
[0013] The present application provides an electronic device, including a memory and a processor, and the processor is configured to execute program instructions stored in the memory to implement the above-mentioned vehicle door lock control method.
[0014] The present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a processor, the above-mentioned vehicle door lock control method is implemented.
[0015] The present application provides a vehicle door lock control system, the vehicle door lock control system includes a controller and a vehicle door lock, the vehicle door lock includes a reset contact block, and the controller is configured to control the vehicle door lock to execute the above-mentioned vehicle door lock control method.
[0016] In the above solution, by obtaining in real time the moving duration of the reset contact block from the first position to the second position, wherein one of the first position and the second position is the unlocking point of the vehicle door lock, and the other is the locking point of the vehicle door lock; in response to the moving duration being greater than or equal to the reset protection duration, controlling the reset contact block to stop, wherein the reset protection duration is the standard duration for the reset contact block to move from the first position to the reset position, and the reset position is located between the first position and the second position. Compared with the traditional vehicle door lock control method, in this solution, by controlling the reset contact block to stop in response to the moving duration being greater than or equal to the reset protection duration, the reset contact block with a reset failure can be stopped in time, and the risk that the reset contact block continues to move towards the second position and gets stuck at the second position after the reset failure is relieved in a timely and effective manner.
[0017] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application. Description of the Drawings
[0018] The accompanying drawings here are incorporated into the specification and form a part of this specification. These drawings illustrate embodiments consistent with the present application and, together with the specification, are used to explain the technical solutions of the present application.
[0019] Figure 1 is a schematic structural diagram of a door lock control system according to one or more embodiments of the present application;
[0020] Figure 2 is a schematic flowchart of a door lock control method according to one or more embodiments of the present application;
[0021] Figure 3 is a schematic diagram of the first state of a reset contact block according to one or more embodiments of the present application;
[0022] Figure 4 is a schematic diagram of the second state of a reset contact block according to one or more embodiments of the present application;
[0023] Figure 5 is a schematic structural diagram of an electronic device according to one or more embodiments of the present application;
[0024] Figure 6 is a schematic structural diagram of a computer-readable storage medium according to one or more embodiments of the present application.
[0025] Reference numerals: door lock control system 1; door lock 10; reset contact block 11; first position p1; second position p2; reset position p3; stop position p4; reset switch 20; controller 30; electronic device 40; memory 41; processor 42; computer-readable storage medium 50; program instructions 51. Detailed Embodiments
[0026] The following will describe the solutions of the embodiments of the present application in detail with reference to the accompanying drawings of the specification.
[0027] In the following description, specific details such as specific system structures, interfaces, and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the present application.
[0028] As used herein, the term "and / or" is merely a description of the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. Additionally, the character " / " in this text generally indicates that the associated objects before and after are in an "or" relationship. Furthermore, "multiple" in this text means two or more than two. Additionally, the term "at least one" in this text means any one of multiple or any combination of at least two of multiple. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set composed of A, B, and C.
[0029] Currently, the door lock of a vehicle realizes locking and unlocking of the door by moving a reset contact block between an unlocking position and a latching position. The reset contact block needs to be reset after unlocking and latching. However, if the reset fails, it will cause the reset contact block to continuously move until it gets stuck at the unlocking position or the latching position, thereby causing the door to be unable to be locked or unlocked.
[0030] In view of the existing technical deficiencies, how to provide a more stable door lock control method is a technical problem that those skilled in the art urgently need to solve.
[0031] This application provides a door lock control method and a door lock control system. The application scenarios of the door lock control method include but are not limited to the control of unlocking and latching of the door lock, etc. The execution subject of the door lock control method can be a door lock control system or a door lock control device, etc. In some possible implementation manners, the door lock control method can be implemented by a processor calling computer-readable instructions stored in a memory.
[0032] Please refer to Figure 1 , Figure 1 which is a schematic structural diagram of a door lock control system according to one or more embodiments of this application.
[0033] The door lock control system 1 provided in this application includes a controller 30 and a door lock 10. The door lock 10 includes but is not limited to a vehicle electric tailgate suction lock, etc. The door lock 10 includes a reset contact block 11. The reset contact block 11 is used to move between a first position p1 and a second position p2. One of the first position p1 and the second position p2 is the unlocking position of the door lock 10, and the other is the latching position of the door lock 10, so as to unlock or lock the door lock 10. The controller 30 is used to control the door lock 10 to execute the above-mentioned door lock control method.
[0034] Please refer to Figures 2 - 4 , Figure 2 which is a schematic flowchart of a door lock control method according to one or more embodiments of this application. Figure 3Schematic diagram of the first state of the reset contact block according to one or more embodiments of the present application; Figure 4 Schematic diagram of the second state of the reset contact block according to one or more embodiments of the present application.
[0035] Specifically, the door lock control method may include the following steps:
[0036] Step S11: Obtain in real time the active duration of the reset contact block moving from the first position to the second position, where one of the first position and the second position is the unlocking point of the door lock, and the other is the locking point of the door lock.
[0037] It can be understood that when the first position p1 is the unlocking point of the door lock 10, the second position p2 is the locking point of the door lock 10; when the first position p1 is the locking point of the door lock 10, the second position p2 is the unlocking point of the door lock 10. It should be noted that in the state where the reset contact block 11 is located at the unlocking point, the door lock 10 can be in the unlocked state, and in the state where the reset contact block 11 is located at the locking point, the door lock 10 can be in the locked state. In some application scenarios, the reset contact block 11 can change the locking state of the door lock 10 directly or indirectly. Exemplarily, in some implementation scenarios, the door lock 10 may include a locking portion. In the state where the reset contact block 11 is located at the unlocking point, the locking portion can receive an unlocking signal, so that the door lock 10 enters the unlocked state. In the state where the reset contact block 11 is located at the locking point, the locking portion can receive a locking signal, so that the door lock 10 enters the locked state, thereby facilitating the reset contact block 11 to change the locking state of the door lock 10.
[0038] It should be further noted that the active duration in step S11 specifically refers to the duration from the moment when the reset contact block 11 departs from the first position p1 to the second position p2 as the 0 time point to the current moment.
[0039] Step S12: In response to the active duration being greater than or equal to the reset protection duration, control the reset contact block to stop, where the reset protection duration is the standard duration for the reset contact block to move from the first position to the reset position, and the reset position is located between the first position and the second position.
[0040] The reset position p3 is located between the first position p1 and the second position p2. It should be noted that the reset position p3 refers to the position where the reset contact block 11 needs to return to and stop after departing from the first position p1 to the second position p2 when the door lock 10 is in normal working condition. In some application scenarios, exemplarily, a reset switch 20 is provided at the reset position p3. In the normal state, after the reset contact block 11 reaches the reset position p3 and contacts the reset switch 20, it stops moving. If the reset switch 20 fails, the reset contact block 11 will continue to move after reaching the reset position p3 and finally get stuck at the second position p2. If the second position p2 is the unlocking point, it will cause the door lock 10 to remain in the unlocked state and unable to be locked. If the second position p2 is the locking point, it will cause the door lock 10 to remain in the locked state and unable to be unlocked.
[0041] The reset protection duration is the standard duration. The standard duration can refer to the duration required for the reset contact block 11 to move from the first position p1 to the reset position p3 under a certain standard state. It can be understood that in a state where the active duration is greater than or equal to the standard duration, it can be considered that the reset contact block 11 has reached or passed the reset position p3. It should be noted that the standard duration can be the same or different in the two different states where the first position p1 is the unlocking point or the locking point of the door lock 10. Thus, in response to the active duration being greater than or equal to the reset protection duration, controlling the reset contact block 11 to stop can enable the reset contact block 11 to stop in time after reaching or passing the reset contact block 11, making the stop position p4 of the reset contact block 11 located between the reset position p3 and the second position p2, effectively alleviating the risk of the reset contact block 11 getting stuck at the second position p2, and the cost is relatively low.
[0042] In the above solution, by obtaining in real time the active duration of the reset contact block 11 moving from the first position p1 to the second position p2, where one of the first position p1 and the second position p2 is the unlocking point of the door lock 10 and the other is the locking point of the door lock 10; in response to the active duration being greater than or equal to the reset protection duration, controlling the reset contact block 11 to stop, where the reset protection duration is the standard duration for the reset contact block 11 to move from the first position p1 to the reset position p3, and the reset position p3 is located between the first position p1 and the second position p2. Compared with the traditional door lock control method, in this solution, by responding to the active duration being greater than or equal to the reset protection duration and controlling the reset contact block 11 to stop, it can timely stop the movement of the reset contact block 11 with a reset failure, and timely and effectively alleviate the risk that the reset contact block 11 continues to move towards the second position p2 after the reset failure and causes the reset contact block 11 to get stuck at the second position p2.
[0043] In some embodiments, the first standard duration for the reset contact block 11 to move from the unlocking position to the reset position p3 is different from the second standard duration for the reset contact block 11 to move from the latching position to the reset position p3. Exemplarily, the first standard duration may be greater than the second standard duration, or the second standard duration may be greater than the first standard duration. Specifically, taking the first standard duration being greater than the second standard duration as an example, when the moving speed of the reset contact block 11 is the same, the first standard duration is greater than the second standard duration, that is, the distance between the reset position p3 and the unlocking position is greater than the distance between the reset position p3 and the latching position, so that there is sufficient distance between the reset contact block 11 and the unlocking position, reducing the risk of accidental unlocking caused by the reset contact block 11 reaching the unlocking position due to accidental touch or vibration. At the same time, the distance between the reset contact block 11 and the latching position is shortened, facilitating reducing the time required for the vehicle door lock 10 to enter the locked state and improving the locking speed.
[0044] In some embodiments, the first position p1 is the unlocking position and the second position p2 is the latching position. Before step S11, the method further includes: obtaining the first moving durations of the reset contact block 11 moving from the first position p1 to the reset position p3 multiple times; obtaining the first standard duration based on the maximum first moving duration among the multiple first moving durations. The first moving duration refers to the duration consumed by the reset contact block 11 moving from the unlocking position to the reset position p3 in the normal working state of the vehicle door lock 10. When obtaining the multiple first moving durations, it should be noted that the duration consumed by the reset contact block 11 moving from the first position p1 to the reset position p3 each time may be the same or different, and different working conditions will affect the length of the first moving duration. For example, when the vehicle is in different slope states, the vehicle door lock 10 is in different temperature states, the voltage provided by the vehicle for the vehicle door lock 10 is different, etc., all of which will cause the first moving duration to be affected to different degrees. Obtaining the first moving durations of the reset contact block 11 multiple times and obtaining the first standard duration based on the maximum first moving duration among them helps the first standard duration to be more in line with the actual situation, reducing the risk that the first standard duration is too short and the reset contact block 11 is controlled to stop before reaching the reset position p3, that is, reducing the risk of misjudging the normally working vehicle door lock 10 as having abnormal operation. Further, among the multiple first moving durations, there may be multiple first moving durations in different working conditions or multiple first moving durations in the same working condition. Exemplarily, the number of the obtained first moving durations in the same working condition may be greater than or equal to three. Thus, it helps to further improve the applicability of the first standard duration.
[0045] In some embodiments, the step of obtaining the first standard duration based on the maximum first movement duration among a plurality of first movement durations includes: multiplying the maximum first movement duration by a first preset coefficient to obtain the first standard duration; wherein, the first preset coefficient is greater than 1. It can be understood that even though the maximum first movement duration is the longest one among the actually obtained multiple first movement durations, there is still a possibility that when the door lock 10 is in a normal working state, the reset contact block 11 still has not moved to the reset position p3 after the maximum first movement duration. Multiplying the maximum first movement duration by the first preset coefficient to obtain the first standard duration, and the first preset coefficient being greater than 1, enables the first standard duration to cover more possible working conditions. Further, it reduces the risk that the first standard duration is too short, resulting in the reset contact block 11 being controlled to stop before reaching the reset position p3, that is, it reduces the risk of determining a normally working door lock 10 as being abnormally working. Among them, the first preset coefficient can be specifically determined according to the volatility between the obtained multiple first movement durations, reducing the risk that the first standard duration is set too large, resulting in the reset contact block 11 reaching the second position p2 after the first standard duration.
[0046] In some embodiments, the first position p1 is the locking point, and the second position p2 is the unlocking point. Before step S11, the method further includes: obtaining the second movement duration of the reset contact block 11 moving from the first position p1 to the reset position p3 for multiple times; obtaining the second standard duration based on the maximum second movement duration among the multiple second movement durations. Among them, the second movement duration refers to the duration consumed by the reset contact block 11 moving from the locking point to the reset position p3 when the door lock 10 is in a normal working state. Obtaining the second movement duration for multiple times, similar to the aforementioned first movement duration, the duration consumed by the reset contact block 11 moving from the first position p1 to the reset position p3 each time may be the same or different, and different working conditions will affect the length of the second movement duration. For example, when the vehicle is in different slope states, the door lock 10 is in different temperature states, the vehicle provides different voltages for the door lock 10, etc., all of which will cause the second movement duration to be affected to different degrees. Obtaining the second movement duration of the reset contact block 11 for multiple times and obtaining the second standard duration based on the maximum second movement duration among them helps the second standard duration to be more in line with the actual situation, reducing the risk that the second standard duration is too short, resulting in the reset contact block 11 being controlled to stop before reaching the reset position p3, that is, it reduces the risk of determining a normally working door lock 10 as being abnormally working. Further, among the multiple second movement durations, there may include multiple second movement durations under different working conditions, or multiple second movement durations under the same working conditions. Exemplarily, the number of the obtained second movement durations under the same working conditions may be greater than or equal to three. Thus, it helps to further improve the applicability of the second standard duration.
[0047] In some embodiments, the step of obtaining the first standard duration based on the maximum first movement duration among multiple second movement durations includes: multiplying the maximum second movement duration by a second preset coefficient to obtain a second standard duration; wherein, the second preset coefficient is greater than 1. It can be understood that even though the maximum second movement duration is the longest one among the actually obtained multiple second movement durations, there is still a possibility that when the door lock 10 is in a normal working state, the reset contact block 11 has not moved to the reset position p3 after the maximum second movement duration. Multiplying the maximum second movement duration by the second preset coefficient to obtain the second standard duration, and the second preset coefficient being greater than 1, enables the second standard duration to cover more possible working conditions. Further, it reduces the risk that the second standard duration is too short, resulting in the reset contact block 11 being controlled to stop before reaching the reset position p3, that is, it reduces the risk of determining a normally working door lock 10 as having an abnormal operation. Among them, the second preset coefficient can be specifically determined according to the volatility between the obtained multiple second movement durations, reducing the risk that the second standard duration is set too large, resulting in the reset contact block 11 reaching the second position p2 after the second standard duration.
[0048] In some embodiments, before step S11, the method further includes: controlling the reset contact block 11 to move from the reset position p3 to the first position p1. It can be understood that the locking state of the door lock 10 can be controlled by controlling the reset contact block 11 to move from the reset position p3 to the first position p1. Specifically, when the first position p1 is the unlocking point, controlling the reset contact block 11 to move from the reset position p3 to the first position p1 can make the door lock 10 in an unlocked state; when the first position p1 is the locking point, controlling the reset contact block 11 to move from the reset position p3 to the first position p1 can make the door lock 10 in a locked state. Thus, by controlling the reset contact block 11 to move from the reset position p3 to the first position p1 before step S11, it is convenient to flexibly control the locking state of the door lock 10.
[0049] In the above solution, the active duration of the reset contact block 11 moving from the first position p1 to the second position p2 is obtained in real time, where one of the first position p1 and the second position p2 is the unlocking point of the door lock 10, and the other is the locking point of the door lock 10; in response to the active duration being greater than or equal to the reset protection duration, the reset contact block 11 is controlled to stop, where the reset protection duration is the standard duration for the reset contact block 11 to move from the first position p1 to the reset position p3, and the reset position p3 is located between the first position p1 and the second position p2. Compared with the traditional door lock control method, in this solution, by responding to the active duration being greater than or equal to the reset protection duration, the reset contact block 11 is controlled to stop, which can timely stop the movement of the reset contact block 11 with a reset failure, and timely and effectively alleviate the risk that the reset contact block 11 continues to move towards the second position p2 after the reset failure and causes the reset contact block 11 to be stuck at the second position p2.
[0050] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of an electronic device according to one or more embodiments of the present application. The electronic device 40 includes a memory 41 and a processor 42. The processor 42 is configured to execute program instructions 51 stored in the memory 41 to implement the steps in the above-mentioned embodiment of the door lock control method. In a specific implementation scenario, the electronic device 40 may include, but is not limited to: a microcomputer, a server. In addition, the electronic device 40 may also include mobile devices such as a laptop computer, a tablet computer, etc., which are not limited herein.
[0051] Specifically, the processor 42 is configured to control itself and the memory 41 to implement the steps in the above-mentioned embodiment of the door lock control method. The processor 42 may also be referred to as a CPU (Central Processing Unit). The processor 42 may be an integrated circuit chip with signal processing capabilities. The processor 42 may also be a general-purpose processor 42, a digital signal processor 42 (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor 42 may be a microprocessor 42 or the processor 42 may also be any conventional processor 42, etc. Additionally, the processor 42 may be implemented jointly by integrated circuit chips.
[0052] In the above solution, the active duration of the reset contact block 11 moving from the first position p1 to the second position p2 is obtained in real time, where one of the first position p1 and the second position p2 is the unlocking point of the door lock 10, and the other is the locking point of the door lock 10; in response to the active duration being greater than or equal to the reset protection duration, the reset contact block 11 is controlled to stop, where the reset protection duration is the standard duration for the reset contact block 11 to move from the first position p1 to the reset position p3, and the reset position p3 is located between the first position p1 and the second position p2. Compared with the traditional door lock control method, in this solution, by responding to the active duration being greater than or equal to the reset protection duration and controlling the reset contact block 11 to stop, the reset contact block 11 with a reset failure can be stopped in time, and the risk that the reset contact block 11 continues to move towards the second position p2 after the reset failure and causes the reset contact block 11 to be stuck at the second position p2 is relieved in time and effectively.
[0053] Please refer to Figure 6 , Figure 6 is a schematic structural diagram of a computer-readable storage medium according to one or more embodiments of the present application. The computer-readable storage medium 50 stores program instructions 51 thereon, and when the program instructions 51 are executed by the processor 42, the steps in any of the above-described embodiments of the door lock control method are implemented.
[0054] In the above solution, the active duration of the reset contact block 11 moving from the first position p1 to the second position p2 is obtained in real time, where one of the first position p1 and the second position p2 is the unlocking point of the door lock 10, and the other is the locking point of the door lock 10; in response to the active duration being greater than or equal to the reset protection duration, the reset contact block 11 is controlled to stop, where the reset protection duration is the standard duration for the reset contact block 11 to move from the first position p1 to the reset position p3, and the reset position p3 is located between the first position p1 and the second position p2. Compared with the traditional door lock control method, in this solution, by responding to the active duration being greater than or equal to the reset protection duration and controlling the reset contact block 11 to stop, the reset contact block 11 with a reset failure can be stopped in time, and the risk that the reset contact block 11 continues to move towards the second position p2 after the reset failure and causes the reset contact block 11 to be stuck at the second position p2 is relieved in time and effectively.
[0055] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments, and their specific implementations can refer to the descriptions of the above method embodiments. For the sake of brevity, they will not be elaborated here.
[0056] The above descriptions of the various embodiments tend to emphasize the differences between the various embodiments, and their similarities can be referred to each other. For the sake of brevity, they will not be elaborated in this article.
[0057] In several embodiments provided in this application, it should be understood that the disclosed methods and apparatuses can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical or other forms.
[0058] In addition, each functional unit in various embodiments of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0059] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in various embodiments of this application. The aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs and other various media that can store program codes.
Claims
1. A method for controlling a vehicle door lock, characterized in that, The door lock control method includes: Obtaining in real time the active duration of the reset contact block moving from a first position to a second position, where one of the first position and the second position is the unlocking point of the door lock, and the other is the locking point of the door lock; In response to the active duration being greater than or equal to the reset protection duration, controlling the reset contact block to stop, where the reset protection duration is the standard duration for the reset contact block to move from the first position to the reset position, and the reset position is located between the first position and the second position.
2. The method according to claim 1, characterized in that, The first standard duration for the reset contact block to move from the unlocking point to the reset position is different from the second standard duration for the reset contact block to move from the locking point to the reset position.
3. The method according to claim 2, wherein When the first position is the unlocking point and the second position is the locking point, before the step of obtaining in real time the active duration of the reset contact block moving from the first position to the second position, the method further includes: Obtaining multiple first moving durations of the reset contact block moving from the first position to the reset position; Obtaining the first standard duration based on the maximum first moving duration among the multiple first moving durations.
4. The method according to claim 3, characterized in that The step of obtaining the first standard duration based on the maximum first moving duration among the multiple first moving durations includes: Multiplying the maximum first moving duration by a first preset coefficient to obtain the first standard duration; where the first preset coefficient is greater than 1.
5. The method according to claim 2, wherein When the first position is the locking point and the second position is the unlocking point, before the step of obtaining in real time the active duration of the reset contact block moving from the first position to the second position, the method further includes: Obtaining multiple second moving durations of the reset contact block moving from the first position to the reset position; Obtaining the second standard duration based on the maximum second moving duration among the multiple second moving durations.
6. The method according to claim 5, characterized in that, The step of obtaining the first standard duration based on the maximum first moving duration among the multiple second moving durations includes: Multiplying the maximum second moving duration by a second preset coefficient to obtain the second standard duration; where the second preset coefficient is greater than 1.
7. The method according to any one of claims 1 to 6, characterized in that, Before the step of obtaining in real time the active duration of the reset contact block moving from the first position to the second position, the method further includes: Controlling the reset contact block to move from the reset position to the first position.
8. An electronic device, characterized in that, Includes: A memory and a processor, where the memory stores program instructions, and the processor retrieves the program instructions from the memory to execute the method according to any one of claims 1-7.
9. A computer-readable storage medium, characterized in that, Includes: Stored with a program file, and when the program file is executed by a processor, it is used to implement the method according to any one of claims 1-7.
10. A door lock control system, characterized in that, The door lock control system includes a controller and a door lock, the door lock includes a reset contact block, and the controller is used to control the door lock to execute the method according to any one of claims 1-7.