Method, device and vehicle for preventing people from experiencing momentary blindness when the vehicle enters and exits a tunnel
By detecting the brightness of the tunnel entrance and the outside of the vehicle, adjusting the brightness of the vehicle to match the brightness of the tunnel entrance, the problem of drivers' instant blindness when the car enters and exits the tunnel is solved, and driving safety is improved.
Patent Information
- Application Number
- CN202310606852.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2043-05-26
AI Technical Summary
When a car enters and exits the tunnel, the driver is prone to instantaneous blindness or dazzling due to excessive light contrast, which affects driving safety. The existing technology of drivers wearing sunglasses cannot completely solve this problem.
By detecting the brightness of the tunnel entrance and the outside environment, determining the brightness adjustment strategy in the car, and adjusting the brightness in the car to approach the brightness of the tunnel entrance, using a camera and a brightness meter to identify the brightness, adjusting windows and blackout curtains, sun visors, interior lights and low beams to achieve brightness matching.
It effectively avoids instant blindness or glare caused by light contrast, and improves driving safety.
Smart Images

Figure CN116394835B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and particularly to a method, device, and vehicle for preventing people from experiencing momentary blindness when a vehicle enters or exits a tunnel. Background Art
[0002] During the driving process, roads with tunnels are often encountered. Generally, the interior of a tunnel is relatively dim, while the outside of the tunnel is relatively bright. When a vehicle passes through a tunnel, if it drives from strong sunlight into a dark tunnel, a "light-dark reaction" will occur, making the driver uncomfortable and easily causing the driver's line of sight to be temporarily blind; if it drives out of a dark tunnel and the outside of the tunnel is very bright, then due to the large light contrast, the sunlight suddenly shining directly on the front windshield is particularly dazzling, which will cause the driver to seem suddenly blind. If the above situations are encountered during driving, it will affect driving safety.
[0003] In order to avoid the above-mentioned temporary blindness when a vehicle passes through a tunnel, it is generally required in the prior art that the driver wears sunglasses. However, in practice, sometimes the driver forgets to wear sunglasses, or some novice drivers do not have experience and do not wear sunglasses, then it is very easy to cause traffic accidents. Therefore, how to make a vehicle intelligently avoid the situation of the driver having temporary blindness when passing through a tunnel is a technical problem encountered by existing automobile manufacturers during the vehicle R & D process. Summary of the Invention
[0004] In view of this, the embodiments of this application provide a method, device, and vehicle for preventing people from experiencing momentary blindness when a vehicle enters or exits a tunnel, so as to solve the problem of how to make a vehicle intelligently avoid the driver having temporary blindness when passing through a tunnel.
[0005] In the first aspect of the embodiments of this application, a method for preventing people from experiencing momentary blindness when a vehicle enters or exits a tunnel is provided, which includes: respectively detecting the brightness of the tunnel entrance and the external environment of the vehicle; determining an adjustment strategy for the brightness inside the vehicle based on the brightness of the tunnel entrance and the external environment of the vehicle; and adjusting the brightness inside the vehicle based on the adjustment strategy to make the brightness inside the vehicle close to the brightness of the tunnel entrance.
[0006] In the second aspect of the embodiments of this application, a device for preventing people from experiencing momentary blindness when a vehicle enters or exits a tunnel is provided, including: a first detection module configured to respectively detect the brightness of the tunnel entrance and the external environment of the vehicle; a strategy determination module configured to determine an adjustment strategy for the brightness inside the vehicle based on the brightness of the tunnel entrance and the external environment of the vehicle; and a vehicle adjustment module configured to adjust the brightness inside the vehicle based on the adjustment strategy to make the brightness inside the vehicle close to the brightness of the tunnel entrance.
[0007] In a third aspect of the embodiments of the present application, a vehicle is provided, which includes at least a camera and a driving computer. The driving computer includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above method are implemented.
[0008] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: Since the method for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel identifies the brightness at the tunnel entrance; detects the brightness of the external environment of the vehicle; determines an adjustment strategy for the interior light environment based on the brightness at the tunnel entrance and the brightness of the external environment of the vehicle; and adjusts the brightness inside the vehicle based on the adjustment strategy so that the light brightness inside the vehicle is close to that inside the tunnel, it avoids a situation where the light contrast entering the human eye is too large when the vehicle enters and exits the tunnel entrance, resulting in momentary blindness or glare for people, and improves driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some 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.
[0010] Figure 1 is a flowchart of a method for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel provided by an embodiment of the present application;
[0011] Figure 2 is a schematic structural diagram of a device for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel provided by an embodiment of the present application;
[0012] Figure 3 is a schematic structural diagram of a vehicle provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0013] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.
[0014] Figure 1 is a flowchart of a method for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel provided by an embodiment of the present application. In practical applications, Figure 1 the method for preventing people from experiencing momentary blindness provided can be executed by a vehicle.
[0015] As Figure 1 shown, the method for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel includes:
[0016] S101, respectively detecting the brightness of the tunnel entrance and the external environment of the vehicle;
[0017] S102, determining an adjustment strategy for the brightness inside the vehicle based on the brightness of the tunnel entrance and the brightness of the external environment of the vehicle;
[0018] S103, adjusting the brightness inside the vehicle based on the adjustment strategy so that the brightness inside the vehicle is close to the brightness of the tunnel entrance.
[0019] According to the technical solution provided by the embodiment of the present application, by identifying the brightness of the tunnel entrance; detecting the brightness of the external environment of the vehicle; determining an adjustment strategy for the light environment inside the vehicle based on the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; adjusting the brightness inside the vehicle based on the adjustment strategy, so that the light brightness inside the vehicle is close to that inside the tunnel, avoiding the situation that the light contrast entering the human eye is too large when the vehicle enters and exits the tunnel entrance, resulting in momentary blindness or glare of people, and improving the safety of driving.
[0020] In the above step S101, the same technical means can be used to simultaneously detect the brightness of the tunnel entrance and the external environment of the vehicle, or different technical means can be used to respectively detect the brightness of the tunnel entrance and the external environment of the vehicle.
[0021] For example, when using the same technical means to simultaneously detect the brightness of the tunnel entrance and the external environment of the vehicle, the camera on the vehicle is used to collect an image containing the tunnel entrance, and then the position area of the tunnel entrance in the image and the area outside the position area where the tunnel entrance is located (i.e., the external environment of the vehicle) are respectively identified, and based on the brightness value of the pixels in the image or the parameter value related to brightness, the brightness values of the tunnel entrance and the external environment of the vehicle in the image are calculated, so as to obtain the brightness of the tunnel entrance and the brightness of the external environment of the vehicle.
[0022] Also for example, when using different technical means to simultaneously detect the brightness of the tunnel entrance and the external environment of the vehicle, a luminance meter can be used to detect the brightness of the external environment of the vehicle, and at the same time, the camera on the vehicle is used to collect an image containing the tunnel entrance, then the position area of the tunnel entrance in the image is identified, and based on the brightness value of the pixels in the image or the parameter value related to brightness, the brightness value of the tunnel entrance in the image is calculated, so as to respectively obtain the brightness of the tunnel entrance and the brightness of the external environment of the vehicle.
[0023] Among them, in addition to calculating the brightness value of the tunnel entrance in the image based on the brightness value of the pixels in the image or the parameter value related to brightness, a grayscale histogram can also be used to determine the grayscale and brightness of two objects. Specifically, in digital image processing, a grayscale histogram is a statistic of the number of pixels at each grayscale level in the image. After an image containing a tunnel entrance is acquired, the image recognition method is used to extract the image of the tunnel entrance and the image outside the tunnel entrance in the image, and the brightness difference between them is determined by comparing the grayscale histograms of the image of the tunnel entrance and the image outside the tunnel entrance. If the grayscale histograms of two objects are similar, their brightness is also similar; if the grayscale histograms of two objects are different, their brightness is also different. In addition, the brightness of them can also be determined by calculating indicators such as the average grayscale value, standard deviation, maximum value, and minimum value of the image of the tunnel entrance and the image outside the tunnel entrance, and this application does not limit the comparison.
[0024] Specifically, the above method for preventing people from experiencing momentary blindness when a car enters and exits a tunnel can be used to prevent the driver from experiencing momentary blindness, or it can also be used to prevent other passengers other than the driver, or both the driver and other passengers from experiencing momentary blindness. Therefore, adjusting the brightness inside the vehicle can be to adjust the brightness of the driver's position area, or the brightness of the position areas of other passengers inside the vehicle. In this embodiment, when using a luminance meter to detect the brightness of the external environment of the vehicle, it is preferably to pre-install the luminance meter outside the A-pillar of the vehicle on the driver's side to detect the brightness of the light entering the driver's position, and the driver's position is used as the inspection object to prevent momentary blindness. In addition, when using a luminance meter to check the brightness inside the vehicle, the luminance meter can be set at a position close to the driver inside the vehicle, or other positions, and this application does not limit this.
[0025] Of course, in practice, other technical means can also be used to identify the brightness of the tunnel entrance and the brightness of the external environment of the vehicle, and this application does not limit this.
[0026] In the above step S102, when the vehicle passes through the tunnel, it is necessary to determine at least one adjustment strategy for the brightness inside the vehicle before the vehicle enters the tunnel, and then determine at least one adjustment strategy for the brightness inside the vehicle before the vehicle exits the tunnel.
[0027] Among them, the tunnel entrance includes the tunnel entrance and the tunnel exit. Therefore, the brightness of the tunnel entrance includes the brightness of the tunnel entrance and the brightness of the tunnel exit.
[0028] In one embodiment, when the vehicle enters a tunnel, the method for preventing people from experiencing momentary blindness when the vehicle enters and exits the tunnel specifically includes: monitoring the distance between the vehicle and the tunnel entrance; if the distance from the vehicle to the tunnel entrance is a first threshold, acquiring at least one first image, where the first image includes an image containing the tunnel entrance; based on the first image, determining the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; detecting the brightness difference between the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; determining whether the brightness difference is within a preset range; if it is not within the preset range, comparing the brightness of the tunnel entrance and the brightness of the external environment of the vehicle: if the brightness of the tunnel entrance is greater than the brightness of the external environment of the vehicle, generating a first adjustment strategy to increase the brightness inside the vehicle; if the brightness of the tunnel entrance is less than the brightness of the external environment of the vehicle, generating a second adjustment strategy to decrease the brightness inside the vehicle, and adjusting the brightness inside the vehicle based on the first adjustment strategy or the second adjustment strategy.
[0029] Specifically, the first threshold can be a distance value from the vehicle to the tunnel entrance position, or a distance range from the vehicle to the tunnel entrance position. In this embodiment, the first threshold is preferably a distance range from the vehicle to the tunnel entrance position. For example, the first threshold is a distance range from the vehicle to the tunnel entrance of 100m to 50m. When the vehicle travels to a position 100m to 50m away from the tunnel entrance, an image containing the tunnel entrance is acquired every 10 seconds using a camera to obtain at least one first image.
[0030] Combined with the above embodiment, it can be known that the brightness of the tunnel entrance and the brightness of the external environment of the vehicle can be simultaneously recognized according to the first image, or the brightness of the tunnel entrance can be recognized according to the first image, and at the same time a brightness meter or other means can be used to recognize the brightness of the external environment of the vehicle. In this embodiment, it is preferably to simultaneously recognize the brightness of the tunnel entrance and the brightness of the external environment of the vehicle according to the first image, which saves the brightness meter and reduces the cost of recognizing the brightness of the external environment of the vehicle.
[0031] Specifically, the preset range of the brightness difference can be a brightness difference range set according to experience, or a new brightness difference range obtained by adjusting the set brightness difference range according to the external environment of the vehicle or other factors. This application does not limit this.
[0032] Specifically, after determining whether the brightness difference is within the preset range, if the brightness difference is within the preset range, step S101 can be returned, or no adjustment strategy is generated and the existing brightness inside the vehicle is maintained. It can be understood that the preset range of the brightness difference can be set according to the actual situation, and this application does not limit this.
[0033] In addition, after comparing the brightness of the tunnel exit and the brightness inside the vehicle, if the brightness of the tunnel exit is the same as the brightness inside the vehicle, no adjustment strategy may also be generated, and S101 is returned or the execution is stopped. Figure 1Regarding the method in [reference], this application places no restrictions on the coping strategy for the same brightness between the tunnel exit and the interior of the vehicle.
[0034] Preferably, the adjustment strategy includes at least one of the following strategy methods:
[0035] Adjust the lifting ratio of the light-blocking curtain on the window;
[0036] Adjust the opening and closing angle of the sun visor;
[0037] Adjust the on / off state or brightness of the interior lights;
[0038] Control the turning on or off of the low beam lights of the vehicle.
[0039] For example, in this embodiment, the first adjustment strategy for increasing the interior brightness of the vehicle can be to control at least one interior light to the on state, or to increase the brightness of at least one interior light. Similarly, the second adjustment strategy for decreasing the interior brightness of the vehicle can be to control the light-blocking curtain on the window to descend by a preset ratio; or, it can also be to control the sun visor to open by a preset angle. It can be understood that the degree of increasing the light brightness corresponding to the first adjustment strategy, and the preset ratio of the light-blocking curtain descending and the preset angle of the sun visor opening corresponding to the second adjustment strategy can be customized according to the actual application situation, and this application places no restrictions on this.
[0040] In addition, after adjusting the interior brightness of the vehicle according to the above first adjustment strategy or second adjustment strategy, if the interior brightness of the vehicle is still outside the preset range from the brightness of the tunnel entrance, then it is necessary to perform a secondary adjustment on the interior brightness of the vehicle to make the interior brightness of the vehicle closer to the brightness of the tunnel entrance.
[0041] Preferably, after adjusting the interior brightness of the vehicle based on the adjustment strategy, it further includes: monitoring the distance between the vehicle and the tunnel entrance; if the distance from the vehicle to the tunnel entrance is the second threshold, collecting the interior brightness of the vehicle, where the second threshold is less than the first preset value; detecting again the brightness difference between the interior brightness of the vehicle and the brightness of the tunnel entrance; determining whether the brightness difference is within the preset range; if it is not within the preset range, then compare the brightness of the tunnel entrance and the interior brightness of the vehicle: if the brightness of the tunnel entrance is greater than the brightness of the vehicle exterior environment, then generate a third adjustment strategy for increasing the interior brightness of the vehicle; if the brightness of the tunnel entrance is less than the brightness of the vehicle exterior environment, then generate a fourth adjustment strategy for decreasing the interior brightness of the vehicle, and adjust the interior brightness of the vehicle based on the third adjustment strategy or the fourth adjustment strategy.
[0042] Specifically, the second threshold value can be a distance value from the vehicle to the tunnel entrance position, or a distance range from the vehicle to the tunnel entrance position. In this embodiment, the second threshold value is preferably a distance range from the vehicle to the tunnel entrance position. For example, the second threshold value is a distance range within 50 m from the vehicle to the tunnel entrance. When the vehicle travels to a position within 50 m from the tunnel entrance, the brightness inside the vehicle is detected by a luminometer provided inside the vehicle to obtain a corresponding brightness value.
[0043] Specifically, since both the first adjustment strategy and the third adjustment strategy are used to increase the brightness inside the vehicle, the adjustment methods corresponding to the first adjustment strategy and the third adjustment strategy may be the same or different. However, when the adjustment methods corresponding to the first adjustment strategy and the third adjustment strategy are the same, the adjustment degree of the third adjustment strategy is higher than that of the first adjustment strategy. For example, assume that the first adjustment strategy is to control a lamp inside the vehicle to be in the on state, then the third adjustment strategy is to control two lamps inside the vehicle to be in the on state.
[0044] Similarly, both the second adjustment strategy and the fourth adjustment strategy are used to decrease the brightness inside the vehicle, so the adjustment methods corresponding to the second adjustment strategy and the fourth adjustment strategy may be the same or different. However, when the adjustment methods corresponding to the second adjustment strategy and the fourth adjustment strategy are the same, the adjustment degree of the fourth adjustment strategy is higher than that of the second adjustment strategy. For example, assume that the second adjustment strategy is to control the light-shielding curtain on at least one window to be lowered to the half-open position, while the fourth adjustment strategy is to control the light-shielding curtain on at least one window to be lowered to the fully-open position.
[0045] Since the ambient light is different at different positions of the vehicle from the tunnel entrance, there are differences in the brightness inside the vehicle. If the brightness inside the vehicle or outside the vehicle is directly used for single brightness adjustment, the adjustment may be inaccurate. Therefore, in this embodiment, based on the first adjustment strategy or the second adjustment strategy, a third adjustment strategy or a fourth adjustment strategy is generated again according to the adjusted brightness inside the vehicle to perform secondary adjustment on the brightness inside the vehicle, which can ensure that the brightness inside the vehicle can more accurately approach the brightness at the tunnel entrance.
[0046] In one embodiment, when the vehicle exits the tunnel, the method for preventing people from experiencing momentary blindness when the vehicle enters and exits the tunnel specifically includes: monitoring the distance between the vehicle and the tunnel exit; if the distance from the vehicle to the tunnel exit is a third threshold, acquiring a second image of the tunnel exit; based on the second image, determining the brightness of the tunnel exit in the second image; acquiring the brightness inside the vehicle; detecting the brightness difference between the brightness of the tunnel exit and the brightness inside the vehicle; determining whether the brightness difference is within a preset range; if not, comparing the brightness of the tunnel exit and the brightness inside the vehicle: if the brightness of the tunnel exit is greater than the brightness of the external environment of the vehicle, generating a fifth adjustment strategy for increasing the brightness inside the vehicle; if the brightness of the tunnel exit is less than the brightness of the external environment of the vehicle, generating a sixth adjustment strategy for decreasing the brightness inside the vehicle, and adjusting the brightness inside the vehicle based on the fifth adjustment strategy or the sixth adjustment strategy.
[0047] Specifically, the third threshold can be a distance value from the vehicle to the tunnel exit position or a distance range from the vehicle to the tunnel exit position. In this embodiment, the third threshold is preferably a distance range from the vehicle to the tunnel exit position. For example, the third threshold is a distance range within 50 m from the vehicle to the tunnel exit. When the vehicle travels to a position within 50 m from the tunnel exit, images containing the tunnel exit are acquired every 10 seconds using a camera to obtain at least one second image; and the brightness inside the vehicle is detected using a luminometer provided inside the vehicle to obtain the corresponding brightness value.
[0048] Specifically, the fifth adjustment strategy for increasing the brightness inside the vehicle may or may not be the same as the adjustment methods corresponding to the first adjustment strategy and the third adjustment strategy generated when the vehicle enters the tunnel, but the working principles are the same. Similarly, the sixth adjustment strategy for decreasing the brightness inside the vehicle is the same. For specific content, reference can be made to the above embodiments, so it will not be elaborated here.
[0049] In another embodiment, when the vehicle exits the tunnel, in the method for preventing people from experiencing momentary blindness when the vehicle enters and exits the tunnel, based on the brightness of the tunnel exit and the brightness of the external environment of the vehicle, determining the adjustment strategy for the interior light environment of the vehicle further includes: obtaining the length of the tunnel; if the length of the tunnel is less than a preset length threshold, monitoring the distance between the vehicle and the tunnel exit. When the distance from the vehicle to the tunnel exit is a third threshold, comparing the brightness of the tunnel entrance and the brightness of the external environment of the vehicle: if the brightness of the tunnel entrance is greater than the brightness of the external environment of the vehicle, generating a seventh adjustment strategy for decreasing the brightness inside the vehicle; if the brightness of the tunnel entrance is less than the brightness of the external environment of the vehicle, generating an eighth adjustment strategy for increasing the brightness inside the vehicle, and adjusting the brightness inside the vehicle based on the seventh adjustment strategy or the eighth adjustment strategy.
[0050] Specifically, information such as the length and position of the tunnel can be obtained from the map data in the vehicle-mounted navigation system, and according to the vehicle positioning system, the distances between the vehicle and the tunnel entrance and the tunnel exit can also be obtained based on the map data.
[0051] Preferably, in this embodiment, after obtaining the length of the tunnel, if the length of the tunnel is greater than or equal to the length threshold, the above-described embodiment of the vehicle exiting the tunnel can be executed. That is: monitor the distance between the vehicle and the tunnel exit; if the distance from the vehicle to the tunnel exit is the third threshold, collect the second image of the tunnel exit; based on the second image, determine the brightness of the tunnel exit in the second image; collect the brightness inside the vehicle; detect the brightness difference between the brightness of the tunnel exit and the brightness inside the vehicle; determine whether the brightness difference is within a preset range; if not, then compare the brightness of the tunnel exit and the brightness inside the vehicle: if the brightness of the tunnel exit is greater than the brightness of the external environment of the vehicle, generate a fifth adjustment strategy to increase the brightness inside the vehicle; if the brightness of the tunnel exit is less than the brightness of the external environment of the vehicle, generate a sixth adjustment strategy to decrease the brightness inside the vehicle, and adjust the brightness inside the vehicle based on the seventh adjustment strategy or the eighth adjustment strategy. Thus, when the vehicle exits the tunnel, by combining the detection of the tunnel length and the distance between the vehicle and the tunnel exit, in the case where the tunnel is not long, directly use the brightness of the tunnel entrance before the entrance and the brightness of the external environment of the vehicle to generate corresponding adjustment strategies, that is, the seventh adjustment strategy and the eighth adjustment strategy, without the need to re-collect the relevant brightness, effectively improving the efficiency of the brightness adjustment inside the vehicle.
[0052] In the above step S103, adjusting the brightness inside the vehicle based on the adjustment strategy is to control the corresponding object on the vehicle to perform a preset action according to the content corresponding to the adjustment strategy. This includes but is not limited to adjusting the brightness inside the vehicle based on the first adjustment strategy or the second adjustment strategy, adjusting the brightness inside the vehicle based on the third adjustment strategy or the fourth adjustment strategy, adjusting the brightness inside the vehicle based on the fifth adjustment strategy or the sixth adjustment strategy, and adjusting the brightness inside the vehicle based on the seventh adjustment strategy or the eighth adjustment strategy. It can be understood that the above first adjustment strategy to the eighth adjustment strategy are only for the convenience of description to distinguish the adjustment strategies generated in different situations, and their adjustment contents can be the same or different, which is not limited in the embodiments of the present application.
[0053] For example, assuming that the adjustment strategy is to lower the position of the light-shielding curtain on the window to a preset position corresponding to increase the brightness inside the vehicle, then control the light-shielding curtain on the window to descend to the preset position; on the contrary, assuming that the adjustment strategy is to raise the position of the light-shielding curtain on the window to a preset position corresponding to decrease the brightness inside the vehicle, then control the light-shielding curtain on the window to rise to the preset position.
[0054] All of the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present application, which will not be elaborated here one by one.
[0055] The following is an embodiment of the device of the present application, which can be used to execute the method embodiment of the present application. For the details not disclosed in the embodiment of the device of the present application, please refer to the method embodiment of the present application.
[0056] Figure 2 It is a schematic diagram of a device provided by an embodiment of the present application for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel. As Figure 2 shown, the device for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel includes:
[0057] A first detection module 201, configured to detect the brightness of the tunnel entrance and the external environment of the vehicle respectively;
[0058] A strategy determination module 202, configured to determine an adjustment strategy for the brightness inside the vehicle based on the brightness of the tunnel entrance and the brightness of the external environment of the vehicle;
[0059] A vehicle adjustment module 203, configured to adjust the brightness inside the vehicle based on the adjustment strategy, so that the brightness inside the vehicle is close to the brightness of the tunnel entrance.
[0060] According to the technical solution provided by the embodiment of the present application, by identifying the brightness of the tunnel entrance; detecting the brightness of the external environment of the vehicle; determining an adjustment strategy for the light environment inside the vehicle based on the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; adjusting the brightness inside the vehicle based on the adjustment strategy, so that the light brightness inside the vehicle is close to that inside the tunnel, avoiding the situation that the light contrast entering the human eye is too large when the vehicle enters and exits the tunnel entrance, resulting in momentary blindness or glare of people, and improving the driving safety.
[0061] In some embodiments, the adjustment strategy includes at least one of the following strategy methods: adjusting the lifting ratio of the light-shielding curtain on the window, adjusting the opening and closing angle of the sun visor, adjusting the on / off state or brightness of the vehicle interior lights, and controlling the turning on or off of the vehicle's low beam lights.
[0062] In some embodiments, the tunnel entrance includes a tunnel entrance and a tunnel exit; the brightness of the tunnel entrance includes the brightness of the tunnel entrance and the brightness of the tunnel exit.
[0063] In some embodiments, in the above device for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel, Figure 2 the first detection module 201 is specifically configured to monitor the distance between the vehicle and the tunnel entrance when the vehicle enters the tunnel; if the distance from the vehicle to the tunnel entrance is a first threshold, collect at least one first image, and the first image includes an image containing the tunnel entrance; based on the first image, determine the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; Figure 2 the strategy determination module 202 is specifically configured to detect the brightness difference between the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; determine whether the brightness difference is within a preset range; if it is not within the preset range, compare the brightness of the tunnel entrance and the brightness of the external environment of the vehicle: if the brightness of the tunnel entrance is greater than the brightness of the external environment of the vehicle, generate a first adjustment strategy to increase the brightness inside the vehicle; if the brightness of the tunnel entrance is less than the brightness of the external environment of the vehicle, generate a second adjustment strategy to decrease the brightness inside the vehicle; Figure 2The vehicle adjustment module 203 therein is specifically configured to adjust the brightness inside the vehicle based on the first adjustment strategy or the second adjustment strategy.
[0064] In some embodiments, in the above device for preventing a person from experiencing momentary blindness when a vehicle enters or exits a tunnel, Figure 2 the strategy determination module 202 therein is specifically configured to monitor the distance between the vehicle and the tunnel entrance; if the distance from the vehicle to the tunnel entrance is a second threshold value, collect the brightness inside the vehicle, where the second threshold value is less than a first preset value; detect again the brightness difference between the brightness inside the vehicle and the brightness at the tunnel entrance; determine whether the brightness difference is within a preset range; if it is not within the preset range, then compare the brightness at the tunnel entrance and the brightness inside the vehicle: if the brightness at the tunnel entrance is greater than the brightness of the external environment of the vehicle, generate a third adjustment strategy for increasing the brightness inside the vehicle; if the brightness at the tunnel entrance is less than the brightness of the external environment of the vehicle, generate a fourth adjustment strategy for decreasing the brightness inside the vehicle; Figure 2 the vehicle adjustment module 203 therein is further specifically configured to adjust the brightness inside the vehicle based on the third adjustment strategy or the fourth adjustment strategy.
[0065] In some embodiments, the above device for preventing a person from experiencing momentary blindness when a vehicle enters or exits a tunnel further includes:
[0066] A second detection module 204, configured to collect the brightness inside the vehicle;
[0067] Figure 2 The first detection module 201 therein is specifically configured to, when the vehicle exits the tunnel, monitor the distance between the vehicle and the tunnel exit; if the distance from the vehicle to the tunnel exit is a third threshold value, collect a second image of the tunnel exit; based on the second image, determine the brightness of the tunnel exit in the second image;
[0068] Figure 2 The strategy determination module 202 therein is specifically configured to detect the brightness difference between the brightness of the tunnel exit and the brightness inside the vehicle; determine whether the brightness difference is within a preset range; if not, then compare the brightness of the tunnel exit and the brightness inside the vehicle: if the brightness of the tunnel exit is greater than the brightness of the external environment of the vehicle, generate a fifth adjustment strategy for increasing the brightness inside the vehicle; if the brightness of the tunnel exit is less than the brightness of the external environment of the vehicle, generate a sixth adjustment strategy for decreasing the brightness inside the vehicle;
[0069] Figure 2 The vehicle adjustment module 203 therein is specifically configured to adjust the brightness inside the vehicle based on the fifth adjustment strategy or the sixth adjustment strategy.
[0070] In some embodiments, the above device for preventing a person from experiencing momentary blindness when a vehicle enters or exits a tunnel further includes:
[0071] A tunnel detection module 205, configured to, when the vehicle exits the tunnel, obtain the length of the tunnel;
[0072] Figure 2 The strategy determination module 202 therein is specifically configured to monitor the distance between the vehicle and the tunnel exit if the length of the tunnel is less than a preset length threshold. When the distance from the vehicle to the tunnel exit is a third threshold, compare the brightness at the tunnel entrance with the brightness of the external environment: if the brightness at the tunnel entrance is greater than the brightness of the external environment, generate a seventh adjustment strategy to reduce the brightness inside the vehicle; if the brightness at the tunnel entrance is less than the brightness of the external environment, generate an eighth adjustment strategy to increase the brightness inside the vehicle.
[0073] Figure 2 The vehicle adjustment module 203 therein is specifically configured to adjust the brightness inside the vehicle based on the seventh adjustment strategy or the eighth adjustment strategy.
[0074] In some embodiments, the above device for preventing momentary blindness when a person gets in and out of a tunnel in a vehicle further includes:
[0075] A second detection module 204, configured to collect the brightness inside the vehicle;
[0076] Figure 2 The strategy determination module 202 therein is specifically configured to monitor the distance between the vehicle and the tunnel exit if the length of the tunnel is greater than or equal to the length threshold; if the distance from the vehicle to the tunnel exit is the third threshold, collect a second image of the tunnel exit; based on the second image, determine the brightness of the tunnel exit in the second image;
[0077] Figure 2 The strategy determination module 202 therein is specifically configured to detect the brightness difference between the brightness of the tunnel exit and the brightness inside the vehicle; determine whether the brightness difference is within a preset range; if it is not within the preset range, then compare the brightness of the tunnel exit with the brightness inside the vehicle: if the brightness of the tunnel exit is greater than the brightness of the external environment, generate a fifth adjustment strategy to increase the brightness inside the vehicle; if the brightness of the tunnel exit is less than the brightness of the external environment, generate a sixth adjustment strategy to reduce the brightness inside the vehicle.
[0078] Figure 2 The vehicle adjustment module 203 therein is specifically configured to adjust the brightness inside the vehicle based on the fifth adjustment strategy or the sixth adjustment strategy.
[0079] It should be understood that the magnitudes of the sequence numbers of the above steps in the embodiments do not mean the order of execution is prior or subsequent. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0080] In addition, please refer to Figure 3 , the present application further provides an automobile 300, which at least includes a camera 310 and a vehicle computer 320.
[0081] Specifically, the camera 310 is connected to the vehicle computer 320 and is used to collect images outside the vehicle. For example, when the vehicle 300 passes through a tunnel, the camera 310 is used to collect images of the tunnel entrance and the tunnel exit.
[0082] Specifically, as Figure 3 shown, the vehicle computer 320 includes: a processor 321, a memory 322, and a computer program 323 stored in the memory 322 and executable on the processor 321. When the processor 321 executes the computer program 323, the steps in the above method embodiments are implemented. Alternatively, when the processor 321 executes the computer program 323, the functions of the modules in the above device embodiments are implemented.
[0083] The vehicle computer 320 may include but is not limited to the processor 321 and the memory 322. Those skilled in the art can understand that Figure 3 merely examples of the vehicle computer 320, which do not constitute a limitation on the vehicle computer 320, may include more or fewer components than shown, or different components.
[0084] The processor 321 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0085] The memory 322 may be an internal storage unit of the vehicle computer 320, for example, the hard disk or memory of the vehicle computer 320. The memory 322 may also be an external storage device of the vehicle computer 320, for example, a plug-in hard disk equipped on the vehicle computer 320, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 322 may also include both an internal storage unit and an external storage device of the vehicle computer 320. The memory 322 is used to store computer programs and other programs and data required by the electronic device.
[0086] It can be understood that there may be other devices on the vehicle 300 in practice, such as a luminance meter, an automatic sunshade, an automatic sun visor, etc. Since these components are all conventional components, no detailed description is provided here.
[0087] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional module in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0088] If the integrated module is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above embodiment methods of this application, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of each of the above method embodiments. The computer program can include computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0089] The above embodiments are only used to illustrate the technical solutions of this application, rather than to limit it; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of each embodiment of this application, and should all be included in the protection scope of this application.
Claims
1. A method for preventing people from experiencing momentary blindness when a vehicle enters or exits a tunnel, characterized in that, Including: Detect the brightness of the tunnel entrance and the external environment of the vehicle respectively; Determine the adjustment strategy for the brightness inside the vehicle based on the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; Adjust the brightness inside the vehicle based on the adjustment strategy so that the brightness inside the vehicle is close to the brightness of the tunnel entrance; When the vehicle exits the tunnel, obtain the length of the tunnel; If the length of the tunnel is less than a preset length threshold, monitor the distance between the vehicle and the tunnel exit. When the distance from the vehicle to the tunnel exit is a third threshold, compare the brightness of the tunnel entrance and the brightness of the external environment: If the brightness of the tunnel entrance is greater than the brightness of the external environment, generate a seventh adjustment strategy to reduce the brightness inside the vehicle; If the brightness of the tunnel entrance is less than the brightness of the external environment, generate an eighth adjustment strategy to increase the brightness inside the vehicle; Adjust the brightness inside the vehicle based on the seventh adjustment strategy or the eighth adjustment strategy.
2. The method according to claim 1, wherein The adjustment strategy includes at least one of the following strategy methods: Adjust the lifting ratio of the light-shielding curtain on the window; Adjust the opening and closing angle of the sun visor; Adjust the on / off state or brightness of the interior lights; Control the turning on or off of the low beam lights of the vehicle.
3. The method according to claim 1, wherein The tunnel entrance includes the tunnel inlet and the tunnel outlet; the brightness of the tunnel entrance includes the brightness of the tunnel inlet and the brightness of the tunnel outlet.
4. The method according to claim 3, characterized in that, Including: When the vehicle enters the tunnel, monitor the distance between the vehicle and the tunnel entrance; If the distance from the vehicle to the tunnel entrance is a first threshold, collect at least one first image, and the first image includes an image containing the tunnel entrance; Based on the first image, determine the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; Detect the brightness difference between the brightness of the tunnel entrance and the brightness of the external environment of the vehicle; Judge whether the brightness difference is within a preset range; If it is not within the preset range, compare the brightness of the tunnel entrance and the brightness of the external environment: If the brightness of the tunnel entrance is greater than the brightness of the external environment, generate a first adjustment strategy to increase the brightness inside the vehicle; If the brightness of the tunnel entrance is less than the brightness of the external environment, generate a second adjustment strategy to reduce the brightness inside the vehicle; Adjust the brightness inside the vehicle based on the first adjustment strategy or the second adjustment strategy.
5. The method according to claim 4, characterized in that, It also includes: After adjusting the brightness inside the vehicle based on the first adjustment strategy or the second adjustment strategy, it further includes: Monitor the distance between the vehicle and the tunnel entrance; If the distance from the vehicle to the tunnel entrance is a second threshold, collect the brightness inside the vehicle, where the second threshold is less than the first preset value; Detect the brightness difference between the brightness inside the vehicle and the brightness of the tunnel entrance again; Judge whether the brightness difference is within a preset range; If it is not within the preset range, compare the brightness of the tunnel entrance and the brightness inside the vehicle: If the brightness of the tunnel entrance is greater than the brightness inside the vehicle, generate a third adjustment strategy to increase the brightness inside the vehicle; If the brightness of the tunnel entrance is less than the brightness inside the vehicle, generate a fourth adjustment strategy to reduce the brightness inside the vehicle; Adjust the brightness inside the vehicle based on the third adjustment strategy or the fourth adjustment strategy.
6. The method according to claim 1, characterized in that, After obtaining the length of the tunnel, it further includes: If the length of the tunnel is greater than or equal to the length threshold, monitor the distance between the vehicle and the tunnel exit; If the distance from the vehicle to the tunnel exit is a third threshold, collect a second image of the tunnel exit; Based on the second image, determine the brightness of the tunnel exit in the second image; Collect the brightness inside the vehicle; Detect the brightness difference between the brightness of the tunnel exit and the brightness inside the vehicle; Determine whether the brightness difference is within a preset range; If it is not within the preset range, compare the brightness of the tunnel exit and the brightness inside the vehicle: If the brightness of the tunnel exit is greater than the brightness inside the vehicle, generate a fifth adjustment strategy to increase the brightness inside the vehicle; If the brightness of the tunnel exit is less than the brightness inside the vehicle, generate a sixth adjustment strategy to decrease the brightness inside the vehicle; Adjust the brightness inside the vehicle based on the fifth adjustment strategy or the sixth adjustment strategy.
7. A device for preventing people from experiencing momentary blindness when a vehicle enters and exits a tunnel, characterized in that, Including: A first detection module configured to detect the brightness of the tunnel entrance and the external environment of the vehicle respectively; A strategy determination module configured to determine the adjustment strategy for the brightness inside the vehicle based on the brightness of the tunnel entrance and the external environment of the vehicle; A vehicle adjustment module configured to adjust the brightness inside the vehicle based on the adjustment strategy to make the brightness inside the vehicle close to the brightness of the tunnel entrance; The strategy determination module is configured to, if the length of the tunnel is less than a preset length threshold, monitor the distance between the vehicle and the tunnel exit, and when the distance from the vehicle to the tunnel exit is a third threshold, compare the brightness of the tunnel entrance and the external environment of the vehicle: if the brightness of the tunnel entrance is greater than the external environment of the vehicle, generate a seventh adjustment strategy to decrease the brightness inside the vehicle; If the brightness of the tunnel entrance is less than the external environment of the vehicle, generate an eighth adjustment strategy to increase the brightness inside the vehicle; The vehicle adjustment module is configured to adjust the brightness inside the vehicle based on the seventh adjustment strategy or the eighth adjustment strategy.
8. An automobile, comprising at least a camera and a vehicle computer, the vehicle computer including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Automobile shading method and system, shading controller and storage medium
CN115648907A
Adjusting method, device and system for atmosphere lamp in vehicle and vehicle
CN115946609A