CN105825836A - Automatic backlight adjusting method and mobile terminal - Google Patents

Automatic backlight adjusting method and mobile terminal Download PDF

Info

Publication number
CN105825836A
CN105825836A CN201610107259.5A CN201610107259A CN105825836A CN 105825836 A CN105825836 A CN 105825836A CN 201610107259 A CN201610107259 A CN 201610107259A CN 105825836 A CN105825836 A CN 105825836A
Authority
CN
China
Prior art keywords
backlight
intensity
illumination
logic
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610107259.5A
Other languages
Chinese (zh)
Other versions
CN105825836B (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 invention provides an automatic backlight adjusting method and a mobile terminal. The method comprises the steps that current illumination intensity and the position of a vernier in a brightness slider are determined; first logic backlight intensity is determined by the illumination intensity and a sample value curve; the first logic backlight intensity is converted into first backlight brightness represented by percentage; an exponential function curve is constructed with the first backlight brightness acting as the base number; second backlight brightness corresponding to the position of the vernier is determined in the exponential function curve; and second logic backlight intensity corresponding to the second backlight brightness is determined, and automatic backlight adjustment is performed according to the second logic backlight intensity. With application of the automatic backlight adjusting method, the accuracy of backlight adjustment can be enhanced.

Description

A kind of automatic backlight control method and mobile terminal
Technical field
The present invention relates to backlight regulation technology field, particularly relate to a kind of automatic backlight control method and mobile terminal.
Background technology
Current most of mobile terminal all has automatic backlight function, the function of backlight illumination is i.e. dynamically changed with intensity of illumination, when automatic backlight regulates, the strongest backlight of illumination then needs the brightest of regulation, this is accomplished by intensity of illumination and backlight illumination are set up mapping relations, carries out automatic backlight regulation according to mapping relations.
Existing automatic backlight regulation scheme arranges the backlight level table comprising intensity of illumination and backlight illumination mapping relations in the terminal, and mobile terminal carries out backlight regulation according to backlight level table.And in backlight level table, point in brightness slider bar is divided into setting number, backlight level is divided into 11 grades, the corresponding intensity of illumination scope of each backlight level, the corresponding logic backlight intensity value of each backlight level, i.e. one the corresponding logic backlight value of intensity of illumination scope.
Visible, the mapping relations between existing intensity of illumination and logic backlight intensity are discrete, and the number of discrete point reflects the number of backlight level.If backlight level is very few, then regulate the most single, the switching of backlight just can only can occur when intensity of illumination changes greatly, if intensity of illumination change is little, the switching of backlight will not occur, backlight degree of regulation is poor.If backlight level divides too much, in mobile terminal, the backlight resource information of storage can excessively redundancy, it is difficult to being quickly found out the backlight intensity that intensity of illumination is corresponding, mobile terminal storage burden weight and regulating time are long.
Visible, existing automatic backlight regulation scheme cannot complete the regulation of high-precision backlight at short notice, affects the experience of user.
Summary of the invention
Cannot complete, present in existing automatic backlight regulation scheme, the problem that high-precision backlight regulates at short notice, it is proposed that the present invention is to provide a kind of automatic backlight control method overcoming the problems referred to above and mobile terminal.
According to one aspect of the present invention, it is provided that a kind of automatic backlight control method, being applied to mobile terminal, described automatic backlight control method comprises determining that current intensity of illumination and the vernier position in brightness slider bar;The first logic backlight intensity is determined by described intensity of illumination and sample value curve;Described first logic backlight intensity is converted into the first backlight illumination characterized with percentage ratio;Exponential function curve is built for the truth of a matter with described first backlight illumination;The second backlight illumination that described slider position is corresponding is determined in described exponential function curve;Determine the second logic backlight intensity that described second backlight illumination is corresponding, carry out automatic backlight regulation according to described second logic backlight intensity.
According to a further aspect in the invention, it is provided that a kind of mobile terminal, described mobile terminal includes: first determines module, for determining current intensity of illumination and the vernier position in brightness slider bar;Second determines module, for determining the first logic backlight intensity by described intensity of illumination and sample value curve;Conversion module, for being converted into the first backlight illumination characterized with percentage ratio by described first logic backlight intensity;Curve builds module, for building exponential function curve with described first backlight illumination for the truth of a matter;3rd determines module, for determining the second backlight illumination that described slider position is corresponding in described exponential function curve;Adjustment module, for determining the second logic backlight intensity that described second backlight illumination is corresponding, carries out automatic backlight regulation according to described second logic backlight intensity.
Compared with prior art, the invention have the advantages that
The automatic backlight regulation scheme that the embodiment of the present invention provides, first, by building sample value curve by intensity of illumination and logic backlight intensity one_to_one corresponding, therefore, even if intensity of illumination change less logic backlight intensity also can change according to the change of intensity of illumination, corresponding with intensity of illumination scope compared to existing logic backlight intensity for backlight regulate precision higher.Secondly, the automatic backlight regulation scheme that the embodiment of the present invention provides builds exponential function curve dynamically according to the first logic backlight intensity and determines the regulated value of the second logic backlight intensity according to the function curve built, without storing the backlight resource information of redundancy in the terminal, therefore, it is possible to alleviate the storage burden of mobile terminal.Owing to mobile terminal is without searching the backlight intensity that intensity of illumination is corresponding from substantial amounts of redundancy backlight resource, and it is only through searching the backlight intensity that simple exponential function curve i.e. can determine that intensity of illumination is corresponding, therefore, backlight intensity can be shortened really fix time, closely shorten backlight regulating time.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various advantages and benefit will be clear from understanding for those of ordinary skill in the art.Accompanying drawing is only used for illustrating preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 is the flow chart of steps of a kind of automatic backlight control method of according to embodiments of the present invention;
Fig. 2 is the flow chart of steps of a kind of automatic backlight control method of according to embodiments of the present invention two;
Fig. 3 is the flow chart of steps using the method shown in the embodiment of the present invention two to carry out automatic backlight regulation;
Fig. 4 is the schematic diagram of the sample value curve built;
Fig. 5 is the schematic diagram of the exponential function curve built;
Fig. 6 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention three;
Fig. 7 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention four;
Fig. 8 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention five;
Fig. 9 is the structured flowchart of a kind of mobile terminal of according to embodiments of the present invention six.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiment one
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of automatic backlight control method of the embodiment of the present invention one.
The automatic backlight control method of the embodiment of the present invention comprises the following steps:
Step S102: determine current light intensity and the vernier position in brightness slider bar.
The display screen of mobile terminal has the function of brightness regulation at present.Generally drag the regulation brightness of brightness slider bar by touch screen, or regulate brightness by mechanical key.Brightness slider bar comprises multiple point; when backlight regulates, user would generally be by a certain specific place in vernier slide to brightness slider bar; therefore, in this step it needs to be determined that vernier position in brightness slider bar, namely the vernier positional value that the point of indication is corresponding 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 high order end is-1, and the value of the point at brightness slider bar low order end is 1, then, in brightness slider bar, the value of other points is then evenly distributed in (-1,1).
Intensity of illumination can be obtained by light sensor sensing.
Step S104: determine the first logic backlight intensity by intensity of illumination and sample value curve.
Wherein, when building sample value curve, many group logic backlight intensity and the corresponding relation of intensity of illumination can be obtained from backlight level table, often organize the coordinate of a corresponding relation that is sample point.In two-dimensional coordinate system, sample value curve is built by the coordinate of sample point.Concrete building mode for sample value curve sees correlation technique, is not specifically limited this, such as in the embodiment of the present invention: use three Ai Er meter Te interpolation methods to build sample value curve.
In sample value curve, the corresponding logic backlight intensity of each intensity of illumination, so can construct a continuous print, sample value curve that smooth logic backlight intensity changes with intensity of illumination.In this sample value curve, if intensity of illumination determines, can determine that the logic backlight intensity corresponding with this intensity of illumination, the i.e. first logic backlight intensity.
Step S106: the first logic backlight intensity is converted into the first backlight illumination characterized with percentage ratio.
When converting, the backlight illumination that backlight can be transferred to the brightest (255) logic backlight intensity corresponding is calculated as 1, the backlight illumination that backlight can be transferred to the darkest (20) logic backlight intensity corresponding is calculated as 0, then the first logic backlight intensity ÷ (255-20)=first backlight illumination.
Assume that the first logic backlight intensity is 117.5, then the first backlight illumination with percentage ratio sign after converting is 50% that is 0.5.
Step S108: build exponential function curve for the truth of a matter with the first backlight illumination.
Assuming that the first backlight illumination is 50%, need the most in this step to build exponential function curve with 0.5 for the truth of a matter, the function expression of the curve i.e. constructed is Y=0.5x
It should be noted that what constructed exponential function curve non-predetermined built, and it is based on after current light intensity determines the first backlight illumination, building targetedly.
On the exponential function curve built, the coordinate of each point reflects under the first backlight illumination, corresponding relation between each point and the backlight illumination characterized with percentage ratio in brightness slider bar.
Step S110: determine the second backlight illumination that slider position is corresponding in exponential function curve.
In this step, in determining slider position i.e. brightness slider bar concrete certain point value time, i.e. can obtain the backlight illumination that this point is corresponding, then obtained by backlight illumination be the second backlight illumination.
Step S112: determine the second logic backlight intensity that the second backlight illumination is corresponding, carries out automatic backlight regulation according to the second logic backlight intensity.
When carrying out automatic backlight regulation finally it needs to be determined that the logic backlight intensity of regulation, therefore, this step needs to be translated into logic backlight intensity that is second logic backlight intensity after the second backlight illumination determining final regulation.
When converting, the backlight illumination that still backlight can be transferred to the brightest (255) logic backlight intensity corresponding is calculated as 1, the backlight illumination that backlight can be transferred to the darkest (20) logic backlight intensity corresponding is calculated as 0, then the second logic backlight intensity=the second backlight illumination × (255-20).
The automatic backlight control method provided by the embodiment of the present invention, first, by building sample value curve by intensity of illumination and logic backlight intensity one_to_one corresponding, therefore, even if intensity of illumination change less logic backlight intensity also can change according to the change of intensity of illumination, corresponding with intensity of illumination scope compared to existing logic backlight intensity for backlight regulate precision higher.Secondly, the automatic backlight control method that the embodiment of the present invention provides builds exponential function curve dynamically according to the first logic backlight intensity and determines the regulated value of the second logic backlight intensity according to the function curve built, without storing the backlight resource information of redundancy in the terminal, therefore, it is possible to alleviate the storage burden of mobile terminal.Owing to mobile terminal is without searching the backlight intensity that intensity of illumination is corresponding from substantial amounts of redundancy backlight resource, and it is only through searching the backlight intensity that simple exponential function curve i.e. can determine that intensity of illumination is corresponding, therefore, backlight intensity can be shortened really fix time, closely shorten backlight regulating time.
Embodiment two
With reference to Fig. 2, it is shown that the flow chart of steps of a kind of automatic backlight control method of the embodiment of the present invention two.
The automatic backlight control method that the embodiment of the present invention provides specifically includes below scheme:
Step S202: determine current light intensity and the vernier position in brightness slider bar.
Brightness slider bar comprises multiple point; when backlight regulates, user would generally be by a certain specific place in vernier slide to brightness slider bar; therefore; in this step it needs to be determined that vernier position in brightness slider bar, namely vernier this positional value of positional value that the point of indication is corresponding in brightness slider bar can represent with B.
Such as: the value of brightness slider bar middle point is 0, and the value of the point at brightness slider bar high order end is-1, and the value of the point at brightness slider bar low order end is 1, then, in brightness slider bar, the value of other points is then evenly distributed in (-1,1).
Step S204: determine the first logic backlight intensity by intensity of illumination and sample value curve.
A kind of determine that the mode of the first logic backlight intensity is as follows preferably through intensity of illumination and sample value curve:
First, the coordinate of the sample point setting number is obtained.
Wherein, the coordinate of each sample point includes: intensity of illumination and logic backlight intensity.
Set number to be configured according to the actual requirements by those skilled in the art, such as: be set to 5,6,8 or 11 etc..
Secondly, according to the coordinate structure sample value curve of each sample point obtained.
A kind of preferred mode according to the coordinate structure sample value curve of each sample point obtained is: the coordinate of each sample point by obtaining constructs broken line in two-dimensional coordinate;Carry out processing structure sample value curve according to three Ai Er meter Te interpolation method broken lines.
Finally, the logic backlight intensity that the intersection point of intensity of illumination Yu sample value curve comprises is defined as the first logic backlight intensity.
Each point on sample value curve is all to having intensity of illumination and logic backlight intensity, therefore, after determining intensity of illumination, i.e. can determine that the logic backlight intensity (namely the first logic backlight intensity) that this intensity of illumination is corresponding.
Step S206: by the first logic backlight intensity divided by the difference of largest logical backlight intensity with minimum logic backlight intensity, the quotient of gained is defined as the first backlight illumination.
Wherein, largest logical backlight intensity is that backlight will be able to be transferred to the brightest logic backlight intensity, and minimum logic backlight intensity is that backlight can be transferred to the darkest logic backlight intensity.
Assuming that largest logical backlight intensity is 255, minimum logic backlight intensity is 20, then the first backlight illumination=the first logic backlight intensity ÷ (255-20).
In the embodiment of the present invention, backlight illumination is the most as a percentage.
Step S208: build exponential function curve for the truth of a matter with the first backlight illumination.
Assume that present vernier is in brightness slider bar midpoint, backlight illumination is that 50% i.e. current light intensity can make backlight illumination reach 50% and be in steady statue, at this moment user's slip vernier backlight to the left should be dimmed, slip vernier backlight should brighten to the right, therefore, in order to meet above-mentioned backlight Changing Pattern, this step builds exponential function curve with the first backlight illumination for the truth of a matter.
In the exponential function curve built with the truth of a matter 50% for the truth of a matter, the x value that at 50% backlight illumination, brightness slider bar midpoint is corresponding is 1, and the actual of brightness slider bar midpoint is defined as 0, therefore, needing to hint obliquely at the actual value 1 in brightness slider bar with definition value 0, i.e. to hint obliquely at 0 is 1.Correspondingly, it is also desirable to being hinted obliquely at definition value by the actual value of other points in brightness slider bar, then need when hinting obliquely at by default mapping relations formula, concrete mapping mode and mapping relations formula carry out related description in step S210.
Step S210: according to slider position and default mapping relations formula, determine the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for exponential function curve.
The mapping relations formula preset is: X=A-B;Wherein, described A is the constant more than 1;Described B represents vernier position in brightness slider bar, and described B ∈ [-1,1];Described X represents the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve, and X is in the range of [1/A, A].
In two-dimensional coordinate residing for function curve, transverse axis X represents that position a little, longitudinal axis Y represent the backlight illumination very characterized.
The vernier determined during B is step S202 in this step position in brightness slider bar.Such as: B is 0.5, A is 1, then the value after vernier hinting obliquely in brightness slider bar is X=10.5=1, more such as: B is 1, and A is 2, then the value after vernier hinting obliquely in brightness slider bar is X=21=2.
Slider position abscissa value of correspondence in the two-dimensional coordinate residing for exponential function curve is i.e. can determine that by vernier hinting obliquely at of position in brightness slider bar.
Step S212: search the intersection point of exponential function curve and coordinate figure, backlight illumination corresponding for intersection point is defined as the second backlight illumination.
After determining abscissa value, the intersection point of exponential function curve and coordinate figure can be searched, backlight illumination corresponding for intersection point is defined as the second backlight illumination.
Step S214: determine the second logic backlight intensity that the second backlight illumination is corresponding, carries out automatic backlight regulation according to the second logic backlight intensity.
A kind of preferably determine the second logic backlight intensity that the second backlight illumination is corresponding mode be: be multiplied by the second backlight illumination by the difference of largest logical backlight intensity with minimum logic backlight intensity, the product value of gained be defined as the second logic backlight intensity.
Assuming that largest logical backlight intensity is 255, minimum logic backlight intensity is 20, then the second logic backlight intensity=(255-20) × second backlight illumination.
Participate in relevant carry out automatic backlight regulation technology according to logic backlight intensity for carrying out the concrete mode of automatic backlight regulation according to the second logic backlight intensity, this is not specifically limited by the embodiment of the present invention.
It should be noted that during implementing, the unstability of the intensity of illumination read due to mobile terminal may cause the frequent regulation of backlight.Therefore, complete for current light intensity backlight regulation after, can record correspondence intensity of illumination, and on the basis of this intensity of illumination set a percentage ratio threshold values up and down, carry out again after intensity of illumination exceedes threshold values on once backlight regulation.
The automatic backlight control method provided by the embodiment of the present invention, first, by building sample value curve by intensity of illumination and logic backlight intensity one_to_one corresponding, therefore, even if intensity of illumination change less logic backlight intensity also can change according to the change of intensity of illumination, corresponding with intensity of illumination scope compared to existing logic backlight intensity for backlight regulate precision higher.Secondly, the automatic backlight control method that the embodiment of the present invention provides builds exponential function curve dynamically according to the first logic backlight intensity and determines the regulated value of the second logic backlight intensity according to the function curve built, without storing the backlight resource information of redundancy in the terminal, therefore, it is possible to alleviate the storage burden of mobile terminal.Owing to mobile terminal is without searching the backlight intensity that intensity of illumination is corresponding from substantial amounts of redundancy backlight resource, and it is only through searching the backlight intensity that simple exponential function curve i.e. can determine that intensity of illumination is corresponding, therefore, backlight intensity can be shortened really fix time, closely shorten backlight regulating time.
Referring to Fig. 3, with an instantiation, the automatic backlight control method of the embodiment of the present invention is illustrated.
The automatic backlight control method of this instantiation specifically includes following steps:
Step S302: obtain data from light sensor.
Wherein, the data obtained include: current light intensity and vernier position in brightness slider bar.
Intensity of illumination data read from light sensor.
In this instantiation, if the value of brightness slider bar middle point is 0, the value of the point at brightness slider bar high order end is-1, the value of the point at brightness slider bar low order end is 1, so, in brightness slider bar, the value of other points is then evenly distributed on (-1,1) in, therefore, each point in brightness slider bar is all to there being a value, with statusbarVa in this instantiation, and change along with the operation of user due to vernier position in brightness slider bar, therefore, this parameter is variable element, statusbarVa ∈ [-1,1].
This instantiation is in as a example by the midpoint of brightness slider bar by vernier, subsequent step is illustrated.
Step S304: calculate logic backlight intensity from sample value curve according to the intensity of illumination data obtained.
In this step firstly the need of building sample value curve, need when building sample value curve from backlight level table, obtain the sample point setting number, acquired sample point as shown in table 1:
Table 1
Intensity of illumination 0 20 600 1200 5000
Logic backlight intensity 20 115 190 252 255
By the sample point of acquisition after cubic Hamiltonian symmetrical systems, building and obtain sample value curve as shown in Figure 4, wherein, in Fig. 4, solid line is three Hermite sample value curves, and dotted line is linked to be broken line by sample point.In Fig. 4, abscissa represents that intensity of illumination, longitudinal axis mark represent logic backlight intensity.By building sample value curve, all corresponding for an each intensity of illumination logic backlight intensity i.e. can be completed the division to the wireless grade that backlight regulates.
Owing to user may manually regulate brightness slider bar during using automatic backlight, and every bit all should complete unlimited grade classification on backlight bar, and the sample value curve in step 304 can only meet the brightness regulation in brightness slider bar, so in actual mechanical process, need, according to specific in brightness slider bar of vernier, to build corresponding sample value curve for this point.
Step S306: logic backlight intensity is carried out percentage ratio conversion.
In this instantiation, if the value of brightness slider bar middle point is 0, at high order end, the value of point is-1, and at low order end, the value of point is 1, and in brightness slider bar, other points are evenly distributed in (-1,1).Further, backlight illumination is percentage ratio by this instantiation to represent.Assume that the backlight illumination that backlight can be made to be transferred to the brightest logic backlight intensity (255) corresponding is calculated as 1, can make backlight can be transferred to the most secretly backlight illumination corresponding to logic backlight intensity (20) is calculated as 0, so, the logic backlight intensity that 50% (0.5) backlight illumination is corresponding is (255-20) * 50%=117.5.
That is, backlight illumination=logic backlight intensity ÷ (largest logical backlight intensity-minimum logic backlight intensity).
Step S308: build corresponding exponential curve according to the percentage ratio after converting.
In the embodiment of the present invention by step S306 convert after percentage ratio be 50% as a example by, follow-up flow process is illustrated.
Due in this instantiation, vernier is in an intermediate position in brightness slider bar, intensity of illumination can make backlight illumination reach 50% and be in steady statue, at this moment user's slip vernier backlight to the left should be dimmed, slip vernier backlight should brighten to the right, therefore, in order to meet above-mentioned backlight Changing Pattern, this step builds exponential function curve with 50% for the truth of a matter.Constructed by the exponential function curve that goes out as it is shown in figure 5, in Fig. 5 abscissa represent vernier location in brightness slider bar, vertical coordinate represents backlight illumination.
It should be noted that this instantiation is only the exponential function curve that backlight illumination can be made to build as a example by reaching 50% and being in steady statue for current light intensity.During implementing, if current light intensity can make backlight illumination reach 20% and be in steady statue, then need to build exponential function curve with 20% for the truth of a matter;If current light intensity can make backlight illumination reach 70% and be in steady statue, then need to build exponential function curve with 70% for the truth of a matter;If current light intensity can make backlight illumination reach 30% and be in steady statue, then need to build exponential function curve with 30% for the truth of a matter;If current light intensity can make backlight illumination reach 10% and be in steady statue, then need to build exponential function curve with 10% for the truth of a matter.
As it is shown in figure 5, the vernier x value corresponding when brightness slider bar middle is 1, and the value at this point has been defined as 0 in step S306, must hint obliquely at accordingly, it would be desirable to be defined value with actual value, and in this instantiation, needing to hint obliquely at 0 is 1.
The explanation carried out as a example by brightness slider bar centre position by vernier in the embodiment of the present invention, therefore only need to will carry out hinting obliquely in this two-dimensional coordinate in comprising exponential function curve.And during implementing, if other positions that vernier is in brightness slider bar, then be also required to hint obliquely at the actual value of this position and definition value, then need by default mapping relations formula when hinting obliquely at, concrete mapping mode is as follows:
By default mapping relations formula x=A-statusbarVal(A > 1) hints obliquely at.
Wherein, statusbarVal is equivalent to the B in embodiment two, represents vernier position in brightness slider bar, and described statusbarVal ∈ [-1,1];Described A is the constant more than 1;Described X represents the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve, X is in the range of [1/A, A], namely, the x value of brightness slider bar leftmost side point (statusbarVal=-1) is A, 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 the range of accommodation of backlight i.e. vernier range of accommodation in brightness slider bar is sandwiched between x=1/2, and x=2.
Step S310: utilize the numerical value that vernier position in brightness slider bar is corresponding, calculates the backlight illumination needing regulation on exponential curve.
Numerical value corresponding to vernier position in brightness slider bar the most in Figure 5 shown in two-dimensional coordinate in abscissa value, after determining abscissa value, the straight line that exponential function curve is vertical is made in along described abscissa value, determining the intersection point of this straight line and exponential function curve, the ordinate value that this intersection point is corresponding is the backlight illumination of regulation.
Step S312: backlight illumination changes into logic backlight intensity, carries out automatic backlight regulation according to logic backlight intensity.
The backlight illumination determined in step S310 is the value characterized with percentage ratio, and need when carrying out automatic backlight regulation to be adjusted by light intensity according to logic, and backlight illumination and logic backlight intensity have corresponding relation, accordingly, it would be desirable to backlight illumination is changed into logic by light intensity according to corresponding conversion formula.Specifically, convert according to logic backlight intensity=(255-20) × backlight illumination.
After determining logic backlight intensity to be regulated, carrying out automatic backlight regulation according to the logic backlight intensity determined, so far an automatic backlight regulation is complete, waits backlight regulation next time.
It should be noted that, owing to the unstability of light sensor reading intensity of illumination may cause the frequent regulation of backlight, in order to solve the problem frequently regulated, during implementing, the intensity of illumination of correspondence can be recorded after regulation backlight, and on the basis of this intensity of illumination set a percentage ratio threshold values up and down, carry out again after intensity of illumination exceedes threshold values on once backlight regulation.
The automatic backlight control method that this instantiation provides, achieves the continuous corresponding of intensity of illumination and logic backlight intensity by structure sample value curve.And, logic backlight intensity is converted into the backlight illumination characterized with percentage ratio, exponential function curve is built for the truth of a matter with this backlight illumination, make each point on brightness slider bar can a corresponding automatic backlight brightness for current light intensity, achieve and backlight regulation is carried out unlimited grade classification continuous, smooth, improve the precision of backlight regulation.
Embodiment three
With reference to Fig. 6, it is shown that the structured flowchart of a kind of mobile terminal of the embodiment of the present invention three.
The mobile terminal of the embodiment of the present invention includes: first determines module 301, for determining current light intensity and the vernier position in brightness slider bar;Second determines module 302, for determining the first logic backlight intensity by described intensity of illumination and sample value curve;Conversion module 303, for being converted into the first backlight illumination characterized with percentage ratio by described first logic backlight intensity;Curve builds module 304, for building exponential function curve with described first backlight illumination for the truth of a matter;3rd determines module 305, for determining the second backlight illumination that described slider position is corresponding in described exponential function curve;Adjustment module 306, for determining the second logic backlight intensity that described second backlight illumination is corresponding, carries out automatic backlight regulation according to described second logic backlight intensity.
The mobile terminal provided by the embodiment of the present invention, first, by building sample value curve by intensity of illumination and logic backlight intensity one_to_one corresponding, therefore, even if intensity of illumination change less logic backlight intensity also can change according to the change of intensity of illumination, corresponding with intensity of illumination scope compared to existing logic backlight intensity for backlight regulate precision higher.Secondly, the mobile terminal that the embodiment of the present invention provides builds exponential function curve dynamically according to the first logic backlight intensity and determines the regulated value of the second logic backlight intensity according to the function curve built, without storing the backlight resource information of redundancy in the terminal, therefore, it is possible to alleviate the storage burden of mobile terminal.Owing to mobile terminal is without searching the backlight intensity that intensity of illumination is corresponding from substantial amounts of redundancy backlight resource, and it is only through searching the backlight intensity that simple exponential function curve i.e. can determine that intensity of illumination is corresponding, therefore, backlight intensity can be shortened really fix time, closely shorten backlight regulating time.
Embodiment four
With reference to Fig. 7, it is shown that the structured flowchart of a kind of mobile terminal of the embodiment of the present invention four.
The mobile terminal of the embodiment of the present invention is the further optimization to the mobile terminal in embodiment three, and the mobile terminal after optimization includes: first determines module 401, for determining current light intensity and the vernier position in brightness slider bar;Second determines module 402, for determining the first logic backlight intensity by described intensity of illumination and sample value curve;Conversion module 403, for being converted into the first backlight illumination characterized with percentage ratio by described first logic backlight intensity;Curve builds module 404, for building exponential function curve with described first backlight illumination for the truth of a matter;3rd determines module 405, for determining the second backlight illumination that described slider position is corresponding in described exponential function curve;Adjustment module 406, for determining the second logic backlight intensity that described second backlight illumination is corresponding, carries out automatic backlight regulation according to described second logic backlight intensity.
Preferably, described second determines that module 402 includes: obtain submodule 4021, and for obtaining the coordinate of the sample point setting number, wherein, the coordinate of each sample point includes: intensity of illumination and logic backlight intensity;Curve construction submodule 4022, for the coordinate structure sample value curve according to each sample point obtained;Determine submodule 4023, for the logic backlight intensity that the intersection point of described intensity of illumination Yu described sample value curve comprises is defined as the first logic backlight intensity.
Preferably, when described curve construction submodule 4022 constructs sample value curve according to the coordinate of each sample point obtained: the coordinate of each sample point by obtaining constructs broken line in two-dimensional coordinate;Carry out described broken line processing structure sample value curve according to three Ai Er meter Te interpolation methods.
Preferably, described conversion module 403 specifically for: by the first logic backlight intensity divided by the difference of largest logical backlight intensity with minimum logic backlight intensity, the quotient of gained is defined as the first backlight illumination.
Preferably, the described 3rd determines that module 405 includes: coordinate figure determines submodule 4051, for according to described slider position and default mapping relations formula, determining the coordinate figure that described slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve;Backlight illumination determines submodule 4052, for searching the intersection point of described exponential function curve and described coordinate figure, backlight illumination corresponding for described intersection point is defined as described second backlight illumination.
Preferably, described default mapping relations formula is: X=A-B;Wherein, described A is the constant more than 1;Described B represents vernier position in brightness slider bar, and described B ∈ [-1,1];Described X represents the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve.
Preferably, when described adjustment module 406 determines the second logic backlight intensity corresponding to described second backlight illumination: be multiplied by the second backlight illumination by the difference of largest logical backlight intensity with minimum logic backlight intensity, the product value of gained is defined as the second logic backlight intensity.
The mobile terminal of the embodiment of the present invention is used for realizing corresponding automatic backlight control method in previous embodiment one, two, and has beneficial effect corresponding with embodiment of the method, does not repeats them here.
Embodiment five
With reference to Fig. 8, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention.
The mobile terminal 500 of the embodiment of the present invention includes: at least one processor 501, memorizer 502, at least one network interface 504 and other user interfaces 503.Each assembly in mobile terminal 500 is coupled by bus system 505.It is understood that bus system 505 is for realizing the connection communication between these assemblies.Bus system 505, in addition to including data/address bus, also includes power bus, controls bus and status signal bus in addition.But for the sake of understanding explanation, in fig. 8 various buses are all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 502 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, maybe can include volatibility and nonvolatile memory.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 Read Only Memory (ElectricallyEPROM, EEPROM) or flash memory.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as External Cache.nullBy exemplary but be not restricted explanation,The RAM of many forms can use,Such as static RAM (StaticRAM,SRAM)、Dynamic random access memory (DynamicRAM,DRAM)、Synchronous Dynamic Random Access Memory (SynchronousDRAM,SDRAM)、Double data speed synchronous dynamic RAM (DoubleDataRateSDRAM,DDRSDRAM)、Enhancement mode Synchronous Dynamic Random Access Memory (EnhancedSDRAM,ESDRAM)、Synchronized links dynamic random access memory (SynchlinkDRAM,And direct rambus random access memory (DirectRambusRAM SLDRAM),DRRAM).The memorizer 502 of the system and method that the embodiment of the present invention describes is intended to include but not limited to these and the memorizer of other applicable type any.
In some embodiments, memorizer 502 stores following element, executable module or data structure, or their subset, or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for realizing various basic business and processing hardware based task.Application program 5022, comprises various application program, and such as media player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.The program realizing embodiment of the present invention method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of memorizer 502 storage, concrete, can be program or the instruction of storage in application program 5022, processor 501 is for determining current intensity of illumination and the vernier position in brightness slider bar;The first logic backlight intensity is determined by described intensity of illumination and sample value curve;Described first logic backlight intensity is converted into the first backlight illumination characterized with percentage ratio;Exponential function curve is built for the truth of a matter with described first backlight illumination;The second backlight illumination that described slider position is corresponding is determined in described exponential function curve;Determine the second logic backlight intensity that described second backlight illumination is corresponding, carry out automatic backlight regulation according to described second logic backlight intensity.
The method that the invention described above embodiment discloses can apply in processor 501, or is realized by processor 501.Processor 501 is probably a kind of IC chip, has the disposal ability of signal.During realizing, each step of said method can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned processor 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.The processor etc. that general processor can be microprocessor or this processor can also be any routine.Hardware decoding processor can be embodied directly in conjunction with the step of the method disclosed in the embodiment of the present invention to have performed, or combine execution by the hardware in decoding processor and software module and complete.Software module may be located at random access memory, flash memory, read only memory, in the storage medium that this area such as programmable read only memory or electrically erasable programmable memorizer, depositor is ripe.This storage medium is positioned at memorizer 502, and processor 501 reads the information in memorizer 502, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can realize by hardware, software, firmware, middleware, microcode or a combination thereof.nullHardware is realized,Processing unit can be implemented in one or more special IC (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、In other electronic unit performing herein described function or a combination thereof.
Software is realized, the technology described in the embodiment of the present invention can be realized by performing the module (such as process, function etc.) of function described in the embodiment of the present invention.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or realize outside processor.
Alternatively, when processor 501 determines the first logic backlight intensity by described intensity of illumination and sample value curve, obtaining the coordinate of the sample point setting number, wherein, the coordinate of each sample point includes: intensity of illumination and logic backlight intensity;Coordinate structure sample value curve according to each sample point obtained;The logic backlight intensity that the intersection point of described intensity of illumination Yu described sample value curve comprises is defined as the first logic backlight intensity.
Alternatively, when processor 501 constructs sample value curve according to the coordinate of each sample point obtained, the coordinate of each sample point by obtaining constructs broken line in two-dimensional coordinate;Carry out described broken line processing structure sample value curve according to three Ai Er meter Te interpolation methods.
Alternatively, when described first logic backlight intensity is converted into the first backlight illumination with percentage ratio sign by processor 501, by the first logic backlight intensity divided by the difference of largest logical backlight intensity with minimum logic backlight intensity, the quotient of gained is defined as the first backlight illumination.
Alternatively, when processor 501 determines the second backlight illumination corresponding to described slider position in described exponential function curve, according to described slider position and default mapping relations formula, determine the coordinate figure that described slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve;Search the intersection point of described exponential function curve and described coordinate figure, backlight illumination corresponding for described intersection point is defined as described second backlight illumination.
Alternatively, described default mapping relations formula is: X=A-B;Wherein, described A is the constant more than 1;Described B represents vernier position in brightness slider bar, and described B ∈ [-1,1];Described X represents the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve.
Alternatively, when processor 501 determines the second logic backlight intensity corresponding to described second backlight illumination, it is multiplied by the second backlight illumination by the difference of largest logical backlight intensity with minimum logic backlight intensity, the product value of gained is defined as the second logic backlight intensity.
Mobile terminal 500 is capable of each process that in previous embodiment, mobile terminal realizes, and for avoiding repeating, repeats no more here.
The mobile terminal provided by the embodiment of the present invention, first, by building sample value curve by intensity of illumination and logic backlight intensity one_to_one corresponding, therefore, even if intensity of illumination change less logic backlight intensity also can change according to the change of intensity of illumination, corresponding with intensity of illumination scope compared to existing logic backlight intensity for backlight regulate precision higher.Secondly, the mobile terminal that the embodiment of the present invention provides builds exponential function curve dynamically according to the first logic backlight intensity and determines the regulated value of the second logic backlight intensity according to the function curve built, without storing the backlight resource information of redundancy in the terminal, therefore, it is possible to alleviate the storage burden of mobile terminal.Owing to mobile terminal is without searching the backlight intensity that intensity of illumination is corresponding from substantial amounts of redundancy backlight resource, and it is only through searching the backlight intensity that simple exponential function curve i.e. can determine that intensity of illumination is corresponding, therefore, backlight intensity can be shortened really fix time, closely shorten backlight regulating time.
Embodiment six
With reference to Fig. 9, it is shown that the structured flowchart of the mobile terminal of the embodiment of the present invention.
Mobile terminal 600 in the embodiment of the present invention can be mobile phone, panel computer, personal digital assistant (PersonalDigitalAssistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 in Fig. 9 includes radio frequency (RadioFrequency, RF) circuit 610, memorizer 620, input block 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply 690.
Wherein, input block 630 can be used for receiving numeral or the character information of user's input, and produces the signal input relevant with the user setup of mobile terminal 600 and function control.Specifically, in the embodiment of the present invention, this input block 630 can include contact panel 631.Contact panel 631, also referred to as touch screen, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 631), and drive corresponding attachment means according to formula set in advance.Optionally, contact panel 631 can include touch detecting apparatus and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives this processor 660, and can receive order that processor 660 sends and be performed.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for showing the information inputted by user or the information being supplied to user and the various menu interfaces of mobile terminal 600.Display unit 640 can include display floater 641, optionally, the form such as LCD or Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be used to configure display floater 641.
It should be noted that, contact panel 631 can cover display floater 641, formed and touch display screen, when this touch display screen detects thereon or after neighbouring touch operation, send processor 660 to determine the type of touch event, display screen on provide corresponding visual output according to the type of touch event touching with preprocessor 660.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.The arrangement mode of this Application Program Interface viewing area and this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish the arrangement mode of two viewing areas.This Application Program Interface viewing area is displayed for the interface of application program.Each interface can comprise the interface elements such as icon and/or the widget desktop control of at least one application program.This Application Program Interface viewing area can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, and the application icon etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 660 is the control centre of mobile terminal 600, utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in first memory 621 and/or module by running or performing, and call the data being stored in second memory 622, perform the various functions of mobile terminal 600 and process data, thus mobile terminal 600 is carried out integral monitoring.Optionally, processor 660 can include one or more processing unit.
In embodiments of the present invention, by calling the data in the software program and/or module and/or this second memory 622 stored in this first memory 621, processor 660 is for determining current intensity of illumination and the vernier position in brightness slider bar;The first logic backlight intensity is determined by described intensity of illumination and sample value curve;Described first logic backlight intensity is converted into the first backlight illumination characterized with percentage ratio;Exponential function curve is built for the truth of a matter with described first backlight illumination;The second backlight illumination that described slider position is corresponding is determined in described exponential function curve;Determine the second logic backlight intensity that described second backlight illumination is corresponding, carry out automatic backlight regulation according to described second logic backlight intensity.
Alternatively, when processor 660 determines the first logic backlight intensity by described intensity of illumination and sample value curve, obtaining the coordinate of the sample point setting number, wherein, the coordinate of each sample point includes: intensity of illumination and logic backlight intensity;Coordinate structure sample value curve according to each sample point obtained;The logic backlight intensity that the intersection point of described intensity of illumination Yu described sample value curve comprises is defined as the first logic backlight intensity.
Alternatively, when processor 660 constructs sample value curve according to the coordinate of each sample point obtained, the coordinate of each sample point by obtaining constructs broken line in two-dimensional coordinate;Carry out described broken line processing structure sample value curve according to three Ai Er meter Te interpolation methods.
Alternatively, when described first logic backlight intensity is converted into the first backlight illumination with percentage ratio sign by processor 660, by the first logic backlight intensity divided by the difference of largest logical backlight intensity with minimum logic backlight intensity, the quotient of gained is defined as the first backlight illumination.
Alternatively, when processor 660 determines the second backlight illumination corresponding to described slider position in described exponential function curve, according to described slider position and default mapping relations formula, determine the coordinate figure that described slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve;Search the intersection point of described exponential function curve and described coordinate figure, backlight illumination corresponding for described intersection point is defined as described second backlight illumination.
Alternatively, described default mapping relations formula is: X=A-B;Wherein, described A is the constant more than 1;Described B represents vernier position in brightness slider bar, and described B ∈ [-1,1];Described X represents the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve.
Alternatively, when processor 660 determines the second logic backlight intensity corresponding to described second backlight illumination, it is multiplied by the second backlight illumination by the difference of largest logical backlight intensity with minimum logic backlight intensity, the product value of gained is defined as the second logic backlight intensity.
The mobile terminal provided by the embodiment of the present invention, first, by building sample value curve by intensity of illumination and logic backlight intensity one_to_one corresponding, therefore, even if intensity of illumination change less logic backlight intensity also can change according to the change of intensity of illumination, corresponding with intensity of illumination scope compared to existing logic backlight intensity for backlight regulate precision higher.Secondly, the mobile terminal that the embodiment of the present invention provides builds exponential function curve dynamically according to the first logic backlight intensity and determines the regulated value of the second logic backlight intensity according to the function curve built, without storing the backlight resource information of redundancy in the terminal, therefore, it is possible to alleviate the storage burden of mobile terminal.Owing to mobile terminal is without searching the backlight intensity that intensity of illumination is corresponding from substantial amounts of redundancy backlight resource, and it is only through searching the backlight intensity that simple exponential function curve i.e. can determine that intensity of illumination is corresponding, therefore, backlight intensity can be shortened really fix time, closely shorten backlight regulating time.
For device embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant part sees the part of embodiment of the method and illustrates.
Automatic backlight regulation scheme is not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein.Various general-purpose systems can also be used together with based on teaching in this.As described above, construct the structure required by the system with the present invention program to be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, and the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to simplify that the disclosure helping understands in each inventive aspect, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should not being construed to reflect an intention that, i.e. the present invention for required protection requires than the more feature of feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself is as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.In addition at least some in such feature and/or process or unit excludes each other, can use any combination that all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or all processes of equipment or unit are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing identical, equivalent or similar purpose.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and formed different embodiments.Such as, in detail in the claims, one of arbitrarily can mode the using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or realizes with the software module run on one or more processor, or realizes with combinations thereof.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in automatic backlight regulation scheme according to embodiments of the present invention.The present invention is also implemented as part or all the equipment for performing method as described herein or device program (such as, computer program and computer program).The program of such present invention of realization can store on a computer-readable medium, or can be to have the form of one or more signal.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.If in the unit claim listing equipment for drying, several in these devices can be specifically to be embodied by same hardware branch.Word first, second and third use do not indicate that any order.Can be title by these word explanations.

Claims (14)

1. an automatic backlight control method, is applied to mobile terminal, it is characterised in that including:
Determine current intensity of illumination and the vernier position in brightness slider bar;
The first logic backlight intensity is determined by described intensity of illumination and sample value curve;
Described first logic backlight intensity is converted into the first backlight illumination characterized with percentage ratio;
Exponential function curve is built for the truth of a matter with described first backlight illumination;
The second backlight illumination that described slider position is corresponding is determined in described exponential function curve;
Determine the second logic backlight intensity that described second backlight illumination is corresponding, carry out automatic backlight regulation according to described second logic backlight intensity.
Method the most according to claim 1, it is characterised in that described determine that the step of the first logic backlight intensity includes by described intensity of illumination and sample value curve:
Obtaining the coordinate of the sample point setting number, wherein, the coordinate of each sample point includes: intensity of illumination and logic backlight intensity;
Coordinate structure sample value curve according to each sample point obtained;
The logic backlight intensity that the intersection point of described intensity of illumination Yu described sample value curve comprises is defined as the first logic backlight intensity.
Method the most according to claim 2, it is characterised in that the described step according to the coordinate structure sample value curve of each sample point obtained includes:
The coordinate of each sample point by obtaining constructs broken line in two-dimensional coordinate;
Carry out described broken line processing structure sample value curve according to three Ai Er meter Te interpolation methods.
Method the most according to claim 1, it is characterised in that the step of described the first backlight illumination described first logic backlight intensity being converted into percentage ratio sign includes:
By the first logic backlight intensity divided by the difference of largest logical backlight intensity with minimum logic backlight intensity, the quotient of gained is defined as the first backlight illumination.
Method the most according to claim 1, it is characterised in that the described step determining the second backlight illumination corresponding to described slider position in described exponential function curve includes:
According to described slider position and default mapping relations formula, determine the coordinate figure that described slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve;
Search the intersection point of described exponential function curve and described coordinate figure, backlight illumination corresponding for described intersection point is defined as described second backlight illumination.
Method the most according to claim 5, it is characterised in that described default mapping relations formula is: X=A-B
Wherein, described A is the constant more than 1;Described B represents vernier position in brightness slider bar, and described B ∈ [-1,1];Described X represents the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve.
Method the most according to claim 1, it is characterised in that the described step determining the second logic backlight intensity that described second backlight illumination is corresponding includes:
It is multiplied by the second backlight illumination by the difference of largest logical backlight intensity with minimum logic backlight intensity, the product value of gained is defined as the second logic backlight intensity.
8. a mobile terminal, it is characterised in that including:
First determines module, for determining current intensity of illumination and the vernier position in brightness slider bar;
Second determines module, for determining the first logic backlight intensity by described intensity of illumination and sample value curve;
Conversion module, for being converted into the first backlight illumination characterized with percentage ratio by described first logic backlight intensity;
Curve builds module, for building exponential function curve with described first backlight illumination for the truth of a matter;
3rd determines module, for determining the second backlight illumination that described slider position is corresponding in described exponential function curve;
Adjustment module, for determining the second logic backlight intensity that described second backlight illumination is corresponding, carries out automatic backlight regulation according to described second logic backlight intensity.
Mobile terminal the most according to claim 8, it is characterised in that described second determines that module includes:
Obtaining submodule, for obtaining the coordinate of the sample point setting number, wherein, the coordinate of each sample point includes: intensity of illumination and logic backlight intensity;
Curve construction submodule, for the coordinate structure sample value curve according to each sample point obtained;
Determine submodule, for the logic backlight intensity that the intersection point of described intensity of illumination Yu described sample value curve comprises is defined as the first logic backlight intensity.
Mobile terminal the most according to claim 9, it is characterised in that when described curve construction submodule constructs sample value curve according to the coordinate of each sample point obtained:
The coordinate of each sample point by obtaining constructs broken line in two-dimensional coordinate;
Carry out described broken line processing structure sample value curve according to three Ai Er meter Te interpolation methods.
11. mobile terminals according to claim 8, it is characterised in that described conversion module specifically for:
By the first logic backlight intensity divided by the difference of largest logical backlight intensity with minimum logic backlight intensity, the quotient of gained is defined as the first backlight illumination.
12. mobile terminals according to claim 8, it is characterised in that the described 3rd determines that module includes:
Coordinate figure determines submodule, for according to described slider position and default mapping relations formula, determining the coordinate figure that described slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve;
Backlight illumination determines submodule, for searching the intersection point of described exponential function curve and described coordinate figure, backlight illumination corresponding for described intersection point is defined as described second backlight illumination.
13. mobile terminals according to claim 12, it is characterised in that described default mapping relations formula is: X=A-B
Wherein, described A is the constant more than 1;Described B represents vernier position in brightness slider bar, and described B ∈ [-1,1];Described X represents the coordinate figure that slider position is corresponding in the two-dimensional coordinate residing for described exponential function curve.
14. mobile terminals according to claim 8, it is characterised in that when described adjustment module determines the second logic backlight intensity corresponding to described second backlight illumination:
It is multiplied by the second backlight illumination by the difference of largest logical backlight intensity with minimum logic backlight intensity, the product value of gained is defined 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 true CN105825836A (en) 2016-08-03
CN105825836B 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)

Cited By (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 (6)

* 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
US20120162532A1 (en) * 2009-08-31 2012-06-28 Motoyuki Oniki Liquid crystal display apparatus and television receiver
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

Patent Citations (6)

* 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
US20120162532A1 (en) * 2009-08-31 2012-06-28 Motoyuki Oniki Liquid crystal display apparatus and television receiver
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

Cited By (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

Also Published As

Publication number Publication date
CN105825836B (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN106681603B (en) A kind of method and mobile terminal for adjusting video playing progress
CN106293293A (en) The detection method of a kind of object distance state and mobile terminal
CN105825537A (en) Method for generating animation curve and terminal
CN106527849A (en) Method for regulating icon position, and mobile terminal
CN106681604A (en) Method for adjusting video playing progress and mobile terminal
CN106384577B (en) A kind of backlight adjusting method and mobile terminal of display screen
CN106648426A (en) Method for adjusting video playing progress and mobile terminal
CN106998367A (en) A kind of document down loading method and mobile terminal
CN104199603A (en) Browser webpage control method and device and terminal
CN106126019A (en) A kind of application program image target display packing and mobile terminal
EP2100231A1 (en) Navigation spots on a web page
CN107122966A (en) A kind of red packet amount of money distribution method and mobile terminal
CN106708483B (en) Method and device for generating control interface of Internet of things equipment
CN106156313A (en) The inspection method of a kind of album picture and mobile terminal
CN106527884A (en) Target object processing method and mobile terminal
CN106210343A (en) The method of adjustment of a kind of mobile terminal screen brightness and mobile terminal
CN106354411A (en) Interface startup method and mobile terminal
CN106780314A (en) The method and mobile terminal of a kind of picture mosaic preview
CN106886409A (en) A kind of method for information display and mobile terminal
CN106611404A (en) Puzzle template selecting method and mobile terminal
CN105872264A (en) Backlight brightness adjusting method and mobile terminal
CN105825836A (en) Automatic backlight adjusting method and mobile terminal
CN106406433A (en) Brightness adjusting system
CN106888319A (en) The display methods and mobile terminal of a kind of shortcuts bar
CN106768695A (en) A kind of air-tightness detection method and mobile terminal

Legal Events

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