Function control method and apparatus for vehicle, electronic device, and vehicle

By starting a timer after the vehicle detects the key and judging the execution conditions in real time, the power consumption problem caused by continuous communication between the key and the vehicle is solved, achieving energy-saving control of the key and the vehicle and extending battery life.

WO2026130157A1PCT designated stage Publication Date: 2026-06-25GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2025-12-08
Publication Date
2026-06-25

Smart Images

  • Figure CN2025140870_25062026_PF_FP_ABST
    Figure CN2025140870_25062026_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of vehicle control, and in particular to a function control method and apparatus for a vehicle, an electronic device, and a vehicle. The method comprises: upon determining that an active function is set to ON and detecting that all doors of a vehicle are closed and a key is detected within a predetermined detection range outside the vehicle, enabling the active function, and starting timing for a predetermined duration; within the predetermined duration, acquiring key data in real time, and upon determining that the key data satisfies an execution condition for the active function, controlling the vehicle to execute the active function; or, upon determining that the predetermined duration has expired or that no key is detected within the predetermined detection range, stopping the timing and disabling the active function. In this way, while it is ensured that an active function can be normally executed, on the basis of the timing of a predetermined duration, the active function can be directly disabled when the active function is not triggered or a user carrying a key leaves a predetermined detection range, thereby reducing power consumption of the vehicle and the key.
Need to check novelty before this filing date? Find Prior Art

Description

Vehicle function control methods, devices, electronic equipment and vehicles

[0001] This disclosure claims priority to Chinese Patent Application No. 202411861340.3, filed on December 17, 2024, entitled “Method, Apparatus, Electronic Device and Vehicle for Functional Control of Vehicle”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This disclosure relates to the field of vehicle control technology, and in particular to a method, device, electronic equipment, and vehicle for controlling vehicle functions. Background Technology

[0003] Currently, vehicles are becoming increasingly intelligent, with more and more automated functions. In particular, when a user approaches a vehicle with the key, some vehicle functions will be automatically triggered.

[0004] However, when a user approaches a vehicle with the key, the key and the vehicle maintain a constant communication connection, causing the key to continuously consume power during this time, which reduces the key's lifespan. Summary of the Invention

[0005] In view of this, the purpose of this disclosure is to provide a vehicle function control method, device, electronic device and vehicle to solve the technical problem that the key consumes power continuously when it is near the vehicle, resulting in a reduction in the lifespan of the key.

[0006] To achieve the above objectives, this disclosure provides a method for controlling the function of a vehicle, comprising:

[0007] Once the active function is set to "on", it will be activated after all vehicle doors are detected to be closed and the key is detected within the predetermined detection range. The active function is a function that can be automatically triggered based on the key data.

[0008] Within a predetermined timeframe, key data is acquired in real-time; if the key data meets the execution conditions for an active function, the vehicle is controlled to execute the active function; or...

[0009] When the predetermined timeout period ends or no key is detected within the predetermined detection range, the timeout is stopped and the active function is turned off.

[0010] Based on the same inventive concept, this disclosure also provides a vehicle function control device, a processor and a memory, wherein the processor is used to execute the functions of program modules stored in the memory;

[0011] The program module includes:

[0012] The active function start control module is configured to determine that the active function is set to open, and after detecting that all doors of the vehicle are closed and the key is detected within a predetermined detection range, activate the active function and start timing for a predetermined duration. The active function is a function that can be automatically triggered based on the key data.

[0013] The active function execution module is configured to acquire key data in real time within a predetermined period, determine if the key data meets the execution conditions of the active function, and control the vehicle to execute the active function; or...

[0014] The active function shutdown control module is configured to stop timing and disable the active function when the predetermined time expires or when no key is detected within the predetermined detection range.

[0015] Based on the same inventive concept, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the above method when executing the computer program.

[0016] Based on the same inventive concept, this disclosure also provides a vehicle including the above-described device or electronic device.

[0017] As can be seen from the above, the vehicle function control method, device, electronic equipment, and vehicle provided in this disclosure, after the user turns on the active function setting, and after confirming that all vehicle doors are closed and the user enters the predetermined detection range outside the vehicle with the key, will activate the active function and start timing. If the vehicle determines that the execution conditions of the active function are met based on the acquired key data within the predetermined time, it will automatically control the vehicle to execute the active function. If the predetermined time expires, or the user leaves the predetermined detection range with the key and the key cannot be detected, the user may be approaching the vehicle with the key but does not want to trigger the active function. In order to avoid key power consumption, the timing will stop and the active function will be turned off, thereby ending the function of the key continuously sending key data in real time, thus reducing the key power consumption. At the same time, the vehicle does not need to receive key data in real time, nor does it need to determine whether the key data meets the execution conditions of the active function in real time, thus reducing the vehicle's power consumption. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 is a flowchart of a vehicle function control method according to an embodiment of the present disclosure;

[0020] Figure 2 is an expanded flowchart of step 102 in the vehicle function control method of this disclosure embodiment;

[0021] Figure 3 is another expanded flowchart of step 102 in the vehicle function control method of this disclosure embodiment;

[0022] Figure 4 is a flowchart of the vehicle function control method according to an embodiment of the present disclosure, which further includes steps A1 to A3 during execution.

[0023] Figure 5 is a flowchart of the vehicle function control method according to an embodiment of the present disclosure, which further includes steps B1 to B3 during execution.

[0024] Figure 6 is a flowchart of the execution of the automatic control function of the sliding door corresponding to step B2 or C3 in the vehicle function control method of this embodiment of the present disclosure.

[0025] Figure 7 is a flowchart of the execution of the automatic control function of the revolving door in the vehicle function control method of this embodiment of the present disclosure, corresponding to step B2 or C3.

[0026] Figure 8 is a structural block diagram of the vehicle function control device according to an embodiment of the present disclosure;

[0027] Figure 9 is a schematic diagram of the structure of an electronic device according to an embodiment of this disclosure. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0029] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0030] Definitions:

[0031] APP, Application.

[0032] T-Box, Telematics Box, Remote Information Processor.

[0033] Normally, vehicles have an automatic locking function when the user leaves the vehicle with the key. If the vehicle meets the locking parameters, it will automatically lock to ensure security. However, if the user leaves the vehicle with the key, the vehicle will continuously communicate with the key, leading to excessive power consumption for both the key and the vehicle. Especially since the key's battery has a limited capacity, this power consumption will cause the battery to drain too quickly, reducing its lifespan and requiring frequent battery replacements or recharging.

[0034] Therefore, how to enable vehicles and keys to perform some active automatic control functions while reducing power consumption has become an urgent technical problem to be solved.

[0035] Based on the above, the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0036] The vehicle function control method proposed in the embodiments of this disclosure is applied to the vehicle controller (e.g., a T-Box controller, which can communicate with a key or a control program APP of a terminal device with key function).

[0037] As shown in Figure 1, the method includes:

[0038] Step 101: Determine that the active function is set to open. After detecting that all doors of the vehicle are closed and the key is detected within a predetermined detection range outside the vehicle, start timing for a predetermined duration (e.g., 15 minutes, 20 minutes, or other set durations). The active function is a function that can be automatically triggered based on the key data.

[0039] In practice, the key can be a vehicle remote key or a terminal device with a control program APP that includes key functions.

[0040] The remote key or control app includes controls for various active functions. Users can activate these controls to select the corresponding active function. Once a specific active function is activated, the control app transmits the information to the vehicle controller (e.g., a T-Box controller), allowing the vehicle controller to automatically control the active function.

[0041] Specifically, the active functions include: automatic locking / unlocking (divided into automatic unlocking and automatic locking), automatic door control, and automatic window control. Users can select one or more of these active functions to enable according to their actual needs.

[0042] In this way, once the vehicle controller determines that all doors are closed and the key is detected within a predetermined detection range outside the vehicle, the controller will activate the active function and begin a timer for a predetermined duration. This predetermined detection range is set to an area outside the vehicle, which prevents the active function from being repeatedly activated when the user is inside the vehicle with the key.

[0043] Then, the vehicle controller will be in a state of real-time key data acquisition, and after the active function is activated, the vehicle controller will send a start signal to the key. After receiving this start signal, the key will continuously generate key data and send it to the vehicle controller.

[0044] Step 102: Within a predetermined time period, acquire key data in real time, determine if the key data meets the execution conditions of the active function, and control the vehicle to execute the active function.

[0045] Alternatively, in step 103, if the predetermined timeout period ends or no key is detected within the predetermined detection range, stop the timeout and disable the active function.

[0046] In practice, the vehicle controller pre-stores the execution conditions corresponding to each active function. When an active function is activated, the corresponding execution conditions are retrieved (e.g., detecting that a user has approached the vehicle to a predetermined distance). The vehicle controller then continuously analyzes the acquired key data over a predetermined period, determining whether the data meets the execution conditions. If not, it continues to acquire key data; if the conditions are met, it controls the execution of the active function.

[0047] Because once the user's key reaches the predetermined detection range, if the user wants to enter the vehicle and drive, the corresponding execution conditions will generally be met relatively quickly (within the predetermined time), thereby quickly and automatically executing the active function to facilitate the user's entry into the vehicle and driving.

[0048] If the corresponding execution conditions cannot be met within the predetermined time, the vehicle controller will stop timing and disable the active function to ensure that the vehicle and key do not consume excessive power.

[0049] If the user moves away from the vehicle with the key (i.e., the vehicle controller does not detect the key within the predetermined detection range), it further proves that the user will not enter the vehicle. At this point, regardless of whether the predetermined time has ended, the vehicle controller will stop the timer and turn off the active function in order to ensure that the vehicle and the key do not consume excessive power.

[0050] With the above scheme, after the user sets the active function to be enabled, and after confirming that all vehicle doors are closed and the user has entered the predetermined detection range outside the vehicle with the key, the active function will be activated and a timer will begin. If, within the predetermined time, the vehicle determines that the execution conditions of the active function are met based on the acquired key data, it will automatically control the vehicle to execute the active function. If the predetermined time expires, or if the user leaves the predetermined detection range with the key and the key cannot be detected, the user may be approaching the vehicle with the key but does not want to trigger the active function. To avoid consuming the key's power, the timer will stop and the active function will be turned off, thereby ending the function of the key continuously sending key data in real time, thus reducing the key's power consumption. At the same time, the vehicle no longer needs to receive key data in real time or determine whether the key data meets the execution conditions of the active function in real time, thus reducing the vehicle's power consumption.

[0051] In some embodiments, the active function includes an automatic unlocking function, wherein the predetermined duration corresponding to the automatic unlocking function is a first predetermined duration (e.g., 15 minutes).

[0052] In specific implementation, the automatic unlocking / locking function includes either an automatic unlocking function or an automatic locking function, with the corresponding active function being the automatic unlocking / locking function. If the automatic unlocking / locking function is set to open, then in step 101, if the user carries the key into the predetermined detection range, the vehicle controller will detect the key and activate the automatic unlocking / locking function.

[0053] As shown in Figure 2, step 102 includes:

[0054] Step A1: Within a first predetermined time period, acquire the distance data of the key relative to the vehicle in real time.

[0055] In practice, after the vehicle controller activates the automatic locking / unlocking function, it will continuously detect and acquire the distance data of the key relative to the vehicle through millimeter-wave radar, and then determine the movement of the key relative to the vehicle based on the distance data.

[0056] Step A2: In response to determining the unlocking distance range of the key to enter the vehicle based on the distance data, control the vehicle to unlock.

[0057] In practice, if the distance data is less than or equal to the maximum value of the unlocking distance range, it proves that the user is carrying the key into the vehicle's unlocking distance range, thus detecting the user's need to enter the vehicle. In this case, the vehicle controller will control the unlocking of each door of the vehicle; or, control the unlocking of the driver's side door; or, control the unlocking of the target door set by the user.

[0058] Alternatively, in step A3, in response to determining the unlocking distance range of the key leaving the vehicle based on the distance data, the vehicle is locked.

[0059] In practice, if the user is initially inside the vehicle, the vehicle controller will continuously check whether the distance data is greater than the maximum value of the unlocking distance range. If so, it proves that the user has left the vehicle with the key, and the vehicle will be locked to ensure vehicle security.

[0060] In addition, if the first predetermined duration ends, step 103 will be executed to stop the first predetermined duration timing and turn off the active function, thereby reducing the power consumption of the vehicle controller and key and increasing the battery life of the vehicle and key.

[0061] The above scheme ensures that within the first predetermined time period, the vehicle can analyze and judge the distance data of the detected key relative to the vehicle, thereby realizing the automatic unlocking or locking function, ensuring the intelligence of the vehicle. The first predetermined time period is set to limit the completion time. After the first predetermined time period is exceeded, all active functions (including automatic unlocking and locking functions) will be turned off, thus reducing the power consumption of the vehicle and key and increasing the battery life of the vehicle and key.

[0062] In some embodiments, the active function includes an automatic door control function, wherein the predetermined duration corresponding to the automatic door control function is a second predetermined duration (e.g., 20 minutes). The second predetermined duration is longer than the first predetermined duration.

[0063] In specific implementation, the automatic door control function includes: automatic control function for revolving doors or automatic control function for sliding doors, and the corresponding active function is the automatic door control function. If the automatic door control function is set to open, then in step 101, if the user carries the key into the predetermined detection range, the vehicle controller can detect the key and activate the automatic door control function.

[0064] If the automatic unlocking and locking function and the automatic door control function are both set to be on in advance, in step 101, if the user enters the predetermined detection range with the key, the vehicle controller will turn on both the automatic unlocking and locking function and the automatic door control function, and directly start the second predetermined duration of timing.

[0065] As shown in Figure 3, step 102 includes:

[0066] Step B1: Within the second predetermined time period, acquire the distance data of the key relative to the vehicle in real time.

[0067] In practice, after the vehicle controller activates the automatic door control function, it will continuously detect and acquire the distance data of the key relative to the vehicle through millimeter-wave radar, and then determine the movement of the key relative to the vehicle based on the distance data.

[0068] Step B2: Based on the distance data, determine that the distance the key is at from the vehicle is greater than or equal to a distance threshold, and control the target door of the vehicle to open.

[0069] In practice, if the distance data changes from large to small over time, it indicates that the user is approaching the vehicle with the key. The vehicle controller calculates the change in distance data over a second predetermined period as the distance the key is to approach the vehicle. If this approaching distance is greater than or equal to a distance threshold (e.g., 1.5m or 2m), the vehicle controller will control the target door corresponding to the automatic door control function to open.

[0070] In addition, the approach distance needs to be determined within a predetermined time period. The vehicle controller will continuously calculate the approach distance within the predetermined time period based on the distance data. This predetermined time period must be shorter than the second predetermined duration.

[0071] Step B3: After confirming that the target door is open, control the vehicle to turn off the active function and stop the timer.

[0072] In practice, when the vehicle controller determines that the approaching distance is greater than or equal to a distance threshold, it sends an opening command to the target door's starter. Upon receiving the command, the target door's starter controls the door to open, generating an opening completion signal which is then sent to the vehicle controller. Receiving this signal confirms the door is open, indicating the vehicle has automatically fulfilled the user's request to open the door. To prevent further power consumption by the vehicle and key, the controller disables the active function, thus shutting down the automatic door control and stopping the timer. However, if the user re-enters the predetermined detection range with the key, the automatic door control function will be reactivated, and the second predetermined timer will restart.

[0073] The above scheme ensures that within the second predetermined time period, the vehicle can analyze and judge the distance data of the detected key relative to the vehicle, thereby realizing the opening control function of the target door, ensuring the intelligence of the vehicle. The second predetermined time period is set to limit the completion time. After the second predetermined time period is exceeded, all active functions (including the automatic door control function) will be turned off, thus reducing the power consumption of the vehicle and key and increasing the battery life of the vehicle and key.

[0074] In some embodiments, during the execution of any of steps A1 to A3, as shown in FIG4, the method further includes:

[0075] Step C1: Within the first predetermined time period, upon receiving the message that the automatic door control function is turned on, stop the timing of the first predetermined time period, start the timing of the second predetermined time period, and activate the automatic door control function.

[0076] In practice, if the user sets the automatic door control function to open via the remote key or control app during the first predetermined time period, the first predetermined time period will be stopped and the second predetermined time period will begin to ensure the integrity of the automatic door control function's timing and prevent the automatic door opening function from being affected by the end of the first predetermined time period. Since this will definitely be performed when the user enters the predetermined detection range with the key, the automatic door control function will be activated directly after the user sets it to open.

[0077] Step C2: Within the second predetermined time period, acquire the distance data of the key relative to the vehicle in real time.

[0078] In practice, after the vehicle controller activates the automatic door control function, it will continuously detect and acquire the distance data of the key relative to the vehicle through millimeter-wave radar, and then determine the movement of the key relative to the vehicle based on the distance data.

[0079] Step C3: In response to determining, based on the distance data, that the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, control the target door of the vehicle to open.

[0080] In practice, if the distance data changes from large to small over time, it indicates that the user is approaching the vehicle with the key. The vehicle controller calculates the change in distance data over a second predetermined period as the distance the key is to approach the vehicle. If this approaching distance is greater than or equal to a distance threshold (e.g., 1.5m or 2m), the vehicle controller will control the target door corresponding to the automatic door control function to open.

[0081] Step C4: After confirming that the target door is open, control the vehicle to turn off the active functions and stop the timer. The active functions also include the automatic door control function.

[0082] In practice, when the vehicle controller determines that the approaching distance is greater than or equal to a distance threshold, it sends an opening command to the target door's starter. Upon receiving the command, the target door's starter controls the door to open, generating an opening completion signal which is then sent to the vehicle controller. Upon receiving this signal, the controller confirms that the door has opened, indicating that the vehicle has automatically fulfilled the user's request to open the target door. To prevent further power consumption by the vehicle and key, the controller disables the active function, thus shutting down the automatic door control and stopping the timer.

[0083] The execution of steps C1 to C4 above will not affect the execution of steps A1 to A3 above.

[0084] The above solution achieves the goal of automatically opening the car door during steps A1 to A3. It stops the first predetermined duration timing and starts the second predetermined duration timing, avoiding the problem that the automatic door control function cannot be executed normally due to the active function being shut down directly after the first predetermined duration timing ends. This ensures that the automatic door control function can be executed smoothly.

[0085] In some embodiments, during the execution of steps B1 to B3, as shown in FIG5, the method further includes:

[0086] Step D1: Within the second predetermined time period, the automatic unlocking function is received and activated, and the timing of the second predetermined time period continues.

[0087] In practice, if the user activates the automatic door unlocking function via the remote key or control app during the second predetermined time period, the second predetermined time will continue to run in order to ensure the integrity of the automatic door control timing and prevent the automatic door opening function from being affected by the end of the second predetermined time period. Since this will definitely be performed when the user enters the predetermined detection range with the key, the automatic door unlocking function will be activated directly after the user sets it to be activated.

[0088] Therefore, the following steps D2 to D4 will be performed within the second predetermined time period.

[0089] Step D2: Within the second predetermined time period, receive real-time distance data of the key relative to the vehicle.

[0090] In practice, after the vehicle controller activates the automatic locking / unlocking function, it will continuously detect and acquire the distance data between the key and the vehicle through millimeter-wave radar within a second predetermined time range, and then determine the movement of the key relative to the vehicle based on the distance data.

[0091] Step D3: In response to determining the unlocking distance range of the key to enter the vehicle based on the distance data, control the vehicle to unlock.

[0092] In practice, if the distance data is less than or equal to the maximum value of the unlocking distance range, it proves that the user is carrying the key into the vehicle's unlocking distance range, thus detecting the user's need to enter the vehicle. In this case, the vehicle controller will control the unlocking of each door of the vehicle; or, control the unlocking of the driver's side door; or, control the unlocking of the target door set by the user.

[0093] Alternatively, in step D4, in response to determining the unlocking distance range of the key leaving the vehicle based on the distance data, the vehicle is locked.

[0094] In practice, if the user is initially inside the vehicle, the vehicle controller will continuously check whether the distance data is greater than the maximum value of the unlocking distance range. If so, it proves that the user has left the vehicle with the key, and the vehicle will be locked to ensure vehicle security.

[0095] In addition, if the second predetermined duration ends, step 103 will be executed to stop the second predetermined duration and turn off all active functions, thereby reducing the power consumption of the vehicle controller and key and increasing the battery life of the vehicle and key.

[0096] In some embodiments, the automatic door control function includes: automatic sliding door control function.

[0097] As shown in Figure 6, step B2 or C3 includes:

[0098] Step 1: Based on the distance data, determine that the distance the key is at from the vehicle is greater than or equal to a distance threshold, and obtain the target direction of the key relative to the vehicle.

[0099] Step II: Determine the target sliding door corresponding to the target direction based on the target direction, and control the target sliding door to open.

[0100] In practice, after determining that the user is approaching the vehicle with the key based on distance data, the user is pre-set to open the sliding door closest to the user. This determines the target direction of the key relative to the vehicle, and then determines the user's direction based on the target direction. The vehicle will then determine the target sliding door corresponding to the user's direction and open the target sliding door.

[0101] In a preferred embodiment, several candidate sliding doors corresponding to empty seats in the vehicle can be identified. Then, the positional relationship of the key relative to the vehicle is determined based on the target direction, and the distance of the key relative to each candidate sliding door is determined based on this positional relationship. The candidate door with the closest distance is selected as the target sliding door, and the target sliding door is opened. This avoids situations where the seat corresponding to the door determined directly based on the target direction is occupied, preventing the user from sitting down.

[0102] The above solution allows for the selection of the target sliding door that is closest to the user, making it more convenient for the user to board after the target sliding door opens.

[0103] In some embodiments, the automatic door control function includes: automatic control function for revolving doors.

[0104] In practice, the revolving door can be a regular horizontally rotating swing door or an upward-rotating tilting door.

[0105] Step B2 or C3 includes:

[0106] Step I': Based on the distance data, determine that the distance the key is at from the vehicle is greater than or equal to a distance threshold, and obtain the target direction of the key relative to the vehicle.

[0107] Step II': Determine the target revolving door corresponding to the target direction based on the target direction, and obtain information on moving objects around the vehicle.

[0108] In practice, after determining that the user is approaching the vehicle with the key based on distance data, the user is pre-set to open the sliding door closest to the user. This determines the target direction of the key relative to the vehicle, and then determines the user's direction based on that target direction. The vehicle will then determine the target rotating door closest to the user in the direction of the user's location.

[0109] However, since opening the target revolving door requires space around the vehicle, any object approaching the vehicle will affect the opening of the revolving door. Therefore, information on moving objects around the vehicle is obtained before opening the target revolving door.

[0110] Step III': In response to determining the movement range of surrounding moving objects, which does not overlap with the rotation range of the target revolving door, control the target revolving door to open.

[0111] In practice, the information about the surrounding moving objects includes: the object's shape and area, its current position, and its speed. Based on the width and rotation angle of the target revolving door, the rotation range of the target revolving door is calculated. Then, based on the key's current position and the user's speed while carrying the key, the duration for which the target revolving door closes after the user enters the vehicle with the key is determined. This duration is the time the target revolving door remains open, and the corresponding movement range of the surrounding moving objects within this duration is determined. It is then determined whether the movement range of the surrounding moving objects overlaps with the rotation range. If so, it is determined that opening the target revolving door may result in a collision with the surrounding moving objects; otherwise, it is determined that opening the target revolving door will not result in a collision, and the target revolving door is then opened.

[0112] With the above solution, if the vehicle door is a target revolving door, in order to ensure the safety of opening the target revolving door, this embodiment can determine whether the movement range of the surrounding moving objects overlaps with the rotation range of the target revolving door, and only open the target door on the basis that it is safe to open the target revolving door if there is no overlap, so as to effectively improve the safety of the vehicle.

[0113] In addition, as a preferred embodiment, the movement range of the surrounding moving objects is continuously determined during the opening of the target revolving door. If the movement range of the surrounding moving objects overlaps with the rotation range of the target revolving door, the target revolving door will be automatically controlled to close.

[0114] The following describes the vehicle function control method of this disclosure with a specific embodiment, which is specifically divided into the following situations:

[0115] In the first scenario, the user has only enabled the automatic unlock / lock function:

[0116] Once the vehicle detects that a user is carrying a key around it and the vehicle is able to detect the key within a predetermined detection range, the active function is activated (i.e., the automatic unlocking and locking function is activated) and a 15-minute timer is started.

[0117] If key data is continuously acquired within 15 minutes, the active function will be turned off after the 15-minute timer expires.

[0118] If no key is detected within the predetermined detection range within the 15-minute timer, the 15-minute timer stops and the timer is reset to zero. Once the key is detected again within the predetermined detection range, the 15-minute timer restarts.

[0119] In the second scenario, the user only activated the automatic control function for the sliding door:

[0120] Once the vehicle detects that a user is carrying a key around it and the vehicle is able to detect the key within a predetermined detection range, the active function is activated (i.e., the automatic control function of the sliding door is activated) and a 20-minute timer is started.

[0121] If the 20-minute timer is completed or the vehicle automatically opens the sliding door within 20 minutes, the active function will be deactivated, the 20-minute timer will stop, and the timer will be reset to zero.

[0122] In the third scenario, after the user activates the automatic unlocking / locking function, they also activate the automatic control function for the sliding door:

[0123] After the user activates the automatic unlocking and locking function, the system detects that the user is carrying the key around the vehicle. Once the vehicle can detect the key within a predetermined detection range, the active function is activated (i.e., the automatic unlocking and locking function is activated) and a 15-minute timer is started.

[0124] If the user activates the automatic control function of the sliding door within the 15-minute timer, the current 15-minute timer will be interrupted and a 20-minute timer will be started to ensure that the sliding door can open automatically.

[0125] If the 20-minute timer is completed or the vehicle automatically opens the sliding door within 20 minutes, the active function will be deactivated, the 20-minute timer will stop, and the timer will be reset to zero.

[0126] The fourth scenario is when the user activates the automatic control function of the sliding door, and then also activates the automatic unlocking / locking function:

[0127] After the user activates the automatic sliding door control function, the system detects that the user is carrying a key around the vehicle. Once the vehicle can detect the key within a predetermined detection range, the active function is activated (i.e., the automatic sliding door control function is activated) and a 20-minute timer is started.

[0128] If the automatic unlocking function is activated within the 20-minute timer, the 20-minute timer will not be interrupted.

[0129] If the 20-minute timer is completed or the vehicle automatically opens the sliding door within 20 minutes, the active function will be deactivated, the 20-minute timer will stop, and the timer will be reset to zero.

[0130] It should be noted that the method of this embodiment can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of this embodiment, and the multiple devices will interact with each other to complete the method.

[0131] It should be noted that the above description describes some embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0132] Based on the same inventive concept, and corresponding to any of the above embodiments, referring to FIG8, this disclosure also provides a vehicle function control device 1, including a processor 10 and a memory 20, wherein the processor 10 is used to execute the functions of program modules stored in the memory 20.

[0133] The program modules include:

[0134] The active function activation control module 201 is configured to determine that the active function is set to open, detect that all doors of the vehicle are closed and the key is detected within a predetermined detection range, activate the active function, and start timing for a predetermined duration. The active function is a function that can be automatically triggered based on the key data.

[0135] The active function execution module 202 is configured to acquire key data in real time within a predetermined period, determine whether the key data meets the execution conditions of the active function, and control the vehicle to execute the active function; or...

[0136] The active function shutdown control module 203 is configured to stop the timing and shut down the active function when the predetermined time expires or no key is detected within the predetermined detection range.

[0137] In some embodiments, the active function includes: an automatic unlocking function, wherein the predetermined duration corresponding to the automatic unlocking function is a first predetermined duration;

[0138] The proactive function execution module 202 is specifically configured as follows:

[0139] Within the first predetermined time period, the distance data of the key relative to the vehicle is acquired in real time;

[0140] In response to determining the unlocking distance range for the key to enter the vehicle based on distance data, the vehicle is unlocked; or,

[0141] Based on distance data, determine the unlocking distance range of the key leaving the vehicle and control the vehicle to lock.

[0142] In some embodiments, the active function includes: automatic door control function, and the predetermined duration corresponding to the automatic door control function is a second predetermined duration;

[0143] The proactive function execution module 202 is specifically configured as follows:

[0144] During the second predetermined time period, the distance data between the key and the vehicle is acquired in real time;

[0145] Based on distance data, if the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, the target door of the vehicle will be opened.

[0146] Once the target door is confirmed to be open, control the vehicle to disable the active functions and stop the timer.

[0147] In some embodiments, the active function execution module 202 is further configured to:

[0148] Within the first predetermined time period, upon receiving a notification that the automatic door control function has been activated, the timing for the first predetermined time period stops, the timing for the second predetermined time period begins, and the automatic door control function is activated.

[0149] During the second predetermined time period, the distance data between the key and the vehicle is acquired in real time;

[0150] In response to determining, based on distance data, that the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, the system controls the target door of the vehicle to open.

[0151] Once the target door is confirmed to be open, the vehicle controls to disable the active functions and stop the timer. The active functions include the automatic door control function.

[0152] In some embodiments, the active function execution module 202 is further configured to:

[0153] If the automatic unlocking function is activated within the second predetermined time period, the automatic unlocking function will be started and the timing of the second predetermined time period will continue.

[0154] Within the second predetermined time period, real-time distance data of the key relative to the vehicle is received;

[0155] In response to determining the unlocking distance range for the key to enter the vehicle based on distance data, the vehicle is unlocked; or,

[0156] Based on distance data, determine the unlocking distance range of the key leaving the vehicle and control the vehicle to lock.

[0157] In some embodiments, the automatic door control function includes: automatic sliding door control function;

[0158] The proactive function execution module 202 is further configured as follows:

[0159] Based on the distance data, determine whether the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, and obtain the target direction of the key relative to the vehicle;

[0160] Determine the target sliding door corresponding to the target direction based on the target direction, and control the target sliding door to open.

[0161] In some embodiments, the automatic door control function includes: automatic control function for revolving doors;

[0162] The proactive function execution module 202 is further configured as follows:

[0163] Based on the distance data, determine whether the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, and obtain the target direction of the key relative to the vehicle;

[0164] Identify the target revolving door corresponding to the target direction based on the target direction, and obtain information on moving objects around the vehicle;

[0165] In response to determining the movement range of surrounding moving objects, which does not overlap with the rotation range of the target revolving door, the target revolving door is controlled to open.

[0166] For ease of description, the above apparatus is described in terms of its functions, divided into various modules. Of course, in implementing this disclosure, the functions of each module can be implemented in one or more software and / or hardware.

[0167] The apparatus of the above embodiments is used to implement the corresponding method in any of the foregoing embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0168] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method of any of the above embodiments.

[0169] Figure 9 shows a more specific hardware structure diagram of an electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0170] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0171] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0172] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0173] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0174] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0175] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0176] The electronic devices described above are used to implement the corresponding methods in any of the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0177] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium that stores computer instructions for causing a computer to perform the methods of any of the above embodiments.

[0178] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0179] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to perform the methods of any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0180] Based on the same concept, corresponding to any of the above embodiments, this disclosure also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, they cause the computer to perform the method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0181] Based on the same inventive concept, this disclosure also provides a vehicle including the device or electronic device of the above embodiments. The beneficial effects of embodiments having corresponding devices or electronic devices will not be elaborated further here.

[0182] It is understood that before using the technical solutions of the various embodiments in this disclosure, users will be informed of the type, scope of use, and usage scenarios of the personal information involved in an appropriate manner, and user authorization will be obtained.

[0183] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the software or hardware such as electronic devices, applications, servers, or storage media performing the operations of this disclosed technical solution.

[0184] As an optional but not limited implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0185] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0186] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure, which are not provided in detail for the sake of brevity.

[0187] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuitry) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure may be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0188] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0189] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for controlling the function of a vehicle, characterized in that, include: Once the active function is set to "on", and all vehicle doors are detected as closed and the key is detected within a predetermined detection range outside the vehicle, the active function is activated and a timer for a predetermined duration begins. The active function is a function that can be automatically triggered based on key data. Within the predetermined time period, key data is acquired in real time, and it is determined that the key data meets the execution conditions of the active function, thereby controlling the vehicle to execute the active function; or... When the predetermined timeout period ends or no key is detected within the predetermined detection range, the timing is stopped and the active function is turned off.

2. The method according to claim 1, characterized in that, The active function includes: an automatic unlocking function, and the predetermined duration corresponding to the automatic unlocking function is a first predetermined duration; The process of acquiring key data in real time within the predetermined time period, determining that the key data meets the execution conditions of the active function, and controlling the vehicle to execute the active function includes: Within a first predetermined time period, the distance data of the key relative to the vehicle is acquired in real time; In response to determining the unlocking distance range of the key entering the vehicle based on the distance data, the vehicle is unlocked; or, In response to determining the unlocking distance range of the key leaving the vehicle based on the distance data, the vehicle is locked.

3. The method according to claim 1 or 2, characterized in that, The active function includes: automatic door control function, and the predetermined duration corresponding to the automatic door control function is a second predetermined duration; The process of acquiring key data in real time within the predetermined time period, determining that the key data meets the execution conditions of the active function, and controlling the vehicle to execute the active function includes: During the second predetermined time period, the distance data of the key relative to the vehicle is acquired in real time; Based on the distance data, if the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, the target door of the vehicle will be opened. Once the target door is confirmed to be open, control the vehicle to disable the active functions and stop the timer.

4. The method according to claim 3, characterized in that, The approach distance is the distance the key moves toward the vehicle within a predetermined time period, determined based on distance data, wherein the predetermined time period is shorter than the second predetermined duration.

5. The method according to claim 2, characterized in that, Also includes: Within the first predetermined time period, upon receiving a notification that the automatic door control function has been activated, the timing for the first predetermined time period stops, the timing for the second predetermined time period begins, and the automatic door control function is activated. During the second predetermined time period, the distance data of the key relative to the vehicle is acquired in real time; In response to determining, based on the distance data, that the distance the key is moving toward the vehicle is greater than or equal to a distance threshold, the target door of the vehicle is controlled to open. After confirming that the target door is open, the vehicle is controlled to disable the active functions and stop the timer. The active functions include: automatic door control function.

6. The method according to claim 3, characterized in that, Also includes: If the automatic unlocking function is received within the second predetermined time period, the automatic unlocking function is activated, and the timing of the second predetermined time period continues. Within a second predetermined time period, real-time distance data of the key relative to the vehicle is received; In response to determining the unlocking distance range of the key entering the vehicle based on the distance data, the vehicle is unlocked; or, In response to determining the unlocking distance range of the key leaving the vehicle based on the distance data, the vehicle is locked.

7. The method according to claim 3, characterized in that, The automatic door control function includes: automatic sliding door control function; The step of determining, based on the distance data, that the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, and then controlling the target door of the vehicle to open, includes: Based on the distance data, it is determined that the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, and the target direction of the key relative to the vehicle is obtained. Determine the target sliding door corresponding to the target direction based on the target direction, and control the target sliding door to open.

8. The method according to claim 7, characterized in that, The step of determining the target sliding door corresponding to the target direction based on the target direction includes: Identify at least one potential sliding door corresponding to an empty space in the vehicle; The positional relationship of the key relative to the vehicle is determined based on the target direction, and the target distance of the key relative to each of the candidate sliding doors is determined based on the positional relationship. The candidate sliding door corresponding to the minimum target distance is determined as the target sliding door.

9. The method according to claim 3, characterized in that, The automatic door control function includes: automatic control function for revolving doors; The step of determining, based on the distance data, that the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, and then controlling the target door of the vehicle to open, includes: Based on the distance data, it is determined that the distance at which the key approaches the vehicle is greater than or equal to a distance threshold, and the target direction of the key relative to the vehicle is obtained. Determine the target revolving door corresponding to the target direction based on the target direction, and obtain information on moving objects around the vehicle; In response to determining that the movement range of the surrounding moving objects is not superimposed on the rotation range of the target revolving door, the target revolving door is controlled to open.

10. The method according to claim 9, characterized in that, The step of controlling the target revolving door to open in response to determining the movement range of the surrounding moving object information, which does not overlap with the rotation range of the target revolving door, includes: Determine the rotation range of the target revolving door based on its width and rotation angle; Based on the current position of the key and the speed at which the user moves with the key, determine the length of time it takes for the user to reach the target revolving door, enter the vehicle, and close the target revolving door. Determine the range of movement of surrounding moving objects within the stated time period; Determine whether the movement range overlaps with the rotation range of the target revolving door; In response to the fact that the movement range and the rotation range do not overlap, the target rotating door is controlled to open.

11. The method according to claim 9, characterized in that, After the target rotating door is opened, the following is also included: Redetermine the new range of movement for surrounding moving objects; In response to the superposition of the new movement range and the rotation range of the target revolving door, the target revolving door is controlled to close.

12. The method according to claim 1, characterized in that, The active functions include at least one of the following: automatic unlocking / locking function, automatic door control function, and automatic window control function.

13. A vehicle function control device, characterized in that, include: A processor and a memory, wherein the processor is configured to execute the functions of program modules stored in the memory; The program module includes: The active function activation control module is configured to determine that the active function is set to be on, and after detecting that all doors of the vehicle are closed and the key is detected within a predetermined detection range outside the vehicle, activate the active function and start timing for a predetermined duration. The active function is a function that can be automatically triggered based on key data. An active function execution module is configured to acquire key data in real time within the predetermined time period, determine whether the key data meets the execution conditions of the active function, and control the vehicle to execute the active function; or... The active function shutdown control module is configured to stop timing and shut down the active function when the predetermined time period ends or no key is detected within the predetermined detection range.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 12.

15. A vehicle, characterized in that, Includes the device of claim 13 or the electronic device of claim 14.