Intelligent key off-car locking method, device and equipment and storage medium
By detecting the status of the car door and the position of the car key, if the key is in an invalid area, the lock will be dropped, which solves the problem of not being able to leave the car lock during the closing of the back door, and improves the success rate and user experience of leaving the car lock.
Patent Information
- Application Number
- CN202411532285.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing off-car lock function cannot be effectively triggered during the closing of the back door, resulting in poor user experience and may cause the vehicle to repeatedly unlock and lock.
By obtaining the status of the car door, including the status of the side door and the back door, the position of the car key is detected. If the key position is in the invalid area, the vehicle lock will be controlled. The specific steps include recording the number of detections, and if the preset number is reached, it is determined that the key position is invalid, and then the lock is locked.
It effectively solves the problem of not being able to leave the lock when the back door is closed, reduces the probability of accidentally falling lock, improves the success rate of leaving the lock, and improves the user experience and vehicle safety.
Smart Images

Figure CN119502854A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a method, device, equipment and storage medium for locking a vehicle with an intelligent key. Background Art
[0002] Leave-and-leave locking (also known as automatic leave-and-leave locking) is a modern car safety feature that uses distance sensing technology to automatically lock the vehicle when the driver leaves the vehicle with the smart key and the vehicle detects that the distance between the key and the vehicle exceeds a preset threshold.
[0003] With the current leave-and-lock function, if the user walks away with the key while the tailgate is closing, the leave-and-lock scenario will not be triggered. If the user walks around the vehicle with the key after all five doors are closed but does not move away from the vehicle, the leave-and-lock and approach-and-unlock scenarios may be triggered, causing the vehicle to be repeatedly unlocked and locked, resulting in a poor user experience.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a method, device, equipment and storage medium for locking a vehicle with an intelligent key, aiming to solve the problem that a back door cannot be locked when the back door is closed.
[0006] To achieve the above object, the present invention provides a method for locking a vehicle when a smart key leaves the vehicle, the method comprising the following steps:
[0007] Obtaining a door status, wherein the door status includes a side door status and a back door status;
[0008] When the state of the side door and the state of the back door meet the vehicle key detection condition, detecting the position of the vehicle key;
[0009] When it is detected that the vehicle key is located in an invalid key area, the vehicle is controlled to be locked.
[0010] In one embodiment, when the vehicle key is detected to be in an invalid key area, the step of controlling the vehicle to lock includes:
[0011] When it is detected that the position of the vehicle key moves from any one of the unlocking area, the welcome area, and the invalid area to a preset area, the detection number is recorded, and the preset area is an area where the position of the vehicle key cannot be detected;
[0012] When the number of detections reaches a preset number of times, it is determined that the vehicle key is in an invalid key area, and the vehicle is locked.
[0013] In one embodiment, when the vehicle key is detected to be in an invalid key area, the step of controlling the vehicle to lock includes:
[0014] Obtaining a first preset timing duration;
[0015] When the position of the vehicle key is continuously detected within the first preset timing time, detecting whether the position of the vehicle key is in an invalid key area;
[0016] When it is detected that the vehicle key position is not in the invalid key area, the vehicle key position detection process is exited.
[0017] In one embodiment, after the step of detecting whether the position of the vehicle key is in an invalid key area, the method further includes:
[0018] When it is detected that the vehicle key is located in the invalid key area, obtaining a second preset timing duration;
[0019] When it is continuously detected that all the current vehicle doors are in the closed state within the second preset timing time, the vehicle is controlled to be locked.
[0020] In one embodiment, when the state of the side door and the state of the back door meet the car key detection condition, the step of detecting the position of the car key includes:
[0021] When the side door is in a closed state, determining whether the back door is in a closed state;
[0022] When the back door is in the closing process or in the closed state, it is determined that the side door state and the back door state meet the vehicle key detection condition, and the vehicle key position is detected.
[0023] In one embodiment, when the state of the side door and the state of the back door meet the car key detection condition, the step of detecting the position of the car key includes:
[0024] When the back door is in the closing process, detecting the state of each side door;
[0025] When the state of each side door is that the last door of the four doors enters the closed state, it is determined that the state of the side door and the state of the back door meet the vehicle key detection condition, and the position of the vehicle key is detected.
[0026] In one embodiment, the step of determining whether the back door is in a closed state comprises:
[0027] Acquire a percentage signal of the back door position, determine a sampling period according to the percentage signal of the back door position, and acquire the position signal of the back door based on the sampling period;
[0028] When it is detected that the position signal of the back door is decreasing within consecutive preset sub-sampling periods, determining that the back door is in the closing process;
[0029] When it is detected that the position signal of the back door remains unchanged within consecutive preset sub-sampling periods, it is determined that the back door is in a closed state.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also proposes a smart key vehicle locking device, the device comprising:
[0031] A door status acquisition module, used to acquire the door status, wherein the door status includes the side door closed status and the back door status;
[0032] A vehicle key position acquisition module, used for detecting the vehicle key position when the side door state and the back door state meet the vehicle key detection condition;
[0033] The vehicle locking module is used to control the vehicle locking when it is detected that the vehicle key is in an invalid key area.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also proposes a smart key vehicle locking device, the device comprising: a memory, a processor, and a smart key vehicle locking program stored in the memory and executable on the processor, the smart key vehicle locking program being configured to implement the steps of the smart key vehicle locking method as described above.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a smart key leaving the vehicle and locking program is stored. When the smart key leaving the vehicle and locking program is executed by a processor, the steps of the smart key leaving the vehicle and locking method as described above are implemented.
[0036] One or more technical solutions proposed in this application have at least the following technical effects:
[0037] Get the door status, which includes the side door closed status and the back door status; detect the vehicle key position when the side door status and the back door status meet the vehicle key detection conditions; control the vehicle to lock when it is detected that the vehicle key position is in the invalid key area, while reducing the probability of accidental locking and improving the success rate of leaving the vehicle to lock the vehicle, so that the vehicle's leaving the vehicle to lock the vehicle has a better experience and safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0040] Figure 1 A flowchart of a first embodiment of a method for locking a vehicle with a smart key when leaving the vehicle;
[0041] Figure 2 A vehicle unlocking area map provided for the first embodiment of the method for locking a vehicle with a smart key when leaving the vehicle;
[0042] Figure 3 A flow chart of the second embodiment of the method for locking a vehicle with a smart key when leaving the vehicle;
[0043] Figure 4 A flowchart diagram of the third embodiment of the method for locking a vehicle with a smart key when leaving the vehicle;
[0044] Figure 5 This is a schematic diagram of the module structure of the smart key leaving the vehicle locking device according to an embodiment of the present application;
[0045] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the method for locking the vehicle with a smart key in an embodiment of the present application.
[0046] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0048] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0049] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a smart key vehicle locking device (vehicle computer), etc. The following takes the smart key vehicle locking device as an example to illustrate this embodiment and the following embodiments.
[0050] Based on this, the embodiment of the present application provides a method for locking a vehicle with a smart key, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for locking a vehicle when a smart key leaves the vehicle.
[0051] In this embodiment, the method for locking the vehicle with the smart key includes steps S10 to S30:
[0052] Step S10, obtaining the door status, which includes the side door status and the back door status;
[0053] It should be noted that the above-mentioned side door status can be any of the side door being in the closed state, open state, closing process and opening process, and the above-mentioned back door status can be any of the back door being in the closed state, open state, closing process and opening process.
[0054] Step S20, when the state of the side door and the state of the back door meet the vehicle key detection condition, detecting the position of the vehicle key;
[0055] It should be noted that the above-mentioned vehicle key detection conditions at least include:
[0056] When the four doors are closed and the tailgate is in the process of closing, the body domain controller drives the antenna to search for the key position;
[0057] When the last of the five doors is closed, the body domain controller drives the antenna to search for the key location;
[0058] When the tailgate is closing and the last of the four doors is closed, the body domain controller drives the antenna to search for the key position.
[0059] It should be understood that the above-mentioned car key position may refer to the area where the car key is located relative to the vehicle, including an unlocking area, a welcome area, a away area, and an invalid key area, such as Figure 2 shown.
[0060] In a feasible implementation, step S20 may include steps A11 to A12:
[0061] Step A11: when the side door is in the closed state, determining whether the back door is in the closed state;
[0062] Step A12: When the back door is in the process of closing or in the closed state, determine whether the side door state and the back door state meet the vehicle key detection condition, and detect the vehicle key position.
[0063] In a specific implementation, when the four doors are closed and the tailgate is in the process of closing, the body domain controller drives the antenna to search for the key position.
[0064] In another feasible implementation, step S30 may include steps A21 to A22:
[0065] Step A21: When the back door is in the closing process, detecting the status of each side door;
[0066] Step A22: When the state of each side door is in the last door of the four doors entering the closed state, determine whether the state of the side door and the state of the back door meet the vehicle key detection condition, and detect the position of the vehicle key.
[0067] In a specific implementation, when the tailgate is closing and the last of the four doors is closed, the body domain controller drives the antenna to search for the key position.
[0068] It should be understood that when the last of the five doors is closed, the body domain controller will also drive the antenna to search for the key position.
[0069] Furthermore, after the step of obtaining the position of the vehicle key, steps A31 to A32 are also included:
[0070] Step A31: When it is detected that the vehicle key position moves from the unlocking area to the welcome area, the vehicle is locked through a sound prompt;
[0071] In the specific implementation, when the car key moves from the unlocking area to the welcome area, the system will remind the driver through sound that the vehicle is about to be locked, which can ensure that the driver knows that the vehicle is safely locked when leaving the vehicle. For example, some models can activate the function of locking the car horn through the vehicle settings.
[0072] Step A32: When it is detected that the vehicle key position moves from the welcome area to the away area, the vehicle status information is transmitted to the user end, and the vehicle status information includes door closing information, window closing information and parking position information.
[0073] In the specific implementation, when the car key moves from the welcome area to the away area, the vehicle will transmit status information to the user. This status information may include door closing information, window closing information, and parking position information. Such a feedback mechanism allows the driver to still confirm the safety status of the vehicle after leaving the vehicle. For example, through the Internet of Vehicles technology, the vehicle can be connected to the cloud server in real time through the 4G / 5G network to realize the transmission and remote control of vehicle information.
[0074] Step S30, when it is detected that the vehicle key is in an invalid key area, the vehicle is locked.
[0075] It should be noted that the invalid key area means that when the body domain controller drives the antenna to search for the key position, the key position is not found for five consecutive times.
[0076] In a feasible implementation manner, step S30 may include steps A41 to A42:
[0077] Step A41: When it is detected that the position of the car key moves from any one of the unlocking area, the welcome area, and the invalid area to the preset area, the detection number is recorded, and the preset area is the area where the position of the car key cannot be detected;
[0078] In a specific implementation, the position change of the key from the unlocking area or the welcome area or the invalid area to the invalid key area is recorded, and the number of detections is also recorded.
[0079] Step A42: When the number of detections reaches a preset number, it is determined that the vehicle key is in an invalid key area, and the vehicle is locked.
[0080] If the key cannot be found for five consecutive times, the key position condition for leaving the vehicle and locking it is met, a vehicle locking command is issued, and the body domain controller drives the entire vehicle to lock.
[0081] The present embodiment provides a method for locking the vehicle when leaving the vehicle with a smart key, which obtains the door status, including the side door closed status and the back door status; when the side door status and the back door status meet the vehicle key detection conditions, the vehicle key position is detected; when it is detected that the vehicle key position is in an invalid key area, the vehicle is controlled to be locked, which reduces the probability of accidental locking and improves the success rate of locking the vehicle when leaving the vehicle, so that the vehicle's locking function when leaving the vehicle has a better experience and safety.
[0082] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , step S20 includes steps S201 to S203:
[0083] Step S201, obtaining a percentage signal of the back door position, determining a sampling period according to the percentage signal of the back door position, and obtaining a position signal of the back door based on the sampling period;
[0084] In the specific implementation, first obtain the percentage signal (0-100) of the back door position, and identify the change trend of the back door position signal in real time; detect the door status, lock status, power gear, vehicle settings, key position radio frequency signals, etc. in real time.
[0085] It should be noted that when detecting the movement status of the back door, assuming that the back door position signal sending period is 100ms and the software running period is 10ms, the software cannot simply identify the position change through the continuous change trend. At this time, the sampling period needs to be set to be greater than 100ms, such as 150ms, to detect the signal change more intuitively.
[0086] Step S202, when it is detected that the position signal of the back door is decreasing within a continuous preset sampling period, determining that the back door is in the closing process;
[0087] It should be noted that one sampling period may be 150 ms, and the preset sub-sampling period may be three sampling periods, that is, three consecutive sampling points.
[0088] In the specific implementation, the sampling period is set to 150ms, and a position signal of the back door is memorized. If the position signal decreases successively at three consecutive sampling points, it is considered that the back door is in the process of closing.
[0089] Furthermore, if the position signals are increasing in sequence at three consecutive sampling points, it is considered that the back door is being opened.
[0090] Step S203: when it is detected that the position signal of the back door remains unchanged within a continuous preset sub-sampling period, it is determined that the back door is in a closed state.
[0091] In a specific implementation, if the position signal remains unchanged for five consecutive sampling points, it is considered that the tailgate has stopped moving.
[0092] It should be noted that at this time, it is also necessary to determine the change in the signal before the position signal remains unchanged. If the signal increases, the back door is determined to be in the open state. If the signal decreases, the back door is determined to be in the closed state.
[0093] This embodiment provides a method for locking the vehicle when leaving the vehicle with a smart key, and after detecting the movement state of the back door, it is used as a judgment condition for locking the vehicle when leaving the vehicle. By processing three sampling points of 150ms, misidentification of the movement state of the back door can be effectively prevented.
[0094] Based on the first and second embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 4 , step S30 includes steps S301 to S303:
[0095] Step S301, obtaining a first preset timing duration;
[0096] It should be noted that due to the complex and changeable user usage scenarios, the vehicle can only be locked after the key position and five-door status are all met. Therefore, two timers, namely timer a and timer b, are added while waiting for the locking conditions to be met.
[0097] The first preset timing duration can be calibrated, such as five minutes.
[0098] Step S302, when the position of the car key is continuously detected within a first preset timing period, detecting whether the position of the car key is in an invalid key area;
[0099] It should be noted that when the conditions for entering and leaving the vehicle are met, the timer a (the time can be calibrated) is entered to continuously detect the key position within the specified time. If the key position meets the requirements and the five doors are closed, the vehicle is controlled to be locked;
[0100] Step S303, when it is detected that the vehicle key position is not in the invalid key area, exit the vehicle key position detection process.
[0101] It should be noted that if timer a times out, that is, if the vehicle key is detected to be in an invalid key area within the first preset timing period, the key position search process will be exited, and the vehicle can only be re-entered after meeting the conditions for leaving the vehicle and locking the vehicle.
[0102] In a specific implementation, if the specific location of the car key can still be detected after five minutes, the search process for the car key is canceled.
[0103] In a feasible implementation manner, step S301 may further include steps A51 to A52:
[0104] Step A51: when it is detected that the vehicle key is in an invalid key area, obtaining a second preset timing duration;
[0105] It should be noted that when the conditions for entering and locking the vehicle are met, the key position meets the locking conditions in timer a, but if the five doors are not completely closed at this time, timer b is entered (waiting for the five doors to be closed).
[0106] It should be noted that the second preset timing duration can be calibrated, such as five minutes or ten minutes.
[0107] Step A52: When it is continuously detected that all the doors are in the closed state within the second preset timing period, the vehicle is locked.
[0108] It should be noted that, within the timer b, when the five doors are closed, the vehicle is controlled to be locked; if the timer b times out and the five doors are not closed, the vehicle will not be locked.
[0109] In a specific implementation, if the specific location of the car key can still be detected after 10 minutes, the search process for the car key is canceled.
[0110] The present embodiment provides a method for locking the vehicle when the smart key is away from the vehicle. The system ensures that the vehicle key is not in the vehicle and all the doors are closed before performing the locking operation, thereby preventing the vehicle from being locked in an unsafe state. At the same time, the user does not have to wait for all the doors to be completely closed when leaving the vehicle. The system will automatically check and lock the vehicle in the background, thereby reducing the user's waiting time. Furthermore, if the user realizes that the door is not closed after leaving the vehicle, the system will not lock the vehicle immediately, giving the user a chance to return to the vehicle to make corrections. By setting a reasonable timer duration, the power consumed by the vehicle due to continuous detection of the key position can be reduced.
[0111] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method of locking the vehicle when the smart key leaves the vehicle. More simple changes based on this technical concept are all within the scope of protection of the present application.
[0112] This application also provides a smart key out of the car locking device, please refer to Figure 5 The smart key vehicle-leaving locking device comprises:
[0113] The vehicle door status acquisition module 10 is used to acquire the vehicle door status, which includes the side door closing status and the back door status;
[0114] A vehicle key position acquisition module 20, used to detect the vehicle key position when the side door state and the back door state meet the vehicle key detection conditions;
[0115] The vehicle locking module 30 is used to control the vehicle locking when it is detected that the vehicle key is in an invalid key area.
[0116] The smart key locking device for leaving the vehicle provided by the present application adopts the smart key locking method for leaving the vehicle in the above embodiment, which can solve the problem that the tailgate cannot be locked when leaving the vehicle during closing. Compared with the prior art, the beneficial effects of the smart key locking device for leaving the vehicle provided by the present application are the same as the beneficial effects of the smart key locking method for leaving the vehicle provided by the above embodiment, and other technical features of the smart key locking device for leaving the vehicle are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0117] In one embodiment, the vehicle locking module 30 is further used to record the number of detections when it is detected that the position of the vehicle key moves from any one of the unlocking area, the welcome area, and the invalid area to a preset area, where the preset area is an area where the position of the vehicle key cannot be detected;
[0118] When the number of detections reaches a preset number, it is determined that the vehicle key is in an invalid key area and the vehicle is locked.
[0119] In one embodiment, the vehicle locking module 30 is further used to obtain a first preset timing duration;
[0120] When the position of the vehicle key is continuously detected within a first preset timing period, detecting whether the position of the vehicle key is in an invalid key area;
[0121] When it is detected that the vehicle key position is not in the invalid key area, the vehicle key position detection process is exited.
[0122] In one embodiment, the vehicle locking module 30 is further used to obtain a second preset timing duration when it is detected that the vehicle key is in an invalid key area;
[0123] When it is continuously detected that all the doors are in the closed state within the second preset timing time, the vehicle is controlled to be locked.
[0124] In one embodiment, the vehicle key position acquisition module 20 is further used to determine whether the back door is in a closed state when the side door is in a closed state;
[0125] When the back door is in the closing process or in the closed state, it is determined that the side door state and the back door state meet the vehicle key detection condition, and the vehicle key position is detected.
[0126] In one embodiment, the vehicle key position acquisition module 20 is further used to detect the status of each side door when the back door is in the closing process; when the status of each side door is in the last door of the four doors entering the closed state, determine whether the side door status and the back door status meet the vehicle key detection conditions, and detect the vehicle key position.
[0127] In one embodiment, the vehicle key position acquisition module 20 is further used to acquire a percentage signal of the back door position, determine a sampling period according to the percentage signal of the back door position, and acquire the back door position signal based on the sampling period;
[0128] When it is detected that the position signal of the back door is decreasing within consecutive preset sampling periods, determining that the back door is in the closing process;
[0129] When it is detected that the position signal of the back door remains unchanged within consecutive preset sub-sampling periods, it is determined that the state of the back door is the closed state.
[0130] The present application provides a smart key vehicle locking device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the smart key vehicle locking method in the first embodiment.
[0131] Reference below Figure 6, which shows a schematic diagram of the structure of a smart key vehicle locking device suitable for implementing the embodiment of the present application. The smart key vehicle locking device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The smart key leaving the vehicle locking device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0132] like Figure 6 As shown, the smart key vehicle lock device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM) 1004. Various programs and data required for the operation of the smart key vehicle lock device are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 may allow the smart key-out-of-car locking device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a smart key-out-of-car locking device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.
[0133] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0134] The smart key vehicle locking device provided by the present application adopts the smart key vehicle locking method in the above embodiment, which can solve the problem that the back door cannot be locked when the back door is closed. Compared with the prior art, the beneficial effects of the smart key vehicle locking device provided by the present application are the same as the beneficial effects of the smart key vehicle locking method provided by the above embodiment, and other technical features of the smart key vehicle locking device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0135] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0136] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0137] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the method for locking a vehicle when a smart key leaves the vehicle in the above-mentioned embodiment.
[0138] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0139] The computer-readable storage medium may be included in the smart key vehicle-leaving locking device; or may exist independently without being assembled into the smart key vehicle-leaving locking device.
[0140] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the smart key vehicle-leaving locking device, the smart key vehicle-leaving locking device: obtains the door status, which includes the side door closed status and the back door status; detects the vehicle key position when the side door status and the back door status meet the vehicle key detection conditions; and controls the vehicle to be locked when it is detected that the vehicle key position is in an invalid key area.
[0141] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0142] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0143] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0144] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned smart key leaving the vehicle and locking method, and can solve the problem that the back door cannot be locked when leaving the vehicle during the closing process. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the smart key leaving the vehicle and locking method provided in the above-mentioned embodiment, and will not be repeated here.
[0145] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned smart key leaving the vehicle and locking the vehicle.
[0146] The computer program product provided by the present application can solve the problem that the back door cannot be locked when the back door is closed. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the smart key locking method provided by the above embodiment, which will not be repeated here.
[0147] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for locking a vehicle when a smart key leaves the vehicle, characterized in that: The method for locking the vehicle with a smart key comprises the following steps: Obtaining a door status, wherein the door status includes a side door status and a back door status; When the state of the side door and the state of the back door meet the vehicle key detection condition, detecting the position of the vehicle key; When it is detected that the vehicle key is located in an invalid key area, the vehicle is controlled to be locked.
2. The method for locking a vehicle when the smart key leaves the vehicle as claimed in claim 1, characterized in that: When the vehicle key is detected to be in an invalid key area, the step of controlling the vehicle to lock includes: When it is detected that the position of the vehicle key moves from any one of the unlocking area, the welcome area, and the invalid area to a preset area, the detection number is recorded, and the preset area is an area where the position of the vehicle key cannot be detected; When the number of detections reaches a preset number of times, it is determined that the vehicle key is in an invalid key area, and the vehicle is locked.
3. The method for locking a vehicle when the smart key leaves the vehicle as claimed in claim 1, characterized in that: When the vehicle key is detected to be in an invalid key area, the step of controlling the vehicle to lock includes: Obtaining a first preset timing duration; When the position of the vehicle key is continuously detected within the first preset timing time, detecting whether the position of the vehicle key is in an invalid key area; When it is detected that the vehicle key position is not in the invalid key area, the vehicle key position detection process is exited.
4. The method for locking a vehicle when the smart key leaves the vehicle as claimed in claim 3, characterized in that: After the step of detecting whether the vehicle key position is in the invalid key area, the method further includes: When it is detected that the vehicle key is located in the invalid key area, obtaining a second preset timing duration; When it is continuously detected that all the current vehicle doors are in the closed state within the second preset timing time, the vehicle is controlled to be locked.
5. The method for locking a vehicle when the smart key leaves the vehicle as claimed in claim 1, characterized in that: When the side door state and the back door state meet the vehicle key detection condition, the step of detecting the vehicle key position comprises: When the side door is in a closed state, determining whether the back door is in a closed state; When the back door is in the closing process or in the closed state, it is determined that the side door state and the back door state meet the vehicle key detection condition, and the vehicle key position is detected.
6. The method for locking a vehicle when the smart key leaves the vehicle as claimed in claim 1, characterized in that: When the side door state and the back door state meet the vehicle key detection condition, the step of detecting the vehicle key position includes: When the back door is in the closing process, the status of each side door is detected; when the status of each side door is in the last door of the four doors entering the closed state, it is determined that the side door status and the back door status meet the car key detection condition, and the car key position is detected.
7. The method for locking a vehicle when the smart key leaves the vehicle as claimed in claim 5, characterized in that: The step of determining whether the back door is in a closed state comprises: Acquire a percentage signal of the back door position, determine a sampling period according to the percentage signal of the back door position, and acquire the position signal of the back door based on the sampling period; When it is detected that the position signal of the back door is decreasing within consecutive preset sub-sampling periods, determining that the back door is in the closing process; When it is detected that the position signal of the back door remains unchanged within consecutive preset sub-sampling periods, it is determined that the back door is in a closed state.
8. A smart key leaving the vehicle locking device, characterized in that: The device comprises: A door status acquisition module, used to acquire the door status, wherein the door status includes the side door status and the back door status; A vehicle key position acquisition module, used for detecting the vehicle key position when the side door state and the back door state meet the vehicle key detection condition; The vehicle locking module is used to control the vehicle locking when it is detected that the vehicle key is in an invalid key area.
9. A smart key leaving the vehicle locking device, characterized in that: The device comprises: a memory, a processor, and a smart key locking program stored in the memory and executable on the processor, wherein the smart key locking program is configured to implement the steps of the smart key locking method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a smart key leaving the vehicle and locking program, and when the smart key leaving the vehicle and locking program is executed by the processor, the steps of the smart key leaving the vehicle and locking method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Vehicle welcome automatic unlocking function control method and system capable of avoiding feed of storage battery
CN115285063A
Vehicle control method and device and vehicle
CN118618258A
Automatic vehicle locking method and device and vehicle
CN118810682A
Keyless entry system
JP2004137667A
Cited By
Vehicle control method and device and vehicle
CN121121900A