The content of the invention
The present invention provides adjusting method, the device of a kind of mobile terminal and its brightness of illumination, to solve to adjust in the prior art
Save the inconvenient technical problem of mobile terminal brightness of illumination.
In order to solve the above technical problems, a kind of technical scheme that the present invention is provided is:There is provided a kind of mobile terminal illumination bright
The adjusting method of degree, the adjusting method includes:When detecting object close to the light source of mobile terminal, obtain object and light source it
Between the first current distance, and detect that the first current distance is kept for constant the first duration;When detecting first persistently
Between exceed the default very first time when, unlock light source brightness;The real-time range between object and light source is obtained, according to light source
Brightness degree adjusts the luminosity of light source with light source with the corresponding relation of the distance between object.
According to one preferred embodiment of the present invention, the real-time range between object and light source is obtained, according to brightness of light source etc.
After the step of level and the corresponding relation of the distance between light source and object adjust the luminosity of light source, also include:Obtain thing
The second current distance between body and light source, and detect that the second current distance is kept for the second constant duration;Detecting
When second duration exceeded default second time, the luminosity of locked light.
According to one preferred embodiment of the present invention, it is corresponding with the distance between object with light source according to the brightness degree of light source
The step of relation adjusts the luminosity of light source, specifically includes:When real-time range be equal to default first apart from when, adjust light source
Luminosity be equal to light source rated power when luminosity 15%;When real-time range is equal to default second distance, adjust
Save light source luminosity be equal to light source rated power when luminosity 80%;When real-time range is less than or equal to default the
Three apart from when, regulation light source luminosity be equal to light source rated power when luminosity 10%;When real-time range is more than the
Two distance and less than first apart from when, regulation light source luminosity be more than light source rated power when luminosity 15% and
80% of luminosity during less than light source rated power, and adjust its increase with real-time range and reduce;Work as real-time range
During more than the 3rd distance and less than second distance, the luminosity of regulation light source is more than luminosity during light source rated power
10% and 80% of luminosity during less than light source rated power, and adjust its reduction with real-time range and reduce.
According to one preferred embodiment of the present invention, the first distance is 10 centimetres, and second distance is 3 centimetres, and the 3rd distance is 1 li
Rice, the very first time is 2 seconds, and the second time was 2 seconds.
According to one preferred embodiment of the present invention, object is the hand or arm of user.
In order to solve the above technical problems, another technical scheme that the present invention is provided is:A kind of mobile terminal illumination is provided
The adjusting means of brightness, the adjusting means includes:Light source, apart from induction module, timer and control module.Light source, is set
On mobile terminals;Apart from induction module, for detection object whether close to light source, and obtain between object and light source first
Current distance;Timer, for when detecting object close to light source, the first current distance of detection keeps constant first to continue
Time;And control module, during for detecting for the first duration more than the default very first time, unlock the brightness of light source;
Wherein, it is additionally operable to apart from induction module after the brightness of unblock light source, obtains the real-time range between object and light source;Control
Module is additionally operable to adjust the luminance of light source with the corresponding relation of the distance between object with light source according to the brightness degree of light source
Degree.
According to one preferred embodiment of the present invention, it is additionally operable to after the luminosity of regulation light source, obtains apart from induction module
Take the second current distance between object and light source;Timer is additionally operable to detect that the second current distance keeps constant second to continue
Time;Control module is additionally operable to when detecting for the second duration more than default second time, the luminance of locked light
Degree.
According to one preferred embodiment of the present invention, control module be additionally operable to when real-time range be equal to default first apart from when,
Adjust light source luminosity be equal to light source rated power when luminosity 15%;When real-time range is equal to default second
Apart from when, regulation light source luminosity be equal to light source rated power when luminosity 80%;When real-time range is less than or equal to
Default 3rd apart from when, regulation light source luminosity be equal to light source rated power when luminosity 10%;When in real time away from
During from more than second distance and less than with a distance from first, the luminosity of regulation light source is more than luminosity during light source rated power
15% and luminosity during less than light source rated power 80%, and adjust its increase with real-time range and reduce;When
When real-time range is more than the 3rd distance and is less than second distance, the hair when luminosity of regulation light source is more than light source rated power
The 10% of brightness and 80% of luminosity during less than light source rated power, and adjust its reduction with real-time range and subtract
It is small.
According to one preferred embodiment of the present invention, the first distance is 10 centimetres, and second distance is 3 centimetres, and the 3rd distance is 1 li
Rice, the very first time is 2 seconds, and the second time was 2 seconds.
In order to solve the above technical problems, another technical scheme that the present invention is provided is:A kind of mobile terminal is provided, the shifting
Dynamic terminal includes the adjusting means according to any of the above-described kind.
The beneficial effects of the invention are as follows:Mobile terminal and its adjusting method of brightness of illumination that the present invention is provided, device, lead to
The brightness of illumination that mobile terminal light source is adjusted apart from induction mode is crossed, it is mobile whole to adjust to eliminate user key-press or touch operation
Hold light source brightness of illumination it is cumbersome, facilitate user to adjust.And before regulation brightness of illumination, using apart from induction bonded timing
Mode unlock the brightness of light source, can accurately start regulation brightness of illumination function, it is to avoid maloperation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of an embodiment of mobile terminal brightness of illumination adjusting method of the present invention,
Before the flow is performed, the light source of mobile terminal is lighted.As shown in figure 1, the flow comprises the following steps:
S101:When detecting object close to the light source of mobile terminal, obtain between object and light source first it is current away from
From, and detect that the first current distance is kept for the first constant duration.
Preferably, the object is the hand or arm of user.Wherein, before formally detection is started, mobile terminal is turned off
The backlight of screen, by be arranged on mobile terminal range sensor detection object whether light source close to mobile terminal and acquisition
The distance of any instant between object and light source, detection mode be able to can be set by infrared ray or ultrasound examination mode
The precision of range sensor allows deviation during measurement(Measurement accuracy is such as set to millimeter), its operation principle is in art technology
Within the scope of the understanding of personnel, do not elaborate herein.
When detecting object close to light source, the current distance between object and light source is obtained, the current distance is denoted as the
One current distance.Meanwhile, start timer, timer resets and start timing, when detecting the first current distance and having variation,
Stop timing, this record time of timer was denoted as the first duration.
S102:When detecting for the first duration more than the default very first time, the brightness of light source is unlocked.
Wherein, the default very first time for example can be 2 seconds.If the first duration was more than or equal to default first
Between, stop timing, the luminosity of light source is adjusted into next step S103 for the brightness for the light source that unlocks;If the
One duration was less than the default very first time, returned to previous step S101.
S103:The real-time range between object and light source is obtained, according between the brightness degree and light source and object of light source
Distance corresponding relation adjust light source luminosity.
Wherein, by obtaining the distance between object and light source in real time apart from induction module, by the distance be denoted as in real time away from
From.The corresponding relation of the brightness degree of light source and light source and the distance between object could be arranged to single order, second order or multistage line
Property functional relation, or piecewise function relation, be not limited thereto, far and near according to real-time range reduces or increased to adjust
The luminosity of big light source.
In the present embodiment, by adjusting the brightness of illumination of mobile terminal light source apart from induction mode, eliminate user and lead to
The troublesome operation process for the brightness of illumination for crossing button or touch operation to adjust mobile terminal light source, facilitates user to adjust.And
Adjust before brightness of illumination, using the brightness that light source is unlocked by the way of induction bonded timing, can accurately start regulation illumination
Brightness function, it is to avoid maloperation.
Referring to Fig. 2, Fig. 2 is the flow signal of another embodiment of mobile terminal brightness of illumination adjusting method of the present invention
Figure.Step S201, S202 and S203 of the flow are identical with Fig. 1 step S101, S102 and S103, its operation principle or method
Therefore not to repeat here, and difference is that the flow also includes step:
S204:After the luminosity of selected light, the second current distance between object and light source is obtained, and detect the
Two current distances are kept for the second constant duration.
Wherein, the second current distance and the method for the second duration are obtained and is continued with the first current distance and first is obtained
Time, therefore not to repeat here.
S205:When detecting for the second duration more than default second time, the luminosity of locked light.
Wherein, default second time can be for example 2 seconds, if the second duration was more than or equal to default second
Between, the brightness of locked light.
In other embodiments, it would however also be possible to employ the brightness of other modes locked light, such as by object from distance perspective Ying Mo
Removed in the detectable scope of block.After the brightness of locked light, above step S201-S205 can be repeated, continue to unlock,
Regulation and the brightness of illumination of locked light.The screen that key lights mobile terminal can also be pressed, turning-off mobile terminal
Light source.
Referring to Fig. 3, Fig. 3 is to adjust light source according to real-time range in mobile terminal brightness of illumination adjusting method of the present invention
The schematic flow sheet of one embodiment of luminosity, as shown in figure 3, the step comprises the following steps:
S301:Judge whether real-time range is equal to the first distance.When real-time range be equal to first apart from when, into step
S302, regulation light source luminosity be equal to light source rated power when luminosity 15%;Conversely, into step S303.
S303:Judge whether real-time range is equal to second distance.When real-time range is equal to second distance, into step
S304, regulation light source luminosity be equal to light source rated power when luminosity 80%;Conversely, into next step
S305。
S305:Judge whether real-time range is less than or equal to the 3rd distance.When real-time range be equal to the 3rd apart from when, into step
Rapid S306,10% of luminosity when the luminosity of regulation light source is equal to light source rated power;Conversely, into next step
S307。
S307:Judge whether real-time range is more than second distance and less than the first distance.When real-time range be more than second away from
When with a distance from from and less than first, into step S308, the luminance when luminosity of regulation light source is more than light source rated power
The 15% of degree and 80% of luminosity during less than light source rated power, and adjust its increase with real-time range and reduce;
Conversely, into next step S309.
S309:Judge whether real-time range is more than the 3rd distance and less than second distance.When real-time range be more than the 3rd away from
During from and less than second distance, into step S310, the luminance when luminosity of regulation light source is more than light source rated power
The 10% of degree and 80% of luminosity during less than light source rated power, and adjust its reduction with real-time range and reduce;
Conversely, into next step S311, without regulation.Above step can circulate progress, untill selecting suitable brightness.
Preferably, the first distance can be 10 centimetres.Second distance can be 3 centimetres, and the 3rd distance can be 1 centimetre.
Further, the 4th distance can be set in step S307(Such as 8 centimetres), the 5th distance(Such as 5 centimetres), in step
The 6th distance can be set in S309(Such as 2 centimetres), or in step S307 or S309 more segmentation distances can be set to adjust light
Source is different luminosity, for example:When real-time range be more than second distance and less than or equal to the 4th apart from when, regulation light source
50% of luminosity when luminosity is light source rated power, when real-time range is more than the 4th distance and less than the first distance
When, regulation light source luminosity be light source rated power when luminosity 70%.
It should be noted that in more embodiments, step S301, S303, S305, S307 and step S309 interchangeables
The default very first time, the second time, the first distance, second distance, the 3rd distance and regulation in sequencing, above-mentioned steps
The numerical value 10%, 15% and 80% of the luminosity of light source can also be set as other numerical value according to demand.
In the present embodiment, the luminosity when luminosity of regulation light source makes it less than light source rated power, so that
Play the effect of power and energy saving.In addition, user can select different distances interval according to current application scene, regulation light source is not
Same luminosity, increases Consumer's Experience.
Referring to Fig. 4, Fig. 4 is the structural representation of an embodiment of mobile terminal brightness of illumination adjusting means of the present invention.
As shown in figure 4, the adjusting means of mobile terminal brightness of illumination of the present invention includes light source 401, control module 402, distance perspective Ying Mo
Block 403 and timer 404.
Light source 401, is set on mobile terminals.
Apart from induction module 403, for detection object whether close to light source 401, and obtain between object and light source 401
First current distance.Preferably, the object is the hand or arm of user.Wherein, before starting work apart from induction module 403,
Turn off the backlight of the screen of mobile terminal.It is the range sensor for being arranged on mobile terminal apart from induction module 403, passes through distance
Whether sensor detection object is close to light source 401, and obtains the distance of any instant between object and light source 401, detection mode
It can be detected by infrared ray or ultrasonic wave mode, deviation during measurement can be allowed with the precision of setpoint distance sensor(Such as set
Measurement accuracy is put to millimeter), its operation principle do not elaborate herein within the scope of the understanding of those skilled in the art.
, should by obtaining the current distance between object and light source 401 apart from induction module 403 when detecting object close to light source 401
Current distance is denoted as the first current distance.
Timer 404, for when detecting object close to light source 401, detecting that first current distance keeps constant
The first duration.Wherein, when detecting object close to light source 401, meanwhile, start timer 404 and start timing, in inspection
When this record time that measuring the first current distance has variation or timer 404 is more than or equal to the default very first time, stop
Timing, was denoted as the first duration by this record time of timer 404.
Control module 402, during for detecting for the first duration more than the default very first time, unblock light source 401
Brightness.Wherein, the default very first time for example can be 2 seconds.If the first duration was more than or equal to the default very first time,
Timer 404 stops timing, and control module 402 unlocks the brightness of light source 401.If the first duration was less than default
The very first time, restarting obtains the first current distance apart from induction module 403, and startup timer 404 obtains first and continued
Time.
It is additionally operable to after the brightness of unblock light source 401, is obtained between object and light source 401 apart from induction module 403
Real-time range.Control module 402 is additionally operable to the corresponding relation of the brightness degree and light source and the distance between object according to light source
Adjust the luminosity of simultaneously selected light 401.Wherein, by being obtained in real time between object and light source 401 apart from induction module 403
Distance, the distance is denoted as real-time range.The brightness degree of light source 401 is corresponding with the distance between object with light source 401
Relation could be arranged to single order, second order or multi order linear functional relation, or piecewise function relation, be not limited thereto,
To adjust the luminosity of light source 401 is decreased or increased in far and near according to real-time range.
Preferably, it is additionally operable to apart from induction module 403 after the luminosity of regulation light source 401, obtains object and light
The second current distance between source 401;Timer 404 is additionally operable to detect that the second current distance keeps constant second when continuing
Between;Control module is additionally operable to when detecting for the second duration more than default second time, the luminance of locked light 401
Degree.Wherein, the second current distance and the method for the second duration are obtained with the first current distance of acquisition and the first duration,
Therefore not to repeat here.Default second time can be for example 2 seconds, if the second duration was more than or equal to default second
Between, the brightness of locked light 401.In other embodiments, it would however also be possible to employ the brightness of other modes locked light 401, such as will
Object is removed from the detectable scope of induction module 403.After the brightness of locked light 401, can repeatedly unlock,
The operating process of the brightness of illumination of regulation and locked light 401, can also press the screen that key lights mobile terminal, close
Black out source 401.
Preferably, control module 402 be additionally operable to when real-time range be equal to default first apart from when, regulation light source 401
Luminosity be equal to 401 rated power of light source when luminosity 15%;When real-time range is equal to default second distance,
Adjust light source 401 luminosity be equal to 401 rated power of light source when luminosity 80%;When real-time range is less than or equal to
Default 3rd apart from when, regulation light source 401 luminosity be equal to 401 rated power of light source when luminosity 10%;When
Real-time range be less than more than second distance and first apart from when, regulation light source 401 luminosity be more than the rated power of light source 401
When luminosity 15% and luminosity during less than 401 rated power of light source 80%, and adjust it with real-time range
Increase and reduce;When real-time range is more than the 3rd distance and is less than second distance, the luminosity of regulation light source 401 is more than
10% of luminosity during 401 rated power of light source and 80% of luminosity during less than 401 rated power of light source, and adjust
Its reduction with real-time range and reduce.
Preferably, the first distance can be 10 centimetres.Second distance can be 3 centimetres, and the 3rd distance can be 1 centimetre.
Further, control module 402 can also set the 4th distance(Such as 8 centimetres), the 5th distance(Such as 5 centimetres), the
Six distances(Such as 2 centimetres), or more segmentation distances are set for adjusting the different luminosity of light source 401, for example:When in real time away from
During from more than second distance and less than or equal to a distance from the 4th, when the luminosity of regulation light source 401 is 401 rated power of light source
The 50% of luminosity, when real-time range be more than the 4th distance and less than first apart from when, regulation light source 401 luminosity be
70% of luminosity during 401 rated power of light source.
It should be noted that in more embodiments, the default very first time, the second time, the first distance, second away from
From, with a distance from the 3rd and the numerical value 10%, 15% and 80% of luminosity of the regulation light source 401 of control module 402 can also be according to need
Ask and be set as other numerical value.
In the present embodiment, control module 402 is eliminated by the brightness of illumination apart from induction mode regulation light source 401
User adjusts the troublesome operation process of the brightness of illumination of light source 401 by button or touch operation, facilitates user to adjust.Together
When, using unlocked by the way of induction bonded timing or locked light 401 brightness, play opening for brightness of illumination regulatory function
The effect of pass, it is to avoid maloperation.In addition, control module 402 makes it be less than light source 401 by adjusting the luminosity of light source 401
Luminosity during rated power, so as to play the effect of power and energy saving.In addition, user can be according to the selection of current application scene not
Same distance is interval, and regulation light source 401 is different luminosity, increases Consumer's Experience.
The embodiment of the present invention also provides a kind of mobile terminal, and mobile terminal includes the regulation of the brightness of illumination of above-described embodiment
Device.The other structures of mobile terminal refer to prior art, belong to skilled addressee readily understands that scope, herein not
It is described further.
In summary, the present invention is provided mobile terminal and its adjusting method, the device of brightness of illumination, should by distance perspective
Mode adjusts the brightness of illumination of mobile terminal, and the illumination for eliminating user and being adjusted by button or touch operation mobile terminal is bright
The troublesome operation process of degree.And before regulation brightness of illumination, using unlocking the bright of light source by the way of induction bonded timing
Degree, can accurately start brightness of illumination regulatory function, it is to avoid maloperation.
Embodiments of the invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.