Methods, devices, electronic equipment and media for defrosting car windows

By acquiring vehicle environmental parameters to determine the risk level, and adopting differentiated defrosting modes and sleep duration strategies, the problem of vehicle frosting and fogging in low temperature and high humidity environments was solved, achieving a balance between rapid response and energy consumption optimization.

CN122300409APending Publication Date: 2026-06-30CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
Filing Date
2026-04-28
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In existing technologies, vehicle windshields are prone to frost and fogging in low temperature and high humidity environments, leading to driving safety issues. Furthermore, the existing fixed inspection cycle and defrosting execution time cannot adapt to the defrosting needs of different scenarios, resulting in increased energy consumption or missing the optimal defrosting time.

Method used

By acquiring vehicle environmental parameters (temperature, humidity, and dew point temperature), the environmental risk level is determined, and differentiated defrosting modes and sleep duration strategies are adopted, including fast defrosting mode and slow defrosting mode. These are then finely adjusted based on time stages and user behavior to ensure defrosting effectiveness and reduce energy consumption.

Benefits of technology

It accurately reflects the risk of frosting under different environmental risk levels, responds quickly to frost and fog, and reduces standby power consumption, thus ensuring a balance between driving safety and energy saving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122300409A_ABST
    Figure CN122300409A_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, electronic device, and medium for defrosting vehicle windows. The method includes: acquiring environmental parameters of the vehicle's environment, including temperature, humidity, and dew point temperature; determining an environmental risk level based on the environmental parameters; when the environmental risk level is a preset first-class level, directly determining the corresponding defrosting mode and sleep duration; when the environmental risk level is a preset second-class level, determining the corresponding defrosting mode and sleep duration based on the current time period; controlling a defrosting actuator to perform defrosting operations according to the defrosting mode, and controlling the vehicle to enter a sleep state according to the sleep duration after defrosting is completed. This application comprehensively considers temperature, humidity, and dew point temperature to determine the environmental risk level, which can more accurately reflect the actual frost risk. It adopts differentiated control strategies for different environmental risk levels, saving energy while ensuring defrosting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automotive technology, and in particular to a method, apparatus, electronic device, and medium for defrosting car windows. Background Technology

[0002] In low-temperature and high-humidity environments, the windshield of a vehicle is prone to frost and fogging, which affects driving safety.

[0003] In related technologies, a fixed detection cycle and defrosting execution time are used.

[0004] If the above solution has too short a detection interval, it will increase energy consumption; if the interval is too long, it may miss the best defrosting time and cannot meet the defrosting needs of different scenarios. Summary of the Invention

[0005] In view of the above problems, embodiments of the present invention are proposed to provide a method, apparatus, electronic device and medium for defrosting car windows that overcomes or at least partially solves the above problems.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: In a first aspect, embodiments of this application disclose a method for defrosting car windows, the method comprising: The environmental parameters of the vehicle's environment are obtained, including temperature, humidity, and dew point temperature. The environmental risk level is determined based on the aforementioned environmental parameters; When the environmental risk level is the preset Class 1 level, the corresponding defrosting mode and dormancy duration are directly determined. When the environmental risk level is the preset second level, the corresponding defrosting mode and dormancy duration are determined according to the time period to which the current time belongs; According to the defrosting mode, the defrosting actuator is controlled to perform the defrosting operation, and after the defrosting is completed, the vehicle is controlled to enter the sleep state according to the sleep duration.

[0007] Secondly, embodiments of this application disclose a car window defrosting device, the device comprising: The acquisition module is used to acquire environmental parameters of the environment in which the vehicle is located, including temperature, humidity and dew point temperature; The first determining module is used to determine the environmental risk level based on the environmental parameters; The second determining module is used to directly determine the corresponding defrosting mode and dormancy duration when the environmental risk level is a preset first category level. The third determining module is used to determine the corresponding defrosting mode and dormancy duration based on the time stage to which the current time belongs when the environmental risk level is a preset second level. The control module is used to control the defrosting actuator to perform defrosting operations according to the defrosting mode, and to control the vehicle to enter a sleep state according to the sleep duration after defrosting is completed.

[0008] Thirdly, embodiments of this application disclose an electronic device, including: a processor connected to a memory; the memory being used to store a computer program; and the processor being used to execute the computer program stored in the memory to implement the steps in the method described in the first aspect.

[0009] Fourthly, embodiments of this application disclose a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0010] This application discloses a method for defrosting vehicle windows. The method includes: acquiring environmental parameters of the vehicle's environment, including temperature, humidity, and dew point temperature; determining an environmental risk level based on the environmental parameters; when the environmental risk level is a preset first level, directly determining the corresponding defrosting mode and sleep duration; when the environmental risk level is a preset second level, determining the corresponding defrosting mode and sleep duration based on the current time period; controlling the defrosting actuator to perform defrosting operations according to the defrosting mode, and controlling the vehicle to enter a sleep state according to the sleep duration after defrosting is completed. This application comprehensively considers temperature, humidity, and dew point temperature to determine the environmental risk level, which can more accurately reflect the actual frosting risk. Differentiated control strategies are adopted for different environmental risk levels. The first level directly outputs the corresponding defrosting mode and sleep duration, avoiding unnecessary intermediate judgments; the second level further combines the time period for fine adjustment, saving energy while ensuring defrosting. At the same time, setting the sleep duration reduces the standby power consumption of the vehicle when parked or not in use. Attached Figure Description

[0011] Figure 1 This is a flowchart illustrating the steps of a car window defrosting method provided in an embodiment of this application; Figure 2 This is a defrosting flowchart of a slow defrosting mode provided in an embodiment of this application; Figure 3 This is a defrosting flowchart of a rapid defrosting mode provided in an embodiment of this application; Figure 4 This is a block diagram of a car window defrosting device provided in an embodiment of this application; Figure 5 This is a block diagram of an electronic device provided in an embodiment of this application; Figure 6 This is a schematic diagram of another electronic device provided in the embodiments of this application. Detailed Implementation

[0012] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.

[0013] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and are not limited in number; for example, a first object can be one or more. Furthermore, the term "and / or" in the specification and claims is used to describe the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.

[0014] refer to Figure 1 , Figure 1 This application discloses a flowchart of a method for defrosting car windows, including: Step 101: Obtain the environmental parameters of the vehicle's environment, including temperature, humidity, and dew point temperature.

[0015] In this embodiment, the environmental parameters can be those related to frost formation on vehicle windows, including temperature, humidity, and dew point temperature. Temperature and humidity can be collected by temperature and humidity sensors located outside the vehicle, and the dew point temperature can be calculated from the collected temperature and humidity data. Temperature, humidity, and dew point temperature reflect whether frost conditions have been met. Combining these three parameters allows for a more accurate assessment of the environmental risk level of frost formation under current conditions, avoiding misjudgments in low-temperature, dry environments or high-humidity environments.

[0016] Step 102: Determine the environmental risk level based on the environmental parameters.

[0017] In this embodiment, the collected temperature, humidity, and dew point temperature are compared with multiple preset thresholds to determine the current environmental risk level. In one embodiment, the environmental risk level can be divided into: low risk, medium risk, and high risk. For example, a high risk level is determined when temperature ≤ a first temperature threshold, humidity ≥ a first humidity threshold, and dew point temperature ≤ a first dew point threshold; a low risk level is determined when temperature ≥ a second temperature threshold, humidity ≤ a second humidity threshold, and dew point temperature ≥ a second dew point threshold; and other situations are determined as medium risk. The first temperature threshold, second temperature threshold, first humidity threshold, second humidity threshold, first dew point threshold, and second dew point threshold can be preset values ​​set according to actual needs. Through this tiered strategy, the urgency of frost formation under current environmental conditions can be assessed, thereby determining which defrosting strategy should be adopted subsequently.

[0018] Step 103: When the environmental risk level is the preset first level, directly determine the corresponding defrosting mode and dormancy duration.

[0019] In this embodiment, the preset first risk level may include a high-risk level and a low-risk level. The defrosting mode can be divided into a fast defrosting mode and a slow defrosting mode. Each of the fast and slow defrosting modes has a corresponding sleep duration. The sleep duration defines the interval between two defrosting detections by the image sensor. Defrosting detection is the detection of the degree of frost on the car window.

[0020] For example, when a high-risk level is detected, indicating a high risk of frost formation and the potential for rapid frost fog, the system immediately enters the first defrost mode. This first defrost mode can be a fast defrost mode, with a set first sleep duration, such as 10 seconds, meaning it will re-detect after 10 seconds. When a low-risk level is detected, indicating a low risk of frost formation, the system immediately enters the second defrost mode. This second defrost mode can be a slow defrost mode, with a set second sleep duration, such as 60 seconds, to reduce system energy consumption. Results are output directly at both high-risk and low-risk levels, enabling rapid response.

[0021] Step 104: When the environmental risk level is the preset second level, determine the corresponding defrosting mode and dormancy duration according to the current time period.

[0022] In this embodiment, the preset second risk level can be a medium-risk level, where environmental conditions fall between the high-risk "prone to frosting" and the low-risk "not prone to frosting." This allows for refined decision-making based on user behavior and time context. For example, it determines the current time period, which can be a preset or user-triggered time interval. If it falls within the user's preferred usage time, the system enters the first defrosting mode and sets a corresponding sleep duration; if it falls within a temporary fast-moving phase, the system enters the first defrosting mode and sets a corresponding sleep duration, and so on. Under moderate risk conditions, adjusting the control strategy according to different time scenarios ensures clear visibility before the user uses the vehicle, while flexibly adjusting the defrosting strategy reduces energy consumption.

[0023] Step 105: According to the defrosting mode, control the defrosting actuator to perform the defrosting operation, and after the defrosting is completed, control the vehicle to enter the sleep state according to the sleep duration.

[0024] In this embodiment, after determining the defrosting mode and sleep duration, the defrosting operation is performed. Specifically, this includes: detecting the actual degree of frost on the windshield using an image sensor to generate a frost level; and determining the output duty cycle of a PWM wave (Pulse Width Modulation Wave) based on the current defrosting mode and frost level. The output duty cycle for the same frost level differs under different defrosting modes, and the determined duty cycle drives the defrosting actuator to perform defrosting.

[0025] Furthermore, when the defrosting mode is the first defrosting mode, the duration of a single defrosting cycle is relatively short, for example, 5 minutes. When the defrosting mode is the second defrosting mode, the duration of a single defrosting cycle is relatively long, for example, 15 minutes. After defrosting is completed, the vehicle enters a low-power sleep state and remains in sleep mode for a predetermined duration. After the sleep state ends, the image processor detects frost again, forming a closed loop, until the vehicle is powered on and the defrosting function is exited.

[0026] In summary, this application discloses a method for defrosting vehicle windows. The method includes: acquiring environmental parameters of the vehicle's environment, including temperature, humidity, and dew point temperature; determining an environmental risk level based on the environmental parameters; when the environmental risk level is a preset first level, directly determining the corresponding defrosting mode and sleep duration; when the environmental risk level is a preset second level, determining the corresponding defrosting mode and sleep duration based on the current time period; controlling the defrosting actuator to perform defrosting operations according to the defrosting mode, and controlling the vehicle to enter a sleep state according to the sleep duration after defrosting is completed. This application comprehensively considers temperature, humidity, and dew point temperature to determine the environmental risk level, which can more accurately reflect the actual frosting risk. Differentiated control strategies are adopted for different environmental risk levels. The first level directly outputs the corresponding defrosting mode and sleep duration, avoiding unnecessary intermediate judgments; the second level further combines the time period for fine adjustment, saving energy while ensuring defrosting. At the same time, setting the sleep duration reduces the standby power consumption of the vehicle when parked or not in use.

[0027] Optionally, the preset first risk level includes a high-risk level and a low-risk level, and step 103 includes: Sub-step 1031: When the environmental risk level is high risk level, enter the first defrost mode and set the first hibernation duration; Sub-step 1032: When the environmental risk level is low, enter the second defrost mode and set the second sleep duration; The first sleep duration is shorter than the second sleep duration.

[0028] In this embodiment, when the current environment is determined to be high-risk based on temperature, humidity, and dew point temperature, it indicates a high risk of frost formation, meaning the windshield can quickly develop frost and fog, threatening driving safety. At this time, the system directly enters the first defrosting mode, i.e., the fast defrosting mode, and uses a first sleep duration as the detection interval for the image processor. For example, the first sleep duration is set to 10 seconds, meaning that after each detection, the system waits 10 seconds after entering low-power sleep mode before waking up to detect again. Through high-frequency monitoring of the windshield's frost condition, frost and fog can be detected and dealt with promptly once they form, thus ensuring clear driving visibility.

[0029] In quick defrost mode, the user may need to use the vehicle at any time. To ensure a clear view through the windshield at all times, the defrost and defogging functions need to be executed frequently at short intervals, ensuring normal operation as soon as the user enters the vehicle, thus enhancing the user's entry experience.

[0030] When the current environment is determined to be low-risk, it means that the probability of frost formation is low and will not affect visibility safety in the short term. At this time, the system enters the second defrost mode, namely the slow defrost mode, and uses the second sleep duration as the detection interval for the image processor. For example, the second sleep duration is set to 60 seconds, meaning that after the defrost operation is completed, the system enters a low-power sleep state and waits 60 seconds before waking up for detection again. Setting a longer sleep interval reduces the image processor's wake-up frequency, thereby reducing the vehicle's energy consumption in standby mode.

[0031] After the car is parked, the main power source for the vehicle is the small battery. Prolonged use of the small battery can easily lead to depletion of its charge. Although the small battery in an electric vehicle can be recharged by the main battery, the number of recharges is limited, and continuous recharging of the main battery can also deplete the entire vehicle's charge. Therefore, this solution incorporates a slow defrosting mode. In this mode, after performing one defrosting and defogging operation, the system controls the vehicle to enter a low-power sleep state with a relatively long sleep duration. This extended sleep interval avoids frequent vehicle wake-ups due to minor fluctuations in the external environment, effectively reducing standby power consumption and protecting the battery's charge.

[0032] This application sets the first sleep duration to be shorter than the second sleep duration. Under high-risk conditions, a shorter sleep interval is used to ensure timely response and driving safety during frosting through high-frequency detection. Under low-risk conditions, a longer sleep interval is used to reduce detection frequency, save energy, and meet the vehicle's low-power consumption requirements. By setting different sleep durations for different risk levels, the system can apply different control strategies under different environmental conditions, meeting both safety and energy-saving requirements.

[0033] Optionally, the second category includes a medium-risk level, and step 104 includes: Sub-step 1041: If the current time falls within the user's preferred vehicle usage period, then enter the first defrost mode and set the sleep duration to the third sleep duration; the user's preferred vehicle usage period is determined based on the user's historical vehicle usage data. Sub-step 1042: If the current time is not within the user's preferred vehicle usage time but is within the temporary fast phase, then enter the first defrost mode and set the sleep duration to the fourth sleep duration; the temporary fast phase is a defrost period set in response to a temporary user command or an external trigger signal of the vehicle. Sub-step 1043: If the current time is not within the user's preferred car use period or the temporary fast phase period, but within the basic time window, then enter the first defrost mode and set the sleep duration to the fifth sleep duration; the basic time window is a preset fixed time interval. Sub-step 1044: If the current time is not within the user's preferred car usage time period, not within the temporary fast phase period, and not within the basic time window, then enter the second defrost mode and set the sleep duration to the sixth sleep duration. The third, fourth, fifth, and sixth sleep durations increase sequentially.

[0034] In this embodiment, when the environmental risk level is medium risk, the system first determines whether the current time falls within the user's preferred usage time. The preferred usage time can be generated by learning from the user's historical usage data. For example, if the user typically uses the vehicle between 7:00 AM and 8:30 AM, this time period is marked as the preferred usage time. If the current time falls within this time period, it indicates that the user is about to use the vehicle, and the windshield's clarity needs to be ensured as soon as possible. At this time, the system enters the first defrosting mode and sets the sleep duration to the third sleep duration (e.g., 15 seconds) to detect frost conditions frequently at short intervals, ensuring the windshield remains clear when the user uses the vehicle, thus improving user experience and driving safety.

[0035] If the current time is not within the user's preferred usage time, the system further determines whether it is within a temporary fast-defrost phase. The temporary fast-defrost phase is a pre-set, effective defrosting period actively configured by the user's temporary commands or external vehicle trigger signals. For example, when the user manually activates "instant defrosting" via the vehicle's infotainment screen, app, or voice command, the system immediately enters the temporary fast-defrost phase. External vehicle trigger signals, such as detecting door unlocking, remote key proximity, or remote start commands, indicate that the user is about to use the vehicle and automatically enter the temporary fast-defrost phase. Alternatively, the system may detect accelerated frost growth meeting certain conditions. For example, in one embodiment, if a user plans to go out temporarily, they can activate fast defrosting via a remote command, entering the temporary fast-defrost phase and the first defrosting mode. The set sleep duration is the fourth sleep duration (e.g., 20 seconds), ensuring timely response to temporary needs.

[0036] If the current time is neither within the user's preferred usage period nor within the temporary fast-defrost phase, it further determines whether it is within the basic time window. The basic time window is a preset fixed time interval (e.g., 6:00 AM to 8:00 AM every day), serving as a fallback for triggering rapid defrosting, covering usage scenarios not learned during the user's preferred period or periods without set temporary needs. If the current time is within the basic time window, it still enters the first defrost mode, with the set sleep duration being the fifth sleep duration (e.g., 25 seconds). This ensures defrosting capability during regular usage periods, reducing energy consumption through longer sleep intervals and achieving a balance between safety and energy saving.

[0037] If the current time is neither within the user's preferred usage period, nor within the temporary fast-track period, nor within the basic time window, it indicates that the current time is a non-usage period and the user has no need to use the vehicle in the short term. At this time, the system enters the second defrosting mode and sets the sleep duration to the sixth sleep duration (e.g., 45 seconds), so that the system runs at a lower detection frequency during non-usage periods, minimizing the vehicle's standby power consumption while ensuring basic defrosting capabilities.

[0038] In this application, the third sleep duration (e.g., 15 seconds) < the fourth sleep duration (e.g., 20 seconds) < the fifth sleep duration (e.g., 25 seconds) < the sixth sleep duration (e.g., 45 seconds). In this application, the higher the priority of a time phase, the shorter the corresponding sleep duration, the higher the detection frequency, and the faster the response speed. By setting the sleep duration in a tiered manner, the system can automatically adjust the detection intensity according to the urgency of the user's vehicle usage needs, achieving a balance between safety and energy saving.

[0039] Optionally, step 102 includes: Sub-step 1021: When the temperature is less than or equal to a first temperature threshold, the humidity is greater than or equal to a first humidity threshold, and the dew point temperature is less than or equal to a first dew point threshold, it is determined to be a high-risk level. Sub-step 1022: When the temperature is greater than the second temperature threshold, the humidity is less than the second humidity threshold, and the dew point temperature is greater than the second dew point threshold, the risk level is determined to be low. Sub-step 1023: When the temperature is greater than the first temperature threshold and less than or equal to the second temperature threshold, or the humidity is greater than or equal to the first humidity threshold and less than the second humidity threshold, or the dew point temperature is greater than the first dew point threshold and less than or equal to the second dew point threshold, it is determined to be a medium risk level.

[0040] In this embodiment, for sub-steps 1021 to 1023, a high-risk level indicates that the current environmental conditions are likely to cause frost formation on the windshield, requiring the highest frequency of detection and the fastest response time for defrosting. A high-risk level is defined as follows: temperature T ≤ a first temperature threshold (e.g., T ≤ 5℃), relative humidity RH ≥ a first humidity threshold (e.g., RH ≥ 70%), and dew point temperature Td ≤ a first dew point threshold (e.g., Td ≤ 0℃). For example, when the vehicle's ambient temperature is 3℃, relative humidity is 85%, and dew point temperature is -1℃, it is considered a high-risk level, as water vapor is highly likely to condense and form frost on the glass surface.

[0041] A low-risk level indicates that current environmental conditions are unfavorable for frosting, allowing for a reduction in detection frequency to save energy. A low-risk level is defined as follows: temperature T > second temperature threshold (e.g., T > 10℃), relative humidity RH < second humidity threshold (e.g., RH < 60%), and dew point temperature Td > second dew point threshold (e.g., Td > 5℃). For example, when the vehicle is in an ambient temperature of 15℃, relative humidity of 45%, and dew point temperature of 8℃, it indicates that the temperature is relatively high, the humidity is low, and the dew point is above the freezing point, making it difficult for frost to form on the glass surface, thus allowing the vehicle to enter slow defrosting mode.

[0042] A medium-risk level indicates environmental conditions between high and low risk, with a possibility of frost. In this case, further refinement based on the time period is needed. For example, if the first and second temperature thresholds are 5℃ and 10℃ respectively, the first and second humidity thresholds are 60% and 70% respectively, and the first and second dew point thresholds are 0℃ and 5℃ respectively. For instance, when the ambient temperature is 12℃, but the relative humidity is 65% and the dew point is 6℃, although the temperature meets the low-risk standard, the humidity is in the middle range, thus classifying it as a medium-risk level. Similarly, when the ambient temperature is 7℃, the humidity is 50%, and the dew point is 3℃, both the temperature and dew point fall within the middle range, also classifying it as a medium-risk level.

[0043] Optionally, step 105 includes: Sub-step 1051: Detect the degree of frost on the glass to be defrosted using an image sensor and generate a frost degree level. Sub-step 1052: Determine the output duty cycle of the pulse width modulation wave based on the current defrosting mode and the degree of frost; Sub-step 1053: Drive the defrosting actuator to defrost using the output duty cycle.

[0044] In this embodiment, for sub-steps 1051 to 1053, if the glass to be defrosted is the windshield, the image sensor can be installed near the rearview mirror or on the inside of the windshield to collect image data of the windshield in real time. The more frost, fog, water stains, and other impurities on the glass, the worse the light transmittance. After the image processor collects the image data of the windshield, it determines the degree of frost by analyzing the changes in light transmittance. For example, the degree of frost can be divided into 1 to 10 levels, with higher levels indicating a higher degree of frost. By obtaining the degree of frost through the image sensor, the actual urgency of the current defrosting need can be determined, thereby performing defrosting. Furthermore, for the same degree of frost, the PWM (Pulse Width Modulation) duty cycle corresponding to the fast defrosting mode can be higher than that of the slow defrosting mode. For example, when the degree of frost is level 3, the fast defrosting mode may output 80% duty cycle to achieve rapid heating and defrosting, while the slow defrosting mode may only output 50% duty cycle for defrosting. The higher the duty cycle of the PWM wave, the faster the defrosting speed.

[0045] Specifically, the drive control uses pulse width modulation (PWM) waves for adjustment. The PWM wave simulates different voltages by adjusting the pulse width, thereby controlling different power outputs. The overall drive control strategy calculates the duty cycle of the current defrost / defogging PWM wave based on the current ambient temperature and humidity information. Generally, the lower the temperature and the higher the humidity, the easier it is for the windshield to frost. In this case, the duty cycle controlling the PWM wave output is increased; the larger the duty cycle, the greater the drive power for defrosting and defogging, thus more effectively preventing the windshield from freezing. Conversely, when the temperature is high and the humidity is low, the PWM wave output is reduced, thereby reducing drive power and saving energy.

[0046] The range of drive duty cycle values ​​can vary depending on the vehicle model, ranging from 10% to 100%. The specific mapping relationship between duty cycle and frosting severity level can be calculated using the following function model: Di = Dmin+(Dmax- Dmin)×(L / Lmax)k Where Dmin is the minimum output duty cycle (e.g., 10%), Dmax is the maximum output duty cycle (e.g., 100%), L is the currently detected frosting level, Lmax is the maximum frosting level (e.g., level 10), and k is the control curve shape parameter, with different values ​​corresponding to different defrosting modes: When k>1, the duty cycle increases rapidly when the frost level is high, which is suitable for scenarios with severe frost that require aggressive control, corresponding to the first defrost mode; When k<1, the duty cycle increases rapidly when the frost level is low, which is suitable for scenarios where early, slight frost requires a sensitive response and corresponds to the second defrost mode.

[0047] By adjusting the k value, the same level of frost can correspond to different output duty cycles in different defrosting modes, thus achieving differentiated control between fast defrosting mode and slow defrosting mode.

[0048] In this application, the output duty cycle corresponding to different frost severity levels under different defrosting modes can be determined through calibration. During the calibration phase, 10 groups of samples with different degrees of frost on the windshield were collected, defining the first group as having the lowest frost severity level and the tenth group as having the most severe frost severity level. Based on the aforementioned function model, a suitable defrosting and defogging PWM wave drive duty cycle was matched for each group of frost severity levels, forming a mapping relationship as shown in Table 1.

[0049] Table 1

[0050] Here, Ls1 to Ls10 represent increasing levels of frosting severity, A1 to A10 are the duty cycles corresponding to slow defrosting mode, and B1 to B10 are the duty cycles corresponding to fast defrosting mode. For the same level of frosting, the duty cycle in fast defrosting mode can be higher than that in slow defrosting mode to achieve a faster defrosting effect.

[0051] In actual operation, the image processor continuously monitors the windshield to determine the degree of frost. If no frost is detected, the defrosting and defogging process is not executed, and the system remains in sleep mode until frost or fog is detected again, at which point the defrosting and defogging function is triggered, thus avoiding energy waste caused by ineffective defrosting.

[0052] Optionally, the method further includes: Step 106: The image processor continuously detects the degree of frost on the glass to be defrosted multiple times. When the number of consecutive jumps in the degree of frost reaches or exceeds the preset level jump threshold, it is determined that the current stage is a temporary fast stage and the first defrosting mode is entered. The temporary fast phase exits after a preset duration.

[0053] In this embodiment, the temporary rapid defrosting phase can also be triggered by a sudden change in frost condition detected by the image processor. The image processor continuously detects the frost level of the windshield multiple times. When the frost level rapidly increases in two adjacent detections or multiple consecutive detections, for example, the frost level jumps from Ls2 to Ls4, and the number of consecutive jumps reaches a preset threshold, such as two consecutive detections showing a jump of level 2 or higher, it is determined that the current frost is increasing rapidly, and the temporary rapid defrosting phase is entered, thus entering the first defrosting mode. When the frost suddenly worsens, the rapid defrosting mode is actively triggered to further improve driving safety.

[0054] Furthermore, once the temporary fast defrost phase is triggered, a duration timer is started, and the effective duration of the temporary fast defrost phase can be preset, for example, 30 minutes. Within the effective duration, the first defrost mode is maintained and operates at a high frequency with the corresponding sleep duration. When the preset duration ends, the temporary fast defrost phase automatically exits, returning to the normal phase determination logic, that is, the defrost mode and sleep duration are re-determined based on the current environmental risk level and the current time phase. This strategy can respond promptly to emergencies while avoiding energy waste caused by prolonged operation in fast defrost mode.

[0055] Optionally, the method further includes: Step 107: If the environmental risk level changes during the defrosting process, the corresponding defrosting mode and sleep duration will be adjusted synchronously. Step 108: After the previous defrosting is completed, the system enters a dormant state according to the adjusted dormant duration. After the dormant state ends, the system performs defrosting control with the adjusted defrosting mode and dormant duration.

[0056] In this embodiment, to match the environment, temperature and humidity can be collected every 30 seconds, and the risk level can be recalculated every 1 minute to ensure that the phased adjustments can respond to sudden environmental changes, such as a sudden drop in temperature or a sudden increase in humidity due to rainfall. Specifically, during the execution time of a single defrost cycle, environmental parameters are continuously monitored through temperature and humidity sensors, and the environmental risk level is calculated and updated in real time. If a change in the environmental risk level is detected, such as an increase from medium risk to high risk, or a decrease from high risk to medium risk, the corresponding defrost mode and sleep duration are adjusted synchronously. It should be noted that when the environmental risk level changes, the current defrost execution can continue uninterrupted until the current defrost cycle is completed before taking effect. After the current defrost operation is completed, defrost control is performed according to the adjusted defrost mode and sleep duration.

[0057] In one embodiment, if the environmental risk level is adjusted from medium risk to high risk, and the sleep duration is adjusted from 15 seconds to 10 seconds, the entire vehicle will enter sleep mode for 10 seconds after defrosting, instead of the original 15 seconds. After the sleep period ends, the image processor wakes up and checks the frosting status again. At this time, the system executes subsequent defrosting control using the adjusted defrosting mode and sleep duration. This dynamic adjustment allows the system to adjust the control strategy in real time to follow environmental changes and optimize defrosting control.

[0058] refer to Figure 2 , Figure 2This document illustrates a defrosting flowchart for a slow defrosting mode according to an embodiment of this application. The vehicle's central control screen allows users to set whether the defrosting and defogging functions are enabled. If enabled, the image processor determines whether the vehicle is parked in an indoor environment. If it detects that the vehicle is parked indoors, it checks if the vehicle is powered on. If powered on, the defrosting and defogging function is exited; otherwise, the vehicle enters a low-power mode and continues monitoring the environment. When the vehicle is parked outdoors, the system determines whether to use a fast or slow defrosting mode based on the environmental risk level. If it is in slow defrosting mode, the image processor checks if the windshield is frosted. If the windshield is not frosted, defrosting is not performed, and the image sensor continues monitoring. If frosting is present, the image processor reports the windshield frost level Ls1 and wakes up the Body Control Module (BDC). The BDC calculates the PWM output duty cycle A1 for defrosting and defogging based on the current windshield frost level Ls1. The BDC then performs defrosting and defogging at duty cycle A1 for a time Ts (e.g., 15 minutes). After defrosting and defogging are complete, the vehicle enters a low-power mode and enters sleep mode for a period Tsw. After this sleep period, the image processor checks for frost. If no frost has formed, the BDC is not woken up, and the windshield defrosting and defogging function is not executed. The vehicle remains in sleep mode until the image processor detects frost on the windshield again, at which point it re-enters the defrosting and defogging flow. If frost is present, the image processor reports the frost level Ls2 on the windshield and wakes up the Body Controller (BDC). The BDC calculates the PWM wave output duty cycle A2 for defrosting and defogging based on the current frost level Ls2. Then, the BDC performs defrosting and defogging with the duty cycle A2 for a time of Ts. After defrosting and defogging are completed, the system controls the vehicle to enter a low-power mode. After a sleep time of Tsw, the image processor continues to monitor for frost. This process repeats until the vehicle's power supply is locally powered on, at which point the defrosting and defogging function is exited.

[0059] refer to Figure 3 , Figure 3The diagram illustrates a defrosting flowchart for a fast defrosting mode. If the current timeframe is for fast defrosting and defogging, the image processor detects whether frost has formed. If no frost has formed, monitoring continues. If frost has formed, the image processor outputs a frost level Lq1 for the windshield and wakes up the Body Control Controller (BDC). The BDC calculates the PWM output duty cycle B1 for defrosting and defogging based on the current frost level Lq1. The BDC then performs defrosting and defogging with duty cycle B1 for a time Tq. After defrosting and defogging are complete, the vehicle enters a low-power mode and sleeps for Tqw. The image processor then detects whether frost has formed again. If no frost has formed, the BDC is not woken up, and the defrosting and defogging process is not performed. During the windshield defrosting and defogging function, the vehicle remains in sleep mode until the image processor detects frost on the windshield again, at which point the defrosting and defogging process resumes. If frost is present, the image processor reports the frost level Lq2 and wakes up the Body Controller (BDC). The BDC calculates the PWM output duty cycle B2 for defrosting and defogging based on the current frost level Lq2. The BDC then performs defrosting and defogging at the duty cycle B2 for a time Tq. After defrosting and defogging are completed, the vehicle enters a low-power mode and remains in sleep mode for Tqw. The image processor then continues to detect frost, repeating this process until the vehicle's local power supply is restored, at which point the defrosting and defogging function exits.

[0060] In summary, this application discloses a method for defrosting vehicle windows. The method includes: acquiring environmental parameters of the vehicle's environment, including temperature, humidity, and dew point temperature; determining an environmental risk level based on the environmental parameters; when the environmental risk level is a preset first level, directly determining the corresponding defrosting mode and sleep duration; when the environmental risk level is a preset second level, determining the corresponding defrosting mode and sleep duration based on the current time period; controlling the defrosting actuator to perform defrosting operations according to the defrosting mode, and controlling the vehicle to enter a sleep state according to the sleep duration after defrosting is completed. This application comprehensively considers temperature, humidity, and dew point temperature to determine the environmental risk level, which can more accurately reflect the actual frosting risk. Differentiated control strategies are adopted for different environmental risk levels. The first level directly outputs the corresponding defrosting mode and sleep duration, avoiding unnecessary intermediate judgments; the second level further combines the time period for fine adjustment, saving energy while ensuring defrosting. At the same time, setting the sleep duration reduces the standby power consumption of the vehicle when parked or not in use.

[0061] refer to Figure 3 It illustrates a car window defrosting device 20 provided in an embodiment of this application, the device comprising: The acquisition module 201 is used to acquire environmental parameters of the environment in which the vehicle is located, including temperature, humidity and dew point temperature; The first determining module 202 is used to determine the environmental risk level based on the environmental parameters; The second determining module 203 is used to directly determine the corresponding defrosting mode and dormancy duration when the environmental risk level is a preset first category level. The third determining module 204 is used to determine the corresponding defrosting mode and dormancy duration according to the time stage to which the current time belongs when the environmental risk level is a preset second level. The control module 205 is used to control the defrosting actuator to perform defrosting operations according to the defrosting mode, and to control the vehicle to enter a sleep state according to the sleep duration after defrosting is completed.

[0062] Optionally, the preset first risk level includes a high-risk level and a low-risk level, and the second determination module includes: The first determining submodule is used to enter the first defrosting mode and set the first hibernation duration when the environmental risk level is high risk level. The second determining submodule is used to enter the second defrosting mode and set the second sleep duration when the environmental risk level is low. The first sleep duration is shorter than the second sleep duration.

[0063] Optionally, the second category includes a medium-risk level, and the third determination module includes: The third determination submodule is used to enter the first defrost mode if the current time is within the user's preferred car usage period, and set the sleep duration to the third sleep duration; the user's preferred car usage period is determined based on the user's historical car usage data; The fourth determining submodule is used to enter the first defrosting mode if the current time is not within the user's preferred vehicle usage time but is within the temporary fast phase period, and to set the sleep duration to the fourth sleep duration; the temporary fast phase is a defrosting period set in response to a temporary user command or an external trigger signal of the vehicle. The fifth determination submodule is used to enter the first defrost mode and set the sleep duration to the fifth sleep duration if the current time is not within the user's preferred car use period or the temporary express phase period, but within the basic time window; the basic time window is a preset fixed time interval. The sixth determination submodule is used to enter the second defrost mode and set the sleep duration to the sixth sleep duration if the current time is not within the user's preferred car use period, not within the temporary fast phase period, and not within the basic time window. The third, fourth, fifth, and sixth sleep durations increase sequentially.

[0064] Optionally, the first determining module includes: The seventh determination submodule is used to determine a high-risk level when the temperature is less than or equal to a first temperature threshold, the humidity is greater than or equal to a first humidity threshold, and the dew point temperature is less than or equal to a first dew point threshold. The eighth determination submodule is used to determine a low-risk level when the temperature is greater than the second temperature threshold, the humidity is less than the second humidity threshold, and the dew point temperature is greater than the second dew point threshold. The ninth determination submodule is used to determine a medium risk level when the temperature is greater than a first temperature threshold and less than or equal to a second temperature threshold, or the humidity is greater than or equal to a first humidity threshold and less than a second humidity threshold, or the dew point temperature is greater than a first dew point threshold and less than or equal to a second dew point threshold.

[0065] Optionally, the control module includes: The detection submodule is used to detect the degree of frost on the glass to be defrosted using an image sensor and generate a frost level rating. The tenth determining submodule is used to determine the output duty cycle of the pulse width modulation wave based on the current defrosting mode and the degree of frost. An execution submodule is used to drive the defrosting actuator to perform defrosting with the output duty cycle.

[0066] Optionally, the device further includes: The judgment module is used to continuously detect the degree of frost on the glass to be defrosted multiple times through the image processor. When the number of consecutive jumps in the degree of frost reaches or exceeds the preset level jump threshold, it is determined that the current stage is a temporary fast stage and the first defrosting mode is entered. The temporary fast phase exits after a preset duration.

[0067] Optionally, the device further includes: The first adjustment module is used to adjust the corresponding defrosting mode and sleep duration synchronously if the environmental risk level changes during the defrosting process. The second adjustment module is used to enter a sleep state according to the adjusted sleep duration after the current defrosting is completed, and to perform defrosting control with the adjusted defrosting mode and sleep duration after the sleep state ends.

[0068] In summary, this application discloses a method for defrosting vehicle windows. The method includes: acquiring environmental parameters of the vehicle's environment, including temperature, humidity, and dew point temperature; determining an environmental risk level based on the environmental parameters; when the environmental risk level is a preset first level, directly determining the corresponding defrosting mode and sleep duration; when the environmental risk level is a preset second level, determining the corresponding defrosting mode and sleep duration based on the current time period; controlling the defrosting actuator to perform defrosting operations according to the defrosting mode, and controlling the vehicle to enter a sleep state according to the sleep duration after defrosting is completed. This application comprehensively considers temperature, humidity, and dew point temperature to determine the environmental risk level, which can more accurately reflect the actual frosting risk. Differentiated control strategies are adopted for different environmental risk levels. The first level directly outputs the corresponding defrosting mode and sleep duration, avoiding unnecessary intermediate judgments; the second level further combines the time period for fine adjustment, saving energy while ensuring defrosting. At the same time, setting the sleep duration reduces the standby power consumption of the vehicle when parked or not in use.

[0069] Reference Figure 5 The electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0070] Processing component 602 typically controls the overall operation of electronic device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.

[0071] Memory 604 is used to store various types of data to support the operation of electronic device 600. Examples of this data include instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, multimedia, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0072] Power supply component 606 provides power to various components of electronic device 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600.

[0073] Multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may not only sense the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a multimedia mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0074] Audio component 610 is used to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) used to receive external audio signals when electronic device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.

[0075] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0076] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of electronic device 600. For example, sensor assembly 614 can detect the on / off state of electronic device 600, the relative positioning of components such as the display and keypad of electronic device 600, changes in position of electronic device 600 or a component of electronic device 600, the presence or absence of user contact with electronic device 600, orientation or acceleration / deceleration of electronic device 600, and temperature changes of electronic device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0077] Communication component 616 facilitates wired or wireless communication between electronic device 600 and other devices. Electronic device 600 can access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0078] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to implement a method provided in the embodiments of this application.

[0079] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of an electronic device 600 to perform the above-described method. For example, the non-transitory storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0080] Figure 6A block diagram of an electronic device 700 is shown according to an exemplary embodiment. For example, the electronic device 700 may be provided as a server. (Refer to...) Figure 6 Electronic device 700 includes a processing component 722, which further includes one or more processors, and memory resources represented by memory 732 for storing instructions, such as application programs, that can be executed by the processing component 722. The application programs stored in memory 732 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 722 is configured to execute instructions to perform a method provided in embodiments of this application.

[0081] Electronic device 700 may also include a power supply component 726 configured to perform power management of electronic device 700, a wired or wireless network interface 750 configured to connect electronic device 700 to a network, and an input / output (I / O) interface 758. Electronic device 700 may operate on an operating system stored in memory 732, such as Windows Server™, MacOSX™, Unix™, Linux™, FreeBSD™, or similar.

[0082] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the method described above.

[0083] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0084] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for defrosting car windows, characterized in that, The method includes: The environmental parameters of the vehicle's environment are obtained, including temperature, humidity, and dew point temperature. The environmental risk level is determined based on the aforementioned environmental parameters; When the environmental risk level is the preset Class 1 level, the corresponding defrosting mode and dormancy duration are directly determined. When the environmental risk level is the preset second level, the corresponding defrosting mode and dormancy duration are determined according to the time period to which the current time belongs; According to the defrosting mode, the defrosting actuator is controlled to perform the defrosting operation, and after the defrosting is completed, the vehicle is controlled to enter the sleep state according to the sleep duration.

2. The method according to claim 1, characterized in that, The preset first risk level includes a high-risk level and a low-risk level. When the environmental risk level is the preset first risk level, the corresponding defrosting mode and dormancy duration are directly determined, including: When the environmental risk level is high, the system enters the first defrosting mode and sets the first hibernation duration. When the environmental risk level is low, the system enters the second defrosting mode and sets the second sleep duration. The first sleep duration is shorter than the second sleep duration.

3. The method according to claim 1, characterized in that, The second category includes a medium-risk level. When the environmental risk level is a preset second category, the corresponding defrosting mode and dormancy duration are determined according to the current time period, including: If the current time falls within the user's preferred usage period, the system will enter the first defrosting mode and set the sleep duration to the third sleep duration; the user's preferred usage period is determined based on the user's historical usage data. If the current time is not within the user's preferred vehicle usage time period, but is within the temporary fast phase period, then the first defrost mode is entered, and the sleep duration is set to the fourth sleep duration; the temporary fast phase is a defrost period set in response to a temporary user command or an external trigger signal of the vehicle. If the current time is not within the user's preferred car usage time period or the temporary express phase period, but is within the basic time window, then the first defrost mode is entered, and the sleep duration is set to the fifth sleep duration; the basic time window is a preset fixed time interval. If the current time is not within the user's preferred car use period, not within the temporary fast phase period, and not within the basic time window, then enter the second defrost mode and set the sleep duration to the sixth sleep duration; The third, fourth, fifth, and sixth sleep durations increase sequentially.

4. The method according to any one of claims 1-3, characterized in that, The step of determining the environmental risk level based on the environmental parameters includes: When the temperature is less than or equal to a first temperature threshold, the humidity is greater than or equal to a first humidity threshold, and the dew point temperature is less than or equal to a first dew point threshold, it is determined to be a high-risk level. When the temperature is greater than the second temperature threshold, the humidity is less than the second humidity threshold, and the dew point temperature is greater than the second dew point threshold, it is determined to be a low-risk level. When the temperature is greater than the first temperature threshold and less than or equal to the second temperature threshold, or the humidity is greater than or equal to the first humidity threshold and less than the second humidity threshold, or the dew point temperature is greater than the first dew point threshold and less than or equal to the second dew point threshold, it is determined to be a medium risk level.

5. The method according to any one of claims 1-4, characterized in that, The step of controlling the defrosting actuator to perform defrosting operations according to the defrosting mode includes: The degree of frost on the glass to be defrosted is detected by an image sensor, and a frost level is generated. The output duty cycle of the pulse width modulation wave is determined based on the current defrosting mode and the degree of frost. The defrosting actuator is driven by the output duty cycle to perform defrosting.

6. The method according to claim 1, characterized in that, The method further includes: The image processor continuously detects the degree of frost on the glass to be defrosted multiple times. When the number of consecutive jumps in the degree of frost reaches or exceeds the preset level jump threshold, it is determined that the current stage is a temporary fast stage and the first defrosting mode is entered. The temporary fast phase exits after a preset duration.

7. The method according to claim 1, characterized in that, The method further includes: If the environmental risk level changes during the defrosting process, the corresponding defrosting mode and sleep duration will be adjusted accordingly. After the previous defrosting is completed, the system enters a dormant state according to the adjusted dormant duration. After the dormant state ends, defrosting control is performed using the adjusted defrosting mode and dormant duration.

8. A car window defrosting device, characterized in that, The device includes: The acquisition module is used to acquire environmental parameters of the environment in which the vehicle is located, including temperature, humidity and dew point temperature; The first determining module is used to determine the environmental risk level based on the environmental parameters; The second determining module is used to directly determine the corresponding defrosting mode and dormancy duration when the environmental risk level is a preset first category level. The third determining module is used to determine the corresponding defrosting mode and dormancy duration based on the time stage to which the current time belongs when the environmental risk level is a preset second level. The control module is used to control the defrosting actuator to perform defrosting operations according to the defrosting mode, and to control the vehicle to enter a sleep state according to the sleep duration after defrosting is completed.

9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in 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 the processor, it implements the steps of the method as described in any one of claims 1 to 7.