Disclosure of Invention
In view of the above, it is necessary to provide a backlight brightness adjustment method, device, terminal device and storage medium capable of accurately adapting to the current environment even if the terminal device is in backlight or is shielded.
The embodiment of the application provides a backlight brightness adjusting method, which comprises the following steps:
when light intensity information of terminal equipment is acquired, determining corresponding position information and distance information of the terminal equipment;
determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information;
and adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
In one embodiment, the step of determining target light intensity information of the terminal device according to the light intensity information, the position information and the distance information includes:
determining whether the terminal equipment is in backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information;
and determining the target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
In one embodiment, the step of determining the reference light intensity information of the terminal device based on the light intensity information includes:
acquiring a plurality of groups of light intensity information;
and determining reference light intensity information of the terminal equipment according to the plurality of groups of light intensity information.
In one embodiment, the step of determining the target light intensity information based on a result of determining whether the backlight is present, the reference light intensity information, and a result of determining whether the obstacle is present includes:
and if the terminal equipment is not backlighted and no barrier exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
In one embodiment, the step of determining the target light intensity information based on a result of determining whether the backlight is present, the reference light intensity information, and a result of determining whether the obstacle is present includes:
and if the terminal equipment is in backlight and no barrier exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information according to the reference light intensity information and the distance information.
In one embodiment, the step of determining the target light intensity information based on the reference light intensity information and the distance information includes:
determining compensated light intensity information according to the light intensity information and the position information;
if the light intensity corresponding to the compensation light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or the like, or, alternatively,
and if the light intensity corresponding to the compensation light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensation light intensity information.
In one embodiment, the step of determining the target light intensity information based on a result of determining whether the backlight is present, the reference light intensity information, and a result of determining whether the obstacle is present includes:
and if an obstacle exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
The embodiment of the application provides a backlight brightness adjusting device, the device includes:
the information acquisition module is used for determining the position information and the distance information corresponding to the terminal equipment when the light intensity information of the terminal equipment is acquired;
the light intensity information determining module is used for determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information;
and the backlight adjusting module is used for adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
The embodiment of the invention provides terminal equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the backlight brightness adjusting method provided by any embodiment of the application when executing.
Embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the backlight brightness adjustment method provided in any embodiment of the present application.
According to the backlight brightness adjusting method provided by the embodiment of the application, when the light intensity information of the terminal equipment is obtained, the position information and the distance information corresponding to the terminal equipment are determined; determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information; and adjusting the backlight brightness of the terminal equipment according to the target light intensity information. The problem of prior art's intelligent terminal luminance setting in a poor light can't be according to the accurate adaptation of actual conditions is solved to realize being in a poor light or under the condition of sheltering from at terminal equipment, guaranteed that terminal equipment luminance in a poor light normally sets up.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In an embodiment, as shown in fig. 1, a backlight brightness adjustment method is provided, and this embodiment is exemplified by applying the method to a terminal device, and it is to be understood that the method may be applied to a server, and may also be applied to a system including the terminal device and the server, and is implemented by interaction between the terminal device and the server. In this embodiment, the method includes the steps of:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
The light intensity information of the terminal device can be obtained by detecting the ambient light through the light receiving hole of the terminal device, specifically, the current ambient light of the terminal device is detected by using the existing ambient light sensor.
The terminal device can be an intelligent terminal device such as a smart phone, a smart watch, a tablet or a computer, and electronic devices capable of adjusting backlight brightness in the prior art are all suitable for the embodiment of the invention, and are not described in detail herein.
Specifically, when the terminal device detects the ambient light at the light receiving hole through the ambient light sensor provided by the terminal device to obtain the light intensity information corresponding to the current ambient light, the position information and the distance information of the current terminal device are determined at the same time.
The position information of the terminal equipment can be obtained through an acceleration sensor arranged in the terminal equipment, the position information can be used for determining the posture of the current terminal equipment, and the posture of the current terminal equipment determines whether the current terminal equipment is in a backlight condition or a light source approaching condition; the location information may also indicate the current terminal device angle to the horizontal. For example, the acceleration sensor may detect a vector of the terminal device in each of the x, y, and z axes, and further calculate an angle formed by the terminal device when the terminal device is facing upward and the horizontal plane.
The distance information of the terminal equipment can be obtained through a distance sensor arranged in the terminal equipment, and the distance information can be used for determining whether an obstacle exists in front of a light receiving hole where the current terminal equipment is located. As is known in the art, the light receiving hole is generally disposed on the front side of the terminal device, that is, on the same plane with the screen of the terminal device, so as to accurately obtain the current ambient light and adjust the screen brightness of the terminal device in time. In the scheme, in order to avoid the defect that the screen brightness is adjusted only according to the ambient light detected by the current light receiving hole without considering whether the current actual situation needs to adjust the screen brightness, the distance sensor is added, and if the distance sensor detects that the obstacle exists on the front face of the terminal device, the backlight brightness of the terminal device is not adjusted.
It can be understood that before the terminal device acquires the light intensity information, the method further includes: and calibrating the light sensation to eliminate the influence of the light receiving hole structure of the terminal equipment on the light sensation. Illustratively, the light receiving hole structure of the terminal equipment can be calibrated by light sensation under a D651000Lux light source.
And step 120, determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information.
And the target light intensity information is the light intensity corresponding to the backlight brightness determined according to the actual use condition of the current terminal equipment.
Specifically, whether the terminal device is backlight is determined based on the position information, reference light intensity information of the terminal device is determined based on the light intensity information, and whether an obstacle exists in front of a light receiving hole of the terminal device is determined based on the distance information; and determining target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
Wherein, the reference light intensity information of the terminal device is determined based on the light intensity information, including: acquiring a plurality of groups of light intensity information; and determining the reference light intensity information of the terminal equipment according to the multiple sets of light intensity information.
Specifically, a plurality of groups of light intensity information are collected through the terminal device, and an average value of light intensities corresponding to the plurality of groups of light intensity information is calculated to serve as reference light intensity information of the terminal device.
Further, if the terminal device is not backlighted and no obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined to be the reference light intensity information. And if the terminal equipment is in backlight and no barrier exists in front of the light receiving hole of the terminal equipment, determining target light intensity information according to the reference light intensity information and the distance information.
Further, determining the target light intensity information based on the reference light intensity information and the distance information includes: determining compensated light intensity information according to the light intensity information and the position information; if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or, if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
It should be noted that, in the present application, if an obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined as the reference light intensity information, that is, the position and the current light intensity information of the terminal device are not considered any more, and further, it can be understood that, when the screen of the terminal device is placed downward on the desktop, that is, the current situation is generally that the user is not using the terminal device, the current situation of the terminal device can be fed back to the controller of the terminal device to control the terminal device to rapidly enter the sleep mode, so that the power consumption of the terminal device is reduced.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
The backlight brightness of the terminal device can be determined according to the light intensity information of the currently detected ambient light, and it can be understood that after the terminal device starts the automatic backlight brightness adjusting function, the terminal device can automatically adjust the screen backlight brightness according to the detected current ambient light.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information; and when the target light intensity information is determined to be the compensation light intensity information, adjusting the backlight brightness of the terminal equipment according to the compensation light intensity information.
In the backlight brightness adjusting method, when the light intensity information of the terminal equipment is obtained, the position information and the distance information corresponding to the terminal equipment are determined; determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information; and adjusting the backlight brightness of the terminal equipment according to the target light intensity information. The problem of prior art's intelligent terminal luminance setting in a poor light can't be according to the accurate adaptation of actual conditions is solved to even realize being in a poor light or under the condition of sheltering from at terminal equipment, also can accurate adaptation current environment.
In one embodiment, as shown in fig. 2, a backlight brightness adjusting method is provided, and the embodiment is optimized based on the above embodiment.
Correspondingly, the method of the embodiment specifically includes:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
For example, in this embodiment, the terminal device may be assisted by establishing a virtual light sensor in the terminal device, and the virtual light sensor is used to couple the ambient light sensor, the acceleration sensor and the distance sensor, so as to obtain the position information corresponding to the terminal device through the acceleration sensor and obtain the distance information corresponding to the terminal device through the distance sensor when the ambient light sensor detects the light intensity information.
And step 121, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information.
Specifically, the virtual light sensation sensor acquires position information through the acceleration sensor, and the posture of the terminal device is judged according to the position information so as to further determine whether the terminal device is in backlight. For example, the acceleration sensor may detect directions of x, y, and z axes of the terminal device, so as to calculate an angle of the terminal device facing downward, and the degree of backlight of the terminal device may be compared with the angle, so as to determine a degree of compensation for the ambient light sensor, where the degree of compensation for the ambient light sensor is a dynamic compensation light intensity corresponding to the terminal device in a process from an upright state to a screen-down state.
The virtual light sensation sensor acquires the distance information through the distance sensor, whether an obstacle exists on the front face of the terminal equipment is judged according to the distance information, and when the obstacle exists on the front face of the terminal equipment, the target light intensity information of the terminal equipment is determined to be reference light intensity information.
Further, determining reference light intensity information of the terminal device based on the light intensity information includes: acquiring a plurality of groups of light intensity information; and determining the reference light intensity information of the terminal equipment according to the multiple sets of light intensity information.
Specifically, when the light intensity information of the terminal device is acquired, the virtual light sensor collects multiple groups of light intensity information, and the reference light intensity information is obtained by averaging the light intensities corresponding to the multiple groups of light intensity information.
It can be understood that when the virtual light sensation sensor determines that the front side of the screen of the terminal device has an obstacle through the distance sensor, the reference light intensity information is directly used as the current target light intensity information, that is, the backlight brightness of the terminal device is adjusted according to the reference light intensity information.
And step 122, determining target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
Specifically, if the terminal device is not backlighted and no barrier exists in front of a light receiving hole of the terminal device, determining the target light intensity information as reference light intensity information; if the terminal equipment is in backlight and no barrier exists in front of a light receiving hole of the terminal equipment, determining compensation light intensity information according to the light intensity information and the position information; if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or, if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information; and when the target light intensity information is determined to be the compensation light intensity information, adjusting the backlight brightness of the terminal equipment according to the compensation light intensity information.
According to the backlight brightness adjusting method, after the terminal device is used for starting the virtual light sensation sensor, the distance sensor, the acceleration sensor and the ambient light sensor are monitored, the attitude information of the terminal device is determined through the acceleration sensor, whether an obstacle blocks the terminal device is judged through the distance sensor, the light intensity detected by the ambient light sensor is determined and compensated according to the light intensity information of the current terminal device, and therefore the backlight brightness of the terminal device is automatically and flexibly controlled according to different environments of the terminal device.
In an embodiment, as shown in fig. 3, a method for adjusting backlight brightness is provided, and accordingly, the steps of this embodiment specifically include:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
And step 121, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information.
And 1221, if the terminal equipment is not backlit and no obstacle exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as reference light intensity information.
It can be understood that if the terminal device is not backlit, it may indicate that the front side of the terminal device is close to the light source at this time, and it is determined that no obstacle exists in front of the light receiving hole of the terminal device, that is, the reference light intensity information of the terminal device determined according to the light intensity information may be used as the target light intensity information.
It should be noted that, if an obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined as the reference light intensity information.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information.
In the backlight brightness adjusting method, when the terminal equipment is determined to be used close to the light source at the moment, the reference light intensity information is used as the backlight brightness adjusting basis of the current terminal equipment, so that the normal display of the screen brightness of the terminal equipment is ensured.
In an embodiment, as shown in fig. 4, a method for adjusting backlight brightness is provided, and accordingly, the steps of this embodiment specifically include:
and step 110, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
And step 121, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information.
And 1222, if the terminal device is in backlight and no obstacle exists in front of the light receiving hole of the terminal device, determining the target light intensity information according to the reference light intensity information and the distance information.
On the basis of the above embodiment, determining the target light intensity information according to the reference light intensity information and the distance information includes: determining compensated light intensity information according to the light intensity information and the position information; if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or, if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
Specifically, under a calibration environment of a D651000Lux (Lux, lighting unit) light source, when a screen of the terminal device is upward and an angle formed by the screen and a horizontal plane is smaller than a preset angle threshold, optionally, the preset angle threshold is 30 degrees, a plurality of sets of light intensity information are sampled, and a plurality of angles of the terminal device are determined according to a plurality of sets of position information of the terminal device; calculating the standard light intensity of 1000Lux and the deviation light intensity of the light intensity corresponding to the multiple groups of light intensity information; analyzing the linear relation between a plurality of angles and the deviation light intensity, and determining a reasonable deviation light intensity and angle linear relation variance, wherein if the deviation light intensity is the angle A + B, A and B are obtained by the statistics of the plurality of groups of data; the light intensity corresponding to the compensation light intensity information is equal to the light intensity corresponding to the light intensity information plus the deviation light intensity. The D65 light source is the most commonly used artificial sunlight in standard light sources.
It should be noted that, if an obstacle exists in front of the light receiving hole of the terminal device, the target light intensity information is determined as the reference light intensity information.
And step 130, adjusting the backlight brightness of the terminal equipment according to the target light intensity information.
Specifically, when the target light intensity information is determined to be the reference light intensity information, the backlight brightness of the terminal device is adjusted according to the reference light intensity information; and when the target light intensity information is determined to be the compensation light intensity information, adjusting the backlight brightness of the terminal equipment according to the compensation light intensity information.
In the backlight brightness adjusting method, the compensation light intensity information is determined by utilizing the light intensity information and the position information, and the target light intensity information is determined according to the compensation light intensity information and the reference light intensity information, so that the backlight brightness of the terminal equipment is accurately adapted to the backlight environment.
In one embodiment, as shown in fig. 5, a backlight brightness adjustment method is provided. On the basis of the above-described embodiments, a specific example of an embodiment is provided. The specific steps of the implementation comprise:
and step 510, the intelligent terminal equipment starts an automatic backlight brightness adjusting function.
And step 520, calibrating the light sensation of the light receiving hole structure of the terminal equipment.
And step 530, when the light intensity information of the terminal equipment is acquired, determining the corresponding position information and distance information of the terminal equipment.
And 540, determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information, executing 560 if the terminal equipment is backlight or the obstacle exists in the light receiving hole of the terminal equipment, and executing 550 if the terminal equipment is not backlight or the obstacle exists in the light receiving hole of the terminal equipment.
And step 550, if the terminal device is not backlighted and no obstacle exists in front of the light receiving hole of the terminal device, determining the target light intensity information as reference light intensity information.
And step 560, if the terminal equipment is in backlight or an obstacle exists in front of a light receiving hole of the terminal equipment, determining the compensated light intensity information according to the light intensity information and the position information.
Step 570, determining whether the compensated light intensity information is lower than the reference light intensity information, if yes, performing step 580, and if not, performing step 590.
And 580, determining the target light intensity information as reference light intensity information, and adjusting the backlight brightness of the terminal device according to the reference light intensity information.
Step 590, determining the target light intensity information as the compensation light intensity information, and adjusting the backlight brightness of the terminal device according to the compensation light intensity information.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, a block diagram of a backlight brightness adjusting apparatus is provided, including: an information obtaining module 610, a light intensity information determining module 620 and a backlight adjusting module 630, wherein:
the information acquisition module 610 is configured to determine position information and distance information corresponding to the terminal device when the light intensity information of the terminal device is acquired;
a light intensity information determining module 620, configured to determine target light intensity information of the terminal device according to the light intensity information, the position information, and the distance information;
and the backlight adjusting module 630 is configured to adjust the backlight brightness of the terminal device according to the target light intensity information.
The backlight brightness adjusting device of the embodiment determines the position information and the distance information corresponding to the terminal device when the light intensity information of the terminal device is acquired; determining target light intensity information of the terminal equipment according to the light intensity information, the position information and the distance information; and adjusting the backlight brightness of the terminal equipment according to the target light intensity information. The problem of prior art's intelligent terminal luminance setting in a poor way according to actual conditions accurate control, user experience sense is relatively poor is solved to even realize that terminal equipment is in a poor light or under the condition of being sheltered from, also can accurate adaptation current environment.
On the basis of the above embodiments, determining the target light intensity information of the terminal device according to the light intensity information, the position information, and the distance information includes:
determining whether the terminal equipment is backlight based on the position information, determining reference light intensity information of the terminal equipment based on the light intensity information, and determining whether an obstacle exists in front of a light receiving hole of the terminal equipment based on the distance information;
and determining target light intensity information according to the result of judging whether the backlight exists, the reference light intensity information and the result of judging whether the obstacle exists.
On the basis of the above embodiments, determining the reference light intensity information of the terminal device based on the light intensity information includes:
acquiring a plurality of groups of light intensity information;
and determining the reference light intensity information of the terminal equipment according to the multiple sets of light intensity information.
On the basis of the above embodiments, determining target light intensity information according to a result of determining whether a backlight is present, reference light intensity information, and a result of determining whether an obstacle is present includes:
and if the terminal equipment is not backlighted and no barrier exists in front of the light receiving hole of the terminal equipment, determining the target light intensity information as the reference light intensity information.
On the basis of the above embodiments, determining target light intensity information according to a result of determining whether a backlight is present, reference light intensity information, and a result of determining whether an obstacle is present includes:
and if the terminal equipment is in backlight and no barrier exists in front of the light receiving hole of the terminal equipment, determining target light intensity information according to the reference light intensity information and the distance information.
On the basis of the above embodiments, determining the target light intensity information according to the reference light intensity information and the distance information includes:
determining compensated light intensity information according to the light intensity information and the position information;
if the light intensity corresponding to the compensated light intensity information is lower than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the reference light intensity information; or the like, or, alternatively,
and if the light intensity corresponding to the compensated light intensity information is higher than the light intensity corresponding to the reference light intensity information, determining the target light intensity information as the compensated light intensity information.
On the basis of the above embodiments, determining target light intensity information according to a result of determining whether a backlight is present, reference light intensity information, and a result of determining whether an obstacle is present includes:
and if the front of the light receiving hole of the terminal equipment is provided with the obstacle, determining the target light intensity information as the reference light intensity information.
For the specific definition of the backlight brightness adjusting device, reference may be made to the above definition of the backlight brightness adjusting method, which is not described herein again. The modules in the backlight brightness adjusting device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a terminal device is provided, the internal structure of which may be as shown in fig. 7. The terminal equipment comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the terminal device is configured to provide computing and control capabilities. The memory of the terminal equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal device is used for performing wired or wireless Communication with an external terminal, and the wireless Communication can be realized through WIFI, an operator network, Near Field Communication (NFC for short) or other technologies. The computer program is executed by a processor to implement the backlight brightness adjusting method provided by any one of the above embodiments. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the terminal equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the structure shown in fig. 7 is a block diagram of only a portion of the structure relevant to the present disclosure, and does not constitute a limitation on the terminal device to which the present disclosure applies, and that a particular terminal device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
In one embodiment, the backlight brightness adjusting apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be run on a terminal device as shown in fig. 7. The memory of the terminal device may store various program modules constituting the backlight brightness adjusting apparatus, such as the information obtaining module 610, the light intensity information determining module 620, and the backlight adjusting module 630 shown in fig. 6. The computer program constituted by the respective program modules causes the processor to execute the steps in the backlight luminance adjusting method of the embodiments of the present application described in the present specification.
For example, the terminal device shown in fig. 7 may perform the steps by the information determining module 610 in the backlight brightness adjusting apparatus shown in fig. 6, when the light intensity information of the terminal device is acquired, the position information and the distance information corresponding to the terminal device are determined. The terminal device may perform the step of determining target light intensity information of the terminal device according to the light intensity information, the position information, and the distance information through the light intensity information determining module 620. The terminal device may perform the step of adjusting the backlight brightness of the terminal device according to the target light intensity information through the backlight adjusting module 630.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.