Display brightness adjusting method, equipment, vehicle and device
By setting up a display brightness adjustment device in the vehicle, using the sensor module to obtain ambient light intensity information, and automatically adjusting the brightness of the display device, the problems of low user experience and low driving safety caused by fixed display brightness in the prior art are solved, and automatic brightness adaptation and improvement of user experience are achieved.
Patent Information
- Application Number
- CN202311760453.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-20
- Publication Date
- 2025-06-27
AI Technical Summary
The display brightness of existing vehicle display devices is fixed and requires frequent manual adjustment, resulting in low user experience and low driving safety.
By setting up a display brightness adjustment device in the vehicle, a sensor module obtains ambient light intensity information, determines the detection time according to the vehicle speed, calculates the current ambient light intensity, and automatically adjusts the brightness of the display device to adapt to the environment.
It realizes automatic adjustment of the brightness of the display device, improves user experience and driving safety, and has high applicability.
Smart Images

Figure CN120220559A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and in particular, to a method, device, vehicle and apparatus for adjusting display brightness. Background Art
[0002] With the rapid development of vehicle technology, functions such as vehicle entertainment, navigation, instrument display, and intelligent cockpit control are becoming increasingly rich. The display screen size of vehicle display devices is getting larger and the number is increasing, and people's requirements for the display effect of display devices are also getting higher and higher.
[0003] In the prior art, the display brightness of display devices is usually fixed, and people can manually adjust the display brightness of display devices according to driving time, weather conditions, etc. to meet the usage requirements.
[0004] On the one hand, the driver needs to frequently manually adjust the display brightness, resulting in low user experience and great limitations; on the other hand, during driving, the method of manually adjusting the display brightness is likely to cause the driver to be distracted and has low safety. Summary of the Invention
[0005] In view of this, embodiments of the present invention provide a method, device, vehicle and apparatus for adjusting display brightness, which can effectively adjust the brightness of a display device, enable the brightness of the display device to adapt to the current environment, improve user experience and driving safety, and have high applicability.
[0006] In a first aspect, embodiments of the present invention provide a method for adjusting display brightness, the method comprising:
[0007] Determining a corresponding current detection duration according to the current speed information of the vehicle;
[0008] Obtaining a plurality of ambient light intensity information samples within the current detection duration;
[0009] Respectively determining the external light intensity and the internal light intensity of the vehicle according to the plurality of ambient light intensity information;
[0010] Performing weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity;
[0011] Adjusting the display brightness of the display device of the vehicle according to the current ambient light intensity.
[0012] In a second aspect, embodiments of the present invention provide a display brightness adjustment device, the display brightness adjustment device comprising:
[0013] A sensor module;
[0014] A controller, configured to determine a corresponding current detection duration according to the current speed information of the vehicle, obtain a plurality of ambient light intensity information within the current detection duration through the sensor module, respectively determine the external light intensity and the internal light intensity according to the plurality of ambient light intensity information, perform weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity, and adjust the display brightness of the display device of the vehicle according to the current ambient light intensity.
[0015] In a third aspect, an embodiment of the present invention provides a vehicle, which includes:
[0016] A vehicle body;
[0017] A display device;
[0018] The display brightness adjustment device as described in the second aspect.
[0019] In a fourth aspect, an embodiment of the present invention provides a display brightness adjustment device, which includes:
[0020] A detection unit, configured to determine a corresponding current detection duration according to the current speed information of the vehicle;
[0021] A sampling unit, configured to obtain a plurality of ambient light intensity information sampled within the current detection duration;
[0022] A light intensity determination unit, configured to respectively determine the external light intensity and the internal light intensity according to the plurality of ambient light intensity information;
[0023] A calculation unit, configured to perform weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity;
[0024] A brightness adjustment unit, configured to adjust the display brightness of the display device of the vehicle according to the current ambient light intensity.
[0025] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method as described in the first aspect is implemented.
[0026] In a sixth aspect, an embodiment of the present invention provides an electronic device, which includes:
[0027] A memory and a processor, where the memory is used to store one or more computer program instructions, and when the one or more computer program instructions are executed by the processor, the method as described in the first aspect is implemented.
[0028] In an embodiment of the present invention, the corresponding current detection duration is determined according to the current speed information of the vehicle, and then a plurality of ambient light intensity information sampled within the current detection duration is obtained. The external light intensity and the internal light intensity of the vehicle are respectively determined according to the plurality of ambient light intensity information, and then weighted calculation is performed according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity, so as to adjust the display brightness of the vehicle display device according to the current ambient light intensity. Thus, the brightness of the display device can be effectively adjusted, so that the brightness of the display device can adapt to the current environment, the user experience and driving safety can be improved, and it has high applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Through the following description of the embodiments of the present invention with reference to the accompanying drawings, the above and other objects, features and advantages of the present invention will become more clear. In the drawings:
[0030] Figure 1 is a flowchart of the display brightness adjustment method according to an embodiment of the present invention;
[0031] Figure 2 is a schematic diagram of a vehicle according to an embodiment of the present invention;
[0032] Figure 3 is a flowchart of a method for determining the current detection duration in an embodiment of the present invention;
[0033] Figure 4 is a flowchart of another method for determining the current detection duration in an embodiment of the present invention;
[0034] Figure 5 is a flowchart of a method for determining the weight information in an embodiment of the present invention;
[0035] Figure 6 is a schematic diagram of an application scenario of the display brightness adjustment method according to an embodiment of the present invention;
[0036] Figure 7 is a schematic diagram of an application scenario of the display brightness adjustment method according to an embodiment of the present invention;
[0037] Figure 8 is a schematic diagram of the display brightness adjustment device according to an embodiment of the present invention;
[0038] Figure 9 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] The present application will be described based on embodiments, but the present application is not limited to these embodiments. In the following detailed description of the present application, some specific details are described in detail. Those skilled in the art can fully understand the present application without the description of these details. In order to avoid obscuring the essence of the present application, well-known methods, processes, procedures, components, and circuits are not described in detail.
[0040] In addition, those of ordinary skill in the art should understand that the drawings provided herein are for illustrative purposes only, and the drawings are not necessarily drawn to scale.
[0041] Unless the context clearly requires otherwise, the words such as "including" and "comprising" in the entire application document should be interpreted as having an inclusive meaning rather than an exclusive or exhaustive meaning; that is, it is the meaning of "including but not limited to".
[0042] In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be construed as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.
[0043] In the following description, the display brightness adjustment method is described by taking the example of being applied to an automobile (i.e., a vehicle). It should be understood that the display brightness adjustment method involved in the embodiments of the present invention can be applied to various scenarios that require display brightness adjustment, such as the display brightness adjustment scenarios of ships, high-speed rails, airplanes, etc.
[0044] In this embodiment, since in the prior art, the driver needs to frequently manually adjust the display brightness, the user experience is not high and the limitations are relatively large, and during driving, the method of manually adjusting the display brightness is likely to cause the driver to be distracted and the safety is relatively low. In view of this situation, in this embodiment, a display brightness adjustment device is set in the vehicle. Based on the pre-determined correspondence between the vehicle speed information and the detection duration in different vehicle usage scenarios, the display brightness adjustment device determines the corresponding current detection duration according to the current speed information of the vehicle, and then determines the current ambient light intensity corresponding to the current detection duration, so as to effectively adjust the display brightness of the vehicle display device according to the current ambient light intensity, so that the brightness of the display device can adapt to the current environment, which can improve the user experience and driving safety, and has high applicability. Specifically, a schematic diagram of the vehicle in this embodiment can be referred to Figure 1 .
[0045] Figure 1 is a schematic diagram of the vehicle in the embodiments of the present invention. As Figure 1As shown, the vehicle in this embodiment includes a vehicle body 100, a display brightness adjustment device 1, and a display device 2. Among them, the display brightness adjustment device 1 includes a controller 11 and a sensor module 12. The sensor module 12 includes a first sensor 121 and a second sensor 122.
[0046] In this embodiment, the first sensor 121, the second sensor 122 and the controller 11 can communicate with each other in a wired connection manner, and this wired connection is realized through bus interfaces such as CAN (Controller Area Network), LIN (Local Interconnect Network), RS-485, UART (Universal Asynchronous Receiver / Transmitter), etc.
[0047] In this embodiment, the controller 11 and the display device 2 can communicate with each other in a wired connection or a wireless connection manner. Among them, the wired connection can be realized through the above bus interfaces. The wireless connection can be realized through wireless networks such as Bluetooth, Wi-Fi, NB-IoT (Narrow Band Internet of Things), LoRa (Long Range Radio), or ZigBee (i.e., the ZigBee protocol).
[0048] In this embodiment, the vehicle body can be an automobile of various vehicle models, such as a truck, an off-road vehicle, a dump truck, a tractor, a special-purpose vehicle, a bus, a car, a semi-trailer, etc. The display brightness adjustment device 1 and the display device 2 can be arranged on the vehicle body.
[0049] In this embodiment, the controller 11 and the display device 2 can be electronic devices with functions such as data transmission and data processing. Among them, the display device 2 is, for example, a display, a display lamp, a vehicle-mounted terminal, etc.
[0050] In this embodiment, the first sensor 121 is used to detect the intensity of the ambient light inside the vehicle, and the second sensor 122 is used to detect the intensity of the ambient light outside the vehicle. The first sensor 121 and the second sensor 122 may include corresponding light sensors (Light Sensor, LS). The light sensor can be implemented, for example, by an ambient light sensor (Ambient light sensor, ALS), a photosensitive chip, a photoresistor, a photodiode, etc. Specifically, the light sensor can convert the detected optical signal into an optoelectronic signal and transmit it to the controller 11. Then, the controller 11 can determine the intensity of the ambient light inside the vehicle according to the optoelectronic signal inside the vehicle transmitted by the first sensor 121, and the controller 11 can also determine the intensity of the ambient light outside the vehicle according to the optoelectronic signal outside the vehicle transmitted by the second sensor 122.
[0051] Optionally, the light sensor in the first sensor 121 can be set at different positions inside the vehicle (hereinafter referred to as inside the vehicle) according to requirements, such as above the steering wheel, beside the driver's seat, beside the passenger seat, etc. The light sensor in the second sensor 122 can be set at different positions outside the vehicle (hereinafter referred to as outside the vehicle) according to requirements, such as below the windshield wiper, above the rearview mirror, on the front windshield, etc.
[0052] Optionally, the first sensor 121 may include multiple light sensors. Correspondingly, the controller 11 can determine the intensity of the ambient light inside the vehicle at a certain moment according to the multiple optoelectronic signals inside the vehicle transmitted by the first sensor 121 at a certain moment. Specifically, different optoelectronic signals have corresponding different weight values, and the weight values can be preset according to the positions of the light sensors. The controller 11 can determine an ambient light intensity information according to the multiple optoelectronic signals inside the vehicle transmitted by the first sensor 121 and the weight values corresponding to each optoelectronic signal inside the vehicle. For example, the first sensor 121 includes a first light sensor and a second light sensor. The first light sensor is set above the steering wheel and is used to detect the first optoelectronic signal inside the vehicle. The second light sensor is set beside the passenger seat and is used to detect the second optoelectronic signal inside the vehicle. Usually, the distance between the steering wheel and the driver is less than the distance between the passenger seat and the driver. Therefore, the weight value corresponding to the first optoelectronic signal inside the vehicle can be preset to 0.8, and the weight value corresponding to the second optoelectronic signal inside the vehicle can be preset to 0.2. Then, the controller 11 can perform weighted calculation according to the weight values corresponding to the first optoelectronic signal inside the vehicle and the second optoelectronic signal inside the vehicle at any moment, and can determine the intensity of the ambient light inside the vehicle at any moment. Similarly, the second sensor 122 may include multiple light sensors, and the controller 11 can perform weighted calculation according to the multiple optoelectronic signals outside the vehicle transmitted by the second sensor 122 at any moment and the corresponding weight values, and can determine the intensity of the ambient light outside the vehicle at any moment.
[0053] Further, the flowchart of the display brightness adjustment method in this embodiment can be referred to Figure 2 .
[0054] Figure 2 FIG. 1 is a flow chart of a method for adjusting display brightness according to an embodiment of the present invention. Figure 2 As shown, the process of display brightness adjustment in this embodiment includes the following steps:
[0055] Step S100: determining the corresponding current detection duration according to the current speed information of the vehicle.
[0056] In this embodiment, considering that the changes in the vehicle's external ambient light intensity and the vehicle's internal ambient light intensity are different in different vehicle use scenarios (for example, the changes in the vehicle's external ambient light intensity and the vehicle's internal ambient light intensity detected when driving in the city are different from the changes in the vehicle's external ambient light intensity and the vehicle's internal ambient light intensity detected when parking in a garage), therefore, it is necessary to specifically detect the vehicle's external ambient light intensity and the vehicle's internal ambient light intensity for different vehicle use scenarios. In view of this situation, this embodiment determines the corresponding relationship between the vehicle speed and the detection duration in advance, so as to determine the corresponding current detection duration according to the vehicle's current speed information.
[0057] Specifically, the driving speed information of the vehicle driver (ie, user) in different vehicle use scenarios and the duration of light intensity change of the ambient light intensity outside the vehicle and the ambient light intensity inside the vehicle can be counted in advance (for example, the duration of light intensity change of the ambient light intensity outside the vehicle is calculated, and the duration of light intensity change of the ambient light intensity inside the vehicle is calculated). Then, the detection duration corresponding to the driving speed in different vehicle use scenarios is determined according to the duration of light intensity change. In other words, the detection duration is adjusted according to the duration of light intensity change to effectively detect the light intensity. In the following description, the process of determining the duration of light intensity change of the ambient light intensity outside the vehicle is taken as an example for explanation.
[0058] Optionally, the duration of the light intensity change can be determined based on the different moments when the intensity of the ambient light outside the vehicle changes, and the light intensity change at any of the moments is greater than the change threshold. For example, when a vehicle passes under a pedestrian bridge during the day, at the first moment, the vehicle enters the shadow of the pedestrian bridge from a bright lane, that is, the light intensity change at the first moment is detected to be greater than the change threshold. Further, at the second moment, the vehicle drives out of the shadow of the pedestrian bridge to enter the bright lane, that is, the light intensity change at the second moment is detected to be greater than the change threshold. Then, the duration of the light intensity change of the ambient light intensity outside the vehicle in the vehicle use scenario can be determined based on the difference between the second moment and the first moment. Similarly, the duration of the light intensity change can also be determined based on the different moments when the intensity of the ambient light inside the vehicle changes.
[0059] For example, when the driving scenario is parking in a garage, the driving speed information obtained through statistics is usually relatively slow (such as 3 Km / h, 4 Km / h, or 9 Km / h (Km / h means kilometers per hour)). Moreover, the garage usually has a low brightness, and the light intensity change duration of the external environmental light intensity and the internal environmental light intensity of the vehicle is relatively short (for example, the calculated light intensity change duration is less than or equal to the first threshold). Therefore, the external environmental light intensity and the internal environmental light intensity of the vehicle can be effectively detected within a short period of time, and thus a shorter detection duration can be set according to the light intensity change duration. Then, it can be determined that when the vehicle speed information is 0 - 10 Km / h, the corresponding detection duration is 4 seconds.
[0060] For another example, when the driving scenario is driving in the city during the day, the driving speed information obtained through statistics is 35 Km / h, 45 Km / h, or 55 Km / h. During the process of driving in the city, the external environmental light intensity and the internal environmental light intensity of the vehicle are usually affected by buildings (such as pedestrian overcrossings (PO), highway interchanges (HI), buildings, etc.), vegetation (such as trees, green belts, etc.), public transportation facilities (such as traffic lights, traffic signs), etc. and change briefly (for example, when the vehicle passes under a pedestrian overcrossing, the external environmental light intensity and the internal environmental light intensity of the vehicle will change briefly, and the calculated light intensity change duration is greater than the first threshold and less than or equal to the second threshold). In this case, it is necessary to adjust the detection time according to the light intensity change duration to accurately detect the environmental light intensity of the vehicle. Then, it can be determined that when the vehicle speed information is 11 Km / h - 60 Km / h, the corresponding detection duration is 6 seconds. Thus, incorrect adjustment of the display brightness can be effectively avoided, and the accuracy of display brightness adjustment can be improved to enhance the user experience.
[0061] For yet another example, when the driving scenario is driving on the highway during the day, the driving speed information obtained through statistics is 70 Km / h, 80 Km / h. During the process of driving on the highway, the external environmental light intensity and the internal environmental light intensity of the vehicle are usually affected by the weather and change (for example, when the vehicle passes under a dark cloud, the change time of the external environmental light intensity and the internal environmental light intensity of the vehicle is relatively long, and the calculated light intensity change duration is greater than the second threshold). In this case, it is necessary to set a longer detection time according to the light intensity change duration to accurately detect the environmental light intensity of the vehicle. Then, it can be determined that when the vehicle speed information is greater than 60 Km / h, the corresponding detection duration is 10 seconds. Thus, the corresponding relationship between the speed information and the detection duration in different driving scenarios can be determined.
[0062] Optionally, step S100 includes step S110 and step S111, which can be referred to Figure 3 。
[0063] Figure 3 It is a flowchart of a method for determining the current detection duration in an embodiment of the present invention. In this embodiment, the current detection duration of the ambient light is mainly determined according to the current speed information of the vehicle. Specifically, as Figure 3 shown, the process of determining the current detection duration in this embodiment includes the following steps:
[0064] Step S110: Receive a brightness adjustment instruction and obtain the current speed information.
[0065] In this embodiment, after the controller 11 receives the brightness adjustment instruction, the controller 11 obtains the current speed information through a speed detection device. Among them, the speed detection device can be a vehicle speed sensor for detecting the driving speed of the vehicle (for example, the vehicle speed sensor can determine the driving speed of the vehicle by detecting the wheel rotation speed). The vehicle speed sensor can be arranged in the vehicle, and the vehicle speed sensor is, for example, a magnetoelectric vehicle speed sensor, a Hall vehicle speed sensor, an optoelectronic vehicle speed sensor, etc.
[0066] It should be understood that the way for the controller 11 to obtain the current speed information is not limited to the vehicle speed sensor. The controller 11 can also determine the current speed information of the vehicle through other means. For example, the controller 11 can determine the driving distance of the vehicle within a unit time through a positioning device, such as GPS (Global Positioning System) or an odometer, and then calculate and determine the current speed information of the vehicle according to the driving distance of the vehicle within a unit time.
[0067] Optionally, the display brightness adjustment device 1 can be a device with a human-computer interaction function. The display brightness adjustment device 1 can receive instructions input by the user and can also display relevant information to the user. That is to say, the user can choose whether to adjust the display brightness according to needs.
[0068] In an alternative embodiment, the display brightness adjustment device 1 includes a button, and the button is used to trigger a brightness adjustment instruction. After the user triggers the button, the controller 11 receives the brightness adjustment instruction.
[0069] In another alternative embodiment, the display brightness adjustment device 1 includes a touch screen, and the touch screen is used to display a brightness adjustment control, and the brightness adjustment control is used to trigger a brightness adjustment instruction. Then the user can touch the screen to make the controller 11 receive the brightness adjustment instruction.
[0070] Optionally, after the vehicle is powered on (for example, when the user starts the vehicle with the vehicle key and the vehicle control device receives the start signal and then powers on), the display brightness can be automatically adjusted. That is, the vehicle main control device sends a brightness control command to the controller 11, so that the controller 11 obtains the current speed information. Among them, the vehicle main control device is, for example, an Infotainment Control Module (ICM), a Body Control Module (BCM), etc.
[0071] Step S111: Determine the current detection duration according to the correspondence between the vehicle speed and the detection duration, and the current speed information.
[0072] In this embodiment, the controller 11 determines the current detection duration according to the current speed information based on the pre-determined correspondence between the vehicle speed and the detection duration.
[0073] Optionally, different vehicle speeds can have corresponding different detection durations. For example, when the current vehicle speed information is 10 Km / h, the corresponding current detection duration is 4 seconds. For another example, when the current vehicle speed information is 12 Km / h, the detection duration is 6 seconds.
[0074] Optionally, considering that the current speed information may change continuously when the user uses the vehicle, in this case, in order to effectively adjust the display brightness, this embodiment can pre-determine the correspondence between the speed range (for example, the vehicle speed gear) corresponding to the vehicle speed and the detection duration, so as to determine the current detection duration according to the current speed range corresponding to the current speed information. For example, the detection duration corresponding to the speed range of 0 - 10 Km / h is 4 seconds, and when the current speed information is 10 Km / h, the corresponding current detection duration is 4 seconds. It is easy to understand that the controller 11 can also directly determine the corresponding current detection duration according to the speed range corresponding to the current vehicle transmission gear. For example, when the current vehicle transmission gear is the first forward gear, and the first forward gear corresponds to the speed range of 0 - 10 Km / h, then the current detection duration is 4 seconds. Thus, the controller 11 can directly determine the current detection duration without detecting the vehicle speed, so as to simplify the processing time and improve the brightness adjustment efficiency.
[0075] Optionally, step S100 including steps S120 - S123 can be referred to Figure 4 .
[0076] Figure 4 is another flowchart of the method for determining the current detection duration in the embodiment of the present invention. As Figure 4 shown, the process of determining the current detection duration in this embodiment includes the following steps:
[0077] Step S120: Obtain the current speed information of the vehicle.
[0078] In this embodiment, the controller 11 continuously obtains the current driving speed information of the vehicle (i.e., the current speed information), and the current driving speed information represents the speed at the current moment. Among them, the controller 11 can obtain the current driving speed information of the vehicle in real time, and the controller 11 can also obtain the current driving speed information of the vehicle at a predetermined time interval.
[0079] In this embodiment, the controller 11 can record the historical speed information of the vehicle and the corresponding historical detection duration. The historical speed information represents the speed at the historical moment. Correspondingly, the historical moment can be the previous moment of the current moment, and the historical moment can also have a predetermined time interval with the current moment. It is easy to understand that the historical speed information has a corresponding historical detection duration.
[0080] Step S121, determine whether the speed change between the current speed information and the historical speed information meets the detection duration change condition.
[0081] In this embodiment, the detection duration change condition includes that the current speed range corresponding to the current speed information is different from the historical speed range corresponding to the historical speed information. That is to say, considering that the current speed information may change continuously when the user uses the vehicle, in this case, this embodiment determines whether to change the detection duration of brightness adjustment by judging whether the speed range changes. For example, it is previously determined that the detection duration corresponding to the speed range of 0-10 Km / h is 4 seconds, and the detection duration corresponding to the speed range of 11 Km / h-60 Km / h is 6 seconds. The current speed information is 4 Km / h, and the corresponding current speed range is 11 Km / h-60 Km / h, which is different from the historical speed range corresponding to the historical speed information of 12 Km / h, then it is determined that the speed change meets the detection duration change condition. Another example, if the current speed information is 4 Km / h and the historical speed information is 6 Km / h, and the corresponding speed range is 0-10 Km / h, then it is determined that the speed change does not meet the detection duration change condition.
[0082] In this embodiment, if the speed change between the current speed information and the historical speed information meets the detection duration change condition, then step S122 is executed. If the speed change between the current speed information and the historical speed information does not meet the detection duration change condition, then step S123 is executed.
[0083] In the following description, an example is given where the detection duration change condition includes that the current speed range corresponding to the current speed information is different from the historical speed range corresponding to the historical speed information. It should be understood that the detection duration change condition can be customized according to requirements. For example, the detection duration change condition includes that the speed change amount is greater than a threshold. The speed change amount can be determined according to the difference between the current speed information and the historical speed information. Correspondingly, if the speed change amount is greater than the threshold, step S122 is executed. If the speed change amount is less than or equal to the threshold, step S123 is executed. That is, it is determined whether to change the detection duration of brightness adjustment according to the speed change amount.
[0084] Step S122: Determine the current detection duration according to the current speed information
[0085] In this embodiment, since the current speed range is different from the historical speed range, it indicates that the speed range has changed, which means that the user's driving scenario may have changed. Therefore, it is necessary to determine the current detection duration according to the current speed information. That is, the historical detection duration is updated according to the current detection duration. Further, after step S122 is executed, step S200 can be executed.
[0086] Step S123: Determine the current detection duration according to the historical speed information.
[0087] In this embodiment, since the current speed range is the same as the historical speed range, it indicates that the speed range has not changed, which means that the user's driving scenario may not have changed. Therefore, the current detection duration can be determined according to the historical detection duration corresponding to the historical speed information. Thus, the brightness adjustment efficiency can be improved.
[0088] In this embodiment, after step S122 is executed, step S200 can be executed, or step S120 can be returned. The specific implementation method can be set according to user requirements to achieve personalized brightness adjustment.
[0089] In an alternative embodiment, after step S122 is executed, step S200 can be executed. That is, although the speed change is small, the display brightness still needs to be adjusted to improve the user experience.
[0090] In another alternative embodiment, after step S122 is executed, step S120 is returned. That is, since the speed change is small, the current display brightness of the vehicle display device can be maintained without adjustment. Thus, the brightness adjustment efficiency can be improved.
[0091] Step S200: Obtain multiple ambient light intensity information samples within the current detection duration.
[0092] In this embodiment, the controller 11 obtains a plurality of ambient light intensity information samples within the current detection duration through the sensor module 12. Among them, the plurality of ambient light intensity information includes a plurality of external vehicle ambient light intensities and a plurality of internal vehicle ambient light intensities. Specifically, the controller 11 can collect a plurality of internal vehicle ambient light intensities through the first sensor 121 within the current detection duration, and collect a plurality of external vehicle ambient light intensities through the second sensor 122 within the current detection duration.
[0093] In this embodiment, the controller 11 can control the sensor module 12 to obtain a plurality of ambient light intensity information samples within the current detection duration according to a preset sampling frequency (for example, sampling once every 0.5 seconds, sampling once every 1 second). For example, if the current speed information is 8 Km / h and the corresponding detection duration is 4 seconds, and the controller 11 samples once every 1 second. Then the controller 11 obtains 4 ambient light intensity information samples sampled within the subsequent 4 seconds of the current moment. The 4 ambient light intensity information samples include 4 internal vehicle ambient light intensities and 4 external vehicle ambient light intensities.
[0094] Optionally, the sampling frequency changes based on the change of the current detection duration. Among them, the sampling frequency increases as the current detection duration increases. Correspondingly, the sampling frequency decreases as the current detection duration decreases. Specifically, if the current detection duration is less than or equal to the first duration threshold, the controller 11 determines the sampling frequency corresponding to the current detection duration as the first sampling frequency (for example, sampling once every 1 second). If the current detection duration is greater than the first duration threshold and less than or equal to the second duration threshold, the controller 11 determines the sampling frequency corresponding to the current detection duration as the second sampling frequency (for example, sampling once every 0.5 seconds). If the current detection duration is greater than the second duration threshold, the controller 11 determines the sampling frequency corresponding to the current detection duration as the third sampling frequency (for example, sampling once every 0.2 seconds). Among them, the third sampling frequency is greater than the second sampling frequency, and the second sampling frequency is greater than the first sampling frequency.
[0095] Specifically, since the detection duration corresponds to different vehicle usage scenarios, similar to the determination process of the detection duration, the sampling frequency corresponding to the detection duration can be determined according to the light intensity change duration of different vehicle usage scenarios. For example, when the vehicle usage scenario is parking in the garage, the garage is usually of low brightness, and the light intensity change duration of the external vehicle ambient light intensity and the internal vehicle ambient light intensity is short. Therefore, setting a smaller first sampling frequency can effectively detect the external vehicle ambient light intensity and the internal vehicle ambient light intensity. Similarly, when the vehicle usage scenario is driving on the highway during the day, since the light intensity change duration is long, it is necessary to adjust the sampling frequency to accurately detect the external vehicle ambient light intensity and the internal vehicle ambient light intensity. Therefore, a larger third sampling frequency is set.
[0096] Step S300: Determine the external vehicle light intensity and the internal vehicle light intensity respectively according to the plurality of ambient light intensity information.
[0097] In this embodiment, the controller 11 calculates the average value of multiple external ambient light intensities to obtain the external light intensity. The controller 11 calculates the average value of multiple internal ambient light intensities to obtain the internal light intensity.
[0098] Optionally, the controller 11 determines the sampling quantity of collecting multiple ambient light intensity information within the current detection duration according to the sampling frequency corresponding to the current detection duration. Furthermore, the controller 11 can calculate the average value according to the sampling quantity and multiple external ambient light intensities to determine the external light intensity within the detection duration, and calculate the average value according to the sampling quantity and multiple internal ambient light intensities to determine the internal light intensity within the detection duration.
[0099] Optionally, the controller 11 performs filtering processing on multiple ambient light intensity information to filter out the ambient light intensity information that does not meet the predetermined conditions. Then the controller 11 determines the external light intensity and the internal light intensity respectively according to the filtered ambient light intensity information. Wherein, the predetermined condition is that the ambient light intensity information (that is, the internal ambient light intensity and the external ambient light intensity) is less than the first light intensity threshold, and / or greater than the second light intensity threshold. Wherein, the first light intensity threshold is greater than the second light intensity threshold. That is to say, some of the ambient light intensity information sampled during the current detection duration may not be of reference value (such as the instantaneous change of light intensity caused by other vehicles passing by the current vehicle, etc.). Therefore, it is necessary to filter these ambient light intensity information to screen out the ambient light intensity information that meets the predetermined conditions.
[0100] Step S400: Perform weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity.
[0101] In this embodiment, the controller 11 first determines the weight information corresponding to the external light intensity and the internal light intensity. Then the controller 11 performs weighted calculation to obtain the current ambient light intensity. Wherein, the weight information corresponding to the external light intensity and the internal light intensity changes based on the change of the external light intensity. Specifically, the weight corresponding to the external light intensity increases as the external light intensity increases, and the weight corresponding to the internal light intensity decreases as the external light intensity increases. Correspondingly, the weight corresponding to the external light intensity decreases as the external light intensity decreases, and the weight corresponding to the internal light intensity increases as the external light intensity decreases. That is to say, usually users are more sensitive to brightness changes in a relatively dark environment and less sensitive to brightness changes in a relatively bright environment. Therefore, the corresponding weight information can be determined according to the external light intensity. Specifically, the flowchart of the method for the controller 11 to determine the weight information can refer to Figure 5 。
[0102] Figure 5 is the flowchart of the method for determining the weight information in the embodiment of the present invention. As Figure 5As shown in the figure, the process of determining the weight information in this embodiment includes the following steps:
[0103] Step S310: Obtain the external light intensity and the internal light intensity of the vehicle.
[0104] In this embodiment, the controller 11 obtains the external light intensity and the internal light intensity calculated during the current detection duration. The specific calculation method is similar to that in step S300, and will not be elaborated herein.
[0105] Step S311: Determine whether the external light intensity is greater than or equal to the light intensity threshold.
[0106] In this embodiment, if the external light intensity is greater than or equal to the light intensity threshold, step S312 is executed. If the external light intensity is less than the light intensity threshold, step S313 is executed. The light intensity threshold can be set customarily, such as 30 Lux, 35 Lux (Lux is the unit of illuminance), etc.
[0107] Optionally, the photosensitive information of different / a certain user can be pre-statistically analyzed to determine the light intensity threshold. For example, the statistically analyzed photosensitive information indicates that multiple / a certain user is more sensitive to the change in light intensity less than 30 Lux, which means that the statistically analyzed user is more sensitive to the change in brightness in a relatively dark environment. At the same time, the user is not sensitive to the change in light intensity greater than or equal to 30 Lux, which means that the statistically analyzed user is not sensitive to the change in brightness in a relatively bright environment. Then, the light intensity threshold can be determined as 30 Lux according to the photosensitive information. It should be understood that this embodiment takes the light intensity threshold of 30 Lux as an example for illustration, but the light intensity threshold can also include multiple thresholds determined by statistical analysis in the above manner. Thus, personalized display brightness adjustment can be achieved.
[0108] Step S312: Determine the weights corresponding to the internal light intensity and the external light intensity as the first weight and the second weight, respectively.
[0109] In this embodiment, since the external light intensity is greater than or equal to the light intensity threshold, indicating that the environment is relatively bright, the controller 11 determines the weights corresponding to the internal light intensity and the external light intensity as the first weight and the second weight, respectively. For example, the first weight is 0.5 and the second weight is 0.5.
[0110] Step S313: Determine the weights corresponding to the internal light intensity and the external light intensity as the third weight and the fourth weight, respectively.
[0111] In this embodiment, since the external light intensity is less than the light intensity threshold, indicating that the environment is relatively dark, the controller 11 determines the weights corresponding to the internal light intensity and the external light intensity as the third weight and the fourth weight, respectively. For example, the third weight is 0.7 and the fourth weight is 0.3.
[0112] In this embodiment, the first weight is less than the third weight, and the second weight is greater than the fourth weight. That is to say, since the user is more sensitive to brightness changes in a relatively dark environment, when the light intensity outside the vehicle is less than the light intensity threshold, the controller 11 can appropriately increase the weight value corresponding to the light intensity inside the vehicle according to the light intensity outside the vehicle, and can appropriately reduce the weight value corresponding to the light intensity outside the vehicle, so as to accurately adjust the brightness. Similarly, when the light intensity outside the vehicle is greater than or equal to the light intensity threshold, the controller 11 can appropriately reduce the weight value corresponding to the light intensity inside the vehicle according to the light intensity outside the vehicle, and can appropriately increase the weight value corresponding to the light intensity outside the vehicle.
[0113] In this embodiment, if the light intensity outside the vehicle is greater than or equal to the light intensity threshold, the controller 11 performs weighted calculation according to the first weight corresponding to the light intensity inside the vehicle and the second weight corresponding to the light intensity outside the vehicle to obtain the current ambient light intensity. If the light intensity outside the vehicle is less than the light intensity threshold, the controller 11 performs weighted calculation according to the third weight corresponding to the light intensity inside the vehicle and the fourth weight corresponding to the light intensity outside the vehicle to obtain the current ambient light intensity.
[0114] Step S500: adjusting the display brightness of the display device of the vehicle according to the current ambient light intensity.
[0115] In this embodiment, the controller 11 determines the brightness value of the display device that matches the current ambient light intensity, and then adjusts the display brightness of the display device 2 according to the brightness value, so that the display brightness of the display device 2 matches the current ambient light intensity.
[0116] Optionally, the display brightness can be adjusted according to the current ambient light intensity in a variety of ways. For example, a plurality of display brightness gradients (e.g., display brightness gradients 1, 2, 3, and 4) are predetermined, and different display brightness gradients correspond to different brightness values. The controller 11 can determine a target brightness gradient that matches the current ambient light intensity, and then send a control signal to the display device 2 to control the display device to display using the brightness value corresponding to the target brightness gradient. For another example, a plurality of candidate display modes (e.g., cloudy mode, day mode, night mode) are predetermined, and different display modes correspond to different brightness values. The controller 11 can determine a target display mode that matches the current ambient light intensity, and then send a control signal to the display device 2 to control the display device to display using the brightness value corresponding to the target display mode.
[0117] For example, see Figure 6 and Figure 7 . Figure 6 and Figure 7 It is a schematic diagram of an application scenario of the display brightness adjustment method according to an embodiment of the present invention. Figure 6 and Figure 7The vehicle A shown includes a display brightness adjustment device 1 and a display device 2.
[0118] First, referring to Figure 6 , at the first moment, the vehicle A is about to enter the garage B, the speed information of the vehicle A is 13 Km / h, and the display brightness of the display device 2 is A1. Further, referring to Figure 7 , at the second moment, the vehicle A drives into the garage B to prepare for parking, and the speed information of the vehicle A is 5 Km / h. The current speed range corresponding to the current speed information of 5 Km / h at the current moment (i.e., the second moment) is 0 - 10 Km / h, and the historical speed range corresponding to the historical speed information of 13 Km / h at the historical moment (i.e., the first moment) is 11 Km / h - 60 Km / h. The display brightness adjustment device 1 determines that the current speed range is different from the historical speed range, and determines the corresponding detection duration to be 4 seconds according to the current speed information of 5 Km / h. Then the display brightness adjustment device 1 obtains a plurality of ambient light intensity information sampled within 4 seconds after the second moment, and determines the current ambient light intensity to be A2 according to the plurality of ambient light intensity information. Further, the display brightness adjustment device 1 determines the brightness value A3 that matches the current ambient light intensity A2, and adjusts the display brightness of the display device 2 according to the brightness value A3, so that the display brightness of the display device 2 matches the current ambient light intensity A2. Further, after a period of time, the user finishes parking and powers off each device of the vehicle. Thus, the display brightness adjustment is completed.
[0119] In the embodiment of the present invention, by determining the corresponding current detection duration according to the current speed information of the vehicle, then obtaining a plurality of ambient light intensity information sampled within the current detection duration, respectively determining the external light intensity and the internal light intensity according to the plurality of ambient light intensity information, and further performing weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity, so as to adjust the display brightness of the vehicle display device according to the current ambient light intensity. Thus, the brightness of the display device can be effectively adjusted, so that the brightness of the display device can adapt to the current environment, which can improve the user experience and driving safety, and has high applicability.
[0120] Figure 8 is a schematic diagram of the display brightness adjustment device according to the embodiment of the present invention. As Figure 8As shown in the figure, the display brightness adjustment device of this embodiment includes a detection unit 501, a sampling unit 502, a light intensity determination unit 503, a calculation unit 504, and a brightness adjustment unit 505. Among them, the detection unit 501 is used to determine the corresponding current detection duration according to the current speed information of the vehicle. The sampling unit 502 is used to obtain a plurality of ambient light intensity information sampled within the current detection duration. The light intensity determination unit 503 is used to determine the external light intensity and the internal light intensity of the vehicle respectively according to the plurality of ambient light intensity information. The calculation unit 504 is used to perform weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity. The brightness adjustment unit 505 is used to adjust the display brightness of the display device of the vehicle according to the current ambient light intensity.
[0121] In the embodiment of the present invention, by determining the corresponding current detection duration according to the current speed information of the vehicle, then obtaining a plurality of ambient light intensity information sampled within the current detection duration, determining the external light intensity and the internal light intensity of the vehicle respectively according to the plurality of ambient light intensity information, and further performing weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity, so as to adjust the display brightness of the vehicle display device according to the current ambient light intensity. Thereby, the brightness of the display device can be effectively adjusted, so that the brightness of the display device can adapt to the current environment, which can improve the user experience and driving safety, and has high applicability.
[0122] Figure 9 is a schematic diagram of the electronic device according to the embodiment of the present invention. As Figure 9 shown, Figure 9 The electronic device shown is a general display brightness adjustment device, which includes a general computer hardware structure, and at least includes a processor 510 and a memory 520. The processor 510 and the memory 520 are connected through a bus 530. The memory 520 is suitable for storing instructions or programs executable by the processor 510. The processor 510 can be an independent microprocessor or a set of one or more microprocessors. Thus, the processor 510 executes the instructions stored in the memory 520, thereby executing the method flow of the embodiment of the present invention as described above to implement the processing of data and the control of other devices. The bus 530 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display first controller 540, the display device, and the input / output (I / O) device 550. The input / output (I / O) device 550 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices well known in the art. Typically, the input / output (I / O) device 550 is connected to the system through an input / output (I / O) first controller 560.
[0123] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device (equipment), or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can be implemented as a computer program product on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0124] The present application is described with reference to the flowcharts of methods, devices (equipment), and computer program products according to the embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.
[0125] These computer program instructions can be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device that implements the process Figure 1 specified functions in one or more of these processes.
[0126] These computer program instructions can also be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices produce a device for implementing the Figure 1 specified functions in one or more of these processes.
[0127] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, and the computer-readable program is used for a computer to execute the above-mentioned partial or all method embodiments.
[0128] That is, those skilled in the art can understand that all or part of the steps in implementing the above-mentioned method embodiments can be completed by a program to specify relevant hardware. The program is stored in a storage medium, including several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical disks, etc., which can store program codes.
[0129] The above are only the preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various modifications and changes can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A display brightness adjustment method, characterized in that, The method includes: Determining a corresponding current detection duration according to the current speed information of the vehicle; Obtaining a plurality of ambient light intensity information sampled within the current detection duration; Respectively determining the external light intensity and the internal light intensity of the vehicle according to the plurality of ambient light intensity information; Performing weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity; Adjusting the display brightness of the display device of the vehicle according to the current ambient light intensity.
2. The method according to claim 1, wherein The determining a corresponding current detection duration according to the current speed information of the vehicle includes: In response to receiving a brightness adjustment instruction, obtaining the current speed information; Determining the current detection duration according to the corresponding relationship between the vehicle speed and the detection duration and the current speed information.
3. The method according to claim 1, wherein The determining a corresponding current detection duration according to the current speed information of the vehicle includes: Obtaining the current speed information of the vehicle; In response to the speed change between the current speed information and the historical speed information satisfying the detection duration change condition, determining the current detection duration according to the current speed information.
4. The method according to claim 1, wherein The plurality of ambient light intensity information includes a plurality of external ambient light intensities and a plurality of internal ambient light intensities. The respectively determining the external light intensity and the internal light intensity according to the plurality of ambient light intensity information includes: Calculating the average value of the plurality of external ambient light intensities to determine the external light intensity; Calculating the average value of the plurality of internal ambient light intensities to determine the internal light intensity.
5. The method according to claim 1, wherein The weight information changes based on the change of the external light intensity.
6. The method according to claim 5, characterized in that, The weight information is determined by the following method: In response to the external light intensity being greater than or equal to the light intensity threshold, respectively determining the weights corresponding to the internal light intensity and the external light intensity as the first weight and the second weight; In response to the external light intensity being less than the light intensity threshold, respectively determining the weights corresponding to the internal light intensity and the external light intensity as the third weight and the fourth weight; Wherein, the first weight is less than the third weight, and the second weight is greater than the fourth weight.
7. The method according to claim 1, characterized in that, The adjusting the display brightness of the display device of the vehicle according to the current ambient light intensity includes: Determining a brightness value matching the current ambient light intensity; Adjusting the display brightness of the display device according to the brightness value.
8. A display brightness adjustment device, characterized in that, The display brightness adjustment device includes: A sensor module; A controller, configured to determine a corresponding current detection duration according to the current speed information of the vehicle, obtain a plurality of ambient light intensity information sampled within the current detection duration through the sensor module, respectively determine the external light intensity and the internal light intensity according to the plurality of ambient light intensity information, perform weighted calculation according to the weight information corresponding to the external light intensity and the internal light intensity to determine the current ambient light intensity, and adjust the display brightness of the display device of the vehicle according to the current ambient light intensity.
9. The display brightness adjustment device according to claim 8, characterized in that, The sensor module includes: A first sensor, configured to collect a plurality of internal ambient light intensities for transmission to the controller; A second sensor, configured to collect a plurality of external ambient light intensities for transmission to the controller; Among them, the multiple ambient light intensity information includes multiple in-vehicle ambient light intensities and multiple out-of-vehicle ambient light intensities.
10. A vehicle, characterized in that, The vehicle includes: A vehicle body; A display device; The display brightness adjustment device according to any one of claims 8-9.
11. A display brightness adjustment device, characterized in that, The device includes: A detection unit for determining a corresponding current detection duration according to the current speed information of the vehicle; A sampling unit for obtaining multiple ambient light intensity information sampled within the current detection duration; A light intensity determination unit for respectively determining the out-of-vehicle light intensity and the in-vehicle light intensity according to the multiple ambient light intensity information; A calculation unit for performing weighted calculation according to the weight information corresponding to the out-of-vehicle light intensity and the in-vehicle light intensity to determine the current ambient light intensity; A brightness adjustment unit for adjusting the display brightness of the display device of the vehicle according to the current ambient light intensity.
12. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, The computer program instructions, when executed by a processor, implement the method according to any one of claims 1-7.
13. An electronic device, characterized in that, The electronic device includes: A memory and a processor, the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-7.