[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106098021A - A kind of back light brightness regulating method and terminal - Google Patents

A kind of back light brightness regulating method and terminal Download PDF

Info

Publication number
CN106098021A
CN106098021A CN201610645537.2A CN201610645537A CN106098021A CN 106098021 A CN106098021 A CN 106098021A CN 201610645537 A CN201610645537 A CN 201610645537A CN 106098021 A CN106098021 A CN 106098021A
Authority
CN
China
Prior art keywords
backlight illumination
light intensity
grade
intensity value
backlight
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.)
Granted
Application number
CN201610645537.2A
Other languages
Chinese (zh)
Other versions
CN106098021B (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 CN201610645537.2A priority Critical patent/CN106098021B/en
Publication of CN106098021A publication Critical patent/CN106098021A/en
Application granted granted Critical
Publication of CN106098021B publication Critical patent/CN106098021B/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)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention discloses a kind of back light brightness regulating method and terminal, wherein, back light brightness regulating method can obtain the light intensity value of predetermined number, when the light intensity value judging this predetermined number belongs at least two backlight illumination grade, can be according to the backlight illumination of the reconditioning screen of ratio of this at least two backlight illumination grade, visible, the embodiment of the present invention can avoid the problem that flicker occurs in terminal screen in light intensity value changes environment faster.

Description

A kind of back light brightness regulating method and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of back light brightness regulating method and terminal.
Background technology
At present, the screen of terminal is generally of the function being automatically adjusted backlight illumination, i.e. terminal and passes through ambient light sensor Obtain current environmental light intensity angle value, and then select the back of the body corresponding with this environmental light intensity angle value according to different environmental light intensity angle value Brightness values regulates the backlight illumination of screen.But, in certain scenarios, such as user makes in the car of fast running at night When using terminal, the environmental light intensity angle value that the light that street lamp sends is irradiated in terminal cause ambient light sensor to collect quickly becomes Change.Now, it is automatically adjusted backlight illumination function and the backlight brightness values of screen can be caused along with environmental light intensity angle value Rapid Variable Design, make Become screen flicker.
Summary of the invention
The embodiment of the invention discloses a kind of back light brightness regulating method and terminal, it is possible to change relatively in environmental light intensity angle value Avoid terminal screen that flicker occurs time fast.
The embodiment of the invention discloses a kind of back light brightness regulating method, including:
Obtain the light intensity value of predetermined number;
Judge whether the light intensity value of described predetermined number belongs at least two backlight illumination grade, wherein, different backlights The light intensity value interval that brightness degree is corresponding is different;
If the light intensity value of described predetermined number belongs at least two backlight illumination grade, then carry on the back according to described at least two The backlight illumination of the reconditioning screen of ratio of brightness level.
Alternatively, the backlight illumination of the described reconditioning screen of ratio according to described at least two backlight illumination grade, including:
The backlight illumination of screen is set to the backlight illumination etc. that in described at least two backlight illumination grade, proportion is maximum The brightness value that level is corresponding.
Alternatively, the backlight illumination of the described reconditioning screen of ratio according to described at least two backlight illumination grade, including:
Determine maximum and secondary two the big backlight illumination grades of proportion in described at least two backlight illumination grade;
Calculate the average brightness value of the described maximum brightness value corresponding with secondary two big backlight illumination grades;
The backlight illumination of screen is set to described average brightness value.
Wherein, before the described backlight illumination according to the reconditioning screen of ratio of described at least two backlight illumination grade, institute Method of stating also includes:
Add up the number of the light intensity value that each backlight illumination grade comprises in described at least two backlight illumination grade;
For each backlight illumination grade in described at least two backlight illumination grade, calculate described backlight illumination grade bag The ratio of the number of the light intensity value contained and described predetermined number, using described ratio as the proportion of described backlight illumination grade.
Wherein, the light intensity value of described acquisition predetermined number, including:
Light intensity value by ambient light sensor continuous acquisition predetermined number;
Described light intensity value is respectively stored in the caching of default size.
Alternatively, when the light intensity value of described predetermined number belongs at least two backlight illumination grade, described method is also wrapped Include:
Reduce the integration period of described ambient light sensor.
Correspondingly, the embodiment of the invention also discloses a kind of terminal, including:
Acquisition module, for obtaining the light intensity value of predetermined number;
Judge module, for judging whether the light intensity value of described predetermined number belongs at least two backlight illumination grade, Wherein, the light intensity value interval that different backlight illumination grades are corresponding is different;
At described judge module, adjustment module, for judging that the light intensity value of described predetermined number belongs at least two back of the body During brightness level, according to the backlight illumination of the reconditioning screen of ratio of described at least two backlight illumination grade.
Alternatively, described adjustment module specifically for being set to described at least two backlight illumination by the backlight illumination of screen The brightness value that in grade, the backlight illumination grade of proportion maximum is corresponding.
Alternatively, described adjustment module, including:
Determine unit, for determining that in described at least two backlight illumination grade, maximum and secondary two the big backlights of proportion are bright Degree grade;
Computing unit, for calculating maximum and secondary two the big backlight illumination grades pair of the described proportion determining that unit determines The average brightness value of the brightness value answered;
Unit is set, for the backlight illumination of screen is set to the average brightness value that described computing unit calculates.
Wherein, described terminal also includes:
Statistical module, for the reconditioning screen of ratio according to described at least two backlight illumination grade backlight illumination it Before, add up the number of the light intensity value that each backlight illumination grade comprises in described at least two backlight illumination grade;
Computing module, for for each backlight illumination grade in described at least two backlight illumination grade, calculates described The number of the light intensity value that backlight illumination grade comprises and the ratio of described predetermined number, described ratio is bright as described backlight The proportion of degree grade.
Wherein, described acquisition module, including:
Collecting unit, for by the light intensity value of ambient light sensor continuous acquisition predetermined number;
Memory element, for being respectively stored into the light intensity value that described collecting unit gathers in the caching of default size.
Alternatively, described acquisition module also includes:
Regulation unit, when the light intensity value for described predetermined number belongs at least two backlight illumination grade, reduces institute State the integration period of ambient light sensor.
The embodiment of the present invention can obtain the light intensity value of predetermined number, belongs in the light intensity value judging this predetermined number During at least two backlight illumination grade, can be bright according to the backlight of the reconditioning screen of ratio of this at least two backlight illumination grade Degree, it is seen then that the embodiment of the present invention can be avoided changing faster in environment in light intensity value, and flicker occurs in terminal screen.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, for ability From the point of view of the those of ordinary skill of territory, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 is the schematic flow sheet of a kind of back light brightness regulating method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of back light brightness regulating method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the embodiment of the present invention another back light brightness regulating method disclosed;
Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under not making creative work premise Execute example, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of back light brightness regulating method and terminal, it is possible to improve light intensity value change very fast Time screen display effect.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of back light brightness regulating method disclosed in the embodiment of the present invention.Fig. 1 Shown back light brightness regulating method may comprise steps of:
S101, terminal obtain the light intensity value of predetermined number;
In the embodiment of the present invention, terminal can include mobile phone, panel computer, portable set and other are with end of screen End equipment.Wherein, step S101 may include that terminal passes through the light intensity value of ambient light sensor continuous acquisition predetermined number; The light intensity value of collection is respectively stored in the caching of default size by terminal.Wherein, the size of caching can be according to terminal Configuration pre-sets or is manually arranged by user.
It should be noted that terminal is passed through " continuously " in the light intensity value of ambient light sensor continuous acquisition predetermined number and is Referring to that optical sensor gathers the time interval of light intensity value is continuous print.
Whether S102, the light intensity value of this predetermined number of terminal judges belong at least two backlight illumination grade, if this is pre- If the light intensity value of number belongs at least two backlight illumination grade, then perform step S103, otherwise perform step S104.
Wherein, the light intensity value interval that different backlight illumination grades are corresponding is different.In the embodiment of the present invention, terminal can be pre- First store light intensity value corresponding to multiple backlight illumination grade interval, the corresponding brightness value of each backlight illumination grade.Such as, First backlight illumination grade respective light intensities value interval is [0,1];The light intensity value district that second backlight illumination grade is corresponding Between be [2,5], light intensity value interval corresponding to the 3rd backlight illumination grade is [6,40], and the 4th backlight illumination grade is corresponding Light intensity value interval be [41,300], etc..
In the embodiment of the present invention, whether the light intensity value of this predetermined number of terminal judges belongs at least two backlight illumination etc. Level, it can be determined that whether the light intensity value of current environment, at Rapid Variable Design, if belonging at least two backlight illumination grade, then illustrates The light intensity value of current environment at Rapid Variable Design, then can perform the backlight illumination of step S103 regulation screen;If be not belonging to Few two backlight illumination grades, then illustrate that the light intensity value of current environment is constant, can perform step S104 directly according to this light intensity Backlight illumination grade corresponding to angle value arranges the backlight illumination of screen.
The embodiment of the present invention, the light intensity value of this predetermined number belongs at least two backlight illumination grade in step s 102 Time, the integration period of ambient light sensor can be reduced so that ambient light sensor rapid data collection.Such as, by 100ms's Integration period is reduced to the integration period of 50ms, then gathering, by ambient light sensor, time that 20 data need will be from 2s changes to 1s, so can collect more data when again gathering light intensity value, be unlikely to again to gather more data The overlong time cause the user backlight blunt sensation of regulation.Optionally, the light of this predetermined number is judged when step S102 Intensity level is not belonging at least two backlight illumination grade, when i.e. belonging to same backlight illumination grade, and can be by ambient light sensing The integration period of device reverts to default value, performs existing back light brightness regulating method, and the embodiment of the present invention does not limits.
S103, terminal are according to the backlight illumination of the reconditioning screen of ratio of this at least two backlight illumination grade;
The backlight that S104, terminal arrange screen according to the backlight illumination grade that the light intensity value place of predetermined number is interval is bright Degree.
In the embodiment of the present invention, terminal judges goes out the light intensity value of this predetermined number and belongs at least two backlight illumination grade Time, before terminal is according to the backlight illumination of the reconditioning screen of ratio of this at least two backlight illumination grade, following walking can be performed Rapid:
Terminal adds up the number of the light intensity value that each backlight illumination grade comprises in this at least two backlight illumination grade;
For each backlight illumination grade in this at least two backlight illumination grade, calculate the light that backlight illumination grade comprises The number of intensity level and the ratio of predetermined number, using this ratio as the proportion of backlight illumination grade.
Wherein, terminal is according to the backlight illumination of the reconditioning screen of ratio of this at least two backlight illumination grade, Ke Yiwei: eventually It is corresponding that the backlight illumination of screen is set to the backlight illumination grade that in this at least two backlight illumination grade, proportion is maximum by end Brightness value;Or, the backlight illumination of screen is set to that proportion in this at least two backlight illumination grade is maximum and time big two The meansigma methods of the brightness value that individual backlight illumination grade is corresponding;Or it is bright that the backlight illumination of screen is set to this at least two backlight The proportion of degree grade and the sum of products of corresponding bright value, the embodiment of the present invention does not limits.
The embodiment of the present invention can obtain the light intensity value of predetermined number, belongs in the light intensity value judging this predetermined number During at least two backlight illumination grade, can be bright according to the backlight of the reconditioning screen of ratio of this at least two backlight illumination grade Degree, it is seen then that the embodiment of the present invention can be avoided changing faster in environment in light intensity value, and asking of flicker occurs in terminal screen Inscribe, and the stabilization mode adjusting backlight luminance using time delay to respond causes the problem that regulation is blunt.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of back light brightness regulating method disclosed in the embodiment of the present invention, Step S201 to S202 and step in the back light brightness regulating method shown in Fig. 1 in back light brightness regulating method shown in Fig. 2 S101 to S102 is identical, and I will not elaborate.Wherein, in step S202, terminal judges goes out the light intensity value of predetermined number and belongs to During at least two backlight illumination grade, step S203 to S205 can be performed.Correspondingly, in step S202, terminal judges goes out pre- If the light intensity value of number is not belonging at least two backlight illumination grade, when i.e. belonging to a backlight illumination grade, can hold Row step S206, this step S206 is identical with step S104 in the back light brightness regulating method shown in Fig. 1, and I will not elaborate.
S203, terminal determine maximum and secondary big two backlight illuminations etc. of proportion in this at least two backlight illumination grade Level;
The mean flow rate of the brightness value that maximum and secondary two the big backlight illumination grades of S204, terminal calculated specific gravity are corresponding Value;
The backlight illumination of screen is set to this average brightness value by S205, terminal.
Wherein, the proportion of backlight illumination grade refers to the number of light intensity value that backlight illumination grade comprises acquisition and presets The ratio of number (sum of the light intensity value of acquisition);Proportion is maximum and time two big backlight illumination grades are at least two back of the body In brightness level, proportion arranges the first two backlight illumination grade from big to small.
For example, obtain 20 light intensity value, wherein, be in the number of the light intensity value of the 3rd backlight illumination grade Being 10, the number of the light intensity value being in second backlight illumination grade is 6, is in the light of first backlight illumination grade The number of intensity level is 4, then the proportion of the 3rd backlight illumination grade is 0.5, and the proportion of second backlight illumination grade is 0.3, the proportion of first backlight illumination grade is 0.2, it is seen then that proportion is maximum and time two big backlight illumination grades are respectively 3rd backlight illumination grade and second backlight illumination grade, corresponding brightness value is respectively 30,20, then by screen intensity Brightness value is set to 25.This embodiment, by obtaining multiple light intensity value, is arranged according to the proportion of backlight illumination grade Backlight illumination, can avoid the flicker degree of backlight excessive and the delay of backlight regulation.
Refer to the schematic flow sheet that Fig. 3, Fig. 3 are the embodiment of the present invention another back light brightness regulating methods disclosed, Step S301 to S302 and step in the back light brightness regulating method shown in Fig. 1 in back light brightness regulating method shown in Fig. 3 S101 to S102 is identical, and I will not elaborate.Wherein, in step S302, terminal judges goes out the light intensity value of predetermined number and belongs to During at least two backlight illumination grade, step S303 to S304 can be performed.Correspondingly, in step S302, terminal judges goes out pre- If the light intensity value of number is not belonging at least two backlight illumination grade, when i.e. belonging to a backlight illumination grade, can hold Row step S305, this step S305 is identical with step S104 in the back light brightness regulating method shown in Fig. 1, and I will not elaborate.
S303, terminal determines the backlight illumination grade that in this at least two backlight illumination grade, proportion is maximum;
The backlight illumination of screen is set to the brightness value that the maximum backlight illumination grade of this proportion is corresponding by S304, terminal.
For example, the 3rd brightness value that backlight illumination grade is corresponding of proportion maximum is 30, then can be by screen Backlight illumination is set to 30.Owing to the proportion maximum of this backlight illumination grade illustrates that the light intensity value of current environment is predominantly located at this The light intensity value interval that backlight illumination grade is corresponding, is set to, by the backlight illumination of screen, the brightness that this backlight illumination grade is corresponding Value, can avoid the continuous flicker of backlight.
Referring to Fig. 4, Fig. 4 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention, and as shown in Figure 4, this is eventually End can include with lower module and unit.
Acquisition module 410, for obtaining the light intensity value of predetermined number;
Judge module 420, for judging whether the light intensity value of this predetermined number belongs at least two backlight illumination grade, Wherein, the light intensity value interval that different backlight illumination grades are corresponding is different;
At judge module 420, adjustment module 430, for judging that the light intensity value of this predetermined number belongs at least two back of the body During brightness level, according to the backlight illumination of the reconditioning screen of ratio of this at least two backlight illumination grade.
Alternatively, acquisition module 410 may include that
Collecting unit, for by the light intensity value of ambient light sensor continuous acquisition predetermined number;
Memory element, for being respectively stored into the light intensity value of collecting unit collection in the caching of default size.
Wherein, the size of caching can pre-set according to the configuration of terminal or manually be arranged by user.
It should be noted that collecting unit passes through in the light intensity value of ambient light sensor continuous acquisition predetermined number " even Continuous " to refer to that ambient light sensor gathers the time interval of light intensity value be continuous print.Embodiment of the present invention acquisition module 410 also may be used To include regulating unit, bright for judging that the light intensity value of this predetermined number belongs at least two backlight at judge module 420 During degree grade, reduce the integration period of ambient light sensor so that ambient light sensor rapid data collection.Such as, by 100ms Integration period be reduced to the integration period of 50ms, then gathering, by ambient light sensor, time that 20 data need will Change to 1s from 2s, so on the one hand can collect in same time period when the change of environmental light intensity angle value is very fast judging More data, are unlikely to again to increase the data gathered and cause acquisition time long, the effect that the regulation of cause the user backlight is blunt Really.
Wherein, the light intensity value interval that different backlight illumination grades are corresponding is different.In the embodiment of the present invention, memory element is also Light intensity value corresponding to multiple backlight illumination grade can be prestored interval, the corresponding brightness of each backlight illumination grade Value.Such as, first backlight illumination grade respective light intensities value interval is [0,1];The light that second backlight illumination grade is corresponding Intensity level interval is [2,5], and light intensity value interval corresponding to the 3rd backlight illumination grade is [6,40], the 4th backlight illumination Light intensity value interval corresponding to grade is [41,300], etc..
In the embodiment of the present invention, it is judged that module 420 judges whether the light intensity value of this predetermined number belongs at least two back of the body Brightness level, it can be determined that whether the light intensity value of current environment is at Rapid Variable Design, if belonging at least two backlight illumination etc. Level, then illustrate that the light intensity value of current environment, at Rapid Variable Design, can be regulated the backlight illumination of screen by adjustment module 430;If It is not belonging at least two backlight illumination grade, then illustrates that the light intensity value of current environment is constant, can be direct by adjustment module 430 The backlight illumination of screen is set according to the backlight illumination grade that this light intensity value is corresponding.
In the embodiment of the present invention, the terminal shown in Fig. 4 can also include with lower module:
Statistical module 440, in adjustment module 430 according to the reconditioning screen of ratio of at least two backlight illumination grade Before backlight illumination, add up the individual of the light intensity value that in this at least two backlight illumination grade, each backlight illumination grade comprises Number;
Computing module 450, for for each backlight illumination grade in this at least two backlight illumination grade, calculates backlight The number of the light intensity value that brightness degree comprises and the ratio of predetermined number, using this ratio as the proportion of backlight illumination grade.
For example, obtain 20 light intensity value, wherein, be in the number of the light intensity value of the 3rd backlight illumination grade Being 10, the number of the light intensity value being in second backlight illumination grade is 6, is in the light of first backlight illumination grade The number of intensity level is 4, then the proportion of the 3rd backlight illumination grade is 0.5, and the proportion of second backlight illumination grade is 0.3, the proportion of first backlight illumination grade is 0.2.
As the optional embodiment of one, adjustment module 430 may be used for being set at least the backlight illumination of screen The brightness value that in two backlight illumination grades, the backlight illumination grade of proportion maximum is corresponding.For example, the 3rd of proportion maximum Brightness value corresponding to individual backlight illumination grade is 30, then the backlight illumination of screen can be set to 30.Due to this backlight illumination It is interval that the light intensity value of the proportion maximum explanation current environment of grade is predominantly located at light intensity value corresponding to this backlight illumination grade, The backlight illumination of screen is set to the brightness value that this backlight illumination grade is corresponding, the continuous flicker of backlight can be avoided.
As the optional embodiment of another kind, adjustment module 430 can include with lower unit:
Determine unit, for determining maximum and secondary big two backlight illuminations etc. of proportion at least two backlight illumination grade Level;
For calculating, computing unit, determines that maximum and secondary two the big backlight illumination grades of proportion that unit determines are corresponding The average brightness value of brightness value;
Unit is set, for the backlight illumination of screen is set to the average brightness value that computing unit calculates.
For example, proportion is maximum and time two big backlight illumination grades are respectively the 3rd backlight illumination grade and the Two backlight illumination grades, corresponding brightness value is respectively 30,20, then the brightness value of screen intensity is set to 25.Should Embodiment, by obtaining multiple light intensity value, arranges backlight illumination according to the proportion of backlight illumination grade, can avoid backlight Flicker degree is excessive and the delay of backlight regulation.
In sum, the embodiment of the present invention can obtain the light intensity value of predetermined number, is judging the light of this predetermined number When intensity level belongs at least two backlight illumination grade, can be according to the reconditioning screen of ratio of this at least two backlight illumination grade Backlight illumination, it is seen then that the embodiment of the present invention can be avoided changing faster in environment in light intensity value, and constantly conversion backlight is bright The backlight illumination grade of degree, the visual fatigue caused, improves the display effect of screen when light intensity value changes very fast.
Referring to Fig. 5, Fig. 5 is the structural representation of another kind of terminal disclosed in the embodiment of the present invention, as it is shown in figure 5, should Terminal can include at least one processor 501, such as CPU, user interface 502, memorizer 503, at least one communication bus 504.Wherein, communication bus 504 is for realizing the communication connection between these assemblies.Memorizer 503 can be high-speed RAM storage Device, it is also possible to be non-labile memorizer (non-volatile memory), for example, at least one disk memory.Storage Device 503 optionally can also is that at least one is located remotely from the storage device of aforementioned processor 501.Wherein, processor 501 is permissible Terminal described in conjunction with Figure 4, stores batch processing code in memorizer 503, and processor 501 calls in memorizer 503 and deposits The program code of storage, is used for performing following operation:
Obtain the light intensity value of predetermined number;
Judge whether the light intensity value of predetermined number belongs at least two backlight illumination grade, wherein, different backlight illuminations The light intensity value interval difference that grade is corresponding;
If belonging at least two backlight illumination grade, then according to the reconditioning screen of ratio of at least two backlight illumination grade Backlight illumination.
Processor 501 can be by the light intensity of the ambient light sensor continuous acquisition predetermined number in user interface 502 Value;The light intensity value of collection is respectively stored in memorizer 503 in the caching presetting size.Wherein, the size of caching is permissible Configuration according to terminal pre-sets or is manually arranged by user.
It should be noted that the light intensity by the ambient light sensor continuous acquisition predetermined number in user interface 502 " continuously " referring to that ambient light sensor gathers the time interval of light intensity value in value is continuous print.The embodiment of the present invention can sentenced Break and the light intensity value of this predetermined number when belonging at least two backlight illumination grade, reduce the integration week of ambient light sensor Phase so that ambient light sensor rapid data collection.Such as, the integration period of 100ms is reduced to the integration period of 50ms, that The time needed by 20 data of ambient light sensor collection will change to 1s from 2s, so on the one hand can be at environment Light intensity value change collects multiple data time very fast, is unlikely to again to gather the overlong time of multiple data, it is to avoid to user Cause the effect that backlight regulation is blunt.
In the embodiment of the present invention, memorizer 503 can prestore the light intensity value that multiple backlight illumination grade is corresponding Interval, the corresponding brightness value of each backlight illumination grade.Such as, first backlight illumination grade respective light intensities value interval is [0,1];Light intensity value interval corresponding to second backlight illumination grade is [2,5], the 3rd light that backlight illumination grade is corresponding Intensity level interval is [6,40], and light intensity value interval corresponding to the 4th backlight illumination grade is [41,300], etc..
In the embodiment of the present invention, processor 501 judges whether the light intensity value of this predetermined number belongs at least two backlight Brightness degree, it can be determined that whether the light intensity value of current environment is at Rapid Variable Design, if belonging at least two backlight illumination grade, Then illustrate that the light intensity value of current environment, then can be according to the reconditioning screen of ratio of at least two backlight illumination grade at Rapid Variable Design The backlight illumination of curtain;If being not belonging at least two backlight illumination grade, then illustrate that the light intensity value of current environment is constant, Ke Yizhi Connect the backlight illumination that screen is set according to the backlight illumination grade that this light intensity value is corresponding.
In the embodiment of the present invention, processor 501 calls the program code in memorizer 503, carries on the back according to described at least two Before the backlight illumination of the reconditioning screen of ratio of brightness level, it is also possible to execution following steps:
Add up the number of the light intensity value that each backlight illumination grade comprises in this at least two backlight illumination grade;
For each backlight illumination grade in this at least two backlight illumination grade, calculate what this backlight illumination grade comprised The ratio of the number of light intensity value and described predetermined number, using this ratio as the proportion of this backlight illumination grade.
In the embodiment of the present invention, processor 501 is according to the back of the body of the reconditioning screen of ratio of this at least two backlight illumination grade Brightness, it is maximum that the backlight illumination of screen is set to proportion in this at least two backlight illumination grade by Ke Yiwei: processor 501 Brightness value corresponding to backlight illumination grade;Or, the backlight illumination of screen is set to this at least two backlight illumination grade The meansigma methods of the brightness value that maximum and secondary two the big backlight illumination grades of middle proportion are corresponding;Or the backlight illumination of screen is set Being set to the proportion of this at least two backlight illumination grade and the sum of products of corresponding bright value, the embodiment of the present invention does not limits.
In the embodiment of the present invention, processor 501 calls the program code in memorizer 503, according to this at least two backlight The backlight illumination of the reconditioning screen of ratio of brightness degree, including:
Determine maximum and secondary two the big backlight illumination grades of proportion in this at least two backlight illumination grade;
The average brightness value of the brightness value that maximum and secondary two the big backlight illumination grades of calculated specific gravity are corresponding;
The backlight illumination of screen is set to this average brightness value.
For example, obtain 20 light intensity value, wherein, be in the number of the light intensity value of the 3rd backlight illumination grade Being 10, the number of the light intensity value being in second backlight illumination grade is 6, is in the light of first backlight illumination grade The number of intensity level is 4, then the proportion of the 3rd backlight illumination grade is 0.5, and the proportion of second backlight illumination grade is 0.3, the proportion of first backlight illumination grade is 0.2, it is seen then that proportion is maximum and time two big backlight illumination grades are respectively 3rd backlight illumination grade and second backlight illumination grade, corresponding brightness value is respectively 30,20, then by screen intensity Brightness value is set to 25.This embodiment, by obtaining multiple light intensity value, is arranged according to the proportion of backlight illumination grade Backlight illumination, can avoid the flicker degree of backlight excessive and the delay of backlight regulation.
In the embodiment of the present invention, processor 501 calls the program code in memorizer 503, bright according at least two backlight The backlight illumination of the reconditioning screen of ratio of degree grade, may include that
The backlight illumination of screen is set to the backlight illumination grade pair that at least two backlight illumination grade, proportion is maximum The brightness value answered.
For example, the 3rd brightness value that backlight illumination grade is corresponding of proportion maximum is 30, then can be by screen Backlight illumination is set to 30.Owing to the proportion maximum of this backlight illumination grade illustrates that the light intensity value of current environment is predominantly located at this The light intensity value interval that backlight illumination grade is corresponding, is set to, by the backlight illumination of screen, the brightness that this backlight illumination grade is corresponding Value, can avoid the continuous flicker of backlight.
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 Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that flash disk, read only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Above back light brightness regulating method a kind of disclosed in the embodiment of the present invention and terminal are described in detail, herein In apply specific case principle and the embodiment of the present invention be set forth, the explanation of above example is only intended to side Assistant solves method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the think of of the present invention Thinking, the most all will change, in sum, it is right that this specification content should not be construed as The restriction of the present invention.

Claims (12)

1. a back light brightness regulating method, it is characterised in that including:
Obtain the light intensity value of predetermined number;
Judge whether the light intensity value of described predetermined number belongs at least two backlight illumination grade, wherein, different backlight illuminations The light intensity value interval difference that grade is corresponding;
If the light intensity value of described predetermined number belongs at least two backlight illumination grade, then bright according to described at least two backlight The backlight illumination of the reconditioning screen of ratio of degree grade.
Back light brightness regulating method the most according to claim 1, it is characterised in that described according to described at least two backlight The backlight illumination of the reconditioning screen of ratio of brightness degree, including:
The backlight illumination of screen is set to the backlight illumination grade pair that in described at least two backlight illumination grade, proportion is maximum The brightness value answered.
Back light brightness regulating method the most according to claim 1, it is characterised in that described according to described at least two backlight The backlight illumination of the reconditioning screen of ratio of brightness degree, including:
Determine maximum and secondary two the big backlight illumination grades of proportion in described at least two backlight illumination grade;
Calculate the average brightness value of the maximum brightness value corresponding with secondary two big backlight illumination grades of described proportion;
The backlight illumination of screen is set to described average brightness value.
4. according to the back light brightness regulating method described in any one of claims 1 to 3, it is characterised in that described in described basis extremely Before the backlight illumination of the reconditioning screen of ratio of few two backlight illumination grades, described method also includes:
Add up the number of the light intensity value that each backlight illumination grade comprises in described at least two backlight illumination grade;
For each backlight illumination grade in described at least two backlight illumination grade, calculate what described backlight illumination grade comprised The ratio of the number of light intensity value and described predetermined number, using described ratio as the proportion of described backlight illumination grade.
Back light brightness regulating method the most according to claim 4, it is characterised in that the light intensity of described acquisition predetermined number Value, including:
Light intensity value by ambient light sensor continuous acquisition predetermined number;
Described light intensity value is respectively stored in the caching of default size.
Back light brightness regulating method the most according to claim 5, it is characterised in that the light intensity value of described predetermined number belongs to When at least two backlight illumination grade, described method also includes:
Reduce the integration period of described ambient light sensor.
7. a terminal, it is characterised in that including:
Acquisition module, for obtaining the light intensity value of predetermined number;
Judge module, for judging whether the light intensity value of described predetermined number belongs at least two backlight illumination grade, wherein, The light intensity value interval difference that different backlight illumination grades are corresponding;
Adjustment module, bright for judging that the light intensity value of described predetermined number belongs at least two backlight at described judge module During degree grade, according to the backlight illumination of the reconditioning screen of ratio of described at least two backlight illumination grade.
Terminal the most according to claim 7, it is characterised in that described adjustment module is specifically for by the backlight illumination of screen It is set to the brightness value that in described at least two backlight illumination grade, the backlight illumination grade of proportion maximum is corresponding.
Terminal the most according to claim 7, it is characterised in that described adjustment module, including:
Determine unit, for determining maximum and secondary big two backlight illuminations etc. of proportion in described at least two backlight illumination grade Level;
Computing unit is corresponding for calculating maximum and secondary two the big backlight illumination grades of the described proportion determining that unit determines The average brightness value of brightness value;
Unit is set, for the backlight illumination of screen is set to the average brightness value that described computing unit calculates.
10. according to the terminal described in any one of claim 7 to 9, it is characterised in that described terminal also includes:
Statistical module, was used for before the backlight illumination of the reconditioning screen of ratio according to described at least two backlight illumination grade, Add up the number of the light intensity value that each backlight illumination grade comprises in described at least two backlight illumination grade;
Computing module, for for each backlight illumination grade in described at least two backlight illumination grade, calculates described backlight The number of the light intensity value that brightness degree comprises and the ratio of described predetermined number, using described ratio as described backlight illumination etc. The proportion of level.
11. terminals according to claim 10, it is characterised in that described acquisition module, including:
Collecting unit, for by the light intensity value of ambient light sensor continuous acquisition predetermined number;
Memory element, for being respectively stored into the light intensity value that described collecting unit gathers in the caching of default size.
12. terminals according to claim 11, it is characterised in that described acquisition module also includes:
Regulation unit, bright for judging that the light intensity value of described predetermined number belongs at least two backlight at described judge module During degree grade, reduce the integration period of described ambient light sensor.
CN201610645537.2A 2016-08-08 2016-08-08 A kind of back light brightness regulating method and terminal Active CN106098021B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610645537.2A CN106098021B (en) 2016-08-08 2016-08-08 A kind of back light brightness regulating method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610645537.2A CN106098021B (en) 2016-08-08 2016-08-08 A kind of back light brightness regulating method and terminal

Publications (2)

Publication Number Publication Date
CN106098021A true CN106098021A (en) 2016-11-09
CN106098021B CN106098021B (en) 2019-02-05

Family

ID=57455733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610645537.2A Active CN106098021B (en) 2016-08-08 2016-08-08 A kind of back light brightness regulating method and terminal

Country Status (1)

Country Link
CN (1) CN106098021B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774921A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 Back light brightness regulating method, device and terminal
CN107093416A (en) * 2017-06-08 2017-08-25 青岛海信电器股份有限公司 Screen backlight luminance regulating method, device and terminal based on light sensor
CN109451171A (en) * 2018-12-12 2019-03-08 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of adjusting backlight luminance
CN112102791A (en) * 2020-10-30 2020-12-18 重庆长安汽车股份有限公司 Vehicle-mounted display screen partition brightness adjusting system and control method
CN112351137A (en) * 2020-10-28 2021-02-09 深圳市华卓智能科技有限公司 Backlight brightness adjusting method based on light sensitivity value

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823626A (en) * 2013-10-31 2014-05-28 小米科技有限责任公司 Method and device for regulating display contents and electronic equipment
CN105405429A (en) * 2015-12-11 2016-03-16 Tcl移动通信科技(宁波)有限公司 Mobile terminal, ambient light dynamic induction control method, ambient light dynamic induction control system
CN105425905A (en) * 2015-10-30 2016-03-23 联想(北京)有限公司 Information processing method and electronic device
CN105469775A (en) * 2016-01-29 2016-04-06 广东欧珀移动通信有限公司 Method for adjusting brightness of display screen and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823626A (en) * 2013-10-31 2014-05-28 小米科技有限责任公司 Method and device for regulating display contents and electronic equipment
CN105425905A (en) * 2015-10-30 2016-03-23 联想(北京)有限公司 Information processing method and electronic device
CN105405429A (en) * 2015-12-11 2016-03-16 Tcl移动通信科技(宁波)有限公司 Mobile terminal, ambient light dynamic induction control method, ambient light dynamic induction control system
CN105469775A (en) * 2016-01-29 2016-04-06 广东欧珀移动通信有限公司 Method for adjusting brightness of display screen and terminal equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774921A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 Back light brightness regulating method, device and terminal
CN107093416A (en) * 2017-06-08 2017-08-25 青岛海信电器股份有限公司 Screen backlight luminance regulating method, device and terminal based on light sensor
CN109451171A (en) * 2018-12-12 2019-03-08 青岛海信移动通信技术股份有限公司 A kind of method and apparatus of adjusting backlight luminance
CN112351137A (en) * 2020-10-28 2021-02-09 深圳市华卓智能科技有限公司 Backlight brightness adjusting method based on light sensitivity value
CN112102791A (en) * 2020-10-30 2020-12-18 重庆长安汽车股份有限公司 Vehicle-mounted display screen partition brightness adjusting system and control method

Also Published As

Publication number Publication date
CN106098021B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN106098021A (en) A kind of back light brightness regulating method and terminal
CN104464686B (en) A kind of method for controlling display brightness and electronic equipment
CN109036296B (en) Screen backlight brightness adjusting method and device, terminal and storage medium
CN104932659B (en) Image display method and display system
CN105632447B (en) The display brightness method of adjustment and device of a kind of liquid crystal display
CN106445151B (en) Terminal screen brightness control method and terminal
CN112289280B (en) Screen brightness adjusting method and device, computer readable medium and electronic equipment
CN104778939B (en) The adjusting method and adjusting means of the display brightness of display device, display device
CN104767809B (en) A kind of download control method and system
CN105094272A (en) Regulating method and regulating device for hardware refresh rate of terminal
EP3567572B1 (en) Screen flickering processing method, device, storage medium, and electronic device
CN104023145A (en) Method and device for automatically starting automatic backlight adjustment of mobile terminal
CN105489192A (en) Display with image automatic optimization function and image adjusting method thereof
CN114093323B (en) Screen control method and device, electronic equipment and storage medium
CN105929951A (en) Screen display method and device
CN105744080A (en) Backlight brightness adjustment method for display screen and mobile terminal
CN110275612A (en) Brightness adjusting method, device, electronic equipment and storage medium
CN106559576A (en) A kind of screen adjustment method and mobile terminal
CN106023903B (en) A kind of backlight adjusting method and terminal device
CN110248444A (en) Flashlight brightness adjusting method, device, mobile terminal and storage medium
CN105141766B (en) Brightness adjusting method and mobile terminal
CN112233631B (en) Automatic screen brightness adjusting device and method for all-solid tablet personal computer
CN114038416B (en) Flicker determination method and flicker determination device
CN108513080A (en) A kind of control method and device of light filling
CN103902713B (en) Method and system for automatically adjusting browser color scheme of intelligent 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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant