A rearview mirror automatic heating method, device, equipment and storage medium

By using an automatic heating method based on mirror information and vehicle environmental rainfall conditions, the problem of high energy consumption in rearview mirror calculations has been solved, thereby improving mirror clarity and safety.

CN116968636BActive Publication Date: 2026-02-17HUMAN HORIZONS (SHANGHAI) CLOUD COMPUTING TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311048791.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-18
Publication Date
2026-02-17
Estimated Expiration
2043-08-18

AI Technical Summary

Technical Problem

In existing technologies, the frequent use of camera devices to acquire and process images of the rearview mirror results in high computational energy consumption, affecting the clarity of the rearview mirror and vehicle safety.

Method used

By acquiring the mirror surface information of the rearview mirror, it automatically heats up when the preset rainfall conditions are met, and stops when the conditions are no longer met. The heating interval is determined by the rainfall in the vehicle's environment and driving information, thus reducing computational energy consumption.

Benefits of technology

It enables automatic heating of the rearview mirror, ensuring mirror clarity, improving driving safety, reducing computing power consumption, and avoiding the risk of wiring harness meltdown caused by prolonged heating.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116968636B_ABST
    Figure CN116968636B_ABST
Patent Text Reader

Abstract

The application discloses a rearview mirror automatic heating method, device, equipment and storage medium, and the method comprises the steps of acquiring mirror surface information of a rearview mirror; when the mirror surface information meets a preset first rainfall condition, heating the rearview mirror until the mirror surface rainfall information does not meet the first rainfall condition, and stopping heating; after stopping heating, acquiring an interval duration according to rainfall information of an environment where a vehicle is located and vehicle driving information; wherein the rainfall information and the interval duration are negatively correlated, and the vehicle driving information and the interval duration are negatively correlated; when a duration of stopping heating reaches the interval duration, returning to the step of acquiring the mirror surface information of the rearview mirror. According to the application, when the duration of stopping heating reaches the interval duration, the mirror surface information is acquired and analyzed again, the mirror surface information is not acquired frequently, and the mirror surface information is not processed frequently, so that the calculation energy consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and in particular to an automatic rearview mirror heating method, device, equipment, and storage medium. Background Technology

[0002] The rearview mirror is an important part of a vehicle. It allows the driver to see the situation behind or to the side of the vehicle. However, in rainy, snowy, or foggy weather, the rearview mirror may become wet with rainwater or water droplets formed by fog, making the image in the mirror unclear. This can prevent the driver from clearly seeing the situation behind or to the side of the vehicle, thus creating a safety hazard.

[0003] In existing technologies, the function of heating the rearview mirror is usually determined by analyzing the mirror image to achieve water removal and defogging. However, when implementing this solution, the inventors found that it requires frequent use of a camera to acquire the mirror image and process and analyze it, resulting in high computational energy consumption. Summary of the Invention

[0004] This invention provides a method, apparatus, device, and storage medium for automatic heating of rearview mirrors, which can effectively solve the problem of high computational energy consumption caused by the need to frequently call a camera device to acquire rearview mirror images and process and analyze the mirror images.

[0005] To achieve the above objectives, embodiments of the present invention provide an automatic rearview mirror heating method, comprising:

[0006] Obtain mirror information from the rearview mirror;

[0007] When the mirror information meets the preset first rainfall condition, the rearview mirror is heated until the mirror rainfall information no longer meets the first rainfall condition, at which point the heating stops.

[0008] After heating is stopped, the interval duration is obtained based on the rainfall information of the vehicle's environment and the vehicle's driving information; wherein the rainfall information is negatively correlated with the interval duration, and the vehicle driving information is negatively correlated with the interval duration.

[0009] When the heating is stopped for the specified interval, return to the step of obtaining the mirror information of the rearview mirror.

[0010] As an improvement to the above solution, where the mirror information is a mirror image, the step of heating the rearview mirror when the mirror information meets a preset first rainfall condition, until the mirror rainfall information no longer meets the first rainfall condition, and then stopping the heating, includes:

[0011] The mirror image is converted to a grayscale image, and the texture of the grayscale image is scanned.

[0012] The outline density of the texture is calculated to determine whether there is water on the surface of the rearview mirror;

[0013] When water is detected on the surface of the rearview mirror, the rearview mirror is heated until it is determined that there is no water on the surface of the rearview mirror, at which point the heating is stopped.

[0014] As an improvement to the above solution, obtaining the mirror surface information of the rearview mirror includes:

[0015] The system obtains rainfall information about the vehicle's environment using a rain sensor. When the rainfall information meets a preset second rainfall condition, the system calls a camera to obtain the mirror information of the rearview mirror.

[0016] As an improvement to the above solution, the interval for obtaining rainfall information and vehicle driving information based on the vehicle's environment includes:

[0017] Acquire real-time rainfall information of the vehicle's environment as detected by the rain sensor;

[0018] Obtain the vehicle's real-time speed;

[0019] Based on a preset first correspondence between rainfall information, vehicle speed, and rainfall level, the corresponding real-time rainfall level is obtained according to the real-time rainfall information and the real-time vehicle speed; wherein, in the first correspondence, rainfall information is positively correlated with rainfall level, and vehicle speed is positively correlated with rainfall level.

[0020] Based on a preset second correspondence between rainfall level and interval duration, the interval duration is obtained according to the real-time rainfall level; wherein, in the second correspondence, rainfall level and interval duration are negatively correlated.

[0021] As an improvement to the above scheme, since rainfall levels do not have priority, the second correspondence between rainfall levels and interval durations, based on the preset rainfall level, involves obtaining the interval duration according to the real-time rainfall level, including:

[0022] Based on a preset second correspondence between rainfall level and interval duration, the corresponding interval duration is updated in real time according to the real-time rainfall level.

[0023] As an improvement to the above scheme, rainfall levels have priorities. Therefore, the second correspondence between rainfall levels and interval durations, based on a preset relationship, involves obtaining the interval duration according to the real-time rainfall level, including:

[0024] When the real-time rainfall level is the first rainfall level obtained after the heating is stopped, the interval time corresponding to the real-time rainfall level is obtained based on the second correspondence between the preset rainfall level and the interval time.

[0025] When the priority of the real-time rainfall level is lower than or equal to the priority of the historical rainfall level, the interval duration is not updated; the historical rainfall level is the rainfall level obtained from the start of this heating shutdown to the current moment.

[0026] When the priority of the real-time rainfall level is higher than the priority of the historical rainfall level, the interval duration is updated to the interval duration corresponding to the real-time rainfall level based on the second correspondence.

[0027] As an improvement to the above solution, the step of obtaining the corresponding real-time rainfall level based on the real-time rainfall information and the real-time vehicle speed, according to the preset first correspondence between rainfall information, vehicle speed, and rainfall level, includes:

[0028] Determine the rainfall range within which the real-time rainfall information is located;

[0029] Determine the speed range within which the real-time vehicle speed falls;

[0030] Based on the correspondence between rainfall range, speed range and rainfall level, the corresponding real-time rainfall level is determined.

[0031] To achieve the above objectives, embodiments of the present invention also provide an automatic rearview mirror heating device, comprising:

[0032] The mirror information acquisition module is used to acquire the mirror information of the rearview mirror;

[0033] The rearview mirror heating module is used to heat the rearview mirror when the mirror information meets a preset first rainfall condition, and to stop heating when the mirror rainfall information no longer meets the first rainfall condition.

[0034] An interval duration acquisition module is used to acquire the interval duration based on rainfall information and vehicle driving information of the vehicle's environment after heating is stopped; wherein, the rainfall information is negatively correlated with the interval duration, and the vehicle driving information is negatively correlated with the interval duration.

[0035] The interval duration module is used to return to the step of obtaining the mirror information of the rearview mirror when the heating stop time reaches the interval duration.

[0036] To achieve the above objectives, embodiments of the present invention also provide an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the automatic rearview mirror heating method as described above when executing the computer program.

[0037] To achieve the above objectives, embodiments of the present invention also provide a computer-readable storage medium, the computer-readable storage medium including a stored computer program; wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the automatic rearview mirror heating method as described above.

[0038] Compared with existing technologies, the present invention provides an automatic rearview mirror heating method, device, equipment, and storage medium. This method involves acquiring mirror surface information of the rearview mirror; heating the rearview mirror when the mirror surface information meets a preset first rainfall condition, and stopping heating when the rainfall information no longer meets the first rainfall condition; after stopping heating, obtaining an interval duration based on rainfall information of the vehicle's environment and vehicle driving information; wherein the rainfall information and the interval duration are negatively correlated; and when the heating stop time reaches the interval duration, returning to the step of acquiring the mirror surface information. Therefore, the present invention, by analyzing mirror surface information, can automatically heat the rearview mirror without requiring manual activation by the driver, ensuring the mirror's clarity and thus guaranteeing vehicle driving safety and improving the user's driving experience. Simultaneously, it can automatically stop heating, avoiding the risk of fuse burnout of the wiring harness due to prolonged operation of the rearview mirror heating function. This invention also reduces computational energy consumption by acquiring and analyzing mirror information only after the heating period has reached the required interval. This avoids the need for frequent acquisition and processing of mirror information. Attached Figure Description

[0039] Figure 1 This is a flowchart of an automatic rearview mirror heating method provided in an embodiment of the present invention;

[0040] Figure 2 This is a structural block diagram of an automatic rearview mirror heating device provided in an embodiment of the present invention;

[0041] Figure 3 This is a structural block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0043] See Figure 1 , Figure 1This is a flowchart of an automatic rearview mirror heating method provided by an embodiment of the present invention. The automatic rearview mirror heating method includes:

[0044] S1. Obtain the mirror surface information of the rearview mirror;

[0045] S2. When the mirror information meets the preset first rainfall condition, the rearview mirror is heated until the mirror rainfall information no longer meets the first rainfall condition, and then the heating is stopped.

[0046] S3. After heating is stopped, the interval duration is obtained based on the rainfall information of the vehicle's environment and the vehicle's driving information; wherein the rainfall information is negatively correlated with the interval duration, and the vehicle driving information is negatively correlated with the interval duration.

[0047] S4. When the heating is stopped for a period of time, return to the step of obtaining the mirror information of the rearview mirror.

[0048] It is understood that by setting the interval duration, the vehicle controller no longer frequently acquires mirror information, thus reducing the frequency of processing and analysis of this information and lowering computational energy consumption. Furthermore, the greater the rainfall and vehicle driving information, the higher the probability of the rearview mirror being blurred by rain. In such cases, it is more necessary to quickly determine whether to activate the rearview mirror heating function. Therefore, rainfall and vehicle driving information are negatively correlated with the interval duration. By reasonably setting the interval duration, this embodiment of the invention ensures minimal computational energy consumption without affecting the automatic rearview mirror heating function.

[0049] This invention, through analysis of mirror information, enables automatic heating and de-heating of the rearview mirror, eliminating the need for manual operation by the driver. This ensures mirror clarity, thereby guaranteeing vehicle safety, improving the user's driving experience, and avoiding the risk of wiring harness burnout caused by prolonged rearview mirror heating. Furthermore, by acquiring and analyzing mirror information only after a set interval has elapsed since heating has ceased, this invention reduces computational energy consumption by minimizing frequent data acquisition and processing.

[0050] In an optional embodiment, if the mirror information is a mirror image, then the step of heating the rearview mirror when the mirror information meets a preset first rainfall condition, and stopping heating when the mirror rainfall information no longer meets the first rainfall condition, includes:

[0051] The mirror image is converted to a grayscale image, and the texture of the grayscale image is scanned.

[0052] The outline density of the texture is calculated to determine whether there is water on the surface of the rearview mirror;

[0053] When water is detected on the surface of the rearview mirror, the rearview mirror is heated until it is determined that there is no water on the surface of the rearview mirror, at which point the heating is stopped.

[0054] In this embodiment of the invention, the mirror image processing and analysis specifically involves: calculating the stripe density of the rearview mirror area using a grayscale algorithm to determine whether there is water on the rearview mirror surface; when water is detected, the rearview mirror is heated; when no water is detected, the heating of the rearview mirror is stopped.

[0055] In an optional implementation, obtaining the mirror surface information of the rearview mirror includes:

[0056] The system obtains rainfall information about the vehicle's environment using a rain sensor. When the rainfall information meets a preset second rainfall condition, the system calls a camera to obtain the mirror information of the rearview mirror.

[0057] Understandably, continuously using a camera to acquire and process the rearview mirror's surface information increases computational power consumption. To further reduce power consumption, a rain sensor is installed on the vehicle's windshield. This sensor directly detects the amount of rainfall in the vehicle's environment. When rain is detected, the camera is used to acquire the rearview mirror's surface information. Optionally, the camera is mounted on the B-pillar, facing the rearview mirror.

[0058] In one optional implementation, the step of obtaining the interval duration based on the rainfall information of the vehicle's environment and the vehicle's driving information includes:

[0059] Acquire real-time rainfall information of the vehicle's environment as detected by the rain sensor;

[0060] Obtain the vehicle's real-time speed;

[0061] Based on a preset first correspondence between rainfall information, vehicle speed, and rainfall level, the corresponding real-time rainfall level is obtained according to the real-time rainfall information and the real-time vehicle speed; wherein, in the first correspondence, rainfall information is positively correlated with rainfall level, and vehicle speed is positively correlated with rainfall level.

[0062] Based on a preset second correspondence between rainfall level and interval duration, the interval duration is obtained according to the real-time rainfall level; wherein, in the second correspondence, rainfall level and interval duration are negatively correlated.

[0063] In this embodiment of the invention, when considering rainfall levels, the influence of vehicle speed on rainfall levels is no longer considered alone; a more comprehensive consideration of the vehicle's environmental information as seen by the rearview mirror allows for a more reasonable setting of interval durations. Preferably, the real-time rainfall intensity is identified by the change in light refraction detected by a rain sensor, which can be mounted on the windshield.

[0064] In an optional implementation, if rainfall levels do not have priority, then the second correspondence between preset rainfall levels and interval durations, and the acquisition of the interval duration based on the real-time rainfall levels, includes:

[0065] Based on a preset second correspondence between rainfall level and interval duration, the corresponding interval duration is updated in real time according to the real-time rainfall level.

[0066] In this embodiment of the invention, after the rearview mirror stops heating, rainfall information and vehicle speed are acquired in real time, the rainfall level is updated in real time, and the interval time is updated in real time. When the heating stop time reaches the real-time update interval time, the process returns to the step of acquiring the mirror surface information of the rearview mirror.

[0067] In one optional implementation, if rainfall levels have priorities, then the second correspondence between rainfall levels and interval durations, based on the preset rainfall level, involves obtaining the interval duration according to the real-time rainfall level, including:

[0068] When the real-time rainfall level is the first rainfall level obtained after the heating is stopped, the interval time corresponding to the real-time rainfall level is obtained based on the second correspondence between the preset rainfall level and the interval time.

[0069] When the priority of the real-time rainfall level is lower than or equal to the priority of the historical rainfall level, the interval duration is not updated; the historical rainfall level is the rainfall level obtained from the start of this heating shutdown to the current moment.

[0070] When the priority of the real-time rainfall level is higher than the priority of the historical rainfall level, the interval duration is updated to the interval duration corresponding to the real-time rainfall level based on the second correspondence.

[0071] In this embodiment of the invention, rainfall levels have priorities, and higher priorities will interrupt lower priorities. After the rearview mirror stops heating, if the priority of the subsequently acquired real-time rainfall level is higher than the priority of the previously acquired rainfall level, the interval duration is updated to the interval duration corresponding to the real-time rainfall level at this time. When the heating stop duration reaches the updated interval duration, the process returns to the step of acquiring the mirror information of the rearview mirror.

[0072] In one optional implementation, the step of obtaining the corresponding real-time rainfall level based on the real-time rainfall information and the real-time vehicle speed, according to a preset first correspondence between rainfall information, vehicle speed, and rainfall level, includes:

[0073] Determine the rainfall range within which the real-time rainfall information is located;

[0074] Determine the speed range within which the real-time vehicle speed falls;

[0075] Based on the correspondence between rainfall range, speed range and rainfall level, the corresponding real-time rainfall level is determined.

[0076] It is understandable that rainfall information is divided into three ranges: heavy, medium, and light; vehicle speed is divided into three ranges: high, medium, and low; and rainfall level is divided into three levels: A, B, and C. The real-time rainfall level is determined by the rainfall range in which the real-time rainfall information falls and the speed range described in the real-time vehicle speed information.

[0077] See Figure 2 , Figure 2 This is a structural block diagram of an automatic rearview mirror heating device 10 provided in an embodiment of the present invention. The automatic rearview mirror heating device 10 includes:

[0078] The mirror information acquisition module is used to acquire the mirror information of the rearview mirror;

[0079] The rearview mirror heating module is used to heat the rearview mirror when the mirror information meets a preset first rainfall condition, and to stop heating when the mirror rainfall information no longer meets the first rainfall condition.

[0080] An interval duration acquisition module is used to acquire the interval duration based on rainfall information and vehicle driving information of the vehicle's environment after heating is stopped; wherein, the rainfall information is negatively correlated with the interval duration, and the vehicle driving information is negatively correlated with the interval duration.

[0081] The interval duration module is used to return to the step of obtaining the mirror information of the rearview mirror when the heating stop time reaches the interval duration.

[0082] Preferably, the mirror information is a mirror image. Then, the step of heating the rearview mirror when the mirror information meets a preset first rainfall condition, until the mirror rainfall information no longer meets the first rainfall condition, and stopping the heating, includes:

[0083] The mirror image is converted to a grayscale image, and the texture of the grayscale image is scanned.

[0084] The outline density of the texture is calculated to determine whether there is water on the surface of the rearview mirror;

[0085] When water is detected on the surface of the rearview mirror, the rearview mirror is heated until it is determined that there is no water on the surface of the rearview mirror, at which point the heating is stopped.

[0086] Preferably, obtaining the mirror surface information of the rearview mirror includes:

[0087] The system obtains rainfall information about the vehicle's environment using a rain sensor. When the rainfall information meets a preset second rainfall condition, the system calls a camera to obtain the mirror information of the rearview mirror.

[0088] Preferably, the interval for obtaining rainfall information and vehicle driving information based on the vehicle's environment includes:

[0089] Acquire real-time rainfall information of the vehicle's environment as detected by the rain sensor;

[0090] Obtain the vehicle's real-time speed;

[0091] Based on a preset first correspondence between rainfall information, vehicle speed, and rainfall level, the corresponding real-time rainfall level is obtained according to the real-time rainfall information and the real-time vehicle speed; wherein, in the first correspondence, rainfall information is positively correlated with rainfall level, and vehicle speed is positively correlated with rainfall level.

[0092] Based on a preset second correspondence between rainfall level and interval duration, the interval duration is obtained according to the real-time rainfall level; wherein, in the second correspondence, rainfall level and interval duration are negatively correlated.

[0093] Preferably, if rainfall levels do not have priority, then the second correspondence between rainfall levels and interval durations, based on the preset rainfall level, involves obtaining the interval duration according to the real-time rainfall level, including:

[0094] Based on a preset second correspondence between rainfall level and interval duration, the corresponding interval duration is updated in real time according to the real-time rainfall level.

[0095] Preferably, if rainfall levels have priorities, then the second correspondence between rainfall levels and interval durations, based on the preset rainfall level, involves obtaining the interval duration according to the real-time rainfall level, including:

[0096] When the real-time rainfall level is the first rainfall level obtained after the heating is stopped, the interval time corresponding to the real-time rainfall level is obtained based on the second correspondence between the preset rainfall level and the interval time.

[0097] When the priority of the real-time rainfall level is lower than or equal to the priority of the historical rainfall level, the interval duration is not updated; the historical rainfall level is the rainfall level obtained from the start of this heating shutdown to the current moment.

[0098] When the priority of the real-time rainfall level is higher than the priority of the historical rainfall level, the interval duration is updated to the interval duration corresponding to the real-time rainfall level based on the second correspondence.

[0099] Preferably, the step of obtaining the corresponding real-time rainfall level based on the real-time rainfall information and the real-time vehicle speed, according to the preset first correspondence between rainfall information, vehicle speed, and rainfall level, includes:

[0100] Determine the rainfall range within which the real-time rainfall information is located;

[0101] Determine the speed range within which the real-time vehicle speed falls;

[0102] Based on the correspondence between rainfall range, speed range and rainfall level, the corresponding real-time rainfall level is determined.

[0103] It is worth noting that the working process of each module in the automatic rearview mirror heating device 10 described in the embodiments of the present invention can refer to the working process of the automatic rearview mirror heating method described in the above embodiments, and will not be repeated here.

[0104] This invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the automatic rearview mirror heating method as described in any of the above embodiments.

[0105] See Figure 3 , Figure 3 This is a structural block diagram of an electronic device 20 provided in an embodiment of the present invention. The electronic device 20 includes: a processor 21, a memory 22, and a computer program stored in the memory 22 and executable on the processor 21. When the processor 21 executes the computer program, it implements the steps in the above-described automatic rearview mirror heating method embodiment. Alternatively, when the processor 21 executes the computer program, it implements the functions of each module / unit in the above-described device embodiments.

[0106] For example, the computer program may be divided into one or more modules / units, which are stored in the memory 22 and executed by the processor 21 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the electronic device 20.

[0107] The electronic device 20 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device. The electronic device 20 may include, but is not limited to, a processor 21 and a memory 22. Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 20 and does not constitute a limitation on the electronic device 20. It may include more or fewer components than shown, or combine certain components, or different components. For example, the electronic device 20 may also include input / output devices, network access devices, buses, etc.

[0108] The processor 21 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processor 21 is the control center of the electronic device 20, connecting all parts of the electronic device 20 via various interfaces and lines.

[0109] The memory 22 can be used to store the computer programs and / or modules. The processor 21 implements various functions of the electronic device 20 by running or executing the computer programs and / or modules stored in the memory 22 and calling the data stored in the memory 22. The memory 22 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0110] If the modules / units integrated in the electronic device 20 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by the processor 21, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0111] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.

[0112] Compared with existing technologies, the present invention provides an automatic rearview mirror heating method, device, equipment, and storage medium. This method involves acquiring mirror surface information of the rearview mirror; heating the rearview mirror when the mirror surface information meets a preset first rainfall condition, and stopping heating when the rainfall information no longer meets the first rainfall condition; after stopping heating, obtaining an interval duration based on rainfall information of the vehicle's environment and vehicle driving information; wherein the rainfall information and the interval duration are negatively correlated; and when the heating stop time reaches the interval duration, returning to the step of acquiring the mirror surface information. Therefore, the present invention, by analyzing mirror surface information, can automatically heat the rearview mirror without requiring manual activation by the driver, ensuring the mirror's clarity and thus guaranteeing vehicle driving safety and improving the user's driving experience. Simultaneously, it can automatically stop heating, avoiding the risk of fuse burnout of the wiring harness due to prolonged operation of the rearview mirror heating function. This invention also reduces computational energy consumption by acquiring and analyzing mirror information only after the heating period has reached the required interval. This avoids the need for frequent acquisition and processing of mirror information.

[0113] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method of automatically heating a rearview mirror, characterized by, The method comprises the following steps: acquiring mirror surface information of the rearview mirror; when the mirror surface information meets a preset first rainfall condition, heating the rearview mirror until the mirror surface information does not meet the first rainfall condition, and stopping heating; after stopping heating, acquiring an interval duration according to rainfall information of an environment in which the vehicle is located and vehicle driving information; the rainfall information and the interval duration are negatively correlated, and the vehicle driving information and the interval duration are negatively correlated; when a duration of stopping heating reaches the interval duration, returning to the step of acquiring the mirror surface information of the rearview mirror; the step of acquiring the interval duration according to the rainfall information of the environment in which the vehicle is located and the vehicle driving information comprises the following steps: acquiring real-time rainfall information of the environment in which the vehicle is located detected by a rainfall sensor; acquiring real-time vehicle speed of the vehicle; acquiring a corresponding real-time rainfall grade according to the real-time rainfall information and the real-time vehicle speed based on a preset first correspondence relationship among rainfall information, vehicle speed and rainfall grade; in the first correspondence relationship, the rainfall information and the rainfall grade are positively correlated, and the vehicle speed and the rainfall grade are positively correlated; acquiring the interval duration according to the real-time rainfall grade based on a preset second correspondence relationship among rainfall grade and interval duration; in the second correspondence relationship, the rainfall grade and the interval duration are negatively correlated; when the rainfall grade has a priority, the step of acquiring the interval duration according to the real-time rainfall grade based on the second correspondence relationship among rainfall grade and interval duration comprises the following steps: when the real-time rainfall grade is a rainfall grade obtained for the first time after stopping heating this time, acquiring the interval duration corresponding to the real-time rainfall grade based on the second correspondence relationship among rainfall grade and interval duration; when the priority of the real-time rainfall grade is lower than or equal to the priority of a historical rainfall grade, not updating the interval duration; the historical rainfall grade is a rainfall grade acquired from the time when the heating is stopped this time to the current time; when the priority of the real-time rainfall grade is higher than the priority of the historical rainfall grade, updating the interval duration to the interval duration corresponding to the real-time rainfall grade based on the second correspondence relationship.

2. The method of automatically heating a rearview mirror of claim 1, wherein, when the mirror surface information is a mirror surface image, the step of heating the rearview mirror when the mirror surface information meets the preset first rainfall condition until the mirror surface information does not meet the first rainfall condition, and stopping heating, comprises the following steps: converting the mirror surface image into a gray-scale image, scanning a texture of the gray-scale image, calculating a contour density of the texture, and using the contour density to determine whether there is water on the mirror surface of the rearview mirror; when it is determined that there is water on the mirror surface of the rearview mirror, heating the rearview mirror until it is determined that there is no water on the mirror surface of the rearview mirror, and stopping heating.

3. The method of automatically heating a rearview mirror of claim 1, wherein, the step of acquiring the mirror surface information of the rearview mirror comprises the following steps: acquiring rainfall information of an environment in which the vehicle is located by using a rainfall sensor; when the rainfall information meets a preset second rainfall condition, acquiring the mirror surface information of the rearview mirror by using a camera device.

4. The method of automatically heating a rearview mirror of claim 1, wherein, the step of acquiring the corresponding real-time rainfall grade according to the real-time rainfall information and the real-time vehicle speed based on the first correspondence relationship among rainfall information, vehicle speed and rainfall grade comprises the following steps: determining a rainfall range in which the real-time rainfall information is located; determining a speed range in which the real-time vehicle speed is located; determining a corresponding real-time rainfall level based on a correspondence relationship among the rainfall range, the speed range, and the rainfall level.

5. An automatic heating device for a rearview mirror, characterized by The method comprises the following steps: an information acquisition module, configured to acquire mirror information of the rearview mirror; a rearview mirror heating module, configured to heat the rearview mirror when the mirror information meets a preset first rainfall condition, until the mirror information does not meet the first rainfall condition, and stop heating; an interval duration acquisition module, configured to acquire an interval duration based on rainfall information of an environment in which the vehicle is located and vehicle driving information after the heating is stopped; the rainfall information and the interval duration are negatively correlated, and the vehicle driving information and the interval duration are negatively correlated; the acquisition of the interval duration based on the rainfall information of the environment in which the vehicle is located and the vehicle driving information comprises the following steps: acquiring real-time rainfall information of the environment in which the vehicle is located detected by a rainfall sensor; acquiring a real-time vehicle speed at which the vehicle is driving; acquiring a corresponding real-time rainfall level based on a preset first correspondence relationship among rainfall information, vehicle speed, and rainfall level, according to the real-time rainfall information and the real-time vehicle speed; in the first correspondence relationship, the rainfall information and the rainfall level are positively correlated, and the vehicle speed and the rainfall level are positively correlated; acquiring the interval duration based on a preset second correspondence relationship among rainfall level and interval duration, according to the real-time rainfall level; in the second correspondence relationship, the rainfall level and the interval duration are negatively correlated; when the real-time rainfall level has a priority, the acquisition of the interval duration based on the preset second correspondence relationship among rainfall level and interval duration, according to the real-time rainfall level, comprises the following steps: when the real-time rainfall level is a rainfall level obtained for the first time after the heating is stopped this time, acquiring an interval duration corresponding to the real-time rainfall level based on the preset second correspondence relationship among rainfall level and interval duration; when the priority of the real-time rainfall level is lower than or equal to the priority of a historical rainfall level, not updating the interval duration; the historical rainfall level is a rainfall level acquired from the time when the heating is stopped this time to the current time; when the priority of the real-time rainfall level is higher than the priority of the historical rainfall level, updating the interval duration to an interval duration corresponding to the real-time rainfall level based on the second correspondence relationship; an interval duration reaching module, configured to return to the step of acquiring the mirror information of the rearview mirror when a duration for which the heating is stopped reaches the interval duration.

6. An electronic device, comprising: The computer readable storage medium comprises a stored computer program; when the computer program is executed, the computer readable storage medium controls a device in which the computer readable storage medium is located to execute the rearview mirror automatic heating method.

7. A computer readable storage medium characterized by The computer readable storage medium comprises a stored computer program; when the computer program is executed, the computer readable storage medium controls a device in which the computer readable storage medium is located to execute the rearview mirror automatic heating method.

Citation Information

Patent Citations

  • Rainfall detecting method and device

    CN106646677A

  • Wiper repairing control method and device, vehicle and storage medium

    CN114368358A

  • Method, device and equipment for removing water mist of rearview mirror and medium

    CN114750725A