Control method of rearview mirror, electronic equipment and vehicle
By judging the brightness of the front and rear images, combined with the adjustment of the transmittance and reflection angle of the liquid crystal lens, the problem of insufficient accuracy of the vehicle rearview mirror in recognizing strong light is solved, thereby improving the anti-glare performance and driving safety.
Patent Information
- Application Number
- CN202511068874.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-31
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2045-07-31
AI Technical Summary
In the prior art, the vehicle rearview mirror has low recognition accuracy for strong light scenes behind the vehicle body, resulting in a decrease in the anti-glare performance of the exterior rearview mirror, affecting driving safety.
By comprehensively judging the target brightness of the front-view image and the target brightness of the rear-view image, the strong light source behind the vehicle body is identified, and the reflective effect of the exterior rearview mirror is adjusted based on the brightness threshold. The transmittance and reflection angle of the liquid crystal lens are dynamically adjusted to achieve precise control of the anti-glare function.
The response accuracy and adjustment efficiency of the anti-glare mode have been improved, enhancing driving safety and comfort in complex scenarios.
Smart Images

Figure CN120716588A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of rearview mirror system control, and in particular to a rearview mirror control method, electronic equipment, and vehicle. Background Art
[0002] With the improvement of people's living standards, vehicle safety and comfort have become a growing concern. When driving at night, the reflection of rear high beams from the rearview mirror can easily dazzle the driver, affecting rearward vision and threatening driving safety. To address this, some vehicles are equipped with anti-glare exterior mirrors to reduce glare.
[0003] Currently, vehicles use light sensors on the interior rearview mirror to detect the difference in light between the front and rear to identify anti-glare scenes. However, the above method has low recognition accuracy for strong light scenes behind the vehicle body, affecting the adjustment accuracy and anti-glare performance of the exterior rearview mirror. Summary of the Invention
[0004] In view of this, the purpose of this application is to propose a rearview mirror control method, electronic equipment and vehicle to solve the technical problem that the anti-glare performance of the exterior rearview mirror is reduced due to low accuracy in recognizing strong light scenes behind the vehicle body.
[0005] Based on the above objectives, the present application provides a method for controlling a rearview mirror, comprising: In response to determining that the target brightness of the acquired forward-view image is less than a first brightness threshold, and recognizing a light spot in the acquired rearward-view image, determining the brightness of the light spot according to image information of the rearward-view image, and determining the target brightness of the rearward-view image based on the brightness of the light spot; In response to determining that the target brightness of the rearview image is greater than a second brightness threshold, based on an anti-glare function of the vehicle's exterior rearview mirror, adjusting a reflective effect of the exterior rearview mirror according to the target brightness of the rearview image; The first brightness threshold is smaller than the second brightness threshold.
[0006] Furthermore, the exterior rearview mirror includes a liquid crystal lens capable of adjusting light transmittance through electrical parameters; The anti-glare function of the vehicle's exterior rearview mirror is used to adjust the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image, including: The current anti-glare mode of the exterior rearview mirror is determined according to the target brightness of the rearview image, and the electrical parameters applied to the liquid crystal lens are adjusted based on the current anti-glare mode of the exterior rearview mirror.
[0007] Furthermore, the anti-glare mode includes a dynamic balance mode, a strong light suppression mode and an extreme protection mode; The determining of the current anti-glare mode of the exterior rearview mirror according to the target brightness of the rearview image, and adjusting the electrical parameters applied to the liquid crystal lens based on the current anti-glare mode of the exterior rearview mirror, includes: In response to determining that the target brightness of the rearview image is greater than the second brightness threshold and less than or equal to a third brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to a dynamic balancing mode to apply a first preset voltage to the liquid crystal lens and adjust its transmittance to the first preset transmittance; In response to determining that the target brightness of the rearview image is greater than the third brightness threshold and less than or equal to a fourth brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to a high-light suppression mode, applying a second preset voltage to the liquid crystal lens, and adjusting the transmittance thereof to a second preset transmittance; In response to determining that the target brightness of the rearview image is greater than the fourth brightness threshold and less than or equal to a fifth brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to an extreme protection mode, applying a third preset voltage to the exterior rearview mirror, and adjusting the transmittance thereof to a third preset transmittance; The first preset voltage, the second preset voltage and the third preset voltage increase in sequence, and the first preset transmittance, the second preset transmittance and the third preset transmittance decrease in sequence.
[0008] Furthermore, a driving module for adjusting the reflection angle of the liquid crystal lens is further provided in the exterior rearview mirror, and a power output end of the driving module abuts against the backlight side of the liquid crystal lens; The control method of the rearview mirror further includes: In response to the target brightness of the rearview image being greater than a fifth brightness threshold, the deflection angle of the outside rearview mirror is adjusted according to the position information of the seats in the driving area obtained, so as to reduce the light reflected from the outside rearview mirror to the driving area by adjusting the deflection angle of the liquid crystal lens.
[0009] Furthermore, determining the target brightness of the rearview image based on the brightness of the light spot includes: In response to there being at least two light spots, determining a weighting coefficient of the light spot according to at least the brightness of each light spot and its corresponding area, and determining a weighted brightness of each light spot according to the weighting coefficient; sorting the weighted brightness of all light spots according to a preset noise reduction sorting rule and generating a monotonic sequence, and taking the median of the monotonic sequence as the target brightness of the rearview image; The preset noise reduction sorting rule is to perform monotonous sorting on the weighted brightness.
[0010] Furthermore, the anti-glare function of the vehicle's exterior rearview mirror is used to adjust the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image, and the method also includes: adjusting the second brightness threshold according to the acquired abnormal weather type; In response to determining that the abnormal weather is precipitation, retrieving a first preset adjustment rule based on the obtained precipitation information of the area where the vehicle is currently located, and lowering the second brightness threshold according to the first preset adjustment rule; The first preset rule is to reduce the second brightness threshold according to a first preset ratio.
[0011] Furthermore, the anti-glare function of the vehicle's exterior rearview mirror is used to adjust the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image, and the method also includes: In response to a brightness value of a light spot identified in the acquired side image being greater than or equal to the second brightness threshold, adjusting a reflective effect of an exterior rearview mirror corresponding to the side image based on a target brightness of the rearview image; In response to no light spot being recognized in the acquired side image, or the brightness value of the recognized light spot being less than the second brightness threshold, the exterior rearview mirror corresponding to the side image is controlled to maintain a current state.
[0012] Furthermore, the rearview mirror control method further includes: In response to the vehicle satisfying at least one of the following conditions, controlling the anti-glare function of the exterior rearview mirror to be turned off; In response to receiving a forced exit instruction of the anti-glare function; In response to the vehicle's low beam headlights being in an off state; in response to the vehicle being shifted into reverse gear; In response to the vehicle being powered off.
[0013] Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the above-mentioned method when executing the computer program.
[0014] Based on the same inventive concept, the present disclosure also provides a vehicle, comprising the electronic device as described above.
[0015] From the above, it can be seen that the control method, electronic device and vehicle of the rearview mirror provided by the present application can make a comprehensive judgment on the lighting scene of the vehicle's environment and the strong light interference behind the vehicle body through the target brightness of the front view image and the target brightness of the rear view image; wherein, the light and dark state of the vehicle's environment can be determined according to the target brightness of the front view image, ensuring that the vehicle starts the rear strong light detection logic in a low-light environment, and improving the rationality of triggering the anti-glare function; by identifying the light spot in the rearview image and the target brightness of the rearview image, and comparing the target brightness of the rearview image based on the second brightness threshold, it can be accurately judged whether there is a strong light source causing glare behind the vehicle body, so that the rearview mirror control unit can dynamically adjust the reflective effect of the exterior rearview mirror according to the actual light source intensity, effectively reducing the interference of strong light on the driver's vision, improving the response accuracy and adjustment efficiency of the anti-glare mode, and enhancing the safety and comfort of driving in complex scenes. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in this application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are merely embodiments of this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0017] Figure 1 This is a flow chart of a method for controlling a rearview mirror in an embodiment of the present application; Figure 2 Flowchart of a method for adjusting the anti-glare mode of an exterior rearview mirror according to an embodiment of the present application; Figure 3 Flowchart of a method for determining target brightness of a rearview image in an embodiment of the present application; Figure 4 This is a flow chart of a method for adjusting the second brightness threshold according to abnormal weather types in an embodiment of the present application; Figure 5 Flowchart of a method for specifically adjusting the anti-glare mode of a corresponding exterior rearview mirror according to a side image in an embodiment of the present application; Figure 6 This is a structural block diagram of a control device for a rearview mirror in an embodiment of the present application; Figure 7 This is a structural block diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to make the objectives, technical solutions and advantages of this application more clear, this application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0019] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should have the usual meanings understood by people with ordinary skills in the field to which this application belongs. The "first", "second" and similar words used in the embodiments of the present application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0020] It should be understood herein that any number of elements in the drawings is for illustration only and not for limitation, and any naming is only for distinction and does not have any limiting meaning.
[0021] Vehicles primarily obtain rearward visibility through exterior mirrors and streaming media rearview mirrors. For vehicles driving at night or in tunnels, if the vehicle behind uses high beams, the strong light it receives will be reflected through the exterior mirrors into the driver's field of view, causing glare and interfering with the user's rearward field of view, increasing driving risks. To reduce the safety hazards caused by glare and improve driving safety, some vehicles are equipped with exterior mirrors with anti-glare functions. There are many types of anti-glare technologies on the market. Based on factors such as production costs and anti-glare effects, most vehicles will improve their exterior mirrors and / or interior mirrors, that is, use anti-glare mirrors to reduce the interference of strong light from the rear. Among them, common anti-glare exterior rearview mirrors mainly include polarized exterior rearview mirrors using polarizers (or polarized reflective films), liquid crystal exterior rearview mirrors using liquid crystal lenses, and deflected exterior rearview mirrors with adjustable mirror reflection angles. Different rearview mirrors can process strong light from behind based on different working principles, reduce the interference of strong light emitted by vehicles behind on the user's vision, protect users from glare, and improve their driving safety.
[0022] For example, for polarized exterior rearview mirrors, by adding a layer of special polarizing material to the mirror surface of the rearview mirror, light in a specific direction can be filtered out, reducing the glare generated by the high beams of the rear vehicle without affecting the propagation path of other light, so as to maintain the exterior rearview mirror with good field of view clarity.
[0023] For example, for liquid crystal exterior rearview mirrors, the transmittance of light is adjusted by utilizing the changes in the optical properties of the liquid crystal material under the action of an external electric field. When strong light from a vehicle behind illuminates the liquid crystal lens of the exterior rearview mirror, a voltage can be applied to the liquid crystal layer through the control unit of the rearview mirror to change the transparency of the liquid crystal layer, thereby adjusting the reflection intensity of the liquid crystal lens of the exterior rearview mirror to the reflected light, reducing the impact of dazzling light, and ensuring the clarity of the user's rear view.
[0024] Exemplarily, for the deflecting exterior rearview mirror, the deflecting exterior rearview mirror includes a shell, a reflective mirror surface movably connected to the shell, and a mechanical adjustment structure; wherein, the mechanical adjustment structure is located inside the shell and has a power output end abutting against the backlight side of the reflective mirror surface. The protrusion degree of the power output end can be adjusted by the mechanical adjustment structure, thereby changing the deflection angle of the reflective mirror surface on the shell, so that strong light from the rear is directed to other directions instead of being directly reflected into the user's line of sight, that is, the glare problem is solved by physical means, thereby improving the user's driving safety.
[0025] In the relevant technology, most vehicles rely on the light sensor of the interior rearview mirror to identify the current scene of the vehicle and the high beam intensity of the vehicle behind. That is, two light sensors are installed on the rearview mirror in the cab to detect the light in front and behind, and then identify whether the vehicle is in a scene that requires anti-glare. However, since the interior rearview mirror in the cab is higher than the exterior rearview mirror, it is difficult for light sources from the front or rear to directly hit the interior rearview mirror, which can easily cause the light sensor to be unable to accurately judge the glare situation, and thus the anti-glare function fails. In addition, since the light sensor of the interior rearview mirror is highly dependent on the light transmittance of the rear window of the vehicle body, some vehicles have rear window films with filtering functions, or some sports cars do not have rear window glass, which may make it difficult for the light sensor to accurately judge the light intensity conditions of the vehicle behind, affecting the system's recognition accuracy of the strong light scene behind, thereby reducing the adjustment accuracy and anti-glare performance of the exterior rearview mirror, and weakening the protective performance of the anti-glare rearview mirror.
[0026] The present application provides a method for controlling a rearview mirror, which can be executed by a rearview mirror control unit, wherein the rearview mirror control unit can be a rearview mirror adjustment module or a rearview mirror adjustment computer; Figure 1 The control method of the rearview mirror includes S100-S200 as described below.
[0027] S100: In response to determining that the target brightness of the acquired forward-view image is less than a first brightness threshold, and recognizing a light spot in the acquired rearward-view image, determining the brightness of the light spot according to image information of the rearward-view image, and determining the target brightness of the rearward-view image based on the brightness of the light spot; In this step, the front view image of the vehicle can be obtained by a first image acquisition unit arranged at the front end of the vehicle body. Specifically, the first image acquisition unit can be the vehicle's front view camera, intelligent driving system auxiliary camera, driving recorder camera or front camera of the surround view system, so that the rearview mirror control unit determines the target brightness of the front view image based on the obtained front view image; the target brightness of the front view image refers to the brightness value of the external environment reflected by the front view image, which is used to judge the light and dark state of the area where the vehicle is currently located; the first brightness threshold is a pre-set brightness reference value, which is used to judge whether the target brightness of the obtained front view image meets the corresponding trigger condition, thereby determining whether the rearview mirror control unit starts analysis and processing of the rearview image.
[0028] Similarly, the rear view image of the vehicle can be obtained by a second image acquisition unit arranged at the rear end of the vehicle body. Specifically, the second image acquisition unit can be an external camera of the vehicle's interior rearview mirror, a reversing camera, a blind spot monitoring camera or a rear camera of the surround view system, etc., so that the rearview mirror control unit can judge the existence of the light spot and its target brightness according to the rear view image. Preferably, since the height of the external camera of the interior rearview mirror is consistent with that of the exterior rearview mirror, using it as the second image acquisition unit can improve the recognition accuracy of the light source behind the vehicle body.
[0029] The light spot refers to the bright spot or overexposed area in the rearview image acquired by the second image acquisition unit that is formed by direct illumination or reflection of a strong light source; the target brightness of the rearview image refers to the brightness value of the target light spot in the image, which is used to determine whether there is a strong light source such as a high beam in the rearview image; the second brightness threshold is a pre-set brightness reference value, which is used to determine whether the target brightness of the acquired rearview image meets the adjustment requirements of the anti-glare function of the exterior rearview mirror.
[0030] During specific implementation, the vehicle's rearview mirror control unit can obtain the vehicle's forward-looking image and its corresponding image information through the first image acquisition unit; after obtaining the forward-looking image, the target brightness of the forward-looking image is determined based on the image information of the forward-looking image, and the target brightness is compared with a preset first brightness threshold to judge the brightness of the vehicle's current environment; when it is determined that the target brightness of the forward-looking image is less than the first brightness threshold, it indicates that the ambient light in the vehicle's environment is relatively dark, such as at night or in tunnels. At this time, the vehicle is easily affected by strong light from the rear, thereby causing glare on the exterior rearview mirror.
[0031] It should be noted that in order to improve the recognition accuracy of the forward-view image and the accuracy of its target brightness, and to ensure the continuity of the vehicle's brightness acquisition of the forward-view image in dynamic scenes, the first image acquisition unit can control the acquisition frequency of the forward-view image to 30-90fps; after obtaining the image information of the forward-view image, the value of the RGB color space is mapped to the YUV color space through a linear transformation matrix to achieve conversion from the RGB image to the YUV color space; then, the brightness component of the Y channel in the forward-view image is extracted and independently analyzed to calculate the corresponding brightness value, and the brightness value of the Y channel is used as the target brightness of the forward-view image, thereby reducing the interference of other chromaticity information and improving the accuracy of judging the brightness of the vehicle's environment.
[0032] When it is determined that the target brightness of the acquired front-view image is less than a first brightness threshold, rear-view image information of the vehicle can be acquired through the second image acquisition unit. When the rear-view image of the vehicle is acquired, the rear-view image can be analyzed based on the image information of the rear-view image to determine whether there is a light spot in the rear-view image, thereby determining whether there is a strong light source behind the vehicle body. If a light spot is identified in the rear-view image, it indicates that there is a strong light source, such as a high beam, behind the vehicle body, which may cause glare in the exterior rearview mirror. Therefore, based on the acquired image information of the rear-view image, the brightness value of the light spot can be determined and used as the target brightness of the rear-view image to represent the brightness of the strong light source behind the vehicle body. By comparing the data, it can be determined whether the strong light source behind the vehicle body is sufficient to cause glare in the exterior rearview mirror. In this way, performing this step helps to determine whether the exterior rearview mirror glare is likely to occur in the current vehicle usage scenario and accurately identify whether there is a strong light source behind the vehicle body that causes glare, thereby improving the accuracy and efficiency of triggering the anti-glare function and enhancing the recognition accuracy of the strong light source in dark environments.
[0033] It should be noted that to improve the accuracy of light spot recognition in rearview images, enhance the accuracy of target brightness in rearview images, and ensure the continuity of target brightness acquisition in dynamic scenes, the second image acquisition unit can control the acquisition frequency of rearview images within a range of 30-90 fps, and not less than the acquisition frequency of frontview images. Once the acquired target brightness of the frontview image is determined to be less than a first brightness threshold and a light spot is identified in the rearview image, the brightness of the light spot can be determined based on the image information of the rearview image, and the target brightness of the rearview image can be further determined based on the brightness of the light spot. Specifically, after acquiring the image information of the rearview image, the RGB color space can be mapped to the YUV color space using a linear transformation matrix, achieving conversion from RGB to YUV color space. Subsequently, the luminance component of the Y channel is extracted and independently analyzed to determine whether a light spot exists in the rearview image, reducing interference from other chromaticity information and improving the accuracy of light spot recognition. After confirming the presence of a light spot in the rearview image, image threshold segmentation and connected domain analysis algorithms can be used to extract the area where the light spot is located, and the brightness value can be calculated using the grayscale values of all pixels within the light spot. This provides a basis for determining the target of the rearview image and accurately assessing the intensity of the strong light source behind the vehicle body, thereby improving the response accuracy and efficiency of the anti-glare function.
[0034] S200: In response to determining that the target brightness of the rearview image is greater than a second brightness threshold, based on the anti-glare function of the exterior rearview mirror, adjusting the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image, wherein the first brightness threshold is less than the second brightness threshold.
[0035] In this step, the second brightness threshold is a pre-set brightness reference value used to determine whether the acquired rearview image's target brightness meets the conditions for triggering the activation and even control of the exterior mirror's anti-glare function. Because the first brightness threshold is used to determine the vehicle's current ambient brightness level, and the second brightness threshold is used to identify the presence of a strong light source behind the vehicle that could cause glare, to ensure logical judgment and accurate function triggering, the first brightness threshold must be set lower than the second brightness threshold.
[0036] During specific implementation, after the vehicle's rearview mirror control unit obtains the target brightness of the rearview image through the second image acquisition unit, it can compare it with a preset second brightness threshold to determine whether the strong light source in the rearview image is likely to cause glare in the exterior rearview mirror. When the target brightness of the rearview image is greater than the second brightness threshold, it indicates that the light spot in the rearview image is a relatively strong light source, that is, there is a strong light source with high brightness behind the vehicle, which has the potential to cause glare in the exterior rearview mirror, thereby affecting the driver's vision. At this time, the rearview mirror control unit will trigger the anti-glare function of the exterior rearview mirror and, after the function is turned on, dynamically adjust the reflective effect of the exterior rearview mirror based on the target brightness of the rearview image. Therefore, executing this step can accurately identify whether the strong light source behind the vehicle body is likely to cause glare and, if glare occurs, reduce the intensity of the strong light reflected to the driving position, improving the driver's field of view and enhancing driving safety.
[0037] In summary, the rearview mirror control method provided by the present application can make a comprehensive judgment on the lighting scene of the vehicle's environment and the strong light interference behind the vehicle body through the target brightness of the front view image and the target brightness of the rear view image; wherein, the light and dark state of the vehicle's environment can be determined according to the target brightness of the front view image, ensuring that the vehicle starts the rear strong light detection logic in a low-light environment, thereby improving the rationality of triggering the anti-glare function; by identifying the light spot in the rearview image and the target brightness of the rearview image, and comparing the target brightness of the rearview image based on the second brightness threshold, it can be accurately judged whether there is a strong light source causing glare behind the vehicle body, so that the rearview mirror control unit can dynamically adjust the reflective effect of the exterior rearview mirror according to the actual light source intensity, effectively reducing the interference of strong light on the driver's vision, significantly improving the response accuracy and adjustment efficiency of the anti-glare mode, and enhancing the safety and comfort of driving in complex scenes.
[0038] In some embodiments, the exterior rearview mirror includes a liquid crystal lens whose transmittance can be adjusted by electrical parameters; based on the anti-glare function of the exterior rearview mirror, the reflective effect of the exterior rearview mirror is adjusted according to the target brightness of the rearview image, including: The current anti-glare mode of the exterior rearview mirror is determined according to the target brightness of the rearview image, and the electrical parameters applied to the liquid crystal lens are adjusted based on the current anti-glare mode of the exterior rearview mirror.
[0039] Specifically, exterior mirrors using liquid crystal lenses can improve their light reflection performance by adjusting the transmittance of the lenses. The transmittance of a liquid crystal lens refers to the percentage of light allowed to pass through the lens, whether powered or unpowered. This transmittance is typically controlled by electrical parameters. When light strikes the surface of the liquid crystal lens, the higher the transmittance, the less light is reflected, and the more effective the exterior mirror's anti-glare effect. The electrical parameters used to adjust transmittance primarily include the voltage or current that drives the deflection of the liquid crystal molecules. Adjusting these parameters changes the arrangement of the liquid crystal molecules, thereby achieving precise control of transmittance.
[0040] In specific implementations, when the rearview mirror control unit determines that the target brightness of the rearview image is greater than a second preset brightness, it indicates that a light spot formed by a strong light source exists in the rearview image, i.e., there is a strong light source with high light intensity behind the vehicle body that may cause glare in the exterior rearview mirror. At this time, the rearview mirror control unit will control the exterior rearview mirror to activate the anti-glare function, and determine the currently activated anti-glare mode of the exterior rearview mirror based on the target brightness of the rearview image, so as to reduce the impact of the strong light source behind the vehicle body on the driving field of view. During the anti-glare function, the rearview mirror control unit will apply corresponding driving voltage and other electrical parameters to the liquid crystal lens to change the transmittance of the lens, and dynamically adjust its light transmission effect according to the different light intensities of the strong light source, flexibly adjust the anti-glare performance of the strong light source according to actual conditions, and alleviate the glare problem caused by strong light. By executing this step, the anti-glare performance of the exterior rearview mirror can be flexibly adjusted, improving driving safety and comfort.
[0041] In some embodiments, anti-glare modes include dynamic balance mode, glare suppression mode, and extreme protection mode. For example, dynamic balance mode is suitable for scenarios with weak rear-facing strong light sources. By adjusting the reflectivity of the liquid crystal lens, it reduces glare while maintaining field of view clarity, achieving a balance between light and visibility. Glare suppression mode is used to address situations with strong rear-facing strong light sources, quickly reducing the reflectivity of the liquid crystal lens to prevent glare. Extreme protection mode is used in scenarios with extremely strong light or multiple strong light sources. It reduces the transmittance of the liquid crystal lens to a minimum threshold, prioritizing driver vision safety. These three anti-glare modes can be flexibly switched based on actual lighting conditions, enhancing the exterior rearview mirror's anti-glare effectiveness and driving safety in various environments.
[0042] Based on the content described in S200, such as Figure 2 As shown, the current anti-glare mode of the exterior rearview mirror is determined according to the target brightness of the rearview image, and the electrical parameters applied to the liquid crystal lens are adjusted based on the current anti-glare mode of the exterior rearview mirror, including S2011-S2013 described below.
[0043] S2011: In response to determining that the target brightness of the rearview image is greater than the second brightness threshold and less than or equal to the third brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to a dynamic balancing mode to apply a first preset voltage to the liquid crystal lens and adjust its transmittance to the first preset transmittance; In this step, the third brightness threshold is a preset brightness reference value, which is used as a critical threshold to determine whether to switch to the dynamic balance mode after the anti-glare function of the exterior rearview mirror is enabled; the first preset voltage is a preset reference voltage, which corresponds to a specific transmittance of the liquid crystal lens, namely the first preset transmittance. The first preset voltage serves as a specified voltage threshold for driving the liquid crystal lens to adjust to the first preset transmittance, and is used to control the reflective performance of the lens during the anti-glare process.
[0044] In a specific implementation, after obtaining the target brightness of the rearview image, the rearview mirror control unit can determine the anti-glare mode to which the exterior rearview mirror should be switched based on the target brightness of the rearview image. When the rearview mirror control unit determines that the target brightness of the rearview image is greater than a second brightness threshold and less than or equal to a third brightness threshold, it indicates that a strong light source is present behind the vehicle body, which may cause a certain degree of glare to the driver through the exterior rearview mirror. At this time, the rearview mirror control unit can switch the exterior rearview mirror's anti-glare mode to a dynamic balancing mode and apply a first preset voltage to the liquid crystal lens to adjust its transmittance to a first preset transmittance (for example, the first preset transmittance is set to a value between 0 and 50%), thereby effectively reducing the intensity of glare reflected from the exterior rearview mirror. By executing this step, the user can maintain a good field of vision while reducing glare, achieving a reasonable balance between light control and visibility. S2012: In response to determining that the target brightness of the rearview image is greater than a third brightness threshold and less than or equal to a fourth brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to a high-light suppression mode, applying a second preset voltage to the liquid crystal lens, and adjusting the transmittance thereof to a second preset transmittance; In this step, the fourth brightness threshold is a preset brightness reference value, which is used as a critical threshold to determine whether to switch to the strong light suppression mode after the anti-glare function of the exterior rearview mirror is enabled; the second preset voltage is a preset reference voltage, which corresponds to a specific transmittance of the liquid crystal lens, namely the second preset transmittance. The second preset voltage serves as a specified voltage threshold for driving the liquid crystal lens to adjust to the second preset transmittance, and is used to control the reflective performance of the lens during the anti-glare process.
[0045] In specific implementations, after obtaining the target brightness of the rearview image, the rearview mirror control unit can determine the anti-glare mode to which the exterior rearview mirror should be switched based on this brightness value. If the rearview mirror control unit determines that the target brightness of the rearview image is greater than a third brightness threshold and less than or equal to a fourth brightness threshold, this indicates the presence of a strong light source with high intensity behind the vehicle, which could significantly glare the driver through the exterior rearview mirror. In this case, the rearview mirror control unit can switch the exterior rearview mirror's anti-glare mode to a strong light suppression mode and apply a second preset voltage to the liquid crystal lens to adjust its transmittance to a second preset transmittance (e.g., the second preset transmittance is set to a value between 50% and 70%). This enhances the light transmission performance of the liquid crystal lens and significantly reduces the reflective capacity of the exterior rearview mirror. This step can quickly and effectively reduce mirror glare, promptly avoid glare, and improve driving safety. S2013: In response to determining that the target brightness of the rearview image is greater than a fourth brightness threshold and less than or equal to a fifth brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to an extreme protection mode to apply a third preset voltage to the exterior rearview mirror and adjust its transmittance to the third preset transmittance; In this step, the fifth brightness threshold is a pre-set brightness reference value, which is used as a critical threshold to determine whether to switch to the extreme protection mode after the anti-glare function of the exterior rearview mirror is enabled; the third preset voltage is a pre-set reference voltage, which corresponds to a specific transmittance of the liquid crystal lens, namely the third preset transmittance. The second preset voltage is used as a specified voltage threshold for driving the liquid crystal lens to adjust to the second preset transmittance, and is used to control the reflective performance of the lens during the anti-glare process.
[0046] In specific implementations, after obtaining the target brightness of the rearview image, the rearview mirror control unit may determine the anti-glare mode to which the exterior rearview mirror should be switched based on this brightness value. If the rearview mirror control unit determines that the target brightness of the rearview image is greater than a fourth brightness threshold and less than or equal to a fifth brightness threshold, this indicates that there is extreme glare or multiple overlapping glare conditions behind the vehicle. This glare, which may cause significant glare to the driver through the exterior rearview mirror, may seriously interfere with the driver's vision. In this case, the rearview mirror control unit may switch the exterior rearview mirror's anti-glare mode to extreme protection mode and apply a third preset voltage to the liquid crystal lens to adjust its transmittance to a third preset transmittance (e.g., a value between 70% and 90%). This fully utilizes the light transmission performance of the liquid crystal lens and minimizes the exterior rearview mirror's reflective capacity. This step prioritizes the driver's field of view while maintaining visibility, effectively addressing visual interference caused by extreme lighting conditions. Furthermore, the first preset voltage, the second preset voltage and the third preset voltage increase in sequence, while the corresponding first preset transmittance, the second preset transmittance and the third preset transmittance decrease in sequence; that is, the dynamic balance mode, the strong light suppression mode and the extreme protection mode have a trend of gradually weakening the reflection ability of external light. As the voltage applied to the liquid crystal lens increases, the transmittance of the liquid crystal lens increases and the reflectivity decreases accordingly, so that it has an anti-glare effect from weak to strong, meeting the driving needs of different lighting scenarios.
[0047] In some embodiments, a drive module for adjusting the reflection angle of the liquid crystal lens is further provided in the exterior rearview mirror. The power output end of the drive module abuts against the backlight side of the liquid crystal lens. That is, the exterior rearview mirror provided by the present application can have a dual adjustment mechanism, which can not only adjust the light transmission effect of the liquid crystal lens by changing its transmittance, but also change the deflection angle of the light reflected by the liquid crystal lens, thereby further suppressing the glare problem by reducing the light entering the user's field of view. The control method of the rearview mirror also includes: In response to the target brightness of the rearview image being greater than the fifth brightness threshold, the deflection angle of the exterior rearview mirror is adjusted according to the position information of the seats in the driving area obtained, so as to reduce the light reflected from the exterior rearview mirror to the driving area by adjusting the deflection angle of the liquid crystal lens.
[0048] Specifically, after obtaining the target brightness of the rearview image, the rearview mirror control unit determines the exterior mirror's handling strategy for light generated by strong light sources behind the vehicle based on the target brightness. If the rearview mirror control unit determines that the target brightness of the rearview image exceeds a fifth brightness threshold, this indicates that the scene is subject to extreme strong light or multiple strong light sources. Adjusting the transmittance of the liquid crystal lens is insufficient to effectively suppress glare, and the extreme protection mode is no longer effective in achieving its desired anti-glare effect. Therefore, the rearview mirror control unit can further obtain the position of the driver's seat within the cab, which can be used to characterize the driver's specific position. Based on this seat position information, the mirror's deflection angle is adjusted to redirect the light striking the reflective side of the liquid crystal lens. This redirects the reflected light from its original trajectory, reduces the intensity of the light reflected into the driving area, and ensures that some of the reflected light enters the driver's field of view, providing the user with necessary rearward field of view information. This step effectively addresses extreme strong light or multiple strong light sources, even when the dimming capability of the liquid crystal lens is limited, enhancing anti-glare effectiveness while maintaining the driver's field of view.
[0049] In some embodiments, based on the content described in S100, such as Figure 3 As shown, determining the target brightness of the rearview image based on the brightness of the light spot includes S110 - S120 as described below.
[0050] S110: In response to there being at least two light spots, determining a weighting coefficient of the light spot according to at least the brightness of each light spot and its corresponding area, and determining a weighted brightness of each light spot according to the weighting coefficient; In this step, the weighting coefficient of the light spot is inversely proportional to its area. It is used to suppress the interference of large-area low-brightness light spots on the overall target brightness calculation of the rearview image, highlight the contribution of small-area high-brightness light sources in strong light recognition, and improve the recognition effect of strong light sources such as high beams behind the vehicle body. The weighted brightness of the light spot is the result of weighting its brightness and the corresponding area. It is used to reduce the impact of large-area low-brightness areas on brightness evaluation and enhance the weight of small-area high-brightness light sources in overall brightness judgment, thereby improving the accuracy of strong light source recognition.
[0051] In specific implementations, when the rearview mirror control unit determines the presence of at least two light spots in the rearview image, it analyzes and processes these light spots, identifying those caused by strong light sources. It also suppresses interference from large, low-brightness light spots (such as puddles on the ground, or reflective light from curtain walls or glass) in calculating the overall target brightness of the rearview image, thereby improving the accuracy of determining the anti-glare mode for the exterior rearview mirror. For these multiple light spots, the system determines the brightness and corresponding area of each light spot based on the image information of the rearview image. Based on the relationship between brightness and area, it calculates a weighted coefficient for each light spot, ultimately deriving the weighted brightness corresponding to each light spot. This process effectively reduces the impact of large, low-brightness areas on brightness assessment, increases the weight of small, high-brightness light sources in the judgment, and enhances the accuracy and reliability of anti-glare control.
[0052] S120: Sort the weighted brightness of all light spots according to a preset noise reduction sorting rule and generate a monotonic sequence, and use the median of the monotonic sequence as the target brightness of the rearview image, wherein the preset noise reduction sorting rule is to perform monotonic sorting on the weighted brightness, for example, the monotonic sequence can be ascending or descending in sequence.
[0053] In this step, after obtaining the weighted brightness of each light spot, a representative weighted brightness can be selected from at least two light spots as the target brightness of the rearview image, so that the brightness of the rearview image is closer to the actual brightness of the light source behind the vehicle body, thereby effectively suppressing the interference of large-area low-brightness areas on the overall brightness assessment and enhancing the weight of small-area high-brightness light sources in the judgment.
[0054] In specific implementations, the weighted brightness of all light spots can be sorted according to a preset noise reduction sorting rule to generate a monotonically increasing or decreasing sequence. Because the weighted brightness of the light spot serving as the median in this monotonic sequence is insensitive to outliers (such as extremely high or low brightness), it accurately reflects the actual brightness level of a typical strong light source in the rearview image. Therefore, the weighted brightness corresponding to this median can be used as the target brightness of the rearview image. Therefore, executing this step not only improves the accuracy and stability of the target brightness calculation for the rearview image, but also optimizes and mitigates the inverse relationship between the weighting coefficient and the light spot area, reducing the sensitivity of the target brightness of the rearview image to noise and maintaining effective suppression of large areas of low brightness.
[0055] In some embodiments, based on the content described in S200, such as Figure 4 As shown, based on the anti-glare function of the exterior rearview mirror, the reflective effect of the exterior rearview mirror is adjusted according to the target brightness of the rearview image, which previously also includes S110-S130 described below: S201: adjusting a second brightness threshold according to the acquired abnormal weather type; In this step, the abnormal weather type can be obtained through the vehicle's navigation system and vehicle networking system, or it can be detected by the vehicle's own sensors, such as rain sensors or optical sensors, so as to accurately identify the current environmental weather conditions.
[0056] In specific implementations, after the rearview mirror control unit determines that the target brightness of the rearview image exceeds the second brightness threshold, it can further obtain vehicle information to determine whether there is abnormal weather information. If the vehicle information contains abnormal weather information, the rearview mirror control unit can identify the specific type of abnormal weather and adjust the second brightness threshold accordingly, thereby adjusting the trigger sensitivity of the exterior rearview mirror anti-glare function. By executing this step, the application scenarios of the exterior rearview mirror anti-glare function can be expanded, improving the anti-glare performance and overall safety of the vehicle in complex weather conditions.
[0057] S202: In response to determining that the abnormal weather is precipitation weather, retrieving a second preset adjustment rule based on the obtained precipitation information of the area where the vehicle is currently located, and lowering the second brightness threshold according to the second preset adjustment rule; In this step, precipitation includes rainy and snowy days, which can create large areas of low-brightness reflective surfaces. Accumulated water or snow caused by precipitation can cause reflections, blurring, or diffused light spots in the rearview image, increasing interference with the rearview image and affecting the accurate recognition of actual strong light sources. Therefore, it is necessary to adjust the second brightness threshold accordingly to improve recognition sensitivity, prevent missed triggering of the anti-glare function due to light interference, and ensure effective response to actual strong light conditions even in complex weather conditions.
[0058] In a specific implementation, when the rearview mirror control unit determines that the detected abnormal weather is precipitation, it can combine the vehicle's navigation information and driving information to determine the vehicle's current location and the corresponding precipitation information. At this point, the rearview mirror control unit can invoke a first preset adjustment rule for lowering the second brightness threshold in precipitation weather and adjust the second brightness threshold accordingly, thereby increasing the system's sensitivity to persistent and substantial light sources in the rearview image. This step avoids delayed response or missed triggering of the anti-glare function, ensuring timely activation of the anti-glare function and improving driving safety.
[0059] S203: In response to determining that the abnormal weather is low visibility weather, retrieving a second preset adjustment rule based on the acquired visibility information of the area where the vehicle is currently located, and increasing the second brightness threshold according to the second preset adjustment rule; In this step, low-visibility weather includes fog, haze, and blowing sand. In low-visibility weather, suspended particles in the air increase light scattering, easily creating false high-brightness areas in the rearview image, which are mistakenly identified as strong light sources, thereby reducing the triggering accuracy of the anti-glare mode. Therefore, it is necessary to adjust the second brightness threshold accordingly to improve the judgment accuracy and control stability of the anti-glare function in low-visibility weather scenarios.
[0060] In specific implementations, when the rearview mirror control unit determines that the detected abnormal weather is low visibility, it can combine the vehicle's navigation information and driving information to determine the vehicle's current location and the corresponding regional visibility information. At this point, the rearview mirror control unit can invoke a second preset adjustment rule for increasing the second brightness threshold in low visibility weather and adjust the second brightness threshold accordingly, thereby reducing sensitivity to non-continuous and non-substantial light sources appearing in the rearview image. This step prevents false triggering of the anti-glare function, makes light determination more accurate to actual lighting conditions, and improves the stability and applicability of the control logic.
[0061] Furthermore, the first preset rule is to reduce the second brightness threshold according to a first preset ratio, and the second preset rule is to increase the second brightness threshold according to a second preset ratio.
[0062] In some embodiments, based on the content described in S200, such as Figure 5 As shown, based on the anti-glare function of the exterior rearview mirror, the reflective effect of the exterior rearview mirror is adjusted according to the target brightness of the rearview image. Previously, it also included: S204: In response to the brightness value of the light spot identified in the acquired side image being greater than or equal to a second brightness threshold, adjusting the reflective effect of the exterior rearview mirror corresponding to the side image based on the target brightness of the rearview image; In this step, the rearview mirror control unit can determine the presence of a strong light source behind the vehicle based on the vehicle's rearview image, but cannot accurately identify the specific location of the strong light source. For example, the strong light source could be directly behind the vehicle, to the side, or diagonally behind the vehicle. Because strong light sources in different locations produce different glare effects on the exterior rearview mirrors on both sides of the vehicle body, the degree of interference with the driver's field of vision also varies. To improve the accuracy and adaptability of control, the presence of light spots and their corresponding brightness values can be identified by using the side images on both sides of the vehicle body, thereby enabling independent adjustment of the exterior rearview mirrors on both sides of the vehicle body, improving the flexibility and targetedness of anti-glare control and further enhancing driving safety.
[0063] In addition, the vehicle's side view image can be acquired through a third image acquisition unit installed at the front end of the vehicle body. Specifically, the third image acquisition unit can be a blind spot monitoring camera, a side camera of the surround view system, a lane change assistance camera, or a door opening warning camera, etc., which is used to capture image information from the side of the vehicle. When the rearview mirror control unit acquires the side view image, it can map the RGB color space to the YUV color space through a linear transformation matrix to achieve the conversion from RGB image to YUV color space; then, it extracts the brightness component of the Y channel for independent analysis to determine whether there is a light spot in the side view image and the brightness of the light spot when it exists, thereby reducing interference from other chromatic information and improving the accuracy of light spot recognition. Based on the presence of light spots in the side view image and the brightness of the light spots, the system can adaptively adjust the exterior rearview mirror to optimize the anti-glare effect.
[0064] In specific implementations, a third image acquisition unit is used to capture side image information of the vehicle body. When the rearview mirror control unit identifies a light spot in the side image, it can determine the brightness of the corresponding light spot and compare it with a second brightness threshold to determine the specific impact location of the light spot based on the brightness of the corresponding light spot. If the brightness of the light spot in the side image is greater than or equal to the second brightness threshold, it can be confirmed that the light spot represents an effective strong light source located behind the vehicle body. At this point, the rearview mirror control unit can specifically adjust the reflective effect of the corresponding side exterior rearview mirror based on the target brightness in the side image, ensuring that the exterior rearview mirror on that side has better anti-glare performance, thereby effectively reducing visual interference for the driver. By executing this step, the exterior rearview mirrors on both sides can be flexibly adjusted according to actual lighting conditions, improving driving safety.
[0065] S205: In response to no light spot being identified in the acquired side image, or the brightness value of the identified light spot being less than a second brightness threshold, controlling the exterior rearview mirror corresponding to the side image to maintain a current state.
[0066] In this step, the third image acquisition unit captures side image information for one side of the vehicle. If no light spot is detected in the acquired side image, this indicates that the vehicle side is not experiencing interference from the strong light source behind it. Therefore, there's no need to adjust the anti-glare mode of the corresponding exterior mirror; simply maintain the current setting. This not only helps reduce energy consumption but also meets the user's current needs, ensuring efficient and practical system operation.
[0067] Similarly, if a light spot is identified in the acquired side image, its brightness can be compared with a second brightness threshold to determine whether it is likely to cause glare. If the brightness of the light spot in the side image is less than the second brightness threshold, it can be confirmed that the light spot is not a valid strong light source behind the vehicle and has minimal impact on the field of view of the corresponding side mirror. Therefore, there is no need to adjust the anti-glare mode of the corresponding side mirror; the current setting can be maintained. This not only helps reduce energy consumption but also better meets the user's current needs.
[0068] For example, if a light spot is detected in the left side view image, and its brightness is greater than or equal to a second brightness threshold, while no light spot is detected in the right side view image (or its brightness is lower than the second brightness threshold), it can be determined that the strong light source behind the vehicle is located on the left side. In this case, the anti-glare mode can be activated for the left exterior mirror to effectively suppress the strong light interference, improving the driver's field of view clarity and driving safety on that side.
[0069] In some embodiments, the rearview mirror control method also includes: in response to the vehicle meeting at least one of the following conditions, controlling the anti-glare function of the exterior rearview mirror to turn off, so as to turn off the anti-glare function of the exterior rearview mirror in time, reduce the energy loss of the vehicle, and enable the vehicle to meet the scene in time.
[0070] In response to receiving a forced exit command of the anti-glare function; specifically, when the rearview mirror control unit receives a forced exit command actively sent by the user, it indicates that the user no longer needs the anti-glare function of the exterior rearview mirror; at this time, the rearview mirror control unit can control the anti-glare function to be forced off, so that the exterior rearview mirror returns to its normal working state.
[0071] In response to the vehicle's low beam being in the off state; specifically, when the rearview mirror control unit determines that the vehicle's low beam is in the off state, it indicates that the current application scenario of the vehicle does not meet the conditions for the anti-glare phenomenon (such as driving during the day, etc.). At this time, the rearview mirror control unit can control the anti-glare function to be turned off to avoid unnecessary function operation and improve system operation efficiency.
[0072] In response to the vehicle shifting into reverse gear; specifically, when the rearview mirror control unit detects that the vehicle is shifting into reverse gear, it indicates that the driver is in reverse and the required field of view is the vehicle's surroundings, not the long-range view behind the vehicle. Therefore, the rearview mirror control unit can control the anti-glare function to be turned off, providing a more comprehensive peripheral field of view to meet the actual needs of reverse scenarios.
[0073] In response to the vehicle being powered off; specifically, when the rearview mirror control unit detects that the vehicle is in a power-off state, it indicates that the current application scenario of the vehicle does not meet the conditions for the anti-glare phenomenon (for example, the vehicle has stopped and the power is turned off). At this time, the rearview mirror control unit can control the anti-glare function to be turned off to save system resources and adapt to actual usage needs.
[0074] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied in a distributed scenario and performed by multiple devices working together. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the method.
[0075] It should be noted that the above description is limited to some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0076] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a control device for a rearview mirror.
[0077] refer to Figure 6 , the control device of the rearview mirror comprises: a first response module 10 for, in response to determining that the target brightness of the acquired forward-view image is less than a first brightness threshold and identifying a light spot in the acquired rearward-view image, determining the brightness of the light spot according to image information of the rearward-view image, and determining the target brightness of the rearward-view image based on the brightness of the light spot; The second response module 10 is used to adjust the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image based on the anti-glare function of the exterior rearview mirror in response to determining that the target brightness of the rearview image is greater than the second brightness threshold, wherein the first brightness threshold is less than the second brightness threshold.
[0078] For the convenience of description, the above devices are described as being divided into various modules according to their functions. Of course, when implementing this application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0079] The device of the above embodiment is used to implement the corresponding rearview mirror control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0080] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, the rearview mirror control method described in any of the above embodiments is implemented.
[0081] Figure 7 A more specific hardware structure diagram of an electronic device provided in this embodiment is shown. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other within the device via the bus 1050.
[0082] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0083] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0084] The input / output interface 1030 is used to connect to input / output modules to enable information input and output. The input / output modules can be configured as components within the device (not shown) or externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, and various sensors. Output devices may include a display, speaker, vibrator, indicator light, and the like.
[0085] The communication interface 1040 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, Wi-Fi, Bluetooth, etc.).
[0086] The bus 1050 comprises a pathway for transmitting information between various components of the device, such as the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 .
[0087] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, it will be understood by those skilled in the art that the above device may only include the components necessary to implement the embodiments of this specification, and does not necessarily include all the components shown in the figure.
[0088] The electronic device of the above embodiment is used to implement the corresponding rearview mirror control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0089] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the rearview mirror control method described in any of the above embodiments.
[0090] The computer-readable media of this embodiment includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0091] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the rearview mirror control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0092] Based on the same concept, corresponding to any of the above-mentioned embodiments, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.
[0093] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the electronic device or rearview mirror control device of the above-mentioned embodiment, and executing the rearview mirror control method described in any of the above embodiments through the electronic device or rearview mirror control device of the above-mentioned embodiment, and having the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0094] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0095] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operation of the disclosed technical solution based on the prompt message.
[0096] As an optional but non-limiting implementation, in response to a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0097] It is understandable that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0098] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application is limited to these examples. In line with the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0099] In addition, to simplify the description and discussion, and to avoid obscuring the understanding of the embodiments of the present application, well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided figures. Furthermore, devices may be shown in block diagram form to avoid obscuring the understanding of the embodiments of the present application, and this also takes into account the fact that the implementation details of these block diagram devices are highly dependent on the platform on which the embodiments of the present application will be implemented (i.e., these details should be fully understood by those skilled in the art). Where specific details (e.g., circuits) are set forth to describe the exemplary embodiments of the present application, it will be apparent to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with variations therefrom. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0100] Although the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those skilled in the art based on the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may utilize the discussed embodiments.
[0101] The embodiments of the present application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A method for controlling a rearview mirror, characterized in that: include: In response to determining that the target brightness of the acquired forward-view image is less than a first brightness threshold, and recognizing a light spot in the acquired rearward-view image, determining the brightness of the light spot according to image information of the rearward-view image, and determining the target brightness of the rearward-view image based on the brightness of the light spot; In response to determining that the target brightness of the rearview image is greater than a second brightness threshold, based on an anti-glare function of the vehicle's exterior rearview mirror, adjusting a reflective effect of the exterior rearview mirror according to the target brightness of the rearview image; The first brightness threshold is smaller than the second brightness threshold.
2. The rearview mirror control method according to claim 1, characterized in that: The exterior rearview mirror includes a liquid crystal lens capable of adjusting light transmittance through electrical parameters; The anti-glare function of the vehicle's exterior rearview mirror is used to adjust the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image, including: The current anti-glare mode of the exterior rearview mirror is determined according to the target brightness of the rearview image, and the electrical parameters applied to the liquid crystal lens are adjusted based on the current anti-glare mode of the exterior rearview mirror.
3. The rearview mirror control method according to claim 2, characterized in that: The anti-glare mode includes dynamic balance mode, strong light suppression mode and extreme protection mode; The determining of the current anti-glare mode of the exterior rearview mirror according to the target brightness of the rearview image, and adjusting the electrical parameters applied to the liquid crystal lens based on the current anti-glare mode of the exterior rearview mirror, includes: In response to determining that the target brightness of the rearview image is greater than the second brightness threshold and less than or equal to a third brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to a dynamic balancing mode to apply a first preset voltage to the liquid crystal lens and adjust its transmittance to the first preset transmittance; In response to determining that the target brightness of the rearview image is greater than the third brightness threshold and less than or equal to a fourth brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to a high-light suppression mode, applying a second preset voltage to the liquid crystal lens, and adjusting the transmittance thereof to a second preset transmittance; In response to determining that the target brightness of the rearview image is greater than the fourth brightness threshold and less than or equal to a fifth brightness threshold, switching the current anti-glare mode of the exterior rearview mirror to an extreme protection mode, applying a third preset voltage to the exterior rearview mirror, and adjusting the transmittance thereof to a third preset transmittance; The first preset voltage, the second preset voltage and the third preset voltage increase in sequence, and the first preset transmittance, the second preset transmittance and the third preset transmittance decrease in sequence.
4. The rearview mirror control method according to claim 3, characterized in that: The exterior rearview mirror is further provided with a driving module for adjusting the reflection angle of the liquid crystal lens, and the power output end of the driving module abuts against the backlight side of the liquid crystal lens; The control method of the rearview mirror further includes: In response to the target brightness of the rearview image being greater than a fifth brightness threshold, the deflection angle of the outside rearview mirror is adjusted according to the position information of the seats in the driving area obtained, so as to reduce the light reflected from the outside rearview mirror to the driving area by adjusting the deflection angle of the liquid crystal lens.
5. The rearview mirror control method according to claim 1, characterized in that: The determining the target brightness of the rearview image based on the brightness of the light spot includes: In response to there being at least two light spots, determining a weighting coefficient of the light spot according to at least the brightness of each light spot and its corresponding area, and determining a weighted brightness of each light spot according to the weighting coefficient; sorting the weighted brightness of all light spots according to a preset noise reduction sorting rule and generating a monotonic sequence, and taking the median of the monotonic sequence as the target brightness of the rearview image; The preset noise reduction sorting rule is to perform monotonous sorting on the weighted brightness.
6. The rearview mirror control method according to claim 1, characterized in that: The anti-glare function of the vehicle's exterior rearview mirror is based on adjusting the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image, and the method also includes: adjusting the second brightness threshold according to the acquired abnormal weather type; In response to determining that the abnormal weather is precipitation, retrieving a first preset adjustment rule based on the obtained precipitation information of the area where the vehicle is currently located, and lowering the second brightness threshold according to the first preset adjustment rule; The first preset rule is to reduce the second brightness threshold according to a first preset ratio.
7. The rearview mirror control method according to claim 1, characterized in that: The anti-glare function of the vehicle's exterior rearview mirror is based on adjusting the reflective effect of the exterior rearview mirror according to the target brightness of the rearview image, and the method also includes: In response to a brightness value of a light spot identified in the acquired side image being greater than or equal to the second brightness threshold, adjusting a reflective effect of an exterior rearview mirror corresponding to the side image based on a target brightness of the rearview image; In response to no light spot being recognized in the acquired side image, or the brightness value of the recognized light spot being less than the second brightness threshold, the exterior rearview mirror corresponding to the side image is controlled to maintain a current state.
8. The rearview mirror control method according to claim 1, characterized in that: Also includes: In response to the vehicle satisfying at least one of the following conditions, controlling the anti-glare function of the exterior rearview mirror to be turned off; In response to receiving a forced exit instruction of the anti-glare function; In response to the vehicle's low beam headlights being in an off state; in response to the vehicle being shifted into reverse gear; In response to the vehicle being powered off.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 8 is implemented.
10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.
Citation Information
Patent Citations
Vehicle, anti-dazzling control method, device and system for rearview mirror of vehicle and storage medium
CN111815721A
Image adjusting method and system of streaming media rearview mirror
CN112622764A
Anti-dazzle method, anti-dazzle device and computer readable storage medium
CN118024842A
Method and device for adjusting anti-dazzling rearview mirror
CN118358475A
Brightness control method
CN118486279A
Cited By
LED double-lamp identification method, device and equipment based on monocular camera and medium
CN121033357A
A monocular camera-based LED double-lamp recognition method, device, equipment and medium
CN121033357B
Electronic rearview mirror dynamic range control method and related device
CN121425088A
Electronic rearview mirror dynamic range control method and related devices
CN121425088B