Vehicle automatic locking control method, device and equipment and storage medium
By comprehensively judging the door status and key position changes, the car lock control system solves the problem of mis-locking when the driver leaves the car for a short time, and realizes automatic locking after the driver leaves the car, improving the safety of the vehicle and items inside the car.
Patent Information
- Application Number
- CN202410829166.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
AI Technical Summary
Existing car locking systems may misjudge that the driver has left the vehicle when he briefly leaves the vehicle but does not leave completely, causing the vehicle to be mislocked or unable to be locked in time, posing safety risks to the driver and items in the vehicle.
By comprehensively judging the status of the door, the position of the key, and the length of stay and migration changes in the preset area outside the car, we can accurately determine whether the driver has left the car, and automatically lock the vehicle after confirming that he has left the car to avoid mis-locking and protect the vehicle or vehicle. The safety of the contents inside.
It avoids accidental locking when the driver briefly leaves the vehicle to ensure driver safety, and automatically locks the door when another person fails to close the door in time after the driver leaves the vehicle, improving the safety of the vehicle and items inside the vehicle.
Smart Images

Figure CN118629111A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle automatic locking control method, device, equipment and storage medium. Background Art
[0002] With the development of science and technology, people are paying more and more attention to the safety and convenience of cars. Among them, the car lock control system is an important part of car safety. It controls the opening and closing of the car door to ensure the safety of the vehicle and the items in the car. At the same time, multi-scenario intelligent judgment technology has also been widely used in the field of car safety. In addition to manual locking operation, the current automatic locking when leaving the car is usually achieved by checking the position of the key after the car door is closed, which may lead to misjudgment in some cases. (1) When the driver leaves the car first and the other person leaves the car later and fails to close the door in time, the system may not be able to lock the car, which may cause safety problems for the vehicle or the items in the car; (2) When the driver only leaves the vehicle for a short time and then returns, the second key detection cannot be performed in time. The system may mistakenly believe that the driver has left the car and lock the car, which will cause inconvenience to the driver.
[0003] Therefore, how to avoid accidental locking of vehicles and ensure property safety is a technical problem that urgently needs to be solved. Summary of the invention
[0004] The main purpose of the present invention is to provide a vehicle automatic locking control method, device, equipment and storage medium, which can accurately determine whether the driver has left the vehicle when the driver leaves the vehicle briefly but not completely, thereby avoiding accidental locking of the vehicle, and can automatically lock the vehicle when another person leaves the vehicle later and fails to close the door in time after the driver leaves the vehicle, thereby ensuring the safety of the vehicle or the items in the vehicle.
[0005] In a first aspect, the present application provides a vehicle automatic locking control method, wherein the method comprises the steps of:
[0006] Comprehensively determine whether the user has left the car based on the status of the car door, the location of the last key that left the car, the length of time the key stayed in the preset area outside the car, and the migration changes;
[0007] When it is determined that the user has left the vehicle, the vehicle is controlled to automatically lock.
[0008] In combination with the first aspect, as an optional implementation, based on the detected door signal, determining whether any door is in an open state;
[0009] Based on the signal transmitted by the key radio frequency antenna, determine the location of the last key that left the vehicle as being inside or outside the vehicle;
[0010] Determine whether the length of time the key stays in a preset area outside the vehicle is less than a maximum time for the key to leave a first preset area near the vehicle and reach a second preset area;
[0011] When the key moves from the first preset area to the second preset area, the migration state flag of the key is set to 1;
[0012] If any door is detected to be in the open state, the location of the last key that left the vehicle is detected;
[0013] If it is detected that the key is outside the vehicle, determining whether the length of time the key stays in the preset area is less than the maximum length of time the key moves from the first preset area to the second preset area and whether the migration status flag of the key is set to 1;
[0014] If yes, it is determined that the user leaves the car.
[0015] In combination with the first aspect above, as an optional implementation method, when it is detected that all the vehicle doors are in a closed state, it is detected that the last key to leave the vehicle is outside the vehicle and the migration status mark position is 1, then it is determined that the user has left the vehicle.
[0016] In combination with the first aspect above, as an optional implementation method, if any vehicle door is opened, and it is detected that the last key that left the vehicle stayed for less than the maximum time, and the last key that left the vehicle moved from the first preset area to the second preset area and then moved to the first preset area again, the stored key-out flag will be cleared to 0, and automatic locking when leaving the vehicle will not be triggered.
[0017] In combination with the first aspect above, as an optional implementation method, if the stay duration is greater than or equal to the maximum duration, and it is detected that the last key to leave the vehicle is in a preset area, the automatic locking when leaving the vehicle will not be triggered.
[0018] In combination with the first aspect above, as an optional implementation method, if any type of key is detected in the vehicle, the automatic locking when leaving the vehicle will not be activated. Any type of key includes: Bluetooth key and smart key.
[0019] In combination with the first aspect above, as an optional implementation method, after the vehicle is powered off, when it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is lost, the instrument screen prompts that the vehicle-leaving locking function is invalid and the Bluetooth key has been disconnected;
[0020] When it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is not lost, or when it is detected that the Bluetooth key and the smart key exist at the same time, and when it is detected that there is no key in the vehicle and the last key to leave the vehicle is outside the vehicle, the exit locking function is triggered.
[0021] In a second aspect, the present application provides a vehicle automatic locking control device, the device comprising:
[0022] A processing module, which is used to comprehensively determine whether the user has left the vehicle based on the state of the vehicle door, the location of the last key that left the vehicle, the length of time the user stayed in a preset area outside the vehicle, and the migration changes;
[0023] The control module is used to control the vehicle to automatically lock when it is determined that the user has left the vehicle.
[0024] In a third aspect, the present application further provides an electronic device, comprising: a processor; a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method described in any one of the first aspects is implemented.
[0025] In a fourth aspect, the present application further provides a computer-readable storage medium storing computer program instructions, which, when executed by a computer, enables the computer to execute any of the methods described in the first aspect.
[0026] The present application provides a vehicle automatic locking control method, device, equipment and storage medium, wherein the method includes the steps of: comprehensively judging whether the user has left the vehicle based on the state of the vehicle door, the location of the last key that left the vehicle, the length of time the user stayed in a preset area outside the vehicle, and the migration changes; when it is determined that the user has left the vehicle, controlling the vehicle to automatically lock. The present application can accurately judge whether the driver has left the vehicle when the driver has left the vehicle briefly but not completely, thereby avoiding accidental locking of the vehicle, and can automatically lock the vehicle when another person leaves the vehicle late after the driver leaves the vehicle and fails to close the door in time, thereby ensuring the safety of the vehicle or items inside the vehicle.
[0027] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0029] Figure 1 A flow chart of a vehicle automatic locking control method provided in an embodiment of the present application;
[0030] Figure 2 A schematic diagram of a vehicle automatic locking control device provided in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of the vehicle automatic locking control provided in an embodiment of the present application;
[0032] Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present application;
[0033] Figure 5 A schematic diagram of a computer-readable program medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0035] Furthermore, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the blocks shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities.
[0036] The embodiments of the present application provide a vehicle automatic locking control method, device, equipment and storage medium, which can accurately determine whether the driver has left the vehicle when the driver has temporarily left the vehicle but has not completely left the vehicle, thereby avoiding accidental locking of the vehicle, and can automatically lock the vehicle when another person leaves the vehicle later and fails to close the door in time after the driver leaves the vehicle, thereby ensuring the safety of the vehicle or items inside the vehicle.
[0037] In order to achieve the above technical effects, the general idea of this application is as follows:
[0038] A vehicle automatic locking control method, the method comprising the steps of:
[0039] S101: Comprehensively determine whether the user has left the vehicle based on the state of the vehicle door, the location of the last key used to leave the vehicle, the length of time the user has stayed in a preset area outside the vehicle, and migration changes.
[0040] S102: When it is determined that the user has left the vehicle, the vehicle is controlled to be automatically locked.
[0041] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0042] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of a vehicle automatic locking control method provided by the present invention, as shown in FIG. Figure 1 As shown, the method comprises the steps of:
[0043] Step S101: Comprehensively determine whether the user has left the vehicle based on the state of the vehicle door, the location of the last key used to leave the vehicle, the length of time the key has stayed in a preset area outside the vehicle, and the migration changes.
[0044] Specifically, based on the detected door signal, determining whether any door is in an open state;
[0045] Based on the signal transmitted by the key radio frequency antenna, determine the location of the last key that left the vehicle as being inside or outside the vehicle;
[0046] Determine whether the length of time the key stays in a preset area outside the vehicle is less than a maximum time for the key to leave a first preset area near the vehicle and reach a second preset area;
[0047] When the key moves from the first preset area to the second preset area, the migration state flag of the key is set to 1;
[0048] If any door is detected to be in the open state, the location of the last key that left the vehicle is detected;
[0049] If the key is detected outside the vehicle, determine whether the key's stay time in the preset area is less than the maximum time for the key to move from the first preset area to the second preset area and whether the key's migration status flag is set to 1; if so, determine that the user has left the vehicle.
[0050] For ease of understanding, an example is given. When the driver leaves with the key (opens the main driver's door and leaves and closes the door), and another person opens the tailgate / any other door, a key detection is performed and a timing judgment is started. If the key is detected to be outside the car, it is determined whether the key's stay time in the preset area is less than the maximum time for the key to move from the first preset area to the second preset area and whether the key's migration status flag is set to 1; if so, it is determined that the user has left the car.
[0051] Among them, the door judgment is: tailgate: TrunkSt; left front door: LFDoorSwitchSt; right front door: RFDoorSwitchSt; right rear door: RRDoorSwitchSt; left rear door: LRDoorSwitchSt.
[0052] In one embodiment, when it is detected that all vehicle doors are in a closed state, it is detected that the last key to leave the vehicle is outside the vehicle and the transition status flag position is 1, then it is determined that the user has left the vehicle.
[0053] For example, when the driver leaves the vehicle and all five doors are closed, the key detection is performed: the last key is outside the vehicle and the key moves from the effective area outside the vehicle to the invalid area, and the vehicle is driven to lock the entire vehicle. It can be understood that the driver gets out of the vehicle with the key and closes the door. At this time, the main driver's door + passenger door + left rear door + right rear door + tailgate are all closed, which will trigger the vehicle to lock.
[0054] In one embodiment, if any vehicle door is opened and it is detected that the last key that left the vehicle stayed for less than the maximum time, and the last key that left the vehicle moved from the first preset area to the second preset area and then moved to the first preset area again, the stored key-out flag will be cleared to 0, and automatic locking when leaving the vehicle will not be triggered.
[0055] For easy understanding, an example is given. When the driver leaves with the key (opens the main driver's door and leaves the car), and another person opens the tailgate / any other door, the key detection is performed and the timing judgment begins. If the key moves from the valid area to the invalid area and the owner returns to the valid area again during the timing of the stay time < Tmax (Tmax is the maximum time for judging the key signal leaving the valid area near the car), the stored leaving key flag is cleared to 0. Automatic locking when leaving the car is not triggered.
[0056] In one embodiment, if the dwell time is greater than or equal to the maximum time, and the last key used to leave the vehicle is detected to be in a preset area, automatic locking when leaving the vehicle will not be triggered.
[0057] For ease of understanding, an example is given. When the stay time t≥Tmax, if the owner does not leave with the last key and the key is always in the valid area, the automatic locking when leaving the car will not be triggered.
[0058] It should be explained that the first preset area can be understood as a valid area, and the second preset area can be understood as an invalid area, wherein the valid area and the invalid area can be set according to the requirements. In addition, it should be noted that both the Bluetooth key and the physical smart key can be taken out of the vehicle. The last key to leave the vehicle can be a Bluetooth key or a physical smart key. Here is an example to facilitate understanding of the last key to leave the vehicle. After the vehicle is powered off, when it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is lost, the instrument screen prompts that the vehicle locking function is invalid and the Bluetooth key has been disconnected. At this time, the Bluetooth key is unavailable, but the physical smart key can be taken out of the vehicle, which is the last key. When the vehicle is detected to have only one Bluetooth key and the Bluetooth key is not lost or the Bluetooth key and the smart key are detected to exist at the same time, in other words, after the Bluetooth and physical smart keys are detected outside the vehicle, the valid area of the key is determined. If both keys are in the valid area, the key will not be locked. If both are in the invalid area, the key will be locked. However, if one is in the valid area and the other is in the invalid area, the key in the valid area is the last key. That is, if both are outside the car, the keys have a sequence of leaving, and the physical key validity can be identified by the key quantity and Bluetooth key validity. The key validity will become invalid when it leaves, and the key quantity signal will change at the same time.
[0059] In one embodiment, it is detected that the key is outside the vehicle (by transmitting a signal through the key radio frequency antenna) (signal description PEPS_KeyPosition-0: no input; 1: key is inside the vehicle; 2: key is not inside the vehicle). And the key moves from the effective area beside the vehicle to the invalid area (signal description PEPS_WalkLockStatus-0: walk-away lock not triggered 1: walk-away lock status 1 (3m away); 2: walk-away lock status 2 (5m away) KeyAroundJudgeSt-key status judgment: 1, key is near the vehicle (calibrated 2m), 2, key is not near the vehicle (calibrated>2m))
[0060] (1) The driver leaves the vehicle with the key for a short time but does not leave completely - the PEPS_KeyPosition signal is 2; the PEPS_WalkLockStatus signal is 0; and the KeyAroundJudgeSt signal is 1. It can be understood that the problem of avoiding misjudgment that the driver has left the vehicle and locking the vehicle when the driver leaves the vehicle for a short time but does not leave completely, thereby causing inconvenience to the driver, is solved.
[0061] (2) When the driver leaves the vehicle, the vehicle lock flag WalkStatusFlag is judged (PEPS_KeyPosition-2; PEPS_WalkLockStatus is 1 / 2), and the flag WalkStatusFlag is recorded as 1. When the last of the five doors is closed, the vehicle locks. When the driver returns to the valid area with the key and WalkStatusFlag=0, the vehicle cannot be locked. This solves the problem of automatically locking the vehicle or the items in the vehicle when the driver leaves the vehicle and another person leaves the vehicle late and fails to close the door in time.
[0062] (3) Judgment of the presence of multiple keys or multiple types of keys (including mobile Bluetooth and smart keys): Key information PEPS_KeyLessCodeNum-0: nokeylessoperation; 1: keyless1; 2: keyless2; 3: keyless3; 4: keyless4; 5: keyless5. Smart key validity: PEPS_ValidUIDFlg. Bluetooth key validity: DKM_BLEKeySigValid. This solves the problem of avoiding the accidental triggering of the vehicle lock function when there are multiple keys or multiple types of keys (including mobile Bluetooth and smart keys).
[0063] When the vehicle has multiple / multiple types of keys: PEPS_KeyLessCodeNum>1; when the smart key exists, synchronize: smart key validity=1; when the Bluetooth key exists: DKM_BLEKeySigValid=1, otherwise, the validity is 0. When it is detected that any key is in the car before leaving the car or any key is near the car, the lock will not be performed. When there is no key in the car, and there is only one key near the car, the lock will be judged when leaving the car.
[0064] In one embodiment, if any type of key is detected in the vehicle, the vehicle exit automatic locking is not activated, and any type of key includes: a Bluetooth key and a smart key.
[0065] In one embodiment, after the vehicle is powered off (for a sensor-start vehicle, the vehicle is powered off by pressing SSB. For a sensorless start vehicle, the vehicle is powered off by opening the door, getting out of the vehicle, locking the vehicle, or clicking the IVI on the central control screen to power off), if it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is lost, the instrument screen prompts that the vehicle-leaving locking function is invalid and the Bluetooth key has been disconnected (PEPS_KeyLessCodeNum=1, DKM_BLEKeySigValid=1);
[0066] When it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is not lost, or when it is detected that the Bluetooth key and the smart key exist at the same time, and when it is detected that there is no key in the vehicle and the last key to leave the vehicle is outside the vehicle, the exit locking function is triggered.
[0067] Step S102: When it is determined that the user leaves the vehicle, the vehicle is controlled to be automatically locked.
[0068] It can be understood that based on the door switch state, the position and migration changes of the key, and the time the key is outside the car, it is accurately determined whether the driver has left the car. When it is confirmed that the driver has left the car, the entire vehicle is driven to lock.
[0069] Reference Figure 2 , Figure 2 FIG. 1 is a schematic diagram of a vehicle automatic locking control device provided by the present invention, such as Figure 2 As shown, the device comprises:
[0070] Processing module 201: It is used to comprehensively determine whether the user has left the vehicle based on the state of the vehicle door, the location of the last key that left the vehicle, the length of time the user stayed in a preset area outside the vehicle, and the migration changes.
[0071] The control module 202 is used to control the vehicle to automatically lock when it is determined that the user has left the vehicle.
[0072] Furthermore, in a possible implementation manner, the processing module is further configured to determine whether any door is in an open state based on the detected door signal;
[0073] Based on the signal transmitted by the key radio frequency antenna, determine the location of the last key that left the vehicle as being inside or outside the vehicle;
[0074] Determine whether the length of time the key stays in a preset area outside the vehicle is less than a maximum time for the key to leave a first preset area near the vehicle and reach a second preset area;
[0075] When the key moves from the first preset area to the second preset area, the migration state flag of the key is set to 1;
[0076] If any door is detected to be in the open state, the location of the last key that left the vehicle is detected;
[0077] If it is detected that the key is outside the vehicle, determining whether the length of time the key stays in the preset area is less than the maximum length of time the key moves from the first preset area to the second preset area and whether the migration status flag of the key is set to 1;
[0078] If yes, it is determined that the user leaves the car.
[0079] Furthermore, in a possible implementation manner, the processing module is also used to detect that the last key to leave the vehicle is outside the vehicle and the migration status flag position is 1 when it is detected that all vehicle doors are in a closed state, and then determine that the user has left the vehicle.
[0080] Furthermore, in a possible implementation, the processing module is also used to clear the stored key-out flag to 0 if any vehicle door is opened and it is detected that the last key that left the vehicle stayed for less than the maximum time, and after the last key that left the vehicle moved from the first preset area to the second preset area and then moved to the first preset area again, and automatic locking when leaving the vehicle is not triggered.
[0081] Furthermore, in a possible implementation manner, the processing module is also used to not trigger automatic locking when leaving the vehicle if the stay duration is greater than or equal to the maximum duration and it is detected that the last key leaving the vehicle is in a preset area.
[0082] Furthermore, in a possible implementation manner, the processing module is also used to not activate the vehicle leaving automatic locking if any type of key is detected in the vehicle, and any type of key includes: a Bluetooth key and a smart key.
[0083] Furthermore, in a possible implementation manner, the processing module is also used for prompting through the instrument screen that the vehicle-leaving locking function is invalid and the Bluetooth key has been disconnected after the vehicle is powered off, when it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is lost;
[0084] When it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is not lost, or when it is detected that the Bluetooth key and the smart key exist at the same time, and when it is detected that there is no key in the vehicle and the last key to leave the vehicle is outside the vehicle, the exit locking function is triggered.
[0085] Reference Figure 3 , Figure 3 FIG. 1 is a schematic diagram of the vehicle automatic locking control provided by the present invention, as shown in FIG. Figure 3 As shown:
[0086] After the vehicle is powered off, if it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is lost, the instrument screen will prompt that the vehicle lock function is invalid and the Bluetooth key has been disconnected;
[0087] When it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is not lost, or when it is detected that the Bluetooth key and the smart key exist at the same time, and when it is detected that there is no key in the vehicle and the last key to leave the vehicle is outside the vehicle, the exit locking function is triggered.
[0088] If any door is detected to be in the open state, the location of the last key that left the vehicle is detected;
[0089] If it is detected that the key is outside the vehicle, it is determined whether the length of time the key stays in the preset area is less than the maximum length of time the key moves from the first preset area to the second preset area and whether the key migration status flag is set to 1; if so, it is determined that the user has left the vehicle, and then when all the doors are closed, the vehicle is automatically locked, and the key migration status flag is cleared to 0 and stored.
[0090] If any door is opened, and the last key leaving the car is detected to have a stay time shorter than the maximum time, and the last key leaving the car moves from the first preset area to the second preset area and then moves to the first preset area again, the stored key leaving car flag will be cleared to 0, and the automatic locking of the car will not be triggered. If the stay time is greater than or equal to the maximum time, and the last key leaving the car is detected to be in the preset area, the automatic locking of the car will not be triggered.
[0091] When it is detected that all the doors are in the closed state, it is detected that the last key to leave the car is outside the car and the migration state flag position is 1, it is determined that the user has left the car.
[0092] Refer to the following Figure 4 An electronic device 400 according to this embodiment of the present invention will be described. Figure 4 The electronic device 400 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0093] like Figure 4As shown, the electronic device 400 is in the form of a general computing device. The components of the electronic device 400 may include but are not limited to: at least one processing unit 410, at least one storage unit 420, and a bus 430 connecting different system components (including the storage unit 420 and the processing unit 410).
[0094] The storage unit stores program codes, which can be executed by the processing unit 410, so that the processing unit 410 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.
[0095] The storage unit 420 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 421 and / or a cache memory unit 422 , and may further include a read-only memory unit (ROM) 423 .
[0096] The storage unit 420 may also include a program / utility 424 having a set (at least one) of program modules 425, such program modules 425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0097] Bus 430 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0098] The electronic device 400 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 400, and / or communicate with any device that enables the electronic device 400 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 450. Furthermore, the electronic device 400 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 460. As shown, the network adapter 460 communicates with other modules of the electronic device 400 via a bus 430. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0099] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0100] According to the solution of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present invention described in the above "Exemplary Method" section of the present specification.
[0101] refer to Figure 5 As shown, a program product 500 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0102] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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.
[0103] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0104] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0105] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0106] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0107] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
[0108] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
Claims
1. A vehicle automatic locking control method, characterized in that: include: Comprehensively determine whether the user has left the vehicle based on the status of the vehicle door, the location of the last key that left the vehicle, the length of time the key stayed in the preset area outside the vehicle, and the migration changes; When it is determined that the user has left the vehicle, the vehicle is controlled to automatically lock.
2. The method according to claim 1, characterized in that The method of comprehensively judging whether the user has left the vehicle based on the state of the vehicle door, the location of the last key that left the vehicle, the length of time the user stayed in a preset area outside the vehicle, and the migration changes includes: Determine whether any door is in an open state based on the detected door signal; Based on the signal transmitted by the key radio frequency antenna, determine the location of the last key that left the vehicle as being inside or outside the vehicle; Determine whether the length of time the key stays in a preset area outside the vehicle is less than a maximum time for the key to leave a first preset area near the vehicle and reach a second preset area; When the key moves from the first preset area to the second preset area, the migration state flag of the key is set to 1; If any door is detected to be in the open state, the location of the last key to leave the vehicle is detected; If it is detected that the key is outside the vehicle, determining whether the length of time the key stays in the preset area is less than the maximum length of time the key moves from the first preset area to the second preset area and whether the migration status flag of the key is set to 1; If yes, it is determined that the user leaves the car.
3. The method according to claim 2, characterized in that Also includes: When it is detected that all the doors are in the closed state, it is detected that the last key to leave the car is outside the car and the migration state flag position is 1, it is determined that the user has left the car.
4. The method according to claim 2, characterized in that: Also includes: If any door is opened and it is detected that the last key that left the car stayed for less than the maximum time, and the last key that left the car moved from the first preset area to the second preset area and then moved to the first preset area again, the stored key-out flag will be cleared to 0 and automatic locking will not be triggered.
5. The method according to claim 4, characterized in that Also includes: If the stay time is greater than or equal to the maximum time, and the last key leaving the vehicle is detected to be in the preset area, the automatic locking of the vehicle will not be triggered.
6. The method according to claim 1, characterized in that Also includes: If any type of key is detected in the car, the automatic locking when leaving the car will not be activated. Any type of key includes: Bluetooth key and smart key.
7. The method according to claim 1, characterized in that Also includes: After the vehicle is powered off, if it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is lost, the instrument screen will prompt that the vehicle lock function is invalid and the Bluetooth key has been disconnected; When it is detected that the vehicle has only one Bluetooth key and the Bluetooth key is not lost, or when it is detected that the Bluetooth key and the smart key exist at the same time, and when it is detected that there is no key in the vehicle and the last key to leave the vehicle is outside the vehicle, the exit locking function is triggered.
8. A vehicle automatic locking control device, characterized in that: include: A processing module, which is used to comprehensively determine whether the user has left the vehicle based on the state of the vehicle door, the location of the last key that left the vehicle, the length of time the user stayed in a preset area outside the vehicle, and the migration changes; The control module is used to control the vehicle to automatically lock when it is determined that the user has left the vehicle.
9. An electronic device, characterized in that: The electronic device comprises: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer program instructions are stored therein, and when the computer program instructions are executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Vehicle control method and system and vehicle
CN104442706A
Method and system for automatically locking vehicle and reminding user and vehicle
CN108986266A
Vehicle departure automatic locking control device and method. and vehicle
CN112477804A
Vehicle unlocking and locking method based on Bluetooth, electronic equipment and storage medium
CN116061876A
Cited By
Vehicle exit identification method and apparatus, electronic device and storage medium
WO2026076957A1
