CN104580701A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104580701A
CN104580701A CN201410782663.3A CN201410782663A CN104580701A CN 104580701 A CN104580701 A CN 104580701A CN 201410782663 A CN201410782663 A CN 201410782663A CN 104580701 A CN104580701 A CN 104580701A
Authority
CN
China
Prior art keywords
terminal
screen
illumination
brightness
present intensity
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.)
Pending
Application number
CN201410782663.3A
Other languages
Chinese (zh)
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410782663.3A priority Critical patent/CN104580701A/en
Publication of CN104580701A publication Critical patent/CN104580701A/en
Pending legal-status Critical Current

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention discloses a terminal. The terminal comprises a first acquisition unit for acquiring current illuminance of an environment where the terminal is positioned and current brightness of a screen of the terminal, a first determination unit for determining the target brightness corresponding to the current illuminance according to preset configuration information, and an adjustment unit for adjusting the current brightness of the screen for one or more times by adopting a preset increment according to a preset time interval until the current brightness of the screen reaches the target brightness. According to the terminal disclosed by the embodiment of the invention, the quality of a screen picture in a brightness adjustment process can be improved.

Description

A kind of terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of terminal.
Background technology
Along with the development of terminal technology, the portable mobile termianls such as mobile phone have become the necessity in people's life.Wherein, the screen intensity of mobile terminal is not only closely related with the flying power of end cell, and is related to eyes degree of fatigue and comfort.
At present, most of mobile phone possesses the function of automatic adjusting screen brightness, but, existing method easily occurs dodging screen phenomenon in the process of adjusting screen brightness, especially when the difference of target brightness value and present intensity value is larger, dodge screen phenomenon more serious, therefore, the screen-picture in brightness regulation process of poor quality.
Summary of the invention
The embodiment of the present invention provides a kind of terminal, can improve the quality of screen-picture in brightness regulation process.
Embodiments provide a kind of terminal, comprising:
First acquiring unit, for the present intensity of the current illumination and described terminal screen that obtain environment residing for terminal;
First determining unit, for according to the configuration information preset, determines the object brightness that described current illumination is corresponding;
Regulon, for according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
Implement the embodiment of the present invention, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for a kind of adjusting screen brightness that the embodiment of the present invention provides;
Fig. 2 is another schematic flow sheet of the method for a kind of adjusting screen brightness that the embodiment of the present invention provides;
Fig. 2 a is the result schematic diagram of wherein a kind of adjustment process that Fig. 2 provides;
Fig. 2 b is the result schematic diagram of wherein a kind of adjustment process that Fig. 2 provides;
Fig. 3 is the another schematic flow sheet of the method for a kind of adjusting screen brightness that the embodiment of the present invention provides;
Fig. 3 a is the schematic flow sheet of wherein a kind of adjustment process that Fig. 3 provides;
Fig. 3 b is the schematic diagram of the part illumination that provides of the embodiment of the present invention and other corresponding relation of illumination level;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is another structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the another structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 7 is a structural representation again of a kind of terminal that the embodiment of the present invention provides;
Fig. 8 is a structural representation again of a kind of terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of terminal, is automatically regulating in the process of screen luminance of terminal, the current illumination of environment residing for Real-time Obtaining terminal and the present intensity of described terminal screen; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
What deserves to be explained is; the terminal that the embodiment of the present invention is mentioned to can comprise mobile phone, television set, panel computer, PC (personal computer; personal computer) or the miscellaneous equipment such as car-mounted terminal; concrete; the embodiment of the present invention is not restricted, and every possess display screen and the equipment can implementing the automatic adjusting screen brightness of the inventive method all belongs to the protection range of the embodiment of the present invention.For convenience of describing, the embodiment of the present invention is described in detail a kind of method of this terminal and adjusting screen brightness respectively, and wherein, described terminal, for performing the method for described adjusting screen brightness, for ease of understanding, first introduces the method for adjusting screen brightness.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the method for a kind of adjusting screen brightness that the embodiment of the present invention provides, and in the embodiment of the present invention, the method for described joint screen intensity can comprise the following steps.
The current illumination of environment and the present intensity of described terminal screen residing for S101, acquisition terminal.
For convenience of describing, the terminal in the embodiment of the present invention for mobile phone, but it should be noted that the embodiment of the present invention is not limited to mobile phone, and every equipment can implementing the inventive method all can as terminal mentioned in the embodiment of the present invention.
As everyone knows, when user's carried terminal enters under the sun indoor, residing for terminal, the intensity of illumination of environment obviously increases, if still keep the brightness of terminal screen constant, then user sees screen clearly by being difficult under the sun; Accordingly, if when user's carried terminal enters indoor under the sun, because the intensity of illumination of external environment obviously reduces, if still keep the brightness of terminal screen constant, then will feel very dazzling when user checks screen, have a strong impact on Consumer's Experience.Therefore, provide a kind of method of adjusting screen brightness to the terminal possessing display screen, enable the real-time adjusting screen brightness of the intensity of illumination of terminal environment residing for terminal, seem particularly important.
In the embodiment of the present invention, pre-set configuration information, the object brightness of terminal screen when can know that terminal is in the environment of certain intensity of illumination according to this configuration information.For convenience of describing, in the embodiment of the present invention, by intensity of illumination referred to as illumination, wherein, illumination (Illuminance) refers to the luminous flux received by per unit area, the unit adopted in international system of units (International System ofUnits, SI system) is lux (lx=lux), 1 (lux)=1 (lumen/square metre).Usually, the general illumination suggestion of house is between 100 ~ 300 luxs.For convenience of description, possess representational everyday scenes especially exemplified by some, illumination corresponding to these common scenes is as shown in table 1, and table 1 is the mapping table of the common scene that provides of the embodiment of the present invention and illumination.
Table 1
Environment Illumination (unit: lux)
Burning sun 100,000
Cloudy day 8,000
Draw 600
Read 500
Night ball park 400
Office/classroom 300
Street lamp 5
Full moon 0.2
Starlight 0.0003
In specific implementation, regularly go to obtain the current illumination of environment and the present intensity of terminal screen residing for terminal.Such as, can be obtained the intensity of illumination of environment residing for terminal by the optical sensor carried in terminal, obtained the present intensity of terminal screen by the relevant parameter of the backlight module in terminal, concrete, the embodiment of the present invention is not restricted.
The configuration information that S102, basis are preset, determines the object brightness that described current illumination is corresponding.
Got the current illumination of environment residing for terminal by step S101 after, according to the configuration information preset, determine the object brightness that this current illumination is corresponding.What deserves to be explained is, user can need arrange or revise this configuration information according to self.
Wherein in a kind of implementation, described default configuration information can be the corresponding relation of illumination and brightness, this corresponding relation is: the corresponding a kind of brightness of a kind of illumination, even the illumination of environment is known, then uniquely can determine according to this corresponding relation the screen intensity that this illumination is corresponding.What deserves to be explained is, in specific implementation, the corresponding relation of illumination and brightness can be needed to arrange according to self by user; Also can be that developer is pre-set by program according to the method such as artificial experience or experimental simulation, certainly, user can modify to this corresponding relation that program presets; Can also be that user is according to the corresponding relation self needing setting unit illumination and brightness, the corresponding relation of the part illumination that terminal has been arranged according to user and brightness, simulate the functional relation of other illumination and brightness, thus, can automatically determine corresponding screen intensity according to this functional relation for the illumination do not arranged; Concrete, the embodiment of the present invention is not restricted.
In another kind of implementation, described default configuration information can be the corresponding relation of illumination rank and brightness, and this corresponding relation is: the corresponding a kind of brightness of illumination rank.In specific implementation, user can pre-set illumination rank according to the illumination interval possessing representational application scenarios corresponding, and arranges brightness corresponding to this illumination rank in conjunction with self needing; Certainly, also can be that developer pre-sets illumination rank according to the method such as artificial experience or experimental simulation by program, and the corresponding relation of illumination rank and brightness, user can adjust this corresponding relation that program pre-sets; Concrete, the embodiment of the present invention is not restricted.Therefore, got the current illumination of environment residing for terminal by step S101 after, then can determine the illumination rank residing for current illumination, thus, according to the corresponding relation of illumination rank and brightness, determine the brightness that illumination rank residing for current illumination is corresponding, this brightness is object brightness corresponding to current illumination.What deserves to be explained is, in specific implementation, the corresponding a kind of brightness of illumination rank be one preferred embodiment, like this, after terminal Real-time Obtaining to the current illumination of environment residing for it, if illumination rank does not change, then without the need to regulating brightness, the destabilizing factor in actual environment can be effectively avoided to cause the frequent adjustment of screen intensity.
S103, according to prefixed time interval, adopt preset increments at least Primary regulation is carried out to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
In specific implementation, after determining by step S102 the object brightness that residing for terminal, the current illumination of environment is corresponding, if the present intensity of terminal screen is not identical with this object brightness, then according to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
Wherein in a kind of implementation, the object brightness that the current illumination of environment is corresponding residing for the present intensity of terminal screen and terminal, obtains the difference of present intensity and object brightness, thus determines the regulative mode to screen; Meanwhile, according to the multiple proportion of difference and preset increments, determine the adjustment number of times brightness of terminal screen being adjusted to object brightness from present intensity.For convenience of understanding, be exemplified below: suppose that prefixed time interval is 1ms, preset increments is 1, the brightness value that present intensity is corresponding is 20, and brightness value corresponding to object brightness is 27, then at interval of 1ms, the brightness value of terminal screen is regulated to increase by 1, until the brightness value of terminal screen reaches 27; Accordingly, if brightness value corresponding to present intensity is 27, brightness value corresponding to object brightness is 20, then at interval of 1ms, regulate the brightness value of terminal screen to reduce 1, until the brightness value of terminal screen reaches 20.
In another kind of implementation, the object brightness that the current illumination of environment is corresponding residing for the present intensity of terminal screen and terminal, determines the regulative mode of terminal screen.Such as, if present intensity is lower than object brightness, then incremental; If present intensity is higher than object brightness, then adjustment of successively decreasing; According to prefixed time interval, preset increments is adopted to regulate according to the present intensity of determined regulative mode to terminal screen, often carry out Primary regulation then obtain this time regulate after brightness value, if the brightness value after regulating is still not identical with object brightness, or still lower than object brightness or still higher than object brightness, then continue to regulate, until screen intensity is adjusted to object brightness.In specific implementation, preset increments can be set to the numerical value of 1 or less, ensure the good transition of brightness in adjustment process of terminal screen, avoid the sudden strain of a muscle screen phenomenon caused because the luminance difference in single adjustment process is excessive.
In the method for the adjusting screen brightness of embodiment of the present invention description, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
Refer to Fig. 2, Fig. 2 is another schematic flow sheet of the method for a kind of adjusting screen brightness that the embodiment of the present invention provides, and in embodiments of the present invention, the method can comprise the following steps.
S201: obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal.
S202: according to the configuration information preset, determine the object brightness that described current illumination is corresponding.
S203: the difference obtaining described present intensity and described object brightness.
The object brightness that the current illumination of environment is corresponding residing for the terminal that step S201 and step S202 determines and the present intensity of terminal screen, obtain the difference of described present intensity and described object brightness.Thus according to this difference, can determine the regulating parameter of the present intensity to described screen further, wherein, described regulating parameter comprises regulative mode and regulates number of times, and described regulative mode comprises incremental or adjustment of successively decreasing.In specific implementation, if difference is greater than zero, then performs step S204 and determine regulating parameter; If difference is less than zero, then performs step S206 and determine regulating parameter; If difference equals zero, illustrate that present intensity is identical with object brightness, thus without the need to regulating the brightness of screen, regulating parameter can be NULL, and concrete, the embodiment of the present invention is not restricted.Therefore, for avoiding frequently judging that difference is the situation of zero, the configuration information in step S202 is preferably the corresponding relation of illumination rank and brightness, and this corresponding relation is: the corresponding a kind of brightness of illumination rank.Thus, even if the illumination of environment changes residing for terminal, as long as the illumination rank residing for this illumination does not change, all without the need to redefining object brightness corresponding to the illumination after change, thus, effectively can improve the treatment effeciency in adjusting screen brightness process.
S204: if described difference is greater than zero, determines that regulative mode is for adjustment of successively decreasing.
If the difference of present intensity and object brightness is greater than zero, illustrate that present intensity is higher than object brightness, therefore, the brightness of screen need be reduced.For convenience of understanding, such as, suppose that the present intensity of terminal screen is 27, the object brightness that residing for terminal, the current illumination of environment is corresponding is 20, then the difference of present intensity and object brightness is 7, known, difference is greater than zero, thus, can determine that regulative mode is for adjustment of successively decreasing.Certainly, also can by directly judging whether present intensity determines regulative mode higher than the mode of object brightness in specific implementation, such as, if judge, present intensity is higher than object brightness, then determine that regulative mode is for adjustment of successively decreasing; Otherwise present intensity is lower than object brightness if judge, then determine that regulative mode is incremental; Certainly, if present intensity is identical with object brightness, then without the need to regulating the screen intensity of terminal.
S205: the ratio obtaining described difference and described preset increments, is defined as described ratio regulating number of times.
In specific implementation, if the difference of present intensity and object brightness is greater than zero, then obtain the ratio of this difference and preset increments, and this ratio is defined as regulate number of times, wherein, preset increments refers to the change difference of brightness in the front and back process of single adjusting screen brightness.Such as, suppose that preset increments is 2, present intensity is 20, then after the brightness of single adjusting screen, the brightness of screen becomes 22; If regulate once, then the brightness of screen becomes 24 again, the like.In specific implementation, but user oneself is arranged or the numerical value of amendment preset increments, and also can be the numerical value pre-set by program, concrete, the embodiment of the present invention be restricted.
For convenience of understanding, such as, suppose that difference is 10, preset increments is 2, then can determine and regulate number of times to be 5, regulative mode is adjustment of successively decreasing.Certainly, if run into difference and the aliquant situation of preset increments in actual treatment, then ratio can be difference divided by the integer part after preset increments, or integer part adds 1, and concrete, the embodiment of the present invention is not restricted.
S206: if described difference is less than zero, determines that regulative mode is incremental.
If the difference of present intensity and object brightness is less than zero, illustrate that present intensity is lower than object brightness, therefore, the brightness of screen need be improved.For convenience of understanding, such as, suppose that the present intensity of terminal screen is 20, the object brightness that residing for terminal, the current illumination of environment is corresponding is 27, then the difference of present intensity and object brightness is-7, and difference is less than zero, thus, can determine that regulative mode is incremental.
S207: the ratio obtaining absolute value corresponding to described difference and described preset increments, is defined as described ratio regulating number of times.
For convenience of understanding, such as, suppose that difference is-10, preset increments is 2, then can determine and regulate number of times to be 5, regulative mode is incremental.
What deserves to be explained is, according to the present intensity of screen and the corresponding object brightness of the current illumination of environment residing for terminal, above-mentioned steps S203 ~ S207 determines that the mode of the regulating parameter of the present intensity to described screen can also be, obtain the difference of present intensity and object brightness; The ratio of this difference of further acquisition and preset increments, is defined as the absolute value of this ratio regulating number of times, if ratio is less than zero, then determines that regulative mode is incremental, if ratio is greater than zero, then determine that regulative mode is for adjustment of successively decreasing.
S208: according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
Determined the regulating parameter of screen intensity by above-mentioned steps after, namely after knowing regulative mode and adjustment number of times, according to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.In specific implementation, every prefixed time interval, the brightness of screen increased or reduce the brightness of preset increments, until have adjusted determined adjustment time several, after to brightness regulation this several of screen, the brightness of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improve the quality of screen-picture in brightness regulation process, avoid the generation of dodging screen phenomenon.
As wherein a kind of implementation, if regulative mode is adjustment of successively decreasing, then according to prefixed time interval, employing preset increments, the present intensity of described screen is carried out to the adjustment of successively decreasing of described adjustment time several, like this, the present intensity of screen arrives described object brightness.Such as, suppose to regulate number of times to be 5, regulative mode is adjustment of successively decreasing, and prefixed time interval is 1ms, preset increments is 2, present intensity is 30, and object brightness is 20, then from current time, then the brightness of screen is reduced by 2 every 1ms, until reduce 5 times, like this, the brightness of screen arrives object brightness 20 from present intensity 30.As a kind of example, the form of expression of this adjustment process can as shown in Figure 2 a, and Fig. 2 a is the result schematic diagram of wherein a kind of adjustment process that Fig. 2 provides.
As another kind of implementation, if regulative mode is incremental, then according to prefixed time interval, employing preset increments, the present intensity of described screen is carried out to the incremental of described adjustment time several, like this, the present intensity of screen arrives described object brightness.Such as, suppose to regulate number of times to be 5, regulative mode is incremental, and prefixed time interval is 1ms, preset increments is 2, present intensity is 20, and object brightness is 30, then from current time, then the brightness of screen is improved 2 every 1ms, until improve 5 times, like this, the brightness of screen arrives object brightness 30 from present intensity 20.As a kind of example, the form of expression of this adjustment process can as shown in Figure 2 b, and Fig. 2 b is the result schematic diagram of wherein a kind of adjustment process that Fig. 2 provides.
In the method for the adjusting screen brightness of embodiment of the present invention description, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
Refer to Fig. 3, Fig. 3 is the another schematic flow sheet of the method for a kind of adjusting screen brightness that the embodiment of the present invention provides, and in embodiments of the present invention, the method can comprise the following steps.
S301: the current time obtaining terminal.
Consider that the illumination change of environment residing for Different periods terminal is different, such as, daytime, the intensity of illumination of external environment condition can constantly change, or when user's carried terminal is in different scene, the intensity of illumination of environment residing for terminal also can constantly be changed; Evening, the intensity of illumination change of external environment condition was less, or when user's carried terminal is in fixed scene, the intensity of illumination of environment residing for terminal also changes very little, as office scene.Therefore, can arrange more intelligent by the brightness regulation of terminal, such as, do not automatically adjust in the evening, enters automatic adjustment daytime.In specific implementation, can being that user pre-sets according to self needing the time period not needing to regulate, such as, non-office hours being set to the time period that this is preset; Also can be pre-set by program, concrete, the embodiment of the present invention is not restricted.
In specific implementation, obtain the current time of terminal, and identify whether current time was in the default time period, if be in, then adjusting screen brightness automatically, concrete refers to subsequent step; If be not in, then without the need to adjusting screen brightness, thus, not only can carry out intelligentized adjusting screen brightness, and, the calculation process of terminal, power consumption etc. can be reduced.
S302: if described current time is in the default time period, obtains the current illumination of environment and the present intensity of described terminal screen residing for terminal.
If getting current is to be in the default time period, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal.
S303: according to the configuration information preset, determine the object brightness that described current illumination is corresponding.
S304: according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
In the method for the adjusting screen brightness of embodiment of the present invention description, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
What deserves to be explained is, consider user for from bright to dark and feeling from dark to bright be different.Such as user sees a novel in indoor, goes under the sun suddenly, if at this moment screen intensity does not brighten rapidly, will cause not seeing screen; Accordingly, if go to indoor suddenly under the sun, if at this moment screen intensity is from bright to secretly changing too fast, then because the eyes of user also do not adapt to, at this moment you also can cause not seeing screen in the short time.The embodiment of the present invention in the process of adjusting screen brightness, for by bright to dark and by secretly arranging a governing speed respectively to bright two kinds of situations, concrete, by being secretly greater than by bright to dark governing speed to bright governing speed.In the above-described embodiments, step S103, S208 and S304 are according to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the mode that the present intensity of described screen arrives described object brightness can be as shown in Figure 3 a, Fig. 3 a is the schematic flow sheet of wherein a kind of adjustment process that Fig. 3 provides, and comprises the following steps.
S304a: identify whether the difference of present intensity and object brightness is greater than zero.
If the difference of present intensity and object brightness is greater than zero, illustrate that the intensity of illumination of environment residing for terminal is from bright to secretly, therefore, perform step S304b, according to the first prefixed time interval, the present intensity of preset increments to described screen is adopted to successively decrease adjustment, until the present intensity of described screen arrives described object brightness.If the difference of present intensity and object brightness is less than zero, illustrate that the intensity of illumination of environment residing for terminal is from dark to bright, therefore, perform step S304c, according to the second prefixed time interval, preset increments is adopted to carry out incremental to the present intensity of described screen, until the present intensity of described screen arrives described object brightness, wherein, the second prefixed time interval is less than the first prefixed time interval.
S304b: according to the first prefixed time interval, adopts the present intensity of preset increments to described screen to successively decrease adjustment, until the present intensity of described screen arrives described object brightness.
If the difference of present intensity and object brightness is greater than zero, illustrate that the intensity of illumination of environment residing for terminal is from bright to secretly, therefore, according to the first prefixed time interval, the present intensity of preset increments to described screen is adopted to successively decrease adjustment, until the present intensity of described screen arrives described object brightness.In specific implementation, can determine according to present intensity, object brightness and preset increments and regulate number of times (specifically referring to step S203 ~ S207), thus, according to the first prefixed time interval, adopt preset increments to carry out the adjustment of successively decreasing of described adjustment time several to the present intensity of described screen, make screen intensity finally arrive object brightness.
S304c: according to the second prefixed time interval, adopts preset increments to carry out incremental to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
If the difference of present intensity and object brightness is less than zero, illustrate that the intensity of illumination of environment residing for terminal is from dark to bright, therefore, according to the second prefixed time interval, preset increments is adopted to carry out incremental to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.In specific implementation, can determine according to present intensity, object brightness and preset increments and regulate number of times (specifically referring to step S203 ~ S207), thus, according to the second prefixed time interval, adopt preset increments to carry out the incremental of described adjustment time several to the present intensity of described screen, make screen intensity finally arrive object brightness.Wherein, described second prefixed time interval is less than described first prefixed time interval.
In the method for the adjusting screen brightness of embodiment of the present invention description, can ensure that environment residing for terminal is from dark to time bright, improves screen intensity quickly; And time from bright to dark, more slowly reduce screen intensity, ensure with still can seeing screen clearly when external environment condition generation fast transition per family.
What deserves to be explained is, in the above-described embodiments, the configuration information preset can be the corresponding relation of illumination and brightness, and this corresponding relation is: the corresponding a kind of brightness of a kind of illumination; Also can be the corresponding relation of illumination rank and brightness, this corresponding relation be: the corresponding a kind of brightness of illumination rank.Concrete, the embodiment of the present invention is not restricted.For avoiding extraneous factor to cause the current illumination of environment residing for terminal frequently to change, thus cause unnecessary adjustment, above-described embodiment, after the current illumination of environment residing for acquisition terminal and the present intensity of described terminal screen, can also comprise the following steps:
If the configuration information preset is the corresponding relation of illumination and brightness, then obtain the difference of illumination corresponding to present intensity and current illumination, and identify whether absolute value corresponding to this difference is greater than first threshold, if, then perform the configuration information that described basis is preset, determine the step of the object brightness that described current illumination is corresponding.
If the configuration information preset is the corresponding relation of illumination rank and brightness, then obtain other difference of illumination level that illumination rank corresponding to described present intensity is corresponding with described current illumination, and identify whether absolute value corresponding to this difference is greater than Second Threshold, if, perform the configuration information that described basis is preset, determine the step of the object brightness that described current illumination is corresponding.The magnitude relationship of the embodiment of the present invention to first threshold and Second Threshold is not restricted, but preferably, first threshold is greater than Second Threshold.Thus, regulate again when the illumination change of environment is greater than certain threshold value residing for terminal, avoid the frequent switching of screen intensity.
In specific implementation, due to all corresponding illumination interval of each illumination rank, frequently switch between adjacent illumination rank for avoiding screen intensity.The embodiment of the present invention pre-sets between transition region for adjacent illumination rank, in specific implementation, first corresponding with described current illumination according to the illumination rank that present intensity is corresponding illumination rank, identify that whether illumination rank corresponding to the present intensity illumination rank corresponding with current illumination be adjacent, if adjacent, then obtain between transition region corresponding to these two adjacent brightness illumination ranks; Whether the further illumination judging that adjacent moment gets is in inner conversion between this transition region; If not, perform the configuration information that described basis is preset, determine the step of the object brightness that described current illumination is corresponding, thus, adopt adjusting screen brightness of the present invention; If, the illumination of environment residing for terminal frequent changes in two other transitional regions of adjacent illumination level is described, although illumination rank there occurs change, but the difference of illumination change is very little in fact, therefore, for reducing data processing, the frequent switching of screen intensity is avoided, for the frequent situation switched in transitional region between adjacent illumination rank of the illumination of environment residing for terminal, do not regulate screen intensity.For convenience of description, spy enumerates part illumination and other corresponding relation of illumination level, refers to Fig. 3 b, Fig. 3 b is the schematic diagram of the part illumination that provides of the embodiment of the present invention and other corresponding relation of illumination level, what deserves to be explained is, this figure only for signal, can not be used for limiting the present invention.Suppose that illumination interval corresponding to second level is 30 ~ 60, illumination interval corresponding to third level is 60 ~ 100, is 50 ~ 75 for corresponding illumination between the transition region that these two adjacent illumination ranks pre-set.Such as, if illumination corresponding to the present intensity of screen is 55, residing for accessed terminal, the current illumination of environment is 65, known, although illumination rank there occurs change, twice, front and back illumination is all arranged between other transition region of adjacent illumination level, therefore, without the need to regulating screen intensity; If the illumination that the present intensity of screen is corresponding is 70, residing for accessed terminal, the current illumination of environment is 57, known, although illumination rank there occurs change, but twice, front and back illumination is all arranged between other transition region of adjacent illumination level, therefore, without the need to regulating screen intensity; Again such as, if the illumination that the present intensity of screen is corresponding is 45, residing for accessed terminal, the current illumination of environment is 65, known, illumination rank there occurs change, and twice, front and back illumination is not arranged between other transition region of adjacent illumination level simultaneously, therefore, the present invention is adopted to regulate screen intensity.
Be apparatus of the present invention embodiment below, apparatus of the present invention embodiment and the inventive method embodiment belong to same design, for performing the method described in the inventive method embodiment.For convenience of explanation, apparatus of the present invention embodiment only illustrates relevant portion, and concrete ins and outs do not disclose, and please refer to the description of the inventive method embodiment, repeats no longer one by one herein.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides, and in embodiments of the present invention, this terminal can comprise: the first acquiring unit 101, first determining unit 102 and regulon 103.
First acquiring unit 101, for the present intensity of the current illumination and described terminal screen that obtain environment residing for terminal.
In specific implementation, regularly go to obtain the current illumination of environment and the present intensity of terminal screen residing for terminal.Such as, can be obtained the intensity of illumination of environment residing for terminal by the optical sensor carried in terminal, obtained the present intensity of terminal screen by the relevant parameter of the backlight module in terminal, concrete, the embodiment of the present invention is not restricted.
First determining unit 102, for according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
After getting the current illumination of environment residing for terminal by the first acquiring unit 101, according to the configuration information preset, determine the object brightness that this current illumination is corresponding.What deserves to be explained is, user can need arrange or revise this configuration information according to self.
Wherein in a kind of implementation, described default configuration information can be the corresponding relation of illumination and brightness, this corresponding relation is: the corresponding a kind of brightness of a kind of illumination, even the illumination of environment is known, then uniquely can determine according to this corresponding relation the screen intensity that this illumination is corresponding.What deserves to be explained is, in specific implementation, the corresponding relation of illumination and brightness can be needed to arrange according to self by user; Also can be that developer is pre-set by program according to the method such as artificial experience or experimental simulation, certainly, user can modify to this corresponding relation that program presets; Can also be that user is according to the corresponding relation self needing setting unit illumination and brightness, the corresponding relation of the part illumination that terminal has been arranged according to user and brightness, simulate the functional relation of other illumination and brightness, thus, can automatically determine corresponding screen intensity according to this functional relation for the illumination do not arranged; Concrete, the embodiment of the present invention is not restricted.
In another kind of implementation, described default configuration information can be the corresponding relation of illumination rank and brightness, and this corresponding relation is: the corresponding a kind of brightness of illumination rank.In specific implementation, user can pre-set illumination rank according to the illumination interval possessing representational application scenarios corresponding, and arranges brightness corresponding to this illumination rank in conjunction with self needing; Certainly, also can be that developer pre-sets illumination rank according to the method such as artificial experience or experimental simulation by program, and the corresponding relation of illumination rank and brightness, user can adjust this corresponding relation that program pre-sets; Concrete, the embodiment of the present invention is not restricted.Therefore, after getting the current illumination of environment residing for terminal by the first acquiring unit 101, then can determine the illumination rank residing for current illumination, thus, according to the corresponding relation of illumination rank and brightness, determine the brightness that illumination rank residing for current illumination is corresponding, this brightness is object brightness corresponding to current illumination.What deserves to be explained is, in specific implementation, the corresponding a kind of brightness of illumination rank be one preferred embodiment, like this, after terminal Real-time Obtaining to the current illumination of environment residing for it, if illumination rank does not change, then without the need to regulating brightness, the destabilizing factor in actual environment can be effectively avoided to cause the frequent adjustment of screen intensity.
Regulon 103, for according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
In specific implementation, after determining by the first determining unit 102 object brightness that residing for terminal, the current illumination of environment is corresponding, if the present intensity of terminal screen is not identical with this object brightness, then according to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
Wherein in a kind of implementation, the object brightness that the current illumination of environment is corresponding residing for the present intensity of terminal screen and terminal, obtains the difference of present intensity and object brightness, thus determines the regulative mode to screen; Meanwhile, according to the multiple proportion of difference and preset increments, determine the adjustment number of times brightness of terminal screen being adjusted to object brightness from present intensity.For convenience of understanding, be exemplified below: suppose that prefixed time interval is 1ms, preset increments is 1, the brightness value that present intensity is corresponding is 20, and brightness value corresponding to object brightness is 27, then at interval of 1ms, the brightness value of terminal screen is regulated to increase by 1, until the brightness value of terminal screen reaches 27; Accordingly, if brightness value corresponding to present intensity is 27, brightness value corresponding to object brightness is 20, then at interval of 1ms, regulate the brightness value of terminal screen to reduce 1, until the brightness value of terminal screen reaches 20.
In another kind of implementation, the object brightness that the current illumination of environment is corresponding residing for the present intensity of terminal screen and terminal, determines the regulative mode of terminal screen.Such as, if present intensity is lower than object brightness, then incremental; If present intensity is higher than object brightness, then adjustment of successively decreasing; According to prefixed time interval, preset increments is adopted to regulate according to the present intensity of determined regulative mode to terminal screen, often carry out Primary regulation then obtain this time regulate after brightness value, if the brightness value after regulating is still not identical with object brightness, or still lower than object brightness or still higher than object brightness, then continue to regulate, until screen intensity is adjusted to object brightness.In specific implementation, preset increments can be set to the numerical value of 1 or less, ensure the good transition of brightness in adjustment process of terminal screen, avoid the sudden strain of a muscle screen phenomenon caused because the luminance difference in single adjustment process is excessive.
In the method for the adjusting screen brightness of embodiment of the present invention description, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
Refer to Fig. 5, Fig. 5 is another structural representation of a kind of terminal that the embodiment of the present invention provides, in embodiments of the present invention, this terminal can comprise: the first acquiring unit 201, first determining unit 202, regulon 203, second acquisition unit 204 and the second determining unit 205.
First acquiring unit 201, for the present intensity of the current illumination and described terminal screen that obtain environment residing for terminal.
First determining unit 202, for according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
Regulon 203, for according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
Second acquisition unit 204, for obtaining the difference of described present intensity and described object brightness.
The object brightness that the current illumination of environment is corresponding residing for the terminal that the first acquiring unit 201 and the first determining unit 202 are determined and the present intensity of terminal screen, obtain the difference of described present intensity and described object brightness.Thus according to this difference, can determine the regulating parameter of the present intensity to described screen further, wherein, described regulating parameter comprises regulative mode and regulates number of times, and described regulative mode comprises incremental or adjustment of successively decreasing.
Second determining unit 205, for according to described difference, determines the regulating parameter of the present intensity to described screen; Wherein, described regulating parameter comprises regulative mode and regulates number of times, and described regulative mode comprises incremental or adjustment of successively decreasing.
In specific implementation, if described difference is greater than zero, determine that regulative mode is for adjustment of successively decreasing; If described difference is less than zero, determine that regulative mode is incremental.Obtain the ratio of absolute value corresponding to described difference and described preset increments, described ratio is defined as regulate number of times.
Wherein in a kind of implementation, above-mentioned terminal can also comprise processing unit 206, for obtaining the current time of described terminal, and identifies whether described current time was in the default time period.Wherein, the first acquiring unit 201, if be in the default time period specifically for described current time, obtains the current illumination of environment and the present intensity value of described terminal screen residing for terminal.
Consider that the illumination change of environment residing for Different periods terminal is different, such as, daytime, the intensity of illumination of external environment condition can constantly change, or when user's carried terminal is in different scene, the intensity of illumination of environment residing for terminal also can constantly be changed; Evening, the intensity of illumination change of external environment condition was less, or when user's carried terminal is in fixed scene, the intensity of illumination of environment residing for terminal also changes very little, as office scene.Therefore, can arrange more intelligent by the brightness regulation of terminal, such as, do not automatically adjust in the evening, enters automatic adjustment daytime.In specific implementation, can being that user pre-sets according to self needing the time period not needing to regulate, such as, non-office hours being set to the time period that this is preset; Also can be pre-set by program, concrete, the embodiment of the present invention is not restricted.
In specific implementation, processing unit 206 obtains the current time of terminal, and identifies whether current time is in the default time period, if so, then regulon 203 adjusting screen brightness automatically; If not, then without the need to adjusting screen brightness, thus, not only can carry out intelligentized adjusting screen brightness, and, the calculation process of terminal, power consumption etc. can be reduced.
Wherein in a kind of implementation, the second determining unit 205 specifically for: if described difference is greater than zero, determine that regulative mode is for adjustment of successively decreasing; Obtain the ratio of described difference and described preset increments, described ratio is defined as regulate number of times.
In specific implementation, if the difference of present intensity and object brightness is greater than zero, illustrate that present intensity is higher than object brightness, therefore, the brightness of screen need be reduced.For convenience of understanding, such as, suppose that the present intensity of terminal screen is 27, the object brightness that residing for terminal, the current illumination of environment is corresponding is 20, then the difference of present intensity and object brightness is 7, known, difference is greater than zero, thus, can determine that regulative mode is for adjustment of successively decreasing.Certainly, also can by directly judging whether present intensity determines regulative mode higher than the mode of object brightness in specific implementation, such as, if judge, present intensity is higher than object brightness, then determine that regulative mode is for adjustment of successively decreasing; Otherwise present intensity is lower than object brightness if judge, then determine that regulative mode is incremental; Certainly, if present intensity is identical with object brightness, then without the need to regulating the screen intensity of terminal.
If the difference of present intensity and object brightness is greater than zero, then obtain the ratio of this difference and preset increments, and be defined as by this ratio regulating number of times, wherein, preset increments refers to the change difference of brightness in the front and back process of single adjusting screen brightness.Such as, suppose that preset increments is 2, present intensity is 20, then after the brightness of single adjusting screen, the brightness of screen becomes 22; If regulate once, then the brightness of screen becomes 24 again, the like.In specific implementation, but user oneself is arranged or the numerical value of amendment preset increments, and also can be the numerical value pre-set by program, concrete, the embodiment of the present invention be restricted.
For convenience of understanding, such as, suppose that difference is 10, preset increments is 2, then can determine and regulate number of times to be 5, regulative mode is adjustment of successively decreasing.Certainly, if run into difference and the aliquant situation of preset increments in actual treatment, then ratio can be difference divided by the integer part after preset increments, or integer part adds 1, and concrete, the embodiment of the present invention is not restricted.
In another kind of implementation, the second determining unit 205 specifically for: if described difference is less than zero, determine that regulative mode is incremental; Obtain the ratio of absolute value corresponding to described difference and described preset increments, described ratio is defined as regulate number of times.
If the difference of present intensity and object brightness is less than zero, illustrate that present intensity is lower than object brightness, therefore, the brightness of screen need be improved.For convenience of understanding, such as, suppose that the present intensity of terminal screen is 20, the object brightness that residing for terminal, the current illumination of environment is corresponding is 27, then the difference of present intensity and object brightness is-7, and difference is less than zero, thus, can determine that regulative mode is incremental.
For convenience of understanding, such as, suppose that difference is-10, preset increments is 2, then can determine and regulate number of times to be 5, regulative mode is incremental.
What deserves to be explained is, present intensity and the corresponding object brightness of the current illumination of environment residing for terminal according to screen determine that the mode of the regulating parameter of the present intensity to described screen can also be, obtain the difference of present intensity and object brightness; The ratio of this difference of further acquisition and preset increments, is defined as the absolute value of this ratio regulating number of times, if ratio is less than zero, then determines that regulative mode is incremental, if ratio is greater than zero, then determine that regulative mode is for adjustment of successively decreasing.
Therefore, after determining the regulating parameter of screen intensity, namely after knowing regulative mode and adjustment number of times, regulon 203 is for according to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.In specific implementation, every prefixed time interval, the brightness of screen increased or reduce the brightness of preset increments, until have adjusted determined adjustment time several, after to brightness regulation this several of screen, the brightness of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improve the quality of screen-picture in brightness regulation process, avoid the generation of dodging screen phenomenon.
As wherein a kind of implementation, if regulative mode is adjustment of successively decreasing, then according to prefixed time interval, employing preset increments, the present intensity of described screen is carried out to the adjustment of successively decreasing of described adjustment time several, like this, the present intensity of screen arrives described object brightness.Such as, suppose to regulate number of times to be 5, regulative mode is adjustment of successively decreasing, and prefixed time interval is 1ms, preset increments is 2, present intensity is 30, and object brightness is 20, then from current time, then the brightness of screen is reduced by 2 every 1ms, until reduce 5 times, like this, the brightness of screen arrives object brightness 20 from present intensity 30.As a kind of example, the form of expression of this adjustment process can as shown in Figure 2 a, and Fig. 2 a is the result schematic diagram of wherein a kind of adjustment process that Fig. 2 provides.
As another kind of implementation, if regulative mode is incremental, then according to prefixed time interval, employing preset increments, the present intensity of described screen is carried out to the incremental of described adjustment time several, like this, the present intensity of screen arrives described object brightness.Such as, suppose to regulate number of times to be 5, regulative mode is incremental, and prefixed time interval is 1ms, preset increments is 2, present intensity is 20, and object brightness is 30, then from current time, then the brightness of screen is improved 2 every 1ms, until improve 5 times, like this, the brightness of screen arrives object brightness 30 from present intensity 20.As a kind of example, the form of expression of this adjustment process can as shown in Figure 2 b, and Fig. 2 b is the result schematic diagram of wherein a kind of adjustment process that Fig. 2 provides.
Wherein in a kind of implementation, regulon 203 specifically for: if described difference is greater than zero, according to the first prefixed time interval, adopt preset increments to carry out described adjustment time adjustment of successively decreasing for several times to the present intensity of described screen; If described difference is less than zero, according to the second prefixed time interval, preset increments is adopted to carry out the incremental of described adjustment time several to the present intensity of described screen; Wherein, described second prefixed time interval is less than described first prefixed time interval.
In specific implementation, if the difference of present intensity and object brightness is greater than zero, illustrate that the intensity of illumination of environment residing for terminal is from bright to secretly, therefore, regulon 203 is according to the first prefixed time interval, the present intensity of preset increments to described screen is adopted to successively decrease adjustment, until the present intensity of described screen arrives described object brightness.If the difference of present intensity and object brightness is less than zero, illustrate that the intensity of illumination of environment residing for terminal is from dark to bright, therefore, regulon 203 is according to the second prefixed time interval, preset increments is adopted to carry out incremental to the present intensity of described screen, until the present intensity of described screen arrives described object brightness, wherein, the second prefixed time interval is less than the first prefixed time interval.
Such as, according to the first prefixed time interval, adopt preset increments to carry out the adjustment of successively decreasing of described adjustment time several to the present intensity of described screen, make screen intensity finally arrive object brightness.According to the second prefixed time interval, adopt preset increments to carry out the incremental of described adjustment time several to the present intensity of described screen, make screen intensity finally arrive object brightness.Wherein, described second prefixed time interval is less than described first prefixed time interval.
In the terminal that the embodiment of the present invention describes, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
Refer to Fig. 6, Fig. 6 is the another structural representation of a kind of terminal that the embodiment of the present invention provides, in embodiments of the present invention, this terminal can comprise: the first acquiring unit 301, first determining unit 302, regulon 303, the 3rd acquiring unit 304 and the first recognition unit 305.
First acquiring unit 301, for the present intensity of the current illumination and described terminal screen that obtain environment residing for terminal.
First determining unit 302, for according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
In the embodiment of the present invention, described default configuration information comprises the corresponding relation of illumination and brightness, and this corresponding relation is: the corresponding a kind of brightness of a kind of illumination.
Regulon 303, for according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
3rd acquiring unit 304, for obtaining the difference of illumination corresponding to described present intensity and described current illumination.
First recognition unit 305, for identifying whether absolute value corresponding to this difference is greater than first threshold.Wherein, the first determining unit 302, if be greater than first threshold specifically for described absolute value, according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
Wherein in a kind of implementation, above-mentioned terminal can also comprise processing unit 306, for obtaining the current time of described terminal, and identifies whether described current time is in the default time period; First acquiring unit 301, if be in the default time period specifically for described current time, obtains the current illumination of environment and the present intensity value of described terminal screen residing for terminal.
Consider that the illumination change of environment residing for Different periods terminal is different, such as, daytime, the intensity of illumination of external environment condition can constantly change, or when user's carried terminal is in different scene, the intensity of illumination of environment residing for terminal also can constantly be changed; Evening, the intensity of illumination change of external environment condition was less, or when user's carried terminal is in fixed scene, the intensity of illumination of environment residing for terminal also changes very little, as office scene.Therefore, can arrange more intelligent by the brightness regulation of terminal, such as, do not automatically adjust in the evening, enters automatic adjustment daytime.In specific implementation, can being that user pre-sets according to self needing the time period not needing to regulate, such as, non-office hours being set to the time period that this is preset; Also can be pre-set by program, concrete, the embodiment of the present invention is not restricted.
In specific implementation, processing unit 306 obtains the current time of terminal, and identifies whether current time is in the default time period, if so, then processing unit 306 adjusting screen brightness automatically; If not, then without the need to adjusting screen brightness, thus, not only can carry out intelligentized adjusting screen brightness, and, the calculation process of terminal, power consumption etc. can be reduced.
In the terminal that the embodiment of the present invention describes, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
Refer to Fig. 7, Fig. 7 is a structural representation again of a kind of terminal that the embodiment of the present invention provides, in embodiments of the present invention, this terminal can comprise: the first acquiring unit 401, first determining unit 402, regulon 403, the 4th acquiring unit 404 and the second recognition unit 405.
First acquiring unit 401, for the present intensity of the current illumination and described terminal screen that obtain environment residing for terminal.
First determining unit 402, for according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
In the embodiment of the present invention, described default configuration information comprises the corresponding relation of illumination rank and brightness, and this corresponding relation is: the corresponding a kind of brightness of illumination rank.
Regulon 403, for according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
4th acquiring unit 404, for obtaining illumination rank corresponding to described present intensity illumination level other difference corresponding with described current illumination.
Second recognition unit 405, for identifying whether absolute value corresponding to this difference is greater than Second Threshold.
Wherein, the first determining unit 202, if be greater than Second Threshold specifically for described absolute value, according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
Wherein in a kind of implementation, above-mentioned terminal can also comprise processing unit 406, for obtaining the current time of described terminal, and identifies whether described current time is in the default time period; First acquiring unit 401, if be in the default time period specifically for described current time, obtains the current illumination of environment and the present intensity value of described terminal screen residing for terminal.
In the terminal that the embodiment of the present invention describes, obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal; According to the configuration information preset, determine the object brightness that described current illumination is corresponding; According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of screen arrives object brightness.Thus, the present intensity of terminal screen is gently adjusted to according to the variation pattern of pre-set velocity and preset increments the object brightness matched with the intensity of illumination of environment residing for terminal, improves the quality of screen-picture in brightness regulation process.
Refer to Fig. 8, Fig. 8 is a structural representation again of a kind of terminal that the embodiment of the present invention provides, as shown in Figure 8, this terminal 800 comprises: at least one processor 810, such as CPU, at least one input unit 830, at least one output device 840, memory 850, at least one bus 820.Wherein, communication bus 820 is for realizing the connection communication between these assemblies.Such as, input unit 830 can comprise Trackpad, microphone etc., and output device 840 can comprise display screen, loudspeaker etc.Memory 850 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 850 can also be optionally that at least one is positioned at the storage terminal away from aforementioned processor 810.Optionally, this terminal can also comprise optical sensor (not shown in Fig. 8), is obtained the current illumination of environment residing for terminal by this optical sensor; Backlight module (not shown in Fig. 8) can also be comprised, regulated the brightness of display screen by the electric current controlling backlight module.Wherein processor 810 can the terminal shown in composition graphs 4 ~ Fig. 7, stores batch processing code in memory 850, and processor 810 calls the program code stored in memory 850, for performing following operation:
Obtain the current illumination of environment and the present intensity of described terminal screen residing for terminal;
According to the configuration information preset, determine the object brightness that described current illumination is corresponding;
According to prefixed time interval, preset increments is adopted to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
In specific implementation, can be the current illumination that processor 810 controls that optical sensor obtains environment residing for terminal, obtain the present intensity of terminal screen according to the parameter information of backlight module.
As the optional execution mode of one, processor 810, before adjusting screen brightness, can also perform following operation:
Obtain the difference of described present intensity and described object brightness;
According to described difference, determine the regulating parameter of the present intensity to described screen;
Wherein, described regulating parameter comprises regulative mode and regulates number of times, and described regulative mode comprises incremental or adjustment of successively decreasing.
Such as, suppose that difference is 10, preset increments is 2, then can determine and regulate number of times to be 5, regulative mode is adjustment of successively decreasing.
In specific implementation, processor 810, according to described difference, is determined the regulating parameter of the present intensity to described screen, being comprised:
If described difference is greater than zero, determine that regulative mode is for adjustment of successively decreasing;
Obtain the ratio of described difference and described preset increments, described ratio is defined as regulate number of times.
If described difference is less than zero, determine that regulative mode is incremental;
Obtain the ratio of absolute value corresponding to described difference and described preset increments, described ratio is defined as regulate number of times.
Such as, suppose that the present intensity of terminal screen is 20, the object brightness that residing for terminal, the current illumination of environment is corresponding is 27, then the difference of present intensity and object brightness is-7, and difference is less than zero, thus, can determine that regulative mode is incremental.
Further alternative, during processor 810 adjusting screen brightness, specifically can comprise:
If described difference is greater than zero, according to the first prefixed time interval, preset increments is adopted to carry out the adjustment of successively decreasing of described adjustment time several to the present intensity of described screen;
If described difference is less than zero, according to the second prefixed time interval, preset increments is adopted to carry out the incremental of described adjustment time several to the present intensity of described screen;
Wherein, described second prefixed time interval is less than described first prefixed time interval.
Wherein in a kind of implementation, described default configuration information comprises the corresponding relation of illumination and brightness, and this corresponding relation is: the corresponding a kind of brightness of a kind of illumination.
After processor 810 obtains the current illumination of environment residing for terminal and the present intensity of described terminal screen, also perform following operation:
Obtain the difference of illumination corresponding to described present intensity and described current illumination;
Identify whether absolute value corresponding to this difference is greater than first threshold;
If so, processor 810 is according to the configuration information preset, and determines the object brightness that described current illumination is corresponding.
In another kind of implementation, described default configuration information comprises the corresponding relation of illumination rank and brightness, and this corresponding relation is: the corresponding a kind of brightness of illumination rank.
After processor 810 obtains the current illumination of environment residing for terminal and the present intensity of described terminal screen, also perform following operation:
Obtain other difference of illumination level that illumination rank corresponding to described present intensity is corresponding with described current illumination;
Identify whether absolute value corresponding to this difference is greater than Second Threshold;
If so, processor 810 is according to the configuration information preset, and determines the object brightness that described current illumination is corresponding.
Further alternative, before processor 810 obtains the current illumination of environment residing for terminal and the present intensity value of described terminal screen, also perform following operation:
Obtain the current time of described terminal, and identify whether described current time is in the default time period;
If so, processor 810 obtains the current illumination of environment residing for terminal and the present intensity value of described terminal screen.
Concrete, the terminal 800 introduced in the embodiment of the present invention can part or all of flow process in order to implement composition graphs 1 of the present invention, in the embodiment of the method for adjusting screen brightness that Fig. 2 or Fig. 3 introduces.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the embodiment of the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
Unit described in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)).
Above the text message extracting method that the embodiment of the present invention provides is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a terminal, is characterized in that, comprising:
First acquiring unit, for the present intensity of the current illumination and described terminal screen that obtain environment residing for terminal;
First determining unit, for according to the configuration information preset, determines the object brightness that described current illumination is corresponding;
Regulon, for according to prefixed time interval, adopts preset increments to carry out at least Primary regulation to the present intensity of described screen, until the present intensity of described screen arrives described object brightness.
2. terminal as claimed in claim 1, it is characterized in that, described terminal also comprises:
Second acquisition unit, for obtaining the difference of described present intensity and described object brightness;
Second determining unit, for according to described difference, determines the regulating parameter of the present intensity to described screen;
Wherein, described regulating parameter comprises regulative mode and regulates number of times, and described regulative mode comprises incremental or adjustment of successively decreasing.
3. terminal as claimed in claim 2, is characterized in that, described second determining unit specifically for:
If described difference is greater than zero, determine that regulative mode is for adjustment of successively decreasing;
Obtain the ratio of described difference and described preset increments, described ratio is defined as regulate number of times.
4. terminal as claimed in claim 2, is characterized in that, described second determining unit specifically for:
If described difference is less than zero, determine that regulative mode is incremental;
Obtain the ratio of absolute value corresponding to described difference and described preset increments, described ratio is defined as regulate number of times.
5. terminal as claimed in claim 2, is characterized in that, described regulon specifically for:
If described difference is greater than zero, according to the first prefixed time interval, preset increments is adopted to carry out the adjustment of successively decreasing of described adjustment time several to the present intensity of described screen;
If described difference is less than zero, according to the second prefixed time interval, preset increments is adopted to carry out the incremental of described adjustment time several to the present intensity of described screen;
Wherein, described second prefixed time interval is less than described first prefixed time interval.
6. terminal as claimed in claim 1, it is characterized in that, described default configuration information comprises the corresponding relation of illumination and brightness, and this corresponding relation is: the corresponding a kind of brightness of a kind of illumination.
7. terminal as claimed in claim 6, it is characterized in that, described terminal also comprises:
3rd acquiring unit, for obtaining the difference of illumination corresponding to described present intensity and described current illumination;
First recognition unit, for identifying whether absolute value corresponding to this difference is greater than first threshold;
Described first determining unit, if be greater than first threshold specifically for described absolute value, according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
8. terminal as claimed in claim 1, it is characterized in that, described default configuration information comprises the corresponding relation of illumination rank and brightness, and this corresponding relation is: the corresponding a kind of brightness of illumination rank.
9. terminal as claimed in claim 8, it is characterized in that, described terminal also comprises:
4th acquiring unit, for obtaining illumination rank corresponding to described present intensity illumination level other difference corresponding with described current illumination;
Second recognition unit, for identifying whether absolute value corresponding to this difference is greater than Second Threshold;
Described first determining unit, if be greater than Second Threshold specifically for described absolute value, according to the configuration information preset, determines the object brightness that described current illumination is corresponding.
10. the terminal as described in any one of claim 1-9, is characterized in that, described terminal also comprises:
Processing unit, for obtaining the current time of described terminal, and identifies whether described current time is in the default time period;
Described first acquiring unit, if be in the default time period specifically for described current time, obtains the current illumination of environment and the present intensity value of described terminal screen residing for terminal.
CN201410782663.3A 2014-12-16 2014-12-16 Terminal Pending CN104580701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410782663.3A CN104580701A (en) 2014-12-16 2014-12-16 Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410782663.3A CN104580701A (en) 2014-12-16 2014-12-16 Terminal

Publications (1)

Publication Number Publication Date
CN104580701A true CN104580701A (en) 2015-04-29

Family

ID=53095828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410782663.3A Pending CN104580701A (en) 2014-12-16 2014-12-16 Terminal

Country Status (1)

Country Link
CN (1) CN104580701A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872235A (en) * 2016-04-26 2016-08-17 广东欧珀移动通信有限公司 Method and device for controlling brightness of displayer of electronic equipment and electronic equipment
CN105955585A (en) * 2016-05-31 2016-09-21 维沃移动通信有限公司 Display method for mobile terminal and mobile terminal
CN106303063A (en) * 2016-08-29 2017-01-04 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal display lightness regulating method and system
CN106293059A (en) * 2016-07-21 2017-01-04 广东欧珀移动通信有限公司 Control method and control device
CN106548765A (en) * 2017-01-12 2017-03-29 广东欧珀移动通信有限公司 Screen luminance adjustment method and device
CN107147901A (en) * 2017-05-02 2017-09-08 深圳怡化电脑股份有限公司 A kind of sensor calibration method, device, equipment and storage medium
WO2017177714A1 (en) * 2016-04-13 2017-10-19 捷开通讯(深圳)有限公司 Mobile terminal and method thereof for adjusting brightness of vr glasses
WO2017215142A1 (en) * 2016-06-17 2017-12-21 中兴通讯股份有限公司 Method and apparatus for adjusting colour temperature of terminal display content
CN107835324A (en) * 2017-12-13 2018-03-23 维沃移动通信有限公司 A kind of back light brightness regulating method and mobile terminal
CN108989561A (en) * 2018-07-17 2018-12-11 奇酷互联网络科技(深圳)有限公司 The method, apparatus of mobile terminal and starting screen
CN109036331A (en) * 2018-08-24 2018-12-18 京东方科技集团股份有限公司 Brightness adjusting method and device, the display screen of display screen
CN109473067A (en) * 2018-12-13 2019-03-15 青岛海信电器股份有限公司 A kind of back light brightness regulating method, device and display equipment
CN109951594A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Intelligent adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109951595A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Intelligence adjusts method, apparatus, storage medium and the mobile terminal of screen intensity

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905714A (en) * 2005-07-29 2007-01-31 乐金电子(中国)研究开发中心有限公司 Automatic shade adaptation method and apparatus in mobile communication terminal
CN103247281A (en) * 2012-02-13 2013-08-14 联想(北京)有限公司 Method and electronic equipment for adjusting display brightness
CN103401970A (en) * 2013-07-23 2013-11-20 广东欧珀移动通信有限公司 Method and system for adjusting display screen backlight and mobile terminal
CN103929546A (en) * 2014-05-12 2014-07-16 上海卓悠网络科技有限公司 Method and device for protecting eyes of user based on intelligent terminal
CN104168371A (en) * 2014-08-08 2014-11-26 Tcl通讯(宁波)有限公司 Method for adjusting backlight brightness of mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905714A (en) * 2005-07-29 2007-01-31 乐金电子(中国)研究开发中心有限公司 Automatic shade adaptation method and apparatus in mobile communication terminal
CN103247281A (en) * 2012-02-13 2013-08-14 联想(北京)有限公司 Method and electronic equipment for adjusting display brightness
CN103401970A (en) * 2013-07-23 2013-11-20 广东欧珀移动通信有限公司 Method and system for adjusting display screen backlight and mobile terminal
CN103929546A (en) * 2014-05-12 2014-07-16 上海卓悠网络科技有限公司 Method and device for protecting eyes of user based on intelligent terminal
CN104168371A (en) * 2014-08-08 2014-11-26 Tcl通讯(宁波)有限公司 Method for adjusting backlight brightness of mobile terminal and mobile terminal

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017177714A1 (en) * 2016-04-13 2017-10-19 捷开通讯(深圳)有限公司 Mobile terminal and method thereof for adjusting brightness of vr glasses
CN105872235A (en) * 2016-04-26 2016-08-17 广东欧珀移动通信有限公司 Method and device for controlling brightness of displayer of electronic equipment and electronic equipment
CN105955585A (en) * 2016-05-31 2016-09-21 维沃移动通信有限公司 Display method for mobile terminal and mobile terminal
CN107517368A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 Terminal color temperature adjusting method and device
WO2017215142A1 (en) * 2016-06-17 2017-12-21 中兴通讯股份有限公司 Method and apparatus for adjusting colour temperature of terminal display content
CN106293059A (en) * 2016-07-21 2017-01-04 广东欧珀移动通信有限公司 Control method and control device
CN106293059B (en) * 2016-07-21 2020-01-10 Oppo广东移动通信有限公司 Control method and control device
CN106303063A (en) * 2016-08-29 2017-01-04 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal display lightness regulating method and system
CN106548765A (en) * 2017-01-12 2017-03-29 广东欧珀移动通信有限公司 Screen luminance adjustment method and device
CN107147901A (en) * 2017-05-02 2017-09-08 深圳怡化电脑股份有限公司 A kind of sensor calibration method, device, equipment and storage medium
CN107835324A (en) * 2017-12-13 2018-03-23 维沃移动通信有限公司 A kind of back light brightness regulating method and mobile terminal
CN107835324B (en) * 2017-12-13 2021-05-25 维沃移动通信有限公司 Backlight brightness adjusting method and mobile terminal
CN109951594A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Intelligent adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109951595A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Intelligence adjusts method, apparatus, storage medium and the mobile terminal of screen intensity
CN108989561A (en) * 2018-07-17 2018-12-11 奇酷互联网络科技(深圳)有限公司 The method, apparatus of mobile terminal and starting screen
CN109036331A (en) * 2018-08-24 2018-12-18 京东方科技集团股份有限公司 Brightness adjusting method and device, the display screen of display screen
US10878780B2 (en) 2018-08-24 2020-12-29 Boe Technology Group Co., Ltd. Brightness adjustment method and device for display screen, display screen and display apparatus
CN109473067A (en) * 2018-12-13 2019-03-15 青岛海信电器股份有限公司 A kind of back light brightness regulating method, device and display equipment

Similar Documents

Publication Publication Date Title
CN104538005A (en) Method for adjusting screen brightness
CN104580701A (en) Terminal
CN103281436B (en) Method for adjusting brightness of mobile terminal screen and mobile terminal
CN102968978B (en) A kind of control method of display refresh rates and device
US9318038B2 (en) Color control method and communication apparatus
CN103247281A (en) Method and electronic equipment for adjusting display brightness
CN104394278A (en) Method, device and mobile terminal for regulating screen brightness
US20140092006A1 (en) Device and method for modifying rendering based on viewer focus area from eye tracking
CN105933550A (en) Brightness adjustment method, brightness adjustment device and mobile terminal
CN106128371B (en) A kind of device of picture brightness enhancing, display device and method
CN103050097B (en) Method and device for regulating brightness of backlight lamp
CN105355188B (en) Screen brightness regulation method, system and the mobile terminal of mobile terminal
CN107068044B (en) Image gamma revision method, scanning card and display system
CN104715736A (en) Backlight automatic adjusting method and device for electronic device
CN104469022A (en) Backlight lamp regulation method and system and handheld terminal
CN104683702A (en) Method and device for supplementing light during photographing as well as mobile terminal
CN103021315A (en) Method for improving displaying effect of display screen and terminal thereof
KR102589356B1 (en) Display apparatus and controlling method thereof
CN106548765A (en) Screen luminance adjustment method and device
CN106657676A (en) Screen brightness adjusting method and device
CN104240676A (en) Method for adjusting electronic device and electronic device
CN104238906A (en) Information processing method and electronic device
CN104898840A (en) Information processing method and apparatus, and electronic device
CN105845090B (en) A kind of backlight adjusting method and device
CN112233631B (en) Automatic screen brightness adjusting device and method for all-solid tablet personal computer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150429

RJ01 Rejection of invention patent application after publication