Embodiment
Method and terminal equipment that self adaptation that the embodiment of the invention provides is regulated have strengthened the self adaptation regulatory function of terminal equipment, have strengthened the display effect of terminal equipment, compare twice with the demonstration of adjusting screen simultaneously, have also reduced the consumption of electric energy.
Below in conjunction with accompanying drawing embodiment is illustrated.。
Embodiment one
Fig. 1 is the schematic flow sheet of the method for self adaptation adjusting, and the method is applied in the terminal equipment.The method specifically comprises:
101, obtain the environment light intensity.
The triggering of obtaining action herein can realize by the timing that arranges in the terminal equipment, or with the triggering command of user's input as the trigger condition of obtaining the environment light intensity.Wherein, the user inputs triggering command and can input by modes such as button, touch-screen or voice.
Need to prove, obtain the environment light intensity herein and can utilize optical sensor integrated in the terminal equipment to finish.For example by built-in photodiode surround lighting being gathered, is light energy conversion electric energy simultaneously, forms certain electric current, then amplifies through amplifier, and the resistance two ends of the electric current after the amplification on the loop form voltage.The light of varying strength has different electric currents, thereby exports different magnitudes of voltage, embodies the environment light intensity by obtaining this magnitude of voltage.Further, for the comparison of convenient follow-up magnitude of voltage, can sample to the magnitude of voltage of input and quantize by the ADC detection system.
102, more described environment light intensity and the span of presetting.
Relatively can finishing with the baseband processing unit of terminal equipment of this step, can in advance magnitude of voltage be divided into different intervals or set different threshold values and represent different luminous intensities, in the time of relatively, need to determine which interval the current corresponding magnitude of voltage of surround lighting falls on earth.
103, automatically regulate font parameter and/or the Display Contrast that described terminal equipment shows according to comparative result.
Concrete, because the environment light intensity is directly proportional with magnitude of voltage, corresponding magnitude of voltage is higher, the environment light intensity that expression records is larger.When the environment light intensity in the normal interval of setting, generally need not regulate the needs that demonstration can be satisfied the user, cross strong or cross when weak when the environment light intensity, need this moment to change the situation of demonstration to satisfy the user for the needs of the clear display of terminal equipment.Therefore, the mode of automatically regulating can for: when described magnitude of voltage in normal interval, the font parameter and the Display Contrast that keep described terminal equipment to show are constant; When described magnitude of voltage is higher or lower than normal interval, increase font parameter and/or Display Contrast that described terminal equipment shows.
Be appreciated that, above-mentioned normal interval can be set by user oneself, suppose normal interval with (X1, X2) this interval represents, if the user (for example adopts the numeral light intensity value between 0 to 5 with the maximum that X1 is set as intensity, the larger then intensity of numeral is larger, and 5 be maximum this moment), this moment terminal equipment in the situation that brightness ratio normal interval high (being high light) will be can the self adaptation adjusting; If the user is set as 0 with X2, this moment, terminal equipment was only in the situation that high light carries out self adaptation regulates, and in the situation that light intensity is lower than normal interval (being that light intensity is weak) does not make self adaptation and regulate.As seen, by setting the endpoint value of " normal interval ", the adaptation function that the user can setting terminal equipment is in the situation that high light or the low light level starts.
Need to prove, the font parameter here comprises the size of font, and whether font overstriking etc.The implication that increases font parameter is to increase the font that shows, perhaps font is carried out overstriking.Regulate font parameter or adjusting screen contrast and can select one, perhaps both carry out simultaneously, the priority principle that can provide with reference to subsequent embodiment when selecting.
The adaptive regulation method that the present embodiment one provides, so that terminal equipment can be regulated font and/or the contrast that terminal equipment shows automatically according to the actual conditions of surround lighting, simultaneously, such adjusting more can be saved electric energy with respect to brightness adjusting etc.
Embodiment two
As shown in Figure 2, the method that provides of the embodiment of the invention two specifically comprises:
201, keyboard receives the triggering command of user's input.
As described in embodiment one, step 201 also can replace to the default time.Such as being that timer just triggered the self adaptation regulatory function every one hour, arrive perhaps that timer triggers self adaptation regulatory function etc. when the period (such as 11:00--14:00 at noon) of setting, specifically can be set by the user.
202, optical sensor gathers surround lighting, and exports corresponding magnitude of voltage.
Optical sensor can utilize built-in photodiode to gather surround lighting, and is light energy conversion electric energy, forms certain electric current, then amplifies through amplifier, and the circuit after the amplification is at the resistance two ends in loop formation voltage.Different light intensity can produce the electric current of different sizes, thereby exports different magnitudes of voltage.
203, baseband processing unit is sampled to magnitude of voltage and is quantized, and the magnitude of voltage after will processing is with normal relatively interval, if the magnitude of voltage after processing turns step 204 in normal interval; If the magnitude of voltage after processing is higher or lower than normal interval, turn step 205.
About normal interval, the explanation in can reference example one.
204, keep font parameter and Display Contrast constant, this regulates end.
Magnitude of voltage after the processing does not need to regulate the demand that font or contrast also can satisfy clear demonstration this moment in normal interval.
If 205 judge that the interface of current demonstration is the literal interface, turn step 206; If judge that the interface of current demonstration is graphic interface, turn step 207.
Be appreciated that, in order to reach the effect that strengthen to show, to literal interface (literal such as short message editing interface, browsing page interface, reading mail interface is the interface of main displaying contents), when changing font institute, improve the effect that shows more obvious, preferential increase this moment font; For graphic interface (such as the interface of taking pictures, browse the drawing interface, read the multimedia message interface, watch video file interface etc. take the interface of image as main displaying contents), when changing Display Contrast, improve the effect that shows more obvious, preferential increase this moment Display Contrast.Wherein, the division of literal interface and graphic interface can be selected in advance by the user, and is built-in when perhaps terminal equipment dispatches from the factory.
Certainly, judge that current interface neither be necessary, also can before regulating, select by prompting user, if user selection is regulated font parameter, then enter step 206; If user selection is regulated contrast, then enter step 207; If the user wants to regulate to two parameters, step 206 and 207 can successively be carried out.
206, increase font parameter.
The assumptions' environment light intensity is with the numeral between 0 to 5, and 0 expression intensity is minimum, and 5 expression intensity are maximum, and normal interval is (1.5,3.5); The size I of font, II, III, IV, V represent, I represents that font is minimum, and V represents that font is maximum, and I+ represents the I font-weight, the like.The adjusting of font and ambient light intensity can be with reference to following table:
The corresponding relation of table 1 font and environment light intensity
As in the table 1, if the current environment light intensity in normal interval, the font III of this moment can satisfy the needs of clear demonstration.Can consider current surround lighting and normal interval difference when increasing font parameter, differ larger, the amplitude that font parameter increases is larger, otherwise, differing less, the amplitude that font parameter increases is less.Corresponding relation in can reference table 1 during adjusting.Be appreciated that, above table is giving an example of a regulative mode, it will be appreciated by those skilled in the art that, except regulating according to above-mentioned table 1, the mode of the amplitude of set being regulated by user oneself that also can take, if regulate or directly regulate according to the corresponding relation of table 1 according to the amplitude of user's setting, this adjusting also just is through with after step 206 is finished.On the other hand, except above-mentioned two kinds of regulative modes that settle at one go, can also select gradual regulative mode, namely the less amplitude of each increase is waited for user's triggering after adjusting is finished, if trigger, then carry out adjusting next time, so circulation is until till user's satisfaction." preferentially " represented meaning in the step 205 is: in the regulative mode that settles at one go, only regulate font, graphic interface is only increased Display Contrast for the literal interface; In the regulative mode of asymptotic expression, when regulating for the first time, regulate first font for the literal interface, when follow-up adjusting, regulate again contrast, when regulating for the first time, regulate first contrast for graphic interface, when follow-up adjusting, regulate again font.
207, increase contrast.
Still the assumptions' environment light intensity is with the numeral between 0 to 5, and 0 expression intensity is minimum, and 5 expression intensity are maximum, and normal interval is (1.5,3.5); In addition, contrast represents with 0--100, and similarly, the adjusting of contrast and environment light intensity also can be with reference to following table:
The corresponding relation of table 2 contrast and environment light intensity
The environment light intensity |
0--1 |
1--1.5 |
1.5--3.5 |
3.5--4 |
4--4.5 |
Contrast |
80--100 |
60--80 |
40--60 |
60--80 |
80--100 |
As above in the table, if the current environment light intensity in normal interval, the contrast 40-60 of this moment can satisfy the needs of clear demonstration.Can consider current surround lighting and normal interval difference when increasing contrast, differ larger, the amplitude that contrast increases is larger, otherwise, differing less, the amplitude that contrast increases is less.Corresponding relation in can reference table 2 when degree of comparing is regulated.Be appreciated that above table be a regulative mode for example, when setting this corresponding relation, can be with the interval division of environment light intensity and contrast thinner, its corresponding relation also can be set by user oneself.It will be appreciated by those skilled in the art that, except regulating according to above-mentioned table 1, the mode of the amplitude of set being regulated by user oneself that also can take, if regulate or directly regulate according to the corresponding relation of table 1 according to the amplitude of user's setting, this adjusting also just is through with after step 207 is finished.On the other hand, except above-mentioned two kinds of regulative modes that settle at one go, can also select to increase less amplitude at every turn, wait for user's triggering after adjusting is finished, if trigger, then carry out adjusting next time, so circulation is until till user's satisfaction.
Optionally, after the self adaptation adjusting was finished, the user did not want to preserve current adjusting result, can input the recovery instruction, and this moment, terminal equipment recovered the front font parameter of this self adaptation adjusting and/or the setting of Display Contrast.
The embodiment of the invention two provides a kind of more flexibly adaptive regulation method, except can more saving electric energy with respect to adjusting screen brightness, can also reach better regulating effect, can preferentially regulate which parameter by user selection, perhaps select automatically to regulate which parameter by terminal equipment self according to current interface, in addition, this method also provides restore funcitons, when the result who regulates for self adaptation as the user does not want to keep, can recover by a key, herein " key " is not limited to keyboard, also comprises certain function button on the touch-screen.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, the step of implementing is identical with method, described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Embodiment three
In order to carry out the method for above-described embodiment one, the embodiment of the invention three also provides a kind of terminal equipment, and this terminal equipment specifically comprises: the intensity acquisition module is used for obtaining the environment light intensity; Comparison module is used for more described environment light intensity and the span of presetting; Adjustment module is used for automatically regulating font parameter and/or the Display Contrast that described terminal equipment shows according to the comparative result of described comparison module.
Need to prove, the related description of above-described embodiment one all can be applicable to implement the terminal equipment in three.Wherein, the intensity acquisition module can be the optical sensor in the terminal equipment, and above-mentioned comparison module and adjustment module can realize in the baseband processing unit.
The terminal equipment that self adaptation that the present embodiment three provides is regulated can be regulated font and/or the contrast that terminal equipment shows automatically according to the actual conditions of surround lighting, and simultaneously, such adjusting more can be saved electric energy with respect to brightness adjusting etc.
Embodiment four
In order to carry out the method for embodiment two, embodiment four also provides a kind of terminal equipment of self adaptation adjusting, and this terminal equipment comprises, the intensity acquisition module is used for obtaining the environment light intensity; Comparison module is used for more described environment light intensity and the span of presetting; Adjustment module is used for automatically regulating font parameter and/or the Display Contrast that described terminal equipment shows according to the comparative result of described comparison module.
Optionally, the adjustment module of this terminal equipment specifically is used for: when described magnitude of voltage in normal interval, the font parameter and the Display Contrast that keep described terminal equipment to show are constant; When described magnitude of voltage is higher or lower than normal interval, increase font parameter and/or Display Contrast that described terminal equipment shows.
Optionally, described intensity acquisition module specifically is used for, and gathers surround lighting with optical sensor, is electric energy and magnitude of voltage corresponding to output with described light energy conversion; Described comparison module specifically is used for comparing between described magnitude of voltage and the voltage region of presetting, and has represented different luminous intensities between described default voltage region.
Optionally, described adjustment module also is used for, when automatically regulating font parameter that terminal equipment shows and/or Display Contrast according to comparative result, if the interface of the current demonstration of described terminal equipment is the literal interface, preferentially regulate the font parameter that described terminal equipment shows; If the interface of the current demonstration of described terminal equipment is graphic interface, preferentially regulate the Display Contrast that described terminal equipment shows.
Optionally, described terminal equipment also comprises trigger module, is used for clocked flip intensity acquisition module and obtains the environment light intensity, or trigger the intensity acquisition module when receiving the triggering command of user's input and obtain the environment light intensity.
Optionally, described terminal equipment also comprises, the recovery module is used for receiving the recovery instruction, recovers this self adaptation and regulates font parameter before and/or the setting of Display Contrast.
Need to prove, the related description of above-described embodiment two all can be applicable to implement the terminal equipment in four, no longer repeats herein.
The terminal equipment that the self adaptation that the embodiment of the invention four provides is regulated, self adaptation is regulated more flexibly, except can more saving electric energy with respect to adjusting screen brightness, can also reach better regulating effect, can preferentially regulate which parameter by user selection, perhaps select automatically to regulate which parameter by terminal equipment self according to current interface, in addition, this terminal equipment also provides restore funcitons, when the result who regulates for self adaptation as the user does not want to keep, can recover by a key.
More than be the explanation to the specific embodiment of the invention, in concrete implementation process, can be improved appropriately method of the present invention, to adapt to the concrete needs of concrete condition.Therefore be appreciated that according to the specific embodiment of the present invention just to play an exemplary role, not in order to limit protection scope of the present invention.