CN106055296A - Control method for display brightness of terminal screen and terminal - Google Patents
Control method for display brightness of terminal screen and terminal Download PDFInfo
- Publication number
- CN106055296A CN106055296A CN201610357041.5A CN201610357041A CN106055296A CN 106055296 A CN106055296 A CN 106055296A CN 201610357041 A CN201610357041 A CN 201610357041A CN 106055296 A CN106055296 A CN 106055296A
- Authority
- CN
- China
- Prior art keywords
- terminal screen
- light intensity
- current
- intensity value
- terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000008859 change Effects 0.000 claims description 67
- 238000001514 detection method Methods 0.000 claims description 7
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 25
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a control method for display brightness of a terminal screen and a terminal. The control method comprises following steps: obtaining current ambient light intensity and current brightness level of the terminal screen when the terminal screen is detected to be in the working state and the current display brightness of the terminal screen does not vary with the current ambient light intensity; and controlling display brightness of the terminal screen according to the current ambient light intensity value and pre-set ambient light intensity value as well as current brightness level of the terminal screen and the pre-set brightness level of the terminal screen. The control method for display brightness of the terminal screen and the terminal have following beneficial effects: a user can see clearly the terminal screen when an automatic dimming function of an existing terminal is turned off and brightness of the terminal screen is lower; and brightness of the terminal screen can vary with the ambient light intensity value so that the user can conveniently operate the terminal.
Description
Technical Field
The invention relates to the field of mobile terminals, in particular to a method for controlling display brightness of a terminal screen and a terminal.
Background
The current intelligent machine basically has an automatic dimming function of automatically adjusting the brightness of a mobile phone screen according to the intensity of ambient light. The automatic dimming function enables the intelligent machine to automatically adjust the screen brightness of the intelligent machine according to the ambient light intensity, the effect of saving power can be achieved, the user can clearly see the screen of the intelligent machine clearly under different ambient light intensities, and great convenience is provided for the user.
However, in the prior art, the smart machine user basically turns on or off the automatic dimming function by manually clicking a switch button. The manner in which the user manually clicks the switch button to control the automatic dimming function causes great inconvenience to the user. For example, if the current state of the smart machine is a state in which the automatic dimming function is turned off and the screen brightness is low, if the user is in a place (for example, outdoors) with strong light, the user cannot see the display on the screen of the smart machine at all, and cannot perform other operations on the smart machine, and at this time, in order to see the screen of the smart machine, the user can only go to the place with weak light, and turn on the automatic dimming function or adjust the brightness of the screen to a proper level.
Therefore, in the prior art, when the automatic dimming function of the intelligent machine is manually turned off and the brightness of the screen of the intelligent machine is low, the user cannot clearly see the screen of the intelligent machine under strong light.
Disclosure of Invention
The embodiment of the invention provides a method for controlling display brightness of a terminal screen and a terminal, and aims to solve the problem that a user cannot clearly see the screen of an intelligent machine under strong light when an automatic dimming function of the intelligent machine is manually turned off and the brightness of the screen of the intelligent machine is low in the prior art.
In order to solve the above technical problem, in a first aspect, the present invention provides a method for controlling display brightness of a terminal screen, the method comprising:
when the terminal screen is detected to be in a working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value, acquiring a current ambient light intensity value and a current brightness level of the terminal screen;
and controlling the display brightness of the terminal screen according to the current environment light intensity value and the preset environment light intensity value as well as the current brightness level of the terminal screen and the preset terminal screen brightness level.
In a second aspect, the present invention provides a terminal, including:
the acquisition module is used for acquiring a current ambient light intensity value and a current brightness level of the terminal screen when the terminal screen is detected to be in a working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value;
and the control module is used for controlling the display brightness of the terminal screen according to the current ambient light intensity value and the preset ambient light intensity value as well as the current brightness level of the terminal screen and the preset terminal screen brightness level.
Therefore, the terminal screen and the method for controlling the display brightness of the terminal screen have the advantages that the current environment light intensity value and the current brightness level of the terminal screen are obtained when the terminal screen is detected to be in the working state and the current display brightness of the terminal screen does not change along with the change of the environment light intensity value, and the display brightness of the terminal screen is controlled according to the current environment light intensity value, the preset environment light intensity value and the current brightness level of the terminal screen and the preset terminal screen brightness level, so that the problem that a user cannot clearly see the terminal screen under strong light when the automatic dimming function of the conventional terminal is turned off and the brightness of the terminal screen is low is solved, the screen brightness of the terminal can change along with the change of the environment light intensity value, and convenience is provided.
Drawings
Fig. 1 is a flowchart illustrating one of the steps of a method for controlling the display brightness of a terminal screen according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second step of the method for controlling the display brightness of the terminal screen according to the first embodiment of the present invention;
fig. 3 shows a block diagram of a terminal in a second embodiment of the present invention;
fig. 4 shows a block diagram of a terminal in a third embodiment of the present invention;
fig. 5 shows a block diagram of a terminal in a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The first embodiment:
as shown in fig. 1, which is one of the flow charts of the steps of the method for controlling the display brightness of the terminal screen in the first embodiment of the present invention, the method includes the following steps:
step 101, when it is detected that the terminal screen is in a working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value, obtaining a current ambient light intensity value and a current brightness level of the terminal screen.
In this step, specifically, when it is detected that the terminal screen is in the working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value, that is, when it is detected that the terminal screen is in the working state and the automatic dimming function of the terminal is in the off state, the current ambient intensity value of the current environment where the terminal is located and the current brightness level of the terminal screen are obtained. Specifically, when the current ambient light intensity value is obtained, the current ambient light intensity value may be obtained by an ambient light sensor of the terminal.
And 102, controlling the display brightness of the terminal screen according to the current environment light intensity value and the preset environment light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level.
In this step, specifically, the display brightness of the terminal screen may be controlled according to the obtained current ambient light intensity value and the current brightness level of the terminal screen, as well as the preset ambient light intensity value and the preset terminal screen brightness level.
Therefore, when the terminal screen is detected to be in the working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value, the display brightness of the terminal screen is controlled according to the obtained current ambient light intensity value and the obtained current brightness level of the terminal screen, the problem that a user cannot clearly see the terminal screen under strong light when the automatic dimming function of the terminal is turned off and the brightness of the terminal screen is low in the prior art is solved, the terminal can automatically adjust the display brightness according to the obtained current ambient light intensity value and the obtained current brightness level of the terminal screen, the screen brightness of the terminal can change along with the change of the ambient light intensity value, and convenience is provided for the user to operate the terminal.
In addition, specifically, when the display brightness of the terminal screen is controlled according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level, the current display brightness of the terminal screen can be controlled to change along with the change of the ambient light intensity value according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level; or, according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level, controlling the display brightness of the terminal screen to be adjusted to a preset brightness value.
Therefore, when the current ambient light intensity value and the current brightness level of the terminal screen are obtained, the current ambient light intensity value can be compared with the preset ambient light intensity value, and the current brightness level of the terminal screen is compared with the preset terminal screen brightness level, wherein when the current ambient light intensity value is greater than or equal to the preset ambient light intensity value and the current brightness level is less than or equal to the preset terminal screen brightness level, the current display brightness of the terminal screen is controlled to change along with the change of the ambient light intensity value. Optionally, when multiple sets of parameters are preset and each set of preset parameters includes an ambient light intensity value and a terminal screen brightness level, the current ambient light intensity value may be respectively compared with the ambient light intensity value in each set of parameters, the current brightness level is compared with the terminal screen brightness level in the same set of parameters, and when the current ambient light intensity value is greater than or equal to the ambient light intensity value in one set of parameters and the current brightness level is less than or equal to the terminal screen brightness level in the same set of parameters as the ambient light intensity value, the current display brightness of the terminal screen is controlled to change along with the change of the ambient light intensity value. In addition, when the current ambient light intensity value is greater than or equal to the preset ambient light intensity value and the current brightness level is less than or equal to the preset terminal screen brightness level, the display brightness of the terminal screen can be controlled to be adjusted to the preset brightness value.
In addition, optionally, when detecting whether the terminal screen is in the working state, the terminal screen can be detected to be in the working state through a front camera of the terminal. Specifically, when the front camera of the terminal detects that a face image exists in front of the terminal screen in a bright screen state, the terminal screen is determined to be in a working state.
Therefore, when the automatic dimming function of the terminal is detected to be turned off, the face detection is carried out through the front camera of the terminal to judge whether the user needs to carry out the next operation, namely whether the terminal screen is in a working state or not, then the current ambient light intensity value is obtained through the ambient light sensor of the terminal to obtain the current ambient light intensity value of the terminal and the current brightness level of the terminal screen, and the current ambient light intensity value and the preset terminal screen brightness level are compared to judge whether the current display brightness of the terminal screen needs to be controlled to change along with the change of the ambient light intensity value or not, namely, the automatic dimming function of the terminal is controlled to be started, or the display brightness of the terminal screen is controlled to be adjusted to a preset brightness value, so that the display brightness of the terminal screen is controlled. Specifically, after the current display brightness of the screen of the control terminal changes along with the change of the ambient light intensity value or the display brightness of the control terminal is adjusted to a preset brightness value, the front camera, the ambient light sensor and the like of the terminal can be turned off, so that the purpose of saving the electric quantity of the terminal is achieved.
Specifically, the above embodiments are further described below with reference to the accompanying drawings. As shown in fig. 2, the implementation steps of the above embodiment are as follows:
step 201, detecting whether a screen of the terminal is in a bright screen state, entering step 202 when the screen of the terminal is detected to be in the bright screen state, detecting whether the current display brightness of the screen of the terminal changes along with the change of the ambient light intensity value, namely, detecting whether an automatic dimming function of the terminal is in an on state, and if not, entering step 203, and turning on a front camera of the terminal. Then, the method enters step 204, a front-facing camera of the terminal detects whether a face image exists in front of a terminal screen in a bright screen state, if so, the method enters step 205, an ambient light sensor of the terminal is turned on, and the method enters step 206, a current ambient light intensity value and a current brightness level of the terminal screen are obtained, and at this time, the obtained current ambient light intensity value and the current brightness level of the terminal screen can be recorded as a set of parameters. Then step 207 is entered, the set of parameters is compared with a plurality of sets of parameters preset by the terminal, wherein each preset set of parameters includes an ambient light intensity value and a terminal screen brightness level, whether the current ambient light intensity value is greater than or equal to the ambient light intensity value in one preset set of parameters or not is judged, and whether the current brightness level is less than or equal to the terminal screen brightness level of the same set of parameters as the ambient light intensity value is judged, if so, it is judged that the terminal screen brightness at this time cannot meet the condition that the user clearly sees the terminal screen under the current ambient light intensity, step 208 is entered, the current display brightness of the terminal screen is controlled to change along with the change of the ambient light intensity value, that is, the automatic dimming function of the terminal is controlled to be turned on, and the front camera and the ambient light sensor are turned off, so.
Therefore, the terminal and the method have the advantages that the current state of the terminal is considered, whether the current display brightness of the terminal screen is controlled to change along with the change of the ambient light intensity value or not is judged according to the preset ambient light intensity value and the preset terminal screen brightness level, namely whether the automatic dimming function is started or whether the display brightness of the terminal is controlled to be adjusted to a preset brightness value or not is controlled, the actual display brightness condition of the terminal screen is considered while the setting state of the terminal is not changed as much as possible, and the actual use scene of a user is better met. In addition, after the display brightness of the terminal screen is controlled, unnecessary peripheral equipment and programs are closed, the display brightness of the terminal screen is automatically controlled under strong light, and meanwhile, the electric quantity of the terminal is saved.
Second embodiment:
as shown in fig. 3, which is a block diagram of a terminal in a second embodiment of the present invention, the terminal includes:
the obtaining module 301 is configured to obtain a current ambient light intensity value and a current brightness level of the terminal screen when it is detected that the terminal screen is in a working state and the current display brightness of the terminal screen does not change along with a change in an ambient light intensity value;
the control module 302 is configured to control the display brightness of the terminal screen according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level.
Optionally, the control module 302 is configured to control the current display brightness of the terminal screen to change along with a change in the ambient light intensity value according to the current ambient light intensity value and a preset ambient light intensity value, and according to the current brightness level of the terminal screen and a preset terminal screen brightness level; or, according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level, controlling the display brightness of the terminal screen to be adjusted to a preset brightness value.
Optionally, the control module 302 is specifically configured to, when the current ambient light intensity value is greater than or equal to the preset ambient light intensity value and the current brightness level is less than or equal to the preset terminal screen brightness level, control the current display brightness of the terminal screen to change along with a change in the ambient light intensity value.
Optionally, the terminal further includes a detection module, configured to detect that the terminal screen is in a working state through a front-facing camera of the terminal.
Optionally, the detection module is specifically configured to determine that the terminal screen is in the working state when the front-facing camera of the terminal detects that a face image exists in front of the terminal screen in the bright screen state.
The terminal that this embodiment provided, when detecting that the terminal screen is in operating condition and the current display luminance of terminal screen does not change along with the ambient light intensity value change and change through obtaining the module, obtain the current ambient light intensity value and the current brightness level of terminal screen, and according to current ambient light intensity value and predetermined ambient light intensity value through control module, and the current brightness level and the predetermined terminal screen brightness level of terminal screen, the display luminance of control terminal screen, when having solved among the prior art when the automatic dimming function of manual shut-down smart machine and the luminance of smart machine screen is lower, the user can't see the problem of smart machine screen clearly under the highlight, the convenience of user operation terminal under the highlight has been improved.
The third embodiment:
as shown in fig. 4, which is a block diagram of a terminal according to a third embodiment of the present invention, the terminal 400 shown in fig. 4 includes: at least one processor 401, memory 402, at least one network interface 404, a user interface 403. The various components in the terminal 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 405 in fig. 4. In addition, the terminal 400 further includes a front camera and an ambient light sensor in the above embodiments.
The user interface 403 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that memory 402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 402 of the systems and methods described in this embodiment of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 402 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 4021 and application programs 4022. Specifically, the memory 402 stores a setting module and a configuration file.
The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 4022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 4022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 402, specifically, a program or an instruction stored in the application 4022 may be used. Wherein the processor 401 is configured to: when the terminal screen is detected to be in a working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value, acquiring a current ambient light intensity value and a current brightness level of the terminal screen; and controlling the display brightness of the terminal screen according to the current environment light intensity value and the preset environment light intensity value as well as the current brightness level of the terminal screen and the preset terminal screen brightness level.
The method disclosed in the above embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The processor 401 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the method in combination with the hardware. The memory 402 stores therein the correspondence relationships and the like used in the above-described method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions of the present Application, or a combination thereof.
For a software implementation, the techniques of an embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions of the embodiments of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 401 is further configured to: controlling the current display brightness of the terminal screen to change along with the change of the ambient light intensity value according to the current ambient light intensity value, the preset ambient light intensity value, the current brightness level of the terminal screen and the preset terminal screen brightness level; or, according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level, controlling the display brightness of the terminal screen to be adjusted to a preset brightness value.
Optionally, as another embodiment, the processor 401 is further configured to: and when the current ambient light intensity value is greater than or equal to a preset ambient light intensity value and the current brightness level is less than or equal to a preset terminal screen brightness level, controlling the current display brightness of the terminal screen to change along with the change of the ambient light intensity value.
Optionally, as another embodiment, the processor 401 is further configured to: and detecting that the terminal screen is in a working state through a front camera of the terminal. Specifically, when a front-facing camera of the terminal detects that a face image exists in front of a terminal screen in a bright screen state, the terminal screen is determined to be in a working state.
The terminal 400 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
The terminal provided in the above embodiment of the present invention obtains the current ambient light intensity value and the current brightness level of the terminal screen when it is detected that the terminal screen is in the working state and the current display brightness of the terminal screen does not change with the change of the ambient light intensity value, and controls the display brightness of the terminal screen according to the current ambient light intensity value, the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level.
Fourth embodiment
Fig. 5 shows a block diagram of a terminal in a fourth embodiment of the present invention. Specifically, the terminal 500 in fig. 5 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The terminal 500 in fig. 5 includes a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a wifi (wireless fidelity) module 580, and a power supply 590. Specifically, the terminal 500 may further include a front camera and an ambient light sensor in the foregoing embodiments.
The input unit 530 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the terminal 500, among other things. Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531. The touch panel 531, also called a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 531 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, sends it to the processor 560, and can receive and execute commands from the processor 560. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 531, the input unit 530 may further include other input devices 532, and the other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 540 may be used to display information input by the user or information provided to the user and various menu interfaces of the terminal 500. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an organic light-emitting diode (OLED), or the like.
It should be noted that the touch panel 531 may cover the display panel 541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 560 to determine the type of the touch event, and then the processor 560 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 560 is a control center of the terminal 500, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 500 and processes data by operating or executing software programs and/or modules stored in the first memory 521 and calling data stored in the second memory 522, thereby integrally monitoring the terminal 500. Optionally, processor 560 may include one or more processing units.
In the embodiment of the present invention, the software program and/or the module stored in the first memory 521 and/or the data stored in the second memory 522 are called, wherein the first memory 521 includes a setting module and a configuration file. The processor 560 is configured to: when the terminal screen is detected to be in a working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value, acquiring a current ambient light intensity value and a current brightness level of the terminal screen; and controlling the display brightness of the terminal screen according to the current environment light intensity value and the preset environment light intensity value as well as the current brightness level of the terminal screen and the preset terminal screen brightness level.
Optionally, the processor 560 is further configured to: controlling the current display brightness of the terminal screen to change along with the change of the ambient light intensity value according to the current ambient light intensity value, the preset ambient light intensity value, the current brightness level of the terminal screen and the preset terminal screen brightness level; or, according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level, controlling the display brightness of the terminal screen to be adjusted to a preset brightness value.
Optionally, as another embodiment, the processor 560 is further configured to: and when the current ambient light intensity value is greater than or equal to a preset ambient light intensity value and the current brightness level is less than or equal to a preset terminal screen brightness level, controlling the current display brightness of the terminal screen to change along with the change of the ambient light intensity value.
Optionally, as another embodiment, the processor 560 is further configured to: and detecting that the terminal screen is in a working state through a front camera of the terminal. Specifically, when a front-facing camera of the terminal detects that a face image exists in front of a terminal screen in a bright screen state, the terminal screen is determined to be in a working state.
The terminal provided in the above embodiment of the present invention obtains the current ambient light intensity value and the current brightness level of the terminal screen when it is detected that the terminal screen is in the working state and the current display brightness of the terminal screen does not change with the change of the ambient light intensity value, and controls the display brightness of the terminal screen according to the current ambient light intensity value, the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level.
The terminal 500 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A control method for display brightness of a terminal screen is characterized by comprising the following steps:
when the terminal screen is detected to be in a working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value, acquiring a current ambient light intensity value and a current brightness level of the terminal screen;
and controlling the display brightness of the terminal screen according to the current environment light intensity value and the preset environment light intensity value as well as the current brightness level of the terminal screen and the preset terminal screen brightness level.
2. The method according to claim 1, wherein the step of controlling the display brightness of the terminal screen according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level comprises:
controlling the current display brightness of the terminal screen to change along with the change of the ambient light intensity value according to the current ambient light intensity value, the preset ambient light intensity value, the current brightness level of the terminal screen and the preset terminal screen brightness level; or,
and controlling the display brightness of the terminal screen to be adjusted to a preset brightness value according to the current environment light intensity value and the preset environment light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level.
3. The method according to claim 2, wherein the step of controlling the current display brightness of the terminal screen to vary with the variation of the ambient light intensity value according to the current ambient light intensity value and the preset ambient light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level comprises:
and when the current ambient light intensity value is greater than or equal to a preset ambient light intensity value and the current brightness level is less than or equal to a preset terminal screen brightness level, controlling the current display brightness of the terminal screen to change along with the change of the ambient light intensity value.
4. The control method according to claim 1,
and detecting that the terminal screen is in a working state through a front camera of the terminal.
5. The control method according to claim 4, wherein the step of detecting that the terminal screen is in the working state through a front camera of the terminal comprises:
when the front camera of the terminal detects that a face image exists in front of the terminal screen in a bright screen state, the terminal screen is determined to be in a working state.
6. A terminal, characterized in that the terminal comprises:
the acquisition module is used for acquiring a current ambient light intensity value and a current brightness level of the terminal screen when the terminal screen is detected to be in a working state and the current display brightness of the terminal screen does not change along with the change of the ambient light intensity value;
and the control module is used for controlling the display brightness of the terminal screen according to the current ambient light intensity value and the preset ambient light intensity value as well as the current brightness level of the terminal screen and the preset terminal screen brightness level.
7. The terminal of claim 6, wherein the control module is configured to control the current display brightness of the terminal screen to change with a change in the ambient light intensity value according to the current ambient light intensity value and a preset ambient light intensity value, and the current brightness level of the terminal screen and a preset terminal screen brightness level; or controlling the display brightness of the terminal screen to be adjusted to a preset brightness value according to the current environment light intensity value and a preset environment light intensity value, and the current brightness level of the terminal screen and the preset terminal screen brightness level.
8. The terminal according to claim 7, wherein the control module is specifically configured to control the current display brightness of the terminal screen to change with a change in the ambient light intensity value when the current ambient light intensity value is greater than or equal to a preset ambient light intensity value and the current brightness level is less than or equal to a preset terminal screen brightness level.
9. The terminal according to claim 6, further comprising a detection module for detecting that the terminal screen is in the working state through a front camera of the terminal.
10. The terminal according to claim 9, wherein the detection module is specifically configured to determine that the terminal screen is in the working state when a front-facing camera of the terminal detects that a face image exists in front of the terminal screen in the bright-screen state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610357041.5A CN106055296A (en) | 2016-05-25 | 2016-05-25 | Control method for display brightness of terminal screen and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610357041.5A CN106055296A (en) | 2016-05-25 | 2016-05-25 | Control method for display brightness of terminal screen and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106055296A true CN106055296A (en) | 2016-10-26 |
Family
ID=57174588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610357041.5A Pending CN106055296A (en) | 2016-05-25 | 2016-05-25 | Control method for display brightness of terminal screen and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106055296A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357925A (en) * | 2016-10-31 | 2017-01-25 | 广东欧珀移动通信有限公司 | Method, device and terminal for switching screen brightness adjusting modes |
CN111107616A (en) * | 2019-12-25 | 2020-05-05 | 惠州Tcl移动通信有限公司 | Light sensor control method and device and terminal |
CN111508134A (en) * | 2020-04-22 | 2020-08-07 | 新石器慧通(北京)科技有限公司 | Control method and device for display screen on carrier and unmanned vehicle |
CN112037731A (en) * | 2020-09-11 | 2020-12-04 | 中国第一汽车股份有限公司 | Screen brightness adjusting method, device, equipment and storage medium |
CN113012653A (en) * | 2021-03-22 | 2021-06-22 | 上海七十迈数字科技有限公司 | Method and equipment for automatically controlling brightness of intelligent electric vehicle |
-
2016
- 2016-05-25 CN CN201610357041.5A patent/CN106055296A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357925A (en) * | 2016-10-31 | 2017-01-25 | 广东欧珀移动通信有限公司 | Method, device and terminal for switching screen brightness adjusting modes |
CN111107616A (en) * | 2019-12-25 | 2020-05-05 | 惠州Tcl移动通信有限公司 | Light sensor control method and device and terminal |
CN111508134A (en) * | 2020-04-22 | 2020-08-07 | 新石器慧通(北京)科技有限公司 | Control method and device for display screen on carrier and unmanned vehicle |
CN112037731A (en) * | 2020-09-11 | 2020-12-04 | 中国第一汽车股份有限公司 | Screen brightness adjusting method, device, equipment and storage medium |
CN113012653A (en) * | 2021-03-22 | 2021-06-22 | 上海七十迈数字科技有限公司 | Method and equipment for automatically controlling brightness of intelligent electric vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105959553B (en) | A kind of switching method and terminal of camera | |
CN106657793B (en) | A kind of image processing method and mobile terminal | |
CN106354373B (en) | Icon moving method and mobile terminal | |
CN106648382B (en) | A kind of picture browsing method and mobile terminal | |
WO2018196699A1 (en) | Method for displaying fingerprint recognition region, and mobile terminal | |
CN106383645A (en) | Music playing control method and mobile terminal | |
CN107219988B (en) | Interface operation guiding method and mobile terminal | |
CN106293479B (en) | Screen backlight brightness control method and mobile terminal | |
CN107566622B (en) | Temperature control method and mobile terminal | |
CN106953675B (en) | Mobile terminal and antenna connection method | |
CN106055296A (en) | Control method for display brightness of terminal screen and terminal | |
CN106406741B (en) | A kind of operation processing method and mobile terminal of mobile terminal | |
CN106970752B (en) | Screen capturing method and mobile terminal | |
CN108366169B (en) | Notification message processing method and mobile terminal | |
CN105824662B (en) | Application program unloading method and electronic equipment | |
CN106940597A (en) | A kind of camera starts control method and mobile terminal | |
CN107221347B (en) | Audio playing method and terminal | |
CN107360375B (en) | Shooting method and mobile terminal | |
CN106959864A (en) | A kind of adjusting method and mobile terminal of interface display effect | |
CN106648329A (en) | Application icon display method and mobile terminal | |
CN106775378B (en) | Method for determining candidate words of input method and mobile terminal | |
CN106791086B (en) | Control method of mobile terminal and mobile terminal | |
CN107562262B (en) | Method for responding touch operation, terminal and computer readable storage medium | |
CN107632761B (en) | Display content viewing method, mobile terminal and computer readable storage medium | |
CN106713742B (en) | Shooting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161026 |