A vehicle control method, apparatus, vehicle, and storage medium
By detecting user vehicle usage frequency and battery/weather status, the automatic unlocking and locking function is dynamically adjusted to close, solving the power consumption problem when the vehicle is not used for a long time, thus achieving energy saving and improved user experience.
Patent Information
- Application Number
- CN202510363307.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2045-03-26
AI Technical Summary
When a vehicle is not used for an extended period of time while its automatic unlocking/locking function is engaged, the vehicle controller periodically performs key detection operations, leading to increased power consumption and energy waste.
By detecting the frequency of user vehicle use, the system dynamically adjusts the timing of the automatic unlocking and locking function, and optimizes the timing of the function's shutdown based on the remaining battery power and weather conditions, in order to reduce unnecessary energy consumption.
It effectively reduces vehicle power consumption, increases driving range, enhances user experience, and meets the needs of different users.
Smart Images

Figure CN119975249B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicles, and more specifically, to a method, apparatus, vehicle, and storage medium for controlling a vehicle. Background Technology
[0002] The vehicle's active functions include automatic locking and unlocking. When the automatic locking and unlocking is in the open state, if the user does not use the vehicle for an extended period, the vehicle controller will periodically perform a key detection operation within a preset time. However, this mechanism increases the vehicle's power consumption. Therefore, reducing the vehicle's power consumption has become an urgent problem to be solved. Summary of the Invention
[0003] This application provides a vehicle control method, apparatus, vehicle, and storage medium, which reduces power consumption of the vehicle while meeting the user's vehicle usage needs.
[0004] In a first aspect, a vehicle control method is provided, the method comprising: after detecting that a preset function is activated, acquiring the user's vehicle usage frequency within a preset period; wherein the preset function is a function for periodically detecting the environment around the vehicle; determining the time to deactivate the preset function based on the usage frequency; and controlling the preset function to deactivate at the time of deactivation.
[0005] The above technical solution addresses the issue that traditional preset function shutdown mechanisms are typically based on fixed time points, which can lead to these functions remaining active for extended periods when the vehicle is not in use, resulting in energy waste. Different users typically have varying usage frequencies, and a fixed-time shutdown strategy cannot meet the needs of different users. Therefore, the above solution dynamically adjusts the shutdown time of preset functions based on the user's vehicle usage frequency. This avoids unnecessary energy waste caused by prolonged activation of preset functions, thereby reducing vehicle power consumption. This method of dynamically adjusting the shutdown time based on usage frequency not only improves the convenience of vehicle use but also effectively reduces vehicle power consumption, thereby controlling the vehicle to enter a deep sleep state and increasing the vehicle's range. Furthermore, this technical solution also considers user driving habits, enhancing the user experience and improving user satisfaction.
[0006] In conjunction with the first aspect, in some possible implementations, determining the shutdown time of the preset function based on the vehicle usage frequency includes: determining the target working time of the preset function based on the vehicle usage frequency; and determining the shutdown time of the preset function based on the activation time of the preset function and the target working time.
[0007] The aforementioned technical solution calculates the target operating time of preset functions based on the user's vehicle usage frequency. This fully considers the user's habits and needs, and by combining the preset function's activation time with the target operating time, it accurately calculates the preset function's deactivation time, thereby avoiding ineffective operation and energy waste. This strategy of dynamically adjusting the preset function's deactivation time based on vehicle usage frequency not only enhances the user experience but also controls the vehicle to enter a deep sleep state, increasing the vehicle's driving range.
[0008] In combination with the first aspect and the above implementation methods, in some possible implementation methods, determining the target working time of the preset function based on the vehicle usage frequency includes: querying a preset correspondence based on the vehicle usage frequency to determine the target working time of the preset function; wherein, the correspondence is used to describe the relationship between the vehicle usage frequency and the target working time of the preset function.
[0009] The above technical solution can improve the speed of obtaining the target working time by querying the preset correspondence based on the vehicle usage frequency to determine the target working time of the preset function.
[0010] Combining the first aspect and the above-mentioned implementation methods, in some possible implementation methods, in the preset correspondence, the vehicle usage frequency is negatively correlated with the target working duration.
[0011] As the frequency of vehicle use increases, the above technical solution suggests that there may be a situation where the interval between the end of the last vehicle use and the start of the next use is short. Therefore, it is advisable to reduce the target working time to reduce the power consumption of the preset functions on the vehicle.
[0012] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the vehicle includes a battery, and before controlling the preset function to turn off at the closing time, the method further includes: obtaining the remaining power of the battery or the current weather status; if the remaining power is lower than a preset power threshold, or the weather status indicates that the weather is in an abnormal state, then controlling the preset function to turn off.
[0013] The above technical solution needs to consider the remaining battery power and current weather conditions before controlling the preset function to shut down at the designated time. When the remaining battery power is insufficient, the preset function may not be able to operate, in which case the preset function can be shut down immediately. When the weather is abnormal, it may affect the user's travel, and the user may not use the vehicle for a long time. Therefore, the preset function can also be shut down immediately to reduce the vehicle's power consumption.
[0014] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the step of obtaining the user's vehicle usage frequency within a preset period after detecting that the preset function is enabled includes: after detecting that the preset function is enabled, sending a statistical instruction to the cloud server, so that the cloud server calculates the user's vehicle usage frequency within the preset period based on the vehicle identifier carried by the statistical instruction, and sends the usage frequency to the vehicle; and receiving the usage frequency sent by the cloud server.
[0015] The above technical solution involves the vehicle sending a statistical command to the cloud server after detecting the activation of a preset function. This command carries the vehicle's identifier, ensuring that the cloud server can accurately locate the corresponding vehicle data. Upon receiving the statistical command, the cloud server calculates the user's vehicle usage frequency within a preset period and then sends the usage frequency data back to the vehicle. This cloud server-based method for calculating vehicle usage frequency improves the efficiency and accuracy of data processing.
[0016] Combining the first aspect and the above implementation methods, in some possible implementation methods, there is a function to periodically detect the working status of the vehicle key around the vehicle.
[0017] Secondly, a vehicle control device is provided, comprising: an acquisition module for acquiring the frequency of vehicle use by a user within a preset period after detecting that a preset function is activated; wherein the preset function is a function for periodically detecting the environment around the vehicle; a determination module for determining the time to close the preset function based on the usage frequency; and a control module for controlling the preset function to close at the time of closure.
[0018] In conjunction with the second aspect, in some implementations of the second aspect, the determining module is specifically used for: determining the closing time of the preset function based on the vehicle usage frequency, including: determining the target working time of the preset function based on the vehicle usage frequency; and determining the closing time of the preset function based on the opening time of the preset function and the target working time.
[0019] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the determining module is specifically used for: determining the target working time of the preset function based on the vehicle usage frequency, including: querying a preset correspondence based on the vehicle usage frequency to determine the target working time of the preset function; wherein, the correspondence is used to describe the relationship between the vehicle usage frequency and the target working time of the preset function.
[0020] In combination with the second aspect and the above implementation methods, in some implementation methods of the second aspect, in the preset correspondence, the vehicle usage frequency is negatively correlated with the target working duration.
[0021] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the vehicle includes a battery, and the control module is specifically used to: before controlling the preset function to turn off at the closing time, further include: obtaining the remaining power of the battery or the current weather status; if the remaining power is lower than a preset power threshold, or the weather status indicates that the weather is in an abnormal state, then control the preset function to turn off.
[0022] In conjunction with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the acquisition module is specifically used for: after detecting that the preset function is enabled, acquiring the user's vehicle usage frequency within a preset period includes: after detecting that the preset function is enabled, sending a statistical instruction to the cloud server, so that the cloud server, based on the vehicle identifier carried by the statistical instruction, calculates the user's vehicle usage frequency within the preset period and sends the usage frequency to the vehicle; and receiving the usage frequency sent by the cloud server.
[0023] In combination with the second aspect and the above implementation methods, in some implementation methods of the second aspect, the preset function includes: a function to periodically detect the working status of the vehicle key around the vehicle.
[0024] Thirdly, a vehicle is provided, including a memory and a processor. 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 methods of the first aspect or any possible implementation thereof.
[0025] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0026] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof. Attached Figure Description
[0027] Figure 1 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application;
[0028] Figure 2This is a schematic flowchart of another vehicle control method provided in an embodiment of this application;
[0029] Figure 3 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application;
[0030] Figure 4 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation
[0031] 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.
[0032] 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.
[0033] The vehicle's active functions include automatic locking and unlocking. When the automatic locking and unlocking is in the open state, if the user does not use the vehicle for an extended period, the vehicle controller will periodically perform a key check operation every 48 hours. However, this mechanism increases the vehicle's power consumption. Therefore, reducing the vehicle's power consumption has become an urgent problem to be solved.
[0034] To at least address the aforementioned issues, embodiments of this application provide a vehicle control method applied to a vehicle controller. This method reduces power consumption on the vehicle while meeting user needs.
[0035] Figure 1 This is a schematic flowchart of a vehicle control method provided in an embodiment of this application.
[0036] For example, such as Figure 1 As shown, the method 100 includes:
[0037] Step 101: After detecting that the preset function is enabled, obtain the user's vehicle usage frequency within the preset period; wherein, the preset function is: the function of periodically detecting the environment around the vehicle.
[0038] Step 102: Determine the time to turn off the preset function based on the frequency of vehicle use.
[0039] Step 103: Control the preset function to turn off at the designated time.
[0040] In this embodiment, considering that traditional preset function shutdown mechanisms are typically based on fixed time points, this may result in these functions remaining on for extended periods when the user is not using the vehicle, leading to energy waste. Different users typically have different usage frequencies, and a fixed-time shutdown strategy cannot meet the needs of different users. Therefore, the above solution dynamically adjusts the shutdown time of preset functions based on the user's vehicle usage frequency, avoiding unnecessary energy waste caused by prolonged operation of preset functions, thereby reducing vehicle power consumption. This method of dynamically adjusting the shutdown time based on usage frequency not only improves the convenience of vehicle use but also effectively reduces vehicle power consumption, thereby controlling the vehicle to enter a deep sleep state and increasing the vehicle's range. Simultaneously, this technical solution also considers user driving habits, enhancing the user experience and improving user satisfaction.
[0041] The following is about Figure 1 The implementation of each step in the illustrated embodiment will be explained in detail.
[0042] Regarding step 101, it is understood that the aforementioned preset function is a function to periodically detect the environment surrounding the vehicle. The environment surrounding the vehicle can be living objects, obstacles, vehicle keys, etc. The aforementioned periodic detection refers to the operation of detecting living objects, obstacles, and vehicle keys at certain time intervals.
[0043] Because the aforementioned preset functions are used to actively and periodically detect the environment surrounding the vehicle, they can also be referred to as active functions. Active functions refer to a method or technology based on active intervention, which can proactively generate corresponding actions according to changes in the vehicle's surrounding environment. Such functions typically require energy (e.g., a battery) to power their operation. Compared to passive functions, active functions offer greater flexibility and controllability, and can respond more accurately to changes in the vehicle's surrounding environment.
[0044] The preset period can be one month or one week, etc. When the preset function is enabled, the vehicle controller can obtain the user's vehicle usage frequency within one month or one week.
[0045] When classifying vehicle usage frequency, it can be divided into four types: daily use, frequent use, infrequent use, and infrequent non-use. Taking a preset period of one month as an example, daily use means that the user drives the vehicle on 90% to 100% of the days in a month; frequent use means that the user drives the vehicle on 70% to 90% of the days in a month; infrequent use means that the user drives the vehicle on 40% to 70% of the days in a month; and infrequent non-use means that the user drives the vehicle on 0% to 40% of the days in a month.
[0046] In some embodiments, the preset function includes the function of periodically detecting the working status of the vehicle key around the vehicle.
[0047] It is understandable that the function of detecting the working status of the vehicle key around the vehicle can also be referred to as the vehicle's automatic unlocking and locking function. Under normal circumstances, when the vehicle's automatic unlocking and locking function is in the active state, the operation of periodically checking the working status of the vehicle key is performed within a preset time period.
[0048] The aforementioned operating states can include an unlocked operating state and a locked operating state. Specifically, when the vehicle key is in the unlocked operating state, it can establish interaction with the vehicle; when the vehicle key is in the locked operating state, it can disconnect from the vehicle.
[0049] The preset duration can be a fixed duration or a non-fixed duration, such as a fixed duration of 48 hours, or a non-fixed duration of 12 hours, 24 hours, or 48 hours.
[0050] The aforementioned active functions may include an automatic unlocking / locking function for the vehicle. This function periodically checks the working status of the vehicle key around the vehicle and, when no living object is detected inside the vehicle and the vehicle doors are closed, automatically unlocks or locks the doors to improve user convenience. In practical applications, when the doors automatically unlock, the vehicle's headlights will also automatically turn on; when the doors automatically lock, the headlights will automatically turn off to further enhance user convenience. This application primarily describes the automatic unlocking / locking function of the vehicle.
[0051] For ease of understanding, the following descriptions will use the vehicle's automatic locking / unlocking function as the default setting as an example.
[0052] When detecting live objects, infrared thermal imagers can be used for identification. Specifically, a face liveness detection instrument can be used to determine whether a live object is human, and a small animal liveness imager can be used to determine whether a live object is an animal. The aforementioned face liveness detection instrument refers to a device that uses infrared thermal imaging technology to verify whether a face is alive. By analyzing information such as the face's temperature distribution and texture features, it determines whether the face is a real, living object. The aforementioned small animal liveness imager refers to a device that uses infrared thermal imaging technology to monitor the liveness of small animals.
[0053] When detecting the status of the aforementioned car doors, a door switch sensor can be used to determine whether the door is closed. Typically, a microswitch or Hall effect sensor can be installed on the vehicle door. When the door is closed, this switch or sensor is activated and sends a closing signal to the vehicle's electronic control unit (ECU). If the ECU receives the closing signal, it indicates that the door is closed. If the door is not fully closed, the ECU will not receive a closing signal.
[0054] In some embodiments, when the vehicle's automatic unlocking and locking function is enabled, if a user is detected to be getting out of the vehicle and no vehicle key is detected within a preset range of the vehicle, the door is controlled to be unlocked and locked and the vehicle's headlights are turned off; if a user is detected to be getting into the vehicle and a vehicle key is detected within a preset range of the vehicle, the vehicle is controlled to be locked and locked and the vehicle's headlights are turned on.
[0055] Understandably, when detecting a user's tendency to get out of or onto the vehicle, this can be determined based on the distance between the user and the vehicle. If the system detects that the user is unfastening their seatbelt and opening the door, it is determined that the user is likely to get out of the vehicle; if the system detects that the distance between the user and the vehicle is gradually decreasing, it is determined that the user is likely to get on the vehicle.
[0056] The aforementioned preset range refers to the range centered on the vehicle and with a preset distance as the radius. If no vehicle key is detected within this preset range and the user shows a tendency to get out of the vehicle, it is determined that the user is gradually leaving the vehicle. At this time, the vehicle controller can control the door to open and lock and turn off the vehicle's headlights. If a vehicle key is detected within this preset range and the user shows a tendency to get into the vehicle, it is determined that the user is gradually approaching the vehicle. At this time, the vehicle controller can control the door to close and lock and turn on the vehicle's headlights.
[0057] In some embodiments, after detecting that a preset function is enabled, obtaining the user's vehicle usage frequency within a preset period includes: after detecting that the preset function is enabled, sending a statistical instruction to a cloud server so that the cloud server can calculate the user's vehicle usage frequency within a preset period based on the vehicle identifier carried by the statistical instruction, and sending the usage frequency to the vehicle; and receiving the usage frequency sent by the cloud server.
[0058] Understandably, the aforementioned cloud server can connect to the vehicle via the internet, enabling data storage, processing, and analysis. The connection between the vehicle and the cloud server primarily relies on internet technology. Specifically, the vehicle needs to be equipped with a dedicated communication module (e.g., an in-vehicle T-BOX (Telematics BOX, in-vehicle communication terminal)). This module accesses the internet via mobile communication networks (e.g., 4G, 5G networks) or wireless communication technologies such as Wi-Fi, thereby establishing a communication connection with the cloud server. This connection method allows the vehicle to upload vehicle usage data to the cloud server in real-time or periodically. The cloud server is responsible for storing, processing, and analyzing this vehicle usage data, ensuring real-time data transmission and processing.
[0059] The aforementioned statistical instructions refer to those used to count vehicle usage frequency; the aforementioned vehicle identifier can be used to identify vehicles, and the cloud server obtains vehicle usage data based on the vehicle identifier, such as the duration of user usage. It is understood that the cloud server stores a large amount of vehicle usage data, and the usage data of different vehicles can be distinguished by their vehicle identifiers.
[0060] After the vehicle's automatic locking / unlocking function is activated, the vehicle's controller sends a statistical command to the server. After receiving the statistical command, the cloud server can calculate the user's vehicle usage frequency within a preset period based on the user's vehicle usage time carried in the statistical command, and then send the usage frequency to the vehicle's controller.
[0061] The aforementioned technical solution, upon detecting the activation of the automatic unlocking / locking function, sends a statistical command to the cloud server. This command carries the vehicle's identifier, ensuring the cloud server can accurately locate the corresponding vehicle data. Upon receiving the command, the cloud server calculates the user's vehicle usage frequency within a preset period and then sends the frequency data back to the vehicle. This cloud server-based method for calculating vehicle usage frequency not only improves data processing efficiency and accuracy but also stores the vehicle identifier from the statistical command on the cloud server, facilitating upgrades and expansions of other functions.
[0062] In addition to cloud servers being able to track user frequency of vehicle use, the vehicle's controller can also be used to track user frequency of vehicle use.
[0063] Regarding step 102, it is understood that after obtaining the user's vehicle usage frequency, the vehicle controller can determine the shutdown time of preset vehicle functions (such as automatic unlocking / locking functions) based on the usage frequency. Compared with the prior art, the shutdown times determined in this application embodiment are all earlier than or equal to the original shutdown times in the existing solutions, thereby achieving the purpose of reducing vehicle power consumption.
[0064] In some embodiments, determining the shutdown time of a preset function based on the vehicle usage frequency includes: determining the target operating time of the preset function based on the vehicle usage frequency; and determining the shutdown time of the preset function based on the activation time and the target operating time.
[0065] Understandably, the vehicle controller can determine the target operating time of the vehicle's automatic unlocking and locking function based on the frequency of vehicle use. The aforementioned target operating time refers to the time from when the automatic unlocking and locking function is turned on to when it is turned off under normal operating conditions.
[0066] When the automatic unlocking function is detected to be in the active state, the door switch sensor will generate an activation signal for the automatic unlocking function and send the activation signal to the vehicle controller. After receiving the activation signal, the vehicle controller will send the activation signal to the ECU. The ECU will determine the moment when it receives the activation signal as the activation moment of the vehicle's automatic unlocking function.
[0067] In one possible implementation, the closing time of a preset function is determined based on its start time and target working duration. This includes: when obtaining the closing time, extending the target working duration based on the start time to obtain the closing time. For example, if the start time is 8 PM and the target working duration is 12 hours, the resulting closing time would be 8 AM the following morning.
[0068] In another possible implementation, the preset function's shutdown time is determined based on the preset function's activation time and target operating time. This includes: obtaining the remaining battery power, adjusting the target operating time based on the remaining power to obtain the adjusted target operating time, and determining the preset function's shutdown time based on the preset function's activation time and the adjusted target operating time.
[0069] It is understandable that the vehicle's preset functions consume battery power when they are activated. Therefore, the impact of battery power on preset functions can be considered. Thus, after determining the target working time based on the frequency of vehicle use, the target working time can be adjusted.
[0070] In some embodiments, the target operating time is corrected based on the remaining battery power to obtain the corrected target operating time, including: determining the duration for which the remaining battery power supports the operation of a preset function; determining the relationship between the duration for which the preset function is supported and the target operating time; if it is determined that the duration for which the preset function is supported is greater than or equal to the target operating time, then the target operating time is the corrected target operating time; if it is determined that the duration for which the preset function is supported is less than the target operating time, then the duration for which the preset function is supported is the corrected target operating time.
[0071] Understandably, if the duration of operation of the automatic unlocking function is greater than or equal to the target duration, it means that the remaining battery power is sufficient to support the normal operation of the automatic unlocking function. Therefore, there is no need to modify the target duration. The closing time of the automatic unlocking function can be determined based on the opening time and the target duration.
[0072] If the duration of operation of the automatic unlocking function is less than the target duration, it means that the remaining battery power is insufficient to support the automatic unlocking function to complete the target duration. Therefore, it is necessary to consider turning off the automatic unlocking function in advance. Thus, the target duration needs to be adjusted. The time to turn off the automatic unlocking function can be determined based on the activation time and the duration of operation of the automatic unlocking function, in order to avoid damage to the battery life.
[0073] In some other embodiments, the target working time is corrected based on the remaining power to obtain the corrected target working time, including: querying the target correspondence based on the remaining power to determine the correction ratio of the target working time; and correcting the target working time based on the correction ratio to obtain the corrected target working time.
[0074] It is understandable that the above target correspondence is predefined and used to describe the relationship between different target working hours and correction ratios. Based on each remaining power, querying the above target correspondence will yield a correction ratio for a target working hour.
[0075] In the target correlation, the remaining battery capacity is positively correlated with the correction rate. As the remaining battery capacity decreases, the duration of operation supporting the automatic unlocking function also gradually decreases. At this point, it is advisable to shorten the target operating time, i.e., reduce the correction rate, to reduce damage to battery life. All correction rates mentioned above are numbers greater than 0 and less than or equal to 1.
[0076] After obtaining the correction ratio, the product of the target working time and the correction ratio is calculated to obtain the corrected target working time, and the automatic unlocking function is controlled to work according to the corrected target working time.
[0077] The aforementioned technical solution calculates the target operating time of the automatic unlocking / locking function based on the user's vehicle usage frequency. This fully considers user habits and needs, and by combining the activation time of the automatic unlocking / locking function with the target operating time, it accurately calculates the deactivation time of the automatic unlocking / locking function, thereby avoiding ineffective operation and energy waste. This strategy of dynamically adjusting the deactivation time of the automatic unlocking / locking function based on vehicle usage frequency not only enhances the user experience but also controls the vehicle to enter a deep sleep state, increasing the vehicle's driving range.
[0078] In some embodiments, determining the target working time of a preset function based on the frequency of vehicle use includes: querying a preset correspondence based on the frequency of vehicle use to determine the target working time of the preset function; wherein the correspondence is used to describe the relationship between the frequency of vehicle use and the target working time of the preset function.
[0079] It is understandable that the above-mentioned preset correspondence is pre-set and is used to describe the relationship between different vehicle usage frequencies and target working hours. Based on each vehicle usage frequency, querying the above-mentioned preset correspondence will yield the target working hours of a preset function.
[0080] The above technical solution can improve the speed of obtaining the target working time by querying a preset correspondence based on the vehicle usage frequency to determine the target working time of the automatic unlocking and locking function.
[0081] In some embodiments, in a preset correspondence, the frequency of vehicle use is negatively correlated with the target working time.
[0082] It is understandable that, in the above correspondence, as the frequency of vehicle use increases, it indicates that there may be a situation where the interval between the end of the last vehicle use and the start of the current vehicle use is short. Therefore, it is possible to consider reducing the target working time to reduce the power consumption of the automatic unlocking and locking function on the vehicle. That is, the more frequent the vehicle use, the shorter the target working time. Thus, the frequency of vehicle use and the target working time are negatively correlated.
[0083] In some embodiments, determining the target operating time of a preset function by querying a preset correspondence based on the vehicle usage frequency includes: determining the frequency range of the vehicle usage frequency based on the vehicle usage frequency, querying the preset correspondence based on the frequency range, and determining the target operating time of the preset function; wherein, the correspondence is used to describe the relationship between the frequency range and the target operating time of the preset function. The above-mentioned preset correspondence can be represented by a preset correspondence table, which can be preset and calibrated. The above-mentioned preset correspondence table is shown in Table 1 below.
[0084] Table 1
[0085]
[0086] The data in the above preset correspondence table are illustrative examples for ease of understanding and are not limited to actual applications. In the above preset correspondence table, if the user's vehicle usage frequency is between 90% and 100%, the target working time can be set to 12 hours; if the user's vehicle usage frequency is between 70% and 90%, the target working time can be set to 24 hours; if the user's vehicle usage frequency is between 40% and 70%, the target working time can be set to 48 hours; if the user's vehicle usage frequency is between 0% and 40%, the target working time can also be set to 48 hours.
[0087] For step 103, it is understood that after obtaining the closing time of the automatic unlocking function, it is necessary to continuously perform the step of determining whether the current time is the closing time. If it is determined that the current time is the closing time, it is then determined whether the preset function is in the closed state; if it is detected that the preset function is not in the closed state, the preset function is closed.
[0088] For example, assuming the shutdown time is 9:00 AM, if the current time is earlier than 9:00 AM, the system will continue to check whether the current time is 9:00 AM; if the current time is exactly 9:00 AM, the system will check whether the preset function is in a closed state; if the preset function is detected to be in a closed state, the preset function will be turned off.
[0089] In case of abnormal weather, there may be situations where users will not use the vehicle for a short period of time. Therefore, in addition to considering the impact of battery power on the automatic unlocking and locking function, the impact of weather on the automatic unlocking and locking function also needs to be considered.
[0090] In some embodiments, the vehicle includes a battery, and before controlling the preset function to be turned off at a certain time, it further includes: obtaining the remaining battery power or the current weather condition; if the remaining battery power is lower than a preset battery power threshold, or the weather condition indicates that the weather is in an abnormal state, then controlling the preset function to be turned off.
[0091] Understandably, the remaining battery power in a vehicle can be obtained directly from the vehicle's dashboard; similarly, the weather conditions mentioned above can be obtained directly through a weather application.
[0092] The aforementioned preset power threshold can be pre-calibrated to measure whether the remaining power is sufficient. For example, if the remaining battery power is less than the preset power threshold, it means that the current remaining power is insufficient and may not be able to support the automatic unlocking function. In this case, the automatic unlocking function should be turned off immediately.
[0093] The above-mentioned abnormal weather conditions can refer to the current weather type being typhoon, rainstorm, hail, etc. If the weather is in an abnormal state, it means that the user may not use the vehicle for a long time. In this case, continuing to use the automatic unlocking and locking function is not advisable; you should consider turning off the automatic unlocking and locking function.
[0094] The above technical solution, before controlling the automatic unlocking function to shut down at the designated time, also needs to consider the remaining battery power and the current weather conditions. When the remaining battery power is insufficient, there may be a situation where the automatic unlocking function cannot be supported. In this case, it is advisable to immediately disable the automatic unlocking function. When the weather is abnormal, there may be a situation where the weather affects the user's travel. In this case, it is also advisable to immediately disable the automatic unlocking function to reduce the vehicle's power consumption.
[0095] In addition, if a vehicle key is detected around the vehicle before the preset function is turned off at the designated time, the door will be locked and the vehicle's headlights will be turned on. The automatic unlocking and locking function will be turned off immediately and will be turned on again when the conditions are met next time.
[0096] In practical applications, to further improve the user experience, it is advisable to add settings for users to manually enable and disable the automatic unlocking and closing function.
[0097] In some embodiments, if the remaining battery power is lower than a preset battery power threshold or the weather status indicates that the weather is in an abnormal state, a reminder message is output when the user's portable device is successfully connected to the vehicle; wherein, the reminder message is used to remind the user to turn off the automatic unlocking and locking function; if feedback information confirming that the user has turned off the automatic unlocking and locking function is detected, the automatic unlocking and locking function is controlled to be turned off.
[0098] Understandably, the above reminder information can be displayed on a portable device connected to the vehicle. This feedback information indicates that the user has confirmed the automatic locking / unlocking function is disabled.
[0099] The user's portable device has an option to switch on / off the automatic unlocking / locking function, which is enabled by default. When the remaining battery power is below a preset threshold, or when the weather status indicates an abnormal condition, the vehicle controller sends a reminder message to the portable device. After receiving the reminder message, the user can choose to manually turn off the automatic unlocking / locking function. At this time, feedback indicating confirmation that the automatic unlocking / locking function is turned off is sent to the vehicle controller, which then controls the automatic unlocking / locking function to be turned off.
[0100] In practical applications, when the remaining battery power is higher than the preset battery power threshold or the weather status indicates that the weather is normal, users can also manually turn off the automatic unlocking and locking function. In addition, the switch option for the automatic unlocking and locking function can be set not only on the user's portable device, but also on the vehicle's HUT (Head Unit Terminal), so that users can turn off the automatic unlocking and locking function at any time to further reduce the vehicle's power consumption.
[0101] When a user decides to disable the automatic unlocking / locking function, the system can provide reminders via vibration, voice, or automatic pop-up windows through the vehicle's HUT or the user's portable device, making it easy for the user to understand the current status of the automatic unlocking / locking function.
[0102] The connection methods between the aforementioned vehicles and users' portable devices mainly include the following: Bluetooth connection, vehicle networking APP connection, NFC connection (Near Field Communication), and other wireless communication technologies.
[0103] The aforementioned Bluetooth connection is a low-power, short-range wireless communication technology that can be used for data transmission between a vehicle and a user's portable device to achieve certain specific functions (e.g., remotely controlling the vehicle's automatic locking and unlocking function via the user's portable device). However, because Bluetooth connections are easily limited by distance, this method is only suitable for use when the user's portable device is close to the vehicle.
[0104] The aforementioned vehicle-to-everything (V2X) app connection refers to the way users can connect to their vehicles by installing a specific app on their portable devices. This method typically relies on the internet and allows users to remotely view vehicle status, receive information, and send commands, such as receiving reminders from the vehicle controller or sending commands to the vehicle controller to disable the automatic locking / unlocking function.
[0105] The aforementioned NFC connection refers to the method by which a user's portable device can be quickly paired and connected to the vehicle, which can be used to realize more convenient car key functions (such as the vehicle's automatic unlocking and locking function).
[0106] For ease of understanding, the following description uses a preset period of one month as an example to further illustrate the content of the embodiments of this application:
[0107] Before the vehicle obtains the user's vehicle usage frequency within a month, the target working time of the automatic unlocking and locking function can be preset to 48 hours. The vehicle controller can obtain the user's daily vehicle usage time and send the daily usage time of the current month to the cloud server at the end of each month. The cloud server will calculate the usage frequency based on the usage time of the current month and send it to the vehicle controller. The vehicle controller obtains the target working time corresponding to the usage frequency by querying the preset correspondence, and starts from the next month to control the automatic unlocking and locking function to work according to the new target working time. For example, assuming the current month is March, the target working time for the automatic locking / unlocking function in March is 48 hours. At the end of March, the daily vehicle usage time for that month is sent to the cloud server. The cloud server will calculate the vehicle usage frequency based on the vehicle usage time in March (assuming the usage frequency is between 70% and 90%) and send it to the vehicle controller. The vehicle controller will obtain the target working time corresponding to the usage frequency by querying a preset correspondence. At this time, the target working time is 24 hours. Therefore, starting from April, the automatic locking / unlocking function will operate according to the 24-hour working time, and this cycle will continue.
[0108] Based on the above example, it can also be implemented as follows: Starting from the first week of April, the automatic locking / unlocking function is controlled to operate for 24 hours a day. At the end of the first week, the daily usage time of the week is sent to the cloud server. The cloud server will calculate the usage frequency based on the usage time of the last three weeks of March and the first week of April (assuming the usage frequency is between 40% and 70%) and send it to the vehicle controller. The vehicle controller obtains the target working time corresponding to the usage frequency by querying the preset correspondence. At this time, the target working time is 48 hours. Therefore, starting from the second week of April, the automatic locking / unlocking function is controlled to operate for 48 hours a day, and this cycle repeats.
[0109] Figure 2 This is a schematic flowchart of another vehicle control method provided in the embodiments of this application.
[0110] For example, such as Figure 2 As shown, the method 200 includes:
[0111] Step 201: After detecting that the automatic unlocking and locking function is activated, the vehicle sends a statistical command to the cloud server.
[0112] Step 202: The cloud server uses the vehicle identifier carried by the statistical command to calculate the frequency of vehicle use by users within a preset period.
[0113] Step 203: The cloud server distributes the vehicle usage frequency to the vehicles.
[0114] Step 204: The vehicle queries the preset correspondence based on the usage frequency to determine the target working time of the automatic unlocking and locking function.
[0115] Step 205: The vehicle determines the closing time of the target unlocking function based on the opening time of the automatic unlocking function and the target working duration.
[0116] Step 206: The vehicle determines the closing time of the target unlocking function based on the opening time of the automatic unlocking function and the target working duration.
[0117] The above technical solution enables intelligent management of the automatic unlocking / locking function through collaborative operation between the vehicle and the cloud server. When the vehicle detects that the automatic unlocking / locking function is active, it proactively sends a statistical command to the cloud server. This command includes the vehicle's identifier, ensuring the cloud server can accurately identify and process requests from that vehicle. Upon receiving the command, the cloud server uses the vehicle identifier to calculate the user's vehicle usage frequency within a preset period. After completing the statistics, the cloud server sends the usage frequency information to the vehicle. Upon receiving the usage frequency, the vehicle determines the target operating duration of the automatic unlocking / locking function based on a preset correlation. The vehicle can then calculate and determine the target closing time of the automatic unlocking / locking function based on its activation time and the target operating duration, thereby dynamically adjusting the closing time to reduce power consumption.
[0118] In summary, the vehicle control method provided in this application has the following beneficial effects:
[0119] Through close collaboration between the vehicle and the cloud server, the automatic locking / unlocking function can be dynamically adjusted according to actual vehicle usage, greatly reducing the need for manual settings or frequent operations by users and significantly improving ease of use. The cloud server can intelligently adjust the working duration of the automatic locking / unlocking function based on the user's driving habits, providing more personalized services for each user and thus accurately meeting the diverse needs of different users. In addition, the vehicle accurately calculates and determines the closing time of the automatic locking / unlocking function based on the detailed vehicle usage frequency information provided by the cloud server, effectively avoiding unnecessary power consumption and truly achieving the goal of energy conservation and emission reduction.
[0120] Figure 3 This is a schematic diagram of the structure of a vehicle control device provided in an embodiment of this application.
[0121] For example, such as Figure 3 As shown, the device 300 includes:
[0122] The acquisition module 301 is used to acquire the user's vehicle usage frequency within a preset period after detecting that a preset function is enabled; wherein, the preset function is: a function to periodically detect the environment around the vehicle.
[0123] The determination module 302 is used to determine the shutdown time of the preset function based on the frequency of vehicle use.
[0124] The control module 303 is used to control the preset function to turn off at the designated time.
[0125] In one possible implementation, the determining module is specifically used to: determine the closing time of a preset function based on the vehicle usage frequency, including: determining the target working time of the preset function based on the vehicle usage frequency; and determining the closing time of the preset function based on the opening time and the target working time.
[0126] In one possible implementation, the determining module is specifically used to: determine the target working time of a preset function based on the vehicle usage frequency, including: querying a preset correspondence based on the vehicle usage frequency to determine the target working time of the preset function; wherein the correspondence is used to describe the relationship between the vehicle usage frequency and the target working time of the preset function.
[0127] In one possible implementation, the frequency of vehicle use is negatively correlated with the target working time in a preset correspondence.
[0128] In one possible implementation, the vehicle includes a battery, and the control module is specifically used to: before the preset function is turned off at a certain time, also include: obtaining the remaining battery power or the current weather status; if the remaining battery power is lower than a preset battery power threshold, or the weather status indicates that the weather is in an abnormal state, then the preset function is turned off.
[0129] In one possible implementation, the acquisition module is specifically used to: after detecting that the preset function is enabled, acquire the user's vehicle usage frequency within a preset period, including: after detecting that the preset function is enabled, sending a statistical instruction to the cloud server, so that the cloud server can calculate the user's vehicle usage frequency within the preset period based on the vehicle identifier carried by the statistical instruction, and send the usage frequency to the vehicle; and receiving the usage frequency sent by the cloud server.
[0130] In one possible implementation, the preset functions include: a function to periodically detect the working status of the vehicle key around the vehicle.
[0131] Figure 4 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.
[0132] For example, such as Figure 4As shown, the vehicle 400 includes a memory 401 and a processor 402. The memory 401 stores executable program code 4011, and the processor 402 is used to call and execute the executable program code 4011 to perform a vehicle control method.
[0133] Furthermore, embodiments of this application also protect an apparatus that may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to perform a vehicle control method provided in embodiments of this application.
[0134] 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.
[0135] When the functional modules are divided according to their respective functions, the device may also include an acquisition module, a determination module, and a control module. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.
[0136] 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.
[0137] 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 relevant program code.
[0138] 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.
[0139] 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.
[0140] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement a vehicle control method provided in the above embodiment.
[0141] This embodiment 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 embodiment.
[0142] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0143] 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.
[0144] 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.
[0145] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for controlling a vehicle, characterized in that, The method includes: After detecting that a preset function is enabled, the frequency of vehicle use by the user within a preset period is obtained; wherein, the preset function is: a function to periodically detect the environment around the vehicle. Based on the vehicle usage frequency, a preset correspondence is queried to determine the target working time of the preset function; wherein, the correspondence is used to describe the relationship between the vehicle usage frequency and the target working time of the preset function; The closing time of the preset function is determined based on the activation time of the preset function and the target working duration; The preset function is turned off at the specified shutdown time.
2. The method according to claim 1, characterized in that, In the preset correspondence, the vehicle usage frequency is negatively correlated with the target working duration.
3. The method according to claim 1, characterized in that, The vehicle includes a battery, and before the preset function is turned off at the scheduled shutdown time, it also includes: Obtain the remaining battery power or the current weather conditions; If the remaining battery power is lower than a preset battery power threshold, or if the weather status indicates that the weather is in an abnormal state, then the preset function is turned off.
4. The method according to claim 1, characterized in that, The step of obtaining the user's vehicle usage frequency within a preset period after detecting that a preset function is enabled includes: After detecting that the preset function is enabled, a statistical command is sent to the cloud server so that the cloud server can calculate the frequency of user use of the vehicle within a preset period based on the vehicle identifier carried by the statistical command, and send the usage frequency to the vehicle. Receive the vehicle usage frequency sent by the cloud server.
5. The method according to claim 1, characterized in that, The preset functions include: periodically detecting the working status of vehicle keys around the vehicle.
6. A vehicle control device, characterized in that, The device includes: The acquisition module is used to acquire the user's vehicle usage frequency within a preset period after detecting that a preset function is enabled; wherein, the preset function is: a function to periodically detect the environment around the vehicle. The determination module is used to query a preset correspondence based on the vehicle usage frequency to determine the target working time of the preset function; wherein, the correspondence is used to describe the relationship between the vehicle usage frequency and the target working time of the preset function; and to determine the closing time of the preset function based on the opening time of the preset function and the target working time. The control module is used to control the preset function to turn off at the closing time.
7. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle control method, server, vehicle and vehicle system
CN114114993A
Contextual model creation method, contextual model execution method, equipment and storage medium
CN116795468A