Vehicle control method, vehicle, and storage medium
By acquiring the brightness value of the ambient light detection module in the vehicle and combining it with vehicle status information to determine whether there is obstruction, a prompt message is output to reduce unnecessary turning on of the headlights. This solves the problem of energy waste caused by the obstruction of the ambient light sensor, and realizes energy saving and user-friendly control of the headlights.
Patent Information
- Application Number
- CN202210462347.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-04-28
AI Technical Summary
In existing vehicles, the headlights will still turn on when the ambient light sensor is blocked by an object on the vehicle, resulting in unnecessary waste of electricity.
By acquiring the ambient brightness value detected by the vehicle's ambient light detection module and combining it with vehicle operating status information such as current time, vehicle speed, location, brightness change characteristics, and weather, the system determines whether the ambient light detection module is obstructed. If obstructed, a prompt message is output so that the user can confirm whether the headlights need to be turned on.
It reduces unnecessary use of headlights, lowers vehicle energy consumption, and improves the compatibility of headlight use and user experience.
Smart Images

Figure CN114771400B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more particularly to vehicle control methods, vehicles, and storage media. Background Technology
[0002] Currently, most vehicles are equipped with automatic headlight control function, which generally uses an ambient light sensor installed on the vehicle body. When the ambient light value detected by the ambient light sensor is lower than a threshold, the headlights are automatically turned on, and when the ambient light value detected by the ambient light sensor is higher than the threshold, the headlights are automatically turned off.
[0003] However, this can cause the headlights to turn on even when the ambient light sensor is blocked by objects on the vehicle, even though the user does not need to use the headlights, resulting in unnecessary headlight use and wasting vehicle power. Summary of the Invention
[0004] The main objective of this invention is to provide a vehicle control method, a vehicle, and a storage medium, which aims to reduce unnecessary use of vehicle lights and lower vehicle energy consumption.
[0005] To achieve the above objectives, the present invention provides a vehicle control method, the vehicle control method comprising the following steps:
[0006] Obtain the ambient brightness value detected by the vehicle's ambient light detection module;
[0007] When the ambient brightness value is less than a preset brightness threshold, the vehicle is judged to meet the preset condition that the ambient light detection module is blocked based on the vehicle operation-related status information. The vehicle operation-related status information includes at least one of the following: the current time of the vehicle, the vehicle speed, the current position of the vehicle, the brightness change characteristics detected by the ambient light detection module, and the weather of the environment where the vehicle is located.
[0008] When the vehicle meets the preset condition that the ambient light detection module is blocked, the vehicle is controlled to output a prompt message, which includes information on whether the ambient light detection module is blocked.
[0009] Optionally, after the step of obtaining the ambient brightness value detected by the vehicle's ambient light detection module, the method further includes:
[0010] When the ambient brightness value is less than a preset brightness threshold, the vehicle's headlights are turned on.
[0011] Optionally, the preset condition includes a first condition, which includes: the current time is during daytime.
[0012] Optionally, the preset condition includes the first condition and the second condition, wherein the second condition includes at least one of the following conditions:
[0013] The information indicates that the vehicle's current location is outside the covered area;
[0014] The ambient light detection module detects brightness changes whose amplitude within a preset time period is less than a preset amplitude.
[0015] The weather described is sunny.
[0016] Optionally, the preset conditions include the first condition, the second condition, and the third condition, wherein the third condition includes: the vehicle speed is greater than a preset speed value, or the change in the vehicle's current position within a preset time period is less than a preset value, or the vehicle's current position is located within a preset area.
[0017] Optionally, after the step of controlling the vehicle to output prompt information, the method further includes: returning to the step of obtaining the ambient brightness value detected by the vehicle's ambient light detection module;
[0018] After the step of obtaining the ambient brightness value detected by the vehicle's ambient light detection module, the method further includes: when the ambient brightness value is greater than or equal to the preset brightness threshold, controlling the vehicle lights to turn off.
[0019] Optionally, after the step of controlling the vehicle to output prompt information, the method further includes:
[0020] Upon receiving feedback information corresponding to the prompt message, stop determining whether the vehicle meets the preset condition that the ambient light detection module is blocked or stop outputting the prompt message.
[0021] Optionally, after stopping the step of determining whether the vehicle meets the preset condition that the ambient light detection module is blocked when receiving the feedback information corresponding to the prompt information, the method further includes:
[0022] When the brightness value detected by the ambient light detection module is greater than or equal to the preset brightness threshold, and the ambient light value is less than the preset brightness threshold again, the system will restart the determination of whether the vehicle meets the preset condition that the ambient light detection module is blocked.
[0023] Furthermore, in order to achieve the above objectives, this application also proposes a vehicle comprising:
[0024] Car lights;
[0025] Ambient light detection module;
[0026] A control device, wherein the vehicle lights and the ambient light detection module are both connected to the control device, the control device comprising: a memory, a processor, and a vehicle control program stored in the memory and executable on the processor, wherein the vehicle control program, when executed by the processor, implements the steps of the vehicle control method as described in any of the preceding claims.
[0027] In addition, to achieve the above objectives, this application also proposes a storage medium storing a vehicle control program, which, when executed by a processor, implements the steps of the vehicle control method as described in any of the preceding claims.
[0028] This invention proposes a vehicle control method. When the ambient light value detected by the vehicle's ambient light detection module is lower than a preset brightness threshold, triggering the vehicle's headlights to turn on, the method further determines whether the vehicle meets a preset condition for the ambient light detection module to be blocked based on vehicle operation-related status information. This status information includes the vehicle's current time, speed, position, brightness change characteristics detected by the ambient light detection module, and weather conditions. This information accurately reflects the actual operating conditions of the vehicle and / or the external environment's demand for headlights. This information helps accurately identify whether the ambient light detection module is blocked. Therefore, when the vehicle meets the preset condition, indicating that the ambient light detection module is blocked, the vehicle outputs a prompt message indicating whether the ambient light detection module is blocked. This allows the user to understand the current state of the blocked module and consider further inspection measures based on their needs, ensuring that the vehicle's headlights are turned on in accordance with user requirements, thereby reducing unnecessary headlight use and lowering vehicle energy consumption. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of the hardware structure involved in the operation of a vehicle according to an embodiment of the present invention;
[0030] Figure 2 This is a flowchart illustrating an embodiment of the vehicle control method of the present invention;
[0031] Figure 3 This is a flowchart illustrating another embodiment of the vehicle control method of the present invention.
[0032] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0033] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0034] The main solution of this invention is as follows: Obtain the ambient brightness value detected by the vehicle's ambient light detection module; when the ambient brightness value is less than a preset brightness threshold, determine whether the vehicle meets the preset condition that the ambient light detection module is blocked based on vehicle operation-related status information. The vehicle operation-related status information includes at least one of the following: the current time of the vehicle, the vehicle speed, the vehicle's current position, the brightness change characteristics detected by the ambient light detection module, and the weather conditions of the vehicle's environment; when the vehicle meets the preset condition that the ambient light detection module is blocked, control the vehicle to output a prompt message, which includes information checking whether the ambient light detection module is blocked.
[0035] Because most vehicles currently have automatic headlight control functions, they typically use an ambient light sensor on the vehicle body to automatically turn on the headlights when the ambient light level detected by the sensor is below a threshold. This can lead to the headlights turning on even when the ambient light sensor is blocked by objects on the vehicle, even though the user does not need to use the headlights. This results in unnecessary headlight use and waste of vehicle power.
[0036] The present invention provides the above-mentioned solution, which aims to reduce the unnecessary use of vehicle lights and reduce vehicle energy consumption.
[0037] This invention provides a vehicle. The vehicle can be a motor vehicle, such as a car, motorcycle, or electric vehicle, or a non-motor vehicle, such as a bicycle or rickshaw.
[0038] In this embodiment of the invention, reference is made to Figure 1 The vehicle includes headlights 2, an ambient light detection module 3, and a control device 1. Both the headlights 2 and the ambient light detection module 3 are connected to the control device 1, which can be used to control the operation of the headlights 2. The control device 1 can acquire data detected by the ambient light detection module 3.
[0039] The vehicle light 2 may specifically include headlights, taillights, and / or license plate lights, etc., used for illumination or vehicle identification. In this embodiment, the vehicle light 2 is a light-emitting module with non-adjustable brightness. In other embodiments, the vehicle light 2 may also be a light-emitting module with adjustable brightness.
[0040] The ambient light detection module 3 may include one or more. The ambient light detection module 3 may be installed on the vehicle door, the windshield, the center console, the rearview mirror, and / or the bumper, etc., as needed.
[0041] The vehicle also includes a notification device 4 located inside the vehicle. The notification device 4 is connected to the control device 1 and can also be connected to a subsequent in-vehicle infotainment system 5. The notification device 4 can be used to output notification information. In this embodiment, the notification device 4 includes a display screen. In other embodiments, the notification device 4 may also include a voice notification device 4, etc.
[0042] Furthermore, the vehicle also includes an in-vehicle infotainment system 5 (IVI). The control device 1 is connected to the in-vehicle infotainment system 5 and can be used to obtain navigation information and / or time information from the in-vehicle infotainment system 5. Specifically, in this embodiment, the control device 1 is a body control module (BCM), and the body control module is connected to the in-vehicle infotainment system 5 via a communication bus (such as a CAN bus).
[0043] Furthermore, in this embodiment, the vehicle also includes an onboard communication unit 6 (T-Box), which is connected to the control device 1. The control device 1 can receive weather information from the background through the onboard communication unit 6.
[0044] Furthermore, in this embodiment, the vehicle also includes an anti-lock braking system 7 (ABS), which is connected to the control device 1. The control device 1 can receive vehicle speed information from the anti-lock braking system 7.
[0045] In this embodiment of the invention, reference is made to Figure 1 The vehicle control device 1 includes a processor 1001 (e.g., CPU), a memory 1002, a timer 1003, etc. The components in the control device 1 are connected via a communication bus. The memory 1002 can be a high-speed RAM or a stable, non-volatile memory, such as a disk drive. Optionally, the memory 1002 can also be a storage device independent of the aforementioned processor 1001.
[0046] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0047] like Figure 1 As shown, the memory 1002, which serves as a storage medium, may include a vehicle control program. Figure 1 In the device shown, the processor 1001 can be used to call the vehicle control program stored in the memory 1002 and execute the relevant steps of the vehicle control method in the following embodiments.
[0048] This invention also provides a vehicle control method applicable to the aforementioned vehicle.
[0049] Reference Figure 2 This application proposes an embodiment of a vehicle control method. In this embodiment, the vehicle control method includes:
[0050] Step S10: Obtain the ambient brightness value detected by the vehicle's ambient light detection module;
[0051] Specifically, after the vehicle is powered on, data detected by the ambient light detection module can be acquired in real time or at set intervals to obtain a detection value characterizing the ambient brightness. The ambient brightness value can be the currently acquired detection value, or it can be a value determined based on one or more detection values within a preset time period prior to the current moment.
[0052] Furthermore, the vehicle may be equipped with an automatic headlight control mode, which can be turned on or off according to user input commands. Step S10 is executed when the automatic headlight control mode is on. Step S10 is prohibited from being executed when the automatic headlight control mode is off.
[0053] Step S20: When the ambient brightness value is less than a preset brightness threshold, determine whether the vehicle meets the preset condition that the ambient light detection module is blocked based on the vehicle operation-related status information; the status information includes at least one of the following: the current time of the vehicle, the vehicle speed, the current position of the vehicle, the brightness change characteristics detected by the ambient light detection module, and the weather of the environment where the vehicle is located.
[0054] The ambient brightness threshold is a critical value used to distinguish whether the ambient light is sufficient for the user to ensure safe vehicle operation. When the ambient brightness value is less than the preset brightness value, it indicates that the ambient light is insufficient and the headlights need to be turned on, so the headlights are turned on. When the ambient brightness value is greater than or equal to the preset brightness value, it indicates that the ambient light is sufficient and the headlights do not need to be turned on, so the headlights can be turned off.
[0055] The status information specifically represents the vehicle's current lighting requirements during operation. Any information related to the vehicle's current operation can be used as status information. This status information may include the vehicle's own operational information and / or environmental information about the external environment. Specifically, the status information is used to identify whether the ambient light detection module is obstructed.
[0056] The status information here can be read from the operating data inside the vehicle control system, or it can be obtained from external systems via the communication module. After the headlights are turned on, vehicle operation-related status information can be obtained in real time or at preset intervals.
[0057] The current time can be obtained from the world time displayed in the real-time in-vehicle infotainment system.
[0058] Vehicle speed is determined by acquiring vehicle motion-related signals monitored by the vehicle's anti-lock braking system.
[0059] The vehicle's current location is obtained by acquiring the current navigation data from the in-vehicle infotainment system. The navigation data specifically includes an electronic map of the area where the vehicle is located and the vehicle's real-time location information on the electronic map (such as the type of area the vehicle is currently in (e.g., whether it is in a shady area or not)). The vehicle's location information can be used to determine whether the current location is in an obstructed area such as under trees, tall buildings, tunnels, indoor parking lots, etc.
[0060] The brightness change characteristics detected by the ambient light detection module are specifically determined by acquiring at least two data points detected by the ambient light detection module within a target duration. The change characteristic information specifically refers to parameters characterizing the brightness change features detected by the ambient light detection module within the target duration. This change characteristic information specifically includes the brightness change amplitude, brightness change rate, brightness change trend, and / or the relationship between the brightness values detected within a preset duration and a preset brightness value.
[0061] The weather conditions in the vehicle's environment are obtained by connecting the vehicle's onboard communication unit to the vehicle's control platform and acquiring the current weather monitoring data for the vehicle's location from the control platform. The weather conditions in the vehicle's environment may include cloudy, sunny, rainy, or snowy weather.
[0062] In this embodiment, the status information includes all the above-mentioned information to improve the accuracy of the ambient light detection module in identifying whether the ambient light is obstructed. In other embodiments, the status information may also include some of the above-mentioned information, such as the current time, or the current time and vehicle speed, or the current time and vehicle's current position, or the current time and change characteristics, or the current time and weather, etc. In addition, besides the above-mentioned information, the status information may also include other information, such as the on / off status of the vehicle's traffic lights (e.g., fog lights) and / or the user identity information in the vehicle's cockpit, etc.
[0063] The preset conditions specifically include the numerical range that the status information needs to reach when the ambient light detection module is obstructed and / or the information content that the status information needs to include. Different types of status information will correspond to different preset conditions; the status information is the information corresponding to the preset conditions. The preset conditions can be the default configuration in the system or determined by obtaining user-input settings.
[0064] When the status information meets the preset conditions, it indicates that the ambient light detection module is blocked; when the status information does not meet the preset conditions, it indicates that the ambient light detection module is not blocked, which means that the vehicle is in a low-light environment. At this time, the output of prompt information can be prohibited, and the headlights can be kept on to enable the vehicle to drive safely in low-light environments.
[0065] Step S30: When the vehicle meets the preset condition that the ambient light detection module is blocked, the vehicle is controlled to output a prompt message, which includes information on whether the ambient light detection module is blocked.
[0066] The prompts may include one of the following: display information (e.g., pop-up messages), voice information, lighting information, and / or text push messages. The prompts may include status messages indicating the current occlusion state of the ambient light detection module and / or operational prompts for the user to check the ambient light detection module.
[0067] The alert message can be output through an alert device installed on the vehicle, or it can be sent by controlling the vehicle to a user terminal connected to it, so that the user terminal that receives the alert message can output the alert message. Specifically, in this embodiment, the body controller sends the alarm signal to the in-vehicle infotainment system through the communication bus, and the in-vehicle infotainment system controls the display screen on the vehicle to output the alert message.
[0068] In this embodiment, the prompt information includes information on whether the ambient light detection module is obstructed. For example, the vehicle's display screen pops up a preset window containing the text "Check if the ALS sensor is obstructed." Based on this, the user can be informed through the pop-up window that the ambient light detection module needs to be checked for obstruction, allowing the user to remove obstructions in a timely manner, effectively preventing the headlights from needlessly turning on due to obstruction of the ambient light detection module. Furthermore, in addition to the aforementioned information on whether the ambient light detection module is obstructed, the prompt information may also include the location information of the ambient light detection module on the vehicle. For example, the vehicle's display screen pops up a preset window containing the text "Check if the ALS sensor is obstructed" and an image of the vehicle body indicating the location of the ambient light detection module, allowing the user to quickly know the location of the ambient light detection module on the vehicle and check its obstruction status.
[0069] This invention proposes a vehicle control method. When the ambient light value detected by the vehicle's ambient light detection module is lower than a preset brightness threshold, triggering the vehicle's headlights to turn on, the method further determines whether the vehicle meets a preset condition for the ambient light detection module to be blocked based on vehicle operation-related status information. This status information includes the vehicle's current time, speed, position, brightness change characteristics detected by the ambient light detection module, and weather conditions. This information accurately reflects the actual operating conditions of the vehicle and / or the external environment's demand for headlights. This information helps accurately identify whether the ambient light detection module is blocked. Therefore, when the vehicle meets the preset condition, indicating that the ambient light detection module is blocked, the vehicle outputs a prompt indicating whether the ambient light detection module is blocked. This allows the user to understand the current state of the blocked module and consider further inspection measures based on their needs, ensuring that the vehicle's headlights are turned on in accordance with user requirements, thereby reducing unnecessary headlight use and lowering vehicle energy consumption.
[0070] Furthermore, in this embodiment, after step S10, the method further includes: when the ambient brightness value is less than a preset brightness threshold, controlling the vehicle's headlights to turn on. Specifically, while the headlights are on, the method involves determining whether the vehicle meets the preset condition of the ambient light detection module being blocked based on vehicle operation-related status information, as well as subsequent steps.
[0071] Here, when the ambient brightness value is less than the preset brightness threshold, the headlights are turned on before the result of whether the preset conditions are met, so as to ensure that the headlights are turned on in time to ensure the driving safety of the vehicle.
[0072] Furthermore, in this embodiment, after step S30, the process further includes: returning to step S10. After step S10, the process further includes: controlling the vehicle lights to turn off when the ambient brightness value is greater than or equal to the preset brightness threshold. Based on this, the vehicle lights can continue to be automatically controlled based on the ambient brightness value detected by the ambient light detection module, and the vehicle lights can be automatically turned off based on the re-detected ambient brightness value after the ambient light detection module is cleared, without user control, simplifying user operation and reducing vehicle energy consumption.
[0073] In other embodiments, after step S30, the vehicle lights can also be controlled according to user input instructions. For example, the vehicle lights can be turned off when the user inputs an instruction to turn them off, or the vehicle lights can remain off if no such instruction is received. After the vehicle lights are turned off, the automatic vehicle light control mode can be stopped until a set condition is met (such as the ambient light detection module detecting an ambient brightness value greater than or equal to a preset brightness threshold, or the vehicle being powered on again after a power outage).
[0074] Furthermore, in this embodiment, based on the obtained status information, the status information includes the current time, and the preset condition includes a first condition: the current time is during the daytime period.
[0075] The daytime period can be a pre-set time period by the system or a time period determined by obtaining user settings. Taking a 24-hour clock as an example, the daytime period can be from 6:00 to 18:00, or from 7:00 to 19:00, etc.
[0076] The vehicle is currently operating during daytime, indicating that sunlight can provide sufficient light for its operation. Therefore, it is assumed that the vehicle is unlikely to need to use its lights. At this time, a prompt message is displayed to allow the user to confirm whether the lights need to be used during the day and to take further action. This ensures that the use of lights meets the user's needs and effectively avoids unnecessary use of lights in well-lit environments during the day, thereby reducing the vehicle's energy consumption.
[0077] Furthermore, in this embodiment, the status information includes, in addition to the current time, at least one of navigation information, change characteristic information, and weather information. Therefore, besides the first condition, the preset condition also includes a second condition, which includes at least one of the following:
[0078] Condition 1: The vehicle's current location is outside the shaded area;
[0079] Condition 2: The amplitude of the brightness change characteristics detected by the ambient light detection module within a preset time period is less than a preset amplitude;
[0080] Condition 3: The weather is sunny.
[0081] Regarding condition 1, the obstructed area refers to the area around the vehicle where obstructions block light. Obstructed areas can include interiors of buildings (such as shopping malls, underground parking lots in residential areas or companies), tunnels, and / or under bridges. If the vehicle is currently outside the obstructed area, it indicates that there are no obstructions blocking natural light during the day, and the vehicle has sufficient light to drive in daylight. The headlights do not need to be turned on to meet user needs. If the ambient light detection module detects an ambient brightness value lower than a preset brightness threshold, it can be considered that the detection module is obstructed, and a warning message can be output. If the vehicle is currently within the obstructed area, it indicates that there may be a risk of insufficient light while driving. In this case, the headlights are considered to be on normally, the warning message output stops, and the headlights remain on.
[0082] Regarding condition 2, the preset duration can start timing either when the current time meets the first condition, or when the current time meets the first condition and the vehicle speed meets the subsequent third condition. The preset amplitude is specifically pre-calibrated based on the vehicle model or the installation position of the ambient light detection module on the vehicle. Within the preset duration, the brightness value detected by the ambient light detection module can be acquired at set intervals. The amplitude of brightness change is determined based on the two brightness values detected at the current moment and the moment before the current moment. The amplitude of brightness change is compared with the preset amplitude. If all amplitude changes within the preset duration are less than the preset amplitude, or if the number of amplitude changes less than the preset amplitude within the preset duration is greater than a preset number, it can be considered that the amplitude of brightness change detected by the ambient light detection module within the preset time is less than the preset amplitude. Since areas with alternating light and dark, such as shady areas, can cause brightness changes exceeding a preset threshold, a brightness change detected by the ambient light detection module within a preset time period that is less than the preset threshold indicates that the vehicle is not currently driving in such an area. The absence of dark areas within these areas prevents the ambient light detection module from detecting a brightness value below the preset threshold. During the day, a brightness change value consistently below the preset threshold may be due to the ambient light detection module being obstructed. In this case, a warning message is output to prevent the vehicle from turning on its headlights in brightly lit environments due to obstructed detection modules, ensuring that the headlights are on according to user needs and reducing vehicle energy consumption. Furthermore, if the brightness change characteristic is greater than or equal to the preset threshold within a preset time period, it can be considered that the ambient light value detected by the ambient light detection module is below the preset threshold because the vehicle is driving in an area with alternating light and dark, such as shady areas, resulting in insufficient ambient light. In this case, the headlights are considered to be on normally, the warning message is stopped, and the headlights remain on.
[0083] Regarding condition 3, if the weather information is sunny, it can be assumed that there is sufficient sunlight to ensure adequate ambient light for vehicle operation. If the ambient brightness value is lower than the preset brightness threshold, it may be due to the detection module being blocked. In this case, an alert message will be output to reduce unnecessary use of the headlights in sunny conditions, thus reducing vehicle energy consumption. If the weather information is other than sunny, it can be assumed that there is insufficient sunlight to ensure adequate ambient light for vehicle operation. This indicates that the headlights being on currently meets the user's actual needs. In this case, the headlights can be considered to be on normally, the alert message will stop being output, and the headlights will remain on.
[0084] In this embodiment, the second condition includes all the above conditions, so as to realize whether the vehicle lights need to be turned on, improve the accuracy of the detection module in identifying whether the lights are blocked, and improve the accuracy of the prompt information output.
[0085] In other embodiments, the preset conditions include the first condition, and the second condition may also include some of the above conditions. For example, the second condition includes conditions 1 and 2, or conditions 1 and 3, or conditions 2 and 3. The second condition includes conditions 1, 2, or 3. Based on this, it is possible to accurately identify whether the ambient light detection module is blocked to a certain extent, and reduce the unnecessary turning on of the headlights to a certain extent, thereby reducing the energy consumption of the vehicle.
[0086] Furthermore, in this embodiment, in addition to the current time and vehicle speed mentioned above, the status information also includes at least one of navigation information, change feature information and weather information. The preset conditions include the first condition, the second condition and the third condition. The third condition includes: the vehicle speed is greater than a preset speed value or the change in the vehicle's current position within a preset time period is less than a preset value or the vehicle's current position is located within a preset area.
[0087] The preset speed value is a critical speed threshold used to distinguish whether the vehicle is in motion. When the vehicle speed is greater than the preset speed value, it indicates that the vehicle is in motion.
[0088] If the vehicle's current position changes less than a preset value within a preset time period, it can be considered that the vehicle does not need to move and does not require the use of headlights.
[0089] The preset area can be a user-specified area, an area where vehicle lights are prohibited, or a pre-recorded area with sufficient ambient light. When the vehicle is located within the preset area, it is assumed that the user does not need to use vehicle lights.
[0090] Specifically, the system can sequentially determine whether the status information meets the first, third, and second conditions. For example, first, it determines whether the current time is within a daytime period. If the current time is determined to be within a daytime period, it determines whether the vehicle speed is greater than a preset speed value. If the vehicle speed is determined to be greater than the preset speed value, it starts timing to obtain the timing duration. The system obtains the brightness value detected by the ambient light detection module at set intervals and determines the brightness change amplitude based on the difference between two brightness values detected at adjacent times, until the timing duration reaches the preset duration. If all brightness change amplitudes determined within the preset time are less than the preset amplitude, it can determine whether the vehicle's current location is outside an obstructed area (such as a building or tunnel) based on navigation information. If the vehicle's current location is outside an obstructed area (such as a building or tunnel), it can determine whether the weather is sunny. If the weather is sunny, it can determine that the ambient light detection module is obstructed, and a prompt message can be output.
[0091] If the status information does not meet any of the first, second, and third conditions, it can be considered that the current on-time headlights meet the user's needs and there is no situation where the ambient light detection module is blocked. In this case, the output of prompt information can be stopped and the headlights can be kept on.
[0092] In this embodiment, when it is daytime and the vehicle is in motion, the second condition is used to determine whether the headlights need to be turned on, thereby further improving the recognition of whether the ambient light detection module is blocked, improving the accuracy of the prompt information output, and further reducing the unnecessary turning on of headlights and the vehicle's energy consumption.
[0093] In other embodiments, the preset conditions may include at least one of the second and third conditions instead of the first condition described above.
[0094] In other embodiments, in addition to the aforementioned preset conditions, the status information includes vehicle speed. The preset conditions may also include a fourth condition, which indicates that the vehicle speed is less than or equal to a preset speed value. This indicates that the vehicle is not moving and does not require the use of headlights, which may be obstructed. Outputting a prompt message in this case can reduce unnecessary headlight use when the vehicle is not moving, thereby reducing energy consumption. The status information includes weather information and the on / off status of fog lights. The preset condition includes weather information indicating cloudy, rainy, or snowy weather with fog lights off. The status information also includes user identity information within the driver's compartment, with the preset condition indicating that the user identity information matches a preset identity.
[0095] Furthermore, based on any of the above embodiments, another embodiment of the vehicle control method of this application is proposed. In this embodiment, reference is made to... Figure 3 After step S30, the method further includes:
[0096] Step S40: When receiving feedback information corresponding to the prompt information, stop determining whether the vehicle meets the preset condition that the ambient light detection module is blocked or stop outputting the prompt information.
[0097] The feedback information can be obtained from user manual input or voice commands.
[0098] Specifically, the feedback information indicates that the user does not require the output of a prompt message. This includes situations where the user is aware of the risk of the headlight detection module being obstructed and thus abnormally activated, the user has confirmed that the headlights need to be turned on, or the user has confirmed that the ambient light detection module is not currently obstructed.
[0099] In this embodiment, the prompt information includes the aforementioned pop-up window information. The feedback information includes closing the pop-up window. Based on this, closing the pop-up window represents the user's need for a prompt, and when the vehicle lights are subsequently turned on, the detection module's ability to detect whether the lights are obstructed and the output of related prompt information will no longer be performed, thus avoiding repeated output of prompt information that may disturb the user. In other embodiments, the feedback information may also include a preset voice command input by the user to cancel the notification, etc.
[0100] In this embodiment, by means of the above method, the user can turn off the alarm function or the function of identifying obstruction when the ambient light detection module is blocked by the feedback information based on the prompt information. This reduces unnecessary turning on of the headlights, lowers vehicle energy consumption, and ensures that the prompt information output matches the user's needs, thereby improving the user experience.
[0101] Furthermore, in this embodiment, after stopping the step of determining whether the vehicle meets the preset condition of the ambient light detection module being blocked when receiving the feedback information corresponding to the prompt information, the method further includes: when the brightness value detected by the ambient light detection module is greater than or equal to the preset brightness threshold, and the ambient brightness value is less than the preset brightness threshold again, restarting the determination of whether the vehicle meets the preset condition of the ambient light detection module being blocked. During the process of stopping the determination of whether the vehicle meets the preset condition of the ambient light detection module being blocked, when the brightness value detected by the vehicle's ambient light detection module is greater than or equal to the preset brightness threshold, controlling the vehicle's headlights to turn off, and returning to step S10. When the brightness value detected by the vehicle's ambient light detection module is less than the preset brightness threshold, controlling the vehicle's headlights to remain on and continuing to execute the step of stopping the determination of whether the vehicle meets the preset condition of the ambient light detection module being blocked. Based on this, the opening and closing of the ambient light detection module's occlusion alarm function can be automatically controlled to meet user needs. During the process of controlling the opening and closing of the headlights based on the ambient brightness value, the prompt message will only be output once after the headlights are turned on. This further effectively avoids the repeated output of the prompt message after the user is aware of it, thus reducing unnecessary turning on of the headlights and improving the user experience.
[0102] In other embodiments, after stopping the step of determining whether the vehicle meets the preset condition of the ambient light detection module being blocked when receiving the feedback information corresponding to the prompt information, the process can also return to step S10 when the user inputs the command to enable the ambient light detection module being blocked alarm function or after a preset time interval.
[0103] Furthermore, this embodiment of the invention also proposes a storage medium storing a vehicle control program, which, when executed by a processor, implements the relevant steps of any of the above embodiments of the vehicle control method.
[0104] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0105] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0106] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, vehicle, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0107] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A vehicle control method, characterized in that, The vehicle control method includes the following steps: Obtain the ambient brightness value detected by the vehicle's ambient light detection module; When the ambient brightness value is less than a preset brightness threshold, the vehicle's headlights are turned on. When the vehicle lights are on, the system determines whether the vehicle meets the preset condition that the ambient light detection module is blocked based on the vehicle operation-related status information. The vehicle operation-related status information includes the following: the current time of the vehicle, the current position of the vehicle, the brightness change characteristics detected by the ambient light detection module, and the weather of the vehicle's environment. When the vehicle meets the preset condition that the ambient light detection module is blocked, the vehicle is controlled to output a prompt message. The prompt message includes information on whether the ambient light detection module is blocked. The preset condition includes: the current time is during daytime, the current location of the vehicle is outside the blocked area, the change amplitude of the brightness change characteristics detected by the ambient light detection module within a preset time period is less than a preset amplitude, and the weather is sunny. The blocked area includes the interior of buildings, tunnels, and / or under bridges. When receiving user feedback information corresponding to the prompt information, stop determining whether the vehicle meets the preset condition that the ambient light detection module is blocked or stop outputting the prompt information; Specifically, if the brightness change detected by the ambient light detection module within a preset time is greater than or equal to a preset value, the vehicle lights are controlled to remain on.
2. The vehicle control method as described in claim 1, characterized in that, The status information also includes the vehicle speed, and the preset conditions also include: the vehicle speed is greater than a preset speed value, or the change in the vehicle's current position within a preset time period is less than a preset value, or the vehicle's current position is located within a preset area.
3. The vehicle control method as described in claim 1 or 2, characterized in that, After the step of controlling the vehicle to output prompt information, the method further includes: returning to the step of obtaining the ambient brightness value detected by the vehicle's ambient light detection module; After the step of obtaining the ambient brightness value detected by the vehicle's ambient light detection module, the method further includes: when the ambient brightness value is greater than or equal to the preset brightness threshold, controlling the vehicle lights to turn off.
4. The vehicle control method as described in claim 3, characterized in that, After receiving the feedback information corresponding to the prompt information and stopping the step of determining whether the vehicle meets the preset condition that the ambient light detection module is blocked, the method further includes: When the brightness value detected by the ambient light detection module is greater than or equal to the preset brightness threshold, and the ambient light value is less than the preset brightness threshold again, the system will restart the determination of whether the vehicle meets the preset condition that the ambient light detection module is blocked.
5. A vehicle, characterized in that, The vehicles include: Car lights; Ambient light detection module; A control device, wherein the vehicle lights and the ambient light detection module are both connected to the control device, the control device comprising: a memory, a processor, and a vehicle control program stored in the memory and executable on the processor, wherein the vehicle control program, when executed by the processor, implements the steps of the vehicle control method as described in any one of claims 1 to 4.
6. A storage medium, characterized in that, The storage medium stores a vehicle control program, which, when executed by a processor, implements the steps of the vehicle control method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for detecting whether camera of terminal is covered or not, and terminal
CN106454336A
Vehicle lamp control method, device, equipment and vehicle
CN111976584A