CN105788568B - A kind of screen luminance adjustment method and device - Google Patents

A kind of screen luminance adjustment method and device Download PDF

Info

Publication number
CN105788568B
CN105788568B CN201610323019.9A CN201610323019A CN105788568B CN 105788568 B CN105788568 B CN 105788568B CN 201610323019 A CN201610323019 A CN 201610323019A CN 105788568 B CN105788568 B CN 105788568B
Authority
CN
China
Prior art keywords
screen
terminal
distance
brightness regulation
intensity
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.)
Active
Application number
CN201610323019.9A
Other languages
Chinese (zh)
Other versions
CN105788568A (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610323019.9A priority Critical patent/CN105788568B/en
Publication of CN105788568A publication Critical patent/CN105788568A/en
Application granted granted Critical
Publication of CN105788568B publication Critical patent/CN105788568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

An embodiment of the present invention provides a kind of screen luminance adjustment method and devices, the screen luminance adjustment method is asked using brightness regulation is received, according to the distance between the brightness regulation acquisition request terminal display screen and external object, and judge whether the distance is more than pre-determined distance, if, the ambient light intensity that the terminal is presently in environment is then obtained, and the screen intensity of the terminal is adjusted according to the ambient light intensity;The program judges whether the distance between terminal display screen and external object are just adjusted screen luminance of terminal according to ambient light intensity when being judged as YES more than pre-determined distance, improves the accuracy of screen luminance of terminal adjusting.

Description

A kind of screen luminance adjustment method and device
Technical field
The present invention relates to field of terminal technology more particularly to a kind of screen luminance adjustment method and devices.
Background technology
With mobile terminal technology development and constantly bring forth new ideas, user requires also to get over to the display performance of mobile terminal screen Come higher, it is clear not require nothing more than screen display, but also screen intensity be required to change with the variation of environment, so that screen Brightness meets user's use demands simultaneously and not dazzling requirement.
Currently, mobile terminal is generally both provided with ambient light sensor, mobile terminal would know that by ambient light sensor It is presently in the luminous intensity of environment, and screen intensity is adjusted according to current environment luminous intensity, is allowed to be adapted with environment.
It is existing by ambient light sensor adjust screen intensity in the way of in, it is considered that ambient light intensity and screen There are linear positive correlations for brightness, i.e., when environmental light brightness enhances, mobile terminal screen brightness brightens, and environmental light brightness weakens When, mobile terminal screen brightness is dimmed.
However, in the prior art, as long as mobile terminal opens screen intensity adjust automatically, mobile terminal is at any time Screen intensity will be adjusted according to ambient light intensity, the environmental factor considered in this method of adjustment is single, causes mobile terminal The accuracy of screen intensity adjustment is low.
Therefore, the accuracy of mobile terminal screen brightness adjustment needs further to be improved in the prior art.
Invention content
A kind of screen luminance adjustment method of offer of the embodiment of the present invention and device can solve existing screen intensity adjustment The low technical problem of screen luminance of terminal Adjusting accuracy in method.
The embodiment of the present invention provides a kind of screen luminance adjustment method, including:
Receive brightness regulation request;
According to the distance between the brightness regulation acquisition request terminal display screen and external object;
Judge whether the distance is more than pre-determined distance;
If so, the ambient light intensity that the terminal is presently in environment is obtained, and according to the ambient light intensity to institute The screen intensity for stating terminal is adjusted.
Further, after the screen intensity of the terminal is adjusted according to the ambient light intensity, the screen Curtain brightness adjusting method further include:
The screen intensity of the terminal is adjusted according to the distance.
Further, the described the step of screen intensity of the terminal is adjusted according to the distance, specifically includes:
It obtains described apart from corresponding brightness regulation amplitude;
The screen intensity of the terminal is adjusted according to the brightness regulation amplitude.
Further, the described the step of screen intensity of the terminal is adjusted according to the brightness regulation amplitude, has Body includes:
Judge whether the brightness regulation amplitude is more than predetermined threshold value;
If being judged as NO, the screen intensity of the terminal is adjusted according to the brightness regulation amplitude.
Further, the screen luminance adjustment method further includes:
When judging that the brightness regulation amplitude is more than the predetermined threshold value, according to the predetermined threshold value to the terminal Screen intensity is adjusted.
Further, described according to the distance between the brightness regulation acquisition request terminal display screen and external object Step specifically includes:
According to the measurement distance described in the brightness regulation acquisition request between terminal display screen and external object;
The measurement distance is modified according to distance correction information, to obtain the terminal display screen and external object The distance between.
Correspondingly, the embodiment of the present invention also provides a kind of screen brightness regulating device, including:
Receiving module, for receiving brightness regulation request;
First acquisition module, for according between the brightness regulation acquisition request terminal display screen and external object away from From;
Judgment module, for judging whether the distance is more than pre-determined distance;
First acquisition module is additionally operable to, when the judgment module is judged as YES, obtain the terminal and be presently in The ambient light intensity of environment;
First adjustment module, for the screen intensity of the terminal to be adjusted according to the ambient light intensity.
Further, described device further includes:
Second adjustment module, for the screen intensity of the terminal to be adjusted according to the distance.
Further, second adjustment module specifically includes:
Second acquisition submodule, it is described apart from corresponding brightness regulation amplitude for obtaining;
Third adjusts submodule, for the screen intensity of the terminal to be adjusted according to the brightness regulation amplitude.
Further, the third adjusts submodule and is specifically used for:
Judge whether the brightness regulation amplitude is more than predetermined threshold value;
When being judged as NO, the screen intensity of the terminal is adjusted according to the brightness regulation amplitude, works as judgement When to be, the screen intensity of the terminal is adjusted according to the predetermined threshold value.
An embodiment of the present invention provides a kind of screen luminance adjustment method and device, which uses and connects Brightness regulation request is received, according to the distance between the brightness regulation acquisition request terminal display screen and external object, and judging should Whether distance is more than pre-determined distance, if so, the ambient light intensity that the terminal is presently in environment is obtained, and according to the ambient light The screen intensity of the terminal is adjusted in intensity;The program may determine that the distance between terminal display screen and external object are It is no just the screen intensity of the terminal to be adjusted according to ambient light intensity, phase when more than pre-determined distance more than pre-determined distance For the prior art, only when terminal display screen and external object are separated by a certain distance just according to ambient light intensity to this The screen intensity of terminal is adjusted, and at a distance from terminal display screen is between external object within pre-determined distance when is not right Screen luminance of terminal is adjusted, and ambient light intensity and terminal display screen and the external world have been fully considered in screen intensity adjustment process This double factor of the distance between object is no longer that solely screen luminance of terminal is adjusted according to ambient light intensity, carries The accuracy that high screen luminance of terminal is adjusted.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the flow diagram for the screen luminance adjustment method that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of screen luminance adjustment method provided by Embodiment 2 of the present invention;
Fig. 3 a are the structural schematic diagrams for the first screen brightness regulating device that the embodiment of the present invention three provides;
Fig. 3 b are the structural schematic diagrams for second of screen brightness regulating device that the embodiment of the present invention three provides;
Fig. 3 c are the structural schematic diagrams for the third screen brightness regulating device that the embodiment of the present invention three provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, the every other implementation that those skilled in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
A kind of screen luminance adjustment method of offer of the embodiment of the present invention and device.It will be described in detail respectively below.
Embodiment one
The present embodiment will be described from the angle of screen brightness regulating device, which specifically can be with It integrates in the terminal, which can be the equipment such as smart mobile phone, tablet computer.
A kind of screen luminance adjustment method, including:Brightness regulation request is received, according to the brightness regulation acquisition request terminal The distance between display screen and external object, and judge whether the distance more than pre-determined distance obtains the end if being judged as YES End is presently in the ambient light intensity of environment, and the screen intensity of the terminal is adjusted according to the ambient light intensity.
As shown in Figure 1, the screen luminance adjustment method, detailed process can be as follows:
S101 receives brightness regulation request.
Specifically, brightness regulation request can voluntarily be initiated by terminal, for example, some timing system can be based on The request of the clocked flip brightness regulation is set, or can be brightness regulation request one trigger condition of setting, whenever reaching The trigger condition can triggering terminal voluntarily initiate the brightness regulation request, and execute reception, processing.
Brightness regulation request can also be to be triggered by terminal by user, or initiated to terminal by certain medium , for example, user can be operated by input on a terminal screen triggers brightness regulation request, for another example, user can be with Brightness regulation request is sent to terminal by remote operation or short distance infrared remote control, subsequent terminal executes reception.
S102, according to the distance between the brightness regulation acquisition request terminal display screen and external object.
In specific implementation process, after receiving brightness regulation request, terminal display screen can be obtained there are many method The distance between external object.
For example, obtaining the distance between terminal display screen and external object using photoelectric sensor.This acquisition distance Method in, need to be provided with photoelectric sensor in the terminal, when terminal receive brightness regulation request after, the light into terminal Electric transducer sends the instruction for obtaining distance, and photoelectric sensor outwardly emits light pulse and receives the light pulse of object return, Then generate corresponding electric signal in photoelectric sensor, photoelectric sensor is by being analyzed, being calculated to the electric signal etc. Reason comes the distance between outlet terminal display screen and external object.
In actual application, due to being used for a long time, the photoelectric sensor in terminal is inevitable in measurement distance Ground will produce error, for example, photoelectric sensor is caused to generate when emitting light pulse or receiving light pulse by oil pollution Error needs to be modified the measurement distance of photoelectric sensor at this time, therefore step so as to cause measurement distance inaccuracy S102 can specifically include as follows:
According to the measurement distance between the brightness regulation acquisition request terminal display screen and external object;
The measurement distance is modified according to distance correction information, to obtain between the terminal display screen and external object Distance.
Wherein, which can be the distance that photoelectric sensor senses, which can be advance It is stored in the correction amount of terminal respective memory regions (built-in storage region or external storage region), for example, the distance correction Information is correction amount A (such as 5mm), and measurement distance is carried out plus A as the distance between terminal display screen and external object Output;The distance correction information can also be the distance correction coefficient being calculated in real time, for example, the distance correction information is oil Dirty interference ratio k, greasy dirt interference ratio k may be used following methods and obtain:When the photoelectric sensor of terminal is activated for the first time, A measurement distance L is obtained in no object proximity sensor0, need to carry out distance correction in the photoelectric sensor of terminal When, a measurement distance L is obtained in no object proximity sensor1So that k=L0/L1, when carrying out distance correction, will measure Distance is multiplied by greasy dirt interference ratio k and is exported as the distance between terminal display screen and external object.
S103, judges whether the distance is more than pre-determined distance.
In specific implementation process, judge the distance whether be more than pre-determined distance mode there are many, for example, get this away from From rear, from the pre-determined distance is called in the respective memory regions (built-in storage region or external storage region) of terminal, then The distance got can be compared with the pre-determined distance, to judge whether the distance is more than pre-determined distance.
Wherein, which can be the distance value that terminal is stored in terminal respective memory regions in manufacture, Such as 10cm, the pre-determined distance can also be user setting and be stored in a distance value of terminal respective memory regions.
It is that there are many processing modes of terminal when being judged as NO, for example, executing step after certain interval of time again S102;When being judged as YES, step S104 is executed.
S104 obtains the ambient light intensity that the terminal is presently in environment, and according to the ambient light intensity to the terminal Screen intensity is adjusted.
In particular it is required that be provided with ambient light sensor in the terminal in advance, when judging terminal display screen and external object The distance between when being more than pre-determined distance, ambient light sensor into terminal sends the instruction for obtaining ambient light intensity, environment Optical sensor sensing local environment in ambient light intensity and corresponding electric signal is generated in photoelectric switching circuit, terminal according to The electric signal output is presently in the ambient light intensity of environment.
Then, the screen intensity of terminal is adjusted according to the ambient light intensity.
In specific implementation, there are many screen intensity of terminal is adjusted according to the ambient light intensity modes.For example, The mapping relations of storage environment luminous intensity and screen intensity, the mapping relations are specifically as follows proportional relation in the terminal in advance, After getting ambient light intensity, corresponding screen intensity, referred to as object brightness are inquired according to the mapping relations, and by terminal Screen intensity is set as the object brightness.Wherein, there are many forms of expression of the object brightness, for example, can be one specific Brightness number, can also be percentage.
Preferably, in order to further increase screen luminance of terminal adjusting accuracy, can also according to terminal display screen with Screen intensity is adjusted in the distance between external object, therefore, can also include the following steps after step S104:
The screen intensity of the terminal is adjusted according to the distance.
In practical application, there are many screen intensity of the terminal is adjusted according to the distance modes, it is preferable that step Suddenly " screen intensity of the terminal is adjusted according to the distance " and may include:
This is obtained apart from corresponding brightness regulation amplitude;
The screen intensity of the terminal is adjusted according to the brightness regulation amplitude.
Specifically, the mapping relations between distance and brightness regulation amplitude are stored in the terminal in advance, wherein brightness regulation Amplitude can be specific brightness value (for example, 20nit), can also be percentage (for example, 1%), can also be specific LCD The adjustment grade (for example, 10 LCD backlight chips adjust grade) of backlight chip, which can be specifically that direct ratio closes System.When the screen intensity of the terminal being adjusted according to the distance, the instruction of inquiry brightness regulation amplitude is issued first, according to The mapping relations inquire with this apart from corresponding brightness regulation amplitude, terminal current screen brightness is then increased into the brightness regulation Amplitude.
Preferably due to screen luminance of terminal is adjusted according to the ambient light intensity of terminal local environment, Amplitude of accommodation when in order to avoid screen luminance of terminal being adjusted according to the distance between terminal display screen and external object It is excessive, can also include following step before " screen intensity of the terminal is adjusted according to the brightness regulation amplitude " step Suddenly:
Judge whether the brightness regulation amplitude is more than predetermined threshold value;
If being judged as NO, the screen intensity of the terminal is adjusted according to the brightness regulation amplitude.
Specifically, after getting brightness regulation amplitude, from the corresponding storage region of terminal, (built-in storage region external is deposited Storage area domain) in call the predetermined threshold value, then the brightness regulation amplitude got is compared with the predetermined threshold value, with judgement Whether the brightness regulation amplitude is more than predetermined threshold value.
Wherein, which can be the brightness value that terminal is stored in manufacture in terminal respective memory regions (for example, 50nit) or percentage (such as 5%), can also be user setting and is stored in the one of terminal respective memory regions A brightness value or percentage.
Preferably, in order to ensure brightness regulation amplitude be more than the predetermined threshold value when, also can to screen luminance of terminal into Row is adjusted, and can also include after " judging whether the brightness regulation amplitude is more than predetermined threshold value ":
If being judged as YES, the screen intensity of the terminal is adjusted according to the predetermined threshold value.
In specific implementation, there are many screen intensity of the terminal is adjusted according to the predetermined threshold value modes, for example, When being judged as that the brightness regulation amplitude is more than the predetermined threshold value, which is increased into the predetermined threshold value.
From the foregoing, it will be observed that screen luminance adjustment method provided in an embodiment of the present invention, is asked using brightness regulation is received, according to The distance between the brightness regulation acquisition request terminal display screen and external object, and judge the distance whether be more than it is default away from From, if so, the ambient light intensity that the terminal is presently in environment is obtained, and according to the ambient light intensity to the screen of the terminal Brightness is adjusted;The program may determine that whether the distance between terminal display screen and external object are more than pre-determined distance, when When more than pre-determined distance, just the screen intensity of the terminal is adjusted according to ambient light intensity, in terms of existing technologies, Only when terminal display screen and external object are separated by a certain distance just according to ambient light intensity to the screen intensity of the terminal into Row is adjusted, and is not carried out to screen luminance of terminal when at a distance from terminal display screen is between external object within pre-determined distance Adjust, fully considered in screen intensity adjustment process ambient light intensity and the distance between terminal display screen and external object this Double factor is no longer that solely screen luminance of terminal is adjusted according to ambient light intensity, improves screen luminance of terminal The accuracy of adjusting.
Embodiment two
According to method described in embodiment one, citing is described in further detail below.
In the present embodiment, it will be specifically integrated in smart mobile phone with the screen brightness regulating device, to the screen of the terminal Curtain brightness is described in detail for being adjusted.
As shown in Fig. 2, a kind of screen luminance adjustment method, detailed process can be as follows:
S201, smart mobile phone receive brightness regulation request.
Specifically, brightness regulation request can be automatically initiated according to the timing of user by smart mobile phone, can also It is to be set out by the input operation of user, can also be what user was initiated by certain medium to smart mobile phone, for example, user Brightness regulation request can be sent to smart mobile phone by remote operation, subsequent smart mobile phone executes reception.
S202, smart mobile phone is according to the distance between its display screen of brightness regulation acquisition request and external object.
In the present embodiment, infrared sensor is integrated in smart mobile phone, and light is integrated in infrared sensor Power conversion circuit after infrared sensor senses the distance between external object, generates corresponding in photoelectric switching circuit Electric signal, specifically, the electric signal can be current signal (such as 1mA, 1A etc.), which can also be voltage signal (such as 1mV, 1V etc.), output smart mobile phone display screen and foreign objects after the processor of smart mobile phone handles the electric signal The distance between body.
S203, smart mobile phone judge whether the distance is more than pre-determined distance.
Specifically, after smart mobile phone gets the distance, call stored in storage region built in smart mobile phone it is default away from From, and the difference obtained between the distance and the pre-determined distance is calculated by processor, when the difference is more than 0, it is judged as this Distance is more than the pre-determined distance, and subsequent smart mobile phone executes step S204;When the difference be less than or equal to 0 when, be judged as this away from From no more than the pre-determined distance, step S202 is executed after subsequent smart mobile phone certain interval of time, for example, interval time is 5s.
S204, smart mobile phone obtain the ambient light intensity for being presently in environment, and bright to screen according to the ambient light intensity Degree is adjusted.
In the present embodiment, ambient light sensor is integrated in smart mobile phone, and light is integrated in ambient light sensor Power conversion circuit.When smart mobile phone judges that the distance is more than the pre-determined distance in S203, sends and obtain to ambient light sensor The instruction of ambient light intensity generates after ambient light sensor senses the ambient light intensity of local environment in photoelectric switching circuit Corresponding electric signal, smart mobile phone the processing such as are amplified to obtain ambient light intensity to the electric signal.
In the present embodiment, the mapping that ambient light intensity and screen intensity are stored in the built-in storage region of smart mobile phone is closed Corresponding screen intensity, i.e. object brightness after smart mobile phone gets ambient light intensity, are inquired, so according to the mapping relations by system Set the screen intensity of smart mobile phone to the object brightness afterwards.
In the present embodiment, smart mobile phone screen be LCD (Liquid Crystal Display) display screen, the present invention its In its embodiment, smart mobile phone screen can also be LED (Light Emitting Diode) display screen, OLED (Organic Light-Emitting Diode) display screen etc..
S205, smart mobile phone obtain brightness regulation amplitude corresponding with the distance between display screen and external object.
Specifically, the mapping relations of distance and brightness regulation amplitude are stored in the built-in storage region of smart mobile phone.Intelligence After energy mobile phone is adjusted screen intensity according to ambient light intensity, the instruction for obtaining brightness regulation amplitude is sent to processor, Processor according to the distance got in S202 and the mapping relations, inquiry with this apart from corresponding brightness regulation amplitude.
S206, smart mobile phone judge whether the brightness regulation amplitude is more than predetermined threshold value.
Specifically, it after smart mobile phone gets the brightness regulation amplitude, calls and is stored in storage region built in smart mobile phone Predetermined threshold value, and the difference between the brightness regulation amplitude and the predetermined threshold value is calculated by processor, when the difference is less than Or when equal to 0, it is judged as that the brightness regulation amplitude is not more than the predetermined threshold value;When the difference is more than 0, it is judged as the brightness tune Section amplitude is more than the predetermined threshold value.
S207, smart mobile phone are adjusted screen intensity according to the brightness regulation amplitude.
Specifically, smart mobile phone increases the brightness regulation amplitude as object brightness using current screen brightness, and will be intelligent The screen intensity of mobile phone is set as the object brightness.
In other embodiments of the invention, smart mobile phone can also reduce the brightness regulation amplitude with current screen brightness It is set as the object brightness as object brightness, and by the screen intensity of smart mobile phone.
S208, smart mobile phone are adjusted screen intensity according to the predetermined threshold value.
Specifically, smart mobile phone increases the predetermined threshold value as object brightness using current screen brightness, and by smart mobile phone Screen intensity be set as the object brightness.
In other embodiments of the invention, smart mobile phone can also be reduced using current screen brightness the predetermined threshold value as Object brightness, and set the screen intensity of smart mobile phone to the object brightness.
From the foregoing, it will be observed that an embodiment of the present invention provides a kind of screen luminance adjustment methods, brightness is received by smart mobile phone Adjust request, according to the distance between the brightness regulation acquisition request smart mobile phone display screen and external object, and judge this away from From whether pre-determined distance is more than, when being judged as YES, the ambient light intensity for being presently in environment is obtained, and according to the environmental light intensity Screen intensity is adjusted in degree, then obtains brightness tune corresponding with the distance between smart mobile phone display screen and external object Section amplitude, and judge whether the brightness regulation amplitude is more than predetermined threshold value, when being judged as NO, according to the brightness regulation amplitude pair Screen intensity is adjusted, and when being judged as YES, wakes up with a start adjusting to screen intensity according to the predetermined threshold value;The program is judging intelligence When energy the distance between mobile phone display screen and external object are more than pre-determined distance, just according to ambient light intensity to smart mobile phone screen Brightness is adjusted, and further judges whether be more than predetermined threshold value apart from corresponding brightness regulation amplitude with this, to basis Screen intensity is adjusted in the distance or predetermined threshold value, and in terms of existing technologies, the program has fully considered a variety of rings Border factor is adjusted smart mobile phone screen intensity according to a variety of environmental factors, and can control to adjust amplitude, effectively Improve the accuracy of smart mobile phone screen intensity adjusting.
In actual use, different for the use demand of smart mobile phone due to different user, even if in identical environment In luminous intensity, different user is also different for the demand of smart mobile phone screen intensity, such as the user having is accustomed to closely using Smart mobile phone, and some users custom uses smart mobile phone at a distance, or the user's custom smart mobile phone screen intensity having is inclined It is bright, and some users custom smart mobile phone screen intensity is partially dark, therefore in the prior art, smart mobile phone is only according to environmental light intensity The accuracy that the method for spending to adjust screen intensity causes screen intensity to adjust is inadequate, it is difficult to meet user demand, and it is of the invention The screen luminance adjustment method that embodiment provides fully considered ambient light intensity and smart mobile phone display screen and external object it Between two aspect factor of distance, smart mobile phone screen intensity is adjusted according to ambient light intensity and the distance, improves intelligence The accuracy that energy screen luminance of mobile phone is adjusted more meets user demand compared with the existing technology.
Embodiment three
In order to preferably implement above method, the embodiment of the present invention also provides a kind of screen brightness regulating device, the screen Brightness regulating apparatus can integrate in the terminal, which can specifically include smart mobile phone, tablet computer, laptop etc. Equipment.
As shown in Figure 3a, which may include:Receiving module 301, is sentenced first acquisition module 302 Disconnected module 303, the first adjustment module 304, are described in detail below:
Receiving module 301, for receiving brightness regulation request;
First acquisition module 302, for according between the brightness regulation acquisition request terminal display screen and external object Distance;
Judgment module 303, for judging whether the distance is more than pre-determined distance;
When judgment module 303 is judged as YES, which is additionally operable to obtain the ring of the terminal local environment Border luminous intensity;
First adjustment module 304, for the screen intensity of the terminal to be adjusted according to the ambient light intensity.
Preferably, as shown in Figure 3b, which can also include:Second adjustment module 305;
Second adjustment module 305, for the screen intensity of the terminal to be adjusted according to the distance.
Preferably, as shown in Figure 3c, which specifically includes:Second acquisition submodule 3051, third tune Knot module 3052;
Second acquisition submodule 3051, for obtaining this apart from corresponding brightness regulation amplitude;
The third adjusts submodule 3052, for being adjusted to the screen intensity of the terminal according to the brightness regulation amplitude Section.
Preferably, which adjusts submodule 3052 and is specifically used for:
Judge whether the brightness regulation amplitude is more than predetermined threshold value;
When being judged as NO, the screen intensity of the terminal is adjusted according to the brightness regulation amplitude, when being judged as YES When, the screen intensity of the terminal is adjusted according to the predetermined threshold value.
From the foregoing, it will be observed that an embodiment of the present invention provides a kind of screen brightness regulating device, received by receiving module 301 bright Degree adjust request, the first acquisition module 302 according between the brightness regulation acquisition request terminal display screen and external object away from From judgment module 303 judges whether the distance is more than pre-determined distance, and when the judgment module 303 is judged as YES, first obtains mould Block 302 obtains the ambient light intensity of the terminal local environment, and the first adjustment module 304 is according to the ambient light intensity to the terminal Screen intensity is adjusted;The program may determine that the distance between terminal display screen and external object whether be more than it is default away from From when more than pre-determined distance, just the screen intensity of the terminal being adjusted according to ambient light intensity, compared with the existing technology For, it is only just bright to the screen of the terminal according to ambient light intensity when terminal display screen is separated by a certain distance with external object Degree is adjusted, and not to screen luminance of terminal when at a distance from terminal display screen is between external object within pre-determined distance Be adjusted, fully considered in screen intensity adjustment process between ambient light intensity and terminal display screen and external object away from From this double factor, no longer it is that solely screen luminance of terminal is adjusted according to ambient light intensity, improves terminal screen The accuracy of brightness regulation.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
It is provided for the embodiments of the invention a kind of screen luminance adjustment method above and device is described in detail, this Specific case is applied in text, and principle and implementation of the present invention are described, the explanation of above example is only intended to It facilitates the understanding of the method and its core concept of the invention;Meanwhile for those skilled in the art, according to the thought of the present invention, The there will be changes in specific implementation mode and range of applications, in conclusion the content of the present specification should not be construed as Limitation of the present invention.

Claims (10)

1. a kind of screen luminance adjustment method, which is characterized in that including:
When the photoelectric sensor of terminal is activated for the first time, the first measurement distance is obtained by the photoelectric sensor, described the The distance that one measurement distance obtains when being photoelectric sensor described in no object proximity;
Receive brightness regulation request;
The second measurement distance is obtained by the photoelectric sensor, second measurement distance is photoelectricity described in no object proximity The distance obtained when sensor;
The ratio of first measurement distance and second measurement distance is determined as greasy dirt and interferes ratio;
According to the measurement distance between the brightness regulation acquisition request terminal display screen and external object;
Calculate the product of the measurement distance and greasy dirt interference ratio;
The product is determined as the distance between display screen and external object;
Judge whether the distance is more than pre-determined distance;
If so, the ambient light intensity that the terminal is presently in environment is obtained, and according to the ambient light intensity to the end The screen intensity at end is adjusted.
2. screen luminance adjustment method according to claim 1, which is characterized in that according to the ambient light intensity to institute State terminal screen intensity be adjusted after, the screen luminance adjustment method further includes:
The screen intensity of the terminal is adjusted according to the distance.
3. screen luminance adjustment method according to claim 2, which is characterized in that it is described according to the distance to the end The step of screen intensity at end is adjusted specifically includes:
It obtains described apart from corresponding brightness regulation amplitude;
The screen intensity of the terminal is adjusted according to the brightness regulation amplitude.
4. screen luminance adjustment method according to claim 3, which is characterized in that described according to the brightness regulation amplitude The step of screen intensity of the terminal is adjusted specifically includes:
Judge whether the brightness regulation amplitude is more than predetermined threshold value;
If being judged as NO, the screen intensity of the terminal is adjusted according to the brightness regulation amplitude.
5. screen luminance adjustment method according to claim 4, which is characterized in that the method further includes:
When judging that the brightness regulation amplitude is more than the predetermined threshold value, according to the predetermined threshold value to the screen of the terminal Brightness is adjusted.
6. a kind of screen brightness regulating device, including:
Receiving module, for receiving brightness regulation request;
First acquisition module, is used for:
When the photoelectric sensor of terminal is activated for the first time, the first measurement distance is obtained by the photoelectric sensor, described the The distance that one measurement distance obtains when being photoelectric sensor described in no object proximity;
When the receiving module receives brightness regulation request, the second measurement distance, institute are obtained by the photoelectric sensor State the distance obtained when the second measurement distance is photoelectric sensor described in no object proximity;
The ratio of first measurement distance and second measurement distance is determined as greasy dirt and interferes ratio;
According to the measurement distance between the brightness regulation acquisition request terminal display screen and external object;
Calculate the product of the measurement distance and greasy dirt interference ratio;
The product is determined as the distance between display screen and external object;
Judgment module, for judging whether the distance is more than pre-determined distance;
First acquisition module is additionally operable to, when the judgment module is judged as YES, obtain the terminal and be presently in environment Ambient light intensity;
First adjustment module, for the screen intensity of the terminal to be adjusted according to the ambient light intensity.
7. screen brightness regulating device according to claim 6, which is characterized in that described device further includes:
Second adjustment module, for the screen intensity of the terminal to be adjusted according to the distance.
8. screen brightness regulating device according to claim 7, which is characterized in that second adjustment module is specifically wrapped It includes:
Second acquisition submodule, it is described apart from corresponding brightness regulation amplitude for obtaining;
Third adjusts submodule, for the screen intensity of the terminal to be adjusted according to the brightness regulation amplitude.
9. screen brightness regulating device according to claim 8, which is characterized in that the third adjusts submodule and specifically uses In:
Judge whether the brightness regulation amplitude is more than predetermined threshold value;
When being judged as NO, the screen intensity of the terminal is adjusted according to the brightness regulation amplitude, when being judged as YES When, the screen intensity of the terminal is adjusted according to the predetermined threshold value.
10. a kind of storage medium, which is characterized in that computer program is stored in the storage medium, when the computer journey When sequence is run on computers so that the computer perform claim requires 1 to 5 any one of them screen intensity adjusting side Method.
CN201610323019.9A 2016-05-13 2016-05-13 A kind of screen luminance adjustment method and device Active CN105788568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610323019.9A CN105788568B (en) 2016-05-13 2016-05-13 A kind of screen luminance adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610323019.9A CN105788568B (en) 2016-05-13 2016-05-13 A kind of screen luminance adjustment method and device

Publications (2)

Publication Number Publication Date
CN105788568A CN105788568A (en) 2016-07-20
CN105788568B true CN105788568B (en) 2018-09-21

Family

ID=56379717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610323019.9A Active CN105788568B (en) 2016-05-13 2016-05-13 A kind of screen luminance adjustment method and device

Country Status (1)

Country Link
CN (1) CN105788568B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106248542A (en) * 2016-08-16 2016-12-21 广东欧珀移动通信有限公司 A kind of detect the method for air quality, device and terminal
CN106126046A (en) * 2016-08-24 2016-11-16 广东小天才科技有限公司 Cursor brightness adjusting method and device
CN106681609B (en) * 2016-12-15 2019-01-18 珠海格力电器股份有限公司 Terminal device screen brightness adjusting method and device and terminal device
CN110555873A (en) * 2018-05-30 2019-12-10 Oppo广东移动通信有限公司 Control method, control device, terminal, computer device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866227A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Screen control method and screen control apparatus
CN105391853A (en) * 2015-10-15 2016-03-09 广东欧珀移动通信有限公司 Voice call control method and voice call control device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821210A (en) * 2012-08-21 2012-12-12 广东欧珀移动通信有限公司 Power-saving method for reading with intelligent terminal
CN104363337B (en) * 2014-10-31 2017-01-11 广东欧珀移动通信有限公司 Method and device for regulating screen brightness of mobile terminal
CN104468912B (en) * 2014-12-08 2018-01-16 上海斐讯数据通信技术有限公司 A kind of control method and its display terminal of mobile terminal screen brightness
CN104735241A (en) * 2015-02-12 2015-06-24 广东欧珀移动通信有限公司 Mobile terminal and control method for screen brightness of mobile terminal
CN105845090B (en) * 2016-04-07 2019-06-14 Oppo广东移动通信有限公司 A kind of backlight adjusting method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866227A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Screen control method and screen control apparatus
CN105391853A (en) * 2015-10-15 2016-03-09 广东欧珀移动通信有限公司 Voice call control method and voice call control device

Also Published As

Publication number Publication date
CN105788568A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN105788568B (en) A kind of screen luminance adjustment method and device
CN107943345B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN107966209B (en) Ambient light detection method, ambient light detection device, storage medium, and electronic apparatus
CN105933519B (en) A kind of screen luminance adjustment method, device and mobile terminal
CN111754954B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN109271014B (en) Method and equipment for adjusting screen brightness
US20190034022A1 (en) Method, mobile terminal and non-transitory computer-readable storage medium for adjusting scanning frequency of touch screen
CN109064996B (en) Display adjustment method and device, storage medium and electronic equipment
CN107942306B (en) Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN105575366B (en) Switch the method and system of backlight governing speed
CN105430162B (en) A kind of method and apparatus for opening flashlight
CN103310763A (en) Method for switching display state of mobile equipment, device and equipment
CN103959649B (en) Method for adjusting the sensitivity of sensing system
CN109143717B (en) Control method and device of electronic equipment, storage medium and electronic equipment
CN106251831A (en) A kind of screen display lightness regulating method based on ambient light and system
CN109343066B (en) Control method and device of proximity sensor, storage medium and mobile terminal
KR20210100859A (en) Method and apparatus for controlling brightness of display in electronic device
US10671206B1 (en) Method to mitigate coupling capacitance between touch sensing emitter and display cathode of a flexible OLED display apparatus, and touch device therefor
CN107256122B (en) Screen luminance adjustment method, device, terminal and computer readable storage medium
CN108962192A (en) Screen luminance adjustment method, intelligent wearable device and storage medium
CN106453965B (en) The adaptive regulation method and device of terminal backlight
CN106131334A (en) Control the method and device of mobile terminal screen state
CN107257414B (en) A kind of screen state control method, device, storage medium and mobile terminal
US10209794B2 (en) Device for touch-sending functions, display panel containing the same, and method for operating the same
CN112968985B (en) Infrared sensor compensation method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.