Vehicle window control method, storage medium, program product and vehicle

By introducing visibility and number of people to the window control method and combining with the neural network model, the problem of excessive window control is solved, and smarter window operation is achieved, and user experience is improved.

CN120443934APending Publication Date: 2025-08-08BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411794217.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the prior art, the window control method only relies on weather conditions, resulting in too single judgment and reducing the user's car use experience.

Method used

By determining the visibility of the current environment and the number of people in the car, judging visibility with the neural network model, and controlling the window movement based on the visibility and number of people, the diversity of judgment conditions is increased.

Benefits of technology

It improves the intelligence of window control and improves users' car use experience, especially air environment quality control in different weather and number of people.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120443934A_ABST
    Figure CN120443934A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle window control method, a storage medium, a program product and a vehicle. The method comprises the following steps: determining the visibility of a current environment; if the visibility is greater than a preset visibility threshold, determining the number of people in the vehicle; controlling window actions according to the number of people in the vehicle. The vehicle window action condition is controlled by increasing the environment visibility and the number of people in the vehicle, so that the vehicle window opening and closing of the vehicle are more intelligent, and the vehicle using experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicles, and in particular to a vehicle window control method, a computer-readable storage medium, a computer program product, and a vehicle. Background Art

[0002] The vehicle's intelligent window opening and closing is very important to the user's driving experience. In related technologies, rain and snow sensors, weather forecasts and window control systems are used to comprehensively judge the weather in the vehicle's area and realize control of the windows.

[0003] However, when the above method is used to control the windows, the opening and closing of the windows only depends on the weather, which results in the judgment conditions being too simple and the control of the window opening and closing being not intelligent enough, thereby reducing the user's car experience. Summary of the Invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art.

[0005] To this end, an object of the present invention is to propose a vehicle window control method, which adds judgment conditions for opening and closing the windows, making the vehicle window opening and closing more intelligent and improving the user's car experience.

[0006] To this end, a second object of the present invention is to provide a computer-readable storage medium.

[0007] To this end, a third object of the present invention is to provide a computer program product.

[0008] To this end, a fourth object of the present invention is to provide a vehicle.

[0009] In order to achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a vehicle window control method, which includes: determining the visibility of the current environment; if the visibility is greater than a preset visibility threshold, determining the number of people in the vehicle; and controlling the window movement according to the number of people in the vehicle.

[0010] According to an embodiment of the present invention, a vehicle window control method determines the current visibility of the environment. When the current visibility is determined to be greater than a preset visibility threshold, the method determines the number of people in the vehicle and controls the window operation based on the number of people in the vehicle. This addition of conditions for controlling window operation based on both ambient visibility and the number of people in the vehicle makes vehicle window opening and closing more intelligent and enhances the user experience.

[0011] In some embodiments, the window movement is controlled according to the number of people in the vehicle, including: when the number of people in the vehicle is greater than or equal to a preset threshold and the vehicle's air conditioning circulation system is turned on, the window is controlled to open and then close.

[0012] In some embodiments, controlling the vehicle window to close after opening includes: controlling the vehicle window to be lowered to a first preset opening for a first preset time, then closing the vehicle window to a second preset opening for a second preset time, and the second preset time is greater than the first preset time.

[0013] In some embodiments, controlling the movement of the vehicle window according to the number of people in the vehicle includes: when the number of people in the vehicle is less than the preset number threshold, controlling the vehicle window to maintain the current movement.

[0014] In some embodiments, controlling the movement of the vehicle windows according to the number of people in the vehicle includes: when the number of people in the vehicle is greater than or equal to a preset threshold but the vehicle's air conditioning circulation system is not turned on, controlling the vehicle windows to maintain the current movement.

[0015] In some embodiments, after determining the visibility of the current environment, it also includes: if the visibility is less than or equal to a preset visibility threshold and the vehicle window is not completely closed, controlling the vehicle window to close to a second preset opening, the second preset opening being smaller than the first preset opening.

[0016] In some embodiments, determining the number of people in the vehicle includes: obtaining a sensor pressure value; and determining the number of people in the vehicle based on the sensor pressure value.

[0017] In some embodiments, determining the visibility of the current environment includes: acquiring image acquisition data; and determining the visibility of the current environment based on the image acquisition data and a preset neural network model.

[0018] In order to achieve the above-mentioned purpose, an embodiment of the second aspect of the present invention proposes a computer-readable storage medium, on which a vehicle window control program is stored. When the vehicle window control program is executed by a processor, a device installed with the vehicle window control program implements the vehicle window control method as described in the above-mentioned embodiment.

[0019] In order to achieve the above-mentioned object, an embodiment of the third aspect of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the vehicle window control method as described in the above-mentioned embodiment.

[0020] According to the computer program product of an embodiment of the present invention, by determining the current visibility of the environment and determining that the current visibility is greater than a preset visibility threshold, the number of people in the vehicle is determined and the window operation is controlled based on the number of people in the vehicle. The addition of conditions for controlling window operation based on both environmental visibility and the number of people in the vehicle makes vehicle window opening and closing more intelligent and enhances the user experience.

[0021] In order to achieve the above-mentioned object, an embodiment of a fourth aspect of the present invention provides a vehicle and a window control method for the vehicle as described in the above-mentioned embodiment.

[0022] According to an embodiment of the present invention, a vehicle determines the current visibility of the environment. When the visibility is determined to be greater than a preset visibility threshold, the number of people in the vehicle is determined and the window operation is controlled accordingly. The addition of conditions for controlling window operation based on both ambient visibility and the number of people in the vehicle makes the vehicle's window opening and closing more intelligent and enhances the user experience.

[0023] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments with reference to the accompanying drawings, in which: Figure 1 is a flow chart of a vehicle window control method according to an embodiment of the present invention; Figure 2 is a schematic diagram of an intelligent automatic window opening and closing control system according to one embodiment of the present invention; Figure 3 is a neural network classification model diagram according to one embodiment of the present invention; Figure 4 is a flowchart of a neural network classification model calculation according to one embodiment of the present invention; Figure 5 is a flow chart of a vehicle window control method according to another embodiment of the present invention.

[0025] Reference numerals: Camera 49; Real-time image acquisition 50; neural network model 51; left body controller 52; four-door lifting motor 53; pressure sensor 54; Image deep feature extraction 69; Training set 70; convolution layer 71; activation function 72; pooling layer 73; connection layer 74; regularization 75; probability layer 76; image classification 77; high visibility 78; low visibility 79; Initialization parameters 60; test set data input 61; neural network model 62; actual visibility 63; calculation accuracy 64; calculation loss function 65. DETAILED DESCRIPTION

[0026] The embodiments of the present invention will be described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. The embodiments of the present invention will be described in detail below.

[0027] With the development of the automotive market, people's demands for vehicle performance and intelligence are becoming increasingly demanding. In daily vehicle use, it's common for drivers to forget to close the windows and sunroof before locking the car and leaving. If rain enters the vehicle after the driver leaves, the interior can get soaked and electrical appliances can malfunction. Dust or haze can also reduce the air quality inside the vehicle, compromising the user experience. When the vehicle is crowded, even with the air conditioning on, it can still feel stuffy, necessitating regular window openings for ventilation.

[0028] In related technologies, for example, based on the vehicle controller, vehicle image acquisition device, rain and snow sensor, user-side application and windows and cloud server, real-time weather image information and weather condition data of the area where the vehicle is located are obtained, and then combined with the weather forecast information of the area where the vehicle is located for a period of time in the future to make a fusion judgment to control the opening and closing of the windows. However, when using the above technology to open and close the car windows, the opening and closing of the windows depends solely on the weather, resulting in overly simple judgment conditions and insufficient intelligence in the control of the window opening and closing, which reduces the user's car experience.

[0029] Thus, the vehicle window control method according to the embodiments of the present invention determines the current visibility. When the current visibility is determined to be greater than a preset visibility threshold, the number of people in the vehicle is determined, and the window operation is controlled based on the number of people in the vehicle. This addition of the conditions for controlling window operation based on both ambient visibility and the number of people in the vehicle makes vehicle window opening and closing more intelligent, enhancing the user experience.

[0030] The following combination Figure 1-Figure 5 A vehicle window control method according to an embodiment of the present invention is described.

[0031] like Figure 1 As shown, the vehicle window control method according to the embodiment of the present invention at least includes steps S1 to S3.

[0032] Step S1, determining the visibility of the current environment.

[0033] In an embodiment, the visibility of the current environment is determined to serve as a basis for controlling the movement of the vehicle windows. For example, images are collected in real time by a camera, and image collection data is obtained. The visibility of the current weather is judged in combination with a trained neural network classification model. The data set of the neural network is a three-channel image of high visibility and an image of low visibility. The images of low visibility include rainy days, fog and haze, and dust. The ratio of the training set 70 to the test set is 8:2. First, a series of initialization parameters are set, such as learning rate, attenuation coefficient, initial weight, etc., and then the training set images are input into the neural network model to extract deep features of the image. After multiple layers of feature extraction, the image classification function is realized. Then the test set is input into the training set for a round of training. After the neural network weights are adjusted, the predicted value of the test set is obtained, and then the prediction accuracy is calculated; the neural network model uses the cross entropy loss function to calculate the loss, and finally the gradient descent method is used to make the accuracy approach 100%, and the loss function approaches 1. After updating the parameters, the next round of training is carried out until the model training results approach the actual visibility and fit the actual situation. It can accurately predict the actual working conditions and determine the visibility of the current environment. Since the weather, dust and haze conditions are taken into account in the image acquisition data and model training, the visibility is determined more accurately, more in line with the user's actual car use environment, and improves the user's car use experience.

[0034] Step S2: If the visibility is greater than the preset visibility threshold, determine the number of people in the vehicle.

[0035] In an embodiment, visibility refers to the maximum horizontal distance at which a person with normal vision can identify an object from the background under the prevailing weather conditions. A preset visibility threshold is a critical value at which the window opening needs to be adjusted. For example, when visibility is less than or equal to the preset visibility threshold, visibility is considered low and the air quality of the vehicle's environment is poor, including foggy or dusty conditions. In this case, the window opening needs to be controlled to reduce the impact on the air environment inside the vehicle. When visibility is greater than the preset visibility threshold, visibility is considered high and the air quality of the vehicle's environment is good. The air quality outside the vehicle will not reduce the air quality inside the vehicle, but the number of people in the vehicle may affect the air environment inside the vehicle. For example, when there are a large number of people in the vehicle, if it is determined that the window opening can be adjusted to improve the air environment inside the vehicle, the window control action can be set to adjust the window opening to avoid causing stuffiness and reducing the user's driving experience. By determining whether the visibility is greater than the preset visibility threshold, the number of people in the vehicle is determined, which serves as a basis for determining the window control action.

[0036] Step S3, controlling the movement of the windows according to the number of people in the car.

[0037] Window movement is controlled based on the number of people in the vehicle. For example, if the number of people in the vehicle is greater than or equal to the threshold for opening windows for ventilation with the air conditioning on, the system determines that the number of people in the vehicle may affect the air quality inside the vehicle, and further determination is made to determine whether the air conditioning system is on. If the system is on, the system determines that there are many people inside the vehicle, and even if the air conditioning is on, it will cause a feeling of stuffiness, requiring ventilation to maintain a good air quality inside the vehicle. Therefore, the window movement is controlled to open and close the windows. After the windows are opened and closed, the system is re-determined to be on for the next window opening and closing cycle. If the number of people in the vehicle is less than the threshold for opening windows for ventilation with the air conditioning on, the system determines that there are few people in the vehicle, and ventilation does not need to be controlled by opening and closing the windows to maintain a good air quality inside the vehicle. Therefore, the window movement is controlled to maintain the current position. Controlling window movement based on the number of people in the vehicle maximizes the ventilation needs and the overall user experience.

[0038] According to an embodiment of the present invention, a vehicle window control method determines the current visibility of the environment. When the current visibility is determined to be greater than a preset visibility threshold, the method determines the number of people in the vehicle and controls the window operation based on the number of people in the vehicle. This addition of conditions for controlling window operation based on both ambient visibility and the number of people in the vehicle makes vehicle window opening and closing more intelligent and enhances the user experience.

[0039] In some embodiments, the window movement is controlled according to the number of people in the vehicle, including: when the number of people in the vehicle is greater than or equal to a preset threshold and the vehicle's air conditioning circulation system is turned on, the window is controlled to open and then close.

[0040] In an embodiment, Figure 2 The figure shows a schematic diagram of an intelligent automatic window opening and closing control system according to an embodiment of the present invention. The preset occupancy threshold determines when the number of people in the vehicle reaches a critical value requiring window opening for ventilation when the vehicle's air conditioning is already running. When controlling window operation based on the number of people in the vehicle, when the number of people in the vehicle is greater than or equal to the preset occupancy threshold, the left body controller 52 further determines whether the vehicle's air conditioning system is on. If the air conditioning system is already on, it is assumed that there are many people inside the vehicle, and even if the air conditioning is on, it will cause a feeling of stuffiness, requiring ventilation to maintain a good air environment inside the vehicle. Therefore, the windows are controlled to open and then close. By combining the number of people in the vehicle with the vehicle's air conditioning system to control the opening or closing of the windows, the situation in which users in the vehicle feel stuffy even when the air conditioning system is on after reaching the preset occupancy threshold is avoided, thereby improving the user's in-vehicle air environment experience.

[0041] In some embodiments, controlling the vehicle window to close after opening includes: controlling the vehicle window to be lowered to a first preset opening for a first preset time, then closing the vehicle window to a second preset opening for a second preset time, and the second preset time is greater than the first preset time.

[0042] In an embodiment, the first preset opening is the critical opening for maximally improving the air environment in the user's car. This opening is determined based on the user's comprehensive experience in the car. For example, it is determined in combination with weather, wind speed, temperature, and user physical sensation. When the weather is good and the wind speed is relatively mild, the window can be controlled to open more; when the wind speed is high, the window can be controlled to open less, so as to bring a better car experience to the user; wherein the lowered opening is less than or equal to the maximum opening of the window; the first preset time is the time for controlling the window to remain at the first opening, which is the critical time for maximally improving the air environment in the user's car. This time is determined based on the user's comprehensive experience in the car and the specific needs of ventilation; the second preset opening is to control the window opening Adjustment can cooperate with the first opening to maximize the critical opening of the user's car air environment. This opening is determined based on the user's comprehensive experience in the car. For example, when the window is maintained at the first opening for the first preset time, the ventilation needs in the car and the user's comprehensive experience have been met, and the second preset opening can be set to 0, that is, the window is closed; the second preset time is the time for controlling the window to be maintained at the second opening, which is the critical time for maximizing the user's car air environment. This time is determined based on the user's comprehensive experience in the car and the specific needs of ventilation. After the window is maintained at the second preset opening at the second opening, it is necessary to re-judge whether the vehicle's air-conditioning circulation system is turned on, and to perform the next cycle of controlling the window to be opened and closed.

[0043] For example, if Figure 2 As shown, the first preset opening is set to slightly lower the window by 5 cm; the first preset time is set to 10 minutes; the second preset opening is set to 0, that is, closing the window; the second preset time is set to 45 minutes; it can be considered that when the window is slightly lowered for 10 minutes and then closed for 45 minutes, it can meet the ventilation needs of the car and the user's comprehensive experience to the greatest extent; when the window is controlled to be opened and closed, the driving motor, such as the four-door lifting motor 53, controls the window to perform a window slight lowering and closing cycle at a timed interval. Specifically, the four-door lifting motor 53 controls the window to slightly lower 5 cm and keep it for 10 minutes. After reaching 10 minutes, the window is closed and kept for 45 minutes. After keeping it for 45 minutes, it is re-determined whether the vehicle's air-conditioning circulation system is turned on, and the next cycle of controlling the window to be closed after opening is carried out, so as to achieve the maximum and intelligent satisfaction of the ventilation needs of the car and the user's comprehensive car experience.

[0044] In some embodiments, the movement of the windows is controlled according to the number of people in the vehicle, including: when the number of people in the vehicle is less than a preset threshold, the windows are controlled to maintain the current movement.

[0045] In implementation, Figure 2 As shown, the window actions include controlling the windows to close after opening and controlling the windows to maintain the current action; the pressure sensor 54 on the seat is used to determine the number of people inside the vehicle. When the window actions are controlled according to the number of people inside the vehicle, if the number of people inside the vehicle is less than the preset threshold, it is considered that there are fewer people inside the vehicle, and there is no need to control the windows to open and then close for ventilation, and a good air environment can be maintained in the vehicle. Therefore, the windows are controlled to maintain the current action, so as to realize intelligent control of the windows to maintain the current action according to the number of people in the vehicle.

[0046] In some embodiments, the window movement is controlled according to the number of people in the vehicle, including: when the number of people in the vehicle is greater than or equal to a preset threshold but the vehicle's air conditioning circulation system is not turned on, controlling the window to maintain the current movement.

[0047] In an embodiment, Figure 2 As shown, when the window movement is controlled according to the number of people in the car, when the number of people in the car is greater than or equal to the preset number threshold, the left body controller 52 further determines whether the vehicle's air-conditioning circulation system is turned on. If the air-conditioning circulation system is not turned on, the air-conditioning circulation system can be turned on first to improve the air environment in the car, so no action is performed, so as to achieve intelligent control of the window to maintain the current movement according to the number of people in the car and the opening status of the air-conditioning circulation system.

[0048] In some embodiments, after determining the visibility of the current environment, it also includes: if the visibility is less than or equal to a preset visibility threshold and the vehicle window is not completely closed, controlling the vehicle window to close to a second preset opening, the second preset opening being smaller than the first preset opening.

[0049] In an embodiment, if Figure 2As shown, visibility refers to the maximum horizontal distance at which a person with normal vision can identify a target object from the background under the current weather conditions; the preset visibility threshold is a critical value for adjusting the opening of the windows. For example, when the visibility is less than or equal to the preset visibility threshold, it is considered that the visibility is low and the air quality of the vehicle's environment is poor, including foggy weather or dusty conditions. At this time, it is necessary to control the opening of the windows to reduce the impact on the air environment inside the vehicle; after determining the visibility of the current environment, if the visibility is less than or equal to the preset visibility threshold, it is considered that the external air quality at this time will reduce the air quality inside the vehicle after entering the vehicle, thereby reducing the user's driving experience, and it is necessary to fully open and close the windows. The second preset opening is set to 0, that is, the windows are completely closed. It is further determined whether the windows are completely closed. If not, the four-door lifting motor 53 controls the windows to be completely closed to maintain the air environment inside the vehicle when the external air quality is poor.

[0050] For example, assuming that the preset visibility thresholds are divided into high and low; the first preset opening is a slight decrease; the first preset time is 10 minutes; the second preset opening is completely closed; the second preset time is 45 minutes; the air conditioning internal circulation state is on or off; and the preset number of people threshold is 3; the relationship between visibility, preset opening, preset time, air conditioning internal circulation state and preset number of people threshold can be obtained. The window action shown in Table 1 can be obtained.

[0051] Table 1 Window actions

[0052] In some embodiments, determining the number of people in the vehicle includes: obtaining a sensor pressure value; and determining the number of people in the vehicle based on the sensor pressure value.

[0053] In an embodiment, Figure 2 As shown, when determining the number of people in the vehicle, the pressure sensor 54 on the vehicle seat is used to determine the number of people in the vehicle, which serves as a data basis for determining whether it is necessary to further determine the opening state of the vehicle's air conditioning circulation system.

[0054] In some embodiments, determining the visibility of the current environment includes: acquiring image acquisition data; and determining the visibility of the current environment based on the image acquisition data and a preset neural network model.

[0055] In an embodiment, Figure 3 As shown in FIG, it is a neural network classification model diagram of an embodiment of the present invention. Figure 4 The figure shows a flow chart of the calculation of the neural network classification model according to an embodiment of the present invention. Figure 2 、 Figure 3 and Figure 4As shown, the preset neural network model is a trained neural network model, for example, a neural network classification model; when determining the visibility of the current environment, high-definition cameras are used to capture images in real time to obtain image capture data, which serves as a data basis for determining visibility; the visibility of the current environment is determined based on the image capture data and the preset neural network model, for example, the data set of the neural network is a three-channel image with high visibility and an image with low visibility, and the image with low visibility includes rainy days, foggy haze, and dusty days; the labels corresponding to the image with high visibility and the image with low visibility are divided into 0 and 1, and the ratio of the training set 70 to the test set is 8:2. First, set a A series of initialization parameters 60, such as learning rate, decay coefficient, initial weight, etc., are then input into the neural network model 62 for deep image feature extraction 69; the neural network model consists of a convolutional layer 71, a pooling layer 73, a connection layer 74, a regularization layer 75, an activation function 72, and a probability layer 76. After multiple layers of feature extraction, the image classification function is realized; after the test set is input into the neural network weights after one round of training, the predicted value of the test set is obtained, and then the prediction accuracy is calculated 64. The accuracy calculation formula is (TP+TN) / (TP+FP+TN+FN). The accuracy confusion matrix is shown in Table 2. Among them, TP (True Positive) ‌: True positive example, indicating that the sample is positive and the prediction result is also positive; FP (False Positive) ‌: False positive example, indicating that the sample is negative but the prediction result is positive; TN (True Negative) ‌: True negative example, indicating that the sample is negative and the prediction result is also negative; FN (False Negative) ‌: False negative example, indicating that the sample is positive but the prediction result is negative.

[0056] Table 2 Accuracy confusion matrix

[0057] The neural network model uses the cross entropy loss function for loss calculation, the formula is , where the loss function is L, n is the data size during neural network model training, C is the number of classifications, is the actual value of the i-th sample in the j-th category, is the probability that the i-th sample is predicted to be of the j-th category; finally, the gradient descent method is used to make the accuracy approach 100%, and the loss function approaches 1. After updating the parameters, the next round of training is carried out until the model training result approaches the actual visibility of 63, which fits the actual situation and can accurately predict the actual working conditions; the visibility of the current environment is determined by image acquisition data and the preset neural network model. Since weather, dust and haze conditions are taken into account in image acquisition and model training, the visibility is determined more accurately, which is more in line with the user's actual car use environment and improves the user's car use experience.

[0058] Reference below Figure 5 The vehicle window control method flow according to the embodiment of the present invention is described in detail.

[0059] like Figure 5 , which is a flow chart of a vehicle window control method according to another embodiment of the present invention. The vehicle window control method according to the embodiment of the present invention at least includes steps S10 - S22 .

[0060] Step S10, start.

[0061] Step S11: acquiring image acquisition data.

[0062] Step S12: determining the visibility of the current environment based on the image acquisition data and a preset neural network model.

[0063] Step S13: Determine whether the visibility is greater than a preset visibility threshold. If so, proceed to step S16; otherwise, proceed to step S14.

[0064] Step S14: Determine whether the window is completely closed. If so, proceed to step S20; otherwise, proceed to step S15.

[0065] Step S15: Control the vehicle window to close to a second preset opening.

[0066] Step S16: Obtain the sensor pressure value.

[0067] Step S17: determining the number of people in the vehicle according to the sensor pressure value.

[0068] Step S18: Determine whether the number of people in the vehicle is greater than or equal to a preset number threshold. If so, proceed to step S19; otherwise, proceed to step S20.

[0069] Step S19: Determine whether the vehicle's air conditioning circulation system is on. If so, proceed to step S21; otherwise, proceed to step S20.

[0070] Step S20: Control the vehicle window to maintain the current action.

[0071] Step S21 , controlling the vehicle window to be lowered to a first preset opening until the time reaches a first preset time.

[0072] Step S22: closing the vehicle window to a second preset opening and for a second preset time.

[0073] According to an embodiment of the present invention, a vehicle window control method determines the current visibility of the environment. When the current visibility is determined to be greater than a preset visibility threshold, the method determines the number of people in the vehicle and controls the window operation based on the number of people in the vehicle. This addition of conditions for controlling window operation based on both ambient visibility and the number of people in the vehicle makes vehicle window opening and closing more intelligent and enhances the user experience.

[0074] The following describes a computer-readable storage medium according to an embodiment of the present invention.

[0075] The computer-readable storage medium of the embodiment of the present invention stores a vehicle window control program. When the vehicle window control program is executed by the processor, the device installed with the vehicle window control program implements the vehicle window control method as described in the above embodiment.

[0076] The following describes a computer program product according to an embodiment of the present invention.

[0077] The computer program product of the embodiment of the present invention includes a computer program, and when the computer program is executed by a processor, the vehicle window control method as described in the above embodiment is implemented.

[0078] According to the computer program product of an embodiment of the present invention, by determining the current visibility of the environment and determining that the current visibility is greater than a preset visibility threshold, the number of people in the vehicle is determined and the window operation is controlled based on the number of people in the vehicle. The addition of conditions for controlling window operation based on both environmental visibility and the number of people in the vehicle makes vehicle window opening and closing more intelligent and enhances the user experience.

[0079] Next, a vehicle according to an embodiment of the present invention will be described.

[0080] The vehicle according to the embodiment of the present invention is used in the vehicle window control method according to the above embodiment.

[0081] According to an embodiment of the present invention, a vehicle determines the current visibility of the environment. When the visibility is determined to be greater than a preset visibility threshold, the number of people in the vehicle is determined and the window operation is controlled accordingly. The addition of conditions for controlling window operation based on both ambient visibility and the number of people in the vehicle makes the vehicle's window opening and closing more intelligent and enhances the user experience.

[0082] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "example," "specific example," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example.

[0083] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the claims and their equivalents.

Claims

1. A vehicle window control method, characterized in that: include: Determine the visibility of the current environment; If the visibility is greater than a preset visibility threshold, determining the number of people in the vehicle; The window movement is controlled according to the number of people in the vehicle.

2. The vehicle window control method according to claim 1, characterized in that: Controlling the window movement according to the number of people in the vehicle includes: When the number of people in the vehicle is greater than or equal to a preset threshold and the vehicle's air conditioning circulation system is turned on, the windows are controlled to open and then close.

3. The vehicle window control method according to claim 2, characterized in that: Control the closing of windows after opening, including: After the window is controlled to be lowered to the first preset opening for a first preset time, the window is closed to the second preset opening for a second preset time, and the second preset time is greater than the first preset time.

4. The vehicle window control method according to claim 1, characterized in that: Controlling the window movement according to the number of people in the vehicle includes: If the number of people in the vehicle is less than the preset number threshold, the vehicle window is controlled to maintain the current action.

5. The vehicle window control method according to claim 1, characterized in that: Controlling the window movement according to the number of people in the vehicle includes: If the number of people in the vehicle is greater than or equal to a preset threshold number of people but the air conditioning circulation system of the vehicle is not turned on, the window is controlled to maintain the current action.

6. The vehicle window control method according to claim 1, characterized in that: After determining the visibility of the current environment, it also includes: If the visibility is less than or equal to a preset visibility threshold and the vehicle window is not completely closed, the vehicle window is controlled to close to a second preset opening, where the second preset opening is smaller than the first preset opening.

7. The vehicle window control method according to claim 1, characterized in that: Determine the number of people in the vehicle, including: Get the sensor pressure value; The number of people in the vehicle is determined according to the sensor pressure value.

8. The vehicle window control method according to claim 1, characterized in that: Determine the visibility of the current environment, including: Obtaining image acquisition data; The visibility of the current environment is determined based on the image acquisition data and a preset neural network model.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a vehicle window control program. When the vehicle window control program is executed by the processor, the device installed with the vehicle window control program implements the vehicle window control method according to any one of claims 1 to 8.

10. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the vehicle window control method according to any one of claims 1 to 8 is implemented.

11. A vehicle, characterized in that: include: A vehicle window control method for a vehicle as claimed in any one of claims 1 to 8.