Vehicle window control method and device, storage medium and vehicle

By acquiring and calculating window control parameters in real time, automatic control of windows can be achieved, solving the problem of harmful gas accumulation in cars in summer and improving user experience and safety.

CN120626016APending Publication Date: 2025-09-12CHINA FAW CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510684451.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

When driving in the summer, drivers often neglect to open windows for ventilation, which causes harmful gases to accumulate in the car, affecting the health of passengers and providing a poor user experience due to a lack of intelligent control.

Method used

By obtaining the window opening and closing degree, air conditioning switch, vehicle speed, temperature difference between inside and outside the vehicle, air quality difference and weather parameters in real time, the window score is calculated, and the window control action is executed according to the score threshold to achieve automatic control.

Benefits of technology

Without increasing the cost of vehicle hardware, it protects passenger health, simplifies operations, improves user experience, and realizes automatic control of windows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120626016A_ABST
    Figure CN120626016A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle window control method and device, a storage medium and a vehicle, and belongs to the technical field of vehicle control. The method comprises the steps of at least obtaining a vehicle window opening and closing degree parameter, an air conditioner switching parameter, a vehicle speed parameter, a vehicle inside and outside temperature difference parameter, a vehicle inside and outside air quality difference parameter and a current weather parameter in real time; calculating a car window score according to each parameter and the weight corresponding to each parameter; and executing a car window control action according to a comparison result of the car window score and a set score threshold value. The problems that in the prior art, in the daily car using process of people, especially in summer, a driver neglects the importance of window opening ventilation to achieve the purpose of rapidly relieving summer heat, and then health risks are caused, and experience is poor can be at least solved; on the basis that the hardware cost of the vehicle is not increased, on one hand, the safety of the user and the health of passengers in the daily vehicle using process can be guaranteed, on the other hand, automatic control over the vehicle window can be achieved, user operation is simplified, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of vehicle control technology, and more particularly, to a vehicle window control method, device, storage medium, and vehicle. Background Art

[0002] In people's daily car use, especially in summer, in order to quickly cool down, drivers often ignore the importance of opening windows for ventilation (whether to open windows or not depends entirely on the driver or passengers). However, the summer sun is strong, and after long-term exposure, a large amount of harmful gases will accumulate in the car space, which can easily threaten the health of passengers and result in a poor user experience. Summary of the Invention

[0003] The embodiments of the present invention provide a vehicle window control method, device, storage medium and vehicle to at least solve the problems of the prior art in which drivers ignore the importance of opening windows for ventilation in order to quickly cool down during daily vehicle use, especially in summer, thereby causing health risks, poor user experience, operational dependence, lack of intelligence and other problems. On the one hand, it can ensure the safety of users and the health of passengers during daily vehicle use. On the other hand, it can also realize automatic control of vehicle windows, simplify user operations, and help improve user experience.

[0004] In a first aspect, an embodiment of the present invention provides a vehicle window control method, comprising at least the following steps:

[0005] At least real-time acquisition of window opening / closing degree parameters, air conditioning switch parameters, vehicle speed parameters, vehicle inside / outside temperature difference parameters, vehicle inside / outside air quality difference parameters, and current weather parameters;

[0006] Calculating a vehicle window score according to each of the parameters and the weight corresponding to each of the parameters;

[0007] Execute a window control action based on a comparison result between the window score and a set score threshold.

[0008] Optionally, calculating the window score according to each parameter and the weight corresponding to each parameter at least includes:

[0009] Calculating a first window sub-score according to the window opening / closing degree parameter and the window opening / closing degree weight;

[0010] Calculating a second vehicle window score according to the air conditioning switch parameter and the air conditioning switch weight;

[0011] Calculating a third vehicle window score according to the vehicle speed parameter and the vehicle speed weight;

[0012] Calculating a fourth vehicle window score according to the vehicle interior and exterior temperature difference parameter and the vehicle interior and exterior temperature difference weight;

[0013] Calculating a fifth window score according to the indoor and outdoor air quality difference parameter and the indoor and outdoor air quality difference weight;

[0014] Calculating a sixth vehicle window score according to the current weather parameter and the current weather weight;

[0015] The vehicle window score is calculated according to the first vehicle window score, the second vehicle window score, the third vehicle window score, the fourth vehicle window score, the fifth vehicle window score and the sixth vehicle window score.

[0016] Optionally, the vehicle window score is calculated at least in the following manner:

[0017] ;

[0018] In the formula, S represents the vehicle window score, S1 represents the first vehicle window sub-score, S2 represents the second vehicle window sub-score, S3 represents the third vehicle window sub-score, S4 represents the fourth vehicle window sub-score, S5 represents the fifth vehicle window sub-score, and S6 represents the sixth vehicle window sub-score.

[0019] Optionally, the first vehicle window score is calculated at least in the following manner:

[0020] ;

[0021] Wherein, W1 represents the window opening and closing degree weight, and C represents the window opening and closing degree parameter.

[0022] Optionally, the second vehicle window score is calculated at least in the following manner:

[0023] ;

[0024] Wherein, W2 represents the air conditioner switch weight, and B represents the air conditioner switch parameter.

[0025] Optionally, the third vehicle window score is calculated at least in the following manner:

[0026] ;

[0027] Wherein, W3 represents the vehicle speed weight, and D represents the vehicle speed parameter.

[0028] Optionally, the fourth vehicle window score is calculated at least in the following manner:

[0029] ;

[0030] Wherein, W4 represents the weight of the temperature difference between the inside and outside of the vehicle, and T represents the temperature difference parameter between the inside and outside of the vehicle;

[0031] The fifth vehicle window score is calculated at least in the following manner:

[0032] ;

[0033] Wherein, W5 represents the weight of the difference between the air quality inside and outside the vehicle, and A represents the parameter of the difference between the air quality inside and outside the vehicle;

[0034] The sixth vehicle window score is calculated at least in the following manner:

[0035] ;

[0036] Wherein, W6 represents the current weather weight, and P represents the current weather parameter.

[0037] In a second aspect, an embodiment of the present invention further provides a vehicle window control device, comprising at least:

[0038] A parameter acquisition module is used to obtain at least in real time parameters of window opening and closing degree, air conditioning switch parameters, vehicle speed parameters, temperature difference parameters inside and outside the vehicle, air quality difference parameters inside and outside the vehicle, and current weather parameters;

[0039] A score calculation module, configured to calculate a vehicle window score based on each of the parameters and the weight corresponding to each of the parameters;

[0040] The vehicle window control module is used to perform a vehicle window control action according to a comparison result between the vehicle window score and a set score threshold.

[0041] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle window control method described in any one of the first aspects.

[0042] In a fourth aspect, an embodiment of the present invention further provides a vehicle, comprising:

[0043] An electronic device, configured to implement the steps of any one of the vehicle window control methods described in the first aspect;

[0044] a processor, wherein the processor runs a program, and when the program runs, the steps of the vehicle window control method according to any one of the first aspects are executed based on data output by the electronic device;

[0045] The storage medium is used to store a program, and when the program is running, it executes the steps of the vehicle window control method described in any one of the first aspects for data output from the electronic device.

[0046] Embodiments of the present invention provide a vehicle window control method, device, storage medium, and vehicle. First, at least a vehicle window opening / closing parameter, an air conditioning on / off parameter, a vehicle speed parameter, a vehicle interior / exterior temperature difference parameter, a vehicle interior / exterior air quality difference parameter, and current weather parameters are acquired in real time. A vehicle window score is then calculated based on each parameter and its corresponding weight. Finally, a vehicle window control action is executed based on a comparison between the window score and a set score threshold.

[0047] For example, embodiments of the present invention can first collect window opening / closing parameters, air conditioning on / off parameters, vehicle speed parameters, indoor / outdoor temperature difference parameters, indoor / outdoor air quality difference parameters, and current weather parameters using existing sensors already integrated into the vehicle (other modules or systems are also possible). This allows for the collection of these parameters without increasing the overall vehicle hardware cost. Furthermore, a window score is calculated based on each parameter and its corresponding weight. A higher window score indicates a more comfortable interior environment and a better user experience. Finally, window control actions are executed based on a comparison between the window score and a set score threshold. For example, if the window score is greater than or equal to the set score threshold, the interior environment is suitable for the user and the window should be closed. If the window score is less than the set score threshold, the interior environment does not meet the user's needs and the window can be kept open.

[0048] In view of this, the embodiments of the present invention can at least solve the problems of the prior art in which drivers ignore the importance of opening windows for ventilation in order to quickly cool down during daily car use, especially in summer, thus causing health risks, poor experience, operation dependence, lack of intelligence, etc.; on the basis of not increasing the hardware cost of the vehicle, on the one hand, it can ensure the safety of users and the health of passengers during daily car use, and on the other hand, it can also realize automatic control of windows, simplify user operations, and help improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0050] Figure 1 is a flow chart of a vehicle window control method provided by an embodiment of the present invention;

[0051] Figure 2 is a flow chart of another vehicle window control method provided by an embodiment of the present invention;

[0052] Figure 3 1 is a schematic structural diagram of a vehicle window control device provided by an embodiment of the present invention;

[0053] Figure 4 It is a structural diagram of a vehicle system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] To make the objectives, technical solutions, and advantages of this application more clear, this application will be further described in detail below with reference to the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0055] The terms used in the examples of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a," "the," and "the" used in the examples of this application and the appended claims are also intended to include plural forms, and unless the context clearly indicates otherwise, "a plurality" generally includes at least two.

[0056] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0057] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.

[0058] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.

[0059] It should also be noted that the terms "include," "comprises," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a product or device comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such product or device. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the product or device comprising the element.

[0060] It should be noted in particular that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.

[0061] The embodiment of the present invention provides a vehicle window control method. Figure 1 This is a flow chart of a window control method provided by an embodiment of the present invention. This embodiment is at least applicable to window control scenarios in summer when users are driving various types of vehicles, such as fuel vehicles, hybrid vehicles, and pure electric vehicles. The window control method can be, but is not limited to, executed by the window control device in the embodiment of the present invention as the execution subject, and the execution subject can be implemented in software and / or hardware. Figure 1 As shown, the vehicle window control method includes at least the following steps:

[0062] S1. Acquire at least in real time a vehicle window opening / closing degree parameter, an air conditioning switch parameter, a vehicle speed parameter, a vehicle inside / outside temperature difference parameter, a vehicle inside / outside air quality difference parameter, and a current weather parameter.

[0063] The window opening / closing degree parameter can be used to characterize the open or closed state of a window. This parameter can be obtained using a Hall effect sensor independently installed on each vehicle window. The Hall effect sensor can be specifically integrated into the window's drive motor to provide real-time feedback on the window's current position and open / closed state based on the drive motor's rotational travel. In a specific embodiment, for a particular window, the window opening / closing degree parameter can be represented by "0," "1," "2," "3," or "4," where "0" indicates the window is fully open, "1" indicates the window is closed between 0% and 25% (excluding 0%, i.e., fully open), "2" indicates the window is closed between 25% and 50%, "3" indicates the window is closed between 50% and 75%, and "4" indicates the window is closed between 75% and 100% (100% indicates the window is fully closed).

[0064] The air conditioning switch parameter can be used to indicate whether the vehicle's air conditioning function is on or off, and can be determined by using an air conditioning knob or button. In another specific embodiment, the air conditioning switch parameter can be represented by "0" or "1", where "0" indicates that the vehicle's air conditioning function is off and "1" indicates that the vehicle's air conditioning function is on.

[0065] The vehicle speed parameter can be obtained through the vehicle's own integrated speed sensor or wheel speed sensor. Accordingly, the vehicle speed parameter may refer to the vehicle speed calculated based on the transmission output shaft speed, rear axle speed ratio, and tire radius, or it may refer to the vehicle speed calculated based on the wheel speed and tire radius. In another specific embodiment, the vehicle speed parameter can be represented by "0", "1", "2", "3", and "4", where "0" indicates that the vehicle is stopped and the speed is zero, "1" indicates that the vehicle is moving but the speed is not higher than 30km / h, "2" indicates that the vehicle is moving and the speed is within the range of 30km / h to 60km / h, "3" indicates that the vehicle is moving and the speed is within the range of 60km / h to 90km / h, and "4" indicates that the vehicle is moving and the speed is within the range of 90km / h to 120km / h.

[0066] The temperature difference parameter between the inside and outside of the vehicle can be used to characterize the difference between the vehicle cabin temperature and the vehicle's external ambient temperature. The vehicle cabin temperature can be measured by the air-conditioning indoor temperature sensor installed in the air-conditioning duct, and the vehicle's external ambient temperature can be measured by the ambient temperature sensor installed in the vehicle's front bumper. In another specific embodiment, the vehicle interior and exterior temperature difference parameter can be represented by "0", "1", "2", "3", "4", "5", "6", "7", and "8", where "0" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is not higher than 1°C, "1" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 1°C but not higher than 3°C, "2" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 3°C but not higher than 5°C, "3" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 5°C but not higher than 10°C, "4" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 10°C but not higher than 15°C, "5" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 15°C but not higher than 20°C, "6" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 20°C but not higher than 25°C, "7" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 25°C but not higher than 30°C, and "8" indicates that the difference between the vehicle cabin temperature and the vehicle exterior ambient temperature is higher than 30°C.

[0067] The indoor and outdoor air quality difference parameter can be used to characterize the difference between the vehicle cabin air quality and the vehicle external environment air quality. The vehicle cabin air quality can be measured by an air quality sensor installed in the cabin, and the vehicle external environment air quality can be measured by an air quality sensor installed outside the vehicle. In another specific embodiment, the indoor and outdoor air quality difference parameter can be represented by "0", "1", "2", "3", "4", and "5", where "0" indicates that the difference between the quantified value of the vehicle cabin air quality and the quantified value of the vehicle external air quality is no more than 50, "1" indicates that the difference between the quantified value of the vehicle cabin air quality and the quantified value of the vehicle external air quality is higher than 50 but not higher than 100, "2" indicates that the difference between the quantified value of the vehicle cabin air quality and the quantified value of the vehicle external air quality is higher than 100 but not higher than 150, "3" indicates that the difference between the quantified value of the vehicle cabin air quality and the quantified value of the vehicle external air quality is higher than 150 but not higher than 200, "4" indicates that the difference between the quantified value of the vehicle cabin air quality and the quantified value of the vehicle external air quality is higher than 200 but not higher than 250, and "5" indicates that the difference between the quantified value of the vehicle cabin air quality and the quantified value of the vehicle external air quality is higher than 250 but not higher than 300.

[0068] The current weather parameter can be used to characterize the weather conditions in the vehicle's current driving area, and can be queried and obtained based on a "weather" application installed in the smart cockpit. In another specific embodiment, the current weather parameter can be represented by "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", and "10", where "0" indicates that there is no wind / rain / snow in the vehicle's current driving area, "1" indicates that it is drizzling in the vehicle's current driving area, "2" indicates that it is moderately raining in the vehicle's current driving area, "3" indicates that it is raining heavily in the vehicle's current driving area, "4" indicates that it is snowing lightly in the vehicle's current driving area, "5" indicates that it is moderately snowing in the vehicle's current driving area, "6" indicates that it is snowing heavily in the vehicle's current driving area, "7" indicates that the wind speed level in the vehicle's current driving area does not exceed level 2, "8" indicates that the wind speed level in the vehicle's current driving area exceeds level 2 but does not exceed level 3, "9" indicates that the wind speed level in the vehicle's current driving area exceeds level 3 but does not exceed level 5, and "10" indicates that the wind speed level in the vehicle's current driving area exceeds level 6.

[0069] S2. Calculate the window score based on each parameter and the weight corresponding to each parameter.

[0070] The execution entity of step S2 may be, for example, the vehicle's electronic control unit (ECU). It is understood that the various parameters obtained by the aforementioned sensors, modules, or systems integrated into the vehicle can be transmitted to the ECU via an onboard network (e.g., a CAN / LIN / ETH bus), where they are then uniformly calculated, processed, and analyzed by the ECU (for example, the vehicle cabin temperature measured by the air conditioning indoor temperature sensor and the vehicle's external ambient temperature measured by the ambient temperature sensor can both be uploaded to the ECU, which then calculates the difference between the two to obtain the internal and external temperature difference parameter).

[0071] As can be seen, the weight corresponding to each parameter can be used to reflect the degree of influence of the corresponding parameter on the vehicle window score. For example, assuming that a parameter remains unchanged and all other parameters and their weights remain stable, the greater the weight corresponding to that parameter, the higher the vehicle window score. It is understood that the specific configuration of the weights corresponding to each parameter can be adaptively adjusted based on the user's actual vehicle usage, and this invention is not limited to this.

[0072] S3. Execute a window control action according to a comparison result between the window score and a set score threshold.

[0073] Among them, setting a score threshold can at least be used to judge whether the window score meets the conditions for closing the window. The specific numerical setting is related to the calculation method of the window score and the strictness of the window closing decision, and can be configured according to the actual situation of the vehicle; the set score threshold can be 100, for example.

[0074] Additionally, the comparison result between the window score and the set score threshold can be any one of the following: the window score is greater than the set score threshold, the window score is equal to the set score threshold, or the window score is less than the set score threshold. Window control actions, for example, can include a window closing action, a window holding action, and a window opening action.

[0075] In another specific embodiment, when the window score is greater than or equal to the set score threshold, it means that the current environment in the vehicle is suitable for the user to ride in. At this time, the window closing action can be executed; if the window score is less than the set score threshold, it means that the current vehicle environment does not meet the user's needs. At this time, the window can be kept open and the status quo can be maintained unchanged; if the window score is less than the set score threshold and the vehicle cabin air quality is much lower than the vehicle's external environment air quality, it means that the current vehicle environment does not meet the user's needs and the air quality in the car is poor. At this time, the window opening action can be executed to eliminate the turbid air in the car as soon as possible.

[0076] In summary, this embodiment first collects window opening / closing parameters, air conditioning on / off parameters, vehicle speed parameters, indoor / outdoor temperature difference parameters, indoor / outdoor air quality difference parameters, and current weather parameters using existing sensors already integrated into the vehicle (other modules or systems are also possible). This allows for the collection of these parameters without increasing the overall vehicle hardware cost. Furthermore, a window score is calculated based on each parameter and its corresponding weight. A higher window score indicates a more comfortable interior environment and a better user experience. Finally, window control actions are executed based on a comparison of the window score with a set score threshold.

[0077] In view of this, this embodiment can at least solve the problems of the existing technology in which drivers ignore the importance of opening windows for ventilation in order to quickly cool down during daily car use, especially in summer, thus causing health risks, poor experience, operation dependence, lack of intelligence, etc.; on the basis of not increasing the hardware cost of the vehicle, on the one hand, it can ensure the safety of users and the health of passengers in daily car use, and on the other hand, it can also realize automatic control of windows, simplify user operations, and help improve user experience.

[0078] Based on the above embodiments or implementation methods, the above-mentioned vehicle window control method is refined below, and the specific calculation method of the vehicle window score and how the weight affects the level of the vehicle window score are explained, but it does not constitute a limitation to the present invention.

[0079] In a specific implementation, optionally, the window score is calculated based on each parameter and the weight corresponding to each parameter, which at least includes: calculating the first window score based on the window opening and closing degree parameter and the window opening and closing degree weight; calculating the second window score based on the air-conditioning switch parameter and the air-conditioning switch weight; calculating the third window score based on the vehicle speed parameter and the vehicle speed weight; calculating the fourth window score based on the inside-outside temperature difference parameter and the inside-outside temperature difference weight; calculating the fifth window score based on the inside-outside air quality difference parameter and the inside-outside air quality difference weight; calculating the sixth window score based on the current weather parameter and the current weather weight; calculating the window score based on the first window score, the second window score, the third window score, the fourth window score, the fifth window score and the sixth window score.

[0080] Based on the above technical solution, Figure 2 is a flow chart of another vehicle window control method provided by an embodiment of the present invention. Figure 2 As shown, the vehicle window control method specifically includes the following steps:

[0081] S1. Acquire at least in real time a vehicle window opening / closing degree parameter, an air conditioning switch parameter, a vehicle speed parameter, a vehicle inside / outside temperature difference parameter, a vehicle inside / outside air quality difference parameter, and a current weather parameter.

[0082] S21. Calculate a first window sub-score according to the window opening / closing degree parameter and the window opening / closing degree weight.

[0083] Optionally, the first vehicle window score is calculated at least in the following manner:

[0084] ;

[0085] Where W1 represents the window opening and closing degree weight, and C represents the window opening and closing degree parameter.

[0086] S22. Calculate a second window score based on the air conditioning switch parameters and the air conditioning switch weight.

[0087] Optionally, the second vehicle window score is calculated at least in the following manner:

[0088] ;

[0089] Where W2 represents the air conditioner switch weight, and B represents the air conditioner switch parameter.

[0090] S23. Calculate a third vehicle window score according to the vehicle speed parameter and the vehicle speed weight.

[0091] Optionally, the third vehicle window score is calculated at least in the following manner:

[0092] ;

[0093] Where W3 represents the vehicle speed weight, and D represents the vehicle speed parameter.

[0094] S24. Calculate the score of the fourth vehicle window according to the vehicle interior and exterior temperature difference parameter and the vehicle interior and exterior temperature difference weight.

[0095] Optionally, the fourth window score is calculated at least in the following manner:

[0096] ;

[0097] Where W4 represents the weight of the temperature difference between the inside and outside of the vehicle, and T represents the temperature difference parameter between the inside and outside of the vehicle.

[0098] S25. Calculate the score of the fifth vehicle window according to the indoor and outdoor air quality difference parameter and the indoor and outdoor air quality difference weight.

[0099] Optionally, the fifth window score is calculated at least in the following manner:

[0100] ;

[0101] Where W5 represents the weight of the difference between the air quality inside and outside the vehicle, and A represents the parameter of the difference between the air quality inside and outside the vehicle.

[0102] S26. Calculate the score of the sixth vehicle window according to the current weather parameters and the current weather weight.

[0103] Optionally, the sixth window score is calculated at least in the following manner:

[0104] ;

[0105] Where W6 represents the current weather weight, and P represents the current weather parameter.

[0106] S27. Calculate a vehicle window score according to the first vehicle window score, the second vehicle window score, the third vehicle window score, the fourth vehicle window score, the fifth vehicle window score, and the sixth vehicle window score.

[0107] Optionally, the window score is calculated at least in the following manner:

[0108] ;

[0109] Wherein, S represents the window score, S1 represents the score of the first window, S2 represents the score of the second window, S3 represents the score of the third window, S4 represents the score of the fourth window, S5 represents the score of the fifth window, and S6 represents the score of the sixth window.

[0110] S3. Execute a window control action based on a comparison result between the window score and a set score threshold.

[0111] For example, assuming a real-world driving scenario in which the user is in sunny, hot, and windless weather, with the windows half-open for a long time and the vehicle speed maintained at 20 km / h, and the air conditioner is turned on, the data collected by the ECU through multiple on-board sensors is as follows:

[0112] Air conditioning switch parameters: When the air conditioning is on, B is equal to 1;

[0113] Window opening and closing degree parameter: When the window is 50% open, C is equal to 2;

[0114] Vehicle speed parameter: Vehicle speed is 20km / h, at this time, D is 1;

[0115] Temperature difference parameter between inside and outside the vehicle: When the temperature difference between inside and outside the vehicle is less than 1°C, T is set to 0;

[0116] Air quality difference parameter inside and outside the car: When the difference between the air quality inside and outside the car is 30, A is 0;

[0117] Current weather parameters: If there is no wind / rain / snow, P is 0.

[0118] Set the weights as: W1 = 20 points, W2 = 1 point, W3 = 15 points, W4 = 10 points, W5 = 8 points, W6 = 5 points, then the scores of each window are:

[0119] First car window score: ;

[0120] Second car window score: ;

[0121] Third car window score: ;

[0122] Fourth car window score: ;

[0123] Fifth car window score: ;

[0124] Sixth car window score: .

[0125] Therefore, the scores of each window are substituted into the window score calculation formula:

[0126] .

[0127] In this way, when the user sets the score threshold to 100, it is obvious that the current window score is greater than the set score threshold, indicating that the current environment in the car is suitable for the user to ride. At this time, the ECU can generate a window closing command according to the window closing logic, and send the window closing command to the window lift control motor to automatically close the vehicle windows.

[0128] It can be seen that this embodiment can at least solve the problems of the existing technology in people's daily use of the car, especially in the summer, where drivers ignore the importance of opening windows for ventilation in order to quickly cool down, thus causing health risks, poor experience, operation dependence, lack of intelligence, etc.; on the basis of not increasing the hardware cost of the vehicle, on the one hand, it can ensure the safety of users and the health of passengers in daily use of the car, and on the other hand, it can also realize automatic control of the windows, simplify user operations, and help improve user experience.

[0129] The embodiment of the present invention further provides a vehicle window control device, Figure 3This is a structural diagram of a vehicle window control device provided by an embodiment of the present invention. This embodiment is at least applicable to window control scenarios in summer when users are driving various types of vehicles, such as fuel vehicles, hybrid vehicles, and pure electric vehicles. The device can be implemented in software and / or hardware, and can be integrated into the vehicle system. Figure 3 As shown, the window control device provided in this embodiment includes at least:

[0130] The parameter acquisition module 110 is at least used to obtain in real time the parameters of the degree of opening and closing of the vehicle windows, the parameters of the air conditioning switch, the vehicle speed parameters, the temperature difference between the inside and outside of the vehicle parameters, the air quality difference between the inside and outside of the vehicle parameters, and the current weather parameters;

[0131] A score calculation module 120 is used to calculate a vehicle window score based on each parameter and the weight corresponding to each parameter;

[0132] The window control module 130 is configured to execute a window control action based on a comparison result between the window score and a set score threshold.

[0133] Parameter acquisition module 110 may include existing sensors already integrated into the vehicle, such as the aforementioned window Hall effect sensor, a speed sensor, an air conditioning indoor temperature sensor installed in the air conditioning duct, an ambient temperature sensor installed in the vehicle's front bumper, and a sunlight sensor. Score calculation module 120 and window control module 130 may be integrated into the aforementioned ECU.

[0134] Optionally, the score calculation module 120 is specifically configured to:

[0135] Calculate the first window sub-score according to the window opening and closing degree parameter and the window opening and closing degree weight;

[0136] Calculate the second window score according to the air conditioning switch parameters and the air conditioning switch weight;

[0137] Calculating a third vehicle window score according to the vehicle speed parameter and the vehicle speed weight;

[0138] Calculate the score of the fourth window according to the temperature difference parameter between the inside and outside of the vehicle and the temperature difference weight;

[0139] Calculate the score of the fifth vehicle window according to the indoor and outdoor air quality difference parameter and the indoor and outdoor air quality difference weight;

[0140] Calculate the score of the sixth vehicle window according to the current weather parameters and the current weather weight;

[0141] The vehicle window score is calculated based on the first vehicle window score, the second vehicle window score, the third vehicle window score, the fourth vehicle window score, the fifth vehicle window score, and the sixth vehicle window score.

[0142] Optionally, the window score is calculated by at least the following method:

[0143] ;

[0144] Wherein, S represents the window score, S1 represents the score of the first window, S2 represents the score of the second window, S3 represents the score of the third window, S4 represents the score of the fourth window, S5 represents the score of the fifth window, and S6 represents the score of the sixth window.

[0145] Optionally, the first vehicle window score is calculated at least in the following manner:

[0146] ;

[0147] Where W1 represents the window opening and closing degree weight, and C represents the window opening and closing degree parameter.

[0148] Optionally, the second vehicle window score is calculated at least in the following manner:

[0149] ;

[0150] Where W2 represents the air conditioner switch weight, and B represents the air conditioner switch parameter.

[0151] Optionally, the third vehicle window score is calculated at least in the following manner:

[0152] ;

[0153] Where W3 represents the vehicle speed weight, and D represents the vehicle speed parameter.

[0154] Optionally, the fourth vehicle window score is calculated at least in the following manner:

[0155] ;

[0156] Where W4 represents the weight of the temperature difference between the inside and outside of the vehicle, and T represents the temperature difference parameter between the inside and outside of the vehicle;

[0157] The fifth window score is calculated by at least the following methods:

[0158] ;

[0159] Where W5 represents the weight of the difference between the air quality inside and outside the vehicle, and A represents the parameter of the difference between the air quality inside and outside the vehicle;

[0160] The sixth window score is calculated at least as follows:

[0161] ;

[0162] Where W6 represents the current weather weight, and P represents the current weather parameter.

[0163] In summary, this embodiment can first acquire parameters such as window opening and closing degree, air conditioning switch parameters, vehicle speed parameters, interior and exterior temperature difference parameters, interior and exterior air quality difference parameters, and current weather parameters through parameter acquisition modules such as window Hall sensors, speed sensors, air conditioning indoor temperature sensors installed in the air conditioning duct, ambient temperature sensors installed in the vehicle's front bumper, and sunlight sensors. This allows for the acquisition of relevant parameters without increasing the overall vehicle hardware cost. Furthermore, a score calculation module calculates a window score based on each parameter and its corresponding weight. A higher window score indicates a more comfortable interior environment and a better user experience. Finally, a window control module executes a window control action based on a comparison of the window score with a set score threshold.

[0164] In view of this, this embodiment can at least solve the problems of the existing technology in which drivers ignore the importance of opening windows for ventilation in order to quickly cool down during daily car use, especially in summer, thus causing health risks, poor experience, operation dependence, lack of intelligence, etc.; on the basis of not increasing the hardware cost of the vehicle, on the one hand, it can ensure the safety of users and the health of passengers in daily car use, and on the other hand, it can also realize automatic control of windows, simplify user operations, and help improve user experience.

[0165] Figure 4 It is a structural diagram of a vehicle system provided by an embodiment of the present invention. Figure 4 A block diagram of an exemplary vehicle system 21 suitable for implementing embodiments of the present invention is shown. Figure 4 The vehicle system 21 shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention.

[0166] like Figure 4 As shown, the vehicle system 21 is implemented as a general-purpose computing device. Components of the vehicle system 21 may include, but are not limited to, a radar 31, one or more processors or processing units 16, a system memory 28, and a bus 18 connecting various system components (including the system memory 28 and the processing unit 16).

[0167] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0168] The vehicle system 21 typically includes a variety of computer system readable media, which can be any available media that can be accessed by the vehicle system 21, including volatile and non-volatile media, removable and non-removable media.

[0169] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The vehicle system 21 may further include other removable / non-removable, volatile / non-volatile computer system storage media. For example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 Not shown, usually called a "hard drive"). Although Figure 4 Although not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), as well as an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.

[0170] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methodologies of the embodiments described herein.

[0171] The vehicle system 21 can also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and can also communicate with one or more devices that enable users to interact with the vehicle system 21, and / or communicate with any device that enables the vehicle system 21 to communicate with one or more other computing devices (such as network cards, modems, etc.). Such communication can be carried out through the input / output (I / O) interface 22. In addition, in the vehicle system 21 of this embodiment, the display 24 does not exist as an independent individual, but is embedded in the mirror. When the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror are visually integrated. In addition, the vehicle system 21 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 20. As Figure 4 As shown, the network adapter 20 communicates with other modules of the vehicle system 21 via the bus 18. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with the vehicle system 21, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0172] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the window control method provided in an embodiment of the present invention: at least obtaining in real time the window opening and closing degree parameters, air conditioning switch parameters, vehicle speed parameters, indoor and outdoor temperature difference parameters, indoor and outdoor air quality difference parameters and current weather parameters; calculating the window score based on each parameter and the weight corresponding to each parameter; and executing the window control action based on the comparison result of the window score and the set score threshold.

[0173] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle window control method provided in all the inventive embodiments of this application: at least obtaining in real time the vehicle window opening and closing degree parameters, the air conditioning switch parameters, the vehicle speed parameters, the vehicle inside and outside temperature difference parameters, the vehicle inside and outside air quality difference parameters and the current weather parameters; calculating the vehicle window score based on each parameter and the weight corresponding to each parameter; and executing the vehicle window control action based on the comparison result of the vehicle window score and the set score threshold.

[0174] Any combination of one or more computer-readable media may be employed. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0175] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0176] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0177] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0178] An embodiment of the present invention further provides a vehicle, comprising:

[0179] An electronic device for implementing the steps of the vehicle window control method;

[0180] a processor, wherein the processor runs a program and, when the program runs, executes the steps of the vehicle window control method based on data output by the electronic device;

[0181] The storage medium is used to store a program, and when the program is running, the program executes the steps of the vehicle window control method for data output from the electronic device.

[0182] The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc.

[0183] An electronic device includes a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory. The operating system can be any one or more computer operating systems that control electronic devices through processes, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system. In the embodiments of the present invention, the electronic device can be a handheld device such as a smartphone or tablet computer, or an electronic device such as a desktop computer or a portable computer, without any particular limitation in the embodiments of the present invention.

[0184] The execution subject of the electronic device control in the embodiment of the present invention can be an electronic device, or a functional module in the electronic device that can call a program and execute the program. The electronic device can obtain the firmware corresponding to the storage medium. The firmware corresponding to the storage medium is provided by the supplier. The firmware corresponding to different storage media can be the same or different, and is not limited here. After the electronic device obtains the firmware corresponding to the storage medium, it can write the firmware corresponding to the storage medium into the storage medium, specifically, burn the firmware corresponding to the storage medium into the storage medium. The process of burning the firmware into the storage medium can be implemented using existing technology and will not be described in detail in the embodiment of the present invention.

[0185] The electronic device can also obtain a reset command corresponding to the storage medium. The reset command corresponding to the storage medium is provided by the supplier. The reset commands corresponding to different storage media can be the same or different, and are not limited here.

[0186] In this case, the storage medium of the electronic device is a storage medium in which the corresponding firmware is written. The electronic device can respond to the reset command corresponding to the storage medium in which the corresponding firmware is written, thereby resetting the storage medium in which the corresponding firmware is written according to the reset command corresponding to the storage medium. The process of resetting the storage medium according to the reset command can be implemented in the existing technology and will not be described in detail in the embodiments of the present invention.

[0187] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A vehicle window control method, characterized in that: At least the following steps are included: At least real-time acquisition of window opening / closing degree parameters, air conditioning switch parameters, vehicle speed parameters, vehicle inside / outside temperature difference parameters, vehicle inside / outside air quality difference parameters, and current weather parameters; Calculating a vehicle window score according to each of the parameters and the weight corresponding to each of the parameters; Execute a window control action based on a comparison result between the window score and a set score threshold.

2. The vehicle window control method according to claim 1, characterized in that: Calculating the window score according to each parameter and the weight corresponding to each parameter at least includes: Calculating a first window sub-score according to the window opening / closing degree parameter and the window opening / closing degree weight; Calculating a second vehicle window score according to the air conditioning switch parameter and the air conditioning switch weight; Calculating a third vehicle window score according to the vehicle speed parameter and the vehicle speed weight; Calculating a fourth vehicle window score according to the vehicle interior and exterior temperature difference parameter and the vehicle interior and exterior temperature difference weight; Calculating a fifth window score according to the indoor and outdoor air quality difference parameter and the indoor and outdoor air quality difference weight; Calculating a sixth vehicle window score according to the current weather parameter and the current weather weight; The vehicle window score is calculated according to the first vehicle window score, the second vehicle window score, the third vehicle window score, the fourth vehicle window score, the fifth vehicle window score and the sixth vehicle window score.

3. The vehicle window control method according to claim 2, characterized in that: The vehicle window score is calculated at least in the following manner: ; In the formula, S represents the vehicle window score, S1 represents the first vehicle window sub-score, S2 represents the second vehicle window sub-score, S3 represents the third vehicle window sub-score, S4 represents the fourth vehicle window sub-score, S5 represents the fifth vehicle window sub-score, and S6 represents the sixth vehicle window sub-score.

4. The vehicle window control method according to claim 3, characterized in that: The first vehicle window score is calculated at least in the following manner: ; Wherein, W1 represents the window opening and closing degree weight, and C represents the window opening and closing degree parameter.

5. The vehicle window control method according to claim 3, characterized in that: The second vehicle window score is calculated at least in the following manner: ; Wherein, W2 represents the air conditioner switch weight, and B represents the air conditioner switch parameter.

6. The vehicle window control method according to claim 3, characterized in that: The third vehicle window score is calculated at least in the following manner: ; Wherein, W3 represents the vehicle speed weight, and D represents the vehicle speed parameter.

7. The vehicle window control method according to claim 3, characterized in that: The fourth vehicle window score is calculated at least in the following manner: ; Wherein, W4 represents the weight of the temperature difference between the inside and outside of the vehicle, and T represents the temperature difference parameter between the inside and outside of the vehicle; The fifth vehicle window score is calculated at least in the following manner: ; Wherein, W5 represents the weight of the difference between the air quality inside and outside the vehicle, and A represents the parameter of the difference between the air quality inside and outside the vehicle; The sixth vehicle window score is calculated at least in the following manner: ; Wherein, W6 represents the current weather weight, and P represents the current weather parameter.

8. A vehicle window control device, characterized in that: At least: A parameter acquisition module is used to obtain at least in real time parameters of window opening and closing degree, air conditioning switch parameters, vehicle speed parameters, temperature difference parameters inside and outside the vehicle, air quality difference parameters inside and outside the vehicle, and current weather parameters; A score calculation module, configured to calculate a vehicle window score based on each of the parameters and the weight corresponding to each of the parameters; The vehicle window control module is used to perform a vehicle window control action according to a comparison result between the vehicle window score and a set score threshold.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the vehicle window control method according to any one of claims 1 to 7 is implemented.

10. A vehicle, characterized in that: include: An electronic device for implementing the steps of the vehicle window control method according to any one of claims 1 to 7; a processor, wherein the processor runs a program, and when the program runs, the steps of the vehicle window control method according to any one of claims 1 to 7 are executed based on data outputted from the electronic device; A storage medium is used to store a program, and when the program is running, it executes the steps of the vehicle window control method according to any one of claims 1 to 7 for data output from the electronic device.