Automatic window closing method, system, computer and storage medium

Through real-time status judgment and external environment analysis, the automatic closing of the car windows solves the problem of rainwater entering caused by the owner's windows not closing when leaving the car, realizing interior protection and automatic window closing.

CN116397998BActive Publication Date: 2025-08-22JIANGLING MOTORS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310163270.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2025-08-22
Estimated Expiration
2043-02-24

AI Technical Summary

Technical Problem

The owner did not close the windows when leaving the car, causing rainwater to enter the car and causing losses.

Method used

By obtaining the real-time status of the vehicle, we determine whether the driver is leaving the vehicle, and automatically close the window when it is determined that the window is open and the outside is raining, we make rainfall judgments based on the external precipitation speed and time, and perform window closing operations when the unmanned vehicle.

Benefits of technology

Effectively avoid rainwater entering the car, protect the items and circuits in the car, and improve the automation of window closing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116397998B_ABST
    Figure CN116397998B_ABST
Patent Text Reader

Abstract

The present invention provides an automatic window closing method, system, computer, and storage medium. The automatic window closing method includes the following steps: determining whether the driver has left the vehicle by acquiring the real-time status of the vehicle; if the driver has left the vehicle, acquiring the vehicle window status and determining whether the window status is open; if the window status is open, acquiring the external precipitation speed and external precipitation time of the vehicle; determining whether the exterior of the vehicle is in a rainy state based on the external precipitation speed and external precipitation time; and controlling the vehicle windows to close if the exterior of the vehicle is in a rainy state. By acquiring the real-time status of the vehicle and the vehicle window status, determining whether automatic window closing is required, determining whether rain is present based on the external precipitation speed and external precipitation time, and automatically closing the vehicle windows based on the determination result, rainwater can be effectively prevented from entering the interior of the vehicle through the open windows and affecting the vehicle status.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to an automatic window closing method, system, computer and storage medium. Background Art

[0002] After more than ten years of rapid development, my country's automobile market has seen the number of motor vehicles in the country exceed 400 million. As one of the means of transportation, automobiles have become popular in human society.

[0003] When using a car, car drivers often encounter the situation of temporarily stopping on the roadside to do something. Because the time is short, they often do not close the windows after closing the door; or when they need to leave the car for a long time, they forget to close the windows, or only close some of the windows; in hot weather, in order to reduce the temperature inside the car under the sun, they will also open the windows after turning off the engine.

[0004] When the car owner leaves the car and does not close the windows, if the weather suddenly turns bad and it starts to rain, rain will enter the car through the open windows, soaking the items in the car and causing losses to the car owner. Summary of the Invention

[0005] The embodiments of the present application provide an automatic window closing method, system, computer, and storage medium to solve the technical problem in the prior art that, because the owner does not close the windows when leaving the car, rainwater enters the car through the open windows when it rains, causing losses to the owner.

[0006] In a first aspect, an embodiment of the present application provides an automatic window closing method, comprising the following steps:

[0007] By obtaining the real-time status of the vehicle, determine whether the driver has left the vehicle;

[0008] If the driver is in the state of leaving the vehicle, obtaining the window status of the vehicle and determining whether the window status is open;

[0009] If the window state is open, obtaining the external precipitation speed and external precipitation time of the vehicle;

[0010] determining whether the outside of the vehicle is in a rainy state based on the external precipitation speed and the external precipitation time;

[0011] If it is raining outside the vehicle, the windows of the vehicle are controlled to close.

[0012] Furthermore, the step of determining whether the driver has left the vehicle by acquiring the real-time status of the vehicle includes:

[0013] Get the vehicle's engine status, lock status, and parking brake status;

[0014] Whether the driver has left the vehicle is determined based on the engine status, the vehicle lock status, and the parking brake status.

[0015] Furthermore, the step of obtaining the window status of the vehicle and determining whether the window status is open includes:

[0016] Obtaining a window opening of the vehicle, and comparing the window opening with an opening threshold;

[0017] If the window opening is greater than the opening threshold, it is determined that the window state is an open state.

[0018] Furthermore, the step of determining whether the outside of the vehicle is in a rainy state based on the external precipitation speed and the external precipitation time includes:

[0019] Comparing the external precipitation speed with a rain speed threshold to complete a rainfall determination;

[0020] Determining whether the external precipitation time exceeds a limited time to complete a secondary rainfall determination;

[0021] By completing the first rainfall determination and the second rainfall determination, the rainfall state determination outside the vehicle is completed.

[0022] Furthermore, after the step of determining whether the outside of the vehicle is in a raining state based on the external precipitation speed and the external precipitation time, the method further includes:

[0023] If the outside of the vehicle is not in a rainy state, an external wind speed signal of the vehicle is acquired, and rainfall prediction is performed based on the external wind speed signal.

[0024] Furthermore, the step of performing rainfall prediction based on the external wind speed signal includes:

[0025] Determining whether the external wind speed signal is greater than a preset wind speed;

[0026] If the external wind speed signal is greater than the preset wind speed, obtaining weather information for the day;

[0027] Rainfall prediction is performed based on the weather information of the day, and the window closing time of the vehicle is preset.

[0028] Furthermore, if it is raining outside the vehicle, the step of controlling the vehicle windows to close is specifically:

[0029] If it is raining outside the vehicle, obtaining the status of people inside the vehicle to determine whether there is no one inside the vehicle;

[0030] If the interior of the vehicle is unoccupied, the windows of the vehicle are controlled to close.

[0031] In a second aspect, an embodiment of the present application provides an automatic window closing system, which is applied to the automatic window closing method in the above technical solution, and the system includes:

[0032] The startup module is used to determine whether the driver has left the vehicle by obtaining the real-time status of the vehicle;

[0033] an identification module, configured to obtain the window status of the vehicle and determine whether the window is open if the driver is in the vehicle-leaving state;

[0034] a monitoring module, configured to obtain an external precipitation speed and an external precipitation time of the vehicle if the vehicle window is in an open state;

[0035] a determination module, configured to determine whether the outside of the vehicle is in a rainy state based on the external precipitation speed and the external precipitation time;

[0036] The first execution module is configured to control the vehicle windows to close if it is raining outside the vehicle.

[0037] In a third aspect, an embodiment of the present application provides a computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the automatic window closing method as described in the first aspect above is implemented.

[0038] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the program is executed by a processor, the automatic window closing method as described in the first aspect above is implemented.

[0039] Compared with the related art, the beneficial effect of the present invention is that: by obtaining the real-time status of the vehicle and the status of the vehicle's windows, it can be determined whether the vehicle's windows need to be automatically closed; when the vehicle is in a parked state and the windows are not closed, the external environmental conditions of the vehicle are analyzed by obtaining the external precipitation speed and the external precipitation time to determine whether it is raining, and the vehicle's windows are automatically closed based on the judgment result; when the driver leaves the vehicle and does not close the windows, it can effectively prevent rain from entering the interior of the vehicle through the open windows and affecting the status of the vehicle; if it is not determined to be a rainy state, the external wind speed signal is used to trigger the acquisition of the weather information of the day, and then the rainfall forecast of the day is intercepted to realize the rainfall forecast, and the window closing time is preset to further improve the degree of automation of window closing.

[0040] The details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 Flowchart of the automatic window closing method in the first embodiment of the present invention;

[0042] Figure 2 This is a flow chart of the automatic window closing method according to the second embodiment of the present invention;

[0043] Figure 3 This is a structural block diagram of an automatic window closing system in a third embodiment of the present invention;

[0044] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solutions and advantages of this application more clearly understood, the present application is described and illustrated below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely used to explain this application and are not intended to limit this application. Based on the embodiments provided in this application, all other embodiments obtained by those of ordinary skill in the art without making any creative efforts are within the scope of protection of this application.

[0046] Obviously, the drawings described below are merely examples or embodiments of the present application. Those skilled in the art can, without inventive effort, apply the present application to other similar scenarios based on these drawings. Furthermore, it is also understood that, although the effort involved in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, changes in design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as an insufficiency of the content disclosed in this application.

[0047] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments unless there is a conflict.

[0048] See also Figure 1 The first embodiment of the present invention provides an automatic window closing method, which includes the following steps:

[0049] Step S10: determining whether the driver has left the vehicle by acquiring the real-time status of the vehicle;

[0050] When the driver is out of the vehicle, the operating conditions of some devices in the vehicle are different from those when the driver is in the vehicle. By obtaining the operating conditions of several devices, that is, the real-time status of the vehicle, it is possible to determine whether the driver stays in the vehicle, and then perform subsequent window closing determinations. In the operating state or the parked state, since the driver still stays inside the vehicle, there is no need to perform automatic window closing operations. By determining whether the vehicle is in a parked state, energy consumption can be effectively saved.

[0051] Step S20: If the driver is in the vehicle-leaving state, obtaining the vehicle window status and determining whether the window status is open;

[0052] When the driver is leaving the vehicle, the window status of the vehicle is obtained to further determine whether an automatic window closing operation is required. If the window status is closed, it means that the driver has completed the window closing action independently, and there is no need to perform subsequent window closing determination, which further saves the vehicle's energy consumption.

[0053] Step S30: If the window is in the open state, obtaining the external precipitation speed and external precipitation time of the vehicle;

[0054] When the driver is leaving the vehicle and the window is in the open state, it is determined that a subsequent automatic window closing judgment needs to be performed. By obtaining the external precipitation speed of the vehicle, the contact speed of the vehicle with water can be obtained, and the contact time of the vehicle with water can be obtained by the external precipitation time.

[0055] Step S40: determining whether it is raining outside the vehicle based on the external precipitation speed and the external precipitation time;

[0056] Step S50: If it is raining outside the vehicle, control the vehicle windows to close.

[0057] After completing the analysis of the external environmental conditions of the vehicle through the external precipitation speed and the external precipitation time, when it is determined that the external environmental conditions are raining, the vehicle windows are automatically closed according to the judgment result. When the driver leaves the vehicle without closing the windows, rainwater can be effectively prevented from entering the interior of the vehicle through the open windows, soaking the items in the vehicle or immersing the circuits and equipment in the vehicle, thereby avoiding affecting the condition of the vehicle and protecting the property safety of the owner.

[0058] See also Figure 2 The second embodiment of the present invention provides an automatic window closing method, which includes the following steps:

[0059] Step S100: Obtain the vehicle's engine status, lock status, and parking brake status;

[0060] Step S101: determining whether the driver has left the vehicle based on the engine status, the vehicle lock status, and the parking brake status;

[0061] The engine status includes a start state and a stop state, the vehicle lock status includes an unlocked state and a locked state, and the handbrake status includes an up state and a down state. The combination of the engine status, the vehicle lock status, and the handbrake status varies when the vehicle is in different driving states, and the driving states include a running state, a parked state, and a stopped state.

[0062] Under normal circumstances, when the engine is in the starting state, the lock is in the locked state, and the handbrake is in the lowered state, the vehicle is in the running state, and the driver has not left the vehicle; when the engine is in the starting state, the lock is in the locked state, and the handbrake is in the pulled state, the vehicle is in the parked state, and the driver has not left the vehicle; when the engine is in the stopping state, the lock is in the unlocked state, and the handbrake is in the pulled state, the vehicle is in the parked state, and the driver has not left the vehicle. However, when the engine is in the stopping state, the lock is in the locked state, and the handbrake is in the pulled state, the vehicle is also in the parked state, but the driver has left the vehicle. It is understandable that the accuracy of the judgment can be further improved by continuing to obtain the brake status, etc.

[0063] Step S102: If the driver is in a state of leaving the vehicle, obtaining the window opening of the vehicle, and comparing the window opening with an opening threshold;

[0064] Step S103: If the window opening is greater than the opening threshold, determining that the window is in an open state;

[0065] Preferably, the opening threshold is 3-5%. The window opening is the opening of any window of the vehicle. Generally, a vehicle has four side windows and one sunroof. When the driver leaves the vehicle, the window openings of all windows are obtained and compared with the opening threshold respectively.

[0066] During the comparison, if the window opening of any window is greater than the opening threshold, it is determined that the window state of the vehicle is open, and a subsequent window closing determination is required.

[0067] Step S104: if the window is in the open state, obtaining the external precipitation speed and external precipitation time of the vehicle;

[0068] Step S105: comparing the external precipitation speed with the rain speed threshold to complete a rainfall determination;

[0069] Preferably, the external precipitation speed and the external precipitation time are obtained by a sensor. The sensor detects rainfall once at a detection interval of 10 to 12 seconds. If the sensor detects precipitation, a rainfall determination is performed. The external precipitation speed refers to the rate at which rainwater contacts the rain sensor. If the external precipitation speed is greater than a preset rain speed threshold, a rainfall determination is made.

[0070] Step S106: determining whether the external precipitation time exceeds a limited time, so as to complete a secondary rainfall determination;

[0071] Step S107: completing the first rainfall determination and the second rainfall determination to complete the rainfall state determination outside the vehicle;

[0072] It is understandable that the sensor can detect precipitation in a variety of situations, including accidental human spillage or the passing of a sprinkler truck. After the first determination of a rainfall state, the second rainfall determination is performed. The sensor begins timing and counts the duration of the rainfall. The sensor's continuous statistical time interval is 1 to 2 seconds, that is, the timing starts from the last time precipitation was detected. If precipitation is detected again within 1 to 2 seconds, the count continues as the external precipitation time. When the external precipitation time exceeds the specified time, a second determination is made as a rainfall state. Preferably, the specified time is 10 to 15 seconds. If both the first and second rainfall determinations indicate a rainfall state, it is considered that the vehicle is in a rainfall state.

[0073] Step S108: If it is raining outside the vehicle, obtain the status of the people inside the vehicle and determine whether there is no one inside the vehicle;

[0074] Step S109: If the interior of the vehicle is unoccupied, controlling the vehicle windows to close;

[0075] In some cases, after the driver's leaving status is determined, there may still be other people such as children or the elderly staying in the car. If the windows are closed directly at this time, the stranded people may be easily trapped inside the vehicle. If the detention time is too long, it may easily lead to safety hazards for the stranded people. Therefore, when executing the step of turning off the car lights, it is necessary to determine whether the interior of the vehicle is unoccupied. If so, the windows will be closed.

[0076] Step S110: If the outside of the vehicle is not in a rainy state, an external wind speed signal of the vehicle is obtained, and rainfall prediction is performed based on the external wind speed signal.

[0077] Generally, if rain is about to fall, the wind speed will be stronger than normal. If, after completing the first and second rainfall determinations, no rainfall is determined, then the vehicle is deemed to be outside a non-raining state. At this point, an external wind speed signal is obtained to determine whether it exceeds a preset wind speed. If so, the vehicle obtains weather information for the day. If the external wind speed signal exceeds the preset wind speed, then the vehicle determines that rain is likely. A rainfall forecast is generated based on the weather information for the day, and a window closing time is preset for the vehicle. The weather information for the day includes weather information for various time periods of the day. If a time point in the weather information indicates rain, that time point is preset as the window closing time for the vehicle. As can be understood, the vehicle windows will close upon reaching the window closing time. Preferably, the vehicle's window closing information and the preset information of the vehicle's window closing time can be transmitted to the driver's mobile phone app through the cloud to realize the notification function. The driver can also stop the execution operation through the mobile phone app, which effectively improves the degree of automation of window closing.

[0078] See also Figure 3 The third embodiment of the present invention provides an automatic window closing system, which is applied to the automatic window closing method described in the above embodiments. Details already described will not be repeated here. As used below, the terms "module," "unit," "subunit," etc. may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0079] The system comprises:

[0080] The starting module 10 is used to determine whether the driver has left the vehicle by obtaining the real-time status of the vehicle;

[0081] The startup module 10 includes:

[0082] The first unit is used to obtain the vehicle's engine status, lock status and parking brake status;

[0083] The second unit is used to determine whether the driver has left the vehicle according to the engine status, the vehicle lock status and the parking brake status;

[0084] The recognition module 20 is used to obtain the window status of the vehicle and determine whether the window status is open if the driver is in the vehicle exit state;

[0085] The identification module 20 includes:

[0086] a third unit, configured to obtain a window opening of the vehicle and compare the window opening with an opening threshold;

[0087] a fourth unit, configured to determine that the window is in an open state if the window opening is greater than the opening threshold;

[0088] A monitoring module 30 is configured to obtain an external precipitation speed and an external precipitation time of the vehicle if the vehicle window is in an open state;

[0089] The determination module 40 is configured to determine whether the outside of the vehicle is in a rainy state based on the external precipitation speed and the external precipitation time.

[0090] The determination module 40 includes:

[0091] The fifth unit is configured to compare the external precipitation speed with a rain speed threshold to complete a rainfall determination;

[0092] The sixth unit is used to determine whether the external precipitation time exceeds a limited time to complete the secondary rainfall determination;

[0093] The seventh unit is configured to complete the judgment of the rainfall state outside the vehicle by completing the first rainfall judgment and the second rainfall judgment.

[0094] The first execution module 50 is used to control the vehicle windows to close if it is raining outside the vehicle.

[0095] The first execution module 50 is specifically configured to obtain the status of the occupants in the vehicle and determine whether the interior of the vehicle is unoccupied if the vehicle is in a rainy state.

[0096] If the interior of the vehicle is unoccupied, the windows of the vehicle are controlled to close.

[0097] It is understandable that the system further includes a second execution module 60, which is configured to obtain an external wind speed signal of the vehicle if the external state of the vehicle is not raining, and perform rainfall prediction based on the external wind speed signal;

[0098] The second execution module 60 includes:

[0099] An eighth unit is configured to determine whether the external wind speed signal is greater than a preset wind speed;

[0100] A ninth unit is configured to obtain weather information for the day if the external wind speed signal is greater than the preset wind speed;

[0101] The tenth unit is used to make a rainfall forecast based on the weather information of the day and preset the window closing time of the vehicle.

[0102] The present invention also provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the automatic window closing method as described in the above technical solution when executing the computer program.

[0103] The present invention also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the automatic window closing method as described in the above technical solution is implemented.

[0104] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0105] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. An automatic window closing method, characterized in that: The following steps are involved: By obtaining the real-time status of the vehicle, determine whether the driver has left the vehicle; If the driver is in the state of leaving the vehicle, obtaining the window status of the vehicle and determining whether the window status is open; If the window state is open, obtaining the external precipitation speed and external precipitation time of the vehicle; determining whether the outside of the vehicle is in a raining state according to the external precipitation speed and the external precipitation time; If it is raining outside the vehicle, controlling the windows of the vehicle to close; If the outside of the vehicle is not in a rainy state, obtaining an external wind speed signal of the vehicle, and performing rainfall prediction based on the external wind speed signal; The step of performing rainfall prediction based on the external wind speed signal comprises: Determining whether the external wind speed signal is greater than a preset wind speed; If the external wind speed signal is greater than the preset wind speed, obtaining weather information for the day; Rainfall prediction is performed based on the weather information of the day, and the window closing time of the vehicle is preset.

2. The automatic window closing method according to claim 1, characterized in that: The step of determining whether the driver has left the vehicle by acquiring the real-time status of the vehicle includes: Get the vehicle's engine status, lock status, and parking brake status; Whether the driver has left the vehicle is determined based on the engine status, the vehicle lock status, and the parking brake status.

3. The automatic window closing method according to claim 1, characterized in that: The step of obtaining the window status of the vehicle and determining whether the window status is open includes: Obtaining a window opening of the vehicle, and comparing the window opening with an opening threshold; If the window opening is greater than the opening threshold, it is determined that the window state is an open state.

4. The automatic window closing method according to claim 1, characterized in that: The step of determining whether the outside of the vehicle is in a rainy state based on the external precipitation speed and the external precipitation time includes: Comparing the external precipitation speed with a rain speed threshold to complete a rainfall determination; Determining whether the external precipitation time exceeds a limited time to complete a secondary rainfall determination; By completing the first rainfall determination and the second rainfall determination, the rainfall state determination outside the vehicle is completed.

5. The automatic window closing method according to claim 1, characterized in that: If it is raining outside the vehicle, the step of controlling the vehicle windows to close is specifically: If it is raining outside the vehicle, obtaining the status of people inside the vehicle to determine whether there is no one inside the vehicle; If the interior of the vehicle is unoccupied, the windows of the vehicle are controlled to close.

6. An automatic window closing system, applied to the automatic window closing method according to any one of claims 1 to 5, characterized in that: The system comprises: The startup module is used to determine whether the driver has left the vehicle by obtaining the real-time status of the vehicle; an identification module, configured to obtain the window status of the vehicle and determine whether the window is open if the driver is in the vehicle-leaving state; a monitoring module, configured to obtain an external precipitation speed and an external precipitation time of the vehicle if the vehicle window is in an open state; a determination module, configured to determine whether the outside of the vehicle is in a rainy state based on the external precipitation speed and the external precipitation time; A first execution module is configured to control the vehicle windows to close if it is raining outside the vehicle; a second execution module, configured to obtain an external wind speed signal of the vehicle if it is not raining outside the vehicle, and perform rainfall prediction based on the external wind speed signal; The second execution module includes: An eighth unit is configured to determine whether the external wind speed signal is greater than a preset wind speed; A ninth unit is configured to obtain weather information of the day if the external wind speed signal is greater than the preset wind speed; The tenth unit is used to make a rainfall forecast based on the weather information of the day and preset the window closing time of the vehicle.

7. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the automatic window closing method according to any one of claims 1 to 5 is implemented.

8. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the automatic window closing method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Vehicle window closing prompting method and device and storage medium

    CN113442828A

  • Apparatus and method for controlling opening and closing of vehiicle windows

    US20150134207A1