Vehicle rearview mirror anti-dazzling adjusting method, device and equipment, medium and vehicle
The illuminance value is collected through the front and rear sensors, and the anti-glare level of the rearview mirror is automatically adjusted, solving the driver's dazzling problem and improving driving safety and visual experience.
Patent Information
- Application Number
- CN202410007860.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2025-07-04
AI Technical Summary
In the prior art, the rearview mirror of the vehicle causes the driver to be dazzling under the lights of the rear vehicle, and the driver needs to manually operate the electrochromic anti-glare function, which affects driving safety.
The front and rear sensors collect ambient light and rear illuminance values, automatically adjust the anti-glare level of the rearview mirror, and determine the target anti-glare level based on the illuminance value, so as to achieve anti-glare adjustments without manual operation by the driver.
It improves driving safety, reduces the dazzling impact of rear lights on the driver, and provides a more accurate visual experience.
Smart Images

Figure CN120245869A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of vehicles, and particularly relates to a method, device, equipment, medium and vehicle for anti-glare adjustment of vehicle rearview mirrors. Background Art
[0002] When a vehicle is traveling in a dark environment, if a vehicle comes from behind, the headlights of the vehicle behind will shine on the interior and exterior rearview mirrors of the vehicle, causing the driver to be dazzled. After being dazzled, the driver will not be able to see the road ahead clearly, thus causing a safety accident.
[0003] To avoid the driver being dazzled in the above situation, some vehicles currently are equipped with anti-glare rearview mirrors. In this way, when the lights of the vehicle behind shine on the rearview mirror, the driver can manually trigger the anti-glare function of the electrochromic (EC) anti-glare rearview mirror. However, the driver needs to be distracted to perform manual operations during driving, which is not conducive to driving safety. Summary of the Invention
[0004] The embodiments of this application provide a method, device, equipment, medium and vehicle for anti-glare adjustment of vehicle rearview mirrors, which can automatically adjust the anti-glare level of the rearview mirror, without the driver being distracted to operate, reducing the impact of the lights of the vehicle coming from behind on the driver's glare, thereby improving driving safety.
[0005] In a first aspect, the embodiments of this application provide a method for anti-glare adjustment of vehicle rearview mirrors. The method includes:
[0006] Obtain the current ambient illuminance value collected by the front sensor of the vehicle, and obtain the current rear illuminance value collected by the rear sensor of the vehicle. The front sensor is located in the front part of the vehicle, and the rear sensor is located in the rear part of the vehicle. The ambient illuminance value is the illuminance value of the light source in the environment where the vehicle is located, and the rear illuminance value is the illuminance value of the lights of the vehicle coming from behind;
[0007] Among multiple preset anti-glare levels of the rearview mirror, determine the target anti-glare level corresponding to the ambient illuminance value and the rear illuminance value, where different anti-glare levels among the multiple anti-glare levels have different anti-glare effects;
[0008] Adjust the anti-glare level of the rearview mirror to the target anti-glare level.
[0009] In some embodiments, the front sensor includes at least one of a front windshield sensor and a rearview mirror sensor. The front windshield sensor is located in the front windshield area of the front part of the vehicle, and the rearview mirror sensor is located in the area facing the front of the vehicle's interior rearview mirror in the front part of the vehicle;
[0010] The rear sensor is a streaming camera capable of collecting illuminance values, and is used to collect the rear illuminance value without occlusion.
[0011] In some embodiments, when the front sensor includes the front windshield sensor and the rearview mirror sensor,
[0012] Obtaining the current ambient illuminance value collected by the front sensor of the vehicle includes:
[0013] Obtaining the current first ambient illuminance value collected by the front windshield sensor and obtaining the current second ambient illuminance value collected by the rearview mirror sensor,
[0014] Wherein, the ambient illuminance value includes the first ambient illuminance value and the second ambient illuminance value, the accuracy of the first ambient illuminance value is higher than that of the second ambient illuminance value, and the stability of the second ambient illuminance value is higher than that of the first ambient illuminance value.
[0015] In some embodiments, determining the target anti-glare level corresponding to the ambient illuminance value and the rear illuminance value among multiple preset anti-glare levels of the rearview mirror includes:
[0016] Judging whether the first ambient illuminance value is less than a preset first threshold;
[0017] When the first ambient illuminance value is less than the first threshold, determine the target anti-glare level corresponding to the ambient illuminance value and the rear illuminance value among multiple preset anti-glare levels of the rearview mirror.
[0018] In some embodiments, when the first ambient illuminance value is less than the first threshold, determining the target anti-glare level corresponding to the ambient illuminance value and the rear illuminance value among multiple preset anti-glare levels of the rearview mirror includes:
[0019] When the first ambient illuminance value is less than the first threshold, judge whether the rear illuminance value is greater than a preset second threshold;
[0020] When the rear illuminance value is greater than the second threshold, determine the target anti-glare level corresponding to the first ambient illuminance value among multiple preset anti-glare levels of the rearview mirror.
[0021] In some embodiments, when the first ambient illuminance value is less than the first threshold, determining the target anti-glare level corresponding to the ambient illuminance value and the rear illuminance value among multiple preset anti-glare levels of the rearview mirror includes:
[0022] When the first ambient light intensity value is less than the first threshold, determine the target second ambient light intensity value range in which the second ambient light intensity value is located from multiple preset second ambient light intensity value ranges; the preset rear light intensity value ranges corresponding to the same anti-glare level are different under different preset second ambient light intensity value ranges;
[0023] Determine the target rear light intensity value range corresponding to the rear light intensity value under the target second ambient light intensity value range, and determine the anti-glare level corresponding to the target rear light intensity value range as the target anti-glare level.
[0024] In some embodiments, when the first ambient light intensity value is less than the first threshold, determining the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value among multiple preset anti-glare levels of the rearview mirror includes:
[0025] When the first ambient light intensity value is less than the first threshold, determine whether the first ambient light intensity value is less than a preset third threshold, and the third threshold is less than the first threshold;
[0026] When the first ambient light intensity value is less than the third threshold, determine whether the second ambient light intensity value is less than a preset fourth threshold;
[0027] When the second ambient light intensity value is less than the fourth threshold, determine the target anti-glare level corresponding to the rear light intensity value among multiple preset anti-glare levels of the rearview mirror.
[0028] In some embodiments, the obtaining the first ambient light intensity value currently collected by the front windshield sensor includes:
[0029] Obtain the currently collected scattered light intensity value and the preset direction light intensity value by the front windshield sensor, where the scattered light intensity value is the light intensity value of the scattered light in the environment where the vehicle is located, and the preset direction light intensity value is the light intensity value of the light in the preset direction angle of the vehicle;
[0030] Calculate the scattered light intensity value and the preset direction light intensity value according to a preset weight coefficient to obtain the first ambient light intensity value.
[0031] In a second aspect, an embodiment of the present application provides a vehicle rearview mirror anti-glare adjustment device, and the device includes:
[0032] A first acquisition module, configured to acquire the current ambient illuminance value collected by a front sensor of the vehicle, and acquire the current rear illuminance value collected by a rear sensor of the vehicle, where the ambient illuminance value is the illuminance value of a light source in the environment where the vehicle is located, and the rear illuminance value is the illuminance value of the lights of an oncoming vehicle behind the vehicle;
[0033] A determination module, configured to determine a target anti-glare level corresponding to the ambient illuminance value and the rear illuminance value from multiple preset anti-glare levels of the rearview mirror, where different anti-glare levels among the multiple anti-glare levels have different anti-glare effects;
[0034] An adjustment module, configured to adjust the anti-glare level of the rearview mirror to the target anti-glare level.
[0035] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the vehicle rearview mirror anti-glare adjustment method described in any one of the above is implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the vehicle rearview mirror anti-glare adjustment method described in any one of the above is implemented.
[0037] In a fifth aspect, an embodiment of the present application provides a computer program product, when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the vehicle rearview mirror anti-glare adjustment method described in any one of the above.
[0038] In a sixth aspect, an embodiment of the present application provides a vehicle, including: an electronic device, where the electronic device is configured to implement the vehicle rearview mirror anti-glare adjustment method described in any one of the above.
[0039] The vehicle rearview mirror anti-glare adjustment method, device, equipment, medium and vehicle according to the embodiments of the present application can obtain the current ambient light intensity value collected by the front sensor of the vehicle, and obtain the current rear light intensity value collected by the rear sensor of the vehicle. The ambient light intensity value is the light intensity value of the light source in the environment where the vehicle is located, and the rear light intensity value is the light intensity value of the lights of the oncoming vehicle behind the vehicle; among multiple preset anti-glare levels of the rearview mirror, determine the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value, where different anti-glare levels among the multiple anti-glare levels have different anti-glare effects; adjust the anti-glare level of the rearview mirror to the target anti-glare level. In this way, according to the ambient light intensity value and the rear light intensity value of the vehicle, the embodiments of the present application can determine the target anti-glare level and automatically adjust the anti-glare level of the rearview mirror to the target anti-glare level to reduce the dazzling impact of the lights of the oncoming vehicle behind on the driver, without the need for the driver to manually operate, thereby improving the driving safety. Moreover, by combining the ambient light intensity value and the rear light intensity value of the vehicle, the accuracy of the target anti-glare level is higher, so as to provide a suitable visual experience for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0041] Figure 1 is a flowchart of a vehicle rearview mirror anti-glare adjustment method provided by an embodiment of the present application;
[0042] Figure 2 is a structural schematic diagram of a vehicle rearview mirror anti-glare adjustment device provided by another embodiment of the present application;
[0043] Figure 3 is a structural schematic diagram of an electronic device provided by another embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0044] In order to be able to more clearly understand the above-mentioned objects, features and advantages of the present disclosure, the following will further describe the solutions of the present disclosure. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
[0045] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all the embodiments.
[0046] With the continuous development of vehicle technology, when a vehicle is driving in a dark environment, if the headlights of a vehicle behind shine on the interior and exterior rearview mirrors, it will cause glare to the driver, thus leading to safety accidents. In the prior art, when the vehicle behind shines on the rearview mirror, the driver can manually control the electrochromic (EC) anti-glare rearview mirror to trigger the anti-glare function. However, in this way, the driver needs to be distracted to perform manual operations during driving, which is not conducive to driving safety.
[0047] To solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment, medium and vehicle for adjusting the anti-glare of a vehicle rearview mirror. First, the method for adjusting the anti-glare of a vehicle rearview mirror provided by the embodiments of the present application will be introduced below.
[0048] Figure 1 The flowchart of the method for adjusting the anti-glare of a vehicle rearview mirror provided by an embodiment of the present application is shown. As Figure 1 shown, a method for adjusting the anti-glare of a vehicle rearview mirror may include the following steps S101 to S103:
[0049] S101. Obtain the current ambient illumination value collected by the front sensor of the vehicle, and obtain the current rear illumination value collected by the rear sensor of the vehicle. The front sensor is located at the front of the vehicle, and the rear sensor is located at the rear of the vehicle. The ambient illumination value is the illumination value of the light source in the environment where the vehicle is located, and the rear illumination value is the illumination value of the light of the vehicle coming from behind.
[0050] S102. Determine the target anti-glare level corresponding to the ambient illumination value and the rear illumination value among multiple preset anti-glare levels of the rearview mirror, where different anti-glare levels among the multiple anti-glare levels have different anti-glare effects.
[0051] S103. Adjust the anti-glare level of the rearview mirror to the target anti-glare level.
[0052] The anti-glare adjustment method for a vehicle rearview mirror according to an embodiment of the present application can obtain the current ambient light intensity value collected by a front sensor of the vehicle and, at the same time, obtain the current rear light intensity value collected by a rear sensor of the vehicle. The ambient light intensity value is the light intensity value of the light source in the environment where the vehicle is located, and the rear light intensity value is the light intensity value of the lights of the oncoming vehicle behind the vehicle; among multiple preset anti-glare levels of the rearview mirror, determine the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value. Among them, different anti-glare levels among the multiple anti-glare levels have different anti-glare effects; adjust the anti-glare level of the rearview mirror to the target anti-glare level. In this way, according to the ambient light intensity value and the rear light intensity value of the vehicle, the embodiment of the present application can determine the target anti-glare level and automatically adjust the anti-glare level of the rearview mirror to the target anti-glare level to reduce the dazzling impact of the lights of the oncoming vehicle behind on the driver, without manual operation by the driver, thereby improving driving safety. Moreover, by combining the ambient light intensity value and the rear light intensity value of the vehicle, the accuracy of the target anti-glare level is higher, so that a suitable visual experience can be provided for the user.
[0053] The specific implementation methods of the above steps are introduced below.
[0054] In S101, the above ambient light intensity value can be the light intensity value of the environment where the vehicle is located. The acquisition of the above ambient light intensity value, exemplarily, can be directly collected by a front sensor, or the ambient light intensity value can also be calculated by calculating the current scattered light intensity value and the preset direction light intensity value collected by the front sensor. The scattered light intensity value is the light intensity value of the scattered light in the environment where the vehicle is located, and the preset direction light intensity value is the light intensity value of the light in the preset direction angle of the vehicle. Among them, the preset direction is the direction set by the existing front sensor at the factory. In the present application, it is not limited to a certain fixed direction and can be set according to the actual needs of the user, and no specific limitation is made here.
[0055] The above rear light intensity value can be the light intensity value of the lights of the oncoming vehicle behind the vehicle without obstruction.
[0056] The installation positions of the above front sensor and rear sensor are different. One advantage of such a setting is that the ambient light collected by the front sensor is less affected by the lights of the oncoming vehicle behind, and the intensity of the rear lights collected by the rear sensor is more accurate. For example, the front sensor can include at least one of a front windshield sensor and a rearview mirror sensor. Among them, the front windshield sensor is located in the front windshield area of the vehicle, and the rearview mirror sensor is located in the area of the vehicle's interior rearview mirror facing the front of the vehicle. To avoid the influence of item occlusion on the acquisition of the rear light intensity value, the rear sensor can be a sensor located in areas such as the vehicle's tail or the rear windshield. To further facilitate the vehicle to observe the situation of the oncoming vehicle behind, the rear sensor can also be a streaming media camera capable of collecting the light intensity value.
[0057] In S102, among the multiple preset anti-glare levels, different anti-glare levels have different anti-glare effects. Exemplarily, there are 10 levels of multiple anti-glare levels, starting from 0 - 9, and the anti-glare effect gets better gradually. That is, the 0 anti-glare level can be no anti-glare effect, and the 9 anti-glare level can be the best anti-glare effect.
[0058] Among the multiple anti-glare levels of the rearview mirror, determine the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value. Exemplarily, it can be to determine the target anti-glare level corresponding to both the ambient light intensity value and the rear light intensity value among the multiple anti-glare levels of the rearview mirror. Or, it can also be to determine the target driving scenario corresponding to the ambient light intensity value in multiple driving scenarios. Different driving scenarios are associated with different multiple anti-glare levels of the rearview mirror; among the multiple anti-glare levels associated with the target driving scenario, determine the target anti-glare level corresponding to the rear light intensity value.
[0059] In S103, the above-mentioned rearview mirror can be the left exterior rearview mirror of the vehicle. Of course, it is not limited to this, and it can also be all rearview mirrors. The specific situation can be set according to user needs.
[0060] Adjust the anti-glare level of the rearview mirror to the target anti-glare level. Exemplarily, it can be to adjust the rearview mirror from the initial 0 anti-glare level or the default 3 anti-glare level to the target anti-glare level. Or, it can also be to follow the real-time ambient light intensity value and rear light intensity value, and adjust the rearview mirror from the anti-glare level of the previous moment to the target anti-glare level.
[0061] In some embodiments, the above-mentioned front sensor can include at least one of a front windshield sensor and a rearview mirror sensor. The front windshield sensor is located in the front windshield area at the front of the vehicle, and the rearview mirror sensor is located in the forward-facing area of the interior rearview mirror of the vehicle;
[0062] The rear sensor is a streaming camera capable of collecting the light intensity value, and is used to collect the rear light intensity value without occlusion.
[0063] The above-mentioned front windshield sensor, exemplarily, the front windshield sensor can be a rain and light sensor.
[0064] The above-mentioned rearview mirror sensor is located in the forward-facing area of the interior rearview mirror of the vehicle. Exemplarily, it can be the front light sensor of the streaming interior rearview mirror.
[0065] In this embodiment, the front windshield sensor is located in the front windshield area of the vehicle, so that the collected ambient light intensity value can be closer to the real external environment. The rearview mirror sensor is located in the area facing the front of the vehicle's interior rearview mirror, so that the collected ambient light intensity value can be more stable. Therefore, the ambient light intensity value can be accurately collected through at least one of the front windshield sensor and the rearview mirror sensor.
[0066] In some embodiments, when the above-mentioned front sensor is the front windshield sensor, S101 may specifically include:
[0067] Obtain the ambient light intensity value collected by the front windshield sensor at present, and obtain the rear light intensity value collected by the rear sensor of the vehicle at present;
[0068] The above-mentioned S102 may specifically include:
[0069] Among multiple preset anti-glare levels of the rearview mirror, determine the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value.
[0070] When the front windshield sensor is a rain and light sensor, among multiple preset anti-glare levels of the rearview mirror, determining the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value. Exemplarily, when the ambient light intensity value is less than 90 and the rear light intensity value is greater than or equal to 5500, determine that the target anti-glare level is 5; it can also be when the ambient light intensity value is greater than or equal to 90 and less than 1200, and the rear light intensity value is greater than or equal to 5500, determine that the target anti-glare level is 3.
[0071] In this embodiment, by collecting the ambient light intensity value at present through the front windshield sensor and collecting the rear light intensity value at present through the rear sensor, the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value can be determined among multiple preset anti-glare levels of the rearview mirror.
[0072] In some embodiments, when the above-mentioned front sensor includes the front windshield sensor and the rearview mirror sensor, S101 may specifically include:
[0073] Obtain the first ambient light intensity value collected by the front windshield sensor at present, and obtain the second ambient light intensity value collected by the rearview mirror sensor at present,
[0074] wherein, the ambient light intensity value includes the first ambient light intensity value and the second ambient light intensity value. The accuracy of the first ambient light intensity value is higher than that of the second ambient light intensity value, and the stability of the second ambient light intensity value is higher than that of the first ambient light intensity value.
[0075] The above-mentioned acquisition of the current first ambient light intensity value collected by the front windshield sensor may be directly obtaining the current first ambient light intensity value collected by the front windshield sensor, or alternatively, it may also be obtaining the current scattered light intensity value and the preset direction light intensity value collected by the front windshield sensor. The scattered light intensity value is the light intensity value of the scattered light in the environment where the vehicle is located, and the preset direction light intensity value is the light intensity value of the light in the preset direction angle of the vehicle. Calculate the scattered light intensity value and the preset direction light intensity value to obtain the first ambient light intensity value. Among them, the preset direction is the direction set by the existing front sensor at the factory. In this application, it is not limited to a certain fixed direction and can be set according to the actual needs of the user, and no specific limitation is made here.
[0076] In this embodiment, the front windshield sensor collects the first ambient light intensity value that is close to the real external environment at that time, and the rearview mirror sensor collects the second ambient light intensity value that is more stable at that time. These two characteristic ambient light intensity values can help select the target anti-glare level that conforms to the environment where the vehicle is located when determining the target anti-glare level.
[0077] In some embodiments, the above S102 may specifically include:
[0078] Judge whether the first ambient light intensity value is less than a preset first threshold;
[0079] When the first ambient light intensity value is less than the first threshold, determine the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value among the multiple preset anti-glare levels of the rearview mirror.
[0080] The above-mentioned preset first threshold can be used to judge whether the environment where the vehicle is located is a bright environment (such as during the day) or a dark environment (such as at night). Exemplarily, it can be 1200 lux. In this application, it is not limited to this and can also be other values, and no specific limitation is made here.
[0081] When the first ambient light intensity value is less than the first threshold, among the multiple preset anti-glare levels of the rearview mirror, determining the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value may be, when the first ambient light intensity value is less than the first threshold, determining whether the rear light intensity value is greater than a preset second threshold; when the rear light intensity value is greater than the second threshold, among the multiple preset anti-glare levels of the rearview mirror, determining the target anti-glare level corresponding to the first ambient light intensity value. Or, when the first ambient light intensity value is less than the first threshold, determining the target second ambient light intensity value range in which the second ambient light intensity value is located from multiple preset second ambient light intensity value ranges; the preset rear light intensity value ranges corresponding to the same anti-glare level are different under different preset second ambient light intensity value ranges; determining the target rear light intensity value range corresponding to the rear light intensity value under the target second ambient light intensity value range, and determining the anti-glare level corresponding to the target rear light intensity value range as the target anti-glare level. It may also be that when the first ambient light intensity value is less than the first threshold, determining whether the first ambient light intensity value is less than a preset third threshold, and the third threshold is less than the first threshold; when the first ambient light intensity value is less than the third threshold, determining whether the second ambient light intensity value is less than a preset fourth threshold; when the second ambient light intensity value is less than the fourth threshold, among the multiple preset anti-glare levels of the rearview mirror, determining the target anti-glare level corresponding to the rear light intensity value.
[0082] When the above first ambient light intensity value is greater than or equal to the first threshold, the EC anti-glare is not performed.
[0083] In the embodiments of the present application, by determining whether the first ambient light intensity value is less than the preset first threshold, it is possible to accurately identify whether the vehicle is in a dark environment, and determine that the vehicle is in a dark environment before determining the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value from the multiple anti-glare levels of the rearview mirror, which can help the user adjust the anti-glare of the vehicle rearview mirror in a suitable environment.
[0084] In some embodiments, when the first ambient light intensity value is less than the first threshold, among the multiple preset anti-glare levels of the rearview mirror, determining the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value may specifically include:
[0085] When the first ambient light intensity value is less than the first threshold, determining whether the rear light intensity value is greater than a preset second threshold;
[0086] When the rear light intensity value is greater than the second threshold, among the multiple preset anti-glare levels of the rearview mirror, determining the target anti-glare level corresponding to the first ambient light intensity value.
[0087] The above-mentioned preset second threshold, by way of example, may be 5500 lux. In the present application, it is not limited thereto and may also be other values, which are not specifically limited herein.
[0088] Among the multiple preset anti-glare levels of the rearview mirror, determining the target anti-glare level corresponding to the first ambient illumination value. By way of example, when the first ambient illumination value is less than 90, it means that the vehicle is in an environment with strong light in the basement and weak light, and the target anti-glare level is determined to be the 5th gear; when the first ambient illumination value is greater than or equal to 90, it means that the vehicle is in an environment with strong light in the basement and strong light, and the target anti-glare level is determined to be the 3rd gear.
[0089] In this embodiment, when the first ambient illumination value is less than the first threshold and the rear illumination value is greater than the second threshold, the target anti-glare level corresponding to the first ambient illumination value can be accurately determined among the multiple preset anti-glare levels of the rearview mirror.
[0090] In some embodiments, when the first ambient illumination value is less than the first threshold, determining the target anti-glare level corresponding to the ambient illumination value and the rear illumination value among the multiple preset anti-glare levels of the rearview mirror may specifically include:
[0091] When the first ambient illumination value is less than the first threshold, determining the target second ambient illumination value range in which the second ambient illumination value is located from multiple preset second ambient illumination value ranges; the preset rear illumination value ranges corresponding to the same anti-glare level are different under different preset second ambient illumination value ranges;
[0092] Determining the target rear illumination value range corresponding to the rear illumination value under the target second ambient illumination value range, and determining the anti-glare level corresponding to the target rear illumination value range as the target anti-glare level.
[0093] The preset rear illumination value ranges corresponding to the same anti-glare level are different under different preset second ambient illumination value ranges. By way of example, when the second ambient illumination value is less than or equal to 0.1, the preset rear illumination value ranges of multiple anti-glare levels may be: above 4500: EC function 9th gear; 4400 - 4500: EC function 4th gear; not entering EC below 4400. When the second ambient illumination value is greater than 0.1 and less than or equal to 2.5, the preset rear illumination value ranges of multiple anti-glare levels may be: above 4500: EC function 5 - 9th gear; 4400 - 4500: 4th gear. When the second ambient illumination value is greater than 2.5, the preset rear illumination value ranges of multiple anti-glare levels may be: above 4700: EC function 1 - 5th gear; not entering EC below 4700.
[0094] When the first ambient light intensity value is less than the first threshold, if the second ambient light intensity value is less than or equal to 0.1, it means the environment of extremely dark night or weak light basement during the day; if the second ambient light intensity value is greater than 0.1 and less than or equal to 2.5, it means the environment of weak street lights at night or weak light basement during the day; if the second ambient light intensity value is greater than 2.5, it means the environment of strong street lights at night or weak light basement during the day.
[0095] In this embodiment, considering that the preset rear light intensity value ranges corresponding to the same anti-glare level are different under different preset second ambient light intensity value ranges, therefore, when the first ambient light intensity value is less than the first threshold, the target second ambient light intensity value range in which the second ambient light intensity value is located can be determined from multiple preset second ambient light intensity value ranges to provide a more realistic anti-glare effect for the driver.
[0096] In some embodiments, when the first ambient light intensity value is less than the first threshold, determining the target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value among multiple preset anti-glare levels of the rearview mirror may specifically include:
[0097] When the first ambient light intensity value is less than the first threshold, determine whether the first ambient light intensity value is less than a preset third threshold, and the third threshold is less than the first threshold;
[0098] When the first ambient light intensity value is less than the third threshold, determine whether the second ambient light intensity value is less than a preset fourth threshold;
[0099] When the second ambient light intensity value is less than the fourth threshold, determine the target anti-glare level corresponding to the rear light intensity value among multiple preset anti-glare levels of the rearview mirror.
[0100] The above-mentioned preset third threshold is less than the first threshold and can be used to determine that the environment where the vehicle is located is an extremely dark environment. Exemplarily, it can be 90 lux (Lux). In this application, it is not limited to this, and it can also be other values, which are not specifically limited here.
[0101] The above-mentioned preset fourth threshold, exemplarily, can be 0.1 lux (Lux). In this application, it is not limited to this, and it can also be other values, which are not specifically limited here.
[0102] When the second ambient illumination value is less than the fourth threshold, among the multiple preset anti-glare levels of the rearview mirror, determine the target anti-glare level corresponding to the rear illumination value. Exemplarily, when the first ambient illumination value is less than 90 Lux and the second ambient illumination value is less than 0.1 Lux, if the rear illumination value is less than 4400 Lux, then exit the EC; if the rear illumination value is greater than or equal to 4700 Lux, then determine the target anti-glare level as the highest level.
[0103] In this embodiment, the vehicle's environment can be accurately identified through the first ambient illumination value and the second ambient illumination value. When the first ambient illumination value is less than the third threshold and the second ambient illumination value is less than the fourth threshold, it means that the vehicle is in an extremely dark environment. Thus, among the multiple preset anti-glare levels of the rearview mirror, accurately determine the target anti-glare level corresponding to the rear illumination value, providing a more realistic anti-glare effect for the driver.
[0104] In some embodiments, the above-mentioned obtaining the current first ambient illumination value collected by the front windshield sensor may specifically include:
[0105] Obtain the current scattered illumination value and the preset direction illumination value collected by the front windshield sensor. The scattered illumination value is the illumination value of the scattered light in the vehicle's environment, and the preset direction illumination value is the illumination value of the light in the preset direction angle of the vehicle.
[0106] Calculate the scattered illumination value and the preset direction illumination value according to the preset weight coefficient to obtain the first ambient illumination value.
[0107] The above-mentioned preset direction illumination value can be the illumination value of the light in the preset direction angle of the vehicle, where the preset direction angle light can be the forward light of the vehicle's front windshield.
[0108] The above-mentioned calculation of the scattered illumination value and the preset direction illumination value according to the preset weight coefficient to obtain the first ambient illumination value. Exemplarily, it can be that the sum value of 3 / 4 of the scattered illumination value and 1 / 4 of the preset direction illumination value is determined as the first ambient illumination value. In this application, the weight coefficients of the scattered illumination value and the preset direction illumination value in the first ambient illumination value are not limited to 3 / 4 and 1 / 4, and can also be other values set by the user according to actual needs, which are not specifically limited here.
[0109] In this embodiment, through the scattered illumination value of the scattered light in the vehicle's environment and the preset direction illumination value of the light in the preset direction angle of the vehicle, the first ambient illumination value can be accurately calculated, thereby improving the accuracy of determining the target anti-glare level.
[0110] In some embodiments, the above S102 may specifically include:
[0111] In multiple driving scenarios, determine a target driving scenario corresponding to the ambient illumination value, and different driving scenarios are associated with different multiple preset anti-glare levels of the rearview mirror;
[0112] Among the multiple preset anti-glare levels associated with the target driving scenario, determine a target anti-glare level corresponding to the rear illumination value.
[0113] The above-mentioned driving scenarios, by way of example, can be a daytime scenario, an extremely dark scenario, a low-light scenario, and a streetlight-on scenario.
[0114] In the above-mentioned multiple driving scenarios, determining a target driving scenario corresponding to the ambient illumination value, by way of example, when the ambient illumination value ≤ 0.1 lux, the target driving scenario is an extremely dark scenario; when the ambient illumination value ≤ 2.3 lux, the target driving scenario is a low-light scenario; when the ambient illumination value > 2.3 lux, the target driving scenario is a streetlight-on scenario.
[0115] The above-mentioned different driving scenarios are associated with different multiple anti-glare levels of the rearview mirror. For example, the multiple anti-glare levels associated with the extremely dark scenario can be that when the rear illumination value is above 4500, the EC anti-glare level is 9; when the rear illumination value is 4400 - 4500, the EC anti-glare level changes gradually from 1 to 8; when the rear illumination value is below 4400, the EC anti-glare level is 0. The multiple anti-glare levels associated with the streetlight-on scenario can be that when the rear illumination value is above 4700, the EC anti-glare level changes gradually from 1 to 5; when the rear illumination value is below 4700, the EC anti-glare level is 0. The multiple anti-glare levels associated with different driving scenarios in this application are not limited to this and can also be set according to user needs, and no specific limitation is made here.
[0116] As an implementation manner of this application, in order to reduce misoperations caused by environmental changes to the anti-glare adjustment of the vehicle rearview mirror, before the above-mentioned S101, it may further include:
[0117] Obtain the time information of the location where the vehicle is located;
[0118] The above-mentioned S101 may specifically include:
[0119] When the time information is within a preset time period, obtain the current ambient illumination value collected by the vehicle's front sensor, and obtain the current rear illumination value collected by the vehicle's rear sensor.
[0120] The above-mentioned preset time period, by way of example, can be from 6 pm to 7 am the next day in Beijing time. The situation where the time information is within the preset time period, according to the daily law of day and night changes, means that the vehicle is in the night.
[0121] Exemplarily, time information of the vehicle's location is obtained, and the sunrise and sunset times can also be determined according to the local weather signal. Other times of the day except for the period from sunrise to sunset are set as the preset time period. The EC anti-glare function is not activated during the period from sunrise to sunset, that is, the ambient light intensity value and the rear light intensity value collected by the vehicle's front sensor at that time are not obtained. In this embodiment, if the local weather signal is not received, the EC anti-glare function is activated according to the basic settings. For example, the preset time period is from 6 pm to 7 am the next day in Beijing time to activate the EC anti-glare function.
[0122] In this embodiment, it can be set that only when the time information is within the preset time period, the ambient light intensity value currently collected by the vehicle's front sensor is obtained, and the rear light intensity value currently collected by the vehicle's rear sensor is obtained. This conforms to the daily law of day and night changes and can reduce misoperations caused by environmental changes to the anti-glare adjustment of the vehicle rearview mirror.
[0123] To facilitate the understanding of the vehicle rearview mirror anti-glare adjustment method in the embodiments of the present application, the application process of the vehicle rearview mirror anti-glare adjustment method is described herein as follows:
[0124] A rain and light sensor is provided in the front windshield area of the vehicle, a front light sensor is provided in the area facing the front of the vehicle in the front-mounted streaming rearview mirror, and a streaming camera is provided at the rear of the vehicle.
[0125] The vehicle rearview mirror anti-glare is not activated from 7 am to 6 pm in Beijing time. And the in-vehicle terminal can also determine whether the vehicle is in a bright or dark environment through the rain and light sensor signal (4 / 3 ambient light value + 4 / 1 forward light value, that is, the first ambient light intensity value). Among them, when the rain and light sensor signal is greater than or equal to 1200 lux, it is a bright environment; when the rain and light sensor signal is less than 1200 lux, it is a dark environment.
[0126] In a dark environment, the target anti-glare level can also be determined according to the light intensity value collected by the front light sensor of the streaming rearview mirror and the rear light intensity value collected by the camera at the rear of the vehicle. Specifically, it includes:
[0127] When the light intensity value of the front light sensor of the streaming rearview mirror is less than or equal to 0.1 and the rain and light is less than 90, it corresponds to an extremely dark scene: when the rear light intensity value is above 4000: EC function level 9; 3800 - 4000: EC function levels 1 - 8; below 3800, EC function level 0 (or not activated). In an extremely dark scene, when a vehicle comes from behind, the front of the vehicle is extremely dark, and the difference from the lights of the vehicle coming from behind is too large. Therefore, compared with other scenes, the same size of the rear light intensity value requires a higher level of EC function to be activated.
[0128] The light intensity value of the front light sensor of the streaming media interior rearview mirror is less than or equal to 2.5, corresponding to the low light scenario (such as in the dim light at dusk): the rear illuminance value is above 4500: the EC function is in gear 9; 4300 - 4500: gears 1 - 8.
[0129] The light intensity value of the front light sensor of the streaming media interior rearview mirror is greater than 2.5, corresponding to the scenario when street lights are on: the rear illuminance value is above 4700: the EC function is in gears 1 - 5; it does not enter the EC mode when the rear illuminance value is below 4700.
[0130] Based on the vehicle rearview mirror anti - glare adjustment method provided in the above embodiments, correspondingly, the present application also provides a specific implementation manner of the vehicle rearview mirror anti - glare adjustment device. Please refer to the following embodiments.
[0131] As Figure 2 shown, the vehicle rearview mirror anti - glare adjustment device 200 provided in the embodiment of the present application may include the following modules: a first acquisition module 201, a determination module 202, and an adjustment module 203.
[0132] The first acquisition module 201 is configured to acquire the current ambient illuminance value collected by the front - mounted sensor of the vehicle, and acquire the current rear illuminance value collected by the rear - mounted sensor of the vehicle. The front - mounted sensor is located at the front of the vehicle, and the rear - mounted sensor is located at the rear of the vehicle. The ambient illuminance value is the illuminance value of the light source in the environment where the vehicle is located, and the rear illuminance value is the illuminance value of the light of the oncoming vehicle behind the vehicle;
[0133] The determination module 202 is configured to determine a target anti - glare level corresponding to the ambient illuminance value and the rear illuminance value among multiple preset anti - glare levels of the rearview mirror, where different anti - glare levels among the multiple anti - glare levels have different anti - glare effects;
[0134] The adjustment module 203 is configured to adjust the anti - glare level of the rearview mirror to the target anti - glare level.
[0135] The anti-glare adjustment device for a vehicle rearview mirror according to an embodiment of the present application can obtain the current ambient light intensity value collected by a front sensor of the vehicle and, at the same time, obtain the current rear light intensity value collected by a rear sensor of the vehicle. The ambient light intensity value is the light intensity value of the light source in the environment where the vehicle is located, and the rear light intensity value is the light intensity value of the lights of the oncoming vehicle behind the vehicle. Among multiple preset anti-glare levels of the rearview mirror, a target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value is determined. Among them, different anti-glare levels among the multiple anti-glare levels have different anti-glare effects. The anti-glare level of the rearview mirror is adjusted to the target anti-glare level. In this way, in the embodiment of the present application, the target anti-glare level can be determined according to the ambient light intensity value and the rear light intensity value of the vehicle, and the anti-glare level of the rearview mirror can be automatically adjusted to the target anti-glare level to reduce the dazzling effect of the lights of the oncoming vehicle behind on the driver, without the need for the driver to manually operate, thereby improving the driving safety. Moreover, by combining the ambient light intensity value and the rear light intensity value of the vehicle, the accuracy of the target anti-glare level is higher, so as to provide a suitable visual experience for users.
[0136] In some embodiments, the above-mentioned front sensor includes at least one of a front windshield sensor and a rearview mirror sensor. The front windshield sensor is located in the front windshield area at the front of the vehicle, and the rearview mirror sensor is located in the area facing the front of the vehicle in the interior rearview mirror at the front of the vehicle.
[0137] The rear sensor is a streaming media camera capable of collecting the light intensity value, and is used to collect the rear light intensity value without occlusion.
[0138] In some embodiments, when the front sensor includes a front windshield sensor and a rearview mirror sensor,
[0139] The above-mentioned first obtaining module 201 may specifically include:
[0140] An obtaining unit, configured to obtain the current first ambient light intensity value collected by the front windshield sensor and obtain the current second ambient light intensity value collected by the rearview mirror sensor.
[0141] Wherein, the ambient light intensity value includes the first ambient light intensity value and the second ambient light intensity value. The accuracy of the first ambient light intensity value is higher than that of the second ambient light intensity value, and the stability of the second ambient light intensity value is higher than that of the first ambient light intensity value.
[0142] In some embodiments, the above-mentioned determining module 202 may specifically include:
[0143] A judging unit, configured to judge whether the first ambient light intensity value is less than a preset first threshold.
[0144] A first determination unit, configured to determine a target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value from multiple preset anti-glare levels of the rearview mirror when the first ambient light intensity value is less than a first threshold.
[0145] In some embodiments, the above-mentioned first determination unit may specifically include:
[0146] A first judgment subunit, configured to judge whether the rear light intensity value is greater than a preset second threshold when the first ambient light intensity value is less than the first threshold;
[0147] A first determination subunit, configured to determine a target anti-glare level corresponding to the first ambient light intensity value from multiple preset anti-glare levels of the rearview mirror when the rear light intensity value is greater than the second threshold.
[0148] In some embodiments, the above-mentioned first determination unit may specifically include:
[0149] A second determination subunit, configured to determine a target second ambient light intensity value range in which the second ambient light intensity value is located from multiple preset second ambient light intensity value ranges when the first ambient light intensity value is less than the first threshold; the preset rear light intensity value ranges corresponding to the same anti-glare level are different under different preset second ambient light intensity value ranges;
[0150] A third determination subunit, configured to determine a target rear light intensity value range corresponding to the rear light intensity value under the target second ambient light intensity value range, and determine the anti-glare level corresponding to the target rear light intensity value range as the target anti-glare level.
[0151] In some embodiments, the above-mentioned first determination unit may specifically include:
[0152] A second judgment subunit, configured to judge whether the first ambient light intensity value is less than a preset third threshold when the first ambient light intensity value is less than the first threshold, and the third threshold is less than the first threshold;
[0153] A third judgment subunit, configured to judge whether the second ambient light intensity value is less than a preset fourth threshold when the first ambient light intensity value is less than the third threshold;
[0154] A fourth determination subunit, configured to determine a target anti-glare level corresponding to the rear light intensity value from multiple preset anti-glare levels of the rearview mirror when the second ambient light intensity value is less than the fourth threshold.
[0155] In some embodiments, the above-mentioned acquisition unit may specifically include:
[0156] An acquisition subunit, configured to acquire a current scattered light illumination value and a preset direction light illumination value collected by a front windshield sensor, where the scattered light illumination value is the illumination value of scattered light in the environment where the vehicle is located, and the preset direction light illumination value is the illumination value of light in a preset direction angle of the vehicle;
[0157] A calculation subunit, configured to calculate the first environmental light illumination value according to a preset weight coefficient for the first light illumination value and the preset direction light illumination value.
[0158] In some embodiments, the above-mentioned determination module 202 may specifically include:
[0159] A second determination unit, configured to determine a target driving scenario corresponding to the environmental light illumination value in multiple driving scenarios, where different driving scenarios are associated with multiple preset anti-glare levels of the rearview mirror;
[0160] A third determination unit, configured to determine a target anti-glare level corresponding to the rear light illumination value among the multiple preset anti-glare levels associated with the target driving scenario.
[0161] As an implementation manner of the present application, in order to reduce misoperations caused by environmental changes to the anti-glare adjustment of the vehicle rearview mirror, the above-mentioned device 200 may further include:
[0162] A second acquisition module, configured to acquire time information of the location where the vehicle is located;
[0163] The above-mentioned first acquisition module 201 is further configured to, when the time information is within a preset time period, acquire the current environmental light illumination value collected by the front sensor of the vehicle, and acquire the current rear light illumination value collected by the rear sensor of the vehicle.
[0164] Based on the vehicle rearview mirror anti-glare adjustment method provided in the above embodiments, correspondingly, the present application also provides a specific implementation manner of an electronic device. Please refer to the following embodiments.
[0165] Figure 3 The hardware structure diagram of the electronic device provided in the embodiment of the present application is shown.
[0166] The electronic device may include a processor 301 and a memory 302 storing computer program instructions.
[0167] Specifically, the above-mentioned processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0168] The memory 302 may include a mass storage for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disc, a magneto-optical disc, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 302 may include removable or non-removable (or fixed) media. Where appropriate, the memory 302 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, the memory 302 is a non-volatile solid-state memory.
[0169] In a particular embodiment, the memory 302 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical, or other physical / tangible memory storage device. Thus, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0170] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the vehicle rearview mirror anti-glare adjustment methods in the above embodiments.
[0171] In one example, the electronic device may further include a communication interface 303 and a bus 310. Among them, as Figure 3 shown, the processor 301, the memory 302, and the communication interface 303 are connected through the bus 310 and complete communication with each other.
[0172] The communication interface 303 is mainly used to implement communication between various modules, devices, units, and / or devices in the embodiments of the present application.
[0173] Bus 310 includes hardware, software, or both, and couples components of the electronic device together. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable bus or a combination of two or more of these. Where appropriate, bus 310 may include one or more buses. Although embodiments of the present application describe and illustrate specific buses, the present application contemplates any suitable bus or interconnect.
[0174] The electronic device can execute the anti-glare adjustment method for a vehicle rearview mirror in the embodiments of the present application, thereby implementing the combination Figure 1 and Figure 2 the anti-glare adjustment method and device for a vehicle rearview mirror described.
[0175] In addition, in combination with the anti-glare adjustment method for a vehicle rearview mirror in the above embodiments, embodiments of the present application can provide a computer-readable storage medium to implement. Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by a processor, any one of the anti-glare adjustment methods for a vehicle rearview mirror in the above embodiments is implemented.
[0176] In combination with the anti-glare adjustment method for a vehicle rearview mirror in the above embodiments, embodiments of the present application can provide a computer program product. When the instructions in the computer program product are executed by a processor of the electronic device, the electronic device executes the anti-glare adjustment method for a vehicle rearview mirror as described above in any item.
[0177] In combination with the anti-glare adjustment method for a vehicle rearview mirror in the above embodiments, embodiments of the present application can provide a vehicle to implement. The vehicle includes: an electronic device for implementing the anti-glare adjustment method for a vehicle rearview mirror as described above in any item.
[0178] It should be clear that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions, or change the order between steps after understanding the spirit of the present application.
[0179] The functional blocks shown in the above-described structural block diagrams can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a functional card, and so on. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium or transmitted via a data signal carried in a carrier wave over a transmission medium or a communication link. "Machine-readable medium" can include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical discs, hard disks, fiber optic media, radio frequency (RF) links, and so on. The code segment can be downloaded via a computer network such as the Internet, an intranet, and so on.
[0180] It should also be noted that the exemplary embodiments mentioned in the present application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps can be executed in the order mentioned in the embodiments, or different from the order in the embodiments, or several steps can be executed simultaneously.
[0181] Aspects of the present disclosure have been described above with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block in the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more blocks of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It should also be understood that each block in the block diagram and / or flowchart, and the combinations of blocks in the block diagram and / or flowchart, can also be implemented by dedicated hardware that performs the specified functions or actions, or by a combination of dedicated hardware and computer instructions.
[0182] As described above, this is only the specific implementation manner of the present application. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein. It should be understood that the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present application.
[0183] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of another identical element in the process, method, article, or device comprising the element.
Claims
1. A method for adjusting the anti-glare of a vehicle rearview mirror, characterized in that, Including: Obtaining a current ambient illumination value collected by a front sensor of a vehicle, and obtaining a current rear illumination value collected by a rear sensor of the vehicle. The front sensor is located at the front of the vehicle, and the rear sensor is located at the rear of the vehicle. The ambient illumination value is the illumination value of a light source in the environment where the vehicle is located, and the rear illumination value is the illumination value of the lights of an oncoming vehicle behind the vehicle. Determining a target anti-glare level corresponding to the ambient illumination value and the rear illumination value among a plurality of preset anti-glare levels of the rearview mirror, wherein different anti-glare levels among the plurality of anti-glare levels have different anti-glare effects. Adjusting the anti-glare level of the rearview mirror to the target anti-glare level.
2. The method according to claim 1, characterized in that, The front sensor includes at least one of a front windshield sensor and a rearview mirror sensor. The front windshield sensor is located in the front windshield area at the front of the vehicle, and the rearview mirror sensor is located in the area of the interior rearview mirror at the front of the vehicle facing the front of the vehicle. The rear sensor is a streaming camera capable of collecting an illumination value, and is used to collect the rear illumination value without occlusion.
3. The method according to claim 2, characterized in that, In the case where the front sensor includes the front windshield sensor and the rearview mirror sensor, The obtaining a current ambient illumination value collected by a front sensor of a vehicle includes: Obtaining a current first ambient illumination value collected by the front windshield sensor and obtaining a current second ambient illumination value collected by the rearview mirror sensor. Wherein, the ambient illumination value includes the first ambient illumination value and the second ambient illumination value. The accuracy of the first ambient illumination value is higher than that of the second ambient illumination value, and the stability of the second ambient illumination value is higher than that of the first ambient illumination value.
4. The method according to claim 3, wherein the determining a target anti-glare level corresponding to the ambient illumination value and the rear illumination value among a plurality of preset anti-glare levels of the rearview mirror includes: Judging whether the first ambient illumination value is less than a preset first threshold. In the case where the first ambient illumination value is less than the first threshold, determining a target anti-glare level corresponding to the ambient illumination value and the rear illumination value among a plurality of preset anti-glare levels of the rearview mirror.
5. The method according to claim 4, wherein the determining a target anti-glare level corresponding to the ambient illumination value and the rear illumination value among a plurality of preset anti-glare levels of the rearview mirror in the case where the first ambient illumination value is less than the first threshold includes: In the case where the first ambient illumination value is less than the first threshold, judging whether the rear illumination value is greater than a preset second threshold. In the case where the rear illumination value is greater than the second threshold, determining a target anti-glare level corresponding to the first ambient illumination value among a plurality of preset anti-glare levels of the rearview mirror.
6. The method according to claim 4, wherein when the first ambient light intensity value is less than the first threshold, determining a target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value from multiple preset anti-glare levels of the rearview mirror includes: When the first ambient light intensity value is less than the first threshold, determining a target second ambient light intensity value range in which the second ambient light intensity value is located from multiple preset second ambient light intensity value ranges; the preset rear light intensity value ranges corresponding to the same anti-glare level are different under different preset second ambient light intensity value ranges; Determining a target rear light intensity value range corresponding to the rear light intensity value under the target second ambient light intensity value range, and determining the anti-glare level corresponding to the target rear light intensity value range as the target anti-glare level.
7. The method according to claim 4, wherein when the first ambient light intensity value is less than the first threshold, determining a target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value from multiple preset anti-glare levels of the rearview mirror includes: When the first ambient light intensity value is less than the first threshold, determining whether the first ambient light intensity value is less than a preset third threshold, and the third threshold is less than the first threshold; When the first ambient light intensity value is less than the third threshold, determining whether the second ambient light intensity value is less than a preset fourth threshold; When the second ambient light intensity value is less than the fourth threshold, determining a target anti-glare level corresponding to the rear light intensity value from multiple preset anti-glare levels of the rearview mirror.
8. The method according to claim 3, wherein The obtaining the current first ambient light intensity value collected by the front windshield sensor includes: Obtaining the current scattered light intensity value and the preset direction light intensity value collected by the front windshield sensor, where the scattered light intensity value is the light intensity value of the scattered light in the environment where the vehicle is located, and the preset direction light intensity value is the light intensity value of the light in the preset direction angle of the vehicle; Calculating the scattered light intensity value and the preset direction light intensity value according to a preset weight coefficient to obtain the first ambient light intensity value.
9. An anti-glare adjustment device for a vehicle rearview mirror, characterized in that, including: A first obtaining module, configured to obtain the current ambient light intensity value collected by the front sensor of the vehicle, and obtain the current rear light intensity value collected by the rear sensor of the vehicle, where the front sensor is located at the front of the vehicle, the rear sensor is located at the rear of the vehicle, the ambient light intensity value is the light intensity value of the light source in the environment where the vehicle is located, and the rear light intensity value is the light intensity value of the light of the oncoming vehicle behind the vehicle; A determining module, configured to determine a target anti-glare level corresponding to the ambient light intensity value and the rear light intensity value from multiple preset anti-glare levels of the rearview mirror, where different anti-glare levels among the multiple anti-glare levels have different anti-glare effects; An adjusting module, configured to adjust the anti-glare level of the rearview mirror to the target anti-glare level.
10. An electronic device, characterized in that, The electronic device includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the vehicle rearview mirror anti-glare adjustment method described in any one of claims 1-8 is implemented.
11. A computer-readable storage medium, characterized in that, Computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, the vehicle rearview mirror anti-glare adjustment method described in any one of claims 1-8 is implemented.
12. A vehicle, characterized in that, Comprising: An electronic device, which is used to implement the vehicle rearview mirror anti-glare adjustment method described in any one of claims 1-8.
Citation Information
Cited By
Control method of rearview mirror, electronic equipment and vehicle
CN120716588A