Ambient light control method, device, electronic device and readable storage medium
Through the automatic adjustment method of the ambient light, the luminous parameters are adjusted according to the changes in the ultraviolet intensity in the car, which solves the problem of ultraviolet rays affecting driving safety and improves the driver's ultraviolet protection awareness and safety.
Patent Information
- Application Number
- CN202310224054.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2043-03-03
AI Technical Summary
The intensity of ultraviolet rays is not easy for people to perceive, and long-term high-intensity ultraviolet radiation causes eye fatigue in drivers, affecting driving safety.
Through the ambient light control method, the current values of the ultraviolet intensity and luminous parameters in the car are obtained in real time or periodically, and the luminous parameters of the ambient light are compared and adjusted to the target values to match the changes in ultraviolet intensity and achieve automatic adjustment.
Drivers can promptly sense changes in external ultraviolet intensity and take protective measures to prevent excessive ultraviolet rays from affecting driving safety.
Smart Images

Figure CN116118618B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to an ambient light control method, device, electronic device, and readable storage medium. Background Art
[0002] With the continuous development of science and technology, cars have been widely used in people's daily lives. In actual driving, since the intensity of ultraviolet rays is not easy to be perceived and noticed by people, when the intensity of ultraviolet rays outside the car is too high, long-term high-intensity ultraviolet radiation will cause the driver's eyeballs to become tired and tearful, which brings about driving safety problems. Summary of the Invention
[0003] The main purpose of this application is to provide an ambient light control method, device, electronic device and readable storage medium, aiming to solve the technical problem in the prior art that excessive ultraviolet rays affect driving safety.
[0004] To achieve the above objectives, the present application provides an ambient light control method, which is applied to a target vehicle, wherein the target vehicle is provided with an ambient light inside. The ambient light control method includes:
[0005] Obtaining current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameters of the ambient light;
[0006] Obtaining a target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle;
[0007] If it is detected that the target parameter value of the lighting parameter does not match the current parameter value, the parameter value of the lighting parameter of the atmosphere lamp is adjusted to the target parameter value.
[0008] To achieve the above-mentioned purpose, the present application further provides an ambient light control device, which is applied to a target vehicle, wherein an ambient light is provided inside the target vehicle, and the ambient light control device comprises:
[0009] A first acquisition module is used to obtain the current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameters of the ambient light;
[0010] A second acquisition module is used to obtain a target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle;
[0011] An adjustment module is configured to adjust the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value if it is detected that the target parameter value of the luminous parameter does not match the current parameter value.
[0012] The present application also provides an electronic device, which includes: a memory, a processor, and a program of the atmosphere light control method stored in the memory and runnable on the processor. When the program of the atmosphere light control method is executed by the processor, the steps of the atmosphere light control method as described above can be implemented.
[0013] The present application also provides a computer-readable storage medium, on which is stored a program for implementing the atmosphere light control method. When the program of the atmosphere light control method is executed by a processor, the steps of the atmosphere light control method as described above are implemented.
[0014] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned atmosphere light control method when executed by a processor.
[0015] The present application provides an ambient light control method, device, electronic device and readable storage medium. The present application adjusts the parameter value of the ambient light's luminous parameter by detecting whether the target parameter value of the ambient light's luminous parameter corresponding to the current ultraviolet intensity in the car matches the current parameter value of the ambient light's luminous parameter. When the two do not match, the parameter value of the ambient light's luminous parameter is adjusted to the parameter value of the luminous parameter corresponding to the current ultraviolet intensity, thereby realizing automatic adjustment of the car's ambient light following changes in ultraviolet intensity. The driver can timely perceive changes in external ultraviolet intensity according to changes in the color and brightness of the ambient light, and take corresponding ultraviolet protection measures to prevent excessive ultraviolet rays from affecting driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1 A schematic diagram of the structure of the vehicle ambient light control system according to the present application;
[0019] Figure 2 A flowchart of the first embodiment of the ambient light control method of the present application is provided;
[0020] Figure 3 A flow chart of the second embodiment of the atmosphere light control method of the present application is provided;
[0021] Figure 4 A flowchart of the third embodiment of the ambient light control method of the present application is provided;
[0022] Figure 5 This is a structural diagram of the fourth embodiment of the atmosphere light control device of the present application;
[0023] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the atmosphere light control method in the embodiment of the present application.
[0024] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0025] To make the above-mentioned purposes, features, and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.
[0026] Example 1
[0027] With the continuous development of science and technology, cars have been widely used in people's daily lives. In actual driving, since the intensity of ultraviolet rays is not easy to be perceived and noticed by people, when the intensity of ultraviolet rays outside the car is too high, long-term high-intensity ultraviolet radiation will cause the driver's eyeballs to become tired and tearful, which brings about driving safety problems.
[0028] As an example, Figure 1 This is a schematic diagram of the structure of a vehicle ambient light control system used in an embodiment of the present application. Figure 1 The vehicle atmosphere light control system includes a vehicle 100, an atmosphere light 200, an atmosphere light controller 300 and an ultraviolet detector 400, wherein the ultraviolet detector 400 is used to measure the ultraviolet intensity irradiated into the interior of the vehicle 100 in real time, and send the measured ultraviolet intensity to the atmosphere light controller 300. The atmosphere light controller 300 controls the change of the atmosphere light color and the atmosphere light brightness of the atmosphere light 300 according to the received ultraviolet intensity data, so that the atmosphere light color and brightness of the atmosphere light 200 change with the change of the ultraviolet intensity. In this example, the structure of the vehicle atmosphere light control system is not limited, and the atmosphere light control method mentioned below is not limited to the vehicle atmosphere light control system.
[0029] The present application provides an atmosphere light control method. In the first embodiment of the atmosphere light control method of the present application, the method is applied to a target vehicle, wherein an atmosphere light is provided inside the target vehicle. Figure 2 , the atmosphere light control method includes:
[0030] Step S10, obtaining the current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameters of the ambient light;
[0031] It should be noted that the ultraviolet intensity inside the car refers to the intensity of ultraviolet rays irradiating into the car, and the luminous parameter refers to the specific attribute information of the ambient light when it is emitting light. For example, the power attribute of the ambient light when it is emitting light corresponds to the brightness of the ambient light, and the wavelength attribute of the ambient light when it is emitting light corresponds to the color of the ambient light. The parameter value refers to the specific numerical value of the luminous parameter, and the current parameter value refers to the specific numerical value of the luminous parameter at the current time point. The current parameter value may include the current color value, the current brightness value, etc.
[0032] As an example, the ultraviolet intensity inside the vehicle refers to the energy of ultraviolet light received per unit area inside the vehicle, and the luminous parameters may include the brightness of the ambient light, the color of the ambient light, etc. When obtaining the ultraviolet intensity inside the target vehicle and the current parameter values of the luminous parameters of the ambient light, an ultraviolet detector, a power detector, and a wavelength detector may be set inside the target vehicle. The ultraviolet detector is used to detect the energy of ultraviolet light received per unit area inside the vehicle in real time to determine the ultraviolet intensity inside the target vehicle. The power detector is used to detect the luminous power of the ambient light inside the vehicle in real time to determine the current brightness value of the ambient light. The wavelength detector is used to detect the luminous wavelength of the ambient light inside the vehicle in real time to determine the current color value of the ambient light, thereby obtaining the ultraviolet intensity inside the target vehicle and the current parameter values of the luminous parameters of the ambient light in real time. In this example, there is no limitation on the method for obtaining the current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameters of the ambient light.
[0033] As another example, a time interval can be set, and the energy of ultraviolet light received per unit area in the vehicle can be periodically detected by an ultraviolet detector to determine the ultraviolet intensity inside the target vehicle. The luminous power of the interior ambient light can be periodically detected by a power detector to determine the current brightness value of the ambient light. The luminous wavelength of the interior ambient light can be periodically detected by a wavelength detector to determine the current color value of the ambient light, thereby periodically obtaining the ultraviolet intensity inside the target vehicle and the current parameter values of the luminous parameters of the ambient light at preset time intervals.
[0034] Step S20, obtaining a target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle;
[0035] It should be noted that the target parameter value refers to the specific value of the luminous parameter under the ultraviolet intensity in the vehicle, and the target parameter value may include a target color value, a target brightness value, etc.
[0036] As an example, when obtaining the target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle, a real-time acquisition method or a periodic acquisition method can be adopted. This example does not limit the acquisition method.
[0037] Step S30: If it is detected that the target parameter value of the luminous parameter does not match the current parameter value, the parameter value of the luminous parameter of the atmosphere lamp is adjusted to the target parameter value.
[0038] As an example, when one parameter among all the target parameter values of the luminous parameters does not match the current parameter value, it is determined that the target parameter value of the luminous parameter does not match the current parameter value, and the parameter value of the luminous parameter of the atmosphere lamp is adjusted to the target parameter value. As another example, when all the target parameter values of the luminous parameters do not match the current parameter value, it is determined that the target parameter value of the luminous parameter does not match the current parameter value, and the parameter value of the luminous parameter of the atmosphere lamp is adjusted to the target parameter value.
[0039] As an example, steps S10 to S30 include: obtaining the ultraviolet intensity inside the target vehicle and the current parameter value of the luminous parameter of the ambient light, and determining the ultraviolet wavelength corresponding to the ultraviolet intensity inside the vehicle; obtaining the preset target parameter value of the luminous parameter corresponding to the ultraviolet wavelength; detecting whether the target parameter value of the luminous parameter matches the current parameter value, and if it is detected that the target parameter value of the luminous parameter matches the current parameter value, maintaining the current parameter value of the luminous parameter of the ambient light; if it is detected that the target parameter value of the luminous parameter does not match the current parameter value, adjusting the parameter value of the luminous parameter of the ambient light to the target parameter value. In this example, each ultraviolet wavelength corresponds to a preset parameter value of the ambient light's luminous parameter. The ambient light's luminous parameter is adjusted by collecting the target vehicle's interior ultraviolet intensity and detecting whether the target parameter value of the ambient light's luminous parameter corresponding to the ultraviolet wavelength of the interior ultraviolet intensity matches the current parameter value of the ambient light's luminous parameter. When the two match, there is no need to adjust the parameter value of the ambient light's luminous parameter. When the two do not match, the parameter value of the ambient light's luminous parameter is adjusted to the parameter value of the luminous parameter corresponding to the ultraviolet wavelength corresponding to the current ultraviolet intensity, thereby enabling the vehicle's ambient light to automatically adjust following changes in ultraviolet intensity. The driver can promptly perceive changes in external ultraviolet intensity based on changes in the color and brightness of the ambient light, and take corresponding ultraviolet protection measures to prevent excessive ultraviolet rays from affecting driving safety.
[0040] The embodiment of the present application provides an ambient light control method, wherein the embodiment of the present application obtains the ultraviolet intensity in the vehicle interior of the target vehicle and the current parameter value of the luminous parameter of the ambient light; obtains the target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle; and if it is detected that the target parameter value of the luminous parameter does not match the current parameter value, adjusts the parameter value of the luminous parameter of the ambient light to the target parameter value. The embodiment of the present application adjusts the parameter value of the luminous parameter of the ambient light by detecting whether the target parameter value of the luminous parameter of the ambient light corresponding to the current ultraviolet intensity in the vehicle and the current parameter value of the luminous parameter of the ambient light match. When the two do not match, the parameter value of the luminous parameter of the ambient light is adjusted to the parameter value of the luminous parameter corresponding to the current ultraviolet intensity, thereby realizing that the vehicle ambient light automatically adjusts according to the change of ultraviolet intensity. The driver can timely perceive the change of external ultraviolet intensity according to the change of the color and brightness of the ambient light, and take corresponding ultraviolet protection measures to prevent the ultraviolet rays from being too strong and affecting driving safety.
[0041] As an example, there are multiple luminous parameters. Before the step of adjusting the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value, the atmosphere lamp control method further includes:
[0042] Step S21, determining the driving environment of the target vehicle according to the intensity of visible light outside the target vehicle;
[0043] As an example, the visible light intensity outside the vehicle refers to the energy of visible light received per unit area outside the vehicle. When obtaining the visible light intensity outside the target vehicle, a visible light detector can be set on the outside of the target vehicle, and the energy of visible light received per unit area outside the vehicle can be detected in real time by the visible light detector to obtain the visible light intensity outside the target vehicle in real time; the driving environment of the target vehicle can include daytime driving environment, nighttime driving environment, etc. Under different driving environments, since the energy of visible light received per unit area outside the vehicle is different, the visual sensitivity of natural people in the car to changes in luminous parameters is also different. Generally, the visual sensitivity of natural people to changes in the identification intensity of color values in daytime driving environments is higher than that to changes in the luminous intensity of brightness values, while the visual sensitivity of natural people to changes in the luminous intensity of brightness values in nighttime driving environments is higher than that to changes in the identification intensity of color values. The visible light intensity when a natural person's visual sensitivity to changes in the luminous intensity of brightness values is equal to the visual sensitivity to changes in the identification intensity of color values can be used as the preset visible light intensity limit value. When the obtained visible light intensity is greater than the preset visible light intensity limit value, the driving environment of the target vehicle is determined to be a daytime driving environment. When the obtained visible light intensity is not greater than the preset visible light intensity limit value, the driving environment of the target vehicle is determined to be a nighttime driving environment. In this example, there is no limitation on the method of determining the driving environment of the target vehicle.
[0044] As another example, a time interval can be set to periodically detect the energy of visible light received per unit area outside the vehicle through a visible light detector, so as to periodically obtain the intensity of visible light outside the target vehicle at preset time intervals. In this example, the method for obtaining the intensity of visible light outside the target vehicle is not limited.
[0045] Step S22, calculating a visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of the target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter, wherein the target luminous parameter is a preset luminous parameter corresponding to the driving environment among the plurality of luminous parameters;
[0046] It should be noted that the target luminous parameter is a preset luminous parameter corresponding to the driving environment among the multiple luminous parameters. When there is an artificial specification for the luminous parameter corresponding to each driving environment, the specification is used. For example, the luminous parameter corresponding to the daytime driving environment is the ambient light brightness, while the luminous parameter corresponding to the nighttime driving environment is the ambient light color. When there is no artificial specification for the luminous parameter corresponding to each driving environment, the default specification is used, that is, the luminous parameter corresponding to the daytime driving environment is the ambient light color, while the luminous parameter corresponding to the nighttime driving environment is the ambient light brightness. The visual sensitivity refers to the intensity of visual attractiveness to a natural person. The visual sensitivity may include identification intensity, luminous intensity, etc. The visual sensitivity change value may include identification intensity change value, luminous intensity change value, etc.
[0047] Step S23, detecting whether the visual sensitivity change value is greater than a preset threshold;
[0048] It should be noted that the preset threshold refers to the minimum value of the visual sensitivity change that can attract the attention of a natural person.
[0049] As an example, the preset threshold may include a preset identification intensity change threshold and a preset luminous intensity change threshold, wherein the preset identification intensity change threshold refers to the minimum value of the identification intensity change of the color value that can attract the attention of a natural person, and the preset luminous intensity change threshold refers to the minimum value of the luminous intensity change of the brightness value that can attract the attention of a natural person.
[0050] Step S24: If yes, adjusting the parameter value of the target luminous parameter of the atmosphere lamp to the target parameter value of the target luminous parameter;
[0051] Step S25: If not, the step of adjusting the parameter value of the luminous parameter of the atmosphere light to the target parameter value is executed.
[0052] As an example, steps S21 to S25 include: obtaining the intensity of visible light outside the target vehicle, and determining the driving environment of the target vehicle based on the intensity of visible light outside the target vehicle; calculating the difference between the visual sensitivity corresponding to the target parameter value of the target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter, to obtain a visual sensitivity change value, wherein the target luminous parameter is a preset luminous parameter corresponding to the driving environment among the multiple luminous parameters; detecting whether the visual sensitivity change value is greater than a preset threshold; if it is detected that the visual sensitivity change value is greater than the preset threshold; adjusting the parameter value of the target luminous parameter of the atmosphere lamp to the target parameter value of the target luminous parameter; if it is detected that the visual sensitivity change value is not greater than the preset threshold, executing the step of adjusting the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value. This example determines the target vehicle's driving environment by collecting the intensity of visible light outside the target vehicle. It then implements different adjustment strategies based on differences in human visual sensitivity in different driving environments, selecting parameters that are more sensitive to human visual sensitivity in the current driving environment for adjustment, thereby improving the intelligence of ambient light control.
[0053] As another example, in actual driving environments, there are two special cases. The first case is that the visible light intensity inside a vehicle that has undergone shading treatment may be much lower than the visible light intensity outside the vehicle. At this time, even in a daytime driving environment, a natural person's visual sensitivity to changes in the intensity of the color value's signature is not necessarily higher than their visual sensitivity to changes in the luminous intensity of the brightness value. The second case is in a nighttime driving environment. If the vehicle is driving in some busy areas, the intensity of the external light may be almost the same as that in a daytime driving environment due to the influence of buildings, commercial buildings and surrounding lights. At this time, even in a nighttime driving environment, a natural person's visual sensitivity to changes in the brightness value is not necessarily higher. The visual sensitivity to changes in luminous intensity is not necessarily higher than the visual sensitivity to changes in the identification intensity of color values. For the above two situations, different luminous parameter adjustment strategies for the ambient light can be implemented according to the visible light intensity inside the vehicle. Specifically: the visible light intensity inside the target vehicle is collected, and it is determined whether the visible light intensity inside the vehicle is greater than the preset light intensity. If the visible light intensity inside the vehicle is greater than the preset light intensity, then the target luminous parameter corresponding to the driving environment of the target vehicle is the color of the ambient light; if the visible light intensity inside the vehicle is not greater than the preset light intensity, then the target luminous parameter corresponding to the driving environment of the target vehicle is the brightness of the ambient light. In this example, different ambient light adjustment strategies are implemented by comparing the collected visible light intensity outside the target vehicle with the preset light intensity. When the visible light intensity inside the vehicle is greater than the preset light intensity, it is equivalent to the daytime driving environment under the general vehicle driving environment. At this time, the natural person's visual sensitivity to changes in the identification intensity of color values is higher than the visual sensitivity to changes in the luminous intensity of brightness values. When the visible light intensity inside the vehicle is no greater than the preset light intensity, it is equivalent to a nighttime driving environment under a general vehicle driving environment. At this time, a natural person's visual sensitivity to changes in the luminous intensity of the brightness value is higher than the visual sensitivity to changes in the identification intensity of the color value.
[0054] As an example, when the driving environment is a daytime driving environment and the target luminous parameter corresponding to the daytime driving environment is the color of the ambient light, the step of calculating the visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of the target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter includes:
[0055] In step A221 , a change value of identification intensity is calculated based on the identification intensity corresponding to the target color value of the ambient light color and the identification intensity corresponding to the current color value of the ambient light color, and the change value of identification intensity is used as the change value of visual sensitivity.
[0056] It should be noted that the intensity of identification refers to the intensity of the color's attraction to a natural person's visual senses. The stronger the identification of the color value, the stronger the color's attraction to a natural person's visual senses. For example, red has a stronger color identification than light red. When observing these two colors, a natural person will be attracted to the red color with a stronger color identification.
[0057] In a daytime driving environment, since people's visual sensitivity to changes in the intensity of color values is higher than that to changes in the luminous intensity of brightness values, the color of the ambient light can be adjusted first when adjusting the luminous parameters of the ambient light.
[0058] As an example, the difference between the identification intensity corresponding to the target color value of the ambient light color and the identification intensity corresponding to the current color value of the ambient light color is calculated to obtain an identification intensity change value, and the identification intensity change value is used as the visual sensitivity change value; the identification intensity change value is detected to see whether it is greater than a preset identification intensity change threshold; if it is detected that the identification intensity change value is greater than the preset identification intensity change threshold, the color value of the ambient light color of the ambient light is adjusted to the target color value of the ambient light color; if it is detected that the identification intensity change value is not greater than the preset identification intensity change threshold, the step of adjusting the parameter value of the luminous parameter of the ambient light to the target parameter value is executed.
[0059] As an example, when the driving environment is a nighttime driving environment and the target luminous parameter corresponding to the nighttime driving environment is the brightness of the ambient light, the step of calculating the visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of the target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter includes:
[0060] Step B221, calculating a luminous intensity change value based on the luminous intensity corresponding to the target brightness value of the ambient light brightness and the luminous intensity corresponding to the current brightness value of the ambient light brightness, and using the luminous intensity change value as the visual sensitivity change value.
[0061] It should be noted that the luminous intensity refers to the attractiveness of brightness to a natural person's visual senses. The stronger the luminous intensity, the stronger the attractiveness of brightness to a natural person's visual senses.
[0062] In a nighttime driving environment, since people are more visually sensitive to changes in the luminous intensity of brightness values than to changes in the sign intensity of color values, the brightness of the ambient light can be adjusted first when adjusting the luminous parameters of the ambient light.
[0063] As an example, the difference between the luminous intensity corresponding to the target brightness value of the ambient light brightness and the luminous intensity corresponding to the current brightness value of the ambient light brightness is calculated to obtain a luminous intensity change value, and the luminous intensity change value is used as the visual sensitivity change value; it is detected whether the luminous intensity change value is greater than a preset luminous intensity change threshold; if it is detected that the luminous intensity change value is greater than the preset luminous intensity change threshold, the brightness value of the ambient light brightness of the ambient light is adjusted to the target brightness value of the ambient light brightness; if it is detected that the luminous intensity change value is greater than the preset luminous intensity change threshold, the step of adjusting the parameter value of the luminous parameter of the ambient light to the target parameter value is executed.
[0064] Example 2
[0065] Further, refer to Figure 3 In another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above description and will not be described in detail. On this basis, if it is detected that the target parameter value of the luminous parameter does not match the current parameter value, the step of adjusting the parameter value of the luminous parameter of the atmosphere light to the target parameter value includes:
[0066] Step B10, determining a target ultraviolet wavelength band corresponding to the ultraviolet intensity in the vehicle, in each preset ultraviolet wavelength band;
[0067] It should be noted that the ultraviolet wavelength range is 100nm to 380nm, and the target ultraviolet band refers to the preset ultraviolet band in which the ultraviolet wavelength corresponds to the ultraviolet intensity in the vehicle. The preset ultraviolet band may include the UVD (Ultra-Violet D: vacuum ultraviolet) band, the UVC (Ultra-Violet C: short-wave ultraviolet) band, the UVB (Ultra-Violet B: medium-wave erythema effect ultraviolet) band, and the UVA (Ultra-Violet A: long-wave melasma effect ultraviolet) band. The ultraviolet wavelength range of the UVD band is 100nm to 200nm, the ultraviolet wavelength range of the UVC band is 200nm to 280nm, the ultraviolet wavelength range of the UVB band is 280nm to 315nm, and the ultraviolet wavelength range of the UVA band is 315nm to 380nm. Each ultraviolet band corresponds to a luminous parameter of the ambient light. The longer the ultraviolet wavelength of the ultraviolet band, the stronger the corresponding identification intensity of the ambient light color and the light intensity of the ambient light brightness.
[0068] As an example, ultraviolet rays in the UVA band have strong penetrating power and can directly reach the dermis of the skin, destroy elastic fibers and collagen fibers, and cause natural human skin to tan. Therefore, when the ultraviolet intensity in the car reaches this band, it is necessary to remind the driver to take corresponding sun protection measures. In order to improve the reminder effect of the ambient light, it can be set that when the ultraviolet intensity in the car reaches this band, the lighting mode of the ambient light will change to a flashing mode. The specific steps are as follows: obtain the ultraviolet wavelength corresponding to the ultraviolet intensity in the car; based on the ultraviolet wavelength, search for the target ultraviolet band in which the ultraviolet wavelength is located in the preset ultraviolet band; determine whether the target ultraviolet band is a long-wave dark spot effect ultraviolet band. If the target ultraviolet band is a long-wave dark spot effect ultraviolet band, adjust the lighting mode of the ambient light to a flashing mode; if the target ultraviolet band is not a long-wave dark spot effect ultraviolet band, adjust the parameter value of the lighting parameter of the ambient light according to the target parameter value of the lighting parameter corresponding to the target ultraviolet band and the current parameter value of the lighting parameter of the ambient light.
[0069] Step B20 , detecting whether the target parameter value of the luminescence parameter corresponding to the target ultraviolet band matches the current parameter value.
[0070] As an example, steps B10 to B40 include: obtaining the ultraviolet wavelength corresponding to the ultraviolet intensity in the vehicle; based on the ultraviolet wavelength, searching for the target ultraviolet band in which the ultraviolet wavelength is located in the preset ultraviolet band; obtaining the target parameter value of the luminous parameter corresponding to the target ultraviolet band; detecting whether the target parameter value matches the current parameter value; if it is detected that the target parameter value matches the current parameter value, maintaining the current luminous parameter value of the luminous parameter of the ambient light; if it is detected that the target parameter value does not match the current parameter value, adjusting the parameter value of the luminous parameter of the ambient light to the target parameter value. In this example, each ultraviolet band corresponds to a parameter value of a luminous parameter. By determining the ultraviolet band corresponding to the ultraviolet intensity in the car, the target parameter value of the luminous parameter corresponding to the ultraviolet rays in the car can be determined. Furthermore, it is detected whether the target parameter value of the luminous parameter matches the current parameter value. If the two match, there is no need to adjust the parameter value of the luminous parameter of the atmosphere lamp. When the two do not match, the parameter value of the luminous parameter of the atmosphere lamp is adjusted to the parameter value of the luminous parameter corresponding to the current ultraviolet band, thereby achieving the technical effect that the car atmosphere lamp can be actively adjusted according to the influence of external elements (i.e., ultraviolet intensity).
[0071] The embodiment of the present application provides an ambient light control method, namely, determining the target ultraviolet band in which the ultraviolet wavelength corresponding to the ultraviolet intensity in the vehicle is located in each preset ultraviolet band; and detecting whether the target parameter value of the luminous parameter corresponding to the target ultraviolet band matches the current parameter value. The embodiment of the present application starts from each corresponding luminous parameter, and determines the target parameter value of the luminous parameter to which the ambient light needs to be adjusted by determining the target ultraviolet band corresponding to the ultraviolet intensity in the vehicle in the preset ultraviolet band. When the current parameter value of the luminous parameter of the ambient light is the target parameter value, there is no need to adjust the luminous parameter of the ambient light. When the current parameter value of the luminous parameter of the ambient light is the target parameter value, it is necessary to adjust the parameter value of the luminous parameter of the ambient light to the parameter value of the luminous parameter corresponding to the current ultraviolet band, thereby achieving the technical effect that the ambient light of the vehicle can be actively adjusted according to the influence of the elements outside the vehicle (i.e., ultraviolet intensity).
[0072] Example 3
[0073] Further, refer to Figure 4 In another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be described in detail. On this basis, the atmosphere light control method further includes:
[0074] Step A10: When the lighting mode of the ambient light is the continuous lighting mode, determining whether the intensity of the visible light outside the target vehicle is greater than a preset light intensity limit value;
[0075] Step A20: If yes, adjust the lighting mode of the ambient light to a flashing mode;
[0076] It should be noted that the preset light intensity limit value refers to the minimum light intensity that will not harm or irritate the driver's eyes. The lighting mode may include a flashing mode and a continuous lighting mode. The lighting frequency of the flashing mode is lower than the lighting frequency of the continuous lighting mode.
[0077] As an example, steps A10 to A20 include: when the lighting mode of the ambient light is a continuous lighting mode, determining whether the intensity of the visible light outside the target vehicle is greater than a preset light intensity limit value; if the intensity of the visible light outside the target vehicle is greater than the preset light intensity limit value, adjusting the lighting mode of the ambient light to a flashing mode; if the intensity of the visible light outside the target vehicle is not greater than the preset light intensity limit value; returning to execute step A10: determining whether the intensity of the visible light outside the target vehicle is greater than the preset light intensity limit value. This example adjusts the lighting mode of the ambient light by determining whether the intensity of the visible light outside the vehicle has reached a minimum light intensity that will harm or irritate the driver's eyes. When the intensity of the visible light outside the vehicle has reached the minimum light intensity that will harm or irritate the driver's eyes, the lighting mode of the ambient light is adjusted to a flashing mode, thereby promptly reminding the driver of the current driving safety problem and reminding the user to take corresponding protective measures, such as wearing sunglasses, thereby improving driving safety.
[0078] As another example, when the lighting mode of the ambient light is a flashing mode, if the intensity of the visible light outside the target vehicle is greater than the preset light intensity limit value, the lighting mode of the ambient light is maintained in the flashing mode; if the intensity of the visible light outside the target vehicle is not greater than the preset light intensity limit value; the lighting mode of the ambient light is adjusted to a continuous lighting mode.
[0079] An embodiment of the present application provides an ambient light control method, that is, when the ambient light's lighting mode is a continuous lighting mode, determining whether the intensity of visible light outside the target vehicle is greater than a preset light intensity limit; if so, adjusting the ambient light's lighting mode to a flashing mode. The embodiment of the present application adjusts the ambient light's lighting mode by determining whether the intensity of visible light outside the vehicle has reached a minimum intensity that would harm or irritate the driver's eyes. When the intensity of visible light outside the vehicle has reached the minimum intensity that would harm or irritate the driver's eyes, the ambient light's lighting mode is adjusted to a flashing mode, thereby promptly alerting the driver to the current driving safety issue and reminding the user to take appropriate protective measures, thereby resolving the problem that the driver's eyes are easily damaged by strong light, which affects driving safety.
[0080] As an example, after the step of adjusting the lighting mode of the atmosphere lamp to a flashing mode, the atmosphere lamp control method further includes:
[0081] Step A21, determining whether the flashing duration of the flashing mode is greater than a preset flashing time limit;
[0082] Step A22: If yes, adjust the lighting mode of the ambient light to a continuous lighting mode;
[0083] Step A23: If not, keep the lighting mode of the atmosphere light in the flashing mode.
[0084] It should be noted that the preset flashing time limit refers to the maximum flashing duration of the ambient light maintaining the flashing mode.
[0085] As an example, steps A21 to A23 include: determining whether the flashing duration of the flashing mode is greater than a preset flashing time limit; if the flashing duration of the flashing mode is greater than the preset flashing time limit, adjusting the lighting mode of the ambient light to a continuous lighting mode; if the flashing duration of the flashing mode is not greater than the preset flashing time limit, maintaining the lighting mode of the ambient light in the flashing mode. In this example, if the duration of the ambient light in the flashing mode reaches the maximum flashing duration, the ambient light is controlled to exit the flashing mode and adjust back to the continuous lighting mode to prevent prolonged flashing of the ambient light from damaging the driver's eyes.
[0086] Example 4
[0087] The embodiment of the present application also provides an atmosphere light control device, which is applied to a target vehicle. The interior of the target vehicle is provided with an atmosphere light. Figure 5 , the atmosphere light control device includes:
[0088] A first acquisition module 10 is used to obtain the current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameters of the ambient light;
[0089] A second acquisition module 20 is used to obtain a target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle;
[0090] The adjustment module 30 is configured to adjust the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value if it is detected that the target parameter value of the luminous parameter does not match the current parameter value.
[0091] Optionally, there are multiple luminous parameters, and the atmosphere light control device further includes:
[0092] Determining the driving environment of the target vehicle according to the intensity of visible light outside the target vehicle;
[0093] calculating a visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of a target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter, wherein the target luminous parameter is a luminous parameter preset corresponding to the driving environment among the plurality of luminous parameters;
[0094] Detecting whether the visual sensitivity change value is greater than a preset threshold;
[0095] If so, adjusting the parameter value of the target luminous parameter of the atmosphere lamp to the target parameter value of the target luminous parameter;
[0096] If not, the step of adjusting the parameter value of the luminous parameter of the atmosphere light to the target parameter value is performed.
[0097] Optionally, when the driving environment is a daytime driving environment and the target luminous parameter corresponding to the daytime driving environment is the color of the ambient light, the ambient light control device further includes:
[0098] According to the identification intensity corresponding to the target color value of the ambient light color and the identification intensity corresponding to the current color value of the ambient light color, an identification intensity change value is calculated and used as the visual sensitivity change value.
[0099] Optionally, when the driving environment is a nighttime driving environment and the target luminous parameter corresponding to the nighttime driving environment is the brightness of the ambient light, the ambient light control device further includes:
[0100] A luminous intensity change value is calculated based on the luminous intensity corresponding to the target brightness value of the ambient light brightness and the luminous intensity corresponding to the current brightness value of the ambient light brightness, and the luminous intensity change value is used as the visual sensitivity change value.
[0101] Optionally, the atmosphere light control device further includes:
[0102] Determine a target ultraviolet wavelength band in which the ultraviolet wavelength corresponding to the ultraviolet intensity in the vehicle is located in each preset ultraviolet wavelength band;
[0103] It is detected whether the target parameter value of the luminescence parameter corresponding to the target ultraviolet band matches the current parameter value.
[0104] Optionally, the atmosphere light control device further includes:
[0105] When the lighting mode of the ambient light is a continuous lighting mode, determining whether the intensity of the visible light outside the target vehicle is greater than a preset light intensity limit value;
[0106] If yes, adjusting the lighting mode of the atmosphere light to a flashing mode;
[0107] Optionally, the atmosphere light control device further includes:
[0108] Determining whether the flashing duration of the flashing mode is greater than a preset flashing time limit;
[0109] If yes, adjusting the lighting mode of the atmosphere light to a continuous lighting mode;
[0110] If not, the lighting mode of the atmosphere light is kept in the flashing mode.
[0111] The ambient light control device provided in this application utilizes the ambient light control method described in the aforementioned embodiment to address the technical issue of excessive ultraviolet light affecting driving safety. Compared to the prior art, the beneficial effects of the ambient light control device provided in this embodiment are the same as those of the ambient light control method described in the aforementioned embodiment. Other technical features of the ambient light control device are the same as those disclosed in the aforementioned embodiment and are not further elaborated here.
[0112] Example 5
[0113] An embodiment of the present invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the atmosphere light control method in the above-mentioned embodiment one.
[0114] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0115] like Figure 6As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for the operation of the electronic device are also stored in the RAM 1004. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus.
[0116] Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, hard disk, etc.; and communication devices 1009. The communication devices can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.
[0117] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 1009, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0118] The electronic device provided by the present invention utilizes the ambient light control method described in the above-mentioned embodiment, resolving the prior art technical issue of excessive ultraviolet light affecting driving safety. Compared to the prior art, the electronic device provided by the present invention achieves the same beneficial effects as the ambient light control method described in the above-mentioned embodiment. Other technical features of the electronic device are the same as those disclosed in the above-mentioned embodiment and are not further elaborated here.
[0119] It should be understood that various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in an appropriate manner.
[0120] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
[0121] Example 6
[0122] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the method for controlling the ambient light in the first embodiment.
[0123] The computer-readable storage medium provided in the embodiments of the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0124] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0125] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device: obtains the current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameter of the ambient light; obtains the target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity inside the vehicle; and if it is detected that the target parameter value of the luminous parameter does not match the current parameter value, adjusts the parameter value of the luminous parameter of the ambient light to the target parameter value.
[0126] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0127] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0128] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0129] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the aforementioned ambient light control method, thereby resolving the technical issue of excessive ultraviolet light affecting driving safety. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment of the application are similar to those of the ambient light control method provided in the aforementioned embodiment, and are not further elaborated here.
[0130] Example 7
[0131] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned atmosphere light control method when executed by a processor.
[0132] The computer program product provided in this application solves the technical problem of excessive ultraviolet rays affecting driving safety. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as those of the ambient light control method provided in the above embodiments, and will not be elaborated here.
[0133] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A method for controlling an atmosphere light, characterized in that: Applied to a target vehicle, wherein an ambient light is provided inside the target vehicle, the ambient light control method includes: Obtaining current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameters of the ambient light; Obtaining a target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle; If it is detected that the target parameter value of the luminous parameter does not match the current parameter value, adjusting the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value; Wherein, there are multiple luminous parameters. Before the step of adjusting the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value, the atmosphere lamp control method further includes: Determining the driving environment of the target vehicle according to the intensity of visible light outside the target vehicle; calculating a visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of a target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter, wherein the target luminous parameter is a luminous parameter preset corresponding to the driving environment among the plurality of luminous parameters; Detecting whether the visual sensitivity change value is greater than a preset threshold; If so, adjusting the parameter value of the target luminous parameter of the atmosphere lamp to the target parameter value of the target luminous parameter; If not, the step of adjusting the parameter value of the luminous parameter of the atmosphere light to the target parameter value is performed.
2. The atmosphere light control method according to claim 1, wherein: When the driving environment is a daytime driving environment and the target luminous parameter corresponding to the daytime driving environment is the color of the ambient light, the step of calculating the visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of the target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter includes: According to the identification intensity corresponding to the target color value of the ambient light color and the identification intensity corresponding to the current color value of the ambient light color, an identification intensity change value is calculated and used as the visual sensitivity change value.
3. The atmosphere light control method according to claim 1, wherein: When the driving environment is a nighttime driving environment and the target luminous parameter corresponding to the nighttime driving environment is the brightness of the ambient light, the step of calculating the visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of the target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter includes: A luminous intensity change value is calculated based on the luminous intensity corresponding to the target brightness value of the ambient light brightness and the luminous intensity corresponding to the current brightness value of the ambient light brightness, and the luminous intensity change value is used as the visual sensitivity change value.
4. The atmosphere light control method according to claim 1, wherein: Before the step of adjusting the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value if it is detected that the target parameter value of the luminous parameter does not match the current parameter value, the atmosphere lamp control method further includes: Determine a target ultraviolet wavelength band in which the ultraviolet wavelength corresponding to the ultraviolet intensity in the vehicle is located in each preset ultraviolet wavelength band; It is detected whether the target parameter value of the luminescence parameter corresponding to the target ultraviolet band matches the current parameter value.
5. The atmosphere light control method according to any one of claims 1 to 4, characterized in that: The atmosphere lamp control method further includes: When the lighting mode of the ambient light is a continuous lighting mode, determining whether the intensity of the visible light outside the target vehicle is greater than a preset light intensity limit value; If so, the lighting mode of the atmosphere light is adjusted to a flashing mode.
6. The atmosphere light control method according to claim 5, wherein: After the step of adjusting the lighting mode of the atmosphere lamp to a flashing mode, the atmosphere lamp control method further includes: Determining whether the flashing duration of the flashing mode is greater than a preset flashing time limit; If yes, adjusting the lighting mode of the atmosphere light to a continuous lighting mode; If not, the lighting mode of the atmosphere light is kept in the flashing mode.
7. An ambient light control device, characterized in that: Applied to a target vehicle, wherein an ambient light is provided inside the target vehicle, and the ambient light control device comprises: A first acquisition module is used to obtain the current parameter values of the ultraviolet intensity inside the target vehicle and the luminous parameters of the ambient light; A second acquisition module is used to obtain a target parameter value of the luminous parameter preset corresponding to the ultraviolet intensity in the vehicle; an adjusting module, configured to adjust the parameter value of the luminous parameter of the atmosphere lamp to the target parameter value if it is detected that the target parameter value of the luminous parameter does not match the current parameter value; Wherein, there are multiple luminous parameters, and the atmosphere light control device further includes: Determining the driving environment of the target vehicle according to the intensity of visible light outside the target vehicle; calculating a visual sensitivity change value based on the visual sensitivity corresponding to the target parameter value of a target luminous parameter and the visual sensitivity corresponding to the current parameter value of the target luminous parameter, wherein the target luminous parameter is a luminous parameter preset corresponding to the driving environment among the plurality of luminous parameters; Detecting whether the visual sensitivity change value is greater than a preset threshold; If so, adjusting the parameter value of the target luminous parameter of the atmosphere lamp to the target parameter value of the target luminous parameter; If not, the step of adjusting the parameter value of the luminous parameter of the atmosphere light to the target parameter value is performed.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the ambient light control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for implementing the atmosphere light control method, and the program for implementing the atmosphere light control method is executed by a processor to implement the steps of the atmosphere light control method according to any one of claims 1 to 6.