Vehicle interior brightness adjustment method and device, electronic equipment and storage medium
By collecting ambient light levels outside the vehicle and inside the vehicle, calculating brightness adjustment coefficients, and adjusting the brightness of the vehicle's interior light sources, the problem of inaccurate interior brightness adjustment is solved, improving the driving experience and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-02
- Publication Date
- 2026-04-10
AI Technical Summary
The accuracy of interior brightness adjustment in existing technologies is relatively low, which affects driving experience and safety.
By collecting brightness values from the external environment and the interior of the vehicle, a brightness adjustment coefficient is calculated, and the brightness value of the interior light source is adjusted according to this coefficient to achieve precise brightness correction.
It improves the accuracy of the brightness values of the vehicle's interior light sources, optimizing the driving experience and safety.
Smart Images

Figure CN116729249B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of brightness adjustment, in particular to the field of modern sensing, information fusion and intelligent automobile. BACKGROUND
[0002] With the development of technology, people have higher and higher requirements for the driving experience of vehicles, wherein the driving experience includes the embodiment of various performances of the vehicle during driving.
[0003] Among them, people have certain needs for the brightness adjustment of the vehicle interior, and as people's requirements for driving experience increase, the effect of the brightness adjustment of the vehicle interior is also increasingly required.
[0004] In the related art, the brightness adjustment of the vehicle interior is less accurate. SUMMARY
[0005] The present application aims to at least partially solve one of the technical problems in the related art.
[0006] To this end, the first aspect of the present application proposes a vehicle interior brightness adjustment method.
[0007] The second aspect of the present application further proposes a vehicle interior brightness adjustment device.
[0008] The third aspect of the present application proposes an electronic device.
[0009] The fourth aspect of the present application proposes a computer-readable storage medium.
[0010] The fifth aspect of the present application proposes a vehicle.
[0011] The first aspect of the present application proposes a vehicle interior brightness adjustment method, comprising: collecting a first brightness value of an external environment and a second brightness value of a vehicle interior; obtaining a brightness adjustment coefficient of the vehicle interior according to the first brightness value and the second brightness value; adjusting the second brightness value according to the brightness adjustment coefficient to determine a target brightness value of a vehicle interior light source; and adjusting the vehicle interior light source from a current brightness value to the target brightness value.
[0012] In addition, the vehicle interior brightness adjustment method proposed by the first aspect of the present application can have the following additional technical features:
[0013] According to an embodiment of the present application, the brightness adjustment coefficient of the vehicle interior is obtained according to the first brightness value and the second brightness value, comprising: obtaining the first brightness value of the external environment and the second brightness value of the vehicle interior corresponding to each time stamp in different time stamps; obtaining candidate adjustment coefficients of the vehicle interior at each time stamp according to the first brightness value and the second brightness value; and determining the brightness adjustment coefficient of the vehicle interior according to all candidate adjustment coefficients.
[0014] According to one embodiment of the present application, the brightness adjustment coefficient of the vehicle interior is determined according to all candidate adjustment coefficients, comprising: obtaining a reference adjustment coefficient of the vehicle interior; filtering abnormal adjustment coefficients in the candidate adjustment coefficients according to the reference adjustment coefficient; and determining the brightness adjustment coefficient of the vehicle interior according to the remaining candidate adjustment coefficients after filtering.
[0015] According to one embodiment of the present application, the brightness adjustment coefficient of the vehicle interior is determined according to the remaining candidate adjustment coefficients after filtering, comprising: determining a reference brightness adjustment interval of the vehicle interior according to the reference adjustment coefficient; determining the candidate adjustment coefficients not belonging to the reference brightness adjustment interval as abnormal adjustment coefficients; obtaining an average value of the remaining candidate adjustment coefficients after filtering out the abnormal adjustment coefficients, and taking the average value as the brightness adjustment coefficient of the vehicle interior.
[0016] According to one embodiment of the present application, the reference adjustment coefficient of the vehicle interior is obtained, comprising: obtaining a test environment brightness value of an external environment corresponding to each timestamp and a test collection brightness value of the vehicle interior in different timestamps; obtaining a test adjustment coefficient of the vehicle interior under each timestamp according to the test environment brightness value and the test collection brightness value; and taking an average value of all test adjustment coefficients as the reference adjustment coefficient of the vehicle interior.
[0017] According to one embodiment of the present application, the second brightness value is adjusted according to the brightness adjustment coefficient to determine the target brightness value of the vehicle interior light source, comprising: determining the target brightness value of the vehicle interior light source according to the product of the second brightness value and the brightness adjustment coefficient.
[0018] The second aspect of the present application further proposes a vehicle interior brightness adjustment device, comprising: a collection module, configured to collect a first brightness value of an external environment and a second brightness value of a vehicle interior; an obtaining module, configured to obtain a brightness adjustment coefficient of the vehicle interior according to the first brightness value and the second brightness value; a determining module, configured to adjust the second brightness value according to the brightness adjustment coefficient to determine a target brightness value of a vehicle interior light source; and an adjusting module, configured to adjust the vehicle interior light source from a current brightness value to the target brightness value.
[0019] The third aspect of the present application proposes an electronic device, comprising a memory and a processor; wherein the processor runs a program corresponding to an executable program code stored in the memory by reading the executable program code, so as to implement the vehicle interior brightness adjustment method proposed in the first aspect.
[0020] The fourth aspect of the present application proposes a computer readable storage medium, which stores a computer program, characterized in that the program is executed by a processor to implement the vehicle interior brightness adjustment method proposed in the first aspect.
[0021] The fifth aspect of the present application provides a vehicle comprising the vehicle interior brightness adjusting device of the second aspect.
[0022] The vehicle interior brightness adjusting method and device of the present application collect a first brightness value of an external environment and a second brightness value of a vehicle interior, and obtain a brightness adjustment coefficient of the vehicle interior according to the first brightness value and the second brightness value. The second brightness value is adjusted according to the brightness adjustment coefficient of the vehicle interior, so as to determine a target brightness value of a light source in the vehicle interior. Further, the brightness value of the light source in the vehicle interior is adjusted according to the target brightness value. In the present application, the brightness adjustment coefficient corresponding to the brightness of the vehicle interior is determined by the brightness value of the external environment and the brightness value of the vehicle interior, the brightness correction of the vehicle interior is realized, and then the accurate adjustment of the brightness value of the vehicle interior is realized, the accuracy of the target brightness value of the light source in the vehicle interior is improved, the safety of vehicle driving is improved through the autonomous adjustment of the brightness of the vehicle interior, and the driving experience and performance of the vehicle are optimized.
[0023] It should be understood that the content described in the present application is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0024] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description, taken in conjunction with the following drawings, in which:
[0025] Figure 1 A flowchart of a vehicle interior brightness adjusting method according to an embodiment of the present application;
[0026] Figure 2 A flowchart of a vehicle interior brightness adjusting method according to another embodiment of the present application;
[0027] Figure 3 A flowchart of a vehicle interior brightness adjusting method according to another embodiment of the present application;
[0028] Figure 4 A structural diagram of a vehicle interior brightness adjusting device according to an embodiment of the present application;
[0029] Figure 5 A structural diagram of a vehicle according to an embodiment of the present application;
[0030] Figure 6 A structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] Embodiments of the present application are described below in detail, examples of which are shown in the accompanying drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are intended to explain the present application, and cannot be understood as a limitation of the present application.
[0032] The vehicle interior brightness adjustment method, device, electronic equipment and storage medium of the embodiments of the present application are described below with reference to the accompanying drawings.
[0033] Figure 1 The flowchart of the vehicle interior brightness adjustment method of an embodiment of the present application is shown in FIG. 1, which comprises the following steps. Figure 1
[0034] S101, collecting a first brightness value of an external environment and a second brightness value of a vehicle interior.
[0035] In implementation, there is a brightness adjustment demand in the vehicle interior. For example, in a scenario where the brightness of the vehicle interior is higher than that of the external environment, the reflection of the objects in the vehicle interior on the windshield of the vehicle will occur, thereby affecting the driving of the vehicle to a certain extent.
[0036] For another example, in a scenario where the brightness of the external environment is higher than that of the vehicle interior, when the occupant of the vehicle has a brightness demand, there may be a situation that the occupant cannot see clearly.
[0037] Further, the brightness of the vehicle interior can be collected, and the brightness adjustment of the vehicle interior can be realized through the light source control system of the vehicle.
[0038] Among them, the brightness value of the external environment can be determined as the first brightness value, and the brightness value of the vehicle interior can be determined as the second brightness value.
[0039] In the embodiments of the present application, the exterior and interior of the vehicle can be configured with a brightness value collection device, and the first brightness value of the external environment can be obtained through the brightness value collection device, and the second brightness value of the vehicle interior can be obtained.
[0040] Among them, the corresponding light sensor can be configured outside the vehicle to collect the first brightness value, and the first brightness value of the external environment can also be collected through the rain sensor configured outside the vehicle.
[0041] Correspondingly, the corresponding light sensor can be configured at a set position in the vehicle interior to collect the second brightness value of the vehicle interior.
[0042] S102, obtaining a brightness adjustment coefficient of the vehicle interior according to the first brightness value and the second brightness value.
[0043] In the implementation, the second brightness value of the vehicle interior obtained by the collection device may have errors with the actual brightness value of the vehicle interior, and the errors may be related to the setting environment of the collection device to a certain extent.
[0044] For example, the collection device for setting the brightness of the vehicle interior is arranged behind the central control screen of the vehicle, and the screen material of the central control screen has a set light transmittance. Therefore, the second brightness value of the vehicle interior obtained by the collection device for setting the brightness of the vehicle interior has a certain degree of deviation from the actual brightness value of the vehicle interior environment.
[0045] Further, in the implementation, the brightness adjustment of the vehicle interior can be realized by relying on the light source of the vehicle interior. Therefore, the target brightness value of the light source of the vehicle interior can be determined by combining the first brightness value of the external environment of the vehicle with the second brightness value of the vehicle interior.
[0046] In the embodiment of the application, the second brightness value of the vehicle interior collected can be adjusted by the brightness adjustment coefficient of the vehicle interior, so as to obtain an accurate target brightness value.
[0047] In the implementation, the light environment of the vehicle is related to the time range to a certain extent. The light conditions of the environment in which the vehicle is located are different at different times. The brightness adjustment coefficient of the vehicle interior can change based on the change of the light environment.
[0048] For example, the driving environment of the vehicle is set as day and night, and the brightness value of the day environment is higher than that of the night environment. Correspondingly, the brightness adjustment coefficient of the vehicle interior in the day environment is different from that of the vehicle interior in the night environment.
[0049] Further, the brightness adjustment coefficient of the vehicle interior can be determined by the first brightness value of the external environment of the vehicle and the second brightness value of the vehicle interior.
[0050] Optionally, the first brightness value and the second brightness value can be calculated by setting an algorithm, and the brightness adjustment coefficient of the vehicle interior can be determined based on the calculation result.
[0051] Optionally, the difference between the first brightness value and the second brightness value can be obtained, and the difference is further processed to determine the brightness adjustment coefficient of the vehicle interior.
[0052] In S103, the second brightness value is adjusted according to the brightness adjustment coefficient to determine the target brightness value of the light source of the vehicle interior.
[0053] In the embodiment of the application, the second brightness value of the vehicle interior collected can be adjusted by the brightness adjustment coefficient of the vehicle interior, so as to obtain an accurate target brightness value of the vehicle interior environment.
[0054] Optionally, the luminance adjustment coefficient and the second luminance value can be calculated based on a set algorithm, and an adjusted luminance value after the second luminance value is corrected by the luminance adjustment coefficient is obtained according to a calculation result of the set algorithm.
[0055] Further, a target luminance value of the vehicle interior light source is determined according to the obtained adjusted luminance value.
[0056] Optionally, the second luminance value can be adjusted based on a set model, the luminance adjustment coefficient and the second luminance value are input into the set adjustment model, and a target luminance value of the vehicle interior light source is determined according to an output result of the model.
[0057] S104, adjusting the vehicle interior light source from the current luminance value to the target luminance value.
[0058] In the implementation, there can be at least one light source in the vehicle interior, and the light source in the vehicle interior can be adjusted in luminance based on the target luminance value, so that the luminance value of the vehicle interior environment reaches the target luminance value.
[0059] Optionally, the luminance adjustment of the vehicle interior light source can be realized through the total control system of the vehicle.
[0060] In some scenarios, there is only one light source in the vehicle interior, and then the luminance value of the vehicle interior light source can be adjusted from the current luminance value to the target luminance value, so as to realize the luminance adjustment of the vehicle interior.
[0061] For example, it is assumed that there is only one ceiling light source in the vehicle interior, and then the luminance of the ceiling light source can be adjusted according to the obtained target luminance value, and the luminance value of the ceiling light source is adjusted from the current luminance value to the target luminance value.
[0062] In other scenarios, there can be multiple light sources in the vehicle interior, and then the total control system of the vehicle can be used to determine the luminance value that each light source in the vehicle interior needs to be adjusted, and the combination of the luminance values provided by the multiple light sources can make the luminance value of the vehicle interior reach the target luminance value.
[0063] For example, it is assumed that there are ceiling light sources, reading light sources and atmosphere light sources in the vehicle interior, and then the target ceiling light luminance value of the ceiling light source, the target reading light luminance value of the reading light source and the target atmosphere light luminance value of the atmosphere light source are calculated according to the obtained target luminance value.
[0064] Further, the ceiling light source, the reading light source and the atmosphere light source are adjusted to the corresponding target luminance values based on the obtained target ceiling light luminance value, target reading light luminance value and target atmosphere light luminance value, so that the luminance value of the vehicle interior can reach the target luminance value under the joint action of the three light sources.
[0065] The vehicle interior brightness adjustment method provided in the present application collects a first brightness value of an external environment and a second brightness value of a vehicle interior, and obtains a brightness adjustment coefficient of the vehicle interior according to the first brightness value and the second brightness value. The second brightness value is adjusted according to the brightness adjustment coefficient of the vehicle interior, so as to determine a target brightness value of a light source in the vehicle interior. Further, the brightness value of the light source in the vehicle interior is adjusted according to the target brightness value. In the present application, the brightness adjustment coefficient corresponding to the brightness of the vehicle interior is determined through the brightness value of the external environment and the brightness value of the vehicle interior, the brightness correction of the vehicle interior is realized, and then the accurate adjustment of the brightness value of the vehicle interior is realized, the accuracy of the target brightness value of the light source in the vehicle interior is improved, the safety of vehicle driving is improved through the autonomous adjustment of the brightness of the vehicle interior, and the driving experience and performance of the vehicle are optimized.
[0066] In the above embodiment, the determination of the brightness adjustment coefficient can be combined with Figure 2 It is further understood that Figure 2 The flowchart of the vehicle interior brightness adjustment method of another embodiment of the present application is shown in Figure 2 The method comprises the following steps:
[0067] S201, obtaining a first brightness value of an external environment and a second brightness value of a vehicle interior corresponding to each time stamp in different time stamps.
[0068] In the implementation, the light environment in which the vehicle is located is related to the time to a certain extent, and the light environment in which the vehicle is located is different in different time ranges. Therefore, the brightness adjustment coefficient corresponding to the vehicle in different time ranges can be determined through the first brightness value of the external environment and the second brightness value of the vehicle interior in different time stamps.
[0069] For example, it is assumed that the driving environment of the vehicle is all daytime, but the weather is sunny and cloudy, wherein the brightness value of the sunny environment is higher than that of the cloudy environment, and correspondingly, the brightness adjustment coefficient of the vehicle interior of the vehicle in the sunny environment is different from that of the vehicle interior of the vehicle in the cloudy environment.
[0070] Further, the driving personnel of the vehicle have set driving habits and vehicle use habits, and therefore, the determination of the brightness adjustment coefficient of the vehicle interior can be performed respectively for different light environments in which the vehicle may enter during driving based on the driving habits of the driver and the vehicle use habits.
[0071] For example, it is assumed that the vehicle is provided with a film treatment on the window during use, and therefore, in the same external light environment, the brightness adjustment coefficient of the vehicle interior in the film treatment scene is different from that of the vehicle interior of the vehicle without the film treatment on the window.
[0072] Therefore, the brightness adjustment coefficient of the vehicle interior in the light environment corresponding to different time ranges can be obtained by acquiring the first brightness value of the vehicle exterior environment and the second brightness value of the vehicle interior at different time stamps, and determining the brightness adjustment coefficient of the vehicle in different time ranges.
[0073] In the embodiments of the present application, the first brightness value of the vehicle exterior environment and the second brightness value of the vehicle interior can be collected at a set time interval to obtain the corresponding first brightness value and second brightness value at different time stamps.
[0074] For example, if the first brightness value and the second brightness value are collected every 5 minutes in the time range of 13:00 to 14:00, 12 groups of first brightness values and second brightness values corresponding to 12 time stamps can be obtained.
[0075] S202, acquiring the candidate adjustment coefficient of the vehicle interior at each time stamp according to the first brightness value and the second brightness value.
[0076] In the embodiments of the present application, the first brightness value of the vehicle exterior environment and the second brightness value of the vehicle interior corresponding to each time stamp can be calculated based on a set algorithm, and the candidate adjustment coefficient corresponding to the vehicle at different time stamps can be determined according to the calculation result.
[0077] In some implementations, the ratio of the first brightness value and the second brightness value at the same time stamp can be used as the adjustment coefficient for adjusting the interior brightness of the vehicle at the time stamp, and it can be determined as the candidate adjustment coefficient.
[0078] For example, based on the above example, 12 groups of first brightness values and second brightness values corresponding to 12 time stamps t1, t2, t3, …, t12 are obtained in the time range of 13:00 to 14:00, the ratios q1, q2, q3, …, q12 of the 12 groups of first brightness values and second brightness values can be calculated respectively, and the 12 ratios q1, q2, q3, …, q12 obtained can be determined as the candidate adjustment coefficient for adjusting the interior brightness of the vehicle in the time range of 13:00 to 14:00.
[0079] For example, if the first brightness value of the vehicle exterior environment obtained at the time stamp t1 is 600 lux, and the second brightness value of the vehicle interior is 12 lux, the ratio of the first brightness value 600 lux and the second brightness value 12 lux is 50, and the value of the candidate adjustment coefficient corresponding to the time stamp T is determined to be 50.
[0080] S203, determining the brightness adjustment coefficient of the vehicle interior according to all the candidate adjustment coefficients.
[0081] In some implementations, all candidate adjustment coefficients can be calculated based on a set algorithm, and the luminance adjustment coefficient of the vehicle interior can be determined according to the calculation result.
[0082] Optionally, the average of all candidate adjustment coefficients can be obtained, and the average is determined as the luminance adjustment coefficient of the vehicle interior.
[0083] For example, based on the above example, the values of the corresponding candidate adjustment coefficients are q1, q2, q3, …, q12 at the 12 time stamps t1, t2, t3, …, t12 in the time range of 13:00 to 14:00, the average Q of q1, q2, q3, …, q12 can be obtained, and the average Q is taken as the value of the luminance adjustment coefficient of the vehicle interior in the time range of 13:00 to 14:00.
[0084] In other implementations, candidate adjustment coefficients that meet the set standard can be determined as the luminance adjustment coefficient of the vehicle interior from all candidate adjustment coefficients based on the set standard.
[0085] S204, adjusting the second luminance value according to the luminance adjustment coefficient, and determining the target luminance value of the vehicle interior light source according to the adjusted luminance value.
[0086] In the embodiments of the present application, through the luminance adjustment coefficient in the vehicle, the adjustment and correction of the collected second luminance value in the vehicle interior can be realized, and then the accurate target luminance value required by the vehicle interior environment can be obtained.
[0087] Optionally, the luminance adjustment coefficient and the second luminance value can be calculated based on a set algorithm. The target luminance value of the vehicle interior light source can be determined according to the product of the second luminance value and the luminance adjustment coefficient.
[0088] For example, the luminance adjustment coefficient is set to A, and the second luminance value of the vehicle interior is value, then the target luminance value X = A × value. The vehicle interior luminance adjustment method proposed in the present application obtains the corresponding candidate adjustment coefficient of the vehicle interior at each time stamp according to the first luminance value and the second luminance value corresponding to each time stamp in different time stamps. Further, the luminance adjustment coefficient of the vehicle interior is determined according to all candidate adjustment coefficients, and the second luminance value is adjusted according to the luminance adjustment coefficient, and the target luminance value of the vehicle interior light source is determined according to the adjusted luminance value. In the present application, the accuracy of the luminance adjustment coefficient is improved through the first luminance value and the second luminance value, and then the accurate adjustment of the second luminance value is realized. Through the adjustment of the luminance adjustment coefficient of the vehicle interior in different time ranges, the intelligentization of the vehicle interior luminance adjustment is realized, the accuracy of the vehicle interior luminance adjustment is improved, and the effect of the vehicle interior luminance adjustment is optimized.
[0089] In the above embodiments, the determination of the brightness adjustment coefficient can be combined with Figure 3 It is further understood that Figure 3 The flowchart of the vehicle interior brightness adjustment method of another embodiment of the present application is shown in FIG. 6. As shown in FIG. 6, the method comprises the following steps. Figure 3
[0090] S301, obtaining a reference adjustment coefficient of the vehicle interior.
[0091] In an implementation, the vehicle has a set reference adjustment coefficient, wherein the reference adjustment coefficient can be understood as an initial vehicle interior brightness adjustment coefficient of the vehicle.
[0092] In an implementation, the reference adjustment coefficient of the vehicle interior can be determined from a factory setting information storage location of the vehicle.
[0093] In some implementations, the reference adjustment coefficient of the vehicle interior can be determined in a set test environment.
[0094] In an implementation, the test environment brightness value of the external environment and the test collection brightness value of the vehicle interior corresponding to each timestamp can be obtained, and the test adjustment coefficient of the vehicle interior at each timestamp can be obtained based on the test environment brightness value and the test collection brightness value.
[0095] In an implementation, the adjustable brightness light source can be controlled to simulate an actual light change environment in a set test environment, and the test adjustment coefficient corresponding to a set time range can be obtained.
[0096] In an implementation, the test environment brightness value of the external environment and the test collection brightness value of the vehicle interior at different timestamps within a set time range can be obtained respectively, and the test adjustment coefficient of the vehicle at different timestamps can be obtained based on a set algorithm.
[0097] Optionally, the ratio of the test environment brightness value of the external environment and the test collection brightness value of the vehicle interior at each same timestamp can be obtained, and the ratio is determined as the test adjustment coefficient of the vehicle interior at the corresponding timestamp.
[0098] Further, the average value of all the test adjustment coefficients is determined as the reference adjustment coefficient of the vehicle interior.
[0099] In an implementation, all the test adjustment coefficients can be further calculated, and the reference adjustment coefficient of the vehicle interior is determined based on the calculation result, wherein the average value of all the test adjustment coefficients can be determined as the reference adjustment coefficient.
[0100] S302, filtering abnormal adjustment coefficients in the candidate adjustment coefficients based on the reference adjustment coefficient.
[0101] In implementations, there can be extreme light environments in the driving process of the vehicle, such as backlight in strong light or frontlight in strong light. In the process of determining the brightness adjustment coefficient of the vehicle interior, in order to obtain an accurate brightness adjustment coefficient, the candidate adjustment coefficient collected in the extreme light environment in the time range can be deleted.
[0102] In the extreme light environment, the candidate adjustment coefficient corresponding to the extreme light environment can be determined as an abnormal adjustment coefficient.
[0103] Optionally, the screening and determination of the abnormal adjustment coefficient can be implemented by referring to the reference adjustment coefficient.
[0104] In the extreme light environment, the candidate adjustment coefficient corresponding to the extreme light environment can be determined as an abnormal adjustment coefficient.
[0105] In some implementations, a floating percentage of the reference adjustment coefficient can be set, wherein the floating percentage includes an upward percentage and a downward percentage. According to the set upward percentage and the reference adjustment coefficient, an upper limit value of the reference brightness adjustment interval can be determined, and according to the set downward percentage and the reference adjustment coefficient, a lower limit value of the reference brightness adjustment interval can be determined.
[0106] According to the upper limit value and the lower limit value, the reference brightness adjustment interval of the vehicle interior is determined.
[0107] For example, the value of the reference adjustment coefficient A is set to 17, the corresponding upward percentage is 10%, and the corresponding downward percentage is 15%. The upper limit value A1 of the reference brightness adjustment interval corresponding to the reference adjustment coefficient A is A1 = 17 + 17 x 10% = 18.7, and the lower limit value A2 of the reference brightness adjustment interval corresponding to the reference adjustment coefficient A is A2 = 17 - 17 x 15% = 14.15.
[0108] Further, the reference brightness adjustment interval corresponding to the reference adjustment coefficient A is [14.15, 18.7].
[0109] In other implementations, the reference adjustment coefficient can be calculated based on a set algorithm, and the reference brightness interval of the vehicle interior can be obtained based on the calculation result.
[0110] Further, the candidate adjustment coefficient that does not belong to the reference brightness adjustment interval is determined as an abnormal adjustment coefficient.
[0111] In the embodiments of the present application, the candidate adjustment coefficient can be compared with the reference brightness adjustment interval, and the abnormal adjustment coefficient can be determined according to the comparison result.
[0112] When the candidate adjustment coefficient does not belong to the data range covered by the reference brightness adjustment interval, it can be determined that the light environment corresponding to the candidate adjustment coefficient may belong to an extreme light environment, such as strong light back light or strong light front light, which can be determined as the corresponding abnormal adjustment coefficient.
[0113] For example, based on the above example, it is known that the reference brightness adjustment interval corresponding to the reference adjustment coefficient A is [14.15, 18.7], the value of the candidate adjustment coefficient B is set to 16.1, and the value of the candidate adjustment coefficient C is set to 19.4. The value of the candidate adjustment coefficient B and the value of the candidate adjustment coefficient C can be compared with the reference brightness adjustment interval [14.15, 18.7] corresponding to the reference adjustment coefficient A.
[0114] According to the comparison result, it can be determined that the value of the candidate adjustment coefficient C 19.4 does not belong to the corresponding reference brightness adjustment interval, and the candidate adjustment coefficient C can be determined as an abnormal adjustment coefficient.
[0115] In S303, the brightness adjustment coefficient of the vehicle interior is determined according to the remaining candidate adjustment coefficients after filtering.
[0116] In the embodiment of the application, the abnormal adjustment coefficient may have a certain degree of influence on the accuracy of the brightness adjustment coefficient, and therefore the abnormal adjustment coefficient can be filtered from the candidate adjustment coefficients, and the brightness adjustment coefficient of the vehicle interior is determined based on the remaining candidate adjustment coefficients after filtering.
[0117] Optionally, the abnormal adjustment coefficient can be determined first and then deleted from the candidate adjustment coefficients.
[0118] Optionally, the candidate adjustment coefficients can be filtered directly by the reference brightness adjustment interval to obtain the remaining candidate adjustment coefficients within the reference brightness adjustment interval.
[0119] Further, the average value of the remaining candidate adjustment coefficients after filtering out the abnormal adjustment coefficients is obtained, and the average value is taken as the brightness adjustment coefficient of the vehicle interior.
[0120] For example, in a set time range, N sets of first brightness values and second brightness values under time stamps are collected, N candidate adjustment coefficients are obtained, and M abnormal adjustment coefficients are determined according to the reference brightness adjustment interval. The M abnormal adjustment coefficients can be deleted from the N candidate adjustment coefficients, and then the average value of the remaining N-M candidate adjustment coefficients is calculated, and the average value is taken as the brightness adjustment coefficient of the vehicle interior.
[0121] The vehicle interior brightness adjustment method provided in the application determines an abnormal adjustment coefficient in the candidate adjustment coefficient according to a reference adjustment coefficient of the vehicle interior, and filters the candidate adjustment coefficient based on the abnormal adjustment coefficient. Further, the brightness adjustment coefficient of the vehicle interior is determined according to the remaining candidate adjustment coefficient after the filtering. In the application, the accuracy of the brightness adjustment coefficient is improved through the filtering of the abnormal adjustment coefficient, and thus the accuracy of the vehicle interior brightness adjustment is improved.
[0122] Corresponding to the vehicle interior brightness adjustment method provided in the above several embodiments, an embodiment of the application further provides a vehicle interior brightness adjustment device. Since the vehicle interior brightness adjustment device provided in the embodiment of the application corresponds to the vehicle interior brightness adjustment method provided in the above several embodiments, the implementation manners of the vehicle interior brightness adjustment method are also applicable to the vehicle interior brightness adjustment device provided in the embodiment of the application, which will not be described in detail in the following embodiments.
[0123] Figure 4 The structure schematic diagram of the vehicle interior brightness adjustment device of an embodiment of the application is shown in FIG. 4, which includes a collection module 41, an acquisition module 42, a determination module 43, and an adjustment module 44. Figure 4
[0124] The collection module 41 is configured to collect a first brightness value of an external environment and a second brightness value of a vehicle interior.
[0125] The acquisition module 42 is configured to acquire a brightness adjustment coefficient of the vehicle interior according to the first brightness value and the second brightness value.
[0126] The determination module 43 is configured to adjust the second brightness value according to the brightness adjustment coefficient to determine a target brightness value of a light source in the vehicle interior.
[0127] The adjustment module 44 is configured to adjust the light source in the vehicle interior from a current brightness value to the target brightness value.
[0128] In the embodiment of the application, the acquisition module 42 is further configured to acquire the first brightness value of the external environment and the second brightness value of the vehicle interior corresponding to each time stamp in different time stamps, acquire candidate adjustment coefficients of the vehicle interior at each time stamp according to the first brightness value and the second brightness value, and determine the brightness adjustment coefficient of the vehicle interior according to all the candidate adjustment coefficients.
[0129] In the embodiment of the application, the acquisition module 42 is further configured to acquire a reference adjustment coefficient of the vehicle interior, filter an abnormal adjustment coefficient in the candidate adjustment coefficient according to the reference adjustment coefficient, and determine the brightness adjustment coefficient of the vehicle interior according to the remaining candidate adjustment coefficient after the filtering.
[0130] In the embodiment of the present application, the acquisition module 42 is further configured to: determine a reference brightness adjustment interval in the vehicle interior according to the reference adjustment coefficient; determine the candidate adjustment coefficient that does not belong to the reference brightness adjustment interval as an abnormal adjustment coefficient; acquire an average value of the remaining candidate adjustment coefficients after filtering out the abnormal adjustment coefficient, and take the average value as the brightness adjustment coefficient in the vehicle interior.
[0131] In the embodiment of the present application, the acquisition module 42 is further configured to: acquire the test environment brightness value of the environment outside the vehicle and the test acquisition brightness value in the vehicle interior corresponding to each timestamp in different timestamps; acquire the test adjustment coefficient of the vehicle interior at each timestamp according to the test environment brightness value and the test acquisition brightness value; and take the average value of all test adjustment coefficients as the reference adjustment coefficient in the vehicle interior.
[0132] In the embodiment of the present application, the determination module 43 is further configured to: determine the target brightness value of the light source in the vehicle interior according to the product of the second brightness value and the brightness adjustment coefficient.
[0133] The vehicle interior brightness adjustment device provided in the present application acquires the first brightness value of the environment outside the vehicle and the second brightness value in the vehicle interior, and acquires the brightness adjustment coefficient in the vehicle interior according to the first brightness value and the second brightness value. The second brightness value is adjusted according to the brightness adjustment coefficient in the vehicle interior, so as to determine the target brightness value of the light source in the vehicle interior. Further, the brightness value of the light source in the vehicle interior is adjusted according to the target brightness value. In the present application, the brightness adjustment coefficient corresponding to the brightness in the vehicle interior is determined through the brightness value of the environment outside the vehicle and the brightness value in the vehicle interior, the brightness correction in the vehicle interior is realized, and then the accurate adjustment of the brightness value in the vehicle interior is realized, the accuracy of the target brightness value of the light source in the vehicle interior is improved, the safety of vehicle driving is improved through the autonomous adjustment of the brightness in the vehicle interior, and the driving experience and performance of the vehicle are optimized.
[0134] To realize the above-mentioned embodiments, the present application further provides a vehicle 500, as shown in the accompanying drawings, wherein the vehicle 500 comprises Figure 5 a vehicle interior brightness adjustment device 400, as shown in the accompanying drawings. Figure 4
[0135] The vehicle provided in the embodiments of the present application collects a first brightness value of an external environment of the vehicle and a second brightness value of an inside of the vehicle, and obtains a brightness adjustment coefficient of the inside of the vehicle according to the first brightness value and the second brightness value. The second brightness value is adjusted according to the brightness adjustment coefficient of the inside of the vehicle, so that a target brightness value of a light source in the inside of the vehicle is determined. Further, the brightness value of the light source in the inside of the vehicle is adjusted according to the target brightness value. In the present application, the brightness adjustment coefficient corresponding to the brightness of the inside of the vehicle is determined through the brightness value of the external environment of the vehicle and the brightness value of the inside of the vehicle, the brightness correction of the inside of the vehicle is realized, and then the accurate adjustment of the brightness value of the inside of the vehicle is realized, the accuracy of the target brightness value of the light source in the inside of the vehicle is improved, the safety of vehicle driving is improved through the autonomous adjustment of the brightness of the inside of the vehicle, and the driving experience and performance of the vehicle are optimized.
[0136] To achieve the above-mentioned embodiments, the present application further provides an electronic device, a computer readable storage medium and a computer program product.
[0137] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.
[0138] As shown in Figure 6 The device 600 includes a memory 61, a processor 62, and a computer program stored in the memory 61 and executable on the processor 62, and the processor 62 implements the vehicle interior brightness adjustment method provided in the above-mentioned embodiments when executing the program instructions.
[0139] The first brightness value of the external environment of the vehicle and the second brightness value of the inside of the vehicle are collected, and the brightness adjustment coefficient of the inside of the vehicle is obtained according to the first brightness value and the second brightness value. The second brightness value is adjusted according to the brightness adjustment coefficient of the inside of the vehicle, so that the target brightness value of the light source in the inside of the vehicle is determined. Further, the brightness value of the light source in the inside of the vehicle is adjusted according to the target brightness value. In the present application, the brightness adjustment coefficient corresponding to the brightness of the inside of the vehicle is determined through the brightness value of the external environment of the vehicle and the brightness value of the inside of the vehicle, the brightness correction of the inside of the vehicle is realized, and then the accurate adjustment of the brightness value of the inside of the vehicle is realized, the accuracy of the target brightness value of the light source in the inside of the vehicle is improved, the safety of vehicle driving is improved through the autonomous adjustment of the brightness of the inside of the vehicle, and the driving experience and performance of the vehicle are optimized.
[0140] The computer readable storage medium stores a computer program, and the computer program is executed by the processor 62 to implement the vehicle interior brightness adjustment method.
[0141] The first brightness value of the external environment and the second brightness value of the vehicle interior are collected, and the brightness adjustment coefficient of the vehicle interior is obtained according to the first brightness value and the second brightness value. The second brightness value is adjusted according to the brightness adjustment coefficient of the vehicle interior, so as to determine the target brightness value of the light source in the vehicle interior. Further, the brightness value of the light source in the vehicle interior is adjusted according to the target brightness value. In the present application, the brightness adjustment coefficient corresponding to the brightness of the vehicle interior is determined by the brightness value of the external environment and the brightness value of the vehicle interior, the brightness correction of the vehicle interior is realized, and then the accurate adjustment of the brightness value of the vehicle interior is realized, the accuracy of the target brightness value of the light source in the vehicle interior is improved, the safety of vehicle driving is improved through the autonomous adjustment of the brightness of the vehicle interior, and the driving experience and performance of the vehicle are optimized.
[0142] Various embodiments of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0143] Program code for carrying out methods embodied by the present application can be written in any combination of one or more programming languages. This program code can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server. In an embodiment, the program code can be written in a high-level programming language, which is subsequently compiled into a lower-level programming language.
[0144] In the context of this application, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include a linearly-programmed electrical connection, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0145] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0146] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.
[0147] The computer system can include clients and servers. This description can be applied to both a client-server and peer-to-peer network environment, where peer-to-peer can be considered a special case of client-server. The servers can be cloud servers, also known as cloud computing servers or cloud hosts, which are a host product in the cloud computing service system to solve the defects of large management difficulty and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or simply "VPS"). The servers can also be servers of a distributed system, or servers combined with a blockchain.
[0148] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the present specification and the features of the different embodiments or examples without contradiction.
[0149] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "multiple" is at least two, for example, two, three, etc., unless otherwise explicitly specified.
[0150] Any process or method descriptions in flow charts or otherwise described herein can be understood as representing code modules, segments, or portions of code that include one or more executable instructions for implementing the specified logic functions or processes, and the preferred embodiments of the present application also include the possibility that the described functions may be implemented in alternative order, in substantially simultaneous manner, or in reverse order, depending on the functionality involved, as will be understood by those skilled in the art.
[0151] The logic and / or steps represented in the flowcharts and / or described herein, for example, can be considered as a sequence of instructions to implement logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus, or device, such as a computer-based system, processor- based system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be a computer- readable storage medium or a computer-readable signal medium. The computer- readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include the following: an electrical connection having one or more wires (electrical connections), a portable computer diskette (a magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example, via optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
[0152] It should be understood that aspects of the application can be implemented in hardware, software, firmware or combinations thereof. In the above embodiments, various steps or methods can be implemented in software or firmware that is stored in memory and executed by a suitable instruction execution system. As such, in some embodiments, specifically configured hardware can be used to implement at least some of the functionality described herein. For example, if implemented in hardware, the hardware can include any or a combination of the following: a discrete logic circuit having logic gates for implementing logic functions upon data signals, an application specific integrated circuit having appropriate combinational logic gates, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0153] Those of skill in the art would understand that information and signals can be represented using any of a variety of technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that can be referenced throughout the above description can be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
[0154] In addition, each of the function units in each embodiment of the present application can be integrated in one processing module, or each unit can be physically present separately, or two or more units can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software function module. When the integrated module is realized in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
[0155] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.
[0156] It should be understood that the various forms of flow shown above can be reordered, added or deleted steps. For example, each step described in the present application can be executed in parallel, sequentially or in different order, as long as the desired results of the technical solutions disclosed in the present application can be achieved, which is not limited herein.
[0157] The above detailed description does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and replacements can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A method of adjusting the brightness of a vehicle interior, characterized by The method comprises: collecting a first brightness value of an external environment of a vehicle and a second brightness value of an internal environment of the vehicle; obtaining a brightness adjustment coefficient of the internal environment of the vehicle according to the first brightness value, the second brightness value and a reference adjustment coefficient; adjusting the second brightness value according to the brightness adjustment coefficient to determine a target brightness value of an internal light source of the vehicle; adjusting the internal light source of the vehicle from a current brightness value to the target brightness value; wherein the step of determining the reference adjustment coefficient comprises: obtaining a test environment brightness value of the external environment of the vehicle and a test collection brightness value of the internal environment of the vehicle corresponding to each timestamp in different timestamps; obtaining a test adjustment coefficient of the internal environment of the vehicle at each timestamp according to the test environment brightness value and the test collection brightness value; determining the reference adjustment coefficient of the internal environment of the vehicle according to the test adjustment coefficient of the internal environment of the vehicle at each timestamp.
2. The method of claim 1, wherein, The obtaining of the brightness adjustment coefficient of the internal environment of the vehicle according to the first brightness value, the second brightness value and the reference adjustment coefficient comprises: obtaining the first brightness value of the external environment of the vehicle and the second brightness value of the internal environment of the vehicle corresponding to each timestamp in different timestamps; obtaining a candidate adjustment coefficient of the internal environment of the vehicle at each timestamp according to the first brightness value and the second brightness value; determining the brightness adjustment coefficient of the internal environment of the vehicle according to all candidate adjustment coefficients and the reference adjustment coefficient.
3. The method of claim 2, wherein, The determination of the brightness adjustment coefficient of the internal environment of the vehicle according to all candidate adjustment coefficients and the reference adjustment coefficient comprises: obtaining a reference adjustment coefficient of the internal environment of the vehicle; filtering abnormal adjustment coefficients in the candidate adjustment coefficients according to the reference adjustment coefficient; determining the brightness adjustment coefficient of the internal environment of the vehicle according to the remaining candidate adjustment coefficients after filtering.
4. The method of claim 3, wherein, The determination of the brightness adjustment coefficient of the internal environment of the vehicle according to the remaining candidate adjustment coefficients after filtering comprises: determining a reference brightness adjustment interval of the internal environment of the vehicle according to the reference adjustment coefficient; determining the candidate adjustment coefficients not belonging to the reference brightness adjustment interval as the abnormal adjustment coefficients; obtaining an average value of the remaining candidate adjustment coefficients after filtering out the abnormal adjustment coefficients, and taking the average value as the brightness adjustment coefficient of the internal environment of the vehicle.
5. The method of claim 3, wherein, The determination of the reference adjustment coefficient of the internal environment of the vehicle according to the test adjustment coefficient of the internal environment of the vehicle at each timestamp comprises: taking an average value of the test adjustment coefficients of the internal environment of the vehicle at each timestamp as the reference adjustment coefficient of the internal environment of the vehicle.
6. The method according to any one of claims 2-5, characterized in that, The adjustment of the second brightness value according to the brightness adjustment coefficient to determine the target brightness value of the internal light source of the vehicle comprises: determining the target brightness value of the internal light source of the vehicle according to the product of the second brightness value and the brightness adjustment coefficient.
7. A vehicle interior brightness adjustment device characterized by comprising: The device comprises: a collection module for collecting a first brightness value of an external environment of a vehicle and a second brightness value of an internal environment of the vehicle; an obtaining module for obtaining a brightness adjustment coefficient of the internal environment of the vehicle according to the first brightness value, the second brightness value and a reference adjustment coefficient; determining a target brightness value of the vehicle interior light source according to the brightness adjustment coefficient adjusting the second brightness value; adjusting the vehicle interior light source from a current brightness value to the target brightness value; wherein the obtaining module is further configured to: obtain a test environment brightness value of the environment outside the vehicle and a test acquisition brightness value of the vehicle interior corresponding to each timestamp in different timestamps; obtain a test adjustment coefficient of the vehicle interior at each timestamp according to the test environment brightness value and the test acquisition brightness value; determine the reference adjustment coefficient of the vehicle interior according to the test adjustment coefficient of the vehicle interior at each timestamp.
8. An electronic device, comprising: comprising a memory, a processor; wherein the processor runs a program corresponding to executable program code stored in the memory by reading the executable program code, to implement the method of any one of claims 1-6.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method of any one of claims 1-6.
10. A vehicle characterized by comprising: comprising the vehicle interior brightness adjustment device of claim 7.
Citation Information
Patent Citations
Vehicle interior light brightness adjusting method, device and system and vehicle
CN110386059A