CN105825836B - A kind of automatic backlight adjusting method and mobile terminal - Google Patents

A kind of automatic backlight adjusting method and mobile terminal Download PDF

Info

Publication number
CN105825836B
CN105825836B CN201610107259.5A CN201610107259A CN105825836B CN 105825836 B CN105825836 B CN 105825836B CN 201610107259 A CN201610107259 A CN 201610107259A CN 105825836 B CN105825836 B CN 105825836B
Authority
CN
China
Prior art keywords
backlight
intensity
illumination
logic
curve
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
CN201610107259.5A
Other languages
Chinese (zh)
Other versions
CN105825836A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610107259.5A priority Critical patent/CN105825836B/en
Publication of CN105825836A publication Critical patent/CN105825836A/en
Application granted granted Critical
Publication of CN105825836B publication Critical patent/CN105825836B/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 present invention provides a kind of automatic backlight adjusting method and mobile terminal, the method includes:Determine the position of current intensity of illumination and vernier in brightness slider bar;The first logic backlight intensity is determined by the intensity of illumination and sample value curve;Convert the first logic backlight intensity to the first backlight illumination characterized with percentage;Exponential function curve is constructed by the truth of a matter of first backlight illumination;Corresponding second backlight illumination of the slider position is determined in the exponential function curve;It determines the corresponding second logic backlight intensity of second backlight illumination, carries out automatic backlight adjusting according to the second logic backlight intensity.The automatic backlight adjusting method provided through the invention can be improved the precision of backlight adjusting.

Description

A kind of automatic backlight adjusting method and mobile terminal
Technical field
The present invention relates to backlight regulation technology fields, more particularly to a kind of automatic backlight adjusting method and mobile terminal.
Background technique
Current most of mobile terminals all have the function of automatic backlight, i.e., with the function of intensity of illumination dynamic change backlight illumination Can, when automatic backlight is adjusted, the stronger backlight of illumination then needs to adjust brighter, this just needs to build intensity of illumination and backlight illumination A mapping relations are found, carry out automatic backlight adjusting according to mapping relations.
Existing automatic backlight regulation scheme is arranged in the terminal to close comprising intensity of illumination and backlight illumination mapping The backlight level table of system, mobile terminal carry out backlight adjusting according to backlight level table.And in backlight level table, brightness is slided Point in item is divided into setting number, and backlight level is divided into 11 grades, the corresponding intensity of illumination of each backlight level Range, the corresponding logic backlight intensity value of each backlight level, the i.e. corresponding logic backlight value of an intensity of illumination range.
As it can be seen that the mapping relations between existing intensity of illumination and logic backlight intensity are discrete, the numbers of discrete point The number of backlight level reflected.If backlight level is very few, adjust it is just slightly single, can only intensity of illumination change greatly The switching of backlight occurs for Shi Caihui, and if intensity of illumination change it is small if the switching of backlight will not occur, backlight degree of regulation is poor.Such as Fruit backlight level divides excessive, and the backlight resource information stored in mobile terminal can excessively redundancy, it is difficult to it is strong to be quickly found out illumination Corresponding backlight intensity is spent, mobile terminal storage burden is heavy and regulating time is long.
It is adjusted as it can be seen that existing automatic backlight regulation scheme cannots be completed in a short period of time high-precision backlight, influences to use The usage experience at family.
Summary of the invention
It is adjusted in view of high-precision backlight is cannoted be completed in a short period of time present in existing automatic backlight regulation scheme The problem of, the present invention is proposed in order to provide a kind of automatic backlight adjusting method and mobile terminal for overcoming the above problem.
According to one aspect of the present invention, provide a kind of automatic backlight adjusting method, be applied to mobile terminal, it is described from Dynamic backlight adjusting method includes:Determine the position of current intensity of illumination and vernier in brightness slider bar;Pass through the light The first logic backlight intensity is determined according to intensity and sample value curve;It converts the first logic backlight intensity to percentage table First backlight illumination of sign;Exponential function curve is constructed by the truth of a matter of first backlight illumination;In the exponential function curve Corresponding second backlight illumination of the middle determination slider position;Determine that the corresponding second logic backlight of second backlight illumination is strong Degree carries out automatic backlight adjusting according to the second logic backlight intensity.
According to another aspect of the present invention, a kind of mobile terminal is provided, the mobile terminal includes:First determines mould Block, for determining the position of current intensity of illumination and vernier in brightness slider bar;Second determining module, for passing through It states intensity of illumination and sample value curve determines the first logic backlight intensity;Conversion module, for the first logic backlight is strong Degree is converted into the first backlight illumination characterized with percentage;Curve constructs module, for using first backlight illumination as the truth of a matter Construct exponential function curve;Third determining module, for determining that the slider position is corresponding in the exponential function curve Second backlight illumination;Adjustment module, for determining the corresponding second logic backlight intensity of second backlight illumination, according to described in Second logic backlight intensity carries out automatic backlight adjusting.
Compared with prior art, the present invention has the following advantages that:
Automatic backlight regulation scheme provided in an embodiment of the present invention, firstly, by building sample value curve by intensity of illumination with Logic backlight intensity corresponds, therefore, even if the smaller logic backlight intensity of intensity of illumination variation also can be according to intensity of illumination Variation and change, it is corresponding with intensity of illumination range compared to existing logic backlight intensity for backlight adjusting precision it is higher. Secondly, automatic backlight regulation scheme provided in an embodiment of the present invention dynamically constructs exponential function according to the first logic backlight intensity Curve determines the regulated value of the second logic backlight intensity according to the function curve of building, without storing redundancy in the terminal Backlight resource information, therefore can reduce the storage burden of mobile terminal.Since mobile terminal is not necessarily to carry on the back from a large amount of redundancy The corresponding backlight intensity of intensity of illumination is searched in light resource, and is only through the simple exponential function curve of lookup and be can determine light According to the corresponding backlight intensity of intensity, therefore, backlight intensity can be shortened and fixed time really, closely shorten backlight regulating time.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various advantage and benefit are for ordinary skill people Member will become clear.Attached drawing is only used for showing preferred embodiment, and is not to be construed as limiting the invention.And In entire attached drawing, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of according to embodiments of the present invention one automatic backlight adjusting method;
Fig. 2 is a kind of step flow chart of according to embodiments of the present invention two automatic backlight adjusting method;
Fig. 3 is the step flow chart that automatic backlight adjusting is carried out using method shown in the embodiment of the present invention two;
Fig. 4 is the schematic diagram of the sample value curve of building;
Fig. 5 is the schematic diagram of the exponential function curve of building;
Fig. 6 is a kind of structural block diagram of according to embodiments of the present invention three mobile terminal;
Fig. 7 is a kind of structural block diagram of according to embodiments of the present invention four mobile terminal;
Fig. 8 is a kind of structural block diagram of according to embodiments of the present invention five mobile terminal;
Fig. 9 is a kind of structural block diagram of according to embodiments of the present invention six mobile terminal.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Embodiment one
Referring to Fig.1, a kind of step flow chart of automatic backlight adjusting method of the embodiment of the present invention one is shown.
The automatic backlight adjusting method of the embodiment of the present invention includes the following steps:
Step S102:Determine the position of current light intensity and vernier in brightness slider bar.
The display screen of mobile terminal has the function of brightness regulation at present.Brightness slider bar tune is usually dragged by touch screen Brightness is saved, or brightness is adjusted by mechanical key.Brightness slider bar includes multiple points, and when backlight is adjusted, user would generally be incited somebody to action A certain specific place of the vernier slide into brightness slider bar, therefore, it needs to be determined that vernier is in brightness slider bar in this step Position namely the vernier corresponding positional value of point signified in brightness slider bar.
Such as:The value of brightness slider bar middle point is 0, and the value of the point at brightness slider bar left end is -1, and brightness is sliding The value of point at dynamic right end is 1, then, the value that other in brightness slider bar are put then is evenly distributed in (- 1,1).
Intensity of illumination can incude to obtain by photosensitive sensor.
Step S104:The first logic backlight intensity is determined by intensity of illumination and sample value curve.
Wherein, when constructing sample value curve, multiple groups logic backlight intensity can be obtained from backlight level table and illumination is strong The corresponding relationship of degree, the coordinate of i.e. one sample point of every group of corresponding relationship.By the coordinate of sample point in two-dimensional coordinate system structure Build sample value curve.For sample value curve specific building mode referring to the relevant technologies, this is not made in the embodiment of the present invention Concrete restriction, such as:Sample value curve is constructed using Ai Er meter Te interpolation method three times.
In sample value curve, the corresponding logic backlight intensity of each intensity of illumination can construct one continuously in this way , the sample value curve that smooth logic backlight intensity changes with intensity of illumination.In the sample value curve, if intensity of illumination determines It can determine logic backlight intensity corresponding with the intensity of illumination, i.e. the first logic backlight intensity.
Step S106:Convert the first logic backlight intensity to the first backlight illumination characterized with percentage.
When being converted, backlight can be transferred to the most bright corresponding backlight illumination of (255) logic backlight intensity and be calculated as 1, Backlight can be transferred to the most dark corresponding backlight illumination of (20) logic backlight intensity and be calculated as 0, then the first logic backlight intensity ÷ (255- 20)=first backlight illumination.
Assuming that the first logic backlight intensity is 117.5, then the first backlight illumination with percentage characterization after converting is 50% i.e. 0.5.
Step S108:Exponential function curve is constructed by the truth of a matter of the first backlight illumination.
Assuming that the first backlight illumination is 50%, then need to construct exponential function curve with 0.5 for the truth of a matter in this step, i.e., The function expression of the curve constructed is Y=0.5x
It should be noted that constructed exponential function curve and non-predetermined building, but according to current light intensity After determining the first backlight illumination, targetedly construct.
The coordinate of each point reflects under the first backlight illumination on the exponential function curve of building, each in brightness slider bar It puts and with the corresponding relationship between the backlight illumination of percentage characterization.
Step S110:Corresponding second backlight illumination of slider position is determined in exponential function curve.
In this step, when the value of certain specific point in slider position i.e. brightness slider bar has been determined, the point can be obtained Corresponding backlight illumination, then obtained backlight illumination is the second backlight illumination.
Step S112:The corresponding second logic backlight intensity of the second backlight illumination is determined, according to the second logic backlight intensity Carry out automatic backlight adjusting.
It is final it needs to be determined that the logic backlight intensity adjusted when carrying out automatic backlight adjusting, therefore, true in this step Need to be translated into logic backlight intensity i.e. the second logic backlight intensity after having determined the second backlight illumination of final adjusting.
When being converted, backlight can be still transferred to the most bright corresponding backlight illumination meter of (255) logic backlight intensity Be 1, backlight can be transferred to the most dark corresponding backlight illumination of (20) logic backlight intensity and be calculated as 0, then the second logic backlight intensity= Second backlight illumination × (255-20).
The automatic backlight adjusting method provided through the embodiment of the present invention, firstly, by building sample value curve that illumination is strong Degree is corresponded with logic backlight intensity, therefore, even if the smaller logic backlight intensity of intensity of illumination variation also can be strong according to illumination The variation of degree and change, it is corresponding with intensity of illumination range compared to existing logic backlight intensity for backlight adjust precision more It is high.Secondly, automatic backlight adjusting method provided in an embodiment of the present invention dynamically constructs index according to the first logic backlight intensity Function curve determines the regulated value of the second logic backlight intensity according to the function curve of building, without storing in the terminal The backlight resource information of redundancy, therefore can reduce the storage burden of mobile terminal.Since mobile terminal is not necessarily to from a large amount of superfluous The corresponding backlight intensity of intensity of illumination is searched in remaining backlight resource, and being only through the simple exponential function curve of lookup can be true Determine the corresponding backlight intensity of intensity of illumination, therefore, backlight intensity can be shortened and fixed time really, when closely shortening backlight adjusting Between.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of automatic backlight adjusting method of the embodiment of the present invention two is shown.
Automatic backlight adjusting method provided in an embodiment of the present invention specifically includes following below scheme:
Step S202:Determine the position of current light intensity and vernier in brightness slider bar.
Brightness slider bar includes multiple points, and when backlight is adjusted, user would generally be by vernier slide into brightness slider bar A certain specific place, therefore, it needs to be determined that position namely vernier of the vernier in brightness slider bar are slided in brightness in this step Signified point corresponding positional value positional value can be indicated with B in item.
Such as:The value of brightness slider bar middle point is 0, and the value of the point at brightness slider bar left end is -1, and brightness is sliding The value of point at dynamic right end is 1, then, the value that other in brightness slider bar are put then is evenly distributed in (- 1,1).
Step S204:The first logic backlight intensity is determined by intensity of illumination and sample value curve.
It is a kind of to determine that the mode of the first logic backlight intensity is as follows preferably through intensity of illumination and sample value curve:
Firstly, obtaining the coordinate of the sample point of setting number.
Wherein, the coordinate of each sample point includes:Intensity of illumination and logic backlight intensity.
Setting number can be configured according to actual needs by those skilled in the art, such as:Be set as 5,6,8 or 11 etc..
Secondly, the coordinate of each sample point according to acquisition constructs sample value curve.
It is a kind of it is preferred according to obtain each sample point coordinate construction sample value curve mode be:Pass through the various kinds of acquisition The coordinate of value point constructs broken line in two-dimensional coordinate;It is bent that processing construction sample value is carried out according to Ai Er meter Te interpolation method broken line three times Line.
Finally, it is strong that the logic backlight intensity that the intersection point of intensity of illumination and sample value curve includes is determined as the first logic backlight Degree.
Each point on sample value curve is corresponding with intensity of illumination and logic backlight intensity, therefore, is being determined that illumination is strong After degree, that is, it can determine the corresponding logic backlight intensity of the intensity of illumination (namely the first logic backlight intensity).
Step S206:By the first logic backlight intensity divided by largest logical backlight intensity and minimum logic backlight intensity Resulting quotient is determined as the first backlight illumination by difference.
Wherein, largest logical backlight intensity is that backlight will be transferred to most bright logic backlight intensity, minimum logic backlight Intensity is that backlight can be transferred to most dark logic backlight intensity.
Assuming that largest logical backlight intensity is 255, minimum logic backlight intensity is 20, then the first backlight illumination=the first is patrolled It collects backlight intensity ÷ (255-20).
Backlight illumination is as a percentage in the embodiment of the present invention.
Step S208:Exponential function curve is constructed by the truth of a matter of the first backlight illumination.
Assuming that vernier is in brightness slider bar midpoint now, backlight illumination is that 50% i.e. current light intensity can make backlight Brightness reaches 50% and in stable state, at this moment user slide vernier backlight to the left should be dimmed, slide vernier backlight to the right It should brighten, therefore, in order to meet above-mentioned backlight changing rule, construct index letter by the truth of a matter of the first backlight illumination in this step Number curve.
It is in the exponential function curve of truth of a matter building with the truth of a matter 50%, brightness slider bar midpoint is corresponding at 50% backlight illumination X value be 1, and brightness slider bar midpoint is actually defined as 0, and therefore, it is necessary to by actual value 1 in brightness slider bar and fixed Adopted value 0 is hinted obliquely at, i.e., hinting obliquely at 0 is 1.Correspondingly, it is also desirable to by the actual value of other points in brightness slider bar and determine Adopted value is hinted obliquely at, and is then needed when being hinted obliquely at by preset mapping relations formula, specific mapping mode and mapping relations Formula carries out related description in step S210.
Step S210:According to slider position and preset mapping relations formula, determine slider position in exponential function curve Corresponding coordinate value in locating two-dimensional coordinate.
Preset mapping relations formula is:X=A-B;Wherein, the A is the constant greater than 1;The B indicates vernier in brightness Position in slider bar, and the B ∈ [- 1,1];The X indicates slider position two dimension locating for the exponential function curve Corresponding coordinate value in coordinate, the range of X are [1/A, A].
Horizontal axis X indicates the position of point, the backlight that longitudinal axis Y is indicated very to characterize in two-dimensional coordinate locating for function curve Brightness.
B is position of the vernier determining in step S202 in brightness slider bar in this step.Such as:B is that 0.5, A is 1, then the value after vernier hinting obliquely in brightness slider bar is X=10.5=1, then for example:B is 1, A 2, then vernier is sliding in brightness Value after hinting obliquely in dynamic item is X=21=2.
By vernier, hinting obliquely at for position can determine slider position locating for the exponential function curve in brightness slider bar Corresponding abscissa value in two-dimensional coordinate.
Step S212:The corresponding backlight illumination of intersection point is determined as the by the intersection point for searching exponential function curve and coordinate value Two backlight illuminations.
After abscissa value has been determined, the intersection point of exponential function curve and coordinate value can be searched, by the corresponding back of intersection point Brightness is determined as the second backlight illumination.
Step S214:The corresponding second logic backlight intensity of the second backlight illumination is determined, according to the second logic backlight intensity Carry out automatic backlight adjusting.
A kind of mode of the corresponding second logic backlight intensity of the second backlight illumination of preferred determination is:Pass through largest logical The difference of backlight intensity and minimum logic backlight intensity is determined as the second logic back multiplied by the second backlight illumination, by resulting product value Luminous intensity.
Assuming that largest logical backlight intensity be 255, minimum logic backlight intensity be 20, then the second logic backlight intensity= (255-20) × second backlight illumination.
Concrete mode for carrying out automatic backlight adjusting according to the second logic backlight intensity is participated in related foundation logic and is carried on the back Luminous intensity carries out automatic backlight regulation technology, is not specifically limited in the embodiment of the present invention to this.
It should be noted that during specific implementation, due to the unstability for the intensity of illumination that mobile terminal is read It may cause the frequent adjusting of backlight.Therefore, it after completing backlight for current light intensity and adjusting, can recorde down corresponding Intensity of illumination, and on the basis of the intensity of illumination set a percentage upper lower threshold value, intensity of illumination be more than threshold value after again The backlight carried out next time is adjusted.
The automatic backlight adjusting method provided through the embodiment of the present invention, firstly, by building sample value curve that illumination is strong Degree is corresponded with logic backlight intensity, therefore, even if the smaller logic backlight intensity of intensity of illumination variation also can be strong according to illumination The variation of degree and change, it is corresponding with intensity of illumination range compared to existing logic backlight intensity for backlight adjust precision more It is high.Secondly, automatic backlight adjusting method provided in an embodiment of the present invention dynamically constructs index according to the first logic backlight intensity Function curve determines the regulated value of the second logic backlight intensity according to the function curve of building, without storing in the terminal The backlight resource information of redundancy, therefore can reduce the storage burden of mobile terminal.Since mobile terminal is not necessarily to from a large amount of superfluous The corresponding backlight intensity of intensity of illumination is searched in remaining backlight resource, and being only through the simple exponential function curve of lookup can be true Determine the corresponding backlight intensity of intensity of illumination, therefore, backlight intensity can be shortened and fixed time really, when closely shortening backlight adjusting Between.
Referring to Fig. 3, it is illustrated with automatic backlight adjusting method of the specific example to the embodiment of the present invention.
The automatic backlight adjusting method of this specific example specifically includes following steps:
Step S302:Data are obtained from photosensitive sensor.
Wherein, the data obtained include:The position of current light intensity and vernier in brightness slider bar.
Intensity of illumination data are read from photosensitive sensor.
In this specific example, if the value of brightness slider bar middle point is 0, the value of the point at brightness slider bar left end Be -1, the value of the point at brightness slider bar right end is 1, then, the value that other in brightness slider bar are put then be evenly distributed on (- 1,1) in, therefore, each point in brightness slider bar is corresponding with a value, uses statusbarVa in this specific example, and by In position of the vernier in brightness slider bar with the operation change of user, therefore, which is variable element, statusbarVa∈[-1,1]。
In this specific example by taking vernier is in the midpoint of brightness slider bar as an example, subsequent step is illustrated.
Step S304:According to obtained intensity of illumination data from calculating logic backlight intensity on sample value curve.
In this step firstly the need of building sample value curve, need to obtain from backlight level table when constructing sample value curve to set Determine the sample point of number, acquired sample point it is as shown in table 1:
Table 1
Intensity of illumination 0 20 600 1200 5000
Logic backlight intensity 20 115 190 252 255
For the sample point that will acquire after cubic Hamiltonian symmetrical systems, it is as shown in Figure 4 that building obtains sample value curve, wherein figure Solid line is that Hermite sample value curve, dotted line are linked to be broken line by sample point three times in 4.Abscissa indicates that illumination is strong in Fig. 4 Degree, longitudinal axis mark indicate logic backlight intensity.By constructing sample value curve, each intensity of illumination can be corresponded to a logic backlight Intensity completes the division of the wireless grade adjusted to backlight.
Since user may manually adjust brightness slider bar, and every bit on backlight item during using automatic backlight Unlimited grade classification should be all completed, and the sample value curve in step 304 can only meet the brightness regulation in brightness slider bar, so It in actual mechanical process, needs specific in brightness slider bar according to vernier, constructs corresponding sample value curve for the point.
Step S306:Logic backlight intensity is subjected to percentage conversion.
In this specific example, if the value of brightness slider bar middle point is 0, the value of point is -1 at left end, at right end The value of point is 1, other points are evenly distributed in (- 1,1) in brightness slider bar.Also, it is in this specific example that backlight illumination is equal For percentage expression.Assuming that backlight can be enable, which to be transferred to the most bright corresponding backlight illumination of logic backlight intensity (255), is calculated as 1, energy Backlight is set to be transferred to most dark that logic backlight intensity (20) corresponding backlight illumination is calculated as 0, in this way, 50% (0.5) backlight illumination Corresponding logic backlight intensity is (255-20) * 50%=117.5.
That is, backlight illumination=logic backlight intensity ÷ (largest logical backlight intensity-minimum logic backlight intensity).
Step S308:Corresponding exponential curve is constructed according to the percentage after conversion.
In the embodiment of the present invention by taking the percentage after step S306 conversion is 50% as an example, follow-up process is illustrated.
Since in this specific example, vernier is in an intermediate position in brightness slider bar, intensity of illumination can make backlight bright Degree reaches 50% and in stable state, at this moment user slide vernier backlight to the left should be dimmed, slide vernier backlight to the right and answer This brightens, and therefore, in order to meet above-mentioned backlight changing rule, constructs exponential function curve with 50% in this step for the truth of a matter.Institute The exponential function curve constructed is as shown in figure 5, abscissa indicates that vernier the location of in brightness slider bar, is indulged in Fig. 5 Coordinate representation backlight illumination.
It should be noted that being only that backlight illumination can be made to reach 50% for current light intensity and located in this specific example The exponential function curve constructed for stable state.During specific implementation, if current light intensity can make backlight bright Degree reaches 20% and in stable state, then needs to construct exponential function curve with 20% for the truth of a matter;If current light intensity can So that backlight illumination reaches 70% and in stable state, then need to construct exponential function curve with 70% for the truth of a matter;If current Intensity of illumination can make backlight illumination reach 30% and in stable state, then need to construct exponential function with 30% for the truth of a matter bent Line;If current light intensity can make backlight illumination reach 10% and in stable state, need to construct with 10% for the truth of a matter Exponential function curve.
As shown in figure 5, vernier corresponding x value at brightness slider bar middle is 1, and the value at the point is in step S306 In be defined as 0, therefore, it is necessary to be defined value and actual value to hint obliquely at, in this specific example, needing to hint obliquely at 0 is 1.
The explanation carried out for brightness slider bar middle position in the embodiment of the present invention by vernier, therefore only need to be by the point It is hinted obliquely in comprising the two-dimensional coordinate in exponential function curve.And during specific implementation, if vernier is in brightness Other positions in slider bar are then also required to hint obliquely at the actual value of the position with definition value, then need when being hinted obliquely at Will be by preset mapping relations formula, specific mapping mode is as follows:
Pass through preset mapping relations formula x=A-statusbarVal(A>1) it is hinted obliquely at.
Wherein, statusbarVal is equivalent to the B in embodiment two, indicates position of the vernier in brightness slider bar, and The statusbarVal ∈ [- 1,1];The A is the constant greater than 1;The X indicates that slider position is bent in the exponential function The range of corresponding coordinate value in two-dimensional coordinate locating for line, X is [1/A, A], that is, brightness slider bar leftmost side point (statusbarVal=-1) x value is A, and the X value of middle point is 1, and the x value of rightmost side point (statusbarVal=1) is 1/A。
Therefore, if A=2, then adjustable range of the adjustable range, that is, vernier of backlight in brightness slider bar is sandwiched in x= Between 1/2, with x=2.
Step S310:Using the corresponding numerical value in position of the vernier in brightness slider bar, calculating on exponential curve is needed The backlight illumination to be adjusted.
Abscissa of the vernier in the two-dimensional coordinate of the corresponding numerical value in position in brightness slider bar, that is, shown in fig. 5 Value, after abscissa value has been determined, makees in the vertical straight line of exponential function curve along the abscissa value, determines the straight line and refers to The intersection point of number function curve, the corresponding ordinate value of the intersection point are the backlight illumination adjusted.
Step S312:Backlight illumination is converted to logic backlight intensity, carries out automatic backlight tune according to logic backlight intensity Section.
The backlight illumination determined in step S310 is the value characterized with percentage, and is needed when carrying out automatic backlight adjusting It is adjusted according to logic by luminous intensity, and backlight illumination and logic backlight intensity have corresponding relationship, therefore, it is necessary to will carry on the back Brightness is converted to logic by luminous intensity according to corresponding conversion formula.Specifically, according to logic backlight intensity=(255-20) × backlight illumination is converted.
After determining logic backlight intensity to be regulated, automatic backlight adjusting is carried out according to the logic backlight intensity determined, So far an automatic backlight adjusting finishes, and waits backlight adjusting next time.
It should be noted that since the unstability of photosensitive sensor reading intensity of illumination may cause the frequent tune of backlight Section, in order to solve the problems, such as frequently to adjust, during specific implementation, it is strong can to record corresponding illumination after adjusting backlight It spends, and sets the upper lower threshold value of a percentage on the basis of the intensity of illumination, in the case where being carried out again after intensity of illumination is more than threshold value Primary backlight is adjusted.
The automatic backlight adjusting method that this specific example provides realizes intensity of illumination and logic by constructing sample value curve The continuous correspondence of backlight intensity.Also, convert logic backlight intensity to the backlight illumination characterized with percentage, it is bright with the backlight Degree is that the truth of a matter constructs exponential function curve, makes each point on brightness slider bar that can correspond to one for current light intensity Automatic backlight brightness realizes and adjusts the unlimited grade classification carried out continuously, smooth to backlight, improves the essence of backlight adjusting Degree.
Embodiment three
Referring to Fig. 6, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
The mobile terminal of the embodiment of the present invention includes:First determining module 301, for determining current light intensity and trip It is marked on the position in brightness slider bar;Second determining module 302, for determining by the intensity of illumination and sample value curve One logic backlight intensity;Conversion module 303, for converting the first logic backlight intensity to the first of percentage characterization Backlight illumination;Curve constructs module 304, for constructing exponential function curve by the truth of a matter of first backlight illumination;Third is true Cover half block 305, for determining corresponding second backlight illumination of the slider position in the exponential function curve;Adjustment module 306, for determining the corresponding second logic backlight intensity of second backlight illumination, according to the second logic backlight intensity into Row automatic backlight is adjusted.
The mobile terminal provided through the embodiment of the present invention, firstly, by constructing sample value curve for intensity of illumination and logic Backlight intensity corresponds, therefore, even if the smaller logic backlight intensity of intensity of illumination variation also can be according to the variation of intensity of illumination And change, it is corresponding with intensity of illumination range compared to existing logic backlight intensity for backlight adjust precision it is higher.Secondly, Mobile terminal provided in an embodiment of the present invention dynamically constructs exponential function curve according to building according to the first logic backlight intensity Function curve determine the regulated value of the second logic backlight intensity, the backlight resource without storing redundancy in the terminal believes Breath, therefore can reduce the storage burden of mobile terminal.Since mobile terminal is not necessarily to search from a large amount of redundancy backlight resource The corresponding backlight intensity of intensity of illumination, and be only through the simple exponential function curve of lookup and can determine that intensity of illumination is corresponding Therefore backlight intensity can shorten backlight intensity and fix time really, closely shorten backlight regulating time.
Example IV
Referring to Fig. 7, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
The mobile terminal of the embodiment of the present invention is advanced optimizing to the mobile terminal in embodiment three, the shifting after optimization Dynamic terminal includes:First determining module 401, for determining the position of current light intensity and vernier in brightness slider bar; Second determining module 402, for determining the first logic backlight intensity by the intensity of illumination and sample value curve;Conversion module 403, for converting the first backlight illumination characterized with percentage for the first logic backlight intensity;Curve constructs module 404, for constructing exponential function curve by the truth of a matter of first backlight illumination;Third determining module 405, in the finger Corresponding second backlight illumination of the slider position is determined in number function curve;Adjustment module 406, for determining second back The corresponding second logic backlight intensity of brightness carries out automatic backlight adjusting according to the second logic backlight intensity.
Preferably, second determining module 402 includes:Acquisition submodule 4021, for obtaining the sample value of setting number The coordinate of point, wherein the coordinate of each sample point includes:Intensity of illumination and logic backlight intensity;Curve construction submodule 4022, sample value curve is constructed for the coordinate according to each sample point obtained;Submodule 4023 is determined, for the illumination is strong The logic backlight intensity that the intersection point of degree and the sample value curve includes is determined as the first logic backlight intensity.
Preferably, when the curve construction submodule 4022 constructs sample value curve according to the coordinate of each sample point of acquisition: Broken line is constructed in two-dimensional coordinate by the coordinate of each sample point of acquisition;According to Ai Er meter Te interpolation method three times to the broken line Carry out processing construction sample value curve.
Preferably, the conversion module 403 is specifically used for:It is strong divided by largest logical backlight by the first logic backlight intensity The difference of degree and minimum logic backlight intensity, is determined as the first backlight illumination for resulting quotient.
Preferably, the third determining module 405 includes:Coordinate value determines submodule 4051, for according to the vernier Position and preset mapping relations formula determine that the slider position is right in the two-dimensional coordinate locating for the exponential function curve The coordinate value answered;Backlight illumination determines submodule 4052, for searching the intersection point of the exponential function curve Yu the coordinate value, The corresponding backlight illumination of the intersection point is determined as second backlight illumination.
Preferably, the preset mapping relations formula is:X=A-B;Wherein, the A is the constant greater than 1;The B is indicated Position of the vernier in brightness slider bar, and the B ∈ [- 1,1];The X indicates slider position in the exponential function curve Corresponding coordinate value in locating two-dimensional coordinate.
Preferably, when the adjustment module 406 determines second backlight illumination corresponding second logic backlight intensity:It is logical The difference of largest logical backlight intensity and minimum logic backlight intensity is crossed multiplied by the second backlight illumination, resulting product value is determined as Second logic backlight intensity.
The mobile terminal of the embodiment of the present invention is for realizing automatic backlight adjusting side corresponding in previous embodiment one, two Method, and there is beneficial effect corresponding with embodiment of the method, details are not described herein.
Embodiment five
Referring to Fig. 8, the structural block diagram of the mobile terminal of the embodiment of the present invention is shown.
The mobile terminal 500 of the embodiment of the present invention includes:At least one processor 501, memory 502, at least one net Network interface 504 and other users interface 503.Various components in mobile terminal 500 are coupled by bus system 505. It is understood that bus system 505 is for realizing the connection communication between these components.Bus system 505 remove include data/address bus it It outside, further include power bus, control bus and status signal bus in addition.It, in fig. 8 will be various total but for the sake of clear explanation Line is all designated as bus system 505.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application The program or instruction stored in program 5022, processor 501 is for determining that current intensity of illumination and vernier are slided in brightness Position in item;The first logic backlight intensity is determined by the intensity of illumination and sample value curve;First logic is carried on the back Luminous intensity is converted into the first backlight illumination characterized with percentage;It is bent that exponential function is constructed using first backlight illumination as the truth of a matter Line;Corresponding second backlight illumination of the slider position is determined in the exponential function curve;Determine that second backlight is bright Corresponding second logic backlight intensity is spent, carries out automatic backlight adjusting according to the second logic backlight intensity.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501. Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function In member or combinations thereof.
For software implementations, the module (such as process, function etc.) of function described in the execution embodiment of the present invention can be passed through To realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Storage Device can in the processor or portion realizes outside the processor.
Optionally, it when processor 501 determines the first logic backlight intensity by the intensity of illumination and sample value curve, obtains Take the coordinate of the sample point of setting number, wherein the coordinate of each sample point includes:Intensity of illumination and logic backlight intensity; Coordinate according to each sample point obtained constructs sample value curve;Include by the intensity of illumination and the intersection point of the sample value curve Logic backlight intensity is determined as the first logic backlight intensity.
Optionally, when processor 501 constructs sample value curve according to the coordinate of each sample point of acquisition, pass through the various kinds of acquisition The coordinate of value point constructs broken line in two-dimensional coordinate;Processing construction sample is carried out to the broken line according to Ai Er meter Te interpolation method three times It is worth curve.
Optionally, processor 501 converts the first logic backlight intensity to bright with the first backlight of percentage characterization It, will be resulting by the first logic backlight intensity divided by the difference of largest logical backlight intensity and minimum logic backlight intensity when spending Quotient is determined as the first backlight illumination.
Optionally, processor 501 determines that corresponding second backlight of the slider position is bright in the exponential function curve When spending, according to the slider position and preset mapping relations formula, determine the slider position in the exponential function curve Corresponding coordinate value in locating two-dimensional coordinate;The intersection point for searching the exponential function curve Yu the coordinate value, by the friendship The corresponding backlight illumination of point is determined as second backlight illumination.
Optionally, the preset mapping relations formula is:X=A-B;Wherein, the A is the constant greater than 1;The B is indicated Position of the vernier in brightness slider bar, and the B ∈ [- 1,1];The X indicates slider position in the exponential function curve Corresponding coordinate value in locating two-dimensional coordinate.
Optionally, when processor 501 determines second backlight illumination corresponding second logic backlight intensity, pass through maximum Resulting product value is determined as second and patrolled by the difference of logic backlight intensity and minimum logic backlight intensity multiplied by the second backlight illumination Collect backlight intensity.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal provided through the embodiment of the present invention, firstly, by constructing sample value curve for intensity of illumination and logic Backlight intensity corresponds, therefore, even if the smaller logic backlight intensity of intensity of illumination variation also can be according to the variation of intensity of illumination And change, it is corresponding with intensity of illumination range compared to existing logic backlight intensity for backlight adjust precision it is higher.Secondly, Mobile terminal provided in an embodiment of the present invention dynamically constructs exponential function curve according to building according to the first logic backlight intensity Function curve determine the regulated value of the second logic backlight intensity, the backlight resource without storing redundancy in the terminal believes Breath, therefore can reduce the storage burden of mobile terminal.Since mobile terminal is not necessarily to search from a large amount of redundancy backlight resource The corresponding backlight intensity of intensity of illumination, and be only through the simple exponential function curve of lookup and can determine that intensity of illumination is corresponding Therefore backlight intensity can shorten backlight intensity and fix time really, closely shorten backlight regulating time.
Embodiment six
Referring to Fig. 9, the structural block diagram of the mobile terminal of the embodiment of the present invention is shown.
Mobile terminal 600 in the embodiment of the present invention can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 in Fig. 9 includes radio frequency (RadioFrequency, RF) circuit 610, memory 620, input list Member 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply 690。
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 631 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 660 is given again, and can be received order that processor 660 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 is for determining current intensity of illumination and vernier in brightness slider bar In position;The first logic backlight intensity is determined by the intensity of illumination and sample value curve;By the first logic backlight Intensity is converted into the first backlight illumination characterized with percentage;It is bent that exponential function is constructed using first backlight illumination as the truth of a matter Line;Corresponding second backlight illumination of the slider position is determined in the exponential function curve;Determine that second backlight is bright Corresponding second logic backlight intensity is spent, carries out automatic backlight adjusting according to the second logic backlight intensity.
Optionally, it when processor 660 determines the first logic backlight intensity by the intensity of illumination and sample value curve, obtains Take the coordinate of the sample point of setting number, wherein the coordinate of each sample point includes:Intensity of illumination and logic backlight intensity; Coordinate according to each sample point obtained constructs sample value curve;Include by the intensity of illumination and the intersection point of the sample value curve Logic backlight intensity is determined as the first logic backlight intensity.
Optionally, when processor 660 constructs sample value curve according to the coordinate of each sample point of acquisition, pass through the various kinds of acquisition The coordinate of value point constructs broken line in two-dimensional coordinate;Processing construction sample is carried out to the broken line according to Ai Er meter Te interpolation method three times It is worth curve.
Optionally, processor 660 converts the first logic backlight intensity to bright with the first backlight of percentage characterization It, will be resulting by the first logic backlight intensity divided by the difference of largest logical backlight intensity and minimum logic backlight intensity when spending Quotient is determined as the first backlight illumination.
Optionally, processor 660 determines that corresponding second backlight of the slider position is bright in the exponential function curve When spending, according to the slider position and preset mapping relations formula, determine the slider position in the exponential function curve Corresponding coordinate value in locating two-dimensional coordinate;The intersection point for searching the exponential function curve Yu the coordinate value, by the friendship The corresponding backlight illumination of point is determined as second backlight illumination.
Optionally, the preset mapping relations formula is:X=A-B;Wherein, the A is the constant greater than 1;The B is indicated Position of the vernier in brightness slider bar, and the B ∈ [- 1,1];The X indicates slider position in the exponential function curve Corresponding coordinate value in locating two-dimensional coordinate.
Optionally, when processor 660 determines second backlight illumination corresponding second logic backlight intensity, pass through maximum Resulting product value is determined as second and patrolled by the difference of logic backlight intensity and minimum logic backlight intensity multiplied by the second backlight illumination Collect backlight intensity.
The mobile terminal provided through the embodiment of the present invention, firstly, by constructing sample value curve for intensity of illumination and logic Backlight intensity corresponds, therefore, even if the smaller logic backlight intensity of intensity of illumination variation also can be according to the variation of intensity of illumination And change, it is corresponding with intensity of illumination range compared to existing logic backlight intensity for backlight adjust precision it is higher.Secondly, Mobile terminal provided in an embodiment of the present invention dynamically constructs exponential function curve according to building according to the first logic backlight intensity Function curve determine the regulated value of the second logic backlight intensity, the backlight resource without storing redundancy in the terminal believes Breath, therefore can reduce the storage burden of mobile terminal.Since mobile terminal is not necessarily to search from a large amount of redundancy backlight resource The corresponding backlight intensity of intensity of illumination, and be only through the simple exponential function curve of lookup and can determine that intensity of illumination is corresponding Therefore backlight intensity can shorten backlight intensity and fix time really, closely shorten backlight regulating time.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Automatic backlight regulation scheme is not intrinsic with any certain computer, virtual system or other equipment provided herein It is related.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has the present invention Structure required by the system of scheme is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention:It is i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize one in automatic backlight regulation scheme according to an embodiment of the present invention The some or all functions of a little or whole components.The present invention is also implemented as executing method as described herein Some or all device or device programs (for example, computer program and computer program product).Such realization Program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.This The signal of sample can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or mentions in any other forms For.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (14)

1. a kind of automatic backlight adjusting method is applied to mobile terminal, which is characterized in that including:
Determine the position of current intensity of illumination and vernier in brightness slider bar;
The first logic backlight intensity is determined by the intensity of illumination and sample value curve;
Convert the first logic backlight intensity to the first backlight illumination characterized with percentage;
Exponential function curve is constructed by the truth of a matter of first backlight illumination;
Corresponding second backlight illumination of the slider position is determined in the exponential function curve;
It determines the corresponding second logic backlight intensity of second backlight illumination, is carried out certainly according to the second logic backlight intensity Dynamic backlight is adjusted.
2. the method according to claim 1, wherein described determined by the intensity of illumination and sample value curve The step of first logic backlight intensity includes:
Obtain the coordinate of the sample point of setting number, wherein the coordinate of each sample point includes:Intensity of illumination and logic backlight Intensity;
Coordinate according to each sample point obtained constructs sample value curve;
It is strong that the logic backlight intensity that intersection point by the intensity of illumination and the sample value curve includes is determined as the first logic backlight Degree.
3. according to the method described in claim 2, it is characterized in that, the coordinate according to each sample point obtained constructs sample value The step of curve includes:
Broken line is constructed in two-dimensional coordinate by the coordinate of each sample point of acquisition;
Processing construction sample value curve is carried out to the broken line according to Ai Er meter Te interpolation method three times.
4. the method according to claim 1, wherein described convert the first logic backlight intensity to hundred Point than characterization the first backlight illumination the step of include:
By the first logic backlight intensity divided by the difference of largest logical backlight intensity and minimum logic backlight intensity, by resulting quotient Value is determined as the first backlight illumination.
5. the method according to claim 1, wherein described determine the vernier in the exponential function curve The step of corresponding second backlight illumination in position includes:
According to the slider position and preset mapping relations formula, determine the slider position in the exponential function curve institute Corresponding coordinate value in the two-dimensional coordinate at place;
The corresponding backlight illumination of the intersection point is determined as described by the intersection point for searching the exponential function curve Yu the coordinate value Second backlight illumination.
6. according to the method described in claim 5, it is characterized in that, the preset mapping relations formula is:X=A-B
Wherein, the A is the constant greater than 1;Position of the B expression vernier in brightness slider bar, and the B ∈ [- 1, 1];The X expression slider position corresponding coordinate value in the two-dimensional coordinate locating for the exponential function curve.
7. the method according to claim 1, wherein the determination second backlight illumination corresponding second is patrolled The step of volume backlight intensity includes:
By the difference of largest logical backlight intensity and minimum logic backlight intensity multiplied by the second backlight illumination, by resulting product value It is determined as the second logic backlight intensity.
8. a kind of mobile terminal, which is characterized in that including:
First determining module, for determining the position of current intensity of illumination and vernier in brightness slider bar;
Second determining module, for determining the first logic backlight intensity by the intensity of illumination and sample value curve;
Conversion module, for converting the first backlight illumination characterized with percentage for the first logic backlight intensity;
Curve constructs module, for constructing exponential function curve by the truth of a matter of first backlight illumination;
Third determining module, for determining corresponding second backlight illumination of the slider position in the exponential function curve;
Adjustment module, for determining the corresponding second logic backlight intensity of second backlight illumination, according to second logic Backlight intensity carries out automatic backlight adjusting.
9. mobile terminal according to claim 8, which is characterized in that second determining module includes:
Acquisition submodule, the coordinate of the sample point for obtaining setting number, wherein the coordinate of each sample point includes:Illumination Intensity and logic backlight intensity;
Curve construction submodule constructs sample value curve for the coordinate according to each sample point obtained;
Determine submodule, the logic backlight intensity for including by the intersection point of the intensity of illumination and the sample value curve is determined as First logic backlight intensity.
10. mobile terminal according to claim 9, which is characterized in that the curve construction submodule is each according to what is obtained When the coordinate of sample point constructs sample value curve:
Broken line is constructed in two-dimensional coordinate by the coordinate of each sample point of acquisition;
Processing construction sample value curve is carried out to the broken line according to Ai Er meter Te interpolation method three times.
11. mobile terminal according to claim 8, which is characterized in that the conversion module is specifically used for:
By the first logic backlight intensity divided by the difference of largest logical backlight intensity and minimum logic backlight intensity, by resulting quotient Value is determined as the first backlight illumination.
12. mobile terminal according to claim 8, which is characterized in that the third determining module includes:
Coordinate value determines submodule, for determining the vernier position according to the slider position and preset mapping relations formula Set corresponding coordinate value in the two-dimensional coordinate locating for the exponential function curve;
Backlight illumination determines submodule, for searching the intersection point of the exponential function curve Yu the coordinate value, by the intersection point Corresponding backlight illumination is determined as second backlight illumination.
13. mobile terminal according to claim 12, which is characterized in that the preset mapping relations formula is:X=A-B
Wherein, the A is the constant greater than 1;Position of the B expression vernier in brightness slider bar, and the B ∈ [- 1, 1];The X expression slider position corresponding coordinate value in the two-dimensional coordinate locating for the exponential function curve.
14. mobile terminal according to claim 8, which is characterized in that the adjustment module determines that second backlight is bright When spending corresponding second logic backlight intensity:
By the difference of largest logical backlight intensity and minimum logic backlight intensity multiplied by the second backlight illumination, by resulting product value It is determined as the second logic backlight intensity.
CN201610107259.5A 2016-02-26 2016-02-26 A kind of automatic backlight adjusting method and mobile terminal Active CN105825836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610107259.5A CN105825836B (en) 2016-02-26 2016-02-26 A kind of automatic backlight adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610107259.5A CN105825836B (en) 2016-02-26 2016-02-26 A kind of automatic backlight adjusting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105825836A CN105825836A (en) 2016-08-03
CN105825836B true CN105825836B (en) 2018-11-30

Family

ID=56987408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610107259.5A Active CN105825836B (en) 2016-02-26 2016-02-26 A kind of automatic backlight adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105825836B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108447455A (en) * 2018-02-02 2018-08-24 普联技术有限公司 The back light brightness regulating method and system of terminal screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582991A (en) * 2008-05-13 2009-11-18 深圳华为通信技术有限公司 Method and device for processing image
CN102137178A (en) * 2011-04-07 2011-07-27 广东欧珀移动通信有限公司 Mobile phone backlight control method
CN104182143A (en) * 2014-08-22 2014-12-03 惠州Tcl移动通信有限公司 Backlight brightness adjustment method and system for mobile terminals
CN104347036A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104916259A (en) * 2014-03-13 2015-09-16 海信集团有限公司 Method of controlling brightness of display screen of medical display, device and medical display

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4668342B2 (en) * 2009-08-31 2011-04-13 シャープ株式会社 Liquid crystal display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582991A (en) * 2008-05-13 2009-11-18 深圳华为通信技术有限公司 Method and device for processing image
CN102137178A (en) * 2011-04-07 2011-07-27 广东欧珀移动通信有限公司 Mobile phone backlight control method
CN104347036A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104916259A (en) * 2014-03-13 2015-09-16 海信集团有限公司 Method of controlling brightness of display screen of medical display, device and medical display
CN104182143A (en) * 2014-08-22 2014-12-03 惠州Tcl移动通信有限公司 Backlight brightness adjustment method and system for mobile terminals

Also Published As

Publication number Publication date
CN105825836A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN106201321B (en) A kind of application control method and mobile terminal
CN107547734B (en) Method, mobile terminal and the storage medium that screen intensity is adjusted
CN106681603B (en) A kind of method and mobile terminal for adjusting video playing progress
CN106527849A (en) Method for regulating icon position, and mobile terminal
CN107657591A (en) A kind of image processing method and mobile terminal
CN106713117A (en) Group message display method and mobile terminal
CN106126019B (en) Display method of application program icon and mobile terminal
CN106384577B (en) A kind of backlight adjusting method and mobile terminal of display screen
CN106155480A (en) The interface display method of a kind of application program and mobile terminal
CN106681604A (en) Method for adjusting video playing progress and mobile terminal
CN106027373B (en) A kind of approaches to IM and device
CN105955600B (en) A kind of method and mobile terminal adjusting mobile terminal display interface
CN106648426A (en) Method for adjusting video playing progress and mobile terminal
CN106157125A (en) A kind of payment interface changing method and device
CN106407259A (en) Cookbook determination method and mobile terminal
CN106993091A (en) A kind of image weakening method and mobile terminal
CN106354411A (en) Interface startup method and mobile terminal
CN106375048A (en) Antenna switch control method and apparatus of wireless local area network
CN105955528B (en) A kind of unlocking screen method and mobile terminal
CN106681784A (en) System software management method and terminal
CN106453778B (en) A kind of contact photo setting method and mobile terminal
CN101907970A (en) Electronic device, desktop browsing method and computer program product
CN107463051A (en) A kind of exposure method and device
CN107295218B (en) A kind of image processing method and mobile terminal
CN106708389B (en) A kind of method and mobile terminal of control display interface scaling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant