Vehicle locking control method and device, electronic equipment and storage medium
By switching to the closed state of the electric door and then controlling the vehicle locking, the problem of not being able to lock the vehicle in time during the closing of the electric door is solved, improving the convenience and safety of vehicle locking, and reducing hardware damage.
Patent Information
- Application Number
- CN202510522110.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2025-08-05
AI Technical Summary
In a vehicle, the vehicle cannot be locked in time during the closing of the electric door, which leads to inconvenient locking of the vehicle and affects user comfort, and may cause hardware damage.
By obtaining the status information of the electric door, generating and temporarily storing the locking control command, and after the electric door is switched from the closed state to the closed state, the vehicle locking is controlled, and the perception module and the authentication module are used to manage the locking instructions, reducing the time-consuming command generation and improving safety.
It improves the convenience and user comfort of vehicle locking, reduces hardware damage, and enhances the safety and locking efficiency of the vehicle.
Smart Images

Figure CN120422804A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent vehicle technology, and more specifically, to a vehicle locking control method, device, electronic device and storage medium. Background Art
[0002] Some vehicles are equipped with powered doors, such as power sliding doors. Drivers often encounter the problem of being unable to lock their vehicles while the power sliding doors are closing. In the prior art, drivers must wait for the power sliding doors to slowly close before they can lock the vehicle.
[0003] This will make it very inconvenient to lock the vehicle. Summary of the Invention
[0004] The embodiments of the present application provide a vehicle locking control method, device, electronic device, and storage medium, which can improve the convenience of vehicle locking.
[0005] In a first aspect, an embodiment of the present application provides a vehicle locking control method, comprising:
[0006] Acquire status information of the vehicle's electric door; in response to the locking condition being met and the status information indicating that the electric door is in a closing state, generate and temporarily store a locking control instruction, the locking control instruction being used to control the locking of the vehicle; in response to the status information indicating that the electric door is switched from a closing state to a closed state, control the locking of the vehicle based on the temporarily stored locking control instruction.
[0007] In this embodiment, by acquiring the status information of the vehicle's electric door, in response to the locking condition being met and the status information indicating that the electric door is in the closing state, a locking control instruction is generated and temporarily stored, and the locking control instruction is used to control the locking of the vehicle. In response to the locking condition being met and the status information indicating that the electric door is in the closing state, a locking control instruction is generated and temporarily stored, and the locking control instruction is used to control the locking of the vehicle. In this way, when the vehicle meets the locking condition, the vehicle can be locked after waiting for the electric door to switch from the closing state to the closed state. Therefore, the user does not need to wait for the electric door to be completely closed before initiating the locking operation. This can improve the convenience of vehicle locking and the user's comfort. In addition, the electric door is locked after it is in the closed state, which can also reduce hardware damage to the vehicle and improve the safety of the vehicle. In addition, since the locking control instruction is generated and temporarily stored when the locking conditions are met and the electric door is in the closing state, and then the vehicle is locked by the generated locking control instruction after the electric door switches from the closing state to the closed state, the time spent on instruction generation that is increased by generating the locking control instruction after the electric door becomes the closed state can be reduced. That is, the vehicle can be controlled to lock in time after the electric door becomes the closed state, thereby reducing the efficiency of the vehicle's locking control.
[0008] In one possible implementation, in response to the state information indicating that the state of the electric door is switched from the closing state to the closed state, controlling the vehicle to be locked based on the temporarily stored locking control instruction includes:
[0009] In response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, the temporarily stored locking control instruction is sent to the locking control module of the vehicle, so that the locking control module controls the vehicle locking in response to the locking control instruction.
[0010] In this embodiment, different modules can be configured to implement the vehicle locking control method. This allows for timely notification of the module that is causing the abnormality in vehicle locking control. Furthermore, the generation of locking control instructions can be managed by the authentication module, facilitating unified management of vehicle startup and locking. Furthermore, the authentication module generates the locking control instruction first and then waits until the power door switches to the closed state before sending it to the locking control module. This reduces the time required by the authentication module to generate the locking control instruction after the power door switches to the closed state, thereby improving the efficiency and timeliness of vehicle locking.
[0011] In one possible implementation, in response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, controlling the vehicle to be locked based on the temporarily stored locking control instruction includes:
[0012] In response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking condition. When the locking condition is met, the vehicle is controlled to be locked based on the temporarily stored locking control instruction.
[0013] In this embodiment, in response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking condition. When the locking condition is met, the vehicle is controlled to be locked based on the temporarily stored locking control instruction. That is to say, when the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, the locking condition is still met and the vehicle is controlled to be locked. This is conducive to improving the user experience.
[0014] In one possible implementation, the method further includes:
[0015] In response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking conditions. When the locking conditions are not met, the prompt device of the vehicle is controlled to issue a locking failure prompt.
[0016] In this embodiment, by responding to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking conditions. When the locking conditions are not met, the prompt device of the vehicle is controlled to issue a prompt of locking failure. This can improve the user experience and the safety of the locking control.
[0017] In one possible implementation, the method further includes: obtaining opening information of an electric door of the vehicle, and generating a locking control instruction in response to the locking condition being met and the status information indicating that the electric door is in a closing state, including:
[0018] In response to the locking condition being met, the state information indicating that the electric door is in a closing state, and the opening information indicating that the opening of the electric door is less than a first opening threshold, a locking control instruction is generated.
[0019] In an embodiment of the present application, a locking control instruction is generated in response to the locking condition being met, the status information indicating that the electric door is in a closing state, and the opening information indicating that the opening of the electric door is less than a first opening threshold. In this way, the locking control instruction can be generated only when the electric door is in a closing state and the opening information indicates that the opening of the electric door is less than the first opening threshold. In this way, the possibility of wasting the instruction resources occupied by the locking control instruction can be reduced, thereby improving the resource utilization of the vehicle's locking control.
[0020] In one possible implementation, the method further includes:
[0021] In response to the locking conditions being met, the status information indicating that the electric door is in a closing state and the opening information indicating that the opening of the electric door is greater than a second opening threshold, the prompt device of the control vehicle issues a locking failure prompt, and the second opening threshold is not less than the first opening threshold.
[0022] In this embodiment, in response to the locking conditions being met, the status information indicating that the electric door is in a closing state and the opening information indicating that the opening of the electric door is greater than a second opening threshold, the vehicle's prompt device is controlled to issue a locking failure prompt. In this way, the user can be prompted to reduce the situation where living things enter the vehicle based on a larger opening before locking, thereby improving the safety of the vehicle's locking control.
[0023] In one possible implementation, the method further includes:
[0024] In response to the locking condition being met and the state information indicating that the state of the electric door is in the target state, the prompting device of the vehicle is controlled to issue a locking failure prompt, and the target state includes an opening state or an opened state.
[0025] In this embodiment, in response to the locking condition being met and the status information indicating that the state of the electric door is in the target state, the prompt device of the vehicle is controlled to issue a prompt of locking failure. The target state includes the opening state or the opened state, that is, the state of the electric door is in the opening state or the opened state. If the locking condition is met at this time, the prompt device of the vehicle is controlled to issue a prompt of locking failure to prompt the user and improve the safety of the vehicle's locking control.
[0026] In a second aspect, an embodiment of the present application provides a vehicle locking control device, comprising:
[0027] A perception module is used to obtain status information of the vehicle's electric door; an authentication module is used to generate and temporarily store a locking control instruction in response to the locking condition being met and the status information indicating that the electric door is in a closing state, wherein the locking control instruction is used to control the locking of the vehicle; in response to the status information indicating that the status of the electric door is switched from the closing state to the closed state, the vehicle is locked based on the temporarily stored locking control instruction.
[0028] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein: the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the above method.
[0029] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the above method is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic flow chart of a vehicle locking control method provided in an embodiment of the present application;
[0031] Figure 2 A flowchart of another vehicle locking control method provided in an embodiment of the present application;
[0032] Figure 3 A flowchart of another vehicle locking control method provided in an embodiment of the present application;
[0033] Figure 4 A schematic structural diagram of a vehicle locking control device provided in an embodiment of the present application;
[0034] Figure 5 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the technical problems, technical solutions and beneficial effects solved by this application more clearly understood, this application is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0036] Some vehicles, such as multi-purpose vehicles (MPVs), are equipped with powered doors, such as electric sliding doors. Power sliding doors, also known as electric side sliding doors, use electricity to drive the door leaf horizontally to open and close. Failing to lock the vehicle while the power sliding door is closing is a common problem for car owners.
[0037] In related art, users must wait for the power sliding door to slowly close before they can lock the vehicle. This requires users to wait until the power sliding door closes before they can continue locking the vehicle, making locking the vehicle inconvenient and impacting user comfort. In other related art, if the lock status changes from unlocked to locked during the power sliding door closing process, the vehicle will lock. However, if the power sliding door continues to slide, the vehicle could collide with the lock, potentially damaging the vehicle's hardware. To address this issue, in other related art, if the lock status changes from unlocked to locked during the power sliding door closing process, the vehicle will lock. However, if the power sliding door continues to slide, the door will stop sliding, thereby reducing damage to the vehicle's hardware. However, this can prevent the door from closing, forcing the user to unlock the door and wait for it to close before locking it again. This also makes locking the vehicle inconvenient and impacts user comfort.
[0038] In view of this, embodiments of the present application provide a vehicle locking control method, device, electronic device, and storage medium, which can improve the convenience of vehicle locking and user comfort, and can improve the safety of the vehicle.
[0039] See also Figure 1 , Figure 1 This is a flow chart of a vehicle locking control method provided in an embodiment of the present application. Figure 1 The method shown can be applied to a locking device or electronic device of a vehicle, such as Figure 1 The method shown may include:
[0040] S110: Acquire status information of the vehicle's electric door.
[0041] In this embodiment, the electric door may refer to a door that uses electricity to drive the door leaf to open and close. In this embodiment, the electric door may be, for example, an electric sliding door or an electric tailgate, etc., which is not limited here. In this embodiment, the status information represents the status of the electric door. The status information may be one type of perception information, and the perception information may be information obtained by sensing the electric door of the vehicle. The status of the electric door may include but is not limited to a closed state (close), an opened state (open), a closing state (closing), an opening state (opening), etc., and may be set as needed, which is not limited here. Optionally, the switch signal of the electric door may be used as the status information of the electric door to determine the status of the electric door.
[0042] S120 . In response to the locking condition being met and the state information indicating that the electric door is in a closing state, generate and temporarily store a locking control instruction, where the locking control instruction is used to control the locking of the vehicle.
[0043] The locking condition may be a condition for determining whether the vehicle is locked. In this embodiment, the locking condition may include conditions such as the distance between the digital key (e.g., a Bluetooth key) and the vehicle being greater than a distance threshold or detecting a user-triggered locking operation. These conditions can be set as needed and are not limited here. In this embodiment, if the locking condition is met and the power door is in the closing state, a locking control instruction may be generated and temporarily stored. After the power door is closed, the vehicle is locked using the temporarily stored control instruction.
[0044] S130 : In response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, controlling the vehicle to be locked based on the temporarily stored locking control instruction.
[0045] In this embodiment, if the status information indicates that the state of the electric door is switched from the closing state to the closed state, the vehicle can be locked based on the temporarily stored locking control instruction.
[0046] Specifically, in related art, for example, using an electric sliding door as an example, when locking conditions are met, a locking control command is generated, and locking is performed based on this locking control command. However, if the electric sliding door continues to slide, and the vehicle is already locked, the electric sliding door may collide with the lock, potentially causing damage to the vehicle's hardware. Alternatively, after the locking control command is generated, if the electric sliding door is not fully closed, locking is rejected and a locking failure prompt is issued. The locking process must wait until the electric sliding door is closed before initiating the locking control command. Only then can the locking control command be generated and the vehicle can be locked. Therefore, the convenience and safety of locking in related art require further improvement.
[0047] In this embodiment, by acquiring the status information of the vehicle's electric door, in response to the locking condition being met and the status information indicating that the electric door is in the closing state, a locking control instruction is generated and temporarily stored, and the locking control instruction is used to control the locking of the vehicle. In response to the locking condition being met and the status information indicating that the electric door is in the closing state, a locking control instruction is generated and temporarily stored, and the locking control instruction is used to control the locking of the vehicle. In this way, when the vehicle meets the locking condition, the vehicle can be locked after waiting for the electric door to switch from the closing state to the closed state. Therefore, the user does not need to wait for the electric door to be completely closed before initiating the locking operation. This can improve the convenience of vehicle locking and the user's comfort. In addition, the electric door is locked after it is in the closed state, which can also reduce hardware damage to the vehicle and improve the safety of the vehicle. In addition, since the locking control instruction is generated and temporarily stored when the locking conditions are met and the electric door is in the closing state, and then the vehicle is locked by the generated locking control instruction after the electric door switches from the closing state to the closed state, the time spent on instruction generation that is increased by generating the locking control instruction after the electric door becomes the closed state can be reduced. That is, the vehicle can be controlled to lock in time after the electric door becomes the closed state, thereby reducing the efficiency of the vehicle's locking control.
[0048] In another possible implementation, a locking control instruction may be generated only after the vehicle meets the locking conditions and the state of the electric door switches from the closing state to the closed state, and the vehicle is locked by the locking control instruction, thereby reducing the occupation of instruction resources.
[0049] That is to say, the embodiment of the present application can control the vehicle to be locked only when the locking conditions are met and the state of the electric door is switched from the closing state to the closed state.
[0050] It should be noted that in this embodiment, locking the vehicle may involve controlling the locking of the entire vehicle based on the locking control instruction after the power door switches from the closing state to the closed state, that is, controlling the locking of all closed doors, including the power door and the manual door. Alternatively, when the locking control instruction is generated, the closed door may be locked first, and then, after the power door switches from the closing state to the closed state, the locking of the closed power door may be controlled. This is not a limitation herein.
[0051] In one possible implementation, in response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, controlling the vehicle to be locked based on the temporarily stored locking control instruction includes:
[0052] In response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, a temporarily stored locking control instruction is sent to a locking control module of the vehicle, so that the locking control module controls the vehicle to lock in response to the locking control instruction.
[0053] In this embodiment, the module that generates the locking command and the module that controls the vehicle's locking can be different modules. For ease of understanding, the following describes one possible implementation method for multiple modules implementing vehicle locking. In one possible implementation, the method is applied to a vehicle's locking control device, which includes a sensing module, an authentication module, and a locking control module.
[0054] See also Figure 2 , Figure 2 A flow chart of another vehicle locking control method provided in an embodiment of the present application. In this embodiment, in response to a locking condition being met and status information indicating that the electric door is in a closing state, a locking control instruction is generated and temporarily stored, including: an authentication module generates and temporarily stores a locking control instruction in response to the locking condition being met and status information indicating that the electric door is in a closing state. Correspondingly, in response to the status information indicating that the electric door is in a closing state, the vehicle is locked based on the temporarily stored locking control instruction, including: the authentication module sends the temporarily stored locking control instruction to the locking control module in response to the status information indicating that the electric door is in a closing state; and the locking control module controls the vehicle to lock in response to the locking control instruction.
[0055] like Figure 2 The method shown may include:
[0056] S210. The perception module continuously detects the electric door to obtain perception information of the electric door of the vehicle. The perception information includes status information, and the status information is used to indicate the status of the electric door.
[0057] In this embodiment, the sensing module can detect the status of power doors, including but not limited to manual and automatic doors. For a standard door (i.e., a manual door), a message is generated to report two states: open and closed. For a power door, a message is generated to report four states: open, opening, closing, and closed.
[0058] S220. The perception module sends perception information to the authentication module.
[0059] In this embodiment, the sensing module can send the sensing information to the authentication module via a message. Passive Entry Passive Start (PEPS) module: The PEPS module is a smart entry and start module, also known as a keyless system or smart key.
[0060] S230: In response to the locking condition being met and the status information indicating that the electric door is in a closing state, the authentication module generates and temporarily stores a locking control instruction.
[0061] S240 , the authentication module sends a temporarily stored locking control instruction to the locking control module in response to the status information indicating that the state of the electric door is switched from the closing state to the closed state.
[0062] S250 : The locking control module controls the vehicle to lock in response to the locking control instruction.
[0063] Among them, the process steps of S210-S250 can refer to the description of S110-S130, and will not be repeated here.
[0064] In this embodiment, a perception module acquires perception information about a vehicle's power door, including state information. The perception module transmits the perception information to an authentication module. In response to a lock condition being met and the state information indicating the power door is in the closing state, the authentication module generates and temporarily stores a lock control instruction. In response to the state information indicating the power door has switched from the closing state to the closed state, the authentication module transmits the temporarily stored lock control instruction to the lock control module. The lock control module controls the vehicle in response to the lock control instruction. By configuring different modules to execute the vehicle lock control method, the abnormal module can be promptly identified when a vehicle lock control anomaly occurs. Furthermore, managing the lock control instructions through the authentication module facilitates unified management of vehicle starting and locking. Furthermore, by first generating the lock control instruction and then waiting until the power door switches to the closed state before sending it to the lock control module, the authentication module reduces the time required by the authentication module to generate the lock control instruction after the power door switches to the closed state, thereby improving the efficiency and timeliness of vehicle locks.
[0065] In another possible implementation, the state of the door may be detected by an authentication module to obtain perception information, that is, the perception module may not be required, which is conducive to improving the level of integration of the vehicle's locking control device.
[0066] In another possible implementation, the method of the embodiment of the present application can also be executed by a module, which is not limited here.
[0067] In one possible implementation, in response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, controlling the vehicle to be locked based on the temporarily stored locking control instruction includes:
[0068] In response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking condition. When the locking condition is met, the vehicle is controlled to be locked based on the temporarily stored locking control instruction.
[0069] It should be noted that in this embodiment, since it takes a certain amount of time for the electric door to switch from the closing state to the closed state, the locking condition may not be met during this process. For example, taking the locking condition as including the distance between the Bluetooth key and the vehicle being greater than a distance threshold, when the user triggers the electric door to close, the electric door is in the closing state. If the user moves away from the vehicle with the Bluetooth key until the preset condition is met, a locking control instruction may be generated and temporarily stored. However, during the electric door closing process, the user may return to the vehicle. In this case, the user may not wish to subsequently lock the vehicle. If the distance between the Bluetooth key and the vehicle is not greater than the distance threshold and the electric door has not yet switched to the closed state, the locking condition is not met and the electric door is not fully closed. Locking may not occur, facilitating the user's return to the vehicle. If the user continues to move away from the vehicle, the locking condition remains satisfied until the electric door switches to the closed state, at which point the vehicle can be locked based on the locking control instruction.
[0070] In this embodiment, in response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking condition. When the locking condition is met, the vehicle is controlled to be locked based on the temporarily stored locking control instruction. That is to say, when the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, the locking condition is still met and the vehicle is controlled to be locked. This is conducive to improving the user experience.
[0071] In another possible implementation, it is also possible to ignore whether the locking condition is still met when the state of the electric door switches from the closing state to the closed state. In this way, the efficiency of the vehicle locking control can be improved and the required computing resources can be reduced.
[0072] In one possible implementation, the method further includes:
[0073] In response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking conditions. When the locking conditions are not met, the prompt device of the vehicle is controlled to issue a locking failure prompt.
[0074] The prompting device may be a device that issues a prompt. In this embodiment, the prompting device may be a device that issues a prompt of a locking failure. For example, the prompting device may be a vehicle light, an external speaker, etc., which is not limited here.
[0075] For example, this embodiment will be described using the example where the locking condition also includes the absence of any living organisms within the vehicle. Living organisms can be, for example, humans or animals, without limitation. When the user triggers the electric door to close, the electric door is in the closing state, and the user, carrying the Bluetooth key, moves away from the vehicle until the distance threshold exceeds the threshold, and no living organisms are present within the vehicle. Once the preset conditions are met, a locking control instruction can be generated and temporarily stored. However, while the electric door is closing, a living organism may enter the vehicle. If the vehicle is locked, the living organisms within the vehicle may suffer from oxygen deprivation, posing a safety hazard. Therefore, in this embodiment, if the electric door is in the closed state, the locking condition is not met. The vehicle's prompt device can be controlled to issue a locking failure prompt, allowing the user to return to the vehicle to check the situation.
[0076] In this embodiment, by responding to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking conditions. When the locking conditions are not met, the prompt device of the vehicle is controlled to issue a prompt of locking failure. This can improve the user experience and the safety of the locking control.
[0077] It should be noted that if the electric door is in the closed state, the electric door is determined to meet the locking condition. If the locking condition is not met, the vehicle locking instruction is destroyed, thereby saving instruction resources. In another possible implementation, the vehicle locking instruction can also be retained, thereby reducing the generation resources required to regenerate the locking control instruction.
[0078] In one possible implementation, the method further includes: obtaining opening information of an electric door of the vehicle, and generating a locking control instruction in response to the locking condition being met and the status information indicating that the electric door is in a closing state, including:
[0079] In response to the locking condition being met, the state information indicating that the electric door is in a closing state, and the opening information indicating that the opening of the electric door is less than a first opening threshold, a locking control instruction is generated.
[0080] Here, the opening refers to the angle, displacement or percentage of the movable part from the closed state to the fully opened state, which is used to describe its degree of opening. Exemplarily, the opening can be, for example, 0%, 100% or any value between 0% and 100%, determined according to the actual situation and not limited here. Exemplarily, the opening of the opened state is 100%, the opening of the closed state is 0, and the opening of the opening state and the closing state is any value between 0% and 100%. In this embodiment, the first opening threshold can be an opening that restricts the entry of a living being into the vehicle, for example, an opening that prevents a living being from entering the vehicle. In this embodiment, the opening information can be a kind of perception information.
[0081] It should be noted that if the opening of the electric door is too large, it is easy for a living being to enter the vehicle based on the larger opening before locking. In this case, it is possible that when the electric door is in a closed state, there is a living being in the vehicle, and the vehicle cannot be locked based on the locking control instruction. In other words, the instruction resources occupied by the generated locking control instruction are likely to be wasted.
[0082] In an embodiment of the present application, a locking control instruction is generated in response to the locking condition being met, the status information indicating that the electric door is in a closing state, and the opening information indicating that the opening of the electric door is less than a first opening threshold. In this way, the locking control instruction can be generated only when the electric door is in a closing state and the opening information indicates that the opening of the electric door is less than the first opening threshold. In this way, the possibility of wasting the instruction resources occupied by the locking control instruction can be reduced, thereby improving the resource utilization of the vehicle's locking control.
[0083] It should be noted that in this embodiment, the sensing module can detect the opening of the electric door. For ordinary doors (i.e., manual doors), it is not necessary to obtain their opening information. However, for electric doors, it is necessary to detect their opening and obtain the opening information. Optionally, the opening information and status information can be sent in the same message or in different messages, without limitation.
[0084] In this embodiment, the detection of the electric door, such as the state detection and opening detection of the electric door, can be detected according to a certain period, for example, once every 10 milliseconds, that is, the perception information is updated every 10 milliseconds, and there is no limitation here.
[0085] In one possible implementation, the method further includes:
[0086] In response to the locking conditions being met, the status information indicating that the electric door is in a closing state and the opening information indicating that the opening of the electric door is greater than a second opening threshold, the prompt device of the control vehicle issues a locking failure prompt, and the second opening threshold is not less than the first opening threshold.
[0087] It should be noted that if the opening of the electric door is too large, for example, the opening of the electric door is greater than the second opening threshold, it is easy for a living being to enter the vehicle based on the larger opening before locking. At this time, if the locking conditions are met, and the state of the electric door is in the closing state, and the opening information indicates that the opening of the electric door is greater than the second opening threshold, the prompt device of the control vehicle will issue a prompt of locking failure so that the user can further confirm the situation.
[0088] In this embodiment, in response to the locking conditions being met, the status information indicating that the electric door is in a closing state and the opening information indicating that the opening of the electric door is greater than a second opening threshold, the vehicle's prompt device is controlled to issue a locking failure prompt. In this way, the user can be prompted to reduce the situation where living things enter the vehicle based on a larger opening before locking, thereby improving the safety of the vehicle's locking control.
[0089] It should be noted that the first opening threshold and the second opening threshold can be set as needed. In one possible implementation, the first opening threshold can be related to the closing speed of the electric door or the time required to fully close. For example, the greater the closing speed of the electric door or the shorter the time required to fully close, the greater the first opening threshold can be. In other words, the slower the closing speed of the electric door or the longer the time required to fully close, the smaller the first opening threshold can be.
[0090] In this embodiment, the first opening threshold is determined by the closing speed of the electric door or the time required for complete closing. Different first opening thresholds can be set for different vehicle models, which is beneficial to improving the accuracy of the vehicle's locking control.
[0091] In one possible implementation, the method further includes:
[0092] In response to the locking condition being met and the state information indicating that the state of the electric door is in the target state, the prompting device of the vehicle is controlled to issue a locking failure prompt, and the target state includes an opening state or an opened state.
[0093] In this embodiment, the electric door is in the opening state or the opened state. If the locking conditions are met at this time, there are greater safety hazards in continuing to lock it, for example, it is easy for living things to enter or the electric door is in the opened state after locking.
[0094] In this embodiment, in response to the locking condition being met and the status information indicating that the state of the electric door is in the target state, the prompt device of the vehicle is controlled to issue a prompt of locking failure. The target state includes the opening state or the opened state, that is, the state of the electric door is in the opening state or the opened state. If the locking condition is met at this time, the prompt device of the vehicle is controlled to issue a prompt of locking failure to prompt the user and improve the safety of the vehicle's locking control.
[0095] It should be noted that, in this embodiment, the prompt device for controlling the vehicle to issue a prompt of the locking failure may be to sound a horn of the vehicle to prompt the locking failure, which is not limited here.
[0096] For ease of understanding, the electric door is an electric sliding door as an example to illustrate the solution of the embodiment of the present application. Figure 3 , Figure 3 This is a flow chart of another vehicle locking control method provided in an embodiment of the present application. Figure 3 The method shown may include:
[0097] S310: The vehicle is locked.
[0098] S320: Determine the state of the sliding door.
[0099] The sliding door state may include an opened state, a closed state, an opening state, or a closing state.
[0100] In this embodiment, if the sliding door is in the opened state or in the opening state, S330 is executed. If the sliding door is in the closed state or in the closing state, S340 is executed.
[0101] S330: The vehicle horn sounds to indicate that locking has failed.
[0102] S340: Determine whether the sliding door position percentage is less than 50%.
[0103] In this embodiment, if the sliding door position percentage is less than 50%, S350 is executed, otherwise S330 is executed.
[0104] Here, 50% may be the opening threshold.
[0105] S350: Determine whether other locking conditions are met.
[0106] The locking conditions can refer to the description of the above embodiment and will not be described in detail here.
[0107] S360: Temporarily store the vehicle locking instruction.
[0108] The vehicle locking instruction may also be referred to as a locking control instruction.
[0109] S370: Determine whether all conditions remain unchanged when the side sliding door is fully closed.
[0110] Among them, whether all conditions have not changed, that is, the locking conditions are still met.
[0111] S380: Send a vehicle locking instruction.
[0112] In this embodiment, the power sliding door's door status and position percentage are used to lock the vehicle while the sliding door is closed. If locking is initiated while the sliding door is open and the locking conditions are not met, the vehicle horn sounds to indicate a failed lock. To initiate locking while the sliding door is closed, the key subsystem (PEPS) first determines the sliding door position percentage. If the sliding door position is greater than 50%, the door will take a long time to fully close, indicating the owner has likely wandered off. In this case, the vehicle key locks successfully, but there are uncontrollable situations, such as locking a living being inside the vehicle. If the door position is less than 50%, the owner, even if they have wandered off, will not have wandered far, allowing the vehicle's status to be sensed. If both the sliding door status (closed or closing) and the sliding door position percentage (less than 50%) are met, the key subsystem then determines the remaining vehicle lock conditions. If these conditions are met, the vehicle lock command is temporarily stored. Before the sliding door is completely closed, all conditions for vehicle locking must still be monitored. If the conditions are no longer met, the vehicle locking command must be canceled and the horn will sound to indicate a locking failure. If the conditions remain unchanged, the vehicle locking command will be sent to lock the vehicle.
[0113] The following is an exemplary description of the device embodiment of this embodiment.
[0114] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of a vehicle locking control device provided in an embodiment of the present application. Figure 4 The device shown can be applied to an electronic device, and includes a sensing module 410 and an authentication module 420, wherein:
[0115] The perception module 410 is used to obtain status information of the vehicle's electric door; the authentication module 420 is used to generate and temporarily store a locking control instruction in response to the locking condition being met and the status information indicating that the electric door is in a closing state, and the locking control instruction is used to control the locking of the vehicle; the authentication module 420 is used to control the locking of the vehicle based on the temporarily stored locking control instruction in response to the status information indicating that the status of the electric door is switched from a closing state to a closed state.
[0116] In one possible implementation, the device further includes a locking control module 430. The authentication module 420 controls the vehicle locking based on the temporarily stored locking control instruction in response to the status information indicating that the state of the electric door switches from the closing state to the closed state, and can be used to:
[0117] In response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, the authentication module 420 sends a temporarily stored locking control instruction to the vehicle's locking control module 430, so that the locking control module 430 controls the vehicle to lock in response to the locking control instruction.
[0118] In one possible implementation, the locking control module 430, in response to the status information indicating that the state of the power door switches from the closing state to the closed state, controls the vehicle to be locked based on the temporarily stored locking control instruction, and can be used to:
[0119] In response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking condition. When the locking condition is met, the vehicle is controlled to be locked based on the temporarily stored locking control instruction.
[0120] In one possible implementation, the authentication module 420 is further configured to:
[0121] In response to the status information indicating that the state of the electric door switches from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking conditions. When the locking conditions are not met, the prompt device of the vehicle is controlled to issue a locking failure prompt.
[0122] In one possible implementation, the method further includes: obtaining opening information of a power door of the vehicle, and the authentication module 420, in response to the locking condition being met and the status information indicating that the power door is in a closing state, generating a locking control instruction, which may be used to:
[0123] In response to the locking condition being met, the state information indicating that the electric door is in a closing state, and the opening information indicating that the opening of the electric door is less than a first opening threshold, a locking control instruction is generated.
[0124] In one possible implementation, the authentication module 420 is further configured to:
[0125] In response to the locking conditions being met, the status information indicating that the electric door is in a closing state and the opening information indicating that the opening of the electric door is greater than a second opening threshold, the prompt device of the control vehicle issues a locking failure prompt, and the second opening threshold is not less than the first opening threshold.
[0126] In one possible implementation, the authentication module 420 is further configured to:
[0127] In response to the locking condition being met and the state information indicating that the state of the electric door is in the target state, the prompting device of the vehicle is controlled to issue a locking failure prompt, and the target state includes an opening state or an opened state.
[0128] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. In the several embodiments provided in the present application, the coupling between modules can be electrical. In addition, the various functional modules in the various embodiments of the present application can be integrated into a processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules.
[0129] The present application also provides an electronic device 50, please refer to Figure 5 , includes a processor 510 and a memory 520, wherein the memory 510 is used to store computer programs; the processor 520 is used to execute the programs stored in the memory 510 to implement the vehicle locking control method introduced in any embodiment of the present application. The electronic device 50 of this embodiment can be, for example, a vehicle.
[0130] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the vehicle locking control method introduced in any embodiment of the present application is implemented.
[0131] In this application, a plurality refers to two or more.
[0132] In this application, unless otherwise expressly defined, the terms "mounted," "connected," and "connected" should be interpreted broadly. For example, they can refer to fixed, detachable, or integral connections; mechanical or electrical connections; direct or indirect connections through an intermediary; and internal communication between two components. A person of ordinary skill in the art will understand the specific meanings of these terms in this application.
[0133] The terms "first," "second," "third," "fourth," etc. (if any) in this application are used to distinguish similar objects and are not necessarily used to describe a particular sequential order.
[0134] The term "and / or" in this application simply describes an association between related objects, indicating that three possible relationships exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this application generally indicates that the related objects are in an "or" relationship.
[0135] Unless otherwise specified, all steps of this application may be performed sequentially or randomly. For example, a statement that a method includes steps A and B indicates that the method may include steps A and B performed sequentially, or steps B and A performed sequentially. For example, a statement that a method may also include step C indicates that step C may be added to the method in any order. For example, a method may include steps A, B, and C, or steps A, C, and B, or steps C, A, and B, etc.
[0136] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A locking control method for a vehicle, characterized in that: include: Get the status information of the vehicle's electric door; In response to a locking condition being met and the state information indicating that the electric door is in a closing state, generating and temporarily storing a locking control instruction, the locking control instruction being used to control the locking of the vehicle; In response to the state information indicating that the state of the power door is switched from the closing state to the closed state, the vehicle is locked based on the temporarily stored locking control instruction.
2. The method according to claim 1, characterized in that In response to the state information indicating that the state of the electric door is switched from the closing state to the closed state, controlling the vehicle to be locked based on the temporarily stored locking control instruction includes: In response to the status information indicating that the state of the electric door is switched from the closing state to the closed state, the temporarily stored locking control instruction is sent to the locking control module of the vehicle, so that the locking control module controls the vehicle locking in response to the locking control instruction.
3. The method according to claim 1, characterized in that In response to the state information indicating that the state of the electric door is switched from the closing state to the closed state, controlling the vehicle to be locked based on the temporarily stored locking control instruction includes: In response to the status information indicating that the state of the electric door has switched from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking conditions. When the locking conditions are met, the vehicle is locked based on the temporarily stored locking control instruction.
4. The method according to claim 3, characterized in that The method further comprises: In response to the status information indicating that the state of the electric door is switched from the closing state to the closed state and the state of the electric door is the closed state, it is determined whether the electric door meets the locking conditions. When the locking conditions are not met, the prompt device of the vehicle is controlled to issue a prompt of locking failure.
5. The method according to claim 1, characterized in that The method further comprises: Get the opening information of the vehicle's electric door; In response to the locking condition being met and the state information indicating that the electric door is in a closing state, generating a locking control instruction includes: In response to a locking condition being met, the state information indicating that the electric door is in a closing state, and the opening information indicating that the opening of the electric door is less than a first opening threshold, a locking control instruction is generated.
6. The method according to claim 5, characterized in that The method further comprises: In response to the locking condition being met, the status information indicating that the state of the electric door is in the closing state and the opening information indicating that the opening of the electric door is greater than a second opening threshold, the prompt device of the vehicle is controlled to issue a locking failure prompt, and the second opening threshold is not less than the first opening threshold.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: In response to the locking condition being met and the state information indicating that the state of the electric door is in a target state, the prompting device of the vehicle is controlled to issue a locking failure prompt, wherein the target state includes an opening state or an opened state.
8. A locking control device for a vehicle, characterized in that: include: A perception module, configured to obtain perception information of a vehicle's electric door, wherein the perception information includes state information indicating a state of the electric door; An authentication module is configured to generate and temporarily store a locking control instruction in response to the locking condition being met and the status information indicating that the electric door is in a closing state, wherein the locking control instruction is used to control the locking of the vehicle; and to control the locking of the vehicle based on the temporarily stored locking control instruction in response to the status information indicating that the electric door is switched from the closing state to the closed state.
9. An electronic device, characterized in that: comprising a processor and a memory, wherein: Memory for storing computer programs; A processor, configured to execute a program stored in a memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.