CN106098021B - 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
CN106098021B
CN106098021B CN201610645537.2A CN201610645537A CN106098021B CN 106098021 B CN106098021 B CN 106098021B CN 201610645537 A CN201610645537 A CN 201610645537A CN 106098021 B CN106098021 B CN 106098021B
Authority
CN
China
Prior art keywords
grade
backlight illumination
backlight
light intensity
intensity value
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
CN201610645537.2A
Other languages
Chinese (zh)
Other versions
CN106098021A (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 terminals, wherein, the light intensity value of the available predetermined number of back light brightness regulating method, when the light intensity value for judging the predetermined number belongs at least two backlight illumination grades, the backlight illumination of screen can be adjusted according to the specific gravity of at least two backlight illuminations grade, as it can be seen that the embodiment of the present invention can change the problem of terminal screen flashes in faster environment to avoid in light intensity value.

Description

A kind of back light brightness regulating method and terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of back light brightness regulating method and terminals.
Background technique
Currently, the screen of terminal usually has the function of automatically adjusting backlight illumination, i.e. terminal passes through ambient light sensor Current environmental light intensity angle value is obtained, and then back corresponding with the environmental light intensity angle value is selected according to different environmental light intensity angle value Brightness values adjust the backlight illumination of screen.However, in certain scenarios, such as user makes in the car of night fast running When with terminal, the illumination that street lamp issues, which is mapped in terminal, causes the collected environmental light intensity angle value of ambient light sensor quickly to become Change.At this point, the backlight brightness values that automatic adjustment backlight illumination function will lead to screen are made as environmental light intensity angle value quickly changes At screen flicker.
Summary of the invention
The embodiment of the invention discloses a kind of back light brightness regulating method and terminal, can environmental light intensity angle value change compared with Terminal screen is avoided to flash when fast.
The embodiment of the invention discloses a kind of back light brightness regulating methods, comprising:
Obtain the light intensity value of predetermined number;
Judge whether the light intensity value of the predetermined number belongs at least two backlight illumination grades, wherein different backlights The corresponding light intensity value section of brightness degree is different;
If the light intensity value of the predetermined number belongs at least two backlight illumination grades, according at least two back The specific gravity of brightness level adjusts the backlight illumination of screen.
Optionally, the backlight illumination that screen is adjusted according to the specific gravity of at least two backlight illuminations grade, comprising:
Maximum backlight illumination of specific gravity etc. in at least two backlight illuminations grade is set by the backlight illumination of screen The corresponding brightness value of grade.
Optionally, the backlight illumination that screen is adjusted according to the specific gravity of at least two backlight illuminations grade, comprising:
Determine specific gravity maximum and secondary two big backlight illumination grades in at least two backlight illuminations grade;
Calculate the average brightness value of the maximum brightness value corresponding with secondary two big backlight illumination grades;
The average brightness value is set by the backlight illumination of screen.
Wherein, before the backlight illumination that screen is adjusted according to the specific gravity of at least two backlight illuminations grade, institute State method further include:
Count the number for the light intensity value that each backlight illumination grade includes in at least two backlight illuminations grade;
For each backlight illumination grade in at least two backlight illuminations grade, the backlight illumination grade packet is calculated The ratio of the number of the light intensity value contained and the predetermined number, using the ratio as the specific gravity of the backlight illumination grade.
Wherein, the light intensity value for obtaining predetermined number, comprising:
Pass through the light intensity value of ambient light sensor continuous acquisition predetermined number;
The light intensity value is respectively stored into the caching of default size.
Optionally, when the light intensity value of the predetermined number belongs at least two backlight illumination grades, the method is also wrapped It includes:
Reduce the integration period of the ambient light sensor.
Correspondingly, the embodiment of the invention also discloses a kind of terminals, comprising:
Module is obtained, for obtaining the light intensity value of predetermined number;
Judgment module, for judging whether the light intensity value of the predetermined number belongs at least two backlight illumination grades, Wherein, the corresponding light intensity value section of different backlight illumination grades is different;
Adjustment module, for judging that the light intensity value of the predetermined number belongs at least two back in the judgment module When brightness level, the backlight illumination of screen is adjusted according to the specific gravity of at least two backlight illuminations grade.
Optionally, the adjustment module is specifically used for setting at least two backlight illumination for the backlight illumination of screen The corresponding brightness value of the maximum backlight illumination grade of specific gravity in grade.
Optionally, the adjustment module, comprising:
Determination unit, for determining, specific gravity maximum and secondary two big backlights are bright in at least two backlight illuminations grade Spend grade;
Computing unit, for calculating the specific gravity maximum and secondary two big backlight illumination grades pair that the determination unit determines The average brightness value for the brightness value answered;
Setting unit, for setting the average brightness value that the computing unit calculates for the backlight illumination of screen.
Wherein, the terminal further include:
Statistical module, for according to the specific gravity of at least two backlight illuminations grade adjust screen backlight illumination it Before, count the number for the light intensity value that each backlight illumination grade includes in at least two backlight illuminations grade;
Computing module, for for each backlight illumination grade in at least two backlight illuminations grade, described in calculating The ratio of the number for the light intensity value that backlight illumination grade includes and the predetermined number, the ratio is bright as the backlight Spend the specific gravity of grade.
Wherein, the acquisition module, comprising:
Acquisition unit, for passing through the light intensity value of ambient light sensor continuous acquisition predetermined number;
Storage unit, the light intensity value for acquiring the acquisition unit are respectively stored into the caching of default size.
Optionally, the acquisition module further include:
Unit is adjusted, when the light intensity value for the predetermined number belongs at least two backlight illumination grades, reduces institute State the integration period of ambient light sensor.
The light intensity value of the available predetermined number of the embodiment of the present invention belongs in the light intensity value for judging the predetermined number When at least two backlight illumination grades, the backlight that can adjust screen according to the specific gravity of at least two backlight illuminations grade is bright Degree, it is seen then that the embodiment of the present invention can change in faster environment to avoid in light intensity value, and terminal screen flashes.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of back light brightness regulating method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.
Specific embodiment
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 description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of back light brightness regulating method and terminals, and it is very fast can to improve light intensity value variation When screen display effect.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of back light brightness regulating method disclosed by the embodiments of the present invention.Fig. 1 Shown in 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 may include mobile phone, tablet computer, portable device and other ends with screen End equipment.Wherein, step S101 may include: the light intensity value that terminal passes through ambient light sensor continuous acquisition predetermined number; The light intensity value of acquisition is respectively stored into the caching of default size by terminal.Wherein, the size of caching can be according to terminal Configuration is preset or by user's manual setting.
It should be noted that " continuous " is in the light intensity value that terminal passes through ambient light sensor continuous acquisition predetermined number Refer to that the time interval of optical sensor acquisition light intensity value is continuous.
S102, terminal judge whether the light intensity value of the predetermined number belongs at least two backlight illumination grades, if this is pre- If the light intensity value of number belongs at least two backlight illumination grades, S103 is thened follow the steps, it is no to then follow the steps S104.
Wherein, the corresponding light intensity value section of different backlight illumination grades is different.In the embodiment of the present invention, terminal can be pre- First store the corresponding light intensity value section of multiple backlight illumination grades, the corresponding brightness value of each backlight illumination grade.For example, First backlight illumination grade respective light intensities value section is [0,1];The corresponding light intensity value area of second backlight illumination grade Between be [2,5], the corresponding light intensity value section of third backlight illumination grade is [6,40], the 4th backlight illumination grade correspondence Light intensity value section be [41,300], etc..
In the embodiment of the present invention, terminal judges whether the light intensity value of the predetermined number belongs at least two backlight illuminations etc. Grade, it can be determined that whether the light intensity value of current environment is quickly changing, if belonging at least two backlight illumination grades, illustrates The light intensity value of current environment is quickly changing, then can execute the backlight illumination that step S103 adjusts screen;If be not belonging to Few two backlight illumination grades, then illustrate that the light intensity value of current environment is constant, and step S104 can be performed directly according to the light intensity The backlight illumination of the corresponding backlight illumination grade setting screen of angle value.
The embodiment of the present invention, the light intensity value of the predetermined number belongs at least two backlight illumination grades in step s 102 When, the integration period of ambient light sensor can be reduced, so that ambient light sensor rapid data collection.For example, by 100ms's Integration period is reduced to the integration period of 50ms, then acquiring time that 20 data need by ambient light sensor will be from 2s changes to 1s, can collect more data when acquiring light intensity value again in this way, and be unlikely to acquire more data Overlong time cause backlight to adjust blunt feeling to user.Optionally, when step S102 judges the light of the predetermined number Intensity value is not belonging at least two backlight illumination grades, that is, can be by ambient light sensing when belonging to the same backlight illumination grade The integration period of device reverts to default value, executes existing back light brightness regulating method, the embodiment of the present invention is without limitation.
S103, terminal adjust the backlight illumination of screen according to the specific gravity of at least two backlight illuminations grade;
S104, terminal are bright according to the backlight of the backlight illumination grade setting screen in section where the light intensity value of predetermined number Degree.
In the embodiment of the present invention, terminal judges that the light intensity value of the predetermined number belongs at least two backlight illumination grades When, before terminal adjusts the backlight illumination of screen according to the specific gravity of at least two backlight illuminations grade, following step can be executed It is rapid:
Terminal counts the number for the light intensity value that each backlight illumination grade includes in at least two backlight illuminations grade;
For each backlight illumination grade in at least two backlight illuminations grade, the light that backlight illumination grade includes is calculated The number of intensity value and the ratio of predetermined number, using the ratio as the specific gravity of backlight illumination grade.
Wherein, terminal adjusts the backlight illumination of screen according to the specific gravity of at least two backlight illuminations grade, can be with are as follows: eventually It is corresponding that the backlight illumination of screen is set the maximum backlight illumination grade of specific gravity in at least two backlight illuminations grade by end Brightness value;Alternatively, setting specific gravity maximum and secondary two greatly in at least two backlight illuminations grade for the backlight illumination of screen The average value of the corresponding brightness value of a backlight illumination grade;Or by the backlight illumination of screen to set at least two backlight bright The specific gravity of grade and the sum of products of corresponding bright value are spent, the embodiment of the present invention is without limitation.
The light intensity value of the available predetermined number of the embodiment of the present invention belongs in the light intensity value for judging the predetermined number When at least two backlight illumination grades, the backlight that can adjust screen according to the specific gravity of at least two backlight illuminations grade is bright Degree, it is seen then that the embodiment of the present invention can change in faster environment to avoid in light intensity value, and what flashing occurred in terminal screen asks Topic, and cause to adjust blunt problem using the stabilization mode adjusting backlight luminance of delay response.
Referring to Fig. 2, Fig. 2 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention, Step S201 to S202 and step in 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 that the light intensity value of predetermined number belongs to When at least two backlight illumination grades, step S203 to S205 can be executed.Correspondingly, in step S202, terminal is judged pre- If the light intensity value of number is not belonging at least two backlight illumination grades, that is, when belonging to a backlight illumination grade, it can hold Row step S206, step S206 are identical as step S104 in 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 specific gravity in at least two backlight illuminations grade Grade;
The average brightness of the maximum brightness value corresponding with secondary two big backlight illumination grades of S204, terminal calculated specific gravity Value;
The backlight illumination of screen is set the average brightness value by S205, terminal.
Wherein, the specific gravity of backlight illumination grade refers to that backlight illumination grade includes the number of the light intensity value obtained and presets The ratio of number (sum of the light intensity value of acquisition);Specific gravity maximum and time two big backlight illumination grades are at least two back Specific gravity arranges the first two backlight illumination grade from big to small in brightness level.
For example, 20 light intensity values are obtained, wherein the number of the light intensity value in third backlight illumination grade It is 10, the number of the light intensity value in second backlight illumination grade is 6, the light in first backlight illumination grade The number of intensity value is 4, then the specific gravity of third backlight illumination grade is 0.5, and the specific gravity of second backlight illumination grade is 0.3, the specific gravity of first backlight illumination grade is 0.2, it is seen then that specific gravity maximum and time two big backlight illumination grades are respectively Third backlight illumination grade and second backlight illumination grade, corresponding brightness value is respectively 30,20, then by screen intensity Brightness value is set as 25.The embodiment is arranged by obtaining multiple light intensity values according to the specific gravity of backlight illumination grade Backlight illumination, can be to avoid the delay that flicker degree is excessive and backlight is adjusted of backlight.
Referring to Fig. 3, Fig. 3 is the flow diagram of another back light brightness regulating method disclosed by the embodiments of the present invention, Step S301 to S302 and step in 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 that the light intensity value of predetermined number belongs to When at least two backlight illumination grades, step S303 to S304 can be executed.Correspondingly, in step S302, terminal is judged pre- If the light intensity value of number is not belonging at least two backlight illumination grades, that is, when belonging to a backlight illumination grade, it can hold Row step S305, step S305 are identical as step S104 in back light brightness regulating method shown in FIG. 1, and I will not elaborate.
S303, terminal determine the maximum backlight illumination grade of specific gravity in at least two backlight illuminations grade;
The backlight illumination of screen is set the corresponding brightness value of the maximum backlight illumination grade of the specific gravity by S304, terminal.
For example, the corresponding brightness value of the maximum third backlight illumination grade of specific gravity is 30, then can be by screen Backlight illumination is set as 30.Since the specific gravity maximum of the backlight illumination grade illustrates that the light intensity value of current environment is predominantly located at this The backlight illumination of screen is set the corresponding brightness of backlight illumination grade by the corresponding light intensity value section of backlight illumination grade Value, can be to avoid the continuous flashing of backlight.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention, as shown in figure 4, the end End may include with lower module and unit.
Module 410 is obtained, for obtaining the light intensity value of predetermined number;
Judgment module 420, for judging whether the light intensity value of the predetermined number belongs at least two backlight illumination grades, Wherein, the corresponding light intensity value section of different backlight illumination grades is different;
Adjustment module 430, for judging that the light intensity value of the predetermined number belongs at least two back in judgment module 420 When brightness level, the backlight illumination of screen is adjusted according to the specific gravity of at least two backlight illuminations grade.
Optionally, obtaining module 410 may include:
Acquisition unit, for passing through the light intensity value of ambient light sensor continuous acquisition predetermined number;
Storage unit, the light intensity value for acquiring acquisition unit are respectively stored into the caching of default size.
Wherein, the size of caching can preset according to the configuration of terminal or by user's manual setting.
It should be noted that in the light intensity value that acquisition unit passes through ambient light sensor continuous acquisition predetermined number " even It is continuous " refer to that the time interval of ambient light sensor acquisition light intensity value is continuous.The embodiment of the present invention obtains module 410 and may be used also To include adjusting unit, for judging that it is bright that the light intensity value of the predetermined number belongs at least two backlights in judgment module 420 When spending grade, the integration period of ambient light sensor is reduced, so that ambient light sensor rapid data collection.For example, by 100ms Integration period be reduced to the integration period of 50ms, then acquiring time that 20 data need by ambient light sensor will 1s is changed to from 2s, on the one hand can be collected in same time period when judging that the variation of environmental light intensity angle value is very fast in this way More data, but the data for being unlikely to increase acquisition cause acquisition time too long, cause backlight to adjust blunt effect to user Fruit.
Wherein, the corresponding light intensity value section of different backlight illumination grades is different.In the embodiment of the present invention, storage unit is also The corresponding light intensity value section of multiple backlight illumination grades, the corresponding brightness of each backlight illumination grade can be stored in advance Value.For example, first backlight illumination grade respective light intensities value section is [0,1];The corresponding light of second backlight illumination grade Intensity value section is [2,5], and the corresponding light intensity value section of third backlight illumination grade is [6,40], the 4th backlight illumination The corresponding light intensity value section of grade is [41,300], etc..
In the embodiment of the present invention, judgment module 420 judges whether the light intensity value of the predetermined number belongs at least two back Brightness level, it can be determined that whether the light intensity value of current environment is quickly changing, if belonging at least two backlight illuminations etc. Grade, then illustrate that the light intensity value of current environment is quickly changing, and the backlight illumination of screen can be adjusted by adjustment module 430;If At least two backlight illumination grades are not belonging to, then illustrate that the light intensity value of current environment is constant, it can be direct by adjustment module 430 According to the backlight illumination of the corresponding backlight illumination grade setting screen of the light intensity value.
In the embodiment of the present invention, terminal shown in Fig. 4 can also be comprised the following modules:
Statistical module 440, for adjusting screen according to the specific gravity of at least two backlight illumination grades in adjustment module 430 Before backlight illumination, for the light intensity value that each backlight illumination grade includes in at least two backlight illuminations grade is counted Number;
Computing module 450, for calculating backlight for each backlight illumination grade in at least two backlight illuminations grade The number for the light intensity value that brightness degree includes and the ratio of predetermined number, using the ratio as the specific gravity of backlight illumination grade.
For example, 20 light intensity values are obtained, wherein the number of the light intensity value in third backlight illumination grade It is 10, the number of the light intensity value in second backlight illumination grade is 6, the light in first backlight illumination grade The number of intensity value is 4, then the specific gravity of third backlight illumination grade is 0.5, and the specific gravity of second backlight illumination grade is 0.3, the specific gravity of first backlight illumination grade is 0.2.
As an alternative embodiment, adjustment module 430 can be used for setting the backlight illumination of screen at least The corresponding brightness value of the maximum backlight illumination grade of specific gravity in two backlight illumination grades.For example, the maximum third of specific gravity The corresponding brightness value of a backlight illumination grade is 30, then can set 30 for the backlight illumination of screen.Due to the backlight illumination The specific gravity maximum of grade illustrates that the light intensity value of current environment is predominantly located at the corresponding light intensity value section of the backlight illumination grade, The corresponding brightness value of backlight illumination grade is set by the backlight illumination of screen, it can be to avoid the continuous flashing of backlight.
As another optional embodiment, adjustment module 430 may include with lower unit:
Determination unit, for determining specific gravity maximum and secondary big two backlight illuminations etc. at least two backlight illumination grades Grade;
Computing unit, it is corresponding with secondary two big backlight illumination grades for calculating the specific gravity maximum that determination unit determines The average brightness value of brightness value;
Setting unit, for setting the backlight illumination of screen to the average brightness value of computing unit calculating.
For example, specific gravity maximum and time two big backlight illumination grades are respectively third backlight illumination grade and the Two backlight illumination grades, corresponding brightness value are respectively 30,20, then set 25 for the brightness value of screen intensity.It should Backlight illumination is arranged by obtaining multiple light intensity values, according to the specific gravity of backlight illumination grade in embodiment, can be to avoid backlight The delay that flicker degree is excessive and backlight is adjusted.
In conclusion the light intensity value of the available predetermined number of the embodiment of the present invention, in the light for judging the predetermined number When intensity value belongs at least two backlight illumination grades, screen can be adjusted according to the specific gravity of at least two backlight illuminations grade Backlight illumination, it is seen then that the embodiment of the present invention can change in faster environment to avoid in light intensity value, and it is bright constantly to convert backlight The backlight illumination grade of degree, caused visual fatigue improve the display effect of screen when light intensity value changes very fast.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention, as shown in figure 5, should Terminal may include at least one processor 501, such as CPU, user interface 502, memory 503, at least one communication bus 504.Wherein, communication bus 504 is for realizing the communication connection between these components.Memory 503 can be high-speed RAM storage Device is also possible to non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Storage Device 503 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 501.Wherein, processor 501 can be with Terminal described in conjunction with Figure 4 stores batch processing code in memory 503, and processor 501 is called and deposited in memory 503 The program code of storage, for performing the following operations:
Obtain the light intensity value of predetermined number;
Judge whether the light intensity value of predetermined number belongs at least two backlight illumination grades, wherein different backlight illuminations The corresponding light intensity value section of grade is different;
If belonging at least two backlight illumination grades, screen is adjusted according to the specific gravity of at least two backlight illumination grades Backlight illumination.
Processor 501 can pass through the luminous intensity of the ambient light sensor continuous acquisition predetermined number in user interface 502 Value;The light intensity value of acquisition is respectively stored into the caching for presetting size in memory 503.Wherein, the size of caching can be with It is preset according to the configuration of terminal or by user's manual setting.
It should be noted that passing through the luminous intensity of the ambient light sensor continuous acquisition predetermined number in user interface 502 " continuous " refers to that the time interval of ambient light sensor acquisition light intensity value is continuous in value.The embodiment of the present invention can sentenced When the light intensity value of the disconnected predetermined number out belongs at least two backlight illumination grades, the integral week of ambient light sensor is reduced Phase, so that ambient light sensor rapid data collection.For example, the integration period of 100ms is reduced to the integration period of 50ms, that 1s will be changed to from 2s by the time that ambient light sensor acquires 20 data needs, it so on the one hand can be in environment Light intensity value variation collects multiple data when very fast, and is unlikely to acquire the overlong time of multiple data, avoids to user Backlight is caused to adjust blunt effect.
The corresponding light intensity value of multiple backlight illumination grades can be stored in advance in the embodiment of the present invention, in memory 503 Section, the corresponding brightness value of each backlight illumination grade.For example, first backlight illumination grade respective light intensities value section is [0,1];The corresponding light intensity value section of second backlight illumination grade is [2,5], the corresponding light of third backlight illumination grade Intensity value section is [6,40], and the corresponding light intensity value section of 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 the predetermined number belongs at least two backlights Brightness degree, it can be determined that whether the light intensity value of current environment is quickly changing, if belonging at least two backlight illumination grades, Then illustrate that the light intensity value of current environment is quickly changing, then can be adjusted and be shielded according to the specific gravity of at least two backlight illumination grades The backlight illumination of curtain;If being not belonging at least two backlight illumination grades, illustrate that the light intensity value of current environment is constant, Ke Yizhi Connect the backlight illumination according to the corresponding backlight illumination grade setting screen of the light intensity value.
In the embodiment of the present invention, processor 501 calls the program code in memory 503, according at least two back Before the specific gravity of brightness level adjusts the backlight illumination of screen, following steps can also be performed:
Count the number for the light intensity value that each backlight illumination grade includes in at least two backlight illuminations grade;
For each backlight illumination grade in at least two backlight illuminations grade, calculating the backlight illumination grade includes The ratio of the number of light intensity value and the predetermined number, using the ratio as the specific gravity of the backlight illumination grade.
In the embodiment of the present invention, processor 501 adjusts the back of screen according to the specific gravity of at least two backlight illuminations grade Brightness, can be with are as follows: it is maximum that the backlight illumination of screen is set specific gravity in at least two backlight illuminations grade by processor 501 The corresponding brightness value of backlight illumination grade;Alternatively, setting at least two backlight illuminations grade for the backlight illumination of screen The average value of middle specific gravity maximum brightness value corresponding with secondary two big backlight illumination grades;Or the backlight illumination of screen is set It is set to the specific gravity of at least two backlight illuminations grade and the sum of products of corresponding bright value, the embodiment of the present invention is without limitation.
In the embodiment of the present invention, processor 501 calls the program code in memory 503, according at least two backlight The specific gravity of brightness degree adjusts the backlight illumination of screen, comprising:
Determine specific gravity maximum and secondary two big backlight illumination grades in at least two backlight illuminations grade;
The average brightness value of calculated specific gravity maximum brightness value corresponding with secondary two big backlight illumination grades;
The average brightness value is set by the backlight illumination of screen.
For example, 20 light intensity values are obtained, wherein the number of the light intensity value in third backlight illumination grade It is 10, the number of the light intensity value in second backlight illumination grade is 6, the light in first backlight illumination grade The number of intensity value is 4, then the specific gravity of third backlight illumination grade is 0.5, and the specific gravity of second backlight illumination grade is 0.3, the specific gravity of first backlight illumination grade is 0.2, it is seen then that specific gravity maximum and time two big backlight illumination grades are respectively Third backlight illumination grade and second backlight illumination grade, corresponding brightness value is respectively 30,20, then by screen intensity Brightness value is set as 25.The embodiment is arranged by obtaining multiple light intensity values according to the specific gravity of backlight illumination grade Backlight illumination, can be to avoid the delay that flicker degree is excessive and backlight is adjusted of backlight.
In the embodiment of the present invention, processor 501 calls the program code in memory 503, bright according at least two backlights The specific gravity for spending grade adjusts the backlight illumination of screen, may include:
The maximum backlight illumination grade pair of specific gravity at least two backlight illumination grades is set by the backlight illumination of screen The brightness value answered.
For example, the corresponding brightness value of the maximum third backlight illumination grade of specific gravity is 30, then can be by screen Backlight illumination is set as 30.Since the specific gravity maximum of the backlight illumination grade illustrates that the light intensity value of current environment is predominantly located at this The backlight illumination of screen is set the corresponding brightness of backlight illumination grade by the corresponding light intensity value section of backlight illumination grade Value, can be to avoid the continuous flashing of backlight.
Those of ordinary skill in the art will appreciate that all or part of the steps 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: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
A kind of back light brightness regulating method disclosed by the embodiments of the present invention and terminal are described in detail above, herein In apply that a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to sides Assistant solves method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (10)

1. a kind of back light brightness regulating method characterized by comprising
Obtain the light intensity value of predetermined number;
Judge whether the light intensity value of the predetermined number belongs at least two backlight illumination grades, wherein different backlight illuminations The corresponding light intensity value section of grade is different;
It is bright according at least two backlight if the light intensity value of the predetermined number belongs at least two backlight illumination grades The specific gravity for spending grade adjusts the backlight illumination of screen;
Wherein, the backlight illumination that screen is adjusted according to the specific gravity of at least two backlight illuminations grade, comprising: by screen Backlight illumination be set as the corresponding brightness value of the maximum backlight illumination grade of specific gravity in at least two backlight illuminations grade;
Alternatively, the backlight illumination for adjusting screen according to the specific gravity of at least two backlight illuminations grade, comprising: determine institute State specific gravity maximum and secondary two big backlight illumination grades at least two backlight illumination grades;Calculate the specific gravity it is maximum and The average brightness value of the secondary big corresponding brightness value of two backlight illumination grades;Set described average for the backlight illumination of screen Brightness value.
2. back light brightness regulating method according to claim 1, which is characterized in that described according at least two backlight Before the specific gravity of brightness degree adjusts the backlight illumination of screen, the method also includes:
Count the number for the light intensity value that each backlight illumination grade includes in at least two backlight illuminations grade;
For each backlight illumination grade in at least two backlight illuminations grade, calculating the backlight illumination grade includes The ratio of the number of light intensity value and the predetermined number, using the ratio as the specific gravity of the backlight illumination grade.
3. back light brightness regulating method according to claim 2, which is characterized in that the luminous intensity for obtaining predetermined number Value, comprising:
Pass through the light intensity value of ambient light sensor continuous acquisition predetermined number;
The light intensity value is respectively stored into the caching of default size.
4. back light brightness regulating method according to claim 3, which is characterized in that the light intensity value category of the predetermined number When at least two backlight illumination grades, the method also includes:
Reduce the integration period of the ambient light sensor.
5. a kind of terminal characterized by comprising
Module is obtained, for obtaining the light intensity value of predetermined number;
Judgment module, for judging whether the light intensity value of the predetermined number belongs at least two backlight illumination grades, wherein The corresponding light intensity value section of different backlight illumination grades is different;
Adjustment module, for judging that it is bright that the light intensity value of the predetermined number belongs at least two backlights in the judgment module When spending grade, the backlight illumination of screen is adjusted according to the specific gravity of at least two backlight illuminations grade;
Wherein, the adjustment module is specifically used for setting the backlight illumination of screen in at least two backlight illuminations grade The corresponding brightness value of the maximum backlight illumination grade of specific gravity;
Alternatively,
The adjustment module, comprising:
Determination unit, for determining specific gravity maximum and secondary big two backlight illuminations etc. in at least two backlight illuminations grade Grade;
Computing unit, it is corresponding with secondary two big backlight illumination grades for calculating the specific gravity maximum that the determination unit determines The average brightness value of brightness value;
Setting unit, for setting the average brightness value that the computing unit calculates for the backlight illumination of screen.
6. terminal according to claim 5, which is characterized in that the terminal further include:
Statistical module, for according to the specific gravity of at least two backlight illuminations grade adjust screen backlight illumination before, Count the number for the light intensity value that each backlight illumination grade includes in at least two backlight illuminations grade;
Computing module, for calculating the backlight for each backlight illumination grade in at least two backlight illuminations grade The ratio of the number for the light intensity value that brightness degree includes and the predetermined number, using the ratio as described backlight illumination etc. The specific gravity of grade.
7. terminal according to claim 6, which is characterized in that the acquisition module, comprising:
Acquisition unit, for passing through the light intensity value of ambient light sensor continuous acquisition predetermined number;
Storage unit, the light intensity value for acquiring the acquisition unit are respectively stored into the caching of default size.
8. terminal according to claim 7, which is characterized in that the acquisition module further include:
Unit is adjusted, for judging that it is bright that the light intensity value of the predetermined number belongs at least two backlights in the judgment module When spending grade, the integration period of the ambient light sensor is reduced.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program is for instructing related hardware, to complete method described in Claims 1-4 any one.
10. a kind of terminal, which is characterized in that the terminal includes at least one processor, user interface, memory, at least one A communication bus;Wherein, communication bus is for realizing the communication connection between said modules;
Wherein, batch processing code is stored in the memory, the processor calls the program code stored in memory, uses Method described in 1 to 4 any one is required in perform claim.
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 CN106098021A (en) 2016-11-09
CN106098021B true 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)

Families Citing this family (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
CN107093416B (en) * 2017-06-08 2020-02-21 青岛海信电器股份有限公司 Screen backlight brightness adjusting method and device based on light sensor and terminal
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

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

Also Published As

Publication number Publication date
CN106098021A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106098021B (en) A kind of back light brightness regulating method and terminal
CN108538265B (en) Display brightness adjusting method and device of liquid crystal display screen
CN101740005B (en) Display control apparatus and display control method
CN104464686B (en) A kind of method for controlling display brightness and electronic equipment
CN106445151B (en) A kind of control method and terminal of screen luminance of terminal
CN112289280B (en) Screen brightness adjusting method and device, computer readable medium and electronic equipment
CN109036296A (en) Screen backlight brightness adjusting method, device, terminal and storage medium
CN105577932B (en) A kind of screen luminance adjustment method and mobile terminal
CN114093323B (en) Screen control method and device, electronic equipment and storage medium
CN104023145A (en) Method and device for automatically starting automatic backlight adjustment of mobile terminal
CN105654923A (en) Method for adjusting backlight brightness and user terminal
CN109147707A (en) Gamma value adjusting method, device and the display equipment of display panel
CN102394986A (en) Mobile phone display system and method thereof
CN106370296B (en) The detection method and system of a kind of mobile terminal optical sensor to ambient light
CN111145138A (en) Detection method, device and equipment of LED lamp panel and storage medium
CN110503925A (en) Adjusting method, device, storage medium and the processor of the backlight illumination of display screen
CN113395457B (en) Parameter adjusting method, device and equipment of image collector and storage medium
CN114323594A (en) Display device testing method, processing equipment and testing device
KR20150021753A (en) Display device
WO2016078440A1 (en) Method and apparatus for controlling screen of mobile terminal
CN110556080B (en) Method, device, terminal and storage medium for adjusting backlight
CN105513566A (en) Image adjusting method of executing optimal adjustment according to different environments and displayer
CN108513080A (en) A kind of control method and device of light filling
CN114023284B (en) Education tablet personal computer system with eye protection display function
CN104461425A (en) Screen content display adjusting method and device and 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
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.

GR01 Patent grant
GR01 Patent grant