A method, device, storage medium and vehicle for controlling automatic locking of a vehicle
By obtaining door closing information and detecting key signals, the vehicle locking area is determined and automatically locked when the key signal leaves, the problem of abnormal triggering of the vehicle's active departure function is solved, and the normal automatic locking of the vehicle is achieved.
Patent Information
- Application Number
- CN202310330400.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2043-03-30
AI Technical Summary
The existing vehicle active departure function. When the user's arm span is longer or the departure speed is fast, the smart key is in the unlocked area when the door is not completely closed, causing the vehicle to be unable to receive the key signal, thus unable to trigger automatic locking normally.
When all the doors and system power of the vehicle are turned off, the last closed door closing information is obtained, the locking area is determined, and whether there is a key signal in the locking area is detected. If it exists, the locking will be performed automatically when the key signal leaves the locking area.
Ensure that the vehicle can trigger the active departure function normally when the user leaves, complete automatic locking, and avoid locking failure caused by not completely closing the door.
Smart Images

Figure CN116152966B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent vehicle control technology, and in particular to a method, device, storage medium and vehicle for controlling automatic locking of a vehicle. Background Art
[0002] With the rapid development of vehicle intelligent technology, most models on the market are currently equipped with active entry and active exit functions, which are used to automatically unlock and lock the vehicle when the user enters or leaves the vehicle. Therefore, in order to improve the user experience of the above two functions, the prior art sets unlocking areas and locking areas according to different distances of the vehicle, thereby realizing the above vehicle active entry and active exit functions.
[0003] In the current active departure function of vehicles, all doors need to be in a closed state, and the vehicle will trigger the active departure function only when it detects that the smart key carried by the user has moved from the locking area to the unlocking area, thereby locking the entire vehicle. Although this method can achieve automatic locking of the entire vehicle when the user leaves the vehicle, sometimes due to the user's long arm span, or when the user leaves the vehicle at a fast speed. When the door is not completely closed, the smart key carried by the user is already in the unlocking area, making it impossible for the vehicle to receive the signal that the key has moved from the locking area to the unlocking area, resulting in the vehicle being unable to normally trigger the active departure function to complete the automatic locking of the vehicle. Therefore, how to solve the problem of abnormal triggering of the active departure function of the vehicle in the prior art, which causes the vehicle to be unable to automatically lock normally, has become a technical problem that technicians in this field urgently need to solve. Summary of the invention
[0004] Based on the above problems, in order to solve the problem in the prior art that the vehicle's active departure function is triggered abnormally and cannot be automatically locked normally, the present application provides a method, device, storage medium and vehicle for controlling the automatic locking of a vehicle.
[0005] The embodiments of the present application disclose the following technical solutions:
[0006] In a first aspect, the present application discloses a method for controlling automatic locking of a vehicle, comprising:
[0007] When all doors of the vehicle and the power supply of the vehicle system are in a closed state, obtaining closing information of the last closed door;
[0008] Determining a locking area of the vehicle according to closing information of the last closed door;
[0009] Detecting whether there is a key signal in the locking area;
[0010] When it is detected that there is a key signal in the locking area, the position of the key signal is monitored, and when it is detected that the key signal leaves the locking area, the vehicle is automatically locked.
[0011] Optionally, the door closing information at least includes: the time taken for the door to close; and determining the locking area of the vehicle according to the closing information of the door that was closed last specifically includes:
[0012] The locking area of the vehicle is determined according to the closing time consumed by the last closed door.
[0013] Optionally, the detecting whether there is a key signal in the locking area specifically includes:
[0014] Within a preset time interval, detecting whether the key signal exists in the locking area according to a preset detection frequency.
[0015] Optionally, after detecting whether there is a key signal in the locking area, the method further includes:
[0016] When it is detected that the key signal does not exist in the locking area, key signal detection is performed according to a preset detection range; the preset detection range is larger than the locking area;
[0017] If the key signal does not exist within the preset detection range, the vehicle is automatically locked.
[0018] Optionally, determining the locking area of the vehicle includes:
[0019] detecting whether the key signal is present in the cab of the vehicle;
[0020] If the key signal does not exist in the cab of the vehicle, adjusting the locking area;
[0021] If the key signal is present in the cab of the vehicle, the current locking zone is maintained.
[0022] Optionally, when all doors of the vehicle and the vehicle system power supply are in a closed state, before obtaining the closing information of the last closed door, the method further includes:
[0023] Obtaining the maximum closing travel of all doors of the vehicle;
[0024] The locking area is determined according to the maximum closing travel of all the doors of the vehicle.
[0025] In a second aspect, the present application discloses a device for controlling automatic locking of a vehicle, comprising:
[0026] Acquisition module: used for acquiring closing information of the last closed door when all doors of the vehicle and the power supply of the vehicle system are in the closed state;
[0027] An adjustment module, used for adjusting the locking area in real time according to the closing information of the last closed door to obtain the locking area;
[0028] A first detection module, used to detect whether there is a key signal in the locking area;
[0029] The locking module is used to automatically lock the vehicle when a key signal is detected in the locking area and when the key signal leaves the locking area.
[0030] Optionally, the closing information at least includes: the door closing time; the adjustment module is specifically used to:
[0031] The locking area of the vehicle is determined according to the closing time consumed by the last closed door.
[0032] In a third aspect, the present application discloses a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a terminal device, the terminal device executes the method for controlling automatic locking of a vehicle.
[0033] In a fourth aspect, the present application discloses a vehicle, comprising: a vehicle automatic locking controller, wherein the vehicle automatic locking controller is used to execute the method for controlling the automatic locking of the vehicle.
[0034] Compared with the prior art, the present application has the following beneficial effects: The present application provides a vehicle automatic locking method, device, storage medium and vehicle. First, when all doors of the vehicle are in a closed state, the closing information of the last closed door is obtained, and the locking area of the vehicle is determined according to the closing information of the last closed door. After that, it is detected whether there is a key signal in the locking area. When the key signal is detected in the locking area, the vehicle is automatically locked when the key signal leaves the locking area, thereby completing the automatic locking of the vehicle, that is, realizing the active leaving function of the vehicle. Through the above method, when the user closes the door and leaves the vehicle, the vehicle will determine the locking area of the vehicle according to the user's door closing information, so as to prevent the user from being outside the locking area when the door is not completely closed, thereby causing the vehicle to fail to normally trigger the active leaving function and thus automatically lock the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0036] Figure 1 A schematic diagram of a flow chart of a method for controlling automatic locking of a vehicle provided in an embodiment of the present application;
[0037] Figure 2 A schematic diagram of a vehicle unlocking area and a locking area provided in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of the structure of a vehicle automatic locking device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] As described above, in the current active departure function of the vehicle, all doors need to be in a closed state, and the vehicle will trigger the active departure function only when it detects that the smart key carried by the user has moved from the locking area to the unlocking area, thereby locking the entire vehicle. Although this method can achieve automatic locking of the entire vehicle when the user leaves the vehicle, sometimes due to the user's long arm span or when the user leaves the vehicle at a fast speed. When the door is not completely closed, the smart key carried by the user is already in the unlocking area, making it impossible for the vehicle to receive the signal that the key has moved from the locking area to the unlocking area, resulting in the vehicle being unable to normally trigger the active departure function to complete the automatic locking of the vehicle.
[0040] After research, the inventor provides a vehicle automatic locking method, device, storage medium and vehicle. First, when all doors of the vehicle are in a closed state, the closing information of the last closed door is obtained, and the locking area of the vehicle is determined according to the closing information of the last closed door. After that, it is detected whether there is a key signal in the locking area. When the key signal is detected in the locking area, the vehicle will be automatically locked when the key signal leaves the locking area, thereby completing the automatic locking of the vehicle, that is, realizing the active leaving function of the vehicle. Through the above method, when the user closes the door and leaves the vehicle, the vehicle will determine the locking area of the vehicle according to the user's door closing information, so as to prevent the user from being outside the locking area when the door is not completely closed, thereby causing the vehicle to fail to normally trigger the active leaving function and thus automatically lock the vehicle.
[0041] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0042] Method Embodiment
[0043] See also Figure 2 , which is a schematic diagram of a vehicle unlocking area and a locking area provided in an embodiment of the present application, which can be specifically combined with Figure 2 Further understanding of this application.
[0044] See also Figure 1 , which is a flow chart of a vehicle automatic locking method provided by an embodiment of the present application, and specifically includes the following steps:
[0045] S101: When all vehicle doors and vehicle system power are in a closed state, the closing information of the last closed door is obtained.
[0046] In the current active exit function of the vehicle smart cockpit, it is usually necessary to trigger the active exit function when all the vehicle doors are in a closed state to complete the automatic locking of the vehicle. In this application, when all the vehicle doors and the vehicle system power supply are in a closed state, the closing information of the last closed door will be obtained.
[0047] When all the vehicle doors and vehicle system power are in the closed state, it means that the vehicle has been turned off and the user is ready to leave. At this time, the closing information of the last closed door will be obtained so that the locking area of the vehicle can be adjusted according to this door closing information.
[0048] Specifically, all the vehicle doors mentioned above include the vehicle's tailgate. The door mentioned in this step is not limited to the door used to enter the cab. The door can be a tailgate for placing items or other types of doors. This embodiment does not specifically limit the specific door type.
[0049] S102: Determine a locking area of the vehicle according to the closing information of the last closed door.
[0050] After the closing information of the last closed door is obtained, the locking area is adjusted in real time according to the obtained closing information of the last closed door to obtain the locking area.
[0051] The closing information of the last closed door at least includes: the time consumed when the door is closed. In the process of adjusting the locking area, the locking area can be adjusted in real time according to the specific time consumed when the last closed door is closed.
[0052] Specifically, the time it takes to close the door is positively correlated with the adjustment of the locking area. When the door is closed for a short time, it means that the user is less likely to have stepped out of the locking area. At this time, the locking area will be slightly expanded to ensure that the locking area can cover the user's key signal while preventing the vehicle from being unable to automatically lock in time due to an overly large locking area.
[0053] When the car door is closed for a long time, it means that the user's arm span may be long and there is a high possibility that the user has stepped out of the locking area. At this time, the locking area will be expanded on a large scale to ensure that the locking area can cover the user's key signal, so that when the key signal is detected to move from the locking area to the unlocking area, the vehicle can accurately complete automatic locking.
[0054] S103: Detect whether there is a key signal in the locking area.
[0055] After the real-time adjustment of the locking area is completed and the locking area is obtained, the locking area is used as a detection range to detect whether there is a key signal in the locking area.
[0056] Specifically, during the key signal detection process, the signal may be detected by a low-frequency antenna in the vehicle, or by the GPS in the vehicle. This embodiment does not specifically limit the specific key signal detection method.
[0057] S104: When it is detected that there is a key signal in the locking area, the vehicle is automatically locked when the key signal leaves the locking area.
[0058] When a key signal is detected in the locking area, it indicates that the vehicle's active departure function can be triggered normally. During this process, the vehicle will continue to obtain the location information of the key signal. When the key signal is detected leaving the locking area, it indicates that the user has left the vehicle at this time, thereby automatically locking the vehicle, thereby completing the normal triggering of the vehicle's active departure function and ensuring the normal automatic locking of the vehicle.
[0059] As an optional implementation, in step S103, it can be implemented by the following steps:
[0060] Step 1: within a preset time interval, detect whether the key signal exists in the locking area according to a preset detection frequency.
[0061] In actual application, whether the key signal exists in the locking area can be detected at a preset time interval and according to a preset detection frequency. For example, in the process of detecting whether the key signal exists in the locking area, the key signal can be detected three times continuously within 5 seconds. By continuously detecting the key signal in a short period of time, the key signal can be effectively detected in the locking area to prevent the situation where the key signal cannot be accurately detected when the driver leaves the vehicle too fast.
[0062] As an optional implementation, after step S103, the following steps are further included:
[0063] Step 1: when it is detected that the key signal does not exist in the locking area, key signal detection is performed according to a preset detection range; the preset detection range is larger than the locking area;
[0064] Step 2: If the key signal does not exist within the preset detection range, the vehicle is automatically locked.
[0065] In actual application scenarios, sometimes the user leaves the vehicle at a fast speed and is far away from the locking area. At this time, even if the locking area is adjusted in real time, the locking area may still fail to cover the key signal in time. Therefore, during the detection process, when it is detected that there is no key signal in the locking area, the key signal will be detected within the preset detection range to determine whether the user has left the vehicle.
[0066] Among them, the preset detection range is larger than the locking area. The preset detection range can be set to the maximum detection range of the vehicle's low-frequency antenna, or it can be set to half the maximum detection range of the vehicle's low-frequency antenna. This embodiment does not specifically limit the specific size of the preset detection range.
[0067] When the key signal is detected according to the preset detection range, if the key signal is not detected within the preset detection range, it means that the user has left the vehicle with the smart key. At this time, the vehicle will also be controlled to automatically lock to ensure the normal triggering of the vehicle's active departure function. The above two steps can effectively deal with the problem that the user leaves quickly and the adjustment of the locking area cannot cover the key signal in time. It can still quickly control the vehicle to automatically lock in an emergency, thereby ensuring the safety of the vehicle.
[0068] As another optional implementation, after step S101, the following steps are further included:
[0069] Step 1: Detect whether the key signal is contained in the cab of the vehicle;
[0070] Step 2: If the key signal does not exist in the cab of the vehicle, adjusting the locking area;
[0071] Step 3: If the key signal exists in the cab of the vehicle, the current locking area is maintained.
[0072] Before adjusting the locking area of the vehicle, it will detect whether there is a key signal in the vehicle's cab. When a key signal is detected in the vehicle's cab, it proves that the key is still in the vehicle. At this time, the locking area will not be adjusted according to the door closing information, thereby avoiding the situation where the key is accidentally locked inside the vehicle's cab.
[0073] As another optional implementation, before step S101, the following steps are also included:
[0074] Step 1: Obtain the maximum closing stroke of all doors of the vehicle;
[0075] Step 2: determining the locking area according to the maximum closing travel of all doors of the vehicle.
[0076] During daily vehicle operation, the locking area can also be pre-processed according to the maximum closing stroke of all doors in the vehicle to improve the range of the locking area. The final second locking area can be closer to the actual application scenario of the vehicle, thereby reducing the workload of subsequent real-time adjustment of the locking area, so that the adjustment of the locking area can cover the user's key signal more quickly.
[0077] This embodiment provides a vehicle automatic locking method, which first obtains the closing information of the last closed door when all doors of the vehicle are in a closed state, and determines the locking area of the vehicle based on the closing information of the last closed door. After that, it detects whether there is a key signal in the locking area. When the key signal is detected in the locking area, the vehicle is automatically locked when the key signal leaves the locking area, thereby completing the automatic locking of the vehicle, that is, realizing the active leaving function of the vehicle. Through the above method, when the user closes the door and leaves the vehicle, the vehicle will determine the locking area of the vehicle based on the user's door closing information, so as to prevent the user from being outside the locking area when the door is not completely closed, thereby causing the vehicle to fail to normally trigger the active leaving function and thus automatically lock the vehicle.
[0078] A device for controlling automatic locking of a vehicle provided in an embodiment of the present application is introduced below. The device for controlling automatic locking of a vehicle described below and the method for controlling automatic locking of a vehicle described above can refer to each other.
[0079] See also Figure 3, which is a schematic diagram of the structure of a device for controlling automatic locking of a vehicle provided in an embodiment of the present application, specifically comprising:
[0080] The acquisition module 100 is used to acquire the closing information of the last closed door when all doors of the vehicle and the vehicle system power supply are in the closed state;
[0081] An adjustment module 200, configured to adjust the locking area in real time according to the closing information of the last closed door to obtain the locking area;
[0082] A first detection module 300 is used to detect whether there is a key signal in the locking area;
[0083] The locking module 400 is used to automatically lock the vehicle when a key signal is detected in the locking area and when the key signal leaves the locking area.
[0084] Optionally, the closing information at least includes: the door closing time; the adjustment module is specifically used to:
[0085] The locking area of the vehicle is determined according to the closing time consumed by the last closed door.
[0086] Optionally, the first detection module 300 is specifically used to:
[0087] Within a preset time interval, detecting whether the key signal exists in the locking area according to a preset detection frequency.
[0088] Optionally, the method further includes: a second detection module; the second detection module is used to:
[0089] When it is detected that the key signal does not exist in the locking area, key signal detection is performed according to a preset detection range; the preset detection range is larger than the locking area;
[0090] If the key signal does not exist within the preset detection range, the vehicle is automatically locked.
[0091] Optionally, the device for controlling automatic locking of a vehicle further includes: a third detection module; the third detection module is used to:
[0092] detecting whether the key signal is present in the cab of the vehicle;
[0093] If the key signal does not exist in the cab of the vehicle, adjusting the locking area;
[0094] If the key signal is present in the cab of the vehicle, the current locking zone is maintained.
[0095] Optionally, the device for controlling automatic locking of a vehicle further includes: a preprocessing module; the preprocessing module is used to:
[0096] Obtaining the maximum closing travel of all doors of the vehicle;
[0097] The locking area is determined according to the maximum closing travel of all the doors of the vehicle.
[0098] Storage Medium Embodiments
[0099] Furthermore, an embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes any one of the above-mentioned implementation methods for controlling automatic locking of a vehicle.
[0100] It can be known from the description of the above implementation mode that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0101] Vehicle Example
[0102] An embodiment of the present application also provides a vehicle, which includes the device in the above-mentioned device embodiment.
[0103] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method and related equipment embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The method and related equipment embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0104] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling automatic locking of a vehicle, characterized in that: include: When all doors of the vehicle and the power supply of the vehicle system are in a closed state, obtaining closing information of the last closed door; According to the closing information of the last closed door, the locking area is adjusted in real time to determine the locking area of the vehicle; Detecting whether there is a key signal in the locking area; When it is detected that there is a key signal in the locking area, the position of the key signal is monitored, and when it is detected that the key signal leaves the locking area, the vehicle is automatically locked.
2. The method according to claim 1, characterized in that The door closing information at least includes: the time taken for the door to close; and determining the locking area of the vehicle according to the door closing information of the last closed door specifically includes: The locking area of the vehicle is determined according to the closing time consumed by the last closed door.
3. The method according to claim 1, characterized in that The detecting whether there is a key signal in the locking area specifically includes: Within a preset time interval, detecting whether the key signal exists in the locking area according to a preset detection frequency.
4. The method according to claim 1, characterized in that: After detecting whether there is a key signal in the locking area, the method further includes: When it is detected that the key signal does not exist in the locking area, key signal detection is performed according to a preset detection range; the preset detection range is larger than the locking area; If the key signal does not exist within the preset detection range, the vehicle is automatically locked.
5. The method according to claim 1, characterized in that The determining of the locking area of the vehicle includes: detecting whether the key signal is present in the cab of the vehicle; If the key signal does not exist in the cab of the vehicle, adjusting the locking area; If the key signal is present in the cab of the vehicle, the current locking zone is maintained.
6. The method according to claim 1, characterized in that When all the vehicle doors and the vehicle system power supply are in the closed state, before obtaining the closing information of the last closed door, the method further includes: Obtaining the maximum closing travel of all doors of the vehicle; The locking area is determined according to the maximum closing travel of all the doors of the vehicle.
7. A device for controlling automatic locking of a vehicle, characterized in that: include: Acquisition module: used for acquiring closing information of the last closed door when all doors of the vehicle and the power supply of the vehicle system are in the closed state; An adjustment module, configured to adjust the locking area in real time according to the closing information of the last closed door, so as to determine the locking area of the vehicle; A first detection module, used to detect whether there is a key signal in the locking area; The locking module is used to automatically lock the vehicle when a key signal is detected in the locking area and when the key signal leaves the locking area.
8. The device according to claim 7, characterized in that The closing information at least includes: the door closing time; the adjustment module is specifically used to: The locking area of the vehicle is determined according to the closing time consumed by the last closed door.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the method for controlling automatic locking of a vehicle according to any one of claims 1 to 6.
10. A vehicle, characterized in that: include: A vehicle automatic locking controller, wherein the vehicle automatic locking controller is used to execute the method for controlling vehicle automatic locking according to any one of claims 1 to 6.
