Vehicle window control method, device and equipment, medium and vehicle

Automatically controlling the windows by comparing the parameters of the on-board capacitor solves the problem that the windows cannot be automatically closed in rainy weather, improves driving safety and experience, and simplifies recognition of rainy weather environments.

CN118855342APending Publication Date: 2024-10-29BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310462517.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In a rainy environment, when the vehicle windows are open, rainwater enters the vehicle, affecting driving safety and experience, and manually closing the windows will reduce driving safety and experience.

Method used

The rainy weather environment is identified through the on-board capacitance on the vehicle, and the comparison of the reference capacitance parameters and the monitored capacitance parameters is used to automatically control the closing of the windows, simplifying the rainy weather environment recognition and window control, and improving the recognition accuracy and driving safety.

Benefits of technology

No manual operation is required by the user, and the car windows automatically close after detecting rainy weather conditions, which improves driving safety and experience and simplifies the rainy weather environment recognition process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118855342A_ABST
    Figure CN118855342A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle window control method and device, equipment, a medium and a vehicle, and the method comprises the steps: starting a rainy day environment recognition mode of the vehicle, and obtaining a reference capacitance parameter of a vehicle-mounted capacitor of the vehicle within a first time range after the rainy day environment recognition mode is started; monitoring capacitance parameters of the vehicle-mounted capacitor in a second time range are obtained, and the duration of the second time range is the same as that of the first time range; acquiring a parameter comparison relationship between the reference capacitance parameter and the monitoring capacitance parameter, and determining whether the vehicle is in a rainy environment according to the parameter comparison relationship; in response to determining that the vehicle is in the rainy environment, a window of the vehicle is controlled to a window closed state. The accuracy degree of recognition of the vehicle in the rainy day environment is improved, the vehicle window of the vehicle is autonomously controlled to be in the vehicle window closing state after it is determined that the vehicle is in the rainy day environment, the safety degree of vehicle driving is improved, a user does not need to close the vehicle window, and the driving experience of the user is improved.
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, and in particular to the field of intelligent vehicles such as modern sensing and information fusion. Background Art

[0002] With the development of technology, the driving experience and safety of vehicles are becoming more and more important. In the daily driving process of the vehicle, the user may need to drive the vehicle in rainy weather. When the windows of the vehicle are open in rainy weather, rain will enter the vehicle, which will affect the user's driving to a certain extent.

[0003] In the implementation, the user can manually close the window. However, when manually closing the window, the user still needs to drive the vehicle at the same time. In this scenario, manually closing the window has a certain degree of impact on the safety of the user driving the vehicle, and the driving experience is poor. Summary of the invention

[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the first aspect of the present application proposes a vehicle window control method.

[0006] A second aspect of the present application provides a vehicle window control device.

[0007] A third aspect of the present application provides an electronic device.

[0008] A fourth aspect of the present application provides a computer-readable storage medium.

[0009] A fifth aspect of the present application provides a vehicle.

[0010] In a first aspect, the present application proposes a window control method, which includes: starting a rainy day environment recognition mode of a vehicle, and obtaining a reference capacitance parameter of the vehicle's on-board capacitance within a first time range after the rainy day environment recognition mode is started; obtaining a monitoring capacitance parameter of the on-board capacitance within a second time range, wherein the second time range is the same length as the first time range; obtaining a parameter comparison relationship between the reference capacitance parameter and the monitoring capacitance parameter, and determining whether the vehicle is in a rainy day environment based on the parameter comparison relationship; in response to determining that the vehicle is in a rainy day environment, controlling the vehicle's windows to a window closed state.

[0011] In addition, the vehicle window control method proposed in the first aspect of the present application may also have the following additional technical features:

[0012] According to an embodiment of the present application, obtaining a monitoring capacitance parameter of an on-board capacitor within a second time range includes: obtaining a touch capacitance value set of the on-board capacitor within the second time range; filtering interference capacitance values ​​in the touch capacitance value set to obtain a monitoring capacitance value in the touch capacitance value set, wherein the interference capacitance value is obtained based on the on-board capacitance in a non-rainy day simulation environment; obtaining a monitoring capacitance variance of the on-board capacitance within the second time range based on the monitoring capacitance value; and obtaining a monitoring capacitance parameter of the on-board capacitance based on the monitoring capacitance value and the monitoring capacitance variance.

[0013] According to one embodiment of the present application, interference capacitance values ​​in a touch capacitance value set are filtered to obtain monitoring capacitance values ​​in the touch capacitance value set, including: performing Kalman filtering on the touch capacitance value set, filtering the interference capacitance values ​​in the touch capacitance value set based on the Kalman filtering to obtain a candidate touch capacitance value set of the vehicle-mounted capacitance; obtaining an average capacitance value of each candidate touch capacitance value in the candidate touch capacitance value set, and determining the average capacitance value as the monitoring capacitance value of the vehicle-mounted capacitance.

[0014] According to an embodiment of the present application, a parameter comparison relationship between a reference capacitance parameter and a monitoring capacitance parameter is obtained, and whether the vehicle is in a rainy day environment is determined based on the parameter comparison relationship, including: if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is greater than the reference capacitance value in the reference capacitance parameter, and the monitoring capacitance variance in the monitoring capacitance parameter is greater than the reference capacitance variance in the reference capacitance parameter, it is determined that the vehicle is in a rainy day environment; if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is less than or equal to the reference capacitance value in the reference capacitance parameter, and / or the monitoring capacitance variance in the monitoring capacitance parameter is less than or equal to the reference capacitance variance in the reference capacitance parameter, it is determined that the vehicle is in a non-rainy day environment.

[0015] According to one embodiment of the present application, in response to determining that a vehicle is in a rainy environment, controlling the vehicle's windows to a window-closed state includes: identifying a current state of the window, and if the current state of the window is identified as an open state, generating a window closing instruction through a capacitive touch panel of the vehicle, and controlling the vehicle's windows to the window-closed state according to the window closing instruction.

[0016] According to one embodiment of the present application, starting a rainy day environment recognition mode of a vehicle includes: monitoring whether an initial capacitance value of an on-board capacitor of the vehicle changes; in response to monitoring that the initial capacitance value changes and the initial capacitance value becomes larger, starting the rainy day environment recognition mode of the vehicle.

[0017] According to one embodiment of the present application, the method also includes: monitoring the number of capacitance value changes of the initial capacitance value of the vehicle-mounted capacitor in the sleep state within a third time range; in response to the number of capacitance value changes being greater than or equal to a preset change number threshold, adjusting the vehicle-mounted capacitor to a wake-up state and maintaining it for a preset time length.

[0018] The second aspect of the present application proposes a window control device, which includes: an acquisition module, used to start the vehicle's rainy day environment recognition mode, and obtain the reference capacitance parameters of the vehicle's on-board capacitance within a first time range after the rainy day environment recognition mode is started; a monitoring module, used to obtain the monitoring capacitance parameters of the on-board capacitance within a second time range, wherein the second time range is the same as the first time range in duration; a determination module, used to obtain a parameter comparison relationship between the reference capacitance parameters and the monitoring capacitance parameters, and determine whether the vehicle is in a rainy day environment based on the parameter comparison relationship; a control module, used to control the vehicle's windows to a closed state in response to determining that the vehicle is in a rainy day environment.

[0019] In addition, the vehicle window control device provided in the second aspect of the present application may also have the following additional technical features:

[0020] According to one embodiment of the present application, the monitoring module is also used to: obtain a touch capacitance value set of the vehicle-mounted capacitor within a second time range; filter the interference capacitance value in the touch capacitance value set to obtain the monitoring capacitance value in the touch capacitance value set, wherein the interference capacitance value is obtained based on the vehicle-mounted capacitor in a non-rainy day simulation environment; obtain the monitoring capacitance variance of the vehicle-mounted capacitor within the second time range based on the monitoring capacitance value; obtain the monitoring capacitance parameter of the vehicle-mounted capacitor based on the monitoring capacitance value and the monitoring capacitance variance.

[0021] According to one embodiment of the present application, the monitoring module is also used to: perform Kalman filtering on the touch capacitance value set, filter the interference capacitance values ​​in the touch capacitance value set based on the Kalman filtering, and obtain a candidate touch capacitance value set of the vehicle-mounted capacitance; obtain the average capacitance value of each candidate touch capacitance value in the candidate touch capacitance value set, and determine the average capacitance value as the monitoring capacitance value of the vehicle-mounted capacitance.

[0022] According to one embodiment of the present application, the determination module is also used to: determine that the vehicle is in a rainy environment if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is greater than the reference capacitance value in the reference capacitance parameter, and the monitoring capacitance variance in the monitoring capacitance parameter is greater than the reference capacitance variance in the reference capacitance parameter; determine that the vehicle is in a non-rainy environment if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is less than or equal to the reference capacitance value in the reference capacitance parameter, and / or the monitoring capacitance variance in the monitoring capacitance parameter is less than or equal to the reference capacitance variance in the reference capacitance parameter.

[0023] According to one embodiment of the present application, the control module is also used to: identify the current state of the vehicle window, if the current state of the vehicle window is identified as the window open state, generate a window closing instruction through the vehicle's capacitive touch panel, and control the vehicle's window to the window closed state according to the window closing instruction.

[0024] According to one embodiment of the present application, the control module is also used to: monitor whether the initial capacitance value of the vehicle's on-board capacitor changes; in response to monitoring that the initial capacitance value changes and the initial capacitance value becomes larger, start the vehicle's rainy environment recognition mode.

[0025] According to one embodiment of the present application, the control module is also used to: monitor the number of capacitance value changes of the initial capacitance value of the vehicle-mounted capacitor in the sleep state within a third time range; in response to the number of capacitance value changes being greater than or equal to a preset change number threshold, adjust the vehicle-mounted capacitor to the wake-up state and maintain it for a preset time length.

[0026] The third aspect of the present application proposes an electronic device, including a memory and a processor; wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the vehicle window control method proposed in the first aspect above.

[0027] The fourth aspect of the present application proposes a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the vehicle window control method proposed in the first aspect.

[0028] A fifth aspect of the present application provides a vehicle, the vehicle comprising a window control device as provided in the second aspect above.

[0029] The window control method and device proposed in the present application start the rainy day environment recognition mode of the vehicle, and after the rainy day environment recognition mode is started, obtain the reference capacitance parameters of the vehicle's on-board capacitor within the first time range, and the monitoring capacitance parameters within the second time range, and determine whether the vehicle is in a rainy day environment based on the parameter comparison relationship between the obtained reference capacitance parameters and the monitoring capacitance parameters. After determining that the vehicle is in a rainy day environment, control the vehicle's windows to the window closed state. In the present application, whether the vehicle is in a rainy day environment is identified by the capacitance parameters of the on-board capacitor on the vehicle, without the need for separate settings of other equipment, simplifying the method for identifying that the vehicle is in a rainy day environment, realizing the identification of a rainy day environment through changes in capacitance parameters, improving the accuracy of identifying that the vehicle is in a rainy day environment, and autonomously controlling the vehicle's windows to the window closed state after determining that the vehicle is in a rainy day environment, improving the safety of vehicle driving, and without the need for users to close the windows, improving the user's driving experience.

[0030] It should be understood that the contents described in this application are not intended to identify the key or important features of the embodiments of this application, nor are they intended to limit the scope of this application. Other features of this application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0032] Figure 1 A schematic flow chart of a vehicle window control method according to an embodiment of the present application;

[0033] Figure 2 A schematic flow chart of a vehicle window control method according to another embodiment of the present application;

[0034] Figure 3 A schematic flow chart of a vehicle window control method according to another embodiment of the present application;

[0035] Figure 4 A schematic flow chart of a vehicle window control method according to another embodiment of the present application;

[0036] Figure 5 A structural schematic diagram of a vehicle window control device according to an embodiment of the present application;

[0037] Figure 6 A schematic structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0038] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0039] The following describes the vehicle window control method, device, equipment, medium and vehicle according to the embodiments of the present application with reference to the accompanying drawings.

[0040] Figure 1 This is a flow chart of a window control method according to an embodiment of the present application, which is applied to a vehicle controller, such as Figure 1 As shown, the method includes:

[0041] S101, starting a rainy day environment recognition mode of the vehicle, and obtaining a reference capacitance parameter of an on-board capacitor of the vehicle within a first time range after the rainy day environment recognition mode is started.

[0042] In an embodiment of the present application, the vehicle is configured with a rainy day environment recognition mode. When the rainy day environment recognition mode is activated, the vehicle can begin to identify whether the environment it is in is a rainy day environment.

[0043] Optionally, there are corresponding start-up conditions for the rainy day environment recognition model. When the relevant information acquired by the vehicle meets the preset start-up conditions, the rainy day environment recognition model on the vehicle can be started.

[0044] Among them, the on-board capacitor configured on the vehicle will produce changes in capacitance parameters due to touch. In this scenario, the changes in capacitance parameters of the on-board capacitor can be monitored to determine whether the vehicle is currently in a rainy environment.

[0045] Optionally, a capacitor configured in a device loaded on a vehicle may be determined as a vehicle-mounted capacitor. For example, a capacitor configured in a hidden capacitive door handle loaded on a door of a vehicle may be determined as a vehicle-mounted capacitor.

[0046] In an embodiment of the present application, a non-rainy day simulation environment can be constructed for the vehicle-mounted capacitor, and the capacitance parameters of the vehicle-mounted capacitor in the simulated environment can be obtained, wherein there is a certain degree of difference between the capacitance parameters of the vehicle-mounted capacitor in the simulated environment and the capacitance parameters in the rainy day environment. Therefore, the capacitance parameters of the vehicle-mounted capacitor in the simulated environment can be determined as the reference capacitance parameters of the vehicle-mounted capacitor.

[0047] S102, obtaining a monitoring capacitance parameter of the vehicle-mounted capacitor within a second time range, wherein the second time range has the same duration as the first time range.

[0048] In an embodiment of the present application, a second time range for monitoring the vehicle-mounted capacitor may be determined based on the duration of the first time range, wherein the duration corresponding to the second time range may be the same as the duration corresponding to the first time range.

[0049] In this scenario, relevant parameters of the on-board capacitor may be monitored within the second time range, and the relevant parameters of the on-board capacitor obtained by monitoring may be used as monitoring capacitance parameters of the on-board capacitor within the second time range.

[0050] S103, obtaining a parameter comparison relationship between a reference capacitance parameter and a monitoring capacitance parameter, and determining whether the vehicle is in a rainy environment according to the parameter comparison relationship.

[0051] In the embodiment of the present application, the reference capacitance parameter and the monitoring capacitance parameter may be compared, and the relationship between the reference capacitance parameter and the monitoring capacitance parameter may be obtained based on the comparison result as the parameter comparison relationship between the two.

[0052] Among them, the reference capacitance parameters are obtained based on the vehicle capacitance in a simulated environment of a non-rainy day. In this scenario, it is possible to identify and determine whether the vehicle's current environment is a rainy day environment based on the parameter comparison relationship between the reference capacitance parameters and the monitoring capacitance parameters.

[0053] Optionally, a parameter comparison relationship between the acquired monitoring capacitance parameter and the reference capacitance parameter may be analyzed, and then whether the vehicle is in a rainy environment may be determined based on the analysis result.

[0054] S104, in response to determining that the vehicle is in a rainy environment, controlling the vehicle windows to a window closed state.

[0055] In the embodiment of the present application, when it is determined that the vehicle is in a rainy environment, there is a need to close the vehicle's windows.

[0056] Among them, the determination result that the vehicle is in a rainy environment can be fed back to the vehicle's main control system, and the main control system sends a window closing instruction to the window control system, so that the window control system can control the window to the window closed state.

[0057] The window control method proposed in the present application starts the rainy day environment recognition mode of the vehicle, and obtains the reference capacitance parameters of the vehicle's on-board capacitor within the first time range and the monitoring capacitance parameters within the second time range after the rainy day environment recognition mode is started, and determines whether the vehicle is in a rainy day environment based on the parameter comparison relationship between the obtained reference capacitance parameters and the monitoring capacitance parameters. When it is determined that the vehicle is in a rainy day environment, the vehicle's windows are controlled to a window closed state. In the present application, whether the vehicle is in a rainy day environment is identified by the capacitance parameters of the on-board capacitor on the vehicle, and no separate setting of other equipment is required, which simplifies the method for identifying that the vehicle is in a rainy day environment, realizes the identification of a rainy day environment through the change of capacitance parameters, improves the accuracy of the identification of the vehicle in a rainy day environment, and autonomously controls the vehicle's windows to a window closed state after determining that the vehicle is in a rainy day environment, thereby improving the safety of vehicle driving, and does not require the user to close the windows, thereby improving the user's driving experience.

[0058] In the above embodiment, regarding the vehicle window control in rainy weather, it can be combined with Figure 2 Further understanding, Figure 2 This is a flow chart of a window control method according to another embodiment of the present application, which is applied to a vehicle controller, such as Figure 2 As shown, the method includes:

[0059] S201, starting a rainy day environment recognition mode of the vehicle, and obtaining a reference capacitance parameter of an on-board capacitor of the vehicle within a first time range after the rainy day environment recognition mode is started.

[0060] In implementation, there is a preset start condition for the vehicle's rainy day environment recognition mode. When the relevant information obtained by the vehicle meets the preset start condition, the vehicle's rainy day environment recognition mode can be started.

[0061] Among them, the initial capacitance value of the vehicle-mounted capacitor can be monitored to determine whether the start-up conditions of the rainy day environment recognition mode are met.

[0062] Optionally, it is possible to monitor whether an initial capacitance value of an on-board capacitor of the vehicle changes, wherein in response to monitoring that the initial capacitance value changes and the initial capacitance value becomes larger, the rainy day environment recognition mode of the vehicle is started.

[0063] In an embodiment of the present application, a monitoring module for the initial capacitance value of the on-board capacitor configured on the vehicle can be used to monitor whether the initial capacitance value changes, wherein the capacitance value of the on-board capacitor in a non-rainy day simulation environment can be determined as the initial capacitance value of the on-board capacitor.

[0064] In a scenario where the vehicle-mounted capacitor is touched, the initial capacitance value of the vehicle-mounted capacitor may change. When a change in the initial capacitance value is detected and the initial capacitance value becomes larger, it can be determined that the current environment of the vehicle may be a rainy environment.

[0065] Furthermore, when the initial capacitance value of the vehicle-mounted capacitor changes and becomes larger, it can be determined that the vehicle meets the preset starting conditions of the rainy environment recognition mode.

[0066] In this scenario, a start instruction for the rainy day environment recognition mode can be generated, and the vehicle's rainy day environment recognition mode can be started based on the start instruction. After the rainy day environment recognition mode is started, the reference capacitance parameters of the vehicle's on-board capacitance within the first time range are started to be obtained.

[0067] S202: Acquire a touch capacitance value set of the vehicle-mounted capacitor within a second time range.

[0068] In some implementations, the on-board capacitor disposed in the capacitive door handle is provided with a capacitive touch panel (CTP). When a touch operation is generated on the CTP, the capacitance value of the on-board capacitor corresponding to the CTP will change.

[0069] In this scenario, the capacitance value of the vehicle-mounted capacitor may be monitored within the second time range, thereby obtaining a capacitance value set generated by the vehicle-mounted capacitor within the second time range as a touch capacitance value set.

[0070] S203, filtering interference capacitance values ​​in the touch capacitance value set to obtain monitoring capacitance values ​​in the touch capacitance value set, wherein the interference capacitance values ​​are obtained based on vehicle-mounted capacitance in a non-rainy day simulation environment.

[0071] In the embodiment of the present application, raindrop objects in a rainy environment will generate touch operations on the capacitive touch panel corresponding to the vehicle-mounted capacitor. However, other objects may appear in the environment where the vehicle is located to generate touch operations on the capacitive touch panel.

[0072] In this scenario, it is necessary to analyze and process the acquired touch capacitance value set of the vehicle-mounted capacitance within the second time range to identify the interference capacitance value therein.

[0073] Optionally, a non-rainy day simulation environment can be constructed for the vehicle-mounted capacitor, and the capacitance value of the vehicle-mounted capacitor in the non-rainy day simulation environment can be monitored to obtain the capacitance value of the vehicle-mounted capacitor in the non-rainy day simulation environment, and then the interference capacitance value in the touch capacitance value set is determined based on the capacitance value.

[0074] Among them, each capacitance value in the touch capacitance value set can be compared and analyzed with the capacitance value of the vehicle-mounted capacitance in a non-rainy day simulated environment, and then, based on the results of the comparative analysis, the touch capacitance value in the touch capacitance value set that matches the capacitance value of the vehicle-mounted capacitance in the non-rainy day simulated environment is obtained, and this part of the touch capacitance value is determined as the interference capacitance value in the touch capacitance value set.

[0075] Optionally, a Kalman filter process may be performed on the touch capacitance value set, and interference capacitance values ​​in the touch capacitance value set may be filtered based on the Kalman filter process to obtain a candidate touch capacitance value set of the vehicle-mounted capacitance.

[0076] As an example, the processing process of the Kalman filter processing algorithm can be understood in combination with the following content:

[0077] Assuming the state of the vehicle-mounted capacitor at the current moment is k, the prediction can be made based on the state of the previous moment corresponding to the current moment, where the formula is as follows:

[0078] X(k|k-1)=AX(k-1|k-1)+BU(k)

[0079] In the above formula, X(k|k-1) is the predicted state at the previous moment based on the current state k, X(k-1|k-1) is the optimal state at the previous moment, U(k) is the control amount of the current state k, A is the state transfer matrix, and B is the control input matrix.

[0080] Furthermore, the covariance corresponding to X(k|k-1) is obtained, where the formula for obtaining the covariance is as follows:

[0081] P(k|k-1)=AP(k-1|k-1)A'+Q

[0082] In the above formula, P represents covariance, P(k|k-1) is the covariance corresponding to X(k|k-1), P(k-1|k-1) is the covariance corresponding to X(k-1|k-1), A' represents the transposed matrix of A, and Q is the covariance of the system process.

[0083] Among them, the above two formulas are the first two of the five formulas of the Kalman filter in the related art.

[0084] Further, the touch capacitance value of the vehicle-mounted capacitance in state k is obtained, and the optimized estimated value X(k|k) of the vehicle-mounted capacitance in state k is obtained, where the formula is as follows:

[0085] X(k|k)=X(k|k-1)+Kg(k)(Z(k)-HX(k|k-1))

[0086] In the above formula, Kg is the Kalman gain, Z is the actual observation value, and H is the measurement matrix, which converts the state variable into the predicted observation value. The acquisition process of Kg(k) can be shown as follows:

[0087] Kg(k)=P(k|k-1)H' / (HP(k|k-1)H'+R)

[0088] Wherein, R is the measurement noise covariance, H' is the transposed matrix of H, and P(k|k-1) is obtained based on the above corresponding formula.

[0089] In order to allow the Kalman filter to continue running until the system process ends, the covariance of X(k|k) under state k can be updated as follows:

[0090] P(k|k)=(I-Kg(k)H)P(k|k-1)

[0091] In the above formula, I is a matrix of 1. For a single model and a single measurement, I=1. When the system enters the k+1 state, P(k|k) is P(k-1|k-1) in the above formula.

[0092] In the embodiment of the present application, after the interference touch capacitance values ​​in the touch capacitance value set are filtered, the touch capacitance values ​​remaining after filtering can be determined as candidate touch capacitance values, thereby obtaining the candidate touch capacitance value set.

[0093] Furthermore, an average capacitance value of each candidate touch capacitance value in the candidate touch capacitance value set may be obtained, and the average capacitance value may be determined as the monitoring capacitance value of the vehicle-mounted capacitance.

[0094] Among them, according to the mean algorithm in the relevant technology, each candidate touch capacitance value in the candidate touch capacitance value set can be algorithmically processed, and then the average capacitance value of each candidate touch capacitance value can be obtained according to the result of the algorithm processing, and it can be determined as the monitoring capacitance value of the vehicle-mounted capacitance within the second time range.

[0095] S204: Obtain a monitoring capacitance variance of the vehicle-mounted capacitance within a second time range according to the monitoring capacitance value.

[0096] Optionally, the monitoring capacitance value may be algorithmically processed according to a variance algorithm in the related art, and then a method for monitoring the capacitance of the vehicle-mounted capacitance within the second time range may be obtained according to a result of the algorithm processing.

[0097] S205 , obtaining a monitoring capacitance parameter of the vehicle-mounted capacitance based on the monitoring capacitance value and the monitoring capacitance variance.

[0098] After the monitoring capacitance value and the monitoring capacitance variance are obtained, the two can be determined as monitoring capacitance parameters of the vehicle-mounted capacitance within the second time range.

[0099] S206, obtaining a parameter comparison relationship between the reference capacitance parameter and the monitoring capacitance parameter, and determining whether the vehicle is in a rainy environment according to the parameter comparison relationship.

[0100] Optionally, if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is greater than the reference capacitance value in the reference capacitance parameter, and the monitoring capacitance variance in the monitoring capacitance parameter is greater than the reference capacitance variance in the reference capacitance parameter, it is determined that the vehicle is in a rainy environment.

[0101] Among them, when the parameter comparison relationship indicates that the monitored capacitance value within the second time range is greater than the reference capacitance value and the monitored capacitance variance is greater than the reference capacitance variance, it can be understood that the change in the capacitance parameters of the vehicle-mounted capacitor within the second time range matches the change in the capacitance parameters in the rainy environment, and it can be determined that the vehicle is in a rainy environment.

[0102] Optionally, if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is less than or equal to the reference capacitance value in the reference capacitance parameter, and / or the monitoring capacitance variance in the monitoring capacitance parameter is less than or equal to the reference capacitance variance in the reference capacitance parameter, it is determined that the vehicle is in a non-rainy environment.

[0103] Among them, when the parameter comparison relationship indicates that the monitored capacitance value within the second time range is less than or equal to the reference capacitance value, and / or the monitored capacitance variance is less than or equal to the reference capacitance variance, it can be understood that the change in the capacitance parameters of the vehicle-mounted capacitor within the second time range does not match the change in the capacitance parameters in the rainy environment, and it can be determined that the vehicle is in a non-rainy environment.

[0104] S207, in response to determining that the vehicle is in a rainy environment, controlling the vehicle windows to a window closed state.

[0105] Optionally, the current state of the vehicle window can be identified and the window can be controlled based on the identified current state of the vehicle window, wherein if the current state of the vehicle window is identified as the window open state, the vehicle window is adjusted to the window closed state, and if the current state of the vehicle window is identified as the window closed state, the vehicle window is maintained in the window closed state.

[0106] As a possible implementation method, the current state of the vehicle window is identified. If it is identified that the current state of the vehicle window is an open state, a window closing instruction is generated through the vehicle's capacitive touch panel, and the vehicle's window is controlled to the window closed state according to the window closing instruction.

[0107] In an embodiment of the present application, when it is recognized that the current state of the vehicle window is the window open state, a window closing command can be generated by the vehicle's capacitive touch panel (CTP) and transmitted to the vehicle's body controller (Body Control Module, BCM), so that the vehicle's window lifter can be controlled by the body controller according to the window closing command to adjust the window to the window closed state.

[0108] In an embodiment of the present application, a corresponding capacitive touch panel exists for the vehicle's on-board capacitor, wherein, when the current state of the window is the window open state, a corresponding window closing instruction can be generated through the capacitive touch panel and the window closing instruction can be transmitted to the vehicle's body controller.

[0109] Furthermore, based on the vehicle body controller receiving the window closing instruction, the window can be adjusted from the window open state to the window closed state through the window lifter.

[0110] As an example, the control of the car windows can be as follows Figure 3 As shown, after the vehicle starts the rainy day environment recognition mode, the CTP of the capacitive door handle is awakened, and determines whether the vehicle is in a rainy day environment based on the monitoring capacitance parameters of the on-board capacitor.

[0111] like Figure 3 As shown, if it is determined that the vehicle is in a rainy environment, it can be judged whether the window is in the open state. If it is determined that the window is in the open state, the window is adjusted to the closed state. If the window is in the closed state, the window is kept in the current state, that is, the window is kept in the closed state.

[0112] Optionally, the vehicle's automatic window control mode can be combined with Figure 4 Understanding, such as Figure 4As shown in the figure, in a rainy environment, rainwater touches the capacitive door handle. After the CTP determines that the vehicle is in a rainy environment, it transmits the determination result to Figure 4 The vehicle control unit (VCU) and BCM shown in the figure then generate window adjustment control instructions and transmit them to the window lifter.

[0113] Among them, the window lifter can be based on Figure 4 The window position sensor shown determines the current state of the window, thereby adjusting the window control to the closed state.

[0114] It should be noted that, in actual use, the vehicle may be in a rainy environment when in sleep mode. In this scenario, the vehicle's windows may be open.

[0115] Optionally, the number of capacitance changes of the initial capacitance value of the vehicle-mounted capacitor in the sleep state within a third time range can be monitored, wherein, in response to the number of capacitance value changes being greater than or equal to a preset change number threshold, the vehicle-mounted capacitor is adjusted to the wake-up state and maintained for a preset time length.

[0116] In the embodiment of the present application, the initial capacitance value of the vehicle-mounted capacitor may change due to the CTP being touched. When it starts to rain in the environment where the vehicle in the sleep state is located, raindrops may cause a touch operation on the CTP, thereby causing the initial capacitance value of the vehicle-mounted capacitor to change.

[0117] In this scenario, the initial capacitance value of the on-board capacitor of the vehicle in a dormant state can be monitored, wherein the capacitance value of the on-board capacitor of the vehicle in a dormant state in a non-rainy day simulation environment can be identified as the initial capacitance value of the on-board capacitor.

[0118] Optionally, the initial capacitance value of the vehicle-mounted capacitor can be monitored after the vehicle enters a vacation state. When the number of changes in the initial capacitance value of the vehicle-mounted capacitor monitored within a third time range is greater than or equal to a preset change number threshold, it can be determined that the vehicle in the dormant state may be in a rainy environment.

[0119] In this scenario, the vehicle-mounted capacitor can be adjusted to the wake-up state and maintained for a preset time. During this process, if it is determined that the vehicle is in a rainy environment, the window state can be adjusted until the window is closed based on the window control method proposed in the above embodiment.

[0120] The window control method proposed in the present application identifies whether the vehicle is in a rainy environment through the capacitance parameters of the on-board capacitor on the vehicle, without the need for separate settings of other equipment, thereby simplifying the method for identifying that the vehicle is in a rainy environment, and realizing the identification of a rainy environment through changes in capacitance parameters, thereby improving the accuracy of identifying that the vehicle is in a rainy environment. After determining that the vehicle is in a rainy environment, the vehicle's windows are autonomously controlled to a closed state, thereby improving the safety of vehicle driving, eliminating the need for users to close the windows, and improving the user's driving experience.

[0121] Corresponding to the window control methods provided in the above-mentioned embodiments, an embodiment of the present application also provides an execution device for an in-vehicle service program. Since the execution device for the in-vehicle service program provided in the embodiment of the present application corresponds to the window control methods provided in the above-mentioned embodiments, the implementation method of the above-mentioned window control method is also applicable to the execution device for the in-vehicle service program provided in the embodiment of the present application, and will not be described in detail in the following embodiments.

[0122] Figure 5 FIG. 1 is a schematic diagram of a structure of an execution device of a vehicle service program according to an embodiment of the present application, which is applied to a vehicle controller, such as Figure 5 As shown, the vehicle window control device 500 includes an acquisition module 51, a monitoring module 52, a determination module 53 and a control module 54, wherein:

[0123] An acquisition module 51 is used to start a rainy day environment recognition mode of the vehicle, and obtain a reference capacitance parameter of an on-board capacitor of the vehicle within a first time range after the rainy day environment recognition mode is started;

[0124] A monitoring module 52, used to obtain a monitoring capacitance parameter of the vehicle-mounted capacitance within a second time range, wherein the second time range has the same duration as the first time range;

[0125] A determination module 53 is used to obtain a parameter comparison relationship between a reference capacitance parameter and a monitoring capacitance parameter, and determine whether the vehicle is in a rainy environment according to the parameter comparison relationship;

[0126] The control module 54 is configured to control the vehicle windows to a closed state in response to determining that the vehicle is in a rainy environment.

[0127] In an embodiment of the present application, the monitoring module 52 is also used to: obtain a touch capacitance value set of the vehicle-mounted capacitor within a second time range; filter the interference capacitance value in the touch capacitance value set to obtain the monitoring capacitance value in the touch capacitance value set, wherein the interference capacitance value is obtained based on the vehicle-mounted capacitor in a non-rainy day simulation environment; obtain the monitoring capacitance variance of the vehicle-mounted capacitor within the second time range based on the monitoring capacitance value; obtain the monitoring capacitance parameter of the vehicle-mounted capacitor based on the monitoring capacitance value and the monitoring capacitance variance.

[0128] In an embodiment of the present application, the monitoring module 52 is also used to: perform Kalman filtering on the touch capacitance value set, filter the interference capacitance values ​​in the touch capacitance value set based on the Kalman filtering, and obtain a candidate touch capacitance value set of the vehicle-mounted capacitance; obtain the average capacitance value of each candidate touch capacitance value in the candidate touch capacitance value set, and determine the average capacitance value as the monitoring capacitance value of the vehicle-mounted capacitance.

[0129] In an embodiment of the present application, the determination module 53 is also used to: if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is greater than the reference capacitance value in the reference capacitance parameter, and the monitoring capacitance variance in the monitoring capacitance parameter is greater than the reference capacitance variance in the reference capacitance parameter, determine that the vehicle is in a rainy day environment; if the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is less than or equal to the reference capacitance value in the reference capacitance parameter, and / or the monitoring capacitance variance in the monitoring capacitance parameter is less than or equal to the reference capacitance variance in the reference capacitance parameter, determine that the vehicle is in a non-rainy day environment.

[0130] In the embodiment of the present application, the control module 54 is also used to: if it is recognized that the current state of the vehicle window is the window open state, generate a window closing instruction through the vehicle's capacitive touch panel, and control the vehicle's window to the window closed state according to the window closing instruction.

[0131] In the embodiment of the present application, the control module 54 is also used to: monitor whether the initial capacitance value of the vehicle's on-board capacitor changes; in response to monitoring that the initial capacitance value changes and the initial capacitance value becomes larger, start the vehicle's rainy day environment recognition mode.

[0132] In an embodiment of the present application, the control module 54 is also used to: monitor the number of capacitance value changes of the initial capacitance value of the vehicle-mounted capacitor in the sleep state within a third time range; in response to the number of capacitance value changes being greater than or equal to a preset change number threshold, adjust the vehicle-mounted capacitor to the wake-up state and maintain it for a preset time length.

[0133] The window control device proposed in the present application starts the rainy day environment recognition mode of the vehicle, and obtains the reference capacitance parameters of the vehicle's on-board capacitance within the first time range and the monitoring capacitance parameters within the second time range after the rainy day environment recognition mode is started, and determines whether the vehicle is in a rainy day environment based on the parameter comparison relationship between the obtained reference capacitance parameters and the monitoring capacitance parameters. When it is determined that the vehicle is in a rainy day environment, the vehicle's windows are controlled to a window closed state. In the present application, whether the vehicle is in a rainy day environment is identified by the capacitance parameters of the on-board capacitance on the vehicle, and no separate setting of other equipment is required, which simplifies the method of identifying that the vehicle is in a rainy day environment, realizes the identification of a rainy day environment through the change of capacitance parameters, improves the accuracy of the identification of the vehicle in a rainy day environment, and autonomously controls the vehicle's windows to a window closed state after determining that the vehicle is in a rainy day environment, thereby improving the safety of vehicle driving, and does not require the user to close the windows, thereby improving the user's driving experience.

[0134] To achieve the above embodiment, the present application also provides a vehicle, comprising the above Figure 5 A vehicle window control device is provided in an embodiment.

[0135] To achieve the above embodiments, the present application also provides an electronic device, a computer-readable storage medium and a computer program product.

[0136] Figure 6 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 6 As shown, the device 600 includes a memory 61, a processor 62, and a computer program stored in the memory 61 and executable on the processor 62. When the processor 62 executes the program instructions, the vehicle window control method provided in the above embodiment is implemented.

[0137] The window control method proposed in the present application starts the rainy day environment recognition mode of the vehicle, and obtains the reference capacitance parameters of the vehicle's on-board capacitor within the first time range and the monitoring capacitance parameters within the second time range after the rainy day environment recognition mode is started, and determines whether the vehicle is in a rainy day environment based on the parameter comparison relationship between the obtained reference capacitance parameters and the monitoring capacitance parameters. When it is determined that the vehicle is in a rainy day environment, the vehicle's windows are controlled to a window closed state. In the present application, whether the vehicle is in a rainy day environment is identified by the capacitance parameters of the on-board capacitor on the vehicle, and no separate setting of other equipment is required, which simplifies the method for identifying that the vehicle is in a rainy day environment, realizes the identification of a rainy day environment through the change of capacitance parameters, improves the accuracy of the identification of the vehicle in a rainy day environment, and autonomously controls the vehicle's windows to a window closed state after determining that the vehicle is in a rainy day environment, thereby improving the safety of vehicle driving, and does not require the user to close the windows, thereby improving the user's driving experience.

[0138] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by the processor 62, the vehicle window control method provided by the above embodiment is implemented.

[0139] The window control method proposed in the present application starts the rainy day environment recognition mode of the vehicle, and obtains the reference capacitance parameters of the vehicle's on-board capacitor within the first time range and the monitoring capacitance parameters within the second time range after the rainy day environment recognition mode is started, and determines whether the vehicle is in a rainy day environment based on the parameter comparison relationship between the obtained reference capacitance parameters and the monitoring capacitance parameters. When it is determined that the vehicle is in a rainy day environment, the vehicle's windows are controlled to a window closed state. In the present application, whether the vehicle is in a rainy day environment is identified by the capacitance parameters of the on-board capacitor on the vehicle, and no separate setting of other equipment is required, which simplifies the method for identifying that the vehicle is in a rainy day environment, realizes the identification of a rainy day environment through the change of capacitance parameters, improves the accuracy of the identification of the vehicle in a rainy day environment, and autonomously controls the vehicle's windows to a window closed state after determining that the vehicle is in a rainy day environment, thereby improving the safety of vehicle driving, and does not require the user to close the windows, thereby improving the user's driving experience.

[0140] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0141] The program code for implementing the method itself can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0142] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0143] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0144] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a grid browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication grid). Examples of communication grids include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain grid.

[0145] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication grid. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server for a distributed system, or a server combined with a blockchain.

[0146] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0147] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0148] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0149] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0150] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0151] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0152] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0153] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

[0154] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0155] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A vehicle window control method, characterized in that: The method comprises: Starting a rainy day environment recognition mode of the vehicle, and obtaining a reference capacitance parameter of an on-board capacitor of the vehicle within a first time range after the rainy day environment recognition mode is started; Acquire a monitoring capacitance parameter of the vehicle-mounted capacitance within a second time range, wherein the second time range has the same duration as the first time range; Acquire a parameter comparison relationship between the reference capacitance parameter and the monitoring capacitance parameter, and determine whether the vehicle is in a rainy environment according to the parameter comparison relationship; In response to determining that the vehicle is in the rainy environment, controlling windows of the vehicle to a window closed state.

2. The method according to claim 1, characterized in that The acquiring the monitoring capacitance parameter of the vehicle-mounted capacitance within the second time range includes: Acquire a touch capacitance value set of the vehicle-mounted capacitor within the second time range; filtering interference capacitance values ​​in the touch capacitance value set to obtain monitoring capacitance values ​​in the touch capacitance value set, wherein the interference capacitance values ​​are obtained based on the vehicle-mounted capacitance in a non-rainy day simulation environment; According to the monitoring capacitance value, obtaining a monitoring capacitance variance of the vehicle-mounted capacitance within the second time range; The monitoring capacitance parameter of the vehicle-mounted capacitance is acquired based on the monitoring capacitance value and the monitoring capacitance variance.

3. The method according to claim 2, characterized in that The filtering the interference capacitance value in the touch capacitance value set to obtain the monitoring capacitance value in the touch capacitance value set includes: Performing Kalman filtering on the touch capacitance value set, filtering the interference capacitance value in the touch capacitance value set based on the Kalman filtering, and obtaining a candidate touch capacitance value set of the vehicle-mounted capacitance; An average capacitance value of each candidate touch capacitance value in the candidate touch capacitance value set is obtained, and the average capacitance value is determined as the monitoring capacitance value of the vehicle-mounted capacitance.

4. The method according to claim 3, characterized in that The obtaining of a parameter comparison relationship between the reference capacitance parameter and the monitoring capacitance parameter, and determining whether the vehicle is in a rainy environment according to the parameter comparison relationship, includes: If the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is greater than the reference capacitance value in the reference capacitance parameter, and the monitoring capacitance variance in the monitoring capacitance parameter is greater than the reference capacitance variance in the reference capacitance parameter, it is determined that the vehicle is in the rainy environment; If the parameter comparison relationship indicates that the monitoring capacitance value in the monitoring capacitance parameter is less than or equal to the reference capacitance value in the reference capacitance parameter, and / or the monitoring capacitance variance in the monitoring capacitance parameter is less than or equal to the reference capacitance variance in the reference capacitance parameter, it is determined that the vehicle is in the non-rainy environment.

5. The method according to claim 1, characterized in that In response to determining that the vehicle is in the rainy environment, controlling the vehicle windows to a window closed state includes: Identify the current state of the vehicle window. If it is identified that the current state of the vehicle window is an open state, generate a window closing instruction through the capacitive touch panel of the vehicle, and control the vehicle window to the window closed state according to the window closing instruction.

6. The method according to claim 1, characterized in that The starting of the rainy environment recognition mode of the vehicle includes: Monitoring whether an initial capacitance value of the on-board capacitor of the vehicle changes; In response to monitoring that the initial capacitance value changes and the initial capacitance value becomes larger, a rainy day environment recognition mode of the vehicle is started.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Monitoring the number of capacitance value changes of the initial capacitance value of the vehicle-mounted capacitor in the dormant state within a third time range; In response to the capacitance value changing times being greater than or equal to a preset change times threshold, the vehicle-mounted capacitor is adjusted to a wake-up state and maintained for a preset time period.

8. A vehicle window control device, characterized in that: The device comprises: An acquisition module, used to start a rainy day environment recognition mode of the vehicle, and to acquire a reference capacitance parameter of an on-board capacitor of the vehicle within a first time range after the rainy day environment recognition mode is started; A monitoring module, used to obtain a monitoring capacitance parameter of the vehicle-mounted capacitor within a second time range, wherein the second time range has the same duration as the first time range; A determination module, used to obtain a parameter comparison relationship between the reference capacitance parameter and the monitoring capacitance parameter, and determine whether the vehicle is in a rainy environment according to the parameter comparison relationship; The control module is used for controlling the windows of the vehicle to a window-closed state in response to determining that the vehicle is in the rainy environment.

9. An electronic device, characterized in that: Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method according to any one of claims 1 to 7.

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

11. A vehicle, characterized in that: A vehicle comprises the device as claimed in claim 8.