Vehicle control method, vehicle control device, vehicle, and storage medium

CN118124518BActive Publication Date: 2026-09-22GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410378723.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2026-09-22
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

[0003]目前,在控制车辆执行自动开锁或者自动闭锁的情况下,由于磁场波动,对用户位置的确定可能不够准确,进而导致车辆误解锁或者误开锁的情况,难以确保车辆的安全性

Benefits of technology

[0010]上述技术方案,通过对目标设备的位置与移动方向进行监测,确定用户的真实意图,能够精准控制车锁执行自动解锁功能或者自动闭锁功能,从而提高用户的便利性的同时,提高车辆安全性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118124518B_ABST
    Figure CN118124518B_ABST
Patent Text Reader

Abstract

The application provides a vehicle control method, a vehicle control device, a vehicle and a storage medium. The method comprises the following steps: if it is detected that a first automatic control function of a vehicle lock in the vehicle is turned on, determining a control mode of the vehicle lock at a last time point; wherein the first automatic control function is used to indicate that the state of the vehicle lock is automatically switched from a first state to a second state; the control of the vehicle lock is used to indicate that the state of the vehicle lock is switched from the second state to the first state; the state of the vehicle lock comprises an unlocking state and a locking state; if the control mode is a non-automatic mode, obtaining a first boundary value corresponding to a second automatic control function of the vehicle lock; determining a target boundary value based on the first boundary value and a second boundary value corresponding to the first automatic control function; wherein the target boundary value comprises two boundary values; when it is detected that the target boundary value is met, controlling the vehicle lock to execute the first automatic control function. The method can ensure the accuracy of controlling the vehicle lock, thereby improving the safety of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicles, and more specifically, to a vehicle control method, a vehicle control device, a vehicle, and a storage medium. Background Technology

[0002] With the increasing popularity of cars, more and more users are using their vehicles as a third space, and users' requirements for vehicle safety are also gradually increasing.

[0003] Currently, when controlling vehicles to automatically unlock or lock, magnetic field fluctuations can lead to inaccurate user location determination, resulting in accidental locking or unlocking and compromising vehicle security. Therefore, ensuring the accuracy of vehicle lock control to improve vehicle security is a pressing issue. Summary of the Invention

[0004] This application provides a vehicle control method, a vehicle control device, a vehicle, and a storage medium. The method can ensure the accuracy of controlling the vehicle locks, thereby improving vehicle security.

[0005] A first aspect provides a vehicle control method, the method comprising: if a first automatic control function of a vehicle lock is detected to be activated, determining the control mode of the vehicle lock at the current moment; wherein the first automatic control function is used to instruct the automatic control of the vehicle lock state to switch from a first state to a second state; the control of the vehicle lock is used to instruct the vehicle lock state to switch from the second state to the first state; the vehicle lock state includes an unlocked state and a locked state; if the control mode is a non-automatic mode, obtaining a first boundary value corresponding to a second automatic control function of the vehicle lock; wherein the second automatic control function is used to instruct the automatic control of the vehicle lock state to switch from the second state to the first state; determining a target boundary value based on the first boundary value and the second boundary value corresponding to the first automatic control function; wherein the target boundary value includes two boundary values; and controlling the vehicle lock to execute the first automatic control function when the target boundary value is detected to be satisfied.

[0006] The above technical solution, when the first automatic control function of the vehicle lock is activated and the vehicle's previous control mode was non-automatic, determines a target boundary value based on a first boundary value and a second boundary value. Since the target boundary value is determined when the first automatic control function of the vehicle lock is activated and the control mode is non-automatic, and since the target boundary value includes two boundary values, when the control mode of the vehicle lock changes, if the target boundary value is detected, the vehicle lock is controlled to execute the first automatic control function. This avoids false locking or false locking due to inaccurate positioning caused by magnetic field fluctuations, ensuring the accuracy of vehicle lock control, improving user convenience, and enhancing vehicle security.

[0007] In conjunction with the first aspect, in some possible implementations, the method further includes: if the first boundary value is greater than the second boundary value, using the second boundary value as the starting boundary value and the first boundary value as the ending boundary value to obtain the target boundary value; if the second boundary value is greater than the first boundary value, using the first boundary value as the starting boundary value and the second boundary value as the ending boundary value to obtain the target boundary value.

[0008] The above technical solution obtains the target boundary value by using the second boundary value as the starting boundary value and the first boundary value as the ending boundary value if the first boundary value is greater than the second boundary value; and by using the first boundary value as the starting boundary value and the second boundary value as the ending boundary value if the second boundary value is greater than the first boundary value. Thus, the starting boundary and ending boundary are determined based on the relationship between the first boundary value and the second boundary value, which can improve the accuracy of the target boundary value.

[0009] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: if the first automatic control function is an automatic locking function, controlling the vehicle lock to perform the automatic locking function when the unlocking device is detected to move from within the first boundary value to outside the second boundary value; wherein the second boundary value is greater than the first boundary value; if the first automatic control function is an automatic unlocking function, controlling the vehicle lock to perform the automatic unlocking function when the locking device is detected to move from outside the first boundary value to within the second boundary value; wherein the second boundary value is less than the first boundary value.

[0010] The above technical solution, by monitoring the position and direction of movement of the target device, determines the user's true intention and can accurately control the vehicle lock to perform automatic unlocking or automatic locking functions, thereby improving user convenience and vehicle security.

[0011] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: if the target device is detected to be within the target boundary, the movement direction of the target device is collected multiple times to obtain the target movement direction; wherein the target device is used to control the vehicle lock to perform unlocking or locking; if the target movement direction is the same as the preset direction corresponding to the first automatic control function, the vehicle lock is controlled to perform the first automatic control function.

[0012] The above technical solution detects that the target device is within the target boundary and collects the movement direction of the target device multiple times to obtain the target movement direction. Since the target movement direction is determined based on multiple collection results, the influence of the inaccuracy of a single collection result on the target movement direction is minimized, thereby improving the accuracy of the target movement direction. Based on this, if the target movement direction is the same as the preset direction corresponding to the first automatic control function, the vehicle lock is controlled to execute the first automatic control function. Therefore, the automatic unlocking or automatic locking function of the vehicle can be accurately executed without manual operation by the user, which can ensure the accuracy of controlling the vehicle lock and improve vehicle security while improving user convenience.

[0013] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: determining the target movement direction based on the target proportion of the movement direction indicated by each of the multiple acquisition results in the multiple acquisition results; if the first automatic control function is an automatic locking function and the target movement direction indicates a direction away from the vehicle, controlling the vehicle lock to perform the automatic locking function when the target device is detected to have moved from within the starting boundary value of the target boundary to outside the ending boundary value of the target boundary; if the first automatic control function is an automatic unlocking function and the target movement direction indicates a direction closer to the vehicle, controlling the vehicle lock to perform the automatic unlocking function when the target device is detected to have moved from outside the ending boundary value of the target boundary to within the starting boundary value of the target boundary.

[0014] The above technical solution, if the first automatic control function is an automatic locking function and the target movement direction indicates a direction away from the vehicle, controls the vehicle lock to perform the automatic locking function when the target device is detected to have moved from within the starting boundary value of the target boundary to outside the ending boundary value of the target boundary; if the first automatic control function is an automatic unlocking function and the target movement direction indicates a direction closer to the vehicle, controls the vehicle lock to perform the automatic unlocking function when the target device is detected to have moved from outside the ending boundary value of the target boundary to within the starting boundary value of the target boundary; thereby, by determining the user's intention through multi-dimensional data, the accuracy of the judgment can be improved, ensuring the precision of controlling the vehicle lock in the vehicle.

[0015] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: if there are two identical proportions of the target proportions in the movement directions indicated by the various acquisition results, obtaining the acquisition time of each acquisition result; and determining the movement direction indicated by the acquisition result with the latest acquisition time among the two identical proportions as the target movement direction.

[0016] In the above technical solution, if there are two identical proportions among the target proportions of the movement directions indicated by each collection result, the movement direction indicated by the collection result with the latest collection time among the two identical proportions is determined as the target movement direction. On the one hand, by determining the target proportion of each movement direction indicated by multiple collection results, the accuracy of the target proportion determined based on the movement direction can be improved. On the other hand, when there are two identical proportions among the target proportions of the movement directions indicated by each collection result, determining the movement direction indicated by the collection result with the latest collection time among the two identical proportions as the target movement direction can minimize the impact of sudden changes in user intent on the target movement direction, thereby improving the accuracy of the target movement direction and enhancing the precision of controlling the vehicle locks.

[0017] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the method further includes: if the control mode is detected to be an automatic control mode, and the second boundary value corresponding to the first automatic control function is detected, controlling the vehicle lock to execute the first automatic control function.

[0018] The above technical solution detects that the first automatic control function of the vehicle lock is activated, and detects that the last time the vehicle lock was controlled was in automatic control mode. Upon detecting that the second boundary value corresponding to the first automatic control function is met, the vehicle lock is controlled to execute the first automatic control function. Since the first automatic function is activated and the vehicle lock is controlled in automatic control mode, by detecting whether the target device meets the second boundary value corresponding to the first automatic function, the vehicle lock can automatically complete the execution of the first automatic control function without manual operation, thereby improving user convenience.

[0019] Secondly, a vehicle control device is provided, the device comprising: a detection module, configured to determine the control mode of the vehicle lock at the current moment if a first automatic control function of the vehicle lock is detected to be activated; wherein the first automatic control function is used to instruct the automatic control of the vehicle lock state to switch from a first state to a second state; the control of the vehicle lock is used to instruct the vehicle lock state to switch from the second state to the first state; the vehicle lock state includes an unlocked state and a locked state; an acquisition module, configured to acquire a first boundary value corresponding to a second automatic control function of the vehicle lock if the control mode is a non-automatic mode; wherein the second automatic control function is used to instruct the automatic control of the vehicle lock state to switch from the second state to the first state; a determination module, configured to determine a target boundary value based on the first boundary value and the second boundary value corresponding to the first automatic control function; wherein the target boundary value includes two boundary values; and a control module, configured to control the vehicle lock to execute the first automatic control function when the target boundary value is detected to be satisfied.

[0020] Thirdly, a vehicle is provided, including a memory and a processor, wherein the memory is used to store executable program code; and the processor is used to call and run the executable program code from the memory, causing the vehicle to perform the vehicle control method in the first aspect or any possible implementation thereof.

[0021] Fourthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the vehicle control method described in the first aspect or any possible implementation thereof.

[0022] Fifthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to execute the vehicle control method of the first aspect or any possible implementation thereof. Attached Figure Description

[0023] Figure 1 This is a schematic diagram of a vehicle control method provided in an embodiment of this application;

[0024] Figure 2 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application;

[0025] Figure 3 This is a schematic flowchart of another vehicle control method provided in an embodiment of this application;

[0026] Figure 4This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application;

[0027] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0028] 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.

[0029] 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.

[0030] It should be noted that when controlling a vehicle to automatically unlock or lock, magnetic field fluctuations may lead to inaccurate determination of the user's location, potentially causing the vehicle to mislock or unlock, thus compromising vehicle security. In view of this, this application provides a vehicle control method, a vehicle control device, a vehicle, and a storage medium. This method ensures the accuracy of controlling the vehicle's locks, thereby improving vehicle security.

[0031] Figure 1 This is a schematic diagram of a vehicle control method provided in an embodiment of this application.

[0032] For example, such as Figure 1 As shown, if the first automatic control function of the vehicle lock is detected to be automatic unlocking, it is determined that the vehicle's last lock control mode was non-automatic locking. The first boundary value corresponding to the automatic locking function is obtained, and the target boundary value is determined based on the first boundary value and the second boundary value corresponding to the automatic unlocking function. For example, the first boundary value is 2.5 meters, and the second boundary value is 1.5 meters. When the target device is detected to have moved from more than 2.5 meters to within 1.5 meters, the vehicle lock is controlled to execute the automatic unlocking function.

[0033] Understandably, the user carries a target device, which can be a terminal device such as a mobile phone, smartwatch, etc.; or, the target device can be a vehicle key. The target device can be chosen based on the specific circumstances.

[0034] For example, if the control mode is detected to be automatic locking mode, the vehicle lock will be controlled to perform automatic unlocking function when the automatic unlocking function is detected at a distance of 1.5 meters.

[0035] Optionally, the first boundary value can be set to 2.5 meters, 2.4 meters, etc., and the second boundary value can be set to 1.5 meters, 1.4 meters, etc., with the second boundary value being smaller than the first boundary value.

[0036] For example, if the first automatic control function of the vehicle lock is detected to be automatic locking, it is determined that the last time the vehicle lock was controlled was in a non-automatic unlocking mode. A first boundary value corresponding to the automatic unlocking function is obtained, and a target boundary value is determined based on the first boundary value and the second boundary value. For example, the first boundary value is 1.5 meters, and the second boundary value is 2.5 meters. When the target boundary value is met, the vehicle lock is controlled to execute the automatic locking function. Specifically, when it is detected that the user has moved from within 1.5 meters to beyond 1.5 meters, the vehicle lock is controlled to execute the automatic locking function.

[0037] For example, if the control mode is detected to be automatic unlocking mode, the vehicle lock will be controlled to perform the automatic locking function when the distance of 2.5 meters corresponding to the automatic locking function is detected.

[0038] Optionally, the first boundary value can be set to 1.5 meters, 1.4 meters, etc., and the second boundary value can be set to 2.5 meters, 2.4 meters, etc., with the second boundary value being greater than the first boundary value.

[0039] Figure 2 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application.

[0040] For example, Figure 2 The method shown can be executed by the vehicle's overall controller or chip.

[0041] For example, such as Figure 2 As shown, the method 200 includes the following procedures:

[0042] S210, if the first automatic control function of the vehicle lock is detected to be activated, determine the control method of the last time the vehicle lock was controlled at the current moment.

[0043] It should be noted that the first automatic control function is used to indicate that the automatic control of the vehicle lock status switches from the first state to the second state; the control of the vehicle lock is used to indicate that the vehicle lock status switches from the second state to the first state; the vehicle lock status includes unlocked state and locked state.

[0044] For example, if the first state is the unlocked state and the second state is the locked state, then the first automatic control function is the automatic locking function, and the vehicle lock is controlled to unlock; if the first state is the locked state and the second state is the unlocked state, then the first automatic control function is the automatic unlocking function, and the vehicle lock is controlled to lock.

[0045] In one example, if the automatic locking function of the vehicle lock is detected to be activated, the control method of the vehicle's last unlocking function at the current moment is determined. The control method of the unlocking function includes automatic unlocking and non-automatic unlocking.

[0046] In another example, if the automatic unlocking function of the vehicle lock is detected to be activated, the control mode of the vehicle's last locking function at the current moment is determined. The control mode of the locking function includes automatic locking function and non-automatic locking function.

[0047] S220, if the control mode is non-automatic, obtain the first boundary value corresponding to the second automatic control function of the vehicle lock.

[0048] In one example, if the automatic locking function of the vehicle lock is detected to be activated, the control mode of the vehicle's last unlocking function at the current moment is determined. If the control mode is a non-automatic unlocking mode, the second automatic control function of the vehicle lock is obtained as the automatic unlocking function, and the first boundary value corresponding to the automatic unlocking function is obtained.

[0049] In another example, if the automatic unlocking function of the vehicle lock is detected to be activated, the control mode of the vehicle's last locking function at the current moment is determined. If the control mode is a non-automatic locking mode, the second automatic control function of the vehicle lock is obtained as the automatic locking function, and the first boundary value corresponding to the automatic locking function is obtained.

[0050] In one example, if the automatic locking function of the vehicle lock is detected to be enabled, the control mode of the vehicle's last unlocking function at the current moment is determined. If the control mode is automatic unlocking, the vehicle lock is controlled to execute the automatic locking function when the second boundary value corresponding to the automatic locking function being enabled is detected.

[0051] In another example, if the automatic unlocking function of the vehicle lock is detected to be enabled, the control mode of the vehicle's last locking function at the current moment is determined. If the control mode is automatic locking mode, the vehicle lock is controlled to execute the automatic unlocking function when the second boundary value corresponding to the automatic unlocking function being enabled is detected.

[0052] In the above scheme, if the first automatic control function of the vehicle lock is detected to be activated, and the last time the vehicle lock was controlled was in automatic control mode, the vehicle lock is controlled to execute the first automatic control function upon detecting that the second boundary value corresponding to the first automatic control function is met. Since the first automatic function is activated and the vehicle lock is controlled in automatic control mode, the vehicle lock can automatically execute the first automatic control function without manual operation by detecting whether the target device meets the second boundary value corresponding to the first automatic function, thereby improving user convenience.

[0053] S230, determine the target boundary value based on the first boundary value and the second boundary value corresponding to the first automatic control function.

[0054] In one example, if the first boundary value is greater than the second boundary value, the second boundary value is used as the starting boundary value and the first boundary value is used as the ending boundary value to obtain the target boundary value. For example, if the first boundary value is 2.5 meters and the second boundary value is 1.5 meters, the second boundary value of 1.5 meters is used as the starting boundary value and the first boundary value of 2.5 meters is used as the ending boundary value to obtain the target boundary value.

[0055] In another example, if the second boundary value is greater than the first boundary value, the first boundary value is used as the starting boundary value and the second boundary value is used as the ending boundary value to obtain the target boundary value. For example, if the first boundary value is 1.5 meters and the second boundary value is 2.5 meters, the first boundary value of 1.5 meters is used as the starting boundary value and the second boundary value of 2.5 meters is used as the ending boundary value to obtain the target boundary value.

[0056] The above scheme obtains the target boundary value by using the second boundary value as the starting boundary value and the first boundary value as the ending boundary value if the first boundary value is greater than the second boundary value; and by using the first boundary value as the starting boundary value and the second boundary value as the ending boundary value if the second boundary value is greater than the first boundary value. Thus, the starting and ending boundaries are determined based on the relationship between the first and second boundary values, which can improve the accuracy of the target boundary value.

[0057] S240, when the target boundary value is detected, controls the vehicle lock to execute the first automatic control function.

[0058] In one example, if the first automatic control function is an automatic locking function, when the target device unlocking device is detected to have moved from within the first boundary value to outside the second boundary value, the vehicle lock is controlled to perform the automatic locking function, where the second boundary value is greater than the first boundary value.

[0059] For example, if the first boundary value is 1.5 meters and the second boundary value is 2.5 meters, and if the first automatic control function is an automatic locking function, the vehicle lock will automatically lock when it is detected that the target device unlocking device has moved from within 1.5 meters to beyond 2.5 meters.

[0060] In another example, if the first automatic control function is an automatic unlocking function, when the target device locking device is detected to have moved from outside the first boundary value to inside the second boundary value, the vehicle lock is controlled to perform the automatic unlocking function, where the second boundary value is less than the first boundary value.

[0061] For example, if the first boundary value is 2.5 meters and the second boundary value is 1.5 meters, and if the first automatic control function is the automatic unlocking function, when the target device locking device is detected to have moved from more than 2.5 meters to within 1.5 meters, the vehicle lock is controlled to perform the automatic unlocking function.

[0062] Optionally, the target device can be a vehicle key or a terminal device, which can include, but is not limited to, mobile phones, smartwatches, tablets, etc.

[0063] The above solution monitors the location and direction of movement of the target device to determine the user's true intention, and can accurately control the vehicle lock to perform automatic unlocking or automatic locking functions, thereby improving user convenience and vehicle security.

[0064] Example 1: The target device is a terminal device.

[0065] For example, the terminal device connects and authenticates with the vehicle via Bluetooth. Once the terminal device and the vehicle are successfully authenticated, the connection is established. The signal strength can be obtained by sensors installed on the vehicle, and the distance between the terminal device and the vehicle can be determined based on the signal strength and signal location. Thus, the moving position of the terminal device can be determined based on the distance between the terminal device and the vehicle.

[0066] For example, after the terminal device is successfully paired with the vehicle, the location information of the terminal device is determined through the positioning function on the terminal device; the location information of the terminal device can be represented by latitude and longitude, for example, the user's location information is 34.00 degrees north latitude and 108.00 degrees east longitude.

[0067] For example, an application is installed on the terminal device to authenticate the identity with the vehicle. After successful authentication, the application on the terminal device determines the location information of the terminal device and the distance between it and the vehicle in real time.

[0068] Example 2: The target device is a vehicle key.

[0069] For example, a vehicle key may be equipped with Bluetooth Low Energy. When the vehicle key approaches the vehicle, a connection is established between the vehicle and the key. The distance between the vehicle key and the vehicle can be determined by the signal strength of the key, thereby detecting the key's location information, direction of movement, and distance from the vehicle. Alternatively, a vehicle key may be equipped with a radio frequency chip, allowing the vehicle to determine the distance between the vehicle and the key by recognizing the key's signal.

[0070] For example, if the target device is detected to be within the target boundary, the movement direction of the target device is collected multiple times to obtain the target movement direction; the target device is used to control the vehicle lock to perform unlocking or locking; if the target movement direction is the same as the preset direction corresponding to the first automatic control function, the vehicle lock is controlled to perform the first automatic control function.

[0071] Understandably, after determining the location information of the target device, it is detected whether the target device is within the target boundary. If the target device is within the target boundary of the vehicle, the movement direction of the target device is collected multiple times to obtain multiple collection results. Based on the collection results, the movement direction of the target is obtained.

[0072] Specifically, when the target device and the vehicle are successfully paired, the distance between the target device and the vehicle is determined. By acquiring the distance between the target device and the vehicle multiple times, and comparing each acquired distance with the previous acquired distance, the movement direction of the target device is determined for each acquisition. Thus, by acquiring the movement direction of the target device multiple times, multiple acquisition results are obtained.

[0073] For example, when the vehicle key and vehicle are successfully paired, the first distance between the vehicle key and the vehicle is determined, and the second distance between the vehicle key and the vehicle is collected. The relationship between the first distance and the second distance is judged. If the second distance is less than or equal to the first distance, the direction of movement of the vehicle is determined to be the direction of approaching the vehicle. The third distance between the vehicle key and the vehicle is collected, and the relationship between the third distance and the second distance is judged. If the third distance is less than or equal to the second distance, the direction of movement of the vehicle is determined to be the direction of approaching the vehicle.

[0074] In one example, the target movement direction is determined by the proportion of each movement direction indicated by each acquisition result in the total number of acquisition results. The movement directions indicated by each acquisition result include the direction away from the vehicle and the direction towards the vehicle. Based on the target proportion of each movement direction indicated by the acquisition results, the target movement direction is determined.

[0075] For example, if there are five data collection results, and the five data collection results indicate the following movement directions: away from the vehicle, towards the vehicle, away from the vehicle, away from the vehicle, and away from the vehicle. If the proportion of the target in the away from the vehicle direction in the multiple data collection results is determined to be 0.8, and the proportion of the target in the towards the vehicle direction in the multiple data collection results is determined to be 0.2, then the target movement direction is determined to be away from the vehicle.

[0076] In another example, the proportion of the target movement direction indicated by each acquisition result in the multiple acquisition results is determined, and it is detected whether there are two identical proportions of the target movement direction in the multiple acquisition results. If there are two identical proportions of the target movement direction indicated by each acquisition result, the acquisition time of each acquisition result is obtained, and the movement direction indicated by the acquisition result with the latest acquisition time among the two identical proportions is determined as the target movement direction.

[0077] For example, if there are six data collection results, and the movement directions indicated by these six results are: away from the vehicle, away from the vehicle, away from the vehicle, approaching the vehicle, approaching the vehicle, and approaching the vehicle. If the target proportion in the away from the vehicle direction is determined to be 0.5, and the target proportion in the approaching the vehicle direction is also determined to be 0.5, then it is determined that there are two identical target proportions in the multiple data collection results.

[0078] Furthermore, the acquisition time of each acquisition result is obtained, and the movement direction indicated by the latest acquisition result among two acquisition results with the same proportion is determined as the direction of movement towards the vehicle, and the direction of movement towards the vehicle is determined as the target movement direction.

[0079] In the above scheme, if there are two identical proportions of the target movement direction indicated by each collection result, the movement direction indicated by the latest collection result among the two identical proportions is determined as the target movement direction. On the one hand, by determining the target proportion of each collection result's indicated movement direction among multiple collection results, the accuracy of the target proportion determined based on the movement direction can be improved. On the other hand, when there are two identical proportions of the target movement direction indicated by each collection result, determining the movement direction indicated by the latest collection result among the two identical proportions as the target movement direction minimizes the impact of sudden changes in user intent on the target movement direction, thereby improving the accuracy of the target movement direction and enhancing the precision of controlling the vehicle locks.

[0080] It should be noted that after determining the target's direction of movement, it checks whether the target's direction of movement is the same as the preset direction in the automatic lock control function. If the target's direction of movement is different from the preset direction in the automatic lock control function, the monitoring continues; if the target's direction of movement is the same as the preset direction in the automatic lock control function, the lock is controlled to execute the first automatic control function.

[0081] The above scheme detects that the target device is within the target boundary and collects the movement direction of the target device multiple times to obtain the target movement direction. Since the target movement direction is determined based on multiple collection results, the influence of the inaccuracy of a single collection result on the target movement direction is minimized, thereby improving the accuracy of the target movement direction. Based on this, if the target movement direction is the same as the preset direction corresponding to the first automatic control function, the vehicle lock is controlled to execute the first automatic control function. Therefore, the automatic unlocking or automatic locking function of the vehicle can be accurately executed without manual operation by the user, which can ensure the accuracy of controlling the vehicle lock, improving both user convenience and vehicle security.

[0082] In one example, if the first automatic control function is an automatic locking function and the target movement direction indicates a direction away from the vehicle, the vehicle lock is controlled to perform the automatic locking function when the target device is detected to have moved from within the starting boundary value of the target boundary to outside the ending boundary value of the target boundary.

[0083] For example, if the first automatic control function is the automatic locking function and the target movement direction indicates a direction away from the vehicle, the vehicle lock will perform the automatic locking function when the target device is detected to have moved from within 1.5 meters to more than 2.5 meters.

[0084] In another example, if the first automatic control function is the automatic unlocking function and the target movement direction indicates a direction closer to the vehicle, the vehicle lock is controlled to perform the automatic unlocking function when the target device is detected to have moved from outside the termination boundary value of the target boundary to within the starting boundary value of the target boundary.

[0085] For example, if the first automatic control function is the automatic unlocking function and the target movement direction indicates the direction of approaching the vehicle, the vehicle lock will automatically unlock when the target device is detected to have moved from more than 2.5 meters to within 1.5 meters.

[0086] In the above scheme, if the first automatic control function is an automatic locking function and the target movement direction indicates a direction away from the vehicle, the vehicle lock is controlled to perform the automatic locking function when the target device is detected to have moved from within the starting boundary value of the target boundary to outside the ending boundary value of the target boundary; if the first automatic control function is an automatic unlocking function and the target movement direction indicates a direction closer to the vehicle, the vehicle lock is controlled to perform the automatic unlocking function when the target device is detected to have moved from outside the ending boundary value of the target boundary to within the starting boundary value of the target boundary. Thus, by determining the user's intention through multi-dimensional data, the accuracy of the judgment can be improved, ensuring the precision of controlling the vehicle lock.

[0087] The above technical solution, when the first automatic control function of the vehicle lock is activated and the vehicle's previous control mode was non-automatic, determines a target boundary value based on a first boundary value and a second boundary value. Since the target boundary value is determined when the first automatic control function of the vehicle lock is activated and the control mode is non-automatic, and since the target boundary value includes two boundary values, when the control mode of the vehicle lock changes, if the target boundary value is detected, the vehicle lock is controlled to execute the first automatic control function. This avoids false locking or false locking due to inaccurate positioning caused by magnetic field fluctuations, ensuring the accuracy of vehicle lock control, improving user convenience, and enhancing vehicle security.

[0088] Figure 3 This is a schematic flowchart of another vehicle control method provided in the embodiments of this application.

[0089] For example, Figure 3 The method shown can be executed by the vehicle controller or chip in the vehicle.

[0090] For example, such as Figure 3 As shown, the method 300 includes the following procedures:

[0091] S301, if the first automatic control function of the vehicle lock is detected to be activated, determine the control method of the last time the vehicle lock was controlled at the current moment.

[0092] It should be noted that the first automatic control function is used to indicate that the automatic control of the vehicle lock status switches from the first state to the second state; the control of the vehicle lock is used to indicate that the vehicle lock status switches from the second state to the first state; the vehicle lock status includes unlocked state and locked state.

[0093] For example, if the first state is the unlocked state and the second state is the locked state, then the first automatic control function is the automatic locking function, and the vehicle lock is controlled to unlock; if the first state is the locked state and the second state is the unlocked state, then the first automatic control function is the automatic unlocking function, and the vehicle lock is controlled to lock.

[0094] In one example, if the automatic locking function of the vehicle lock is detected to be activated, the control method of the vehicle's last unlocking function at the current moment is determined. The control method of the unlocking function includes automatic unlocking and non-automatic unlocking.

[0095] In another example, if the automatic unlocking function of the vehicle lock is detected to be activated, the control mode of the vehicle's last locking function at the current moment is determined. The control mode of the locking function includes automatic locking function and non-automatic locking function.

[0096] S302, if the control mode is detected to be automatic control mode, and the second boundary value corresponding to the first automatic control function is detected, the vehicle lock is controlled to execute the first automatic control function.

[0097] In one example, if the automatic locking function of the vehicle lock is detected to be enabled, the control mode of the vehicle's last unlocking function at the current moment is determined. If the control mode is automatic unlocking, the vehicle lock is controlled to execute the automatic locking function when the second boundary value corresponding to the automatic locking function being enabled is detected.

[0098] In another example, if the automatic unlocking function of the vehicle lock is detected to be enabled, the control mode of the vehicle's last locking function at the current moment is determined. If the control mode is automatic locking mode, the vehicle lock is controlled to execute the automatic unlocking function when the second boundary value corresponding to the automatic unlocking function being enabled is detected.

[0099] S303, if the control mode is non-automatic, obtain the first boundary value corresponding to the second automatic control function of the vehicle lock.

[0100] It should be noted that there is no specific order between S302 and S303. S302 can be executed first, or S303 can be executed first; or they can be executed simultaneously. No specific restrictions are made here.

[0101] It should be noted that the second automatic control function is used to indicate that the automatic control of the vehicle lock status switches from the second state to the first state.

[0102] In one example, if the automatic locking function of the vehicle lock is detected to be activated, the control mode of the vehicle's last unlocking function at the current moment is determined. If the control mode is a non-automatic unlocking mode, the second automatic control function of the vehicle lock is obtained as the automatic unlocking function, and the first boundary value corresponding to the automatic unlocking function is obtained.

[0103] In another example, if the automatic unlocking function of the vehicle lock is detected to be activated, the control mode of the vehicle's last locking function at the current moment is determined, the second automatic control function of the vehicle lock is obtained as the automatic locking function, and the first boundary value corresponding to the automatic locking function is obtained.

[0104] S304, determine whether the first boundary value is greater than the second boundary value; if yes, then execute S305; if no, then execute S306.

[0105] For example, the starting boundary value and the ending boundary value are determined by determining the relationship between the first boundary value and the second boundary value.

[0106] S305, using the second boundary value as the starting boundary value and the first boundary value as the ending boundary value, the target boundary value is obtained.

[0107] For example, if the first boundary value is greater than the second boundary value, the second boundary value is used as the starting boundary value and the first boundary value is used as the ending boundary value to obtain the target boundary value. For instance, if the first boundary value is 2.5 meters and the second boundary value is 1.5 meters, the second boundary value of 1.5 meters is used as the starting boundary value and the first boundary value of 2.5 meters is used as the ending boundary value to obtain the target boundary value.

[0108] S306, using the first boundary value as the starting boundary value and the second boundary value as the ending boundary value, the target boundary value is obtained.

[0109] It should be noted that there is no specific order between S306 and S305. S306 can be executed first, or S305 can be executed first; or they can be executed simultaneously. No specific restrictions are made here.

[0110] For example, if the second boundary value is greater than the first boundary value, the first boundary value is used as the starting boundary value and the second boundary value is used as the ending boundary value to obtain the target boundary value. For instance, if the first boundary value is 1.5 meters and the second boundary value is 2.5 meters, the first boundary value of 1.5 meters is used as the starting boundary value and the second boundary value of 2.5 meters is used as the ending boundary value to obtain the target boundary value.

[0111] S307, if the target device is detected to be within the target boundary, the movement direction of the target device is collected multiple times to obtain the target movement direction.

[0112] It should be noted that the target device is used to control the vehicle lock to perform unlocking or locking.

[0113] For example, if the target device is detected to be within the target boundary, the movement direction of the target device is collected multiple times to obtain the target movement direction; the target device is used to control the vehicle lock to perform unlocking or locking; if the target movement direction is the same as the preset direction corresponding to the first automatic control function, the vehicle lock is controlled to perform the first automatic control function.

[0114] Understandably, after determining the location information of the target device, it is detected whether the target device is within the target boundary. If the target device is within the target boundary of the vehicle, the movement direction of the target device is collected multiple times to obtain multiple collection results. Based on the collection results, the movement direction of the target is obtained.

[0115] Specifically, when the target device and the vehicle are successfully paired, the distance between the target device and the vehicle is determined. By acquiring the distance between the target device and the vehicle multiple times, and comparing each acquired distance with the previous acquired distance, the movement direction of the target device is determined for each acquisition. Thus, by acquiring the movement direction of the target device multiple times, multiple acquisition results are obtained.

[0116] For example, when the vehicle key and vehicle are successfully paired, the first distance between the vehicle key and the vehicle is determined, and the second distance between the vehicle key and the vehicle is collected. The relationship between the first distance and the second distance is judged. If the second distance is less than or equal to the first distance, the direction of movement of the vehicle is determined to be the direction of approaching the vehicle. The third distance between the vehicle key and the vehicle is collected, and the relationship between the third distance and the second distance is judged. If the third distance is less than or equal to the second distance, the direction of movement of the vehicle is determined to be the direction of approaching the vehicle.

[0117] In one example, the proportion of the target movement direction indicated by each acquisition result in the multiple acquisition results is determined, and it is detected whether there are two identical proportions of the target movement direction in the multiple acquisition results. If there are two identical proportions of the target movement direction indicated by each acquisition result, the acquisition time of each acquisition result is obtained, and the movement direction indicated by the acquisition result with the latest acquisition time among the two identical proportions is determined as the target movement direction.

[0118] For example, if there are six data collection results, and the movement directions indicated by these six results are: away from the vehicle, away from the vehicle, away from the vehicle, approaching the vehicle, approaching the vehicle, and approaching the vehicle. If the target proportion in the away from the vehicle direction is determined to be 0.5, and the target proportion in the approaching the vehicle direction is also determined to be 0.5, then it is determined that there are two identical target proportions in the multiple data collection results.

[0119] Furthermore, the acquisition time of each acquisition result is obtained, and the movement direction indicated by the latest acquisition result among two acquisition results with the same proportion is determined as the direction of movement towards the vehicle, and the direction of movement towards the vehicle is determined as the target movement direction.

[0120] S308, if the target movement direction is the same as the preset direction corresponding to the first automatic control function, control the vehicle lock to execute the first automatic control function.

[0121] For example, after determining the target movement direction, it is detected whether the target movement direction is the same as the preset direction in the automatic lock control function. If the target movement direction is different from the preset direction in the automatic lock control function, the monitoring continues; if the target movement direction is the same as the preset direction in the automatic lock control function, the lock is controlled to perform the first automatic control function.

[0122] In one example, if the first automatic control function is an automatic locking function and the target movement direction indicates a direction away from the vehicle, the vehicle lock is controlled to perform the automatic locking function when the target device is detected to have moved from within the starting boundary value of the target boundary to outside the ending boundary value of the target boundary.

[0123] In another example, if the first automatic control function is the automatic unlocking function and the target movement direction indicates a direction closer to the vehicle, the vehicle lock is controlled to perform the automatic unlocking function when the target device is detected to have moved from outside the termination boundary value of the target boundary to within the starting boundary value of the target boundary.

[0124] It should be understood that the above examples are provided to help those skilled in the art understand the embodiments of this application, and are not intended to limit the embodiments of this application to the specific values ​​or scenarios illustrated. Those skilled in the art can obviously make various equivalent modifications or changes based on the above examples, and such modifications or changes also fall within the scope of the embodiments of this application.

[0125] The above text combined Figures 1 to 3 The vehicle control method provided in the embodiments of this application has been described in detail; the following will be combined with Figure 4 and Figure 5 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.

[0126] Figure 4 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application.

[0127] For example, such as Figure 4 As shown, the vehicle control device 400 includes:

[0128] The detection module 410 is used to determine the control mode of the vehicle lock at the current moment if the first automatic control function of the vehicle lock is detected to be activated; wherein, the first automatic control function is used to indicate that the automatic control lock state switches from the first state to the second state; the control lock is used to indicate that the lock state switches from the second state to the first state; the lock state includes an unlocked state and a locked state.

[0129] The acquisition module 420 is used to acquire the first boundary value corresponding to the second automatic control function of the vehicle lock if the control mode is non-automatic; wherein, the second automatic control function is used to indicate that the automatic control vehicle lock state switches from the second state to the first state;

[0130] The determination module 430 is used to determine the target boundary value based on the first boundary value and the second boundary value corresponding to the first automatic control function; wherein the target boundary value includes two boundary values.

[0131] The control module 440 is used to control the vehicle lock to perform the first automatic control function when the target boundary value is detected.

[0132] Optionally, as an embodiment, the determining module 430 is specifically used for:

[0133] If the first boundary value is greater than the second boundary value, the second boundary value is used as the starting boundary value and the first boundary value is used as the ending boundary value to obtain the target boundary value; if the second boundary value is greater than the first boundary value, the first boundary value is used as the starting boundary value and the second boundary value is used as the ending boundary value to obtain the target boundary value.

[0134] Optionally, as an embodiment, the control module 440 is specifically used for:

[0135] If the first automatic control function is an automatic locking function, the vehicle lock is controlled to perform the automatic locking function when the unlocking device is detected to move from inside the first boundary value to outside the second boundary value; wherein the second boundary value is greater than the first boundary value. If the first automatic control function is an automatic unlocking function, the vehicle lock is controlled to perform the automatic unlocking function when the locking device is detected to move from outside the first boundary value to inside the second boundary value; wherein the second boundary value is less than the first boundary value.

[0136] Optionally, as an embodiment, the control module 440 is specifically used for:

[0137] If the target device is detected to be within the target boundary, the movement direction of the target device is collected multiple times to obtain the target movement direction; wherein, the target device is used to control the vehicle lock to perform unlocking or locking; if the target movement direction is the same as the preset direction corresponding to the first automatic control function, the vehicle lock is controlled to perform the first automatic control function.

[0138] Optionally, as an embodiment, the control module 440 is specifically used for:

[0139] Based on the proportion of the target's movement direction indicated by each of the multiple acquisition results, the target movement direction is determined. If the first automatic control function is an automatic locking function and the target movement direction indicates a direction away from the vehicle, the vehicle lock is controlled to perform the automatic locking function when the target device is detected to move from within the starting boundary value of the target boundary to outside the ending boundary value of the target boundary. If the first automatic control function is an automatic unlocking function and the target movement direction indicates a direction closer to the vehicle, the vehicle lock is controlled to perform the automatic unlocking function when the target device is detected to move from outside the ending boundary value of the target boundary to within the starting boundary value of the target boundary.

[0140] Optionally, as an embodiment, the control module 440 is specifically used for:

[0141] If there are two identical proportions of the target in the direction of movement indicated by each acquisition result, obtain the acquisition time of each acquisition result; determine the direction of movement indicated by the acquisition result with the latest acquisition time among the two identical proportions as the target movement direction.

[0142] Optionally, as an embodiment, the acquisition module 420 is specifically used for:

[0143] If the control mode is detected to be automatic, and the second boundary value corresponding to the first automatic control function is detected, the vehicle lock is controlled to execute the first automatic control function.

[0144] It should be noted that the aforementioned vehicle control device 400 is embodied in the form of a functional unit. The term "module" here can be implemented in software and / or hardware, without specific limitations.

[0145] 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.

[0146] 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.

[0147] Figure 5This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0148] For example, vehicle 500 and Figure 1 Vehicle 100 in the text refers to the same vehicle.

[0149] For example, such as Figure 5 As shown, the vehicle 500 includes a memory 510 and a processor 520, wherein the memory 510 stores executable program code 530, and the processor 520 is used to call and execute the executable program code 530 to perform a vehicle control method.

[0150] For example, the memory 510 can be used to store related programs of the vehicle control method provided in the embodiments of this application; the processor 520 can call the related programs of the vehicle control method stored in the memory 510 to execute the vehicle control method of the embodiments of this application; for example, if the first automatic control function of the vehicle lock is detected to be activated, the control mode of the vehicle lock at the current moment is determined; wherein, the first automatic control function is used to indicate that the automatic control of the vehicle lock state is switched from the first state to the second state; the control of the vehicle lock is used to indicate that the vehicle lock state is switched from the second state to the first state; the vehicle lock state includes an unlocked state and a locked state; if the control mode is a non-automatic mode, the first boundary value corresponding to the second automatic control function of the vehicle lock is obtained; wherein, the second automatic control function is used to indicate that the automatic control of the vehicle lock state is switched from the second state to the first state; based on the first boundary value and the second boundary value corresponding to the first automatic control function, a target boundary value is determined; wherein, the target boundary value includes two boundary values; when the target boundary value is detected to be satisfied, the vehicle lock is controlled to execute the first automatic control function.

[0151] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0152] When each functional module is divided according to its corresponding function, the device may also include a detection module, an acquisition module, a determination module, a control module, etc. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced to the functional descriptions of the corresponding functional modules, and will not be repeated here.

[0153] It should be understood that the device provided in this embodiment is used to execute the above-described vehicle control method, and therefore can achieve the same effect as the above-described implementation method.

[0154] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing program code, etc.

[0155] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.

[0156] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a vehicle control method provided in the above embodiments.

[0157] This application also provides a computer-readable storage medium storing computer program code, which, when run on a computer, causes the computer to execute the aforementioned method steps to implement a vehicle control method provided in the above embodiments. 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-ROMs), microdrives, and magneto-optical disks, read-only memory (ROMs), random access memory (RAMs), erasable programmable read-only memory (EPROMs), electrically erasable programmable read-only memory (EEPROMs), dynamic random access memory (DRAMs), video random access memory (VRAMs), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and / or data.

[0158] 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 provided in the above embodiments.

[0159] The vehicle, computer-readable storage medium, computer program product or chip provided in this application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0160] 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.

[0161] 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.

[0162] 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 vehicle control method, characterized in that, The method includes: If the first automatic control function of the vehicle lock is detected to be activated, the control mode of the vehicle lock at the current moment is determined; wherein, the first automatic control function is used to indicate that the automatic control lock state switches from a first state to a second state; the control lock is used to indicate that the lock state switches from the second state to the first state; the lock state includes an unlocked state and a locked state; If the control mode is non-automatic, obtain the first boundary value corresponding to the second automatic control function of the vehicle lock; wherein, the second automatic control function is used to indicate that the vehicle lock state is automatically switched from the second state to the first state; A target boundary value is determined based on the first boundary value and the second boundary value corresponding to the first automatic control function; wherein, the target boundary value includes two boundary values; When the target boundary value is detected, the vehicle lock is controlled to perform the first automatic control function.

2. The method according to claim 1, characterized in that, Determining the target boundary value based on the first boundary value and the second boundary value corresponding to the first automatic control function includes: If the first boundary value is greater than the second boundary value, the second boundary value is used as the starting boundary value and the first boundary value is used as the ending boundary value to obtain the target boundary value; If the second boundary value is greater than the first boundary value, the first boundary value is used as the starting boundary value and the second boundary value is used as the ending boundary value to obtain the target boundary value.

3. The method according to claim 1, characterized in that, The step of controlling the vehicle lock to execute the first automatic control function when the target boundary value is detected includes: If the first automatic control function is an automatic locking function, when the target device is detected to have moved from within the first boundary value to outside the second boundary value, the vehicle lock is controlled to perform the automatic locking function; wherein, the second boundary value is greater than the first boundary value; If the first automatic control function is an automatic unlocking function, when the target device is detected to have moved from outside the first boundary value to inside the second boundary value, the vehicle lock is controlled to perform the automatic unlocking function; wherein, the second boundary value is less than the first boundary value.

4. The method according to claim 1, characterized in that, The step of controlling the vehicle lock to execute the first automatic control function when the target boundary value is detected includes: If the target device is detected to be within the target boundary, the movement direction of the target device is collected multiple times to obtain the target movement direction; wherein, the target device is used to control the vehicle lock to perform unlocking or locking. If the target's movement direction is the same as the preset direction corresponding to the first automatic control function, the vehicle lock is controlled to execute the first automatic control function.

5. The method according to claim 4, characterized in that, The process of repeatedly collecting the movement direction of the target device to obtain the target movement includes: The target movement direction is determined based on the proportion of the movement direction indicated by each of the multiple acquisition results in the target among the multiple acquisition results. If the target's movement direction is the same as the preset direction corresponding to the first automatic control function, controlling the vehicle lock to execute the first automatic control function includes: If the first automatic control function is an automatic locking function and the target movement direction indicates a direction away from the vehicle, when the target device is detected to have moved from within the starting boundary value of the target boundary to outside the ending boundary value of the target boundary, the vehicle lock is controlled to perform the automatic locking function. If the first automatic control function is an automatic unlocking function and the target movement direction indicates a direction closer to the vehicle, when the target device is detected to have moved from outside the termination boundary value of the target boundary to within the starting boundary value of the target boundary, the vehicle lock is controlled to perform the automatic unlocking function.

6. The method according to claim 4, characterized in that, The determination of the target movement direction based on the proportion of the movement direction indicated by each of the multiple acquisition results in the total number of acquisition results includes: If there are two identical proportions of the target proportions in the movement direction indicated by each of the acquisition results, obtain the acquisition time of each acquisition result; The direction of movement indicated by the latest acquisition time among the two equally proportioned acquisition results is determined as the target direction of movement.

7. The method according to claim 1, characterized in that, Also includes: If the control mode is detected to be automatic control mode, and the second boundary value corresponding to the first automatic control function is detected, the vehicle lock is controlled to execute the first automatic control function.

8. A vehicle control device, characterized in that, The device includes: The detection module is used to determine the control mode of the vehicle's last lock control at the current moment if the first automatic control function of the vehicle lock is detected to be activated; wherein, the first automatic control function is used to indicate that the automatic control lock state switches from a first state to a second state; the control lock is used to indicate that the lock state switches from the second state to the first state; the lock state includes an unlocked state and a locked state; The acquisition module is used to acquire a first boundary value corresponding to the second automatic control function of the vehicle lock if the control mode is non-automatic; wherein the second automatic control function is used to indicate that the vehicle lock state is automatically switched from the second state to the first state; The determining module is used to determine a target boundary value based on the first boundary value and a second boundary value corresponding to the first automatic control function; wherein the target boundary value includes two boundary values; The control module is used to control the vehicle lock to perform the first automatic control function when the target boundary value is detected.

9. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor is configured to call and run the executable program code from the memory, causing the vehicle to perform the vehicle control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the vehicle control method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Lock device and electronic key system

    CN103872517A

  • Wireless door locking apparatus for vehicle

    JP2003301638A