CN102982769B - A kind of method of Automatic adjusument screen appointed area brightness - Google Patents

A kind of method of Automatic adjusument screen appointed area brightness Download PDF

Info

Publication number
CN102982769B
CN102982769B CN201210446371.3A CN201210446371A CN102982769B CN 102982769 B CN102982769 B CN 102982769B CN 201210446371 A CN201210446371 A CN 201210446371A CN 102982769 B CN102982769 B CN 102982769B
Authority
CN
China
Prior art keywords
brightness
appointed area
picture
screen
gray scale
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.)
Expired - Fee Related
Application number
CN201210446371.3A
Other languages
Chinese (zh)
Other versions
CN102982769A (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 CN201210446371.3A priority Critical patent/CN102982769B/en
Publication of CN102982769A publication Critical patent/CN102982769A/en
Application granted granted Critical
Publication of CN102982769B publication Critical patent/CN102982769B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method with the appointed area brightness of environment self-adaption adjusting screen, be applied to the mobile terminal with touch display screen curtain, first by obtaining the brightness of the background picture P0 of appointed area in screen, then the brightness of the current residing ambient light of screen is obtained by light sensor, whether the optical light level compared again both them is consistent, if inconsistent, environmentally the brightness of light adjusts background picture P0 and obtains new picture P1, and picture P1 is set to the background picture of appointed area, thus change the brightness of this appointed area.The present invention can make the brightness of screen change have more specific aim, can refine on appointed area, appointed area can be changed along with the change of ambient light, bring the visual experience that user is good.

Description

A kind of method of Automatic adjusument screen appointed area brightness
Technical field
The present invention relates to a kind of method of Automatic adjusument screen intensity, particularly a kind of method that the appointed area brightness of screen is regulated.
Background technology
At present, smart mobile phone is at the future development towards giant-screen, and the brightness of screen affects the experience effect of user to a great extent.Current mobile phone screen is that the overall brightness by adjusting screen controls its display effect mostly, and this method seems too general.When user needs to carry out refinement display for the specific region of some in screen, if or come by the overall brightness adjusting screen, it not only lacks specific aim, nor enough intelligent.
Summary of the invention
In view of this, the invention provides a kind of method of Automatic adjusument screen appointed area brightness, the method can make the brightness of screen light environmentally change and automatically regulate, and can refine on appointed area, greatly promotes Consumer's Experience.
The present invention is achieved by the following technical solutions:
With a method for environment self-adaption adjusting screen appointed area brightness, be applied to the mobile terminal with touch display screen curtain, said method comprising the steps of:
Step 1, in screen, choose appointed area A;
Step 2, initialization process is carried out to appointed area A, obtain the brightness L1 of the background picture P1 of appointed area A;
Step 3, according to brightness L1, determine that its gray scale is D1;
Step 4, obtained the brightness L2 of the current residing ambient light of screen by light sensor;
Step 5, according to brightness L2, determine that its gray scale is D2;
Step 6, judge that whether D1 and D2 is equal, be proceed to step 9, otherwise directly perform next step;
The brightness of step 7, adjustment background picture P1, generates the picture P2 that brightness value is Z;
Step 8, picture P2 replaced background picture P1 as the new background picture of appointed area A, thus change the brightness of appointed area A;
After step 9, stand-by period T, return step 2.
Described step 3 comprises further:
3a, scope 0 ~ M1 according to the brightness value of picture P1, be divided into N number of rank, N be greater than 0 natural number;
3b, according to formula D1=Ceil(X) determine that the gray scale of brightness L1 is D1; Wherein, Ceil() represent the computing that rounds up, X=L1/ (M1/N);
If 3c is L1=0, then make D1=1.
Described step 5 comprises further:
5a, the scope 0 ~ M2 of brightness value that can sense according to light sensor, be divided into K rank, K be greater than 0 natural number, and K=N;
5b, according to formula D2=Ceil(Y) determine that the gray scale of brightness L2 is D2; Wherein, Ceil() represent the computing that rounds up, Y=L2/ (M2/K);
If 5c is L2=0, then make D2=1.
Preferably, in described step 7, according to the brightness value Z determining picture P2 of formula Z=M1* (D2-0.5)/N; Time T described in step 9 is the preset value that can arrange as required, and its scope is 1 ~ 10 S.
Compared with prior art, the invention has the beneficial effects as follows: the brightness of screen can be made to change and have more specific aim, can refine on the region of specifying, its brightness be changed along with the change of ambient light, brings good experience to user.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described.
As shown in Figure 1, a kind of method with the appointed area brightness of environment self-adaption adjusting screen, is applied to the mobile terminal with touch display screen curtain, said method comprising the steps of:
Step 1, in screen, choose appointed area A;
Step 2, initialization process is carried out to appointed area A, obtain the brightness L1 of the background picture P1 of appointed area A;
Step 3, according to brightness L1, determine that its gray scale is D1;
Step 4, obtained the brightness L2 of the current residing ambient light of screen by light sensor;
Step 5, according to brightness L2, determine that its gray scale is D2;
Step 6, judge that whether D1 and D2 is equal, be proceed to step 9, otherwise directly perform next step;
The brightness of step 7, adjustment background picture P1, generates the picture P2 that brightness value is Z;
Step 8, picture P2 replaced background picture P1 as the new background picture of appointed area A, thus change the brightness of appointed area A;
After step 9, stand-by period T, return step 2.
Step 3 of the present invention comprises further:
3a, scope 0 ~ M1 according to the brightness value of picture P1, be divided into N number of rank, N be greater than 0 natural number;
3b, according to formula D1=Ceil(X) determine that the gray scale of brightness L1 is D1; Wherein, Ceil() represent the computing that rounds up, X=L1/ (M1/N);
If 3c is L1=0, then make D1=1.
Described step 5 comprises further:
5a, the scope 0 ~ M2 of brightness value that can sense according to light sensor, be divided into K rank, K be greater than 0 natural number, and K=N;
5b, according to formula D2=Ceil(Y) determine that the gray scale of brightness L2 is D2; Wherein, Ceil() represent the computing that rounds up, Y=L2/ (M2/K);
If 5c is L2=0, then make D2=1.
Light sensor can sense the brightness of the light of surrounding environment, and the value of the brightness of its induction has certain scope, supposes that its scope is 0 ~ M2.When light as environment is around the darkest, its brightness value is minimum, if it is 0; When it senses that the light of surrounding environment is the brightest (this is the brightest refers to the brightness that light sensor can sense, the brightness change exceeding this degree then cannot be responded to), now brightness value is maximum, if it is M2.Then be divided into according to its scope (0 ~ M2) gray scale that K rank determines surrounding environment light.The present invention takes to divide intensity level method for distinguishing: according to formula D2=Ceil(Y) determine that its gray scale is D2; Wherein, Ceil() represent the computing that rounds up, Y=L2/ (M2/K), K be greater than 0 natural number, L2 is the brightness that light sensor senses; And as L2=0, then make D2=1.For the division methods of gray scale is described better, suppose M2=100 here, K=10, if the brightness L2=0 that light sensor senses, then its gray scale D2=1; If L2=56, then D2=Ceil(Y)=Ceil(5.6)=6; If L2=100, then D2=Ceil(Y)=Ceil(10)=10 ... the gray scale D2 of surrounding environment light is so determined according to its brightness L2.
In like manner, the gray scale of picture also takes similar division principle, namely according to D1=Ceil(X) determine that its gray scale is D1; Wherein, Ceil() represent the computing that rounds up, X=L1/ (M1/N), N be greater than 0 natural number and N=K, L1 are the brightness that light sensor senses; And as L1=0, then make D1=1.It should be noted that, N=K herein, equal with the K that the above-mentioned brightness value sensed according to light sensor divides gray scale, to make the gray scale that divides according to the value of picture luminance and to sense according to light sensor the gray scale one_to_one corresponding that the value of the brightness of surrounding environment light divides.The value of D1 is identical with the value calculating method of above-mentioned D2, no longer enumerates concrete numerical value to illustrate herein.
Intensity level method for distinguishing is divided according to above, so the value of the brightness of picture P2 should between M1* (D2-1)/N and M1*D2/N, here get its mean value, namely in described step 7, the brightness value Z of picture P2 determines according to formula Z=M1* (D2-0.5)/N.
In step 9, time T is the preset value that can arrange as required, and its time range can need to arrange according to machine performance or user, the desirable 1-10 S of T here.
It should be noted that, the division methods of gray scale is not limited to division methods as above, said method is only a kind of embodiment of the present invention to gray scale division methods, other division methods can also be taked, but need the gray scale divided according to the value of picture luminance and sense according to light sensor the gray scale one_to_one corresponding that the value of the brightness of surrounding environment light divides.
Above content is in conjunction with concrete optimal way further description made for the present invention, should not assert that specific embodiment of the invention is confined to above explanation.For those skilled in the art, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, within the protection domain that the claim that all should be considered as being submitted to by the present invention is determined.

Claims (2)

1., with a method for environment self-adaption adjusting screen appointed area brightness, be applied to the mobile terminal with touch display screen curtain, said method comprising the steps of:
Step 1, in screen, choose appointed area A;
Step 2, initialization process is carried out to appointed area A, obtain the brightness L1 of the background picture P1 of appointed area A;
Step 3, according to brightness L1, determine that its gray scale is D1;
Step 4, obtained the brightness L2 of the current residing ambient light of screen by light sensor;
Step 5, according to brightness L2, determine that its gray scale is D2;
Step 6, judge that whether D1 and D2 is equal, be proceed to step 9, otherwise directly perform next step;
The brightness of step 7, adjustment background picture P1, generates the picture P2 that brightness value is Z;
Step 8, picture P2 replaced background picture P1 as the new background picture of appointed area A, thus change the brightness of appointed area A;
After step 9, stand-by period T, return step 2;
Described step 3 comprises further:
3a, scope 0 ~ M1 according to the brightness value of picture P1, be divided into N number of rank, N be greater than 0 natural number;
3b, according to formula D1=Ceil(X) determine that the gray scale of brightness L1 is D1; Wherein, Ceil() represent the computing that rounds up, X=L1/ (M1/N);
If 3c is L1=0, then make D1=1;
Described step 5 comprises further:
5a, the scope 0 ~ M2 of brightness value that can sense according to light sensor, be divided into K rank, K be greater than 0 natural number, and K=N;
5b, according to formula D2=Ceil(Y) determine that the gray scale of brightness L2 is D2; Wherein, Ceil() represent the computing that rounds up, Y=L2/ (M2/K);
If 5c is L2=0, then make D2=1;
In described step 7, according to the brightness value Z determining picture P2 of formula Z=M1* (D2-0.5)/N.
2. the method with the appointed area brightness of environment self-adaption adjusting screen according to claim 1, is characterized in that: time T described in step 9 is the preset value that can arrange as required, and its scope is 1 ~ 10 S.
CN201210446371.3A 2012-11-09 2012-11-09 A kind of method of Automatic adjusument screen appointed area brightness Expired - Fee Related CN102982769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210446371.3A CN102982769B (en) 2012-11-09 2012-11-09 A kind of method of Automatic adjusument screen appointed area brightness

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210446371.3A CN102982769B (en) 2012-11-09 2012-11-09 A kind of method of Automatic adjusument screen appointed area brightness

Publications (2)

Publication Number Publication Date
CN102982769A CN102982769A (en) 2013-03-20
CN102982769B true CN102982769B (en) 2015-09-09

Family

ID=47856683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210446371.3A Expired - Fee Related CN102982769B (en) 2012-11-09 2012-11-09 A kind of method of Automatic adjusument screen appointed area brightness

Country Status (1)

Country Link
CN (1) CN102982769B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903593B (en) * 2012-12-27 2017-02-22 腾讯科技(武汉)有限公司 Adjustment method of display background of page, and terminal
CN103905740B (en) * 2014-04-17 2017-04-19 广东欧珀移动通信有限公司 Method and device for improving automatic exposure effect realized through manual adjustment
CN105118436A (en) * 2015-09-16 2015-12-02 中国科学院上海高等研究院 AMOLED display driving circuit and brightness adjustment method
CN106201257B (en) * 2016-06-28 2019-04-05 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN106569770A (en) * 2016-11-10 2017-04-19 惠州Tcl移动通信有限公司 Display background control method and system of mobile terminal, and mobile terminal
CN108848265B (en) * 2018-06-21 2021-02-23 广东小天才科技有限公司 Screen brightness adjusting method and device for local area, terminal and storage medium
CN110870295B (en) * 2018-08-30 2021-07-02 深圳市大疆创新科技有限公司 Screen brightness adjusting method, shooting device and system
CN114285932A (en) * 2021-12-24 2022-04-05 电子科技大学 Screen brightness adjusting method for designated area or designated target

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604158A (en) * 2004-11-03 2005-04-06 东南大学 Drive circuit for plasma display screen
US7468722B2 (en) * 2004-02-09 2008-12-23 Microsemi Corporation Method and apparatus to control display brightness with ambient light correction
US7787706B2 (en) * 2004-06-14 2010-08-31 Microsoft Corporation Method for controlling an intensity of an infrared source used to detect objects adjacent to an interactive display surface
CN102193783A (en) * 2010-03-09 2011-09-21 腾讯科技(北京)有限公司 Method and system for adjusting skin brightness of browser and electronic equipment
CN102270427A (en) * 2010-06-04 2011-12-07 英华达(上海)电子有限公司 Method and apparatus for enhancing reading effect of electronic book and electronic terminal capable of reading electronic book
CN102750927A (en) * 2011-04-20 2012-10-24 纬创资通股份有限公司 Display device and method for adjusting picture gray scale according to brightness of ambient light
CN102768829A (en) * 2011-05-03 2012-11-07 三星电子株式会社 Apparatus and method for controlling brightness of portable terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7468722B2 (en) * 2004-02-09 2008-12-23 Microsemi Corporation Method and apparatus to control display brightness with ambient light correction
US7787706B2 (en) * 2004-06-14 2010-08-31 Microsoft Corporation Method for controlling an intensity of an infrared source used to detect objects adjacent to an interactive display surface
CN1604158A (en) * 2004-11-03 2005-04-06 东南大学 Drive circuit for plasma display screen
CN102193783A (en) * 2010-03-09 2011-09-21 腾讯科技(北京)有限公司 Method and system for adjusting skin brightness of browser and electronic equipment
CN102270427A (en) * 2010-06-04 2011-12-07 英华达(上海)电子有限公司 Method and apparatus for enhancing reading effect of electronic book and electronic terminal capable of reading electronic book
CN102750927A (en) * 2011-04-20 2012-10-24 纬创资通股份有限公司 Display device and method for adjusting picture gray scale according to brightness of ambient light
CN102768829A (en) * 2011-05-03 2012-11-07 三星电子株式会社 Apparatus and method for controlling brightness of portable terminal

Also Published As

Publication number Publication date
CN102982769A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN102982769B (en) A kind of method of Automatic adjusument screen appointed area brightness
CN104394278B (en) Method, device and mobile terminal for regulating screen brightness
CN102968979B (en) Screen brightness scheduling method based on curve fitting
CN103310763B (en) Method, device and a kind of equipment that a kind of mobile device show state switches
CN103235672B (en) Capacitance touch screen automatic calibrating method and system
CN103021315B (en) A kind of method and terminal thereof promoting display screen display effect
CN102097056B (en) Electronic device and method for controlling backlight brightness
CN102404440B (en) Method and device automatically adjusting backlight luminance
CN106445151B (en) A kind of control method and terminal of screen luminance of terminal
CN104200783B (en) Method and system for enabling mobile phone to acquire uniform light effect through production line calibration
CN103338289B (en) backlight adjusting method, adjusting device and mobile terminal
CN104618588A (en) Method for regulating terminal screen brightness
CN103050097B (en) Method and device for regulating brightness of backlight lamp
CN106251831A (en) A kind of screen display lightness regulating method based on ambient light and system
CN105096912A (en) Mobile terminal screen brightness adjustment method and mobile terminal
CN104158966A (en) Automatic backlight brightness adjustment method and system
CN105208223A (en) Mobile terminal mode control method and system
CN104469022A (en) Backlight lamp regulation method and system and handheld terminal
CN103002154B (en) Method for avoiding touch screen invalidation
CN106657676A (en) Screen brightness adjusting method and device
CN103327194A (en) Mode switching method and device for browser skin brightness
CN105204762A (en) Method for regulating screen brightness and user terminal
CN105374338A (en) Screen backlight brightness adjusting method and electronic equipment
CN106094256A (en) Home equipment control method, home equipment control device and intelligent glasses
CN109272944A (en) Backlight adjusting method, device, terminal device and computer-readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150909

CF01 Termination of patent right due to non-payment of annual fee