Vehicle control methods, control devices, vehicles and storage media
By disabling the keyless unlocking function in vehicle mode or when the vehicle is locked, the problem of inaccurate positioning caused by Bluetooth signal interference is resolved, ensuring that the vehicle remains locked in specific states and improving vehicle security.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2025-06-06
- Publication Date
- 2026-06-30
Smart Images

Figure CN120462318B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicles, and more specifically, to a vehicle control method, control device, vehicle, and storage medium in the field of vehicles. Background Technology
[0002] With the development of vehicle technology, more and more smart car models are choosing digital key configurations. These devices connect to the vehicle's Bluetooth module via a mobile phone, using the digital key and Bluetooth signal positioning technology to achieve keyless unlocking and locking (i.e., the vehicle's target function). However, because the Bluetooth signal strength is easily affected by environmental interference, positioning can be inaccurate, impacting vehicle security. Therefore, improving vehicle security is a technical problem that needs to be solved. Summary of the Invention
[0003] This application provides a vehicle control method, control device, vehicle, and storage medium. The method can control the target function to be in a closed state when the vehicle mode is detected to be in a target mode or the vehicle lock state is in a target locked state. When the target function is in a closed state, if the terminal is detected to be in a preset area for keyless unlocking and locking, the keyless unlocking function will not be executed, but the vehicle will be kept in a locked state to improve vehicle security.
[0004] Firstly, a method for controlling a vehicle is provided, the method comprising:
[0005] If a user is detected inside the vehicle, obtain the vehicle mode and lock status;
[0006] If the vehicle mode is target mode or the vehicle lock status is target lock status, the target function is turned off. The target function includes keyless unlocking and keyless locking. The target lock status is used to indicate the lock status when the vehicle is running.
[0007] When the target function is off, if the terminal is detected to be in a preset area for keyless unlocking and locking, the vehicle will be kept locked.
[0008] In the embodiments of this application, when a user is detected inside the vehicle, if the vehicle mode is the target mode or the lock status is the target locked state, the target function is controlled to be in a deactivated state. When the target function is deactivated, if the terminal is detected to be in a preset area for keyless unlocking / locking, the vehicle is controlled to remain locked. Since the user inside the vehicle does not need to unlock the vehicle from the outside when the vehicle mode is the target mode or the lock status is the target locked state, and if the target function (i.e., the keyless unlocking / locking function) is activated, there may be a risk of unlocking the vehicle from the outside by pulling the door handle, leading to vehicle security issues. Therefore, this solution controls the target function to remain deactivated when the vehicle mode is the target mode or the lock status is the target locked state. This ensures that when the vehicle mode is the target mode or the lock status is the target locked state, if the terminal is detected to be in a preset area for keyless unlocking / locking, the keyless unlocking function is no longer executed, but the vehicle is controlled to remain locked, thereby improving vehicle security.
[0009] In conjunction with the first aspect, some implementations of the first aspect, after the target function is in a closed state, also include:
[0010] When the vehicle lock status changes from the target locked state to the unlocked state, and the vehicle's target mode is in the off state, the control target function is in the on state.
[0011] In the embodiments of this application, when the vehicle lock state changes from the target locked state to the unlocked state and the vehicle's target mode is in the off state, the target control function is in the on state, ensuring that the user can control the vehicle to unlock or lock through the target function the next time they use the vehicle.
[0012] In conjunction with the first aspect and the above implementation methods, some implementation methods of the first aspect also include:
[0013] Acquire the biometrics of users inside the vehicle, whereby the biometrics are used to determine the user's health status;
[0014] The target control function is enabled, including:
[0015] When a user's biometrics are abnormal, the control target function is enabled.
[0016] In the embodiments of this application, when a user's biometrics are abnormal, it indicates that the user's health status is abnormal; therefore, the target function is turned on; so that when the user cannot open the car door normally from inside the vehicle, the vehicle can be opened from outside the vehicle through the target function, ensuring the safety of the user inside the vehicle.
[0017] Combining the first aspect and the above implementation methods, in some implementation methods of the first aspect, the target mode includes a rest mode. If the vehicle mode is the target mode or the vehicle lock state is the target locked state, the control target function is in the off state, including:
[0018] When the vehicle speed exceeds the preset speed threshold, or when the central locking operation of the vehicle is detected, the vehicle lock status is determined to be the target locked state.
[0019] If the vehicle mode is in rest mode, or the vehicle lock status is in target locked state, the control target function is in the off state.
[0020] In the embodiments of this application, when the vehicle speed exceeds a preset speed threshold, the vehicle lock state is determined to be the target locking state. This prevents accidental opening of the door by the user while the vehicle is in motion, thus preventing passengers inside the vehicle from falling out due to accidental door opening and improving vehicle safety. When the vehicle mode is in rest mode or when the central locking operation of the vehicle is detected, the target function is controlled to be in a deactivated state. This ensures that when the user is resting inside the vehicle or locking the vehicle while it is in motion, the vehicle cannot be unlocked from outside the vehicle through the target function, preventing unauthorized entry and improving vehicle safety.
[0021] In conjunction with the first aspect and the above implementation methods, some implementation methods of the first aspect also include:
[0022] When the target function is enabled, if the terminal is detected to be in the preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, the vehicle can be unlocked or locked through the target function.
[0023] When the target function is off, if the terminal is detected to be in a preset area for keyless unlocking / locking, the vehicle is kept locked, including:
[0024] When the target function is off, if the terminal is detected to be in the preset area for keyless unlocking and locking, and the vehicle is detected to be unlocked or locked, the vehicle is kept locked.
[0025] In the embodiments of this application, when the target function is in the enabled state, if the terminal is detected to be located in a preset area and an unlocking or locking operation is detected, the vehicle is unlocked or locked through the target function; this ensures that when the target function is in the enabled state, the vehicle can be unlocked or locked without a key; when the target function is in the disabled state, if the terminal is detected to be located in the preset area and an unlocking or locking operation is detected, the vehicle is kept locked; this ensures that when the target function is in the disabled state, the vehicle no longer responds to unlocking operations in the preset area, thereby improving vehicle security.
[0026] In conjunction with the first aspect and the above implementation methods, some implementation methods of the first aspect also include:
[0027] When the target function is off, if the terminal is detected to be in the preset area for keyless unlocking and locking, and the vehicle is detected to be unlocking or locking, a target prompt message is output. The target prompt message is used to indicate that there is a risk of unauthorized entry into the vehicle. After the target prompt message is output, the vehicle is kept locked.
[0028] In the embodiments of this application, when the target function is in the off state, if the terminal is detected to be in a preset area for keyless unlocking and locking, and an unlocking or locking operation of the vehicle is detected, it indicates that there is a risk of unauthorized entry into the vehicle, and a target prompt message is output. This prompt message alerts the user to the risk of unauthorized intrusion into the vehicle, allowing the user to promptly detect the risk and take countermeasures. Furthermore, after outputting the target prompt message, the vehicle is kept locked to prevent unauthorized intrusion and thus ensure vehicle security.
[0029] In conjunction with the first aspect and the above implementation methods, some implementation methods of the first aspect also include:
[0030] Obtain the signal strength of the Bluetooth signal;
[0031] The location of the terminal is detected based on the signal strength of the Bluetooth signal.
[0032] If the terminal is detected to be in a preset area, determine whether there is interference with the Bluetooth signal;
[0033] If there is interference with the Bluetooth signal, the location of the terminal is determined by the target communication method, which is a communication detection method other than Bluetooth communication.
[0034] In the embodiments of this application, when the terminal is detected to be located in a preset area, it is determined whether there is interference with the Bluetooth signal; when there is interference with the Bluetooth signal, the location of the terminal is determined by a target communication method; when the location of the terminal cannot be accurately located due to interference with the Bluetooth signal, a communication detection method other than Bluetooth communication (i.e., a target communication method) is used to determine the location of the terminal; this ensures that the accuracy of determining the location of the terminal can be improved.
[0035] Secondly, a vehicle control device is provided, the device comprising:
[0036] The acquisition module is used to acquire the vehicle mode and lock status if a user is detected inside the vehicle.
[0037] The processing module is used to control the target function to be in the off state if the vehicle mode is the target mode or the vehicle lock state is the target locking state. The target function includes keyless unlocking function and keyless locking function. The target locking state is used to indicate the locking state when the vehicle is running. When the target function is in the off state, if the terminal is detected to be in the preset area for keyless unlocking and locking, the module controls the vehicle to remain in the locked state.
[0038] In conjunction with the second aspect, in some implementations of the second aspect, the processing module is also used to: control the target function to be in the on state when the vehicle lock state changes from the target locked state to the unlocked state and the vehicle's target mode is in the off state.
[0039] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the acquisition module is further used to: acquire the biometric features of the user inside the vehicle, wherein the biometric features are used to determine the user's health status; the processing module is specifically used to: control the target function to be in the enabled state when the user's biometric features are abnormal.
[0040] In combination with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the processing module is specifically used to: control the vehicle lock state to the target lock state when the vehicle speed is greater than the preset vehicle speed threshold, or when the central locking operation of the vehicle is detected; if the vehicle mode is rest mode, or the vehicle is in the target lock state, control the target function to be turned off.
[0041] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the processing module is further configured to: when the target function is in the enabled state, if the terminal is detected to be located in the preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, control the vehicle to unlock or lock through the target function; when the target function is in the disabled state, if the terminal is detected to be located in the preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, control the vehicle to remain in the locked state.
[0042] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the processing module is further configured to: when the target function is in the off state, if it is detected that the terminal is located in the preset area for keyless unlocking and locking, and the vehicle unlocking or locking operation is detected, output target prompt information, wherein the target prompt information is used to indicate that there is a risk of illegal entry into the vehicle; after outputting the target prompt information, control the vehicle to remain in the locked state.
[0043] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the acquisition module is further used to: acquire the signal strength of the Bluetooth signal; the processing module is further used to: detect the location of the terminal based on the signal strength of the Bluetooth signal; if the terminal is detected to be located in a preset area, determine whether there is interference in the Bluetooth signal; if there is interference in the Bluetooth signal, determine the location of the terminal through a target communication method, wherein the target communication method is a communication detection method other than the Bluetooth communication method.
[0044] Thirdly, a vehicle is provided, including a memory and a processor, the memory for storing executable program code, and the processor for calling and running the executable program code from the memory, causing the vehicle to perform the methods of the first aspect or any possible implementation thereof.
[0045] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0046] Fifthly, a computer-readable storage medium is provided that stores a computer program, which, when executed, implements the method described in the first aspect or any possible implementation thereof. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of a scenario provided in an embodiment of this application;
[0048] Figure 2 This is a schematic diagram of the architecture of a vehicle provided in an embodiment of this application;
[0049] Figure 3 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application;
[0050] Figure 4 This is a schematic flowchart of another vehicle control method provided in an embodiment of this application;
[0051] Figure 5 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application;
[0052] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation
[0053] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0054] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0055] With the development of vehicle technology, more and more smart car models are choosing digital key configuration. These devices connect to the vehicle's Bluetooth module via smartphones, smart bracelets, and other terminal devices, and use digital key and Bluetooth signal positioning technology to achieve keyless unlocking and locking (i.e., the vehicle's target function).
[0056] For example, when a user carrying a terminal with a unique identification code is in a keyless entry / exit area, the Bluetooth module's antenna emits a low-frequency signal to search for the terminal. Upon receiving the low-frequency signal, the terminal sends its identification code back to the vehicle's body control module. The body control module verifies the identification code; if the verification is successful, the terminal is used as the vehicle's corresponding digital key. If the terminal (digital key) is detected to be in a keyless entry / exit area and meets the prerequisites for keyless entry / exit (the prerequisites include the digital key being outside the vehicle and no digital key being inside the vehicle), the module controls the door lock motors to perform unlocking or locking operations.
[0057] Optionally, to improve security, if the digital key is detected to meet the prerequisites for the keyless unlocking function, and the user touches a specific position on the door handle, the vehicle will trigger the keyless unlocking function to prevent accidental operation or unauthorized unlocking.
[0058] However, the Bluetooth signal strength of the Bluetooth module is easily affected by environmental interference, leading to inaccurate positioning. For example, the digital key may be located outside the vehicle but misjudged as being inside; or the digital key may be located inside the vehicle but misjudged as being outside. If the vehicle is unlocked or locked according to the existing keyless unlocking and locking function logic, it may compromise vehicle security. The following section discusses... Figure 1 Provide an illustrative explanation.
[0059] Figure 1 This is a schematic diagram of a scenario provided in an embodiment of this application.
[0060] For example, such as Figure 1 As shown in scenario 100, area 110 represents the keyless unlocking area for the passenger side of the vehicle; area 130 represents the keyless unlocking area for the driver's side of the vehicle; area 150 represents the keyless unlocking area for the rear door of the vehicle; areas 120 and 140 represent overflow critical areas; where area 120 is the overflow critical area in area 110 (i.e., the overflow critical area in the passenger side keyless unlocking area), area 140 is the overflow critical area in area 130 (i.e., the overflow critical area in the driver's side keyless unlocking area), and 160 represents multiple wireless radio frequency antennas (e.g., Bluetooth antennas) equipped in the vehicle, distributed around the vehicle body, such as door handles, front / rear bumpers, etc.
[0061] For example, when the digital key is detected in area 110 via Bluetooth signal and the conditions for keyless unlocking are met, if the user touches the unlock area of the passenger door (or presses the unlock button on the passenger door), the passenger door will open. Similarly, if the digital key is detected in area 130 and the conditions for keyless unlocking are met, if the user touches the unlock area of the driver's door (or presses the unlock button on the driver's door), the driver's door will open. Likewise, if the digital key is detected in area 150 and the conditions for keyless unlocking are met, if the user touches the unlock area of the tailgate (or presses the unlock button on the tailgate), the tailgate will open. During this process, the user does not need to use the vehicle's remote key to unlock; the keyless unlocking function can unlock the vehicle simply by detecting the location of the digital key, thus improving the convenience of unlocking the vehicle.
[0062] For example, the Bluetooth signal strength emitted by the digital key is detected via the vehicle's Bluetooth module; the signal strength weakens with increasing distance. By measuring the Bluetooth signal strength and combining it with a signal propagation model, the distance between the digital key and the vehicle is determined. Since vehicles typically have multiple Bluetooth antennas installed (such as...), this method is useful. Figure 1 The wireless radio frequency antenna 160 shown can calculate the angle of arrival of the Bluetooth signal by measuring the time difference or phase difference received by different antennas. An array of multiple antennas can measure the angle of the Bluetooth signal emitted by the digital key, thereby determining the direction of the digital key relative to the vehicle. By combining distance measurement information between the digital key and multiple Bluetooth receivers at known locations (such as antennas distributed at different locations on the vehicle), the specific location of the digital key is determined using the trilateration principle. With the vehicle as the origin, a triangle is constructed based on the distance relationships between the digital key and antennas at at least three different locations, thereby accurately calculating the position of the digital key in three-dimensional space.
[0063] It should be noted that the overflow critical area is the area outside the vehicle that is close to the vehicle interior. Due to the uncertainty of the Bluetooth signal strength of the Bluetooth module (which is easily affected by environmental interference and drift), in actual testing, the terminal located in the overflow critical area is easily misjudged as being inside the vehicle.
[0064] For example, when the digital key is located in the overflow threshold area, if the original keyless unlocking function's prerequisites are applied, the digital key might be mistakenly identified as being inside the vehicle, causing the keyless unlocking function to fail within the overflow threshold area. For instance, when the digital key is detected in area 120, Bluetooth signal interference can lead to inaccurate positioning, misidentifying the digital key in area 120 as being inside the vehicle; thus, the keyless unlocking function cannot function when the digital key is in area 120. However, if the distinction between inside and outside the vehicle is no longer considered, and the vehicle is unlocked as long as it is within the keyless unlocking area, this could lead to vehicle security issues. For example, if a user is resting inside the vehicle, or the driver encounters external danger and locks the car from the inside, there is a risk that the door could be opened from the outside.
[0065] Therefore, ensuring vehicle safety when controlling a vehicle through target functions is a technical problem that needs to be solved.
[0066] In view of this, this application provides a vehicle control method, control device, vehicle, and storage medium. The method can control the target function to be in a closed state when the vehicle mode is detected to be a target mode or the vehicle lock state is a target locked state. When the target function is in a closed state, if the terminal is detected to be in a preset area for keyless unlocking and locking, the keyless unlocking function will not be executed, but the vehicle will be kept locked to improve vehicle security.
[0067] Figure 2 This is a schematic diagram of the architecture of a vehicle provided in an embodiment of this application.
[0068] For example, such as Figure 2 As shown, the vehicle includes a body control module, a multimedia host, a Bluetooth module, and central locking; the body control module includes Bluetooth keyless entry and exit functionality. The body control module (BCM) is an electronic control unit used to drive, monitor, and control the vehicle's body-related electronic control units, managing functions such as lighting, windows, door locks, and seat controls. The multimedia host is the core of the vehicle's in-vehicle entertainment system, used to turn different vehicle modes on or off; the Bluetooth module transmits and receives Bluetooth signals, and determines the location of the terminal based on the Bluetooth signal; the central locking system is a system used to control the locking and unlocking of the vehicle doors, allowing the driver to centrally control the locking status of all doors from inside the vehicle.
[0069] Central locking includes two locking scenarios: switch-based locking and speed-based locking. The driver can manually control the locking and unlocking of the doors via the central locking switch inside the vehicle. When the lock button is pressed, an electrical signal is transmitted through the vehicle's electrical system to the locking mechanisms of each door, locking them. Pressing the unlock button triggers the locking mechanisms to release the doors, allowing them to open. Speed-based locking, also known as automatic locking, is a function of the vehicle's central locking system. When the vehicle reaches a certain speed (e.g., 15 km / h), the system automatically triggers the central locking system, locking all doors. This function is achieved through the vehicle's speed sensor, which transmits the speed signal to the central locking control unit. When the speed reaches the set value, the control unit issues a locking command.
[0070] Figure 3 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application.
[0071] For example, Figure 3 The method 300 shown can be performed by a vehicle; or it can be performed by a processor or chip in the vehicle.
[0072] like Figure 3 As shown, the vehicle control method 300 includes S310 to S330, which are described in detail below.
[0073] S310: If a user is detected inside a vehicle, the vehicle mode and lock status are obtained.
[0074] For example, vehicle-mounted sensors can be used to detect whether a user is inside the vehicle; when a seat pressure sensor detects a weight greater than a preset weight value, it is determined that the user is inside the vehicle; the user can be detected based on the status of the seat belt buckle, and when the seat belt buckle is locked, it is determined that the user is inside the vehicle; or a camera inside the vehicle can be used to detect whether a user is inside the vehicle.
[0075] For example, the vehicle mode can be determined through data from the vehicle's Controller Area Network (CAN) bus; or the vehicle mode can be obtained through the in-vehicle infotainment system; for example, the vehicle mode can be obtained through the in-vehicle multimedia host.
[0076] Among them, vehicle mode refers to different operating states preset by the vehicle's electronic system to adapt to specific scenarios (such as driving scenarios, rest scenarios, energy-saving scenarios, etc.). It usually integrates the coordinated adjustment of vehicle power, air conditioning, seats, lighting, entertainment and other systems to improve the user experience.
[0077] For example, the vehicle lock status is detected by the door sensors of each door inside the vehicle; the door sensors are used to determine the open or closed state of the door and then transmit the door open or closed state information to the vehicle controller. The lock status includes unlocked state and locked state.
[0078] S320, if the vehicle mode is target mode or the vehicle lock status is target locked, the target control function is turned off.
[0079] The target functions include keyless unlocking and keyless locking, and the target locking state is used to indicate the locking state when the vehicle is in operation.
[0080] For example, the target locking state is the locking state under the preset state; the target locking state includes vehicle speed locking triggered when the vehicle speed is greater than the preset vehicle speed threshold during vehicle operation, and central locking triggered by the user during vehicle operation.
[0081] It should be noted that the target locking state does not include vehicle exit locking or anti-theft locking; the target locking state is the locking state triggered during vehicle operation; when the vehicle is in the target locking state, the user does not have an unlocking requirement; therefore, when the vehicle lock is in the target locking state, the target control function is turned off to improve the vehicle's security in the target locking state.
[0082] For example, the target mode is used to represent the vehicle mode in which the user rests in the vehicle; for example, the target mode can be a nap mode, meditation mode, sleep mode, etc.; among them, the nap mode refers to the vehicle mode that provides the user with a short sleep and a resting environment by adjusting the seat angle, adjusting the window state and the air conditioning temperature; the meditation mode is used to provide the user with a quiet and comfortable environment in the vehicle, helping the user to enter a relaxed state in a short time and improve the user's concentration; the sleep mode is used to represent the mode in which the user rests and sleeps for a long time in the vehicle.
[0083] Optionally, if an activation command for the target mode is detected, the vehicle is locked; and when the target mode is activated, the target function is deactivated; when the target function is deactivated, the vehicle cannot be unlocked from the outside using the keyless unlocking function; thereby improving the vehicle's security in the target mode.
[0084] In one implementation, when the vehicle speed exceeds a preset speed threshold, or when a central locking operation is detected, the vehicle lock is controlled to be in the target locked state; if the vehicle mode is in rest mode, or the vehicle lock is in the target locked state, the target function is controlled to be in the off state.
[0085] Understandably, a vehicle speed exceeding a preset speed threshold indicates that the vehicle is in motion. When the vehicle is in motion, passengers (e.g., children or passengers with mobility impairments) may accidentally open the door handle, potentially causing them to fall out of the vehicle and resulting in serious injury or death. In the event of a collision or other accident, if the doors are not locked, they may open under the impact force, throwing occupants out of the vehicle and increasing the risk of injury. Therefore, when the vehicle speed exceeds the preset speed threshold, the vehicle locks are kept in the locked state to prevent passengers from falling out of the vehicle due to accidental door opening, thus reducing the risk of passenger injury.
[0086] For example, the target mode includes a rest mode; when the vehicle mode is rest mode, or the vehicle lock status is target locked, it means that the user does not currently have a need to unlock the door; therefore, for the sake of user needs and security, the target function is controlled to be turned off.
[0087] For example, a preset vehicle speed threshold is 15 km / h. When the vehicle speed is detected to be greater than 15 km / h, the vehicle lock status is controlled to the target locked state. When the vehicle is detected to be in nap mode, or the user triggers the central locking operation, or the central locking operation is triggered automatically when the vehicle speed is greater than 15 km / h, the target function is in the off state. At this time, even if the terminal (digital key) is in the preset area or overflow critical area of keyless unlocking, it will not respond to the keyless unlocking function of the digital key, ensuring that when the user does not currently have a need to unlock the door, people outside the vehicle cannot unlock the vehicle with the digital key inside the vehicle, thereby reducing the risk of the vehicle being illegally entered.
[0088] It should be noted that the above is an example of a preset vehicle speed threshold; this application does not specifically limit the specific preset vehicle speed threshold.
[0089] In the embodiments of this application, when the vehicle speed exceeds a preset speed threshold, the vehicle lock is controlled to be in a target locked state to prevent accidental opening of the door by the user while the vehicle is in motion, thus preventing passengers inside the vehicle from falling out due to accidental door opening and improving vehicle safety. When the vehicle mode is in nap mode or when the central locking operation of the vehicle is detected, the target function is controlled to be in a closed state. This ensures that when the user is napping inside the vehicle or when the user locks the vehicle inside the vehicle, the target function cannot be used to unlock the vehicle from outside the vehicle, preventing unauthorized entry and improving vehicle safety.
[0090] S330, when the target function is off, if the terminal is detected to be in a preset area for keyless unlocking and locking, controls the vehicle to remain locked.
[0091] For example, when the target function is in the off state, that is, when the vehicle's keyless unlocking function and keyless locking function are in the off state, if the terminal is detected to be in the preset area for keyless unlocking and locking, the vehicle is controlled to remain in the locked state.
[0092] In one implementation, when the target function is enabled, if the terminal is detected to be located in the preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, the vehicle is controlled to unlock or lock through the target function; when the target function is disabled, if the terminal is detected to be located in the preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, the vehicle is controlled to remain locked.
[0093] For example, when the target function is enabled, if the terminal is detected to be in a preset area and an unlocking or locking operation is detected, the vehicle is unlocked or locked via the target function; this ensures that the vehicle can be unlocked or locked without a key when the target function is enabled; when the target function is disabled, if the terminal is detected to be in a preset area and an unlocking or locking operation is detected, the vehicle lock is kept locked; this ensures that the vehicle no longer responds to unlocking operations in the preset area when the target function is disabled, thereby improving vehicle security.
[0094] The unlocking or locking operation can be an action performed by the user touching a specific location on the door handle, or an action performed by the user opening or closing the door.
[0095] Optionally, when the target function is enabled, it is determined whether the preconditions for the implementation of the target function are met; wherein the preconditions include the terminal being located outside the vehicle and no terminal being inside the vehicle; if the preconditions for the implementation of the target function are met, and the terminal is located in the preset area for keyless unlocking and locking, and the vehicle unlocking or locking operation is detected, the vehicle is controlled to unlock or lock.
[0096] It's important to note that when controlling vehicle unlocking or locking via the target function, if the location of the digital key isn't determined, the system may not confirm whether the digital key is outside the vehicle when the owner uses the keyless entry function. This could lead to other items inside the vehicle triggering the unlocking function, causing a false lock. Alternatively, if the system cannot determine that the digital key is not inside the vehicle while it is in motion, the doors may unlock accidentally due to system misjudgment, posing a security risk. Confirming that the digital key is outside the vehicle and that there is no valid digital key inside effectively prevents criminals from introducing the digital key signal into the vehicle to simulate a valid digital key to unlock the vehicle, start the engine, and commit theft, thus improving vehicle security. Furthermore, clearly defining the location of the digital key makes the keyless unlocking and locking function more user-friendly. For example, when the owner approaches the vehicle with the key, the system confirms that the key is outside and can automatically unlock the doors for easy entry; conversely, when the owner leaves the vehicle, the system detects that the key is outside and there is no valid key inside, and can automatically lock the doors without manual operation, enhancing convenience.
[0097] In one implementation, when the target function is off, if the terminal is detected to be in a preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, a target prompt message is output, which is used to indicate that there is a risk of unauthorized entry into the vehicle; after outputting the target prompt message, the vehicle is controlled to remain locked.
[0098] For example, when the target function is off, if the terminal is detected to be in a preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, a target prompt message is output; for example, the target prompt message may be "The vehicle is currently at risk of illegal intrusion, please take precautions"; the target prompt message may be displayed on the vehicle's display screen; or it may be sent to the user's terminal for display.
[0099] Optionally, when the target function is off, the system no longer checks whether the terminal is within the preset area for keyless unlocking and locking; instead, it outputs a target prompt message when an unlocking or locking operation is detected. This ensures that the target prompt message can promptly alert the user to the risk of unauthorized intrusion into the vehicle.
[0100] In the embodiments of this application, when the target function is in the off state, if the terminal is detected to be in the preset area for keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, it indicates that there is a risk of unauthorized entry into the vehicle, and a target prompt message is output. The target prompt message alerts the user that there is a risk of unauthorized intrusion into the vehicle, making it easier for the user to detect the risk in time and take countermeasures. In addition, after the target prompt message is output, the vehicle is controlled to remain locked to prevent the vehicle from being illegally intruded into, thereby ensuring the vehicle's security.
[0101] In one implementation, after the target control function is in the off state, the method further includes: when the vehicle lock state changes from the target locked state to the unlocked state, and the vehicle's target mode is in the off state, the target control function is in the on state.
[0102] For example, after the target function is turned off, the vehicle lock status is detected in real time; when the lock status changes from locked to unlocked (i.e., the action of the door changing from closed to open is detected) and the target mode is turned off, the target function is turned on.
[0103] It should be noted that if the target function is enabled when the vehicle lock changes from locked to unlocked, there is still a safety risk for the occupants. For example, if the target mode is nap mode, and the front passenger exits the vehicle while the driver is napping, the vehicle could be locked or unlocked from outside by pulling the door handle, potentially endangering the driver's life and property. Therefore, when the vehicle lock changes from locked to unlocked and the target function is disabled, the target function should be enabled.
[0104] In the embodiments of this application, when the vehicle lock state changes from locked to unlocked and the vehicle's target mode is off, the target control function is on, ensuring that the user can control the vehicle to unlock or lock through the target function the next time they use the vehicle.
[0105] Optionally, the biometrics of the user inside the vehicle are acquired; when the user's biometrics are abnormal, the control target function is activated; wherein, the biometrics are used to determine the user's health status, and the biometrics include the user's respiratory characteristics, heart rate characteristics, electroencephalogram (EEG) signal characteristics, etc.
[0106] For example, the user's biometric data is obtained from the biometric sensors inside the vehicle; when the user's biometric data is abnormal, it indicates that the user's health status is abnormal; the user cannot open the car door from inside the vehicle; therefore, the target control function is turned on.
[0107] For example, the system obtains the index values of the user's biometrics and the safety index range of each biometric; determines whether the index value corresponding to the user's biometrics is within the safety index range; if the index value corresponding to the user's biometrics is within the safety index range, it determines that the user's health status is normal; if the index value corresponding to the user's biometrics is not within the safety index range, it determines that the biometrics are abnormal (i.e., the user's health status is abnormal).
[0108] In the embodiments of this application, when a user's biometrics are abnormal, it indicates that the user's health status is abnormal and the user may not be able to open the car door normally from inside the vehicle; therefore, the target function is turned on; so that when the user cannot open the car door from inside the vehicle, the vehicle can be opened from outside the vehicle through the target function, avoiding the user being trapped inside the vehicle and ensuring the safety of the user inside the vehicle.
[0109] In one possible implementation, the signal strength of the Bluetooth signal is obtained; based on the signal strength of the Bluetooth signal, the location of the terminal is detected; if the terminal is detected to be in a preset area, it is determined whether there is interference with the Bluetooth signal; if there is interference with the Bluetooth signal, the location of the terminal is determined through a target communication method, wherein the target communication method is a communication detection method other than Bluetooth communication.
[0110] For example, a communication connection is established with the terminal through multiple Bluetooth antennas inside the vehicle to obtain the signal strength indication value detected at each Bluetooth antenna; the distance between the terminal and the multiple Bluetooth antennas is determined based on the signal strength indication value; the position of the terminal is determined by combining the triangulation of the multiple Bluetooth antennas; thereby determining whether the terminal is located in a preset area.
[0111] For example, when the terminal is detected to be in a preset area, it is determined whether there is interference with the Bluetooth signal; when interference with the Bluetooth signal is detected, the location of the terminal is detected through a target communication method; wherein, the target communication method is a communication detection method other than Bluetooth communication, and the target communication method includes, but is not limited to, Near Field Communication (NFC) and Ultra-Wideband (UWB) technologies.
[0112] NFC, based on Radio Frequency Identification (RFID) technology, utilizes electromagnetic induction to achieve contactless communication between devices. When two NFC-enabled devices are close together, they can automatically establish a connection and transmit data; a terminal and a car door can communicate via NFC to determine the terminal's location. UWB technology communicates using pulse signals, typically in the range of 3.1 to 10.6 GHz. UWB signals have strong penetration and anti-interference capabilities, enabling high-precision positioning and high-speed data transmission.
[0113] For example, fluctuations in the signal strength indicator value of a Bluetooth signal are detected, and based on the detection results, it is determined whether there is interference in the Bluetooth signal. The normal fluctuation range is 5dBm (decibel milliwatt, the standard unit of measurement for radio power). When a sharp fluctuation in the signal strength indicator value is detected in a short period of time, that is, the fluctuation is greater than 15dBm (that is, the fluctuation of the signal strength indicator value is greater than the preset value within a preset period of time), it is determined that there is interference in the Bluetooth signal.
[0114] It should be noted that the above is an example of the preset value for the fluctuation of the signal strength indication value; this application does not make any specific limitation on it.
[0115] In the embodiments of this application, when the terminal is detected to be located in a preset area, it is determined whether there is interference in the Bluetooth signal; when there is interference in the Bluetooth signal, the location of the terminal is determined by a target communication method; when the location of the terminal cannot be accurately located due to interference in the Bluetooth signal, a communication detection method other than Bluetooth communication (i.e., a target communication method) is used to determine the location of the terminal; this ensures that the accuracy of detecting the location of the terminal can be improved.
[0116] In the above embodiments, when a user is detected inside the vehicle, if the vehicle mode is the target mode or the lock status is the target locked state, the target function is controlled to be in a deactivated state. When the target function is deactivated, if the terminal is detected to be in a preset area for keyless unlocking / locking, the vehicle is controlled to remain locked. Since if the target function is activated when the vehicle mode is the target mode or the lock status is the target locked state, the vehicle can be unlocked / locked from outside by pulling the door handle, posing a security risk. Therefore, this solution controls the target function to remain deactivated when the vehicle mode is the target mode or the lock status is the target locked state. This ensures that when the terminal is detected to be in a preset area for keyless unlocking / locking, the keyless unlocking function is not executed, but the vehicle remains locked, thereby improving vehicle security.
[0117] Figure 4 This is a schematic flowchart of another vehicle control method provided in the embodiments of this application.
[0118] Figure 4 The method 400 shown can be performed by a vehicle; or it can be performed by a processor or chip in the vehicle.
[0119] like Figure 4 As shown, the vehicle control method 400 includes S401 to S407, which are described in detail below.
[0120] S401: If a user is detected inside the vehicle, obtain the vehicle mode and lock status.
[0121] For example, vehicle sensors or cameras can be used to detect whether a user is inside the vehicle; the vehicle mode can be determined via the vehicle's controller area network bus or in-vehicle infotainment system; and the vehicle lock status can be obtained via door sensors on the vehicle doors.
[0122] Alternatively, the implementation of S401 can be found in [reference needed]. Figure 3 The relevant description of S310 will not be repeated here.
[0123] S402 determines the status of the target function based on the vehicle mode and lock status.
[0124] For example, if the vehicle mode is the target mode or the vehicle lock status is the target locked status, the target function is determined to be in the off state; when the vehicle lock status changes from the target locked state to the unlocked state, and the target mode is in the off state, the target function is controlled to be in the on state.
[0125] Optionally, the control target function is enabled when there is an abnormality in the biometric characteristics of the user inside the vehicle.
[0126] Alternatively, the implementation of S402 can be found in [reference needed]. Figure 3 The relevant descriptions of the S320 will not be repeated here.
[0127] S403, Is the target function disabled? If yes, proceed to S404; otherwise, proceed to S405.
[0128] For example, it is determined whether the target function is in a closed state; if the target function is in a closed state, when the terminal is detected to be in a preset area for keyless unlocking and locking, the vehicle is controlled to remain locked; if the target function is in a closed state, when the terminal is detected to be in a preset area for keyless unlocking and locking and an unlocking operation is detected, the vehicle is controlled to unlock.
[0129] S404: If the terminal is detected to be in a preset area for keyless unlocking and locking, the vehicle is kept locked.
[0130] For example, when the target function is off, the vehicle's keyless unlocking and keyless locking functions are also off. If the terminal is detected to be within the preset keyless unlocking / locking area, the vehicle is kept locked. This ensures that when the user is resting inside the vehicle or locking the vehicle from inside, the vehicle cannot be unlocked from outside using the target function, preventing unauthorized entry and improving vehicle security.
[0131] S405 If the terminal is detected to be in the preset area for keyless unlocking and locking, and an unlocking operation is detected, the vehicle is unlocked.
[0132] For example, when the target function is enabled, if the detection terminal is located in the preset area for keyless unlocking and lockout and detects an unlocking operation, the vehicle is unlocked; wherein, the unlocking operation can be the user touching a specific position on the door handle, or the user opening the door.
[0133] Optionally, when the target function is enabled, if the terminal is detected to be in a preset area for keyless unlocking and locking, and a locking operation is detected, the vehicle is locked; wherein, the locking operation can be an operation by the user touching a specific position of the door handle, or an operation by the user closing the door.
[0134] S406 If an unlocking or locking operation is detected, output the target prompt message.
[0135] For example, if an unlocking or locking operation is detected when the target function is off and the vehicle is kept locked, it indicates that there is a risk of unauthorized intrusion into the vehicle. Therefore, a target warning message is output to alert the user that there is a risk of unauthorized intrusion into the vehicle, ensuring that the user can promptly detect the security risk and take timely measures.
[0136] S407: Upon detecting that the target mode is off and the vehicle changes from locked to unlocked, the target function is restored to the on state.
[0137] For example, when the target mode is detected to be off and the vehicle changes from locked to unlocked, the target function is restored to the on state; wherein, the target mode is the mode when the user is resting in the vehicle, including but not limited to nap mode, rest mode, sleep mode and meditation mode.
[0138] Alternatively, the implementation methods of S404 to S407 can be found in [reference needed]. Figure 3 The relevant description of S330 will not be repeated here.
[0139] In the embodiments of this application, if a user is detected inside the vehicle, the state of the target function is determined based on the vehicle mode and lock status. When the vehicle mode is the target mode or the lock status is the target locked state, the target function is controlled to be in the off state. Since if the target function is in the on state when the vehicle mode is the target mode or the lock status is the target locked state, the digital key positioning may be inaccurate, potentially allowing the vehicle to be unlocked from outside by pulling the door handle, posing a security risk to the user inside the vehicle. Therefore, the target function is controlled to be in the off state. When the target function is in the off state, even if the terminal is detected to be in the preset area for keyless unlocking and locking, the vehicle is still kept locked, ensuring that the vehicle cannot be unlocked from outside by pulling the door handle, reducing the risk of unauthorized intrusion. If an unlocking or locking operation is detected when the target function is in the off state, a target prompt message is output to ensure that the user can promptly perceive the security risk. When the target mode is off and the vehicle changes from locked to unlocked, the target function is restored to the on state, ensuring that the user can control the vehicle to unlock or lock via the target function the next time they use the vehicle.
[0140] In one implementation, when a user chooses to take a nap in the vehicle and triggers the multimedia host's nap mode, the vehicle automatically locks, and the body controller sets the keyless unlocking function (i.e., the target function) of the digital key to "off." At this time, even if the digital key is in the vehicle's start area, overflow threshold area, or the preset keyless unlocking area, it will not respond to the keyless unlocking function. This maximizes the safety of the life and property of those napping inside the vehicle. Similarly, when a user triggers the central locking switch or speed-based locking (vehicle speed greater than 15 km / h) from inside the vehicle, the body controller also sets the Bluetooth keyless unlocking function to "off." At this time, even if the digital key is in the vehicle's start area, overflow threshold area, or the effective keyless unlocking area, it will not respond to the Bluetooth keyless unlocking function. This ensures that in the event of external danger, by triggering the central locking switch or speed-based locking, people outside the vehicle cannot unlock the vehicle using the digital key inside.
[0141] When the keyless unlocking function is set to off, if any door is opened from closed to open, or if the remote unlocking function of any key is triggered, the keyless unlocking function will be deactivated and set to on again.
[0142] In the embodiments of this application, by configuring digital keys for vehicle models and combining them with the usage scenarios, the keyless unlocking function of the digital key is disabled in specific scenarios. This avoids the security risks caused by inaccurate positioning of the digital key's Bluetooth signal in specific scenarios. While disabling the keyless unlocking function, a recovery mechanism is added and the right to use remote locking and unlocking is retained, which ensures user safety and improves the convenience of unlocking and locking the vehicle.
[0143] The above text combined Figures 1 to 4 The vehicle control method provided in the embodiments of this application is described in detail below; the following will be combined with Figure 5 and Figure 6 The apparatus embodiments of this application are described in detail below. It should be understood that the apparatus in the embodiments of this application can perform the various methods described in the foregoing embodiments of this application, that is, the specific working processes of the various products described below can be referred to the corresponding processes in the foregoing method embodiments.
[0144] Figure 5 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application.
[0145] For example, such as Figure 5 As shown, the vehicle control device 500 includes:
[0146] The acquisition module 510 is used to acquire the vehicle mode and lock status of the vehicle if it detects that the user is inside the vehicle.
[0147] The processing module 520 is used to control the target function to be in the off state if the vehicle mode is the target mode or the vehicle lock state is the target locking state. The target function includes keyless unlocking function and keyless locking function. The target locking state is used to indicate the locking state when the vehicle is running. When the target function is in the off state, if the terminal is detected to be in the preset area for keyless unlocking and locking, the vehicle is controlled to remain in the locked state.
[0148] Optionally, as an embodiment, the processing module 520 is further configured to: control the target function to be in the on state when the vehicle lock state changes from the target locked state to the unlocked state and the vehicle's target mode is in the off state.
[0149] Optionally, as an embodiment, the acquisition module 510 is further configured to: acquire the biometric features of the user inside the vehicle, wherein the biometric features are used to determine the user's health status; the processing module 520 is specifically configured to: control the target function to be in the enabled state when the user's biometric features are abnormal.
[0150] Optionally, as an embodiment, the processing module 520 is specifically used to: control the vehicle lock state to the target lock state when the vehicle speed is greater than a preset vehicle speed threshold, or when the central locking operation of the vehicle is detected; if the vehicle mode is a rest mode, or the vehicle is in the target lock state, control the target function to be turned off.
[0151] Optionally, as an embodiment, the processing module 520 is further configured to: when the target function is in the enabled state, if the terminal is detected to be located in the preset area for keyless unlocking and locking, and the vehicle unlocking or locking operation is detected, control the vehicle to unlock or lock through the target function; when the target function is in the disabled state, if the terminal is detected to be located in the preset area for keyless unlocking and locking, and the vehicle unlocking or locking operation is detected, control the vehicle lock state to remain unchanged.
[0152] Optionally, as an embodiment, the processing module 520 is further configured to: when the target function is in the off state, if it is detected that the terminal is located in the preset area for keyless unlocking and locking, and the vehicle unlocking or locking operation is detected, output target prompt information, wherein the target prompt information is used to indicate that there is a risk of illegal entry into the vehicle; after outputting the target prompt information, control the vehicle to remain in the locked state.
[0153] Optionally, as an embodiment, the acquisition module 510 is further configured to: acquire the signal strength of the Bluetooth signal; the processing module 520 is further configured to: detect the location of the terminal based on the signal strength of the Bluetooth signal; if the terminal is detected to be located in a preset area, determine whether there is interference in the Bluetooth signal; if there is interference in the Bluetooth signal, determine the location of the terminal through a target communication method, wherein the target communication method is a communication detection method other than the Bluetooth communication method.
[0154] It should be noted that the control devices of the aforementioned vehicles are embodied in the form of functional units. The term "module" here can be implemented in software and / or hardware, without specific limitations.
[0155] For example, a "module" can be a software program, hardware circuit, or a combination of both that implements the above functions. Hardware circuits may include application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors) and memory for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functions.
[0156] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0157] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0158] For example, vehicle 600 includes processor 610, memory 620 and executable program code 630.
[0159] For example, vehicle 600 includes one or more processors 610 that can support the vehicle control method in the method embodiment. The processor 610 can be a general-purpose processor or a special-purpose processor. For example, the processor 610 can be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0160] For example, processor 610 can be used to control vehicle 600, execute software programs, and process data from the software programs. Vehicle 600 may also include a communication unit for receiving and transmitting signals.
[0161] For example, the vehicle 600 may include one or more memories 620, on which executable program code 630 is stored. The executable program code 630 can be run by the processor 610 to generate instructions, causing the processor 610 to execute the vehicle control method described in the above method embodiments according to the instructions.
[0162] Optionally, the memory 620 may also store data. Optionally, the processor 610 may also read data stored in the memory 620, which may be stored at the same memory address as the executable program code 630, or the data may be stored at a different memory address than the executable program code 630.
[0163] For example, the processor 610 and memory 620 can be configured separately or integrated together, for example, integrated on a system-on-chip (SOC) of the terminal device.
[0164] For example, the memory 620 can be used to store related programs of the vehicle control method provided in the embodiments of this application. The processor 620 can be used to call the executable program code 630 stored in the memory 620 when controlling the vehicle to execute the vehicle control method of the embodiments of this application. For example, if a user is detected to be inside the vehicle, the vehicle mode and lock status of the vehicle are obtained. If the vehicle mode is a target mode or the lock status is a target locking status, the target function is controlled to be in a closed state. The target function includes a keyless unlocking function and a keyless locking function. The target locking status is used to indicate the locking status of the vehicle in operation. When the target function is in a closed state, if the terminal is detected to be in a preset area for keyless unlocking and locking, the vehicle is controlled to remain in a locked state.
[0165] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the vehicle control method of any of the foregoing embodiments.
[0166] The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, Digital Video Discs (DVDs), Compact Disc Read-Only Memory (CD-ROM), microdrives, and magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), dynamic random access memory (DRAM), video random access memory (VRAM), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0167] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a vehicle control method as described in the above embodiments.
[0168] In addition, the vehicle provided in the embodiments of this application may specifically be a chip, component or module. The vehicle may include a connected processor and a memory. The memory is used to store instructions. When the vehicle is running, the processor may call and execute the instructions to make the chip execute a vehicle control method in the above embodiments.
[0169] The vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding vehicle control method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding vehicle control method provided above, and will not be repeated here.
[0170] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0171] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0172] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for controlling a vehicle, characterized in that, The method includes: If a user is detected inside the vehicle, the vehicle mode and lock status of the vehicle are obtained. If the vehicle mode is the target mode or the vehicle lock status is the target locking status, the target function is controlled to be in the off state. The target function includes keyless unlocking and keyless locking. The target locking status is used to indicate the locking state triggered by the vehicle during operation. The target mode is a nap mode, meditation mode or sleep mode. If the opening command of the target mode is detected, the vehicle is controlled to be in the locked state. When the target function is in the off state, if the terminal is detected to be in a preset area for keyless unlocking and locking, the vehicle is controlled to maintain the locked state; If the vehicle mode is the target mode or the vehicle lock status is the target locked status, the control target function is turned off, including: When the vehicle speed exceeds a preset speed threshold, or when the central locking operation of the vehicle is detected, the vehicle lock state is controlled to the target locking state. If the vehicle mode is the target mode or the vehicle is in the target locked state, the target function is controlled to be turned off.
2. The method according to claim 1, characterized in that, After the control target function is in the off state, the following is also included: When the vehicle lock state changes from the target locked state to the unlocked state, and the target mode of the vehicle is in the off state, the target function is controlled to be in the on state.
3. The method according to claim 2, characterized in that, Also includes: Acquire the biometrics of the user inside the vehicle, wherein the biometrics are used to determine the user's health status; The control of the target function to be enabled includes: When the user's biometrics are abnormal, the target function is controlled to be in the enabled state.
4. The method according to claim 1, characterized in that, Also includes: When the target function is enabled, if the terminal is detected to be located in the preset area of the keyless unlocking and locking, and the vehicle is detected to be unlocked or locked, the vehicle is controlled to be unlocked or locked through the target function. When the target function is in the off state, if the terminal is detected to be in a preset area for keyless unlocking / locking, the method of controlling the vehicle to maintain the locked state includes: When the target function is in the off state, if the terminal is detected to be in the preset area for keyless unlocking and locking, and the vehicle is detected to be unlocked or locked, the vehicle is controlled to remain in the locked state.
5. The method according to claim 1, characterized in that, Also includes: When the target function is in the off state, if the terminal is detected to be located in the preset area of the keyless unlocking and locking, and the vehicle's unlocking or locking operation is detected, a target prompt message is output, wherein the target prompt message is used to indicate that there is a risk of unauthorized entry into the vehicle. After outputting the target prompt information, control the vehicle to maintain the locked state.
6. The method according to any one of claims 1 to 5, characterized in that, Also includes: Obtain the signal strength of the Bluetooth signal; The location of the terminal is detected based on the signal strength of the Bluetooth signal; If the terminal is detected to be located in the preset area, it is determined whether there is interference with the Bluetooth signal; If the Bluetooth signal is interfered with, the location of the terminal is determined by a target communication method, wherein the target communication method is a communication detection method other than Bluetooth communication.
7. A vehicle control device, characterized in that, The device includes: The acquisition module is used to acquire the vehicle mode and lock status of the vehicle if it detects that a user is inside the vehicle. The processing module is configured to control the target function to be in a closed state if the vehicle mode is a target mode or the vehicle lock state is a target locking state. The target function includes a keyless unlocking function and a keyless locking function. The target locking state indicates that the vehicle is locked during operation. The target mode is a nap mode, meditation mode, or sleep mode. If an activation command for the target mode is detected, the module controls the vehicle to be in a locked state. When the target function is in a closed state, if the terminal is detected to be in a preset area for keyless unlocking and locking, the module controls the vehicle to maintain the locked state. The processing module is specifically used to: control the vehicle lock state to the target locking state when the vehicle speed is greater than a preset speed threshold, or when the central locking operation of the vehicle is detected; and control the target function to be turned off if the vehicle mode is the target mode or the vehicle is in the target locking state.
8. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1 to 6.