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 regulating 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 this method is applied in the terminal equipment.This method specifically comprises:
101, obtain the environment light intensity.
The triggering of obtaining action herein can realize by the timing that is provided with 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 imports triggering command and can import 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 is gathered, simultaneously luminous energy is converted into electric energy, form certain electric current, amplify through amplifier then, 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, the comparison of for convenience follow-up magnitude of voltage can be sampled to the magnitude of voltage of input and quantizes by the ADC detection system.
102, more described environment light intensity and preset value range.
The comparison of this step can be finished with the baseband processing unit of terminal equipment, can in advance magnitude of voltage be divided into different interval or set different threshold values and represent different luminous intensities, in the time of relatively, need to determine which interval the current pairing magnitude of voltage of surround lighting falls on earth.
103, regulate font parameter and/or the Display Contrast that described terminal equipment shows automatically according to comparative result.
Concrete, because the environment light intensity is directly proportional with magnitude of voltage, corresponding voltage value is high more, the environment light intensity that expression records is big more.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 needs of user for the clear display of terminal equipment.Therefore, self-regulating mode 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 is represented, if the user (for example adopts the numeral light intensity value between 0 to 5 with the maximum that X1 is set at intensity, the big more then intensity of numeral is big more, and be maximum this moment 5), terminal equipment will can self adaptation not regulated under the situation of brightness ratio normal interval high (being high light) this moment; If the user is set at 0 with X2, terminal equipment only carried out self adaptation and regulated under the situation of high light this moment, did not make self adaptation under the situation of normal interval (being that light intensity is weak) and regulated and be lower than in light intensity.As seen, by setting the endpoint value of " normal interval ", the adaptation function that the user can setting terminal equipment starts under high light still is the situation of the low light level.
Need to prove that the font parameter here comprises the size of font, 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 regulate Display 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 present embodiment one provides makes terminal equipment to regulate 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 regulating brightness etc.
Embodiment two
As shown in Figure 2, the method that provided 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 of setting (as 11:00--14:00 at noon), specifically can set by the user.
202, optical sensor is gathered surround lighting, and output correspondent voltage value.
Optical sensor can utilize built-in photodiode to gather surround lighting, and luminous energy is converted into electric energy, forms certain electric current, amplifies through amplifier then, and the circuit after the amplification forms voltage at the resistance in circuit two ends.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 handling is with normal relatively interval, if the magnitude of voltage after handling changes step 204 in normal interval; If the magnitude of voltage after handling is higher or lower than normal interval, change 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.
205, if judge that current interface displayed is the literal interface, change step 206; If judge that current interface displayed is a graphic interface, change step 207.
Be appreciated that, in order to reach the effect that strengthen to show, to literal interface (for example literal such as short message editing interface, browsing page interface, reading mail interface are the interface of main displaying contents), when changing font institute, it is more obvious to improve the effect that shows, preferential increase this moment font; For graphic interface (interface of for example taking pictures, browse the drawing interface, read the multimedia message interface, watch video file interface etc. be the interface of main displaying contents with image), when changing Display Contrast, it is more obvious to improve the effect that shows, 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, the prompting user select,, then enter step 206 if the user selects to regulate font parameter; If the user selects to regulate 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.
Suppose the environment light intensity with the numeral between 0 to 5,0 expression intensity is minimum, 5 expression intensity maximums, and normal interval is (1.5,3.5); The size I of font, II, III, IV, V represent that I is represented the font minimum, V is represented the font maximum, I+expression I font-weight, and 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, in normal interval, the font III of this moment can satisfy the needs of clear demonstration as if the current environment light intensity.Can consider current surround lighting and normal interval difference when increasing font parameter, differ big more, the amplitude that font parameter increases is big more, otherwise, differing more little, the amplitude that font parameter increases is more little.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 regulating 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, the less amplitude of promptly each increase is waited for user's triggering after adjusting is finished, if trigger, then carry out adjusting next time, so circulation is till the user is satisfied." 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 at the literal interface; In the regulative mode of asymptotic expression, when regulating for the first time, regulate font earlier, when follow-up adjusting, regulate contrast again, when regulating for the first time, regulate contrast earlier, when follow-up adjusting, regulate font again at graphic interface at the literal interface.
207, increase contrast.
Still suppose the environment light intensity with the numeral between 0 to 5,0 expression intensity is minimum, 5 expression intensity maximums, 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, in normal interval, the contrast 40-60 of this moment can satisfy the needs of clear demonstration as if the current environment light intensity.Can consider current surround lighting and normal interval difference when increasing contrast, differ big more, the amplitude that contrast increases is big more, otherwise, differing more little, the amplitude that contrast increases is more little.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 regulating 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 each less amplitude that increases, wait for user's triggering after adjusting is finished, if trigger, then carry out adjusting next time, so circulation is till the user is satisfied.
Optionally, after the self adaptation adjusting was finished, the user did not want to preserve current adjusting result, can import and recover instruction, and this moment, terminal equipment recovered the preceding font parameter of this self adaptation adjusting and/or the setting of Display Contrast.
The embodiment of the invention two provides a kind of adaptive regulation method more flexibly, except saving electric energy more with respect to regulating screen intensity, can also reach better regulating effect, can select preferentially to regulate which parameter by the user, perhaps select to regulate which parameter automatically according to current interface by terminal equipment self, 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 the foregoing description method is to instruct relevant hardware 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 the foregoing description 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 to obtain the environment light intensity; Comparison module is used for more described environment light intensity and preset value range; Adjustment module is used for regulating font parameter and/or the Display Contrast that described terminal equipment shows automatically according to the comparative result of described comparison module.
Need to prove that the related description of the foregoing description 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 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 regulating brightness 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 that the intensity acquisition module is used to obtain the environment light intensity; Comparison module is used for more described environment light intensity and preset value range; Adjustment module is used for regulating font parameter and/or the Display Contrast that described terminal equipment shows automatically 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 with light sensor acquisition surround lighting, described luminous energy is converted into electric energy and exports corresponding voltage value; Described comparison module specifically is used for having represented different luminous intensities with comparing between described magnitude of voltage and default voltage region between described default voltage region.
Optionally, described adjustment module also is used for, when regulating font parameter that terminal equipment shows and/or Display Contrast automatically,, preferentially regulate the font parameter that described terminal equipment shows if the current interface displayed of described terminal equipment is the literal interface according to comparative result; If the current interface displayed of described terminal equipment is a graphic interface, preferentially regulate the Display Contrast that described terminal equipment shows.
Optionally, described terminal equipment also comprises trigger module, is used for regularly triggering the 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 the font parameter before and/or the setting of Display Contrast.
Need to prove that the related description of the foregoing description two all can be applicable to implement the terminal equipment in four, no longer repeat 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 saving electric energy more with respect to regulating screen intensity, can also reach better regulating effect, can select preferentially to regulate which parameter, perhaps select to regulate which parameter automatically according to current interface by terminal equipment self by the user, 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 explanation, in concrete implementation process, can carry out suitable improvement, to adapt to the concrete needs of concrete condition method of the present invention to the specific embodiment of the invention.Therefore be appreciated that according to the specific embodiment of the present invention just to play an exemplary role, not in order to restriction protection scope of the present invention.