Vehicle window control method and device, electronic equipment and readable storage medium
Patent Information
- Application Number
- CN202410748614.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-10
AI Technical Summary
It is easy to forget to close vehicle windows in bad weather, resulting in water intrusion and property damage. The existing technology has a low level of intelligent control and lacks effective solutions.
By collecting vehicle status information, it determines whether the startup conditions for the automatic window closing system are met, and determines the weather status when the conditions are met. It automatically controls the window status based on weather indicators, and uses the rain sensor to wake up the window controller to close the window, avoiding Water ingress.
It improves vehicle safety and user experience in bad weather, reduces the risk of property damage, improves the level of intelligent control of vehicle windows, and reduces vehicle energy consumption while meeting starting conditions.
Smart Images

Figure CN118622112A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle window control method, device, electronic equipment and readable storage medium. Background Art
[0002] At present, with the development of vehicle technology, more and more auxiliary functions are applied in the field of vehicles, making vehicles more humane and closer to life, rather than just a simple means of transportation. However, when using a vehicle, due to the driver's negligent operation, there may be a situation where the vehicle windows are forgotten to be closed. If it encounters rainy and snowy weather, the vehicle will inevitably enter with water, causing property losses. Therefore, there is a technical problem that the intelligent control level of the vehicle windows is low.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a vehicle window control method, device, electronic device and readable storage medium to at least solve the technical problem of low level of intelligent control of vehicle windows.
[0005] According to one aspect of an embodiment of the present invention, a method for controlling a vehicle window is provided. The method comprises: collecting vehicle status information; in response to the vehicle status information satisfying a start-up condition of the vehicle window automatic closing system, controlling the vehicle window automatic closing system to start, wherein the start-up condition is used to indicate a condition for starting the vehicle window automatic closing system when the vehicle window automatic closing system is in a dormant state; in the case where the vehicle window automatic closing system enters a working state after starting, determining the weather state of the vehicle environment; based on a weather index of the weather state, determining a vehicle window control instruction, wherein the weather index is used to indicate the severity of the weather state; in response to the window control instruction, controlling the window state of all vehicle windows.
[0006] Optionally, the vehicle's status information includes at least: the vehicle's startup status, the vehicle's occupant information, the vehicle's key status, the vehicle's door status, and the vehicle's window status. The window control method also includes: in response to the vehicle's startup status indicating that the vehicle is in an off state, the vehicle's occupant information indicating that there are no occupants in the vehicle, the vehicle's key status indicating that the vehicle's key is located inside the vehicle, the vehicle's door status indicating that the vehicle's doors are unlocked, and the vehicle's window status indicating that the vehicle has windows that are not closed, determining that the vehicle's status information meets the startup conditions of the automatic window closing system; or, in response to the vehicle's startup status indicating that the vehicle is in an off state, the vehicle's occupant information indicating that there are no occupants in the vehicle, the vehicle's key status indicating that the vehicle's key is outside the vehicle, and the vehicle's window status indicating that the vehicle has windows that are not closed, determining that the vehicle's status information meets the startup conditions of the automatic window closing system.
[0007] Optionally, the window control method also includes: in response to the vehicle's startup status indicating that the vehicle is in an off state, and the passenger information inside the vehicle indicates that there is a passenger inside the vehicle, obtaining the passenger's stay time inside the vehicle; in response to the stay time being greater than a stay time threshold, determining that the vehicle's status information does not meet the start-up conditions of the window automatic closing system; when the vehicle's status information does not meet the start-up conditions of the window automatic closing system, controlling the window automatic closing system to continue to be in a dormant state.
[0008] Optionally, the window control method also includes: in response to the vehicle's startup status indicating that the vehicle is in an off state, the occupant information inside the vehicle indicating that there are no occupants inside the vehicle, the vehicle's key status indicating that the vehicle's key is outside the vehicle, and the vehicle's door status indicating that the vehicle's door is in a locked state, determining that the vehicle's status information does not meet the startup conditions of the window automatic closing system; when the vehicle's status information does not meet the startup conditions of the window automatic closing system, controlling the window automatic closing system to continue to be in a dormant state.
[0009] Optionally, the weather indicators include at least the arrival time of rain and snow and the amount of rain and snow. Based on the weather indicators of the weather conditions, the vehicle's window control instructions are determined, including: in response to the arrival time of rain and snow being less than a first duration and the amount of rain and snow being greater than a first threshold, determining that the vehicle's window control instructions are to control the window state of all windows of the vehicle to be in a closed state.
[0010] Optionally, in response to a window control instruction, the window state of all windows of the vehicle is controlled, including: in response to the window control instruction of the vehicle to control the window state of all windows of the vehicle to be in a closed state, forcibly waking up the rain sensor function by rain and snow in the automatic window closing system to wake up the rain sensor; waking up the window controller in the automatic window closing system through the rain sensor; controlling the window controller to execute the window control instruction to control the window state of all windows of the vehicle to be in a closed state.
[0011] Optionally, the vehicle window control method also includes: in response to the amount of rain and snow being less than a first threshold and the rain sensor being in a sleep state, obtaining a sleep duration of the rain sensor in the sleep state; in response to the sleep duration being not greater than a second duration, controlling the rain sensor to continue to be in the sleep state.
[0012] Optionally, the window control method also includes: waking up the rain sensor in response to the sleep time being greater than the second time and the amount of rain and snow being greater than a second threshold, wherein the second threshold is less than the first threshold; waking up the window controller in the automatic window closing system through the rain sensor; and controlling the window controller to execute the window control instruction.
[0013] According to another aspect of an embodiment of the present invention, a window control device is also provided. The device includes: a collection unit for collecting vehicle status information; a first control unit for controlling the start-up of the window automatic closing system in response to the vehicle status information satisfying the start-up condition of the window automatic closing system, wherein the start-up condition is used to indicate the condition for starting the window automatic closing system when the vehicle window is in an unclosed state; a first determination unit for determining the weather state of the vehicle environment when the window automatic closing system enters a working state after being started; a second determination unit for determining the vehicle window control instruction based on a weather index of the weather state, wherein the weather index is used to indicate the severity of the weather state; and a second control unit for controlling the window state of all windows of the vehicle in response to the window control instruction.
[0014] According to another aspect of an embodiment of the present invention, an electronic device is provided, including: a memory storing an executable program; and a processor for running the program, wherein the vehicle window control method in each embodiment of the present invention is executed when the program is running.
[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the vehicle window control method in each embodiment of the present invention.
[0016] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the vehicle window control method in each embodiment of the present invention is implemented.
[0017] According to another aspect of an embodiment of the present invention, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle window control method in each embodiment of the present invention is implemented.
[0018] According to another aspect of the embodiments of the present invention, a computer program is further provided. When the computer program is executed by a processor, the vehicle window control method in each embodiment of the present invention is implemented.
[0019] In an embodiment of the present invention, status information of a vehicle is collected; in response to the status information of the vehicle satisfying a start condition of an automatic window closing system, the automatic window closing system is controlled to start, wherein the start condition is used to indicate a condition for starting the automatic window closing system when the automatic window closing system of the vehicle is in a dormant state; when the automatic window closing system enters a working state after being started, the weather condition of the vehicle's environment is determined; based on a weather indicator of the weather condition, a window control instruction of the vehicle is determined, wherein the weather indicator is used to indicate the severity of the weather condition; in response to the window control instruction, the window status of all windows of the vehicle is controlled. That is to say, in the present invention, by collecting the vehicle's status information, it is determined whether the vehicle's status information meets the start-up conditions of the automatic window closing system. If the conditions are met, the weather conditions of the vehicle's environment are further obtained, and the control instructions of the windows are determined according to the weather indicators of the weather conditions. In this way, when encountering rainy and snowy weather, the window status of the vehicle's windows can be automatically controlled, thereby avoiding water ingress into the vehicle in bad weather and the like, avoiding property loss of the user, while improving the safety of the entire vehicle, improving the body function, and improving the user's car experience, and realizing the improvement of the intelligent control level of the vehicle's windows, thereby solving the technical problem of the low intelligent control level of the vehicle's windows, and the automatic window closing system will only start when the start-up conditions are met, thereby achieving the purpose of reducing vehicle energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0021] Figure 1 is a flow chart of a vehicle control method according to an embodiment of the present invention;
[0022] Figure 2 is a flow chart of another vehicle window control method according to an embodiment of the present invention;
[0023] Figure 3 is a flow chart of a method for starting a vehicle window automatic closing system according to an embodiment of the present invention;
[0024] Figure 4 is a flow chart of a method for waking up a rain sensor according to an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of a vehicle window control device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] Example 1
[0029] According to an embodiment of the present invention, a method embodiment of controlling a vehicle window is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] Figure 1 is a flow chart of a method for controlling a vehicle window according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0031] Step S101, collecting vehicle status information.
[0032] In the technical solution provided in the above step S101 of the present invention, the vehicle status information includes but is not limited to: the vehicle window status, the vehicle ignition status, the vehicle key status, the vehicle door status, and the vehicle passenger information. Among them, the vehicle window status is used to at least indicate whether the vehicle window is in an open state or a closed state; the vehicle ignition status can also be called the vehicle startup status, which is used to at least indicate whether the vehicle is in a startup state or an off state; the vehicle key status is used to at least indicate whether the vehicle key is inside the vehicle or outside the vehicle; the vehicle door status is used to at least indicate whether the vehicle door is in a locked state or an unlocked state; the vehicle passenger information is used to at least indicate whether there is a passenger inside the vehicle. This is only an illustrative example, and the vehicle status information is not limited.
[0033] In this embodiment, the vehicle's controller area network (CAN) bus is used to obtain the vehicle's window status, vehicle ignition status, vehicle key status, vehicle door status, and information about passengers inside the vehicle.
[0034] Step S102, in response to the vehicle status information satisfying the activation condition of the automatic window closing system, controlling the automatic window closing system to activate.
[0035] In the technical solution provided by the above step S102 of the present invention, after the vehicle is turned off, the automatic window closing system will automatically enter a standby dormant state. Based on this, after obtaining the vehicle status information through step S101, it can be further determined whether the vehicle status information meets the start-up conditions of the vehicle's automatic window closing system, and when the vehicle status information meets the start-up conditions of the vehicle's automatic window closing system, the automatic window closing system is controlled to start. Among them, the start-up conditions of the automatic window closing system are used to indicate that the vehicle's automatic window closing system is in a dormant state and the conditions for starting the automatic window closing system. The automatic window closing system is used to control the window status of the vehicle.
[0036] In this embodiment, the activation conditions of the automatic window closing system may be: the vehicle is in an ignition-off state, there is no passenger in the vehicle, the vehicle key is in the vehicle, the vehicle door is unlocked (the vehicle door is unlocked), and the vehicle window is not closed. Alternatively, the activation conditions of the automatic window closing system may also be: the vehicle is in an ignition-off state, there is no passenger in the vehicle, the vehicle key is outside the vehicle, and the vehicle window is not closed. This is only an illustrative example, and does not limit the activation conditions of the vehicle's automatic window closing system.
[0037] For example, the ignition status of the vehicle in the vehicle status information is judged. If the ignition status of the vehicle indicates that the vehicle is in an off state, the vehicle's passengers are further judged to determine whether there are people inside the vehicle. If the vehicle's passenger information shows that there are no passengers inside the vehicle, the vehicle's key status is further judged. If the vehicle's key status indicates that the vehicle's key is inside the vehicle, the vehicle's door status is further judged. If the vehicle's door status indicates that the vehicle's door is not locked, the vehicle's window status is further judged. If the vehicle's window status indicates that the vehicle's window is not closed, that is, open, in this case, it is determined that the vehicle's status information meets the vehicle's window automatic closing system startup conditions, and then the window automatic closing system is controlled to start. That is, each type of information in the vehicle's status information is judged in turn, and when each type of information meets the window automatic closing system startup conditions, the vehicle's window automatic closing system is controlled to start.
[0038] Step S103, when the automatic window closing system is started and enters the working state, the weather condition of the vehicle environment is determined.
[0039] In the technical solution provided by the above step S103 of the present invention, after the automatic window closing system of the vehicle is started and enters the working state through the control of step S102, the weather state of the environment in which the vehicle is located can be further determined to determine whether to control the window state of the vehicle. The weather state is used to indicate the weather conditions of the current environment in which the vehicle is located, including sunny, cloudy, rainy, snowy, stormy, etc.
[0040] In this embodiment, when the vehicle's windows are not closed, if severe weather occurs, water may enter the vehicle, causing property damage. Based on this, after the automatic window closing system is started, the weather conditions of the vehicle's environment are further determined, and then in severe weather, the automatic window closing system is controlled to close the vehicle's windows, thereby avoiding unnecessary property damage.
[0041] For example, by receiving weather information sent by a smart vehicle terminal box (Telemat ics Box, referred to as T-Box), the weather conditions of the vehicle's environment can be determined.
[0042] Step S104, determining a vehicle window control instruction based on a weather indicator of the weather state.
[0043] In the technical solution provided in the above step S104 of the present invention, after the weather state of the vehicle environment is determined in the above step S103, the vehicle window control instruction can be determined based on the weather index of the weather state. The weather index of the weather state may include but is not limited to: rainfall, rain and snow arrival time. This is only an illustrative example, and the weather index of the weather state is not limited.
[0044] In this embodiment, assuming that the weather indicators of the weather state are rainfall and the time of rain and snow, when the time of rain and snow is less than the first duration and the rainfall is greater than the first threshold, it can be determined that rain and snow are coming. In this case, the vehicle window control instruction can be determined to control the window state of all windows of the vehicle to be in the closed state. This is only an illustrative example, and the vehicle window control instruction can also be determined according to the weather state in other ways.
[0045] Step S105 , in response to the window control instruction, controlling the window status of all windows of the vehicle.
[0046] In the technical solution provided by the above step S105 of the present invention, after the window control instruction of the vehicle is determined in step S104, the window states of all windows of the vehicle can be controlled according to the window control instruction.
[0047] In this embodiment, after determining the window control instruction, the vehicle controller may send the window control instruction to the automatic window closing system, and the automatic window closing system may execute the window control instruction to control the window status of all windows of the vehicle, wherein all windows of the vehicle include the vehicle windows and sunroof.
[0048] Optionally, when the window closing instruction is to control all the windows of the vehicle to be in a closed state, the rain sensor function can be forced to be awakened by rain and snow in the automatic window closing system to wake up the rain sensor, and then the window controller in the automatic window closing system can be awakened by the rain sensor, and the window controller can be controlled to execute the window control instruction to control the window state of all the windows of the vehicle to be in a closed state.
[0049] Through the above steps S101 to S105, by collecting the vehicle status information, it is determined whether the vehicle status information meets the start-up conditions of the automatic window closing system. If the conditions are met, the weather conditions of the vehicle environment are further obtained, and the control instructions of the windows are determined according to the weather indicators of the weather conditions. In this way, when encountering rainy and snowy weather, the window status of the vehicle can be automatically controlled, thereby avoiding water ingress into the vehicle in bad weather, avoiding property loss of users, improving the safety of the entire vehicle, improving the body function, and improving the user's car experience, realizing the improvement of the intelligent control level of the vehicle's windows, thereby solving the technical problem of the low intelligent control level of the vehicle's windows, and the automatic window closing system will only start when the start-up conditions are met, thereby achieving the purpose of reducing vehicle energy consumption.
[0050] The above method of this embodiment is further introduced below.
[0051] As an optional embodiment, the vehicle's status information includes at least: the vehicle's startup status, the vehicle's passenger information, the vehicle's key status, the vehicle's door status, and the vehicle's window status. The window control method also includes: in response to the vehicle's startup status indicating that the vehicle is in an off state, the vehicle's passenger information indicating that there are no passengers in the vehicle, the vehicle's key status indicating that the vehicle's key is located inside the vehicle, the vehicle's door status indicating that the vehicle's doors are unlocked, and the vehicle's window status indicating that the vehicle has windows that are not closed, determining that the vehicle's status information meets the startup conditions of the automatic window closing system; or, in response to the vehicle's startup status indicating that the vehicle is in an off state, the vehicle's passenger information indicating that there are no passengers in the vehicle, the vehicle's key status indicating that the vehicle's key is outside the vehicle, and the vehicle's window status indicating that the vehicle has windows that are not closed, determining that the vehicle's status information meets the startup conditions of the automatic window closing system.
[0052] In this embodiment, after determining the status information of the vehicle, the status information of the vehicle can be judged one by one according to the start-up conditions of the automatic window closing system to determine whether the status information of the vehicle meets the start-up conditions of the automatic window closing system, thereby controlling the start-up of the automatic window closing system of the vehicle when the status information of the vehicle meets the start-up conditions of the automatic window closing system.
[0053] For example, from the above introduction, it can be known that the activation conditions of the vehicle's automatic window closing system can be that the vehicle is in an off state, there are no passengers in the vehicle, the vehicle key is in the vehicle, the vehicle doors are unlocked (the vehicle doors are in an unlocked state), and the vehicle windows are in an open state. Alternatively, the activation conditions of the automatic window closing system can also be: the vehicle is in an off state, there are no passengers in the vehicle, the vehicle key is outside the vehicle, and the vehicle windows are in an open state. Based on this, after obtaining the vehicle's status information, the vehicle's startup state (i.e., ignition state), the vehicle's passenger information, the vehicle's key state, the vehicle's door state, and the vehicle's window state in the vehicle's status information can be judged one by one to determine whether the vehicle's status information meets the activation conditions of the automatic window closing system.
[0054] Optionally, when the vehicle's startup status indicates that the vehicle is in an off state, the vehicle's passenger information indicates that there are no passengers in the vehicle, the vehicle's key status indicates that the vehicle's key is inside the vehicle, the vehicle's door status indicates that the vehicle's door is unlocked, and the vehicle's window status indicates that the vehicle has windows that are not closed, it means that the driver is not in the vehicle, and the vehicle's doors are unlocked and the windows are not closed. In this case, if rain or snow occurs, water will enter the vehicle, so it is determined that the vehicle meets the startup conditions of the automatic window closing system. After the automatic window closing system is started, the window status of the vehicle can be automatically controlled by the automatic window closing system, thereby avoiding unnecessary property losses.
[0055] Optionally, when the vehicle startup state indicates that the vehicle is in an off state, the passenger information inside the vehicle indicates that there is no passenger inside the vehicle, the vehicle key state indicates that the vehicle key is outside the vehicle, and the vehicle window state indicates that the vehicle has a window that is not closed, it means that the driver has forgotten to close the window. In this case, if rain or snow occurs, water will enter the vehicle. Therefore, it is determined that the vehicle meets the start-up conditions of the automatic window closing system. The above is only an illustrative example and does not limit the start-up conditions of the automatic window closing system.
[0056] As an optional implementation, the window control method also includes: in response to the vehicle's startup status indicating that the vehicle is in an off state, and the passenger information inside the vehicle indicates that there is a passenger inside the vehicle, obtaining the passenger's stay time inside the vehicle; in response to the stay time being greater than a stay time threshold, determining that the vehicle's status information does not meet the start-up conditions of the window automatic closing system; when the vehicle's status information does not meet the start-up conditions of the window automatic closing system, controlling the window automatic closing system to continue to be in a dormant state.
[0057] In this embodiment, after obtaining the vehicle status information, if the vehicle startup status (i.e., ignition status) in the vehicle status information indicates that the vehicle is in an off state, and the passenger information inside the vehicle indicates that there is a passenger inside the vehicle, that is, there is someone inside the vehicle, in this case, the length of time the passenger stays inside the vehicle is further obtained, and then the length of time the passenger stays in the vehicle is used to determine whether the vehicle meets the startup conditions of the automatic window closing system.
[0058] For example, when the length of time that a passenger stays in the vehicle is greater than the threshold, it means that the passenger has been in the vehicle for a long time, that is, there are people inside the vehicle for a long time. Even in bad weather, the passenger inside the vehicle can control the state of the vehicle's windows, so that even if the vehicle is turned off and the windows are not closed, there is no risk of water entering. In this case, it can be determined that the vehicle's state information does not meet the start-up conditions of the automatic window closing system. Based on this, the vehicle's automatic window closing system can be controlled to remain in a dormant state to save energy.
[0059] As an optional implementation, the window control method also includes: in response to the vehicle's startup status indicating that the vehicle is in an off state, the occupant information inside the vehicle indicating that there are no occupants in the vehicle, the vehicle's key status indicating that the vehicle's key is outside the vehicle, and the vehicle's door status indicating that the vehicle's door is locked, determining that the vehicle's status information does not meet the startup conditions of the automatic window closing system; when the vehicle's status information does not meet the startup conditions of the automatic window closing system, controlling the automatic window closing system to continue to be in a dormant state.
[0060] In this embodiment, after acquiring the vehicle status information, if the vehicle startup status (i.e., ignition status) in the vehicle status information indicates that the vehicle is in an off state, and the passenger information inside the vehicle indicates that there is no passenger inside the vehicle, that is, there is no one inside the vehicle, but the vehicle key status shows that the vehicle key is inside the vehicle, and the vehicle door status indicates that the vehicle door is in a locked state, in this case, since the vehicle key is inside the vehicle and the doors are locked, the vehicle key cannot be prevented from being locked inside the vehicle and the vehicle windows cannot be closed. Based on this, in this vehicle state, it can be determined that the vehicle status information does not meet the startup conditions of the automatic window closing system, thereby controlling the automatic window closing system to continue to be in a dormant state.
[0061] Optionally, by performing multi-angle intelligent analysis on the vehicle's status information, not only is it considered whether the weather conditions of the vehicle's environment are suitable for turning on the automatic window closing system, but also whether the key status of the vehicle itself is suitable for turning on the automatic window closing system, thereby avoiding the situation where the vehicle cannot be started due to the activation of the automatic window closing system. That is, by taking multiple aspects of the vehicle's status information into consideration, unexpected situations can be avoided when the vehicle is unmanned, thereby improving the vehicle's intelligence and convenience, thereby improving the user experience.
[0062] As an optional implementation, the weather index includes at least the time when rain and snow are coming and the amount of rain and snow. Step S104, based on the weather index of the weather condition, determines the window control instruction of the vehicle, including: in response to the time when rain and snow are coming being less than a first duration and the amount of rain and snow being greater than a first threshold, determining that the window control instruction of the vehicle is to control the window state of all windows of the vehicle to be in a closed state.
[0063] In this embodiment, the weather indicators of the weather state include at least the arrival time of rain and snow and the amount of rain and snow. Based on this, when determining the control instructions of the vehicle windows according to the weather indicators of the weather state, the control instructions of the vehicle windows can be determined by judging whether the weather indicators of the weather state meet the preset conditions.
[0064] For example, when the vehicle body controller receives the weather information forwarded by the T-Box and determines in real time that the time of rain and snow is less than the first duration and the amount of rain and snow is greater than the first threshold, it can be determined that the vehicle window control instruction is to control the window state of all windows of the vehicle to be in the closed state. The first duration can be 1 hour, and the first threshold can be a rainfall threshold, which can be represented by α.
[0065] As an optional implementation, in response to a window control instruction, the window status of all windows of a vehicle is controlled, including: in response to the window control instruction of the vehicle to control the window status of all windows of the vehicle to be in a closed state, forcibly waking up the rain sensor function by rain and snow in the automatic window closing system to wake up the rain sensor; waking up the window controller in the automatic window closing system through the rain sensor; controlling the window controller to execute the window control instruction to control the window status of all windows of the vehicle to be in a closed state.
[0066] In this embodiment, in order to reduce vehicle energy consumption, when the vehicle is in the off state, the rain sensor and the window sensor on the vehicle are both in a dormant state. The automatic window closing system includes a rain and snow forced awakening rain sensor function, which is used to awaken the dormant rain sensor. When the vehicle's window control instruction is to control the window state of all windows of the vehicle to be in a closed state, the rain sensor can be awakened by the rain and snow forced awakening rain sensor function in the automatic window closing system, wherein the rain sensor is used to sense the amount of rain and snow.
[0067] Optionally, a window controller is installed on the vehicle body, and the window controller is used to control the state of the vehicle windows and the state of the sunroof. When the vehicle is in the ignition off state, the vehicle sensor is in the dormant state. The window controller and the sunroof controller are at least connected to the rain sensor. Based on this, when the rain sensor is awakened, the rain sensor can wake up the window controller and the sunroof controller, and then control the window controller and the sunroof controller to execute the window control instruction, so as to control the vehicle windows and the sunroof to be in the closed state.
[0068] Optionally, in addition to waking up the rain sensor by forcibly waking up the rain sensor due to rain or snow, the rain sensor can also be woken up at a scheduled time. For example, in weather where it may rain or snow, the rain sensor controller needs to wake up at a scheduled time to sense the amount of rain or snow in advance to reduce losses.
[0069] As an optional implementation, the vehicle window control method also includes: in response to the amount of rain and snow being less than a first threshold and the rain sensor being in a sleep state, obtaining the sleep duration of the rain sensor in the sleep state; in response to the sleep duration being no greater than a second duration, controlling the rain sensor to continue to be in the sleep state.
[0070] In this embodiment, after receiving the weather status, if the amount of rain and snow in the weather indicators in the weather status is less than the first threshold value, it means that the amount of rain and snow has not reached the standard for waking up the rain sensor, and the rain sensor continues to be in a sleep state. In this case, it is necessary to further determine whether to wake up the rain sensor based on the sleep time of the rain sensor in the sleep state.
[0071] Optionally, when the amount of rain or snow does not reach the standard for waking up the rain sensor, a timed wake-up method can be used to wake up the rain sensor. For example, the sleep time of the rain sensor in the sleep state is obtained. If the sleep time of the rain sensor in the sleep state is not greater than the second time, it means that the timed wake-up condition is not met. In this case, the rain sensor can be controlled to continue to be in the sleep state until the sleep time of the rain sensor is greater than the second time, and then the rain sensor is woken up. The second time can be represented by T1, and the specific value of the second time is not limited here.
[0072] As an optional implementation, the window control method also includes: waking up the rain sensor in response to the sleep time being greater than the second time and the amount of rain and snow being greater than a second threshold, wherein the second threshold is less than the first threshold; waking up the window controller in the automatic window closing system through the rain sensor; and controlling the window controller to execute the window control instruction.
[0073] In this embodiment, when the sleep time of the rain sensor is greater than the second time period and the amount of rain and snow is greater than the second threshold, it means that the rain sensor meets the wake-up condition. In this case, the rain sensor can be woken up, wherein the second threshold can be the rain threshold, which can be represented by β. The specific value of the second threshold is not limited here.
[0074] For example, because the amount of rain and snow is greater than the second threshold, based on this, after waking up the rain sensor, the window controller can be woken up by the rain sensor, and then the window control instruction can be executed by the window controller to control the window status of all windows of the vehicle.
[0075] In the above steps, by collecting the vehicle's status information, it is determined whether the vehicle's status information meets the start-up conditions of the automatic window closing system. If the conditions are met, the weather conditions of the vehicle's environment are further obtained, and the control instructions of the windows are determined according to the weather indicators of the weather conditions. In this way, when encountering rainy and snowy weather, the window status of the vehicle's windows can be automatically controlled, thereby avoiding water ingress into the vehicle in bad weather, avoiding property loss of users, improving the safety of the entire vehicle, improving the body function, and improving the user's car experience, and realizing the improvement of the intelligent control level of the vehicle's windows, thereby solving the technical problem of the low intelligent control level of the vehicle's windows. Moreover, the automatic window closing system will only start when the start-up conditions are met, thereby achieving the purpose of reducing vehicle energy consumption.
[0076] Example 2
[0077] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.
[0078] At present, with the development of vehicle technology, more and more auxiliary functions are applied in the field of vehicles, making vehicles more humane and closer to life, rather than just a simple means of transportation. However, when using a vehicle, due to the driver's negligent operation, there may be a situation where the vehicle windows are forgotten to be closed. If it encounters rainy and snowy weather, the vehicle will inevitably enter with water, causing property losses. Therefore, there is a technical problem that the intelligent control level of the vehicle windows is low.
[0079] However, the present invention provides a method for controlling vehicle windows, wherein a vehicle window and sunroof controller is installed on a vehicle body, and the vehicle body controller is connected to a rain sensor, a vehicle window and sunroof controller, a seat controller, a door controller, and a T-BOX respectively; the vehicle body controller collects information such as the weather status of the T-BOX, the window status of the vehicle window and sunroof controller, the ignition status, the key status, the door status, and whether there is someone in the vehicle in real time; the vehicle body controller determines whether the current vehicle meets the conditions for starting the automatic window closing system by judging the information such as the window status, the ignition status, the key status, the door status, and whether there is someone in the vehicle, and if so, the automatic window closing system is controlled to start working, and the rain and snow forced awakening rain sensor function is turned on; the vehicle body controller receives the weather information forwarded by the T-BOX, and determines in real time whether the time of rain and snow coming is less than 1 hour, and if so, the rain sensor is awakened by the rain and snow forced awakening rain sensor function, and after the rain sensor is awakened, the vehicle body controller, the window and sunroof controller are awakened; and then the vehicle body controller controls the window and sunroof controller to close the windows until all windows are closed. That is to say, by utilizing the body controller, rain sensor, T-BOX, window and sunroof controller, and door controller, and adding a control algorithm, it is possible to automatically close the windows and sunroof in rainy and snowy days, thereby avoiding property loss for users while improving the safety of the entire vehicle, improving the body function, enhancing the user's car experience, and improving product quality.
[0080] Figure 2 FIG. 1 is a flow chart of another method for controlling a vehicle window according to an embodiment of the present invention. Figure 2 As shown, the control method of the vehicle window includes the following steps:
[0081] Step S201, controlling the vehicle body controller to connect with the rain sensor, the window and sunroof controller, the seat controller, the door controller, and the T-Box.
[0082] In this embodiment, a window and sunroof controller is installed on the vehicle body, and the vehicle body controller is connected to the rain sensor, the window and sunroof controller, the seat controller, the door controller, and the T-BOX. The rain sensor detects the amount of rain at the current location of the vehicle, the window and sunroof controller outputs the status of the windows and sunroof and executes the action of closing the windows, the seat controller outputs the occupancy status of the occupants, the door controller outputs the door lock status, and the T-BOX outputs weather information.
[0083] Step S202, the vehicle body controller collects in real time information such as the weather status of the T-Box, the window status of the window and sunroof controllers, the ignition status, the key status, the door status, and whether there is someone in the car.
[0084] In this embodiment, the body controller collects information such as the weather status of T-B0X, the window status of the window and sunroof controller, the ignition status, the key status, the door status, and whether there is someone in the car in real time.
[0085] For example, the body controller obtains information such as the window status, key status, door status, and whether there is someone in the car from the window and sunroof controllers through the CAN line, and obtains ignition status information through the hard line. The above information is used to determine whether the current vehicle needs to turn on the automatic window closing system. The body controller obtains T-BOX weather information through the CAN line to determine whether it is necessary to turn on the rain sensor timed wake-up function.
[0086] Step S203, determining whether it is necessary to turn on the automatic window closing system.
[0087] In this embodiment, the vehicle body controller determines whether the vehicle meets the conditions for starting the window automatic closing system based on five conditions: whether the vehicle is turned off, whether there is someone in the vehicle, whether the car key is in the vehicle, whether the door is locked, and whether the windows and sunroof are closed. If yes, step S204 is executed to control the window automatic closing system to start working and control the rain and snow forced awakening rain sensor function to start. If no, step S202 is executed.
[0088] Step S204, the automatic window closing system starts to work, and the rain and snow forced awakening rain sensor function is turned on.
[0089] In this embodiment, when it is determined in step S203 that the automatic window closing system meets the opening condition, the automatic window closing system is controlled to start working, and the rain and snow forced awakening rain sensor function is turned on.
[0090] Step S205, determining whether the coming time of rain or snow is less than 1 hour.
[0091] In this embodiment, the weather condition and rainfall value of the T-BOX are used to determine whether the rain sensor needs to be awakened. If so, step S208 is executed, otherwise, step S206 is executed.
[0092] Step S206: the rain sensor, window and sunroof controllers enter a sleep mode.
[0093] In this embodiment, if step S205 determines that the coming time of rain or snow is greater than 1 hour, the rain sensor, the window and sunroof controllers are controlled to enter the sleep mode.
[0094] Step S207, determining whether the rain sensor meets the wake-up condition.
[0095] In this embodiment, whether the rain sensor meets the wake-up condition is determined according to the amount of rain and snow. When the amount of rain and snow reaches the threshold α, it is determined that the rain sensor meets the wake-up condition. In this case, step S208 is executed to wake up the rain sensor. Otherwise, step S205 is executed.
[0096] Step S208: the rain sensor is forced to wake up.
[0097] In this embodiment, the rain sensor function is forcibly awakened by rain or snow, thereby forcibly awakening the rain sensor.
[0098] Step S209: The rain sensor wakes up the vehicle body controller, window and sunroof controller.
[0099] In this embodiment, after the rain sensor is awakened, the body controller, the window and sunroof controllers may be awakened through the rain sensor.
[0100] Step S210: the window and sunroof controller executes the window closing action.
[0101] In this embodiment, after the window and sunroof control is awakened, the window status of the vehicle can be controlled.
[0102] Step S211, the vehicle windows and sunroof are closed.
[0103] In this embodiment, after the window and sunroof are closed, the window and sunroof controller sends the result to the body controller, and the body controller forwards it to the rain sensor.
[0104] Step S212, in the current ignition cycle, the automatic window closing system stops working, the rain and snow forced awakening rain sensor function is turned off, and the function is restored in the next ignition cycle.
[0105] In this embodiment, in the current ignition cycle, the automatic window closing system stops working, the rain and snow forced awakening rain sensor function is turned off, the function is restored in the next ignition cycle, and the body controller, rain sensor, window and sunroof controller enter sleep mode.
[0106] In the above steps S201 to S212, by using the body controller, rain sensor, T-BOX, window and sunroof controller, seat controller, and door controller, and adding a control algorithm, the function of automatically closing the windows and sunroof in rainy and snowy days can be realized, which avoids property loss of users while improving the safety of the entire vehicle, improving the body function, improving the user's car experience, and improving product quality.
[0107] In this embodiment, after the vehicle is turned off, the automatic window closing system, the rain sensor, the window controller and the sunroof controller all enter a dormant state. To save energy, the automatic window closing system needs to be started after the start-up conditions are met. Next, the process of whether the vehicle's automatic window closing system meets the start-up conditions of the automatic window closing system is introduced.
[0108] Figure 3 is a flow chart of a method for starting a vehicle window automatic closing system according to an embodiment of the present invention, the method comprising the following steps:
[0109] Step S301, the vehicle body controller collects information such as the weather status of the T-BOX, the window status of the window and sunroof controller, the ignition status, the key status, the door status, and whether there is someone in the car in real time.
[0110] In this embodiment, the body controller collects information such as the weather status of T-BOX, the window status of the window and sunroof controller, the ignition status, the key status, the door status, and whether there is someone in the car in real time. The body controller obtains information such as the window status of the window and sunroof controller, the key status, the door status, and whether there is someone in the car through the CAN line, and obtains the ignition status information through the hard line. The above information is used to determine whether the current vehicle needs to turn on the automatic window closing system. The body controller obtains T-BOX weather information through the CAN line to determine whether it is necessary to turn on the rain sensor timed wake-up function.
[0111] Step S302, determining whether the vehicle is turned off.
[0112] In this embodiment, the body controller determines whether the vehicle is turned off. If so, step S303 is executed, otherwise step S301 is executed. That is, if the vehicle is not turned off, it means that the driver is present and the vehicle is not at risk of being soaked by rain or snow, and there is no need to perform the automatic window closing operation.
[0113] Step S303, determining whether there is anyone in the car.
[0114] In this embodiment, the vehicle body controller determines whether there is someone in the vehicle, and if so, executes step S307, otherwise executes step S304. That is, if there is someone in the vehicle, the vehicle is not at risk of being soaked by rain or snow, and there is no need to execute the automatic window closing operation.
[0115] Step S304, determining whether the car key is in the car.
[0116] In this embodiment, the vehicle body controller determines whether the vehicle key is in the vehicle. If so, step S305 is executed, otherwise step S306 is executed. That is, if the vehicle key is in the vehicle, the window cannot be closed directly to prevent the key from being locked in the vehicle, and the door locking state must be further determined.
[0117] Step S305, determining whether the vehicle door is locked.
[0118] In this embodiment, the vehicle body controller determines whether the vehicle door is locked, and if so, executes step S309, otherwise executes step S306. That is, if the vehicle key is in the vehicle and the vehicle door is locked, the key is locked in the vehicle to prevent the window from being closed.
[0119] Step S306, determining whether the vehicle window or sunroof is not closed.
[0120] In this embodiment, the vehicle body controller determines whether the window or sunroof is not closed, and if so, executes step S308, otherwise executes step S309. That is, if the window and sunroof are closed, there is no need to perform the automatic window closing operation.
[0121] Step S307, determining whether the time the person stays in the car is ≥ T0.
[0122] In this embodiment, the vehicle body controller determines whether the time a person stays in the vehicle exceeds T0. If so, step S309 is executed, otherwise step S303 is executed. If there is someone in the vehicle, there is no need to perform the automatic window closing operation, but if the automatic window closing and sunroof functions are continuously turned on, energy consumption will increase. Therefore, after the time a person stays in the vehicle exceeds T0, the automatic window closing and sunroof functions are turned off, and the controller enters a dormant state to reduce energy consumption.
[0123] Step S308, the automatic window closing system starts to work, and the rain and snow forced awakening rain sensor function is turned on.
[0124] In this embodiment, when it is determined through steps S302 to S306 that the automatic window closing system meets the opening conditions, the automatic window closing system starts to work, and the rain and snow forced awakening rain sensor function is turned on.
[0125] Step S309, in the current ignition cycle, the automatic window closing system notification works, the rain and snow forced awakening rain sensor function is turned off, the function is restored in the next ignition cycle, and the body controller, rain sensor, window and sunroof controller enter sleep mode.
[0126] It should be noted that the above steps S302 to S307 are used to implement the above Figure 2 Step S203 in .
[0127] In the above steps S301 to S309, the activation conditions of the vehicle's automatic window closing system are judged so that the automatic window closing system is activated when the activation conditions are met, thereby achieving the purpose of reducing the vehicle's energy consumption.
[0128] In this embodiment, there are two ways to wake up the rain sensor, one is timed wakeup, and the other is forced wakeup due to rain or snow. For weather that may rain or snow, the controller should wake up regularly to sense the amount of rain and snow in advance and reduce losses.
[0129] Figure 4 is a flow chart of a method for waking up a rain sensor according to an embodiment of the present invention. Figure 4 As shown, the method comprises the following steps:
[0130] Step S401: the rain sensor, window and sunroof controllers enter a sleep mode.
[0131] In this embodiment, after the vehicle is turned off, the rain sensor, window and sunroof controllers enter a sleep mode.
[0132] Step S402, determining whether the weather information of the T-Box is cloudy, rainy or snowy.
[0133] In this embodiment, the vehicle body controller determines whether the weather information of the T-Box is cloudy, rainy or snowy. If so, step S403 is executed, otherwise step S404 is executed.
[0134] For example, if the weather information of the T-Box is cloudy, rainy, or snowy, in order to prevent light rain and light snow from causing damage to the vehicle, the rain sensor needs to be automatically awakened at regular intervals to judge the rainfall. The rainfall threshold β here is lower than the rainfall threshold α for forcibly waking up the rain sensor.
[0135] Step S403, determining whether the amount of rain or snow is ≥ α.
[0136] In this embodiment, the rainfall sensor determines whether the rainfall exceeds the threshold α. If so, step S408 is executed, otherwise, step S405 is executed.
[0137] For example, if the rainfall does not reach the threshold α, the rain sensor cannot be awakened, and the sleep time condition of the rain sensor needs to be judged.
[0138] Step S404, determine whether the amount of rain or snow is ≥α.
[0139] In this embodiment, the rainfall sensor determines whether the rainfall exceeds the threshold α condition, and if so, executes step S408, otherwise executes step S401.
[0140] For example, if the rainfall does not reach the threshold α, the rain sensor cannot be awakened and continues to sleep.
[0141] Step S405, determining whether the sleep time is ≥ T1.
[0142] In this embodiment, the rain sensor determines whether the sleep time exceeds the condition T1, and if so, executes step S406, otherwise executes step S401.
[0143] For example, when the weather is cloudy, rainy or snowy, if the rainfall sensor sleep time has not reached T1, the controller cannot be awakened and continues to sleep.
[0144] Step S406, determining whether the amount of rain or snow is ≥ β.
[0145] In this embodiment, the rainfall sensor determines whether the rainfall exceeds the threshold β condition, and if so, executes step S408, otherwise executes step S407.
[0146] For example, when the weather is cloudy, rainy or snowy, the controller wakes up when the rain sensor sleeps for more than T1. If the rainfall does not reach the threshold β, there is no need to wake up the body controller, window and sunroof controller.
[0147] Step S407, determining whether the sleep time is ≥ T2.
[0148] In this embodiment, the rain sensor determines whether the wake-up time exceeds the condition T2, and if so, executes step S401, otherwise executes step S406.
[0149] For example, when the weather is cloudy, rainy or snowy, after the controller wakes up at a scheduled time, if the rainfall does not reach the threshold β, the rain sensor cannot sleep immediately, and continues to wake up to detect the rainfall value before the wake-up time reaches T2.
[0150] It should be noted that the above steps S402 to S407 are used to implement the above Figure 2 Step S207 in .
[0151] In the above steps S401 to S407, the awakening condition of the rain sensor is judged so that the rain sensor is awakened only when the awakening condition is met, thereby achieving the purpose of reducing the energy consumption of the vehicle.
[0152] Example 3
[0153] According to an embodiment of the present invention, a vehicle window control device is also provided. It should be noted that the vehicle window control device can be used to execute the vehicle window control method in embodiment 1.
[0154] Figure 5 Schematic diagram of a vehicle window control device according to an embodiment of the present invention. Figure 5 As shown, the vehicle window control device 500 may include: a collection unit 501 , a first control unit 502 , a first determination unit 503 , a second determination unit 504 and a second control unit 505 .
[0155] The collecting unit 501 is used to collect the status information of the vehicle.
[0156] The first control unit 502 is used to control the start-up of the automatic window closing system in response to the vehicle status information satisfying the start-up condition of the automatic window closing system, wherein the start-up condition is used to indicate the condition for starting the automatic window closing system when the vehicle's automatic window closing system is in a dormant state.
[0157] The first determining unit 503 is used to determine the weather conditions of the environment where the vehicle is located when the automatic window closing system is started and enters the working state.
[0158] The second determining unit 504 is used to determine the window control instruction of the vehicle based on a weather index of the weather state, wherein the weather index is used to indicate the severity of the weather state.
[0159] The second control unit 505 is used to control the window status of all windows of the vehicle in response to the window control instruction.
[0160] Optionally, the vehicle's status information includes at least: the vehicle's startup status, the vehicle's passenger information, the vehicle's key status, the vehicle's door status, and the vehicle's window status. The window control device 500 also includes: a third determination unit for determining that the vehicle's status information meets the startup conditions of the automatic window closing system in response to the vehicle's startup status indicating that the vehicle is in an off state, the vehicle's passenger information indicates that there are no passengers in the vehicle, the vehicle's key status indicates that the vehicle's key is located inside the vehicle, the vehicle's door status indicates that the vehicle's doors are unlocked, and the vehicle's window status indicates that the vehicle has windows that are not closed; or, a fourth determination unit for determining that the vehicle's status information meets the startup conditions of the automatic window closing system in response to the vehicle's startup status indicating that the vehicle is in an off state, the vehicle's passenger information indicates that there are no passengers in the vehicle, the vehicle's key status indicates that the vehicle's key is outside the vehicle, and the vehicle's window status indicates that the vehicle has windows that are not closed.
[0161] Optionally, the window control device 500 also includes: an acquisition unit, used to obtain the length of time the occupant stays in the vehicle in response to the vehicle's startup status indicating that the vehicle is in an off state and the occupant information inside the vehicle indicating that there is a occupant inside the vehicle; a fifth determination unit, used to determine that the vehicle's status information does not meet the start-up conditions of the automatic window closing system in response to the stay time being greater than a stay time threshold; and a third control unit, used to control the automatic window closing system to continue to be in a dormant state when the vehicle's status information does not meet the start-up conditions of the automatic window closing system.
[0162] Optionally, the window control device 500 also includes: a sixth determination unit, for determining that the vehicle status information does not meet the start-up conditions of the automatic window closing system in response to the vehicle's start-up status indicating that the vehicle is in an off state, the occupant information inside the vehicle indicating that there are no occupants inside the vehicle, the vehicle's key status indicating that the vehicle's key is outside the vehicle, and the vehicle's door status indicating that the vehicle's door is in a locked state; and a fourth control unit, for controlling the automatic window closing system to continue to be in a dormant state when the vehicle's status information does not meet the start-up conditions of the automatic window closing system.
[0163] Optionally, the weather indicators include at least the arrival time of rain and snow and the amount of rain and snow. The second determination unit 504 includes: a first determination module, used to determine that the vehicle's window control instruction is to control the window state of all windows of the vehicle to be in a closed state in response to the arrival time of rain and snow being less than a first duration and the amount of rain and snow being greater than a first threshold.
[0164] Optionally, the second control unit 505 includes: a first wake-up module, used to respond to the vehicle's window control instruction to control the window state of all windows of the vehicle to be in a closed state, and wake up the rain sensor by forcibly waking up the rain sensor function through rain and snow in the automatic window closing system; a second wake-up module, used to wake up the window controller in the automatic window closing system through the rain sensor; a first control module, used to control the window controller to execute the window control instruction to control the window state of all windows of the vehicle to be in a closed state.
[0165] Optionally, the vehicle window control device 500 also includes: an acquisition module, used to obtain the sleep time of the rain sensor in the sleep state in response to the amount of rain and snow being less than a first threshold and the rain sensor being in the sleep state; and a second control module, used to control the rain sensor to continue to be in the sleep state in response to the sleep time being not greater than the second time.
[0166] Optionally, the window control device 500 also includes: a first wake-up unit, used to wake up the rain sensor in response to the sleep time being greater than the second time and the amount of rain and snow being greater than a second threshold, wherein the second threshold is less than the first threshold; a second wake-up unit, used to wake up the window controller in the automatic window closing system through the rain sensor; and a fifth control unit, used to control the window controller to execute the window control instruction.
[0167] In this embodiment, by collecting the vehicle's status information, it is determined whether the vehicle's status information meets the start-up conditions of the automatic window closing system. If the conditions are met, the weather conditions of the vehicle's environment are further obtained, and the control instructions of the windows are determined according to the weather indicators of the weather conditions. In this way, when encountering rainy and snowy weather, the window status of the vehicle's windows can be automatically controlled, thereby avoiding water ingress into the vehicle in bad weather, avoiding property loss of the user, improving the safety of the entire vehicle, improving the body function, and improving the user's car experience, and realizing the improvement of the intelligent control level of the vehicle's windows, thereby solving the technical problem of the low intelligent control level of the vehicle's windows. Moreover, the automatic window closing system will only be started when the start-up conditions are met, thereby achieving the purpose of reducing vehicle energy consumption.
[0168] Example 4
[0169] An embodiment of the present application further provides an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein when the program is running, the vehicle window control method in each embodiment of the present invention is executed.
[0170] Example 5
[0171] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the vehicle window control method in each embodiment of the present invention.
[0172] Example 6
[0173] The embodiments of the present application further provide a computer program product, including a computer program, which implements the vehicle window control method in each embodiment of the present invention when executed by a processor.
[0174] Example 7
[0175] An embodiment of the present application further provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the vehicle window control method in each embodiment of the present invention is implemented.
[0176] Example 8
[0177] The embodiments of the present application further provide a computer program, which, when executed by a processor, implements the vehicle window control method in each of the embodiments of the present invention described above.
[0178] The embodiments of the present application also provide a vehicle, which is used to execute the vehicle window control method in each embodiment of the present application.
[0179] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0180] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0181] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0182] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0183] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0184] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0185] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for controlling a vehicle window, It is characterized in that include: Collect vehicle status information; In response to the state information of the vehicle satisfying a start condition of the automatic window closing system, controlling the automatic window closing system to start, wherein the start condition is used to indicate a condition for starting the automatic window closing system when the automatic window closing system of the vehicle is in a dormant state; When the automatic window closing system is activated and enters a working state, determining the weather conditions of the environment in which the vehicle is located; Determining a window control instruction of the vehicle based on a weather index of the weather state, wherein the weather index is used to indicate the severity of the weather state; In response to the window control instruction, the window states of all windows of the vehicle are controlled.
2. The method according to claim 1, It is characterized in that The vehicle status information includes at least: the vehicle startup status, the vehicle passenger information, the vehicle key status, the vehicle door status, and the vehicle window status. The method further includes: In response to the vehicle's startup status indicating that the vehicle is in an off state, the vehicle's occupant information indicating that there is no occupant in the vehicle, the vehicle's key status indicating that the vehicle's key is located in the vehicle, the vehicle's door status indicating that the vehicle's door is unlocked, and the vehicle's window status indicating that the vehicle has a window that is not closed, determining that the vehicle's status information satisfies the startup condition of the automatic window closing system; or, In response to the vehicle's startup status indicating that the vehicle is in the off state, the occupant information inside the vehicle indicating that there is no occupant inside the vehicle, the vehicle's key status indicating that the vehicle's key is outside the vehicle, and the vehicle's window status indicating that the vehicle has a window that is not closed, it is determined that the vehicle's status information meets the startup conditions of the automatic window closing system.
3. The method according to claim 2, It is characterized in that The method further comprises: In response to the start-up state of the vehicle indicating that the vehicle is in the ignition-off state, and the passenger information inside the vehicle indicating that there is a passenger inside the vehicle, obtaining a length of time that the passenger stays inside the vehicle; In response to the stay time being greater than a stay time threshold, determining that the state information of the vehicle does not meet the start condition of the automatic window closing system; When the state information of the vehicle does not satisfy the start condition of the automatic window closing system, the automatic window closing system is controlled to continue to be in the dormant state.
4. The method according to claim 2, It is characterized in that The method further comprises: In response to the start-up state of the vehicle indicating that the vehicle is in the ignition-off state, the passenger information inside the vehicle indicating that there is no passenger inside the vehicle, the key state of the vehicle indicating that the key of the vehicle is outside the vehicle, and the door state of the vehicle indicating that the door of the vehicle is in a locked state, determining that the state information of the vehicle does not meet the start-up condition of the automatic window closing system; When the state information of the vehicle does not meet the start condition of the automatic window closing system, the automatic window closing system is controlled to continue to be in the dormant state.
5. The method according to claim 1, It is characterized in that The weather index at least includes the time when rain or snow is coming and the amount of rain or snow. Based on the weather index of the weather state, determining the window control instruction of the vehicle includes: In response to the rain and snow arrival time being less than a first duration and the rain and snow amount being greater than a first threshold, it is determined that the window control instruction of the vehicle is to control the window state of all windows of the vehicle to be in a closed state.
6. The method according to claim 5, It is characterized in that In response to the window control instruction, controlling the window states of all windows of the vehicle includes: In response to the window control instruction of the vehicle controlling the window state of all windows of the vehicle to be in a closed state, the rain sensor is awakened by a rain and snow forced awakening rain sensor function in the automatic window closing system; By means of the rain sensor, a window controller in the automatic window closing system is awakened; The window controller is controlled to execute the window control instruction to control the window states of all windows of the vehicle to be in the closed state.
7. The method according to claim 5, It is characterized in that The method further comprises: In response to the amount of rain and snow being less than the first threshold value and the rain sensor being in a sleep state, obtaining a sleep time duration of the rain sensor being in a sleep state; In response to the sleep time being not greater than a second time, controlling the rain sensor to remain in the sleep state.
8. The method according to claim 7, It is characterized in that The method further comprises: In response to the sleep time being greater than the second time and the amount of rain and snow being greater than a second threshold, waking up the rain sensor, wherein the second threshold is less than the first threshold; By means of the rain sensor, a window controller in the automatic window closing system is awakened; Control the vehicle window controller to execute the vehicle window control instruction.
9. A vehicle window control device, It is characterized in that include: A collection unit, used for collecting status information of the vehicle; a first control unit, configured to control the automatic window closing system to start in response to the state information of the vehicle satisfying a start condition of the automatic window closing system, wherein the start condition is used to indicate a condition for starting the automatic window closing system when the window of the vehicle is in an unclosed state; A first determining unit, configured to determine the weather conditions of the environment in which the vehicle is located when the automatic window closing system is activated and enters a working state; a second determining unit, configured to determine a window control instruction of the vehicle based on a weather index of the weather state, wherein the weather index is used to indicate the severity of the weather state; The second control unit is used to control the window status of all windows of the vehicle in response to the window control instruction.
10. An electronic device, It is characterized in that include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 8 when running.
11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 8.
12. A computer program product, It is characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
13. A vehicle, It is characterized in that The vehicle is used to perform the method according to any one of claims 1 to 8.
