CN117854453A - Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle - Google Patents

Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle Download PDF

Info

Publication number
CN117854453A
CN117854453A CN202311755067.1A CN202311755067A CN117854453A CN 117854453 A CN117854453 A CN 117854453A CN 202311755067 A CN202311755067 A CN 202311755067A CN 117854453 A CN117854453 A CN 117854453A
Authority
CN
China
Prior art keywords
screen brightness
brightness level
calculation time
calculation
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311755067.1A
Other languages
Chinese (zh)
Inventor
孙佳欣
王黎黎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202311755067.1A priority Critical patent/CN117854453A/en
Publication of CN117854453A publication Critical patent/CN117854453A/en
Pending legal-status Critical Current

Links

Landscapes

  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention discloses a method, a device, equipment, a medium and a vehicle for controlling the brightness of an in-vehicle screen. The method comprises the following steps: after determining that the vehicle starts the automatic screen brightness adjusting function, completing calculation of a screen brightness level value in a first calculation time; and in the second calculation time, the screen brightness grade value is calculated according to the first calculation time to switch the screen brightness grade step by step, the calculation of the screen brightness grade value is completed again, and in the third calculation time, the screen brightness grade is switched according to the screen brightness grade value obtained by the calculation again. The method can calculate the screen brightness level value in real time, and gradually complete screen brightness gear switching according to the calculated screen brightness level value, and the adjusted screen brightness can be accurately adapted to the external environment.

Description

Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle
Technical Field
The embodiment of the invention relates to the technical field of vehicle control, in particular to a method, a device, equipment, a medium and a vehicle for controlling the brightness of an in-vehicle screen.
Background
Along with the development of mobile internet and internet of things, the functions of the vehicle-mounted equipment are increasingly powerful, and the vehicle-mounted screen is increasingly applied to intelligent automobiles. The vehicle-mounted central control screen only provides simple functions such as common navigation and media playing from the early stage, and is developed to various diversified and personalized operations on the screen nowadays, and the vehicle-mounted central control screen can realize complex functions and gorgeous effects.
When a vehicle enters an underground garage or a path tunnel, the external environment light suddenly decreases, so that the screen backlight brightness of the vehicle-mounted central control screen is too glaring to influence the running of a driver, and the driver is required to manually adjust the screen brightness at the moment so as to adapt to the brightness of the current driving environment. However, the adjustment mode can lead to jump of the screen brightness, and the screen brightness can not be accurately adapted to the external environment due to manual adjustment of the screen brightness by a driver.
Disclosure of Invention
The invention provides a method, a device, equipment, a medium and a vehicle for controlling the brightness of a screen in a vehicle, which are used for solving the problems that the brightness of the screen jumps and the brightness of the screen is not regulated accurately enough due to the existing regulation mode.
According to an aspect of the present invention, there is provided a method of controlling brightness of an in-vehicle screen, including:
after determining that the vehicle starts the automatic screen brightness adjusting function, completing calculation of a screen brightness level value in a first calculation time;
in the second calculation time, the screen brightness grade value is calculated according to the first calculation time to switch the screen brightness grade step by step, the calculation of the screen brightness grade value is completed again, and in the third calculation time, the screen brightness grade value is switched according to the recalculated screen brightness grade value;
wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time.
According to another aspect of the present invention, there is provided an apparatus for controlling brightness of an in-vehicle screen, comprising:
the calculation module is used for completing calculation of the screen brightness level value in a first calculation time after determining that the vehicle starts the screen brightness automatic adjustment function;
the switching module is used for switching the screen brightness level step by step according to the screen brightness level value obtained by calculation in the first calculation time in the second calculation time, simultaneously, completing the calculation of the screen brightness level value again, and switching the screen brightness level according to the screen brightness level value obtained by calculation again in the third calculation time;
wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time.
According to another aspect of the present invention, there is provided a control apparatus, the electronic apparatus including:
at least one processor;
and a memory communicatively coupled to the at least one processor;
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method for controlling the in-vehicle screen brightness according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a method of controlling in-vehicle screen brightness according to any one of the embodiments of the present invention.
According to the technical scheme, after the automatic brightness adjusting function of the screen is determined to be started, the calculation of the brightness level value of the screen is completed within the first calculation time; in the second calculation time, the screen brightness grade value is calculated according to the first calculation time to switch the screen brightness grade step by step, the calculation of the screen brightness grade value is completed again, and in the third calculation time, the screen brightness grade value is switched according to the recalculated screen brightness grade value; wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time. The problem that the screen brightness jumps and the screen brightness is not accurately regulated due to the existing regulation mode is solved, and the beneficial effect that the screen brightness obtained through regulation can be accurately adapted to the external environment is achieved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for controlling brightness of an in-vehicle screen according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for controlling the brightness of an in-vehicle screen according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for controlling the brightness of an in-vehicle screen according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for controlling the brightness of an in-vehicle screen according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart of a method for controlling the brightness of an in-vehicle screen according to an exemplary embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for controlling brightness of an in-vehicle screen according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural view of a control apparatus for controlling the brightness of an in-vehicle screen according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a vehicle according to a seventh embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention. It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those skilled in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Example 1
Fig. 1 is a flowchart of a method for controlling the luminance of an in-vehicle screen according to an embodiment of the present invention, where the method is applicable to a situation where the intensity of the light of the external environment varies strongly when the vehicle is running, and the method may be performed by a device for controlling the luminance of the in-vehicle screen, where the device may be implemented by software and/or hardware and is generally integrated on a control device, and in this embodiment, the control device includes but is not limited to: and the vehicle-mounted controller.
As shown in fig. 1, a method for controlling brightness of an in-vehicle screen according to an embodiment of the present invention includes the following steps:
s110, after the automatic adjustment function of the screen brightness is determined to be started, the calculation of the screen brightness level value is completed within the first calculation time.
In this embodiment, whether the vehicle starts the screen brightness automatic adjustment function may be determined in various manners, for example, the vehicle may be determined to start the screen brightness automatic adjustment function after detecting a corresponding instruction, and the corresponding instruction is automatically generated after the user starts the screen brightness automatic adjustment function button.
After the screen brightness automatic adjusting function is started, the brightness of the vehicle-mounted screen can jump between automatic brightness gears along with the change of external environment light.
In this embodiment, after the automatic screen brightness adjusting function is started, in order to avoid frequent or uneven screen brightness changes, detection of external ambient light and calculation of a screen brightness level value may be performed according to a fixed frequency, and for example, may be set to X seconds detection and calculation once, and specific values of X may be set in a customized manner.
Wherein, the first calculation time may be understood as a first X seconds, and completing the calculation of the screen brightness level value in the first X seconds may include: the brightness of the external environment light is detected once in the first X seconds, and the screen brightness level is determined according to the brightness of the external environment light. The method for detecting the external environment brightness is various, and optionally, the external environment brightness can be determined by shooting an external environment image through a vehicle-mounted camera and detecting the brightness of the external environment image; preferably, the brightness of the external environment light can be directly detected through the light sensor, and the brightness value obtained by the detection mode is more accurate.
S120, in the second calculation time, the screen brightness grade value is calculated according to the first calculation time to switch the screen brightness grade step by step, the calculation of the screen brightness grade value is completed again, and in the third calculation time, the screen brightness grade value is switched according to the recalculated screen brightness grade value.
Wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time.
Note that, the time values of the first calculation time, the second calculation time, and the third calculation time may be the same or different, and are not particularly limited herein.
The second calculation time may be understood as the second X seconds, and the third calculation time may be understood as the third X seconds.
In this embodiment, if the screen brightness level value calculated in the first calculation time is 5, but the current screen brightness level is 2, the screen brightness levels need to be switched step by step according to the order from 2 to 3 to 4 to 5, and the switching between each level needs to be completed in X seconds, so the switching from 2 to 5 needs to be completed in 3X seconds (i.e. within 3X seconds). Meanwhile, the calculation of the screen brightness level value needs to be completed again within X seconds when the screen brightness level is switched from 2 to 3, the latest screen brightness level value is obtained, the current screen brightness level is adjusted from 3 to the latest screen brightness level value step by step in the next X seconds, namely, the third calculation time is started, and the like.
In this embodiment, the screen brightness level switching is a step-by-step switching, instead of a jump (instead of directly jumping from level 1 to level 4), and in the step-by-step switching process, the screen brightness level value is also detected and calculated at a fixed frequency, and a new screen brightness level is matched according to the latest calculated screen brightness level value, and the screen brightness level switching is performed according to the latest screen brightness level.
It should be noted that the process of completing the calculation of the brightness level value of the screen within each X seconds is the same, and will not be described here.
The first embodiment of the invention provides a method for controlling the brightness of an in-vehicle screen, which comprises the steps of firstly, after determining that the vehicle starts an automatic screen brightness adjusting function, completing calculation of a screen brightness grade value in a first calculation time; and then in the second calculation time, the screen brightness grade value is calculated according to the first calculation time to switch the screen brightness grade step by step, the calculation of the screen brightness grade value is completed again, and in the third calculation time, the screen brightness grade value is switched according to the recalculated screen brightness grade value. The method can calculate the screen brightness level value in real time, and gradually complete screen brightness gear switching according to the calculated screen brightness level value, so that jump of the screen brightness is effectively avoided, and the adjusted screen brightness can be accurately adapted to the external environment.
On the basis of the above embodiments, modified embodiments of the above embodiments are proposed, and it is to be noted here that only the differences from the above embodiments are described in the modified embodiments for the sake of brevity of description.
In one embodiment, the calculating process of the screen brightness level value includes:
detecting the brightness value of external environment light through the light sensor of the whole vehicle;
matching the brightness value of the external environment light to a corresponding screen brightness level value through a preset table;
the preset table includes the corresponding relation of the brightness value of the external environment light, the screen brightness grade value and the pulse width modulation value (Pulse Width Modulation, PWM).
In the present embodiment, the luminance value of the external ambient light may be detected by the light sensors mounted on the vehicle, the number and mounting positions of the light sensors are not particularly limited herein, and various cases may be included, and are not listed here.
The light sensor is a high-performance sensor developed by utilizing a laser technology and mainly comprises a photosensitive element, and is mainly divided into four types of an ambient light sensor, an infrared light sensor, a solar light sensor and an ultraviolet light sensor.
The preset table can be a preset screen brightness level comparison table, and the brightness value of the external environment light can be matched with the screen brightness level value according to the corresponding relation in the table.
Table 1 shows a screen brightness level comparison table according to an embodiment of the present invention, wherein the corresponding screen brightness level value of the ambient light brightness value is 1 and the corresponding PWM value is 9% in the interval 0-250 as shown in Table 1; the corresponding screen brightness level value of the ambient light brightness value in the 251-3000 interval is 2, and the corresponding PWM value is 13%; the corresponding screen brightness level value of the ambient light brightness value in the 3001-10000 interval is 3, and the corresponding PWM value is 27%; the corresponding screen brightness level value of the ambient light brightness value in the interval 10001-90000 is 4, and the corresponding PWM value is 57%; the ambient light brightness value corresponds to a screen brightness level value of 5 and a corresponding PWM value of 83% in the interval 90001-1371071.
Ambient light level value Screen brightness level value PWM
0-250 1 9%
251-3000 2 13%
3001-10000 3 27%
10001-90000 4 57%
90001-1371071 5 83%
TABLE 1
Example two
Fig. 2 is a flow chart of a method for controlling the brightness of an in-vehicle screen according to a second embodiment of the present invention, where the second embodiment is optimized based on the above embodiments. For details not yet described in detail in this embodiment, refer to embodiment one.
As shown in fig. 2, a method for controlling the brightness of an in-vehicle screen according to a second embodiment of the present invention includes the following steps:
s210, after the automatic adjustment function of the screen brightness is determined to be started, the calculation of the screen brightness level value is completed within the first calculation time.
And S220, if the gear of the current screen brightness is A and the screen brightness grade value calculated in the first calculation time is B, switching from the screen brightness gear A to the screen brightness gear B is completed step by step in B-A calculation times.
Wherein the value represented by B is larger than the value represented by A.
For example, if the current screen brightness level is 1 and the calculated screen brightness level value is 5 in the first X seconds, it is necessary to complete the shift from level 1 to level 2 to level 3 to level 4 to level 5 in the next 4X seconds. Specifically, the shift from gear 1 to gear 2 is completed within 1X seconds, the shift from gear 1 to gear 2 to gear 3 is completed within 2X seconds, and the shift from gear 1 to gear 2 to gear 3 to gear 4 is completed within 3X seconds.
Further, if the screen brightness shift positions a+1 and B are the same, the switching from the screen brightness shift position a to the screen brightness shift position B is completed within the second calculation time.
For example, if the current screen brightness level is 1 and the calculated screen brightness level value is 2 in the first X seconds, the switching from the screen brightness level 1 to the screen brightness level 2 is completed in the second X seconds.
S230, switching from the screen brightness gear A to the screen brightness gear A+1 is completed in the second calculation time, and if any one of the screen brightness grade values A+2 to B is recalculated in the second calculation time, switching from the screen brightness gear A+1 to the screen brightness gear A+2 is completed in the third calculation time.
For example, the screen brightness shift from the shift position 1 to the shift position 2 is completed in the second X seconds, at the same time, the current screen brightness level value needs to be recalculated in the second X seconds, if the recalculated screen brightness level value is any one of the values from 3 to 5, the shift from the shift position 2 to the shift position 3 to the shift position 4 to the shift position 5 can be continuously completed, the screen brightness shift from the shift position 2 to the shift position 3 is continuously switched in the next X seconds, namely, the third X seconds according to the switching sequence, and the screen brightness level value is recalculated in the third X seconds at the same time.
Further, if the screen brightness shift positions a+2 and B are the same, the switching from the screen brightness shift position a+1 to the screen brightness shift position B is completed within the third calculation time.
The screen brightness shift is switched from the shift a=1 to the shift a+1=2 in the second X seconds, meanwhile, the current screen brightness level value needs to be recalculated in the second X seconds, and if the current screen brightness level value is a+2=3 and b=3, the screen brightness shift is continuously switched from the shift 2 to the shift 3 in the third X seconds.
The method for controlling the brightness of the screen in the vehicle provided by the second embodiment of the invention embodies a gear switching mode corresponding to the recalculation in the second calculation time when the brightness level value of the screen is any one of the values from A+2 to B.
Example III
Fig. 3 is a flowchart of a method for controlling the brightness of an in-vehicle screen according to a third embodiment of the present invention, where the third embodiment is optimized based on the first embodiment. For details not yet described in detail in this embodiment, refer to embodiment one.
As shown in fig. 3, a method for controlling the brightness of an in-vehicle screen according to a third embodiment of the present invention includes the following steps:
s310, after the automatic adjustment function of the screen brightness is determined to be started, the calculation of the screen brightness level value is completed within the first calculation time.
S320, if the level of the current screen brightness is A and the screen brightness level value obtained by calculation in the first calculation time is B, switching from the screen brightness level A to the screen brightness level B is completed step by step in B-A calculation times.
Wherein the value represented by B is larger than the value represented by A.
For example, if the current screen brightness level is 1 and the calculated screen brightness level value is 5 in the first X seconds, it is necessary to complete the shift from level 1 to level 2 to level 3 to level 4 to level 5 in the next 4X seconds. Specifically, the shift from gear 1 to gear 2 is completed within 1X seconds, the shift from gear 1 to gear 2 to gear 3 is completed within 2X seconds, and the shift from gear 1 to gear 2 to gear 3 to gear 4 is completed within 3X seconds.
S330, switching from the screen brightness gear A to the screen brightness gear A+1 is completed in the second calculation time, and if the screen brightness grade value is calculated again to be A+1 in the second calculation time, the screen brightness gear is maintained at the screen brightness gear A+1 in the third calculation time.
For example, the screen brightness shift from the shift 1 to the shift 2 is completed in the second X seconds, and at the same time, the current screen brightness level value needs to be recalculated in the second X seconds, if the recalculated screen brightness level value is 2, the screen brightness shift that is not completed needs to be discarded, the screen brightness shift is maintained in the shift 2 in the third X seconds, and at the same time, the screen brightness level value needs to be recalculated in the third X seconds.
The method for controlling the brightness of the screen in the vehicle provided by the third embodiment of the invention embodies a gear switching mode corresponding to the screen brightness level value A+1 obtained by recalculating in the second calculation time.
Example IV
Fig. 4 is a flowchart of a method for controlling the brightness of an in-vehicle screen according to a fourth embodiment of the present invention, where the fourth embodiment is optimized based on the first embodiment. For details not yet described in detail in this embodiment, refer to embodiment one.
As shown in fig. 4, a method for controlling the brightness of an in-vehicle screen according to a fourth embodiment of the present invention includes the following steps:
s410, after the automatic adjustment function of the screen brightness is determined to be started, the calculation of the screen brightness level value is completed within the first calculation time.
And S420, if the gear of the current screen brightness is A and the screen brightness grade value calculated in the first calculation time is B, switching from the screen brightness gear A to the screen brightness gear B is completed step by step in B-A calculation times.
Wherein the value represented by B is larger than the value represented by A.
For example, if the current screen brightness level is 1 and the calculated screen brightness level value is 5 in the first X seconds, it is necessary to complete the shift from level 1 to level 2 to level 3 to level 4 to level 5 in the next 4X seconds. Specifically, the shift from gear 1 to gear 2 is completed within 1X seconds, the shift from gear 1 to gear 2 to gear 3 is completed within 2X seconds, and the shift from gear 1 to gear 2 to gear 3 to gear 4 is completed within 3X seconds.
S430, switching from the screen brightness gear A to the screen brightness gear A+1 is completed in the second calculation time, and if the screen brightness grade value is calculated again in the second calculation time to be A, switching from the screen brightness gear A+1 to the screen brightness gear A is completed in the third calculation time.
For example, the screen brightness shift is completed from the shift 1 to the shift 2 in the second X seconds, at the same time, the current screen brightness level value needs to be recalculated in the second X seconds, if the recalculated screen brightness level value is 1, the screen brightness shift that is not completed needs to be discarded, the screen brightness shift is switched to the shift 1 in the third X seconds, and at the same time, the screen brightness level value needs to be recalculated in the third X seconds.
The fourth embodiment of the invention provides a method for controlling the brightness of an in-vehicle screen, which embodies a gear switching mode corresponding to the recalculation of the brightness level value of the screen in the second calculation time to be A.
The embodiment of the invention provides several specific implementation modes based on the technical scheme of each embodiment.
As a specific implementation manner of the present embodiment, fig. 5 is a flowchart of a method for controlling luminance of an in-vehicle screen according to an exemplary embodiment of the present invention, where, as shown in fig. 5, the method includes the following steps:
obtaining a current screen brightness level value in the vehicle as A, calculating a target brightness level value B of the screen brightness level value after X seconds, switching the gear into a-1 gear in X seconds if B corresponds to the gear 1 and A is larger than B, and switching the gear into a+1 gear in X seconds if B corresponds to the gear 1 and A is smaller than or equal to B; if B corresponds to the gear 2 and A is larger than B, the gear is switched to the A-1 gear in X seconds, and if B corresponds to the gear 2 and A is smaller than or equal to B, the gear is switched to the A+1 gear in X seconds; if B corresponds to the gear 3 and A is larger than B, the gear is switched to the A-1 gear in X seconds, and if B corresponds to the gear 3 and A is smaller than or equal to B, the gear is switched to the A+1 gear in X seconds; if B corresponds to the gear 4 and A is larger than B, the gear is switched to the A-1 gear in X seconds, and if B corresponds to the gear 4 and A is smaller than or equal to B, the gear is switched to the A+1 gear in X seconds; if B corresponds to gear 5 and A is greater than B, the gear is switched to A-1 in X seconds, and if B corresponds to gear 5 and A is less than or equal to B, the gear is switched to A+1 in X seconds.
Example five
Fig. 6 is a schematic structural diagram of a device for controlling luminance of an in-vehicle screen according to a fifth embodiment of the present invention, where the device is applicable to a situation where a vehicle is traveling with a strong change in the intensity of illumination of the external environment, and the device may be implemented by software and/or hardware and is generally integrated on a control device of the vehicle.
As shown in fig. 6, the apparatus includes: a calculation module 110 and a switching module 120.
A calculation module 110, configured to complete calculation of a screen brightness level value within a first calculation time after determining that the vehicle turns on the automatic screen brightness adjustment function;
the switching module 120 is configured to, in a second computing time, perform step-by-step switching of the screen brightness level according to the screen brightness level obtained by computing in the first computing time, and perform step-by-step switching of the screen brightness level according to the screen brightness level obtained by computing in a third computing time;
wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time.
In this embodiment, the device firstly completes the calculation of the screen brightness level value in the first calculation time after determining that the vehicle turns on the automatic screen brightness adjusting function through the calculation module 110; then, in the second calculation time, the screen brightness grade value is calculated according to the first calculation time to perform screen brightness grade step-by-step switching, the calculation of the screen brightness grade value is completed again, and in the third calculation time, the screen brightness grade value is calculated according to the recalculated screen brightness grade value to perform screen brightness grade switching; wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time.
The embodiment provides a device for controlling the brightness of a screen in a vehicle, which can enable the adjusted screen brightness to be accurately adapted to the external environment.
Further, the calculating process of the screen brightness level value comprises the following steps:
detecting the brightness value of external environment light through the light sensor of the whole vehicle;
and matching the brightness value of the external environment light with a corresponding screen brightness level value through a preset table.
The preset table comprises the corresponding relation among the brightness value of the external environment light, the screen brightness level value and the pulse width modulation value.
Further, if the gear where the current screen brightness is located is ase:Sub>A, and the screen brightness level value calculated in the first calculation time is B, the switching from the screen brightness gear ase:Sub>A to the screen brightness gear B is completed step by step in the B-ase:Sub>A calculation time.
If the screen brightness shift A+1 is the same as the screen brightness shift B, switching from the screen brightness shift A to the screen brightness shift B is completed in the second calculation time.
Based on the above technical solution, in the second calculation time, the switching from the screen brightness gear a to the screen brightness gear a+1 is completed, and if any one of the screen brightness level values a+2 to B is recalculated in the second calculation time, the switching from the screen brightness gear a+1 to the screen brightness gear a+2 is completed in the third calculation time. And if the screen brightness shift positions A+2 and B are the same, completing the switching from the screen brightness shift position A+1 to the screen brightness shift position B in the third calculation time.
And in the second calculation time, switching from the screen brightness gear A to the screen brightness gear A+1 is completed, and if the screen brightness grade value is calculated again to be A+1 in the second calculation time, the screen brightness gear is maintained to be A+1 in the third calculation time.
And in the second calculation time, switching from the screen brightness gear A to the screen brightness gear A+1 is completed, and if the screen brightness grade value is calculated again in the second calculation time to be A, switching from the screen brightness gear A+1 to the screen brightness gear A is completed in the third calculation time.
The device for controlling the brightness of the screen in the vehicle can execute the method for controlling the brightness of the screen in the vehicle provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 7 shows a schematic diagram of the structure of a control device 10 that may be used to implement an embodiment of the present invention. The control device may be an on-board controller. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the control device 10 includes at least one processor 11, and a memory such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the control device 10 can also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A plurality of components in the control device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the control device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, for example, a method of controlling the brightness of an in-vehicle screen.
In some embodiments, the method of controlling in-vehicle screen brightness may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the control device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more of the steps of the method of controlling in-vehicle screen brightness described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method of controlling the in-vehicle screen brightness in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the 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 the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may 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. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a control device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the control device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background 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 background, 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: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
Example seven
Fig. 8 is a schematic structural diagram of a vehicle according to a seventh embodiment of the present invention, and as shown in fig. 8, the vehicle may include a control device according to a sixth embodiment of the present invention.
The vehicle can execute the method for controlling the brightness of the screen in the vehicle, which is provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method of controlling the brightness of an in-vehicle screen, the method comprising:
after determining that the vehicle starts the automatic screen brightness adjusting function, completing calculation of a screen brightness level value in a first calculation time;
in the second calculation time, the screen brightness grade value is calculated according to the first calculation time to switch the screen brightness grade step by step, the calculation of the screen brightness grade value is completed again, and in the third calculation time, the screen brightness grade value is switched according to the recalculated screen brightness grade value;
wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time.
2. The method of claim 1, wherein the calculating of the screen brightness level value comprises:
detecting the brightness value of external environment light through the light sensor of the whole vehicle;
matching the brightness value of the external environment light to a corresponding screen brightness level value through a preset table;
the preset table comprises the corresponding relation among the brightness value of the external environment light, the screen brightness level value and the pulse width modulation value.
3. The method of claim 1, wherein if the screen brightness level value calculated in the first calculation time is B, switching from the screen brightness level ase:Sub>A to the screen brightness level B is completed step by step in B-ase:Sub>A calculation times.
4. A method according to claim 3, wherein the switching from the screen brightness level a to the screen brightness level a+1 is completed in the second calculation time, and if the screen brightness level value is any one of a+2 to B calculated again in the second calculation time, the switching from the screen brightness level a+1 to the screen brightness level a+2 is completed in the third calculation time.
5. A method according to claim 3, wherein if the screen brightness levels a+1 and B are the same, the switching from the screen brightness level a to the screen brightness level B is completed within the second calculation time.
6. The method of claim 4, wherein if the screen brightness levels a+2 and B are the same, switching from the screen brightness level a+1 to the screen brightness level B is completed within the third calculation time.
7. A method according to claim 3, wherein the switching from the screen brightness level a to the screen brightness level a+1 is completed in the second calculation time, and if the screen brightness level value is a+1 in the second calculation time, the screen brightness level is maintained at the screen brightness level a+1 in the third calculation time.
8. A method according to claim 3, wherein the switching from the screen brightness level a to the screen brightness level a+1 is completed in the second calculation time, and if the screen brightness level value a is recalculated in the second calculation time, the switching from the screen brightness level a+1 to the screen brightness level a is completed in the third calculation time.
9. An apparatus for controlling the brightness of an in-vehicle screen, the apparatus comprising:
the calculation module is used for completing calculation of the screen brightness level value in a first calculation time after determining that the vehicle starts the screen brightness automatic adjustment function;
the switching module is used for switching the screen brightness level step by step according to the screen brightness level value obtained by calculation in the first calculation time in the second calculation time, completing calculation of the screen brightness level value again, and switching the screen brightness level according to the screen brightness level value obtained by calculation in the third calculation time;
wherein the end time of the first calculation time is earlier than the start time of the second calculation time, and the end time of the second calculation time is earlier than the start time of the third calculation time.
10. A control apparatus, characterized in that the control apparatus comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of controlling in-vehicle screen brightness of any one of claims 1-8.
11. A computer readable storage medium storing computer instructions for causing a processor to perform the method of controlling in-vehicle screen brightness of any one of claims 1-8.
12. A vehicle, characterized in that the vehicle comprises the control apparatus according to claim 10.
CN202311755067.1A 2023-12-18 2023-12-18 Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle Pending CN117854453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311755067.1A CN117854453A (en) 2023-12-18 2023-12-18 Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311755067.1A CN117854453A (en) 2023-12-18 2023-12-18 Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle

Publications (1)

Publication Number Publication Date
CN117854453A true CN117854453A (en) 2024-04-09

Family

ID=90542795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311755067.1A Pending CN117854453A (en) 2023-12-18 2023-12-18 Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle

Country Status (1)

Country Link
CN (1) CN117854453A (en)

Similar Documents

Publication Publication Date Title
CN113052047B (en) Traffic event detection method, road side equipment, cloud control platform and system
CN117854453A (en) Method, device, equipment, medium and vehicle for controlling brightness of screen in vehicle
CN111489568A (en) Traffic signal lamp regulation and control method and device and computer readable storage medium
CN116794619A (en) Radar debugging processing method and device, electronic equipment and storage medium
CN117002274A (en) Torsion clearing slope control method and device, vehicle and storage medium
CN116923372A (en) Driving control method, device, equipment and medium
CN115762503A (en) Vehicle-mounted voice system, vehicle-mounted voice autonomous learning method, device and medium
CN110728721B (en) Method, device and equipment for acquiring external parameters
CN113823246A (en) Screen brightness adjusting method and device and electronic equipment
CN113442910B (en) Method, device, equipment and readable storage medium for parking assistance
CN110849327A (en) Shooting blind area length determination method and device and computer equipment
CN116252706A (en) Light switching method, device, equipment and medium
CN116176737B (en) Vehicle control method and device, vehicle and storage medium
CN111243300B (en) Method and device for acquiring lost time length
CN112507951B (en) Indicating lamp identification method, indicating lamp identification device, indicating lamp identification equipment, road side equipment and cloud control platform
CN114973740B (en) Method and device for determining voice broadcasting time and electronic equipment
CN116587923A (en) Power consumption management method and device, electronic equipment and storage medium
CN117315607A (en) Image processing method, device, equipment and medium
CN114927097B (en) Method and device for determining brightness duty ratio of display frame of display panel and storage medium
CN116224755A (en) Time correction method, device, equipment and medium
CN116512838A (en) Control method, device, equipment and medium of air suspension
CN116161016A (en) Automatic parking method, device, equipment and medium for electric vehicle
CN116198516A (en) Vehicle speed splicing method and device, electronic equipment and storage medium
CN116467767A (en) Obstacle trajectory generation method, obstacle trajectory generation device, computer device, and storage medium
CN113963326A (en) Traffic sign detection method, device, equipment, medium and automatic driving vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination