Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Portable terminal described in the embodiment of the invention can comprise: mobile phone, panel computer, notebook computer, digital camera, Digital Video etc.Above-mentioned portable terminal only is for example, and non exhaustive, including but not limited to above-mentioned portable terminal.To be example below with the mobile phone specifically describes method and the portable terminal of the adjusting mobile terminal screen brightness described in the embodiment of the invention.
Referring to Fig. 1, it is the first embodiment schematic flow sheet of the method for the adjusting mobile terminal screen brightness that provides of the embodiment of the invention.The method of the adjusting mobile terminal screen brightness described in the present embodiment comprises step:
S101 obtains the environmental element of portable terminal environment of living in.
In the specific implementation, above-mentioned environmental element can comprise: time, light intensity, background noise etc., wherein, the time can comprise the system time of mobile phone, perhaps the time on the network.Handset starting after then can obtain the system time of mobile phone in real time, perhaps when mobile phone is in the networking state, then can obtain the time on the network in real time, to judge the ambient condition of current phone environment of living in according to the time that gets access to, for example, mobile phone can judge that current phone environment of living in is daytime or night according to the cell phone system time that gets access to or network time.In addition, mobile phone can also obtain the light intensity of mobile phone environment of living in real time according to the residing position of cellphone subscriber by the transducers such as optical sensor of mobile phone, can also obtain the environmental elements such as background noise of mobile phone environment of living in by equipment such as mobile microphones in real time, to judge the ambient condition of mobile phone environment of living in according to environmental elements such as the light intensity that gets access to, background noises.For example, mobile phone gets access to the light intensity of mobile phone environment of living in by its built-in optical sensors, and obtaining after the background noise of mobile phone environment of living in then what can judge the current environment of living in of mobile phone according to the light intensity of the mobile phone environment of living in that gets access to by its built-in microphone is a well-lighted environment or a rather dark environment, and also the background noise of the mobile phone environment of living in that can get access to according to mobile phone judges that mobile phone present located environment is indoor environment or outdoor environment etc.
S102 judges the environment scene of described portable terminal environment of living in according to described environmental element.
In the specific implementation, the real-time environmental element (comprising time, light intensity, background noise) that mobile phone gets access to mobile phone environment of living in then can be judged the environment scene of the current environment of living in of mobile phone according to the real-time environmental element that gets access to afterwards.For example, mobile phone can according to the real-time environmental element that gets access to judge mobile phone current be to be in the strong outdoor environment of sunray, still mobile phone is current is in the well-lighted indoor environment of light, and perhaps current to be in a rather dark indoor environment medium for mobile phone.Concrete, mobile phone is judged before the environment scene of mobile phone environment of living in according to the environmental element of the mobile phone environment of living in that gets access to, can be preset a plurality of environment scenes earlier in mobile phone, and set the environmental element span of each environment scene correspondence.For example, can be earlier according to the concrete operating position of mobile phone, be as the criterion with the time and in mobile phone, preset two environment scenes, for example daytime and night, and set daytime time corresponding be the 6:00 AM clock to 6 o'clock of evening, night, the time corresponding scope was 6 o'clock in 6 o'clock to morning in the evening.In addition, can also be that the environment scene at above-mentioned daytime of brigadier and night carries out refinement with light intensity or background noise, set a plurality of environment scenes such as first environment scene, second environment scene, the 3rd environment scene, and set the span of environmental elements such as each environment scene time corresponding scope, light intensity scope and noise decibel scope.Mobile phone gets access to after the real-time environmental element of mobile phone environment of living in then the environment scene that can judge mobile phone environment of living in according to the above-mentioned environment scene that presets and corresponding environmental element span thereof.Concrete, mobile phone gets access to the system time of mobile phone or after network time, can judge then which time range the time that gets access to drop on, can determine residing time range of the time that gets access to according to the environmental element span of the environment scene correspondence that presets, also the residing noise decibel of the background noise scope that can determine the residing light intensity scope of the light intensity that gets access to and get access to according to the environmental element span of the environment scene correspondence that presets is determined the environmental element span of mobile phone environment of living in this.Mobile phone determined according to the environmental element span of a plurality of environment scene correspondences of presetting after the span of elements such as time that mobile phone obtains in real time, light intensity, background noise, then can judge the corresponding environment scene of span of time of obtaining in real time, light intensity, background noise according to the environment scene that presets and the corresponding relation of the span of environmental element.In the specific implementation, mobile phone can be according to the time, light intensity, a screen intensity that environmental element is regulated mobile phone in the background noise, be that mobile phone can be according to the environment scene time corresponding that presets, light intensity, the span of an environmental element in the background noise is determined the environment scene of mobile phone environment of living in, also can be according to the time, light intensity, a plurality of environmental elements in the background noise, even the more environmental element screen intensity of regulating mobile phone, namely mobile phone can be according to the environment scene time corresponding that presets, light intensity, the span of the span of a plurality of environmental elements in the background noise or more environmental element is determined the environment scene of mobile phone environment of living in.For example, mobile phone can preestablish environment scene and comprise first environment scene, second environment scene, the 3rd environment scene, and the environmental element span of setting first environment scene correspondence comprises that time range is 6 up to 12 o'clock, the light intensity strength range be the X1 bank to the X2 bank, noise decibel scope is that the A1 decibel is to the A2 decibel; The environmental element span of second environment scene correspondence comprises that time range is 12 up to 18 o'clock, the light intensity strength range be light intensity be the X3 bank to the X4 bank, noise decibel scope is that the A3 decibel is to the A4 decibel; The environmental element span of the 3rd environment scene correspondence comprises that time range is 18 up to 6 o'clock, the light intensity strength range is that light intensity is that the X5 bank is to the X6 bank, noise decibel scope is that the A5 decibel is to A6 decibel (wherein X1, X2, X3, X4, X5, X6, and A1, A2, A3, A4, A5, A6 can come to determine concrete numerical value by experiment).In the specific implementation, can be by experiment or the investigation of cellphone subscriber's operating position preset a plurality of environment scenes, above-mentioned first environment scene, second environment scene, the 3rd environment scene only are for example, and non exhaustive.The environmental element that mobile phone presets after first environment scene, second environment scene, the 3rd environment scene and the corresponding environmental element span thereof then the mobile phone environment of living in that can get access in real time according to mobile phone is determined the scope of each environmental element correspondence, with the span of definite environmental element.For example, the time that gets access to the current environment of living in of mobile phone when mobile phone is points in mornings 8, current light intensity is that (X is greater than X1 for the X bank, less than X2), current background noise is that (A is greater than A1 for the A decibel, less than A2) after, then can determine the span of time that mobile phone obtains in real time, light intensity, background noise, can determine current environmental element span, and determine that according to this span the environment scene of current phone environment of living in is the first environment scene.
S103 according to the corresponding relation of the environment scene that prestores and mobile terminal screen brightness value, arranges the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in.
S104 regulates described mobile terminal screen brightness according to the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in.
Mobile phone determines that by above-mentioned steps the environment scene of the current environment of living in of mobile phone then can arrange the current screen intensity value of mobile phone according to this environment scene afterwards.In the specific implementation, can in mobile phone, set and store the mobile phone screen brightness value of each default environment scene correspondence in advance, for example, can preestablish the mobile phone screen brightness value of first environment scene correspondence, the mobile phone screen brightness value of second environment scene correspondence and the mobile phone screen brightness value of the 3rd environment scene correspondence.Mobile phone is determined after the environment scene of the current environment of living in of mobile phone according to the environmental element that obtains in real time, the corresponding mobile phone screen brightness value of environment scene of current phone environment of living in then can be set according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value, and the screen intensity of regulating mobile phone according to this screen intensity value.For example, after mobile phone judges that the environment scene that obtains the current environment of living in of mobile phone is the first environment scene, then can the corresponding mobile phone screen brightness of mobile phone present located environment scene (being the first environment scene) be set according to the first environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value, and the screen intensity of regulating mobile phone according to this screen intensity value.
Present embodiment is determined the environment scene of the current environment of living in of mobile phone by the environmental element that obtains mobile phone environment of living in real time, and determine the corresponding mobile phone screen brightness value of environment scene of the current environment of living in of mobile phone according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value, then can regulate mobile phone screen brightness according to this screen intensity value after setting the mobile phone screen brightness value.Present embodiment can usually be regulated the screen intensity of mobile phone according to the real time environment unit of mobile phone environment of living in, can save the power consumption of mobile phone, also can strengthen the intellectuality of mobile phone, improve the flexibility of the screen intensity adjusting of mobile phone, strengthen user's experience effect of mobile phone.
Referring to Fig. 2, it is the second embodiment schematic flow sheet of the method for the adjusting mobile terminal screen brightness that provides of the embodiment of the invention.The method of the adjusting mobile terminal screen brightness described in the present embodiment comprises step:
S201 obtains the environmental element of portable terminal environment of living in.
In the specific implementation, above-mentioned environmental element can comprise: time, light intensity, background noise etc., wherein, the time can comprise the system time of mobile phone, perhaps the time on the network.Handset starting after then can obtain the system time of mobile phone in real time, perhaps when mobile phone is in the networking state, then can obtain the time on the network in real time, to judge the ambient condition of current phone environment of living in according to the time that gets access to, for example, can judge that current phone environment of living in is daytime or night according to cell phone system time or the network time of obtaining all.In addition, mobile phone can also obtain the light intensity of mobile phone environment of living in real time according to the residing position of cellphone subscriber by the transducers such as optical sensor of mobile phone, can also obtain the environmental elements such as background noise of mobile phone environment of living in by equipment such as mobile microphones in real time, to judge the ambient condition of mobile phone environment of living in according to environmental elements such as the light intensity that gets access to, background noises.For example, mobile phone gets access to the light intensity of mobile phone environment of living in by its built-in optical sensors, obtaining after the background noise of mobile phone environment of living in then what can judge the current environment of living in of mobile phone according to the light intensity of the mobile phone environment of living in that gets access to by its built-in microphone is a well-lighted environment or a rather dark environment, and the background noise of the mobile phone environment of living in that can also get access to according to mobile phone judges that mobile phone present located environment is indoor environment or outdoor environment etc.
S202 presets a plurality of environment scenes and sets the environmental element span of each described environment scene correspondence.
S203, determine in residing time range of the time that gets access to, the residing light intensity scope of light intensity, the residing noise decibel of the background noise scope at least a, to determine the environmental element span.
S204 is according to the environment scene that presets and the corresponding relation of environmental element span, judges the environment scene of described definite environmental element span correspondence.
In the specific implementation, the real-time environmental element (comprising time, light intensity, background noise) that mobile phone gets access to mobile phone environment of living in then can be judged the environment scene of the current environment of living in of mobile phone according to the real-time environmental element that gets access to afterwards.For example, mobile phone can according to the real-time environmental element that gets access to judge mobile phone current be to be in the strong outdoor environment of sunray, still mobile phone is current is in the well-lighted indoor environment of light, and perhaps current to be in a rather dark indoor environment medium for mobile phone.Concrete, mobile phone is judged before the environment scene of mobile phone environment of living in according to the environmental element of the mobile phone environment of living in that gets access to, can be preset a plurality of environment scenes earlier in mobile phone, and set the environmental element span of each environment scene correspondence.For example, can be earlier according to the concrete operating position of mobile phone, be as the criterion with the time and in mobile phone, preset two environment scenes, for example daytime and night, and set daytime time corresponding be the 6:00 AM clock to 6 o'clock of evening, night, the time corresponding scope was 6 o'clock in 6 o'clock to morning in the evening.In addition, can also be that the environment scene at above-mentioned daytime of brigadier and night carries out refinement with light intensity or background noise, set a plurality of environment scenes such as first environment scene, second environment scene, the 3rd environment scene, and set the span of environmental elements such as each environment scene time corresponding scope, light intensity scope and noise decibel scope.Mobile phone gets access to after the real-time environmental element of mobile phone environment of living in then the environment scene that can judge mobile phone environment of living in according to the above-mentioned environment scene that presets and corresponding environmental element span thereof.Concrete, mobile phone gets access to the system time of mobile phone or after network time, can judge then which time range the time that gets access to drop on, can be according to determining residing time range of the time that gets access in the environmental element span that presets the environment scene correspondence, also the residing noise decibel of the background noise scope that can determine the residing light intensity scope of the light intensity that gets access to and get access to according to the environmental element span of the environment scene correspondence that presets is determined the environmental element span of mobile phone environment of living in this.Mobile phone determined according to the environmental element span of a plurality of environment scene correspondences of presetting after the span of elements such as time that mobile phone obtains in real time, light intensity, background noise, then can judge the corresponding environment scene of span of time of obtaining in real time, light intensity, background noise according to the environment scene that presets and the corresponding relation of the span of environmental element.In the specific implementation, mobile phone can be according to the time, light intensity, a screen intensity that environmental element is regulated mobile phone in the background noise, be that mobile phone can be according to the environment scene time corresponding that presets, light intensity, the span of an environmental element in the background noise is determined the environment scene of mobile phone environment of living in, also can be according to the time, light intensity, a plurality of environmental elements in the background noise, even the more environmental element screen intensity of regulating mobile phone, namely mobile phone can be according to the environment scene time corresponding that presets, light intensity, the span of the span of a plurality of environmental elements in the background noise or more environmental element is determined the environment scene of mobile phone environment of living in.For example, mobile phone can preestablish environment scene and comprise first environment scene, second environment scene, the 3rd environment scene, and the environmental element span of setting first environment scene correspondence comprises that time range is 6 up to 12 o'clock, the light intensity strength range be the X1 bank to the X2 bank, noise decibel scope is that the A1 decibel is to the A2 decibel; The environmental element span of second environment scene correspondence comprises that time range is 12 up to 18 o'clock, the light intensity strength range be light intensity be the X3 bank to the X4 bank, noise decibel scope is that the A3 decibel is to the A4 decibel; The environmental element span of the 3rd environment scene correspondence comprises that time range is 18 up to 6 o'clock, the light intensity strength range is that light intensity is that the X5 bank is to the X6 bank, noise decibel scope is that the A5 decibel is to A6 decibel (wherein X1, X2, X3, X4, X5, X6, and A1, A2, A3, A4, A5, A6 can come to determine concrete numerical value by experiment).In the specific implementation, can be by experiment or the investigation of cellphone subscriber's operating position preset a plurality of environment scenes, above-mentioned first environment scene, second environment scene, the 3rd environment scene only are for example, and non exhaustive.The environmental element that mobile phone presets after first environment scene, second environment scene, the 3rd environment scene and the corresponding environmental element span thereof then the mobile phone environment of living in that can get access in real time according to mobile phone is determined the scope of each environmental element correspondence, with the span of definite environmental element.For example, the time that gets access to the current environment of living in of mobile phone when mobile phone is points in mornings 8, current light intensity is that (X is greater than X1 for the X bank, less than X2), current background noise is that (A is greater than A1 for the A decibel, less than A2), then can determine the span of time that mobile phone obtains in real time, light intensity, background noise, can determine current environmental element span, and determine that according to this span the environment scene of current phone environment of living in is the first environment scene.
S205 according to the corresponding relation of the environment scene that prestores and mobile terminal screen brightness value, arranges the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in.
Mobile phone determines that by above-mentioned steps the environment scene of the current environment of living in of mobile phone then can arrange the current screen intensity value of mobile phone according to this environment scene afterwards.In the specific implementation, can in mobile phone, set and store the mobile phone screen brightness value of each default environment scene correspondence in advance, for example, can preestablish the mobile phone screen brightness value of first environment scene correspondence, the mobile phone screen brightness value of second environment scene correspondence and the mobile phone screen brightness value of the 3rd environment scene correspondence.Mobile phone is determined after the environment scene of the current environment of living in of mobile phone according to the environmental element that obtains in real time, the corresponding mobile phone screen brightness value of environment scene of current phone environment of living in then can be set according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value.For example, after mobile phone judges that the environment scene that obtains the current environment of living in of mobile phone is the first environment scene, then can the corresponding mobile phone screen brightness of mobile phone present located environment scene (being the first environment scene) be set according to the first environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value.
S206 judges whether described mobile terminal user is adjusted the screen intensity of described portable terminal, if judged result is not for, and execution in step S207 then, if judged result is for being, execution in step S208 then.
S207 regulates described mobile terminal screen brightness according to the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in.
S208, the screen intensity of regulating described portable terminal according to the screen intensity value of described mobile phone users adjustment.
S209 judges whether mobile phone users reaches predetermined number of times to the adjustment number of times of described environment scene corresponding mobile terminal screen intensity value in Preset Time.
S210 revises the described environment scene corresponding mobile terminal screen intensity value that prestores according to the screen intensity value of described mobile phone users adjustment.
In the specific implementation, mobile phone sets after the screen intensity value of mobile phone, then the screen intensity that can regulate mobile phone according to this mobile phone screen brightness value.Concrete, can judge earlier whether the cellphone subscriber adjusts (namely manually adjusting) to the screen intensity of mobile phone, if judge and learn that the cellphone subscriber does not manually adjust the mobile phone screen intensity, then can regulate the screen intensity of mobile phone according to the mobile phone screen brightness value of above-mentioned setting, if judge and to learn that the cellphone subscriber has carried out manual adjustment to the mobile phone screen intensity, the screen intensity that can regulate mobile phone according to the screen intensity value that the cellphone subscriber adjusts then.In the specific implementation, mobile phone is regulated the adjustment of mobile phone screen intensity according to the cellphone subscriber after the screen intensity of mobile phone, also can revise the mobile phone screen brightness value of the environment scene correspondence that prestores in the mobile phone the concrete condition of the adjusting of mobile phone screen intensity according to the cellphone subscriber.Concrete, when the cellphone subscriber adjusts the mobile phone screen brightness of the environment scene correspondence of mobile phone current phone environment of living in, mobile phone can get off the screen intensity value record that the cellphone subscriber adjusts, and the screen intensity value that the cellphone subscriber adjusts is mapped with the environment scene of the current environment of living in of mobile phone, also the corresponding relation of the environment scene of the screen intensity value of cellphone subscriber's adjustment and this screen intensity value and mobile phone environment of living in can be stored in the mobile phone.When the number of times of the mobile phone screen brightness value of this environment scene correspondence being adjusted as the cellphone subscriber surpasses predetermined number of times in Preset Time, then can revise this environment scene corresponding mobile terminal screen intensity value that prestores in the mobile phone according to the screen intensity value that the cellphone subscriber adjusts.For example, after mobile phone judges that according to the environmental element of current environment of living in the environment scene of learning current environment of living in also is provided with the screen intensity value of mobile phone for the environment scene of current environment of living in, if the cellphone subscriber adjusts this mobile phone screen brightness value, and the number of times that the cellphone subscriber adjusts the mobile phone screen brightness value of this environment scene correspondence in the default time (a for example week) surpasses predetermined number of times (for example 4 times), then can revise the mobile phone screen brightness value of this environment scene correspondence of prestoring in the mobile phone according to the mobile phone screen brightness value of cellphone subscriber's adjustment.Concrete, the mobile phone screen brightness value that prestores can be adjusted into the screen intensity value that arranges when the cellphone subscriber adjusts the mobile phone screen brightness value, perhaps the screen intensity value that arranges according to the cellphone subscriber is adjusted, is revised the mobile phone screen brightness value that prestores in the mobile phone.After the mobile phone screen brightness value of regulating according to the cellphone subscriber is revised the mobile phone screen brightness value of this environment scene correspondence of prestoring in the mobile phone, when mobile phone learns that according to the environmental element judgement of the mobile phone environment of living in that gets access to the environment scene of mobile phone environment of living in is for then arranging the screen intensity of mobile phone according to revised mobile phone screen brightness value after this environment scene again, make and the screen intensity that mobile phone screen brightness is wanted near the cellphone subscriber more make mobile phone have better user's experience effect.
Present embodiment is determined the environment scene of the current environment of living in of mobile phone by the environmental element that obtains mobile phone environment of living in real time, and determine the corresponding mobile phone screen brightness value of environment scene of the current environment of living in of mobile phone according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value, set and then can regulate mobile phone screen brightness according to this screen intensity value after the mobile phone screen brightness value, can also regulate mobile phone screen brightness and the screen intensity value that prestores is revised according to the screen intensity value that the cellphone subscriber adjusts.Present embodiment can usually be regulated the screen intensity of mobile phone according to the real time environment unit of mobile phone environment of living in, can save the power consumption of mobile phone, also can strengthen the intellectuality of mobile phone, also can revise the screen intensity value that prestores according to cellphone subscriber's adjustment, improve the flexibility of the screen intensity adjusting of mobile phone, strengthened user's experience effect of mobile phone.
Referring to Fig. 3, it is the first example structure schematic diagram of the portable terminal that provides of the embodiment of the invention.Portable terminal described in the present embodiment comprises:
Acquisition module 10 is for the environmental element that obtains portable terminal environment of living in.
Preset module 20 is used for the environmental element span that presets a plurality of environment scenes and set each described environment scene correspondence.
Judge module 30 is for the environment scene of judging described portable terminal environment of living in according to described environmental element.
Module 40 is set, is used for according to the environment scene that prestores and the corresponding relation of mobile terminal screen brightness value the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in being set.
Adjustment module 50 is used for regulating described mobile terminal screen brightness according to the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in.
Wherein, judge module 30 comprises:
First processing unit 31 is used for determining that residing time range of the time that gets access to, the residing light intensity scope of light intensity, the residing noise decibel of background noise scope are at least a, to determine the environmental element span.
Second processing unit 32 is used for according to the environment scene that presets and the corresponding relation of environmental element span, judges the environment scene of described definite environmental element span correspondence.
In the specific implementation, above-mentioned environmental element can comprise: time, light intensity, background noise etc., wherein, the time can comprise the system time of mobile phone, perhaps the time on the network.Handset starting after then can obtain the system time of mobile phone by acquisition module 10 in real time, perhaps when mobile phone is in the networking state, then can obtain the time on the network in real time, the time that gets access in conjunction with acquisition module 10 with other modules by mobile phone is judged the ambient condition of current phone environment of living in, for example, mobile phone can judge that in conjunction with cell phone system time or network time that acquisition module 10 gets access to current phone environment of living in is daytime or night by judge module 30.In addition, acquisition module 10 can also obtain the light intensity of mobile phone environment of living in real time according to the residing position of cellphone subscriber by the transducers such as optical sensor of mobile phone, can also obtain the environmental elements such as background noise of mobile phone environment of living in by equipment such as mobile microphones in real time, to judge the ambient condition of mobile phone environment of living in according to environmental elements such as the light intensity that gets access to, background noises.For example, acquisition module 10 gets access to the light intensity of mobile phone environment of living in by the built-in optical sensors of mobile phone, and the built-in microphone by mobile phone obtains after the background noise of mobile phone environment of living in, what 30 of judge modules can be judged the current environment of living in of mobile phone according to the light intensity of the mobile phone environment of living in that gets access to is a well-lighted environment or a rather dark environment, and also the background noise of the mobile phone environment of living in that can get access to according to mobile phone judges that mobile phone present located environment is indoor environment or outdoor environment etc.
In the specific implementation, the real-time environmental element (comprising time, light intensity, background noise) that mobile phone gets access to mobile phone environment of living in by its acquisition module 10 then can be judged the environment scene of the current environment of living in of mobile phone by the real-time environmental element that its judge module 30 gets access in conjunction with acquisition module 10 afterwards.For example, judge module 30 can according to the real-time environmental element that acquisition module 10 gets access to judge mobile phone current be to be in the strong outdoor environment of sunray, still mobile phone is current is in the well-lighted indoor environment of light, and perhaps current to be in a rather dark indoor environment medium for mobile phone.Concrete, the environmental element of the mobile phone environment of living in that judge module 30 gets access to according to acquisition module 10 is judged before the environment scene of mobile phone environment of living in, can in mobile phone, preset a plurality of environment scenes earlier by preset module 20, and set the environmental element span of each environment scene correspondence.For example, preset module 20 can be earlier according to the concrete operating position of mobile phone, be as the criterion with the time and in mobile phone, preset two environment scenes, for example daytime and night, and set daytime time corresponding be the 6:00 AM clock to 6 o'clock of evening, night, the time corresponding scope was 6 o'clock in 6 o'clock to morning in the evening.In addition, preset module 20 can also be that the environment scene at above-mentioned daytime of brigadier and night carries out refinement with light intensity or background noise, set a plurality of environment scenes such as first environment scene, second environment scene, the 3rd environment scene, and set the span of environmental elements such as each environment scene time corresponding scope, light intensity scope and noise decibel scope.Mobile phone gets access to after the real-time environmental element of mobile phone environment of living in then the environment scene that the environment scene that can preset in conjunction with above-mentioned preset module 20 by its judge module 30 and corresponding environmental element span thereof are judged mobile phone environment of living in by its acquisition module 10.Concrete, acquisition module 10 gets access to the system time of mobile phone or after network time, which time range 31 times that can get access to according to the data judgement that preset module 20 presets of first processing unit of judge module 30 drop on, the environmental element span of the environment scene correspondence that can preset according to preset module 20 is determined residing time range of the time that gets access to, also the environmental element span of the environment scene correspondence that can preset according to the preset module 20 residing noise decibel of the background noise scope determining the residing light intensity scope of the light intensity that gets access to and get access to is determined the environmental element span of mobile phone environment of living in this.The environmental element span of a plurality of environment scene correspondences that first processing unit 31 presets according to preset module 20 determined after the span of elements such as time that mobile phone obtains in real time, light intensity, background noise, and 32 of second processing units can be judged the corresponding environment scene of span of time of obtaining in real time, light intensity, background noise according to the environment scene that presets and the corresponding relation of the span of environmental element.In the specific implementation, mobile phone can be according to the time, light intensity, a screen intensity that environmental element is regulated mobile phone in the background noise, it is the environment scene time corresponding that judge module 30 can preset according to preset module 20, light intensity, the span of an environmental element in the background noise is determined the environment scene of mobile phone environment of living in, also can be according to the time, light intensity, a plurality of environmental elements in the background noise, even the more environmental element screen intensity of regulating mobile phone, i.e. the judge module 30 environment scene time corresponding that can preset according to preset module 20, light intensity, the span of the span of a plurality of environmental elements in the background noise or more environmental element is determined the environment scene of mobile phone environment of living in.For example, mobile phone can preestablish environment scene by preset module 20 and comprise first environment scene, second environment scene, the 3rd environment scene, and the environmental element span of setting first environment scene correspondence comprises that time range is 6 up to 12 o'clock, the light intensity strength range be the X1 bank to the X2 bank, noise decibel scope is that the A1 decibel is to the A2 decibel; The environmental element span of second environment scene correspondence comprises that time range is 12 up to 18 o'clock, the light intensity strength range be light intensity be the X3 bank to the X4 bank, noise decibel scope is that the A3 decibel is to the A4 decibel; The environmental element span of the 3rd environment scene correspondence comprises that time range is 18 up to 6 o'clock, the light intensity strength range is that light intensity is that the X5 bank is to the X6 bank, noise decibel scope is that the A5 decibel is to A6 decibel (wherein X1, X2, X3, X4, X5, X6, and A1, A2, A3, A4, A5, A6 can come to determine concrete numerical value by experiment).In the specific implementation, preset module 20 can be by experiment or the investigation of cellphone subscriber's operating position preset a plurality of environment scenes, above-mentioned first environment scene, second environment scene, the 3rd environment scene only are for example, and non exhaustive.The environmental element that mobile phone presets after first environment scene, second environment scene, the 3rd environment scene and the corresponding environmental element span thereof then the mobile phone environment of living in that can get access in real time in conjunction with mobile phone acquisition module 10 by its judge module 30 by its preset module 20 is determined the scope of each environmental element correspondence, with the span of definite environmental element.For example, the time that gets access to the current environment of living in of mobile phone when the acquisition module 10 of mobile phone is points in mornings 8, current light intensity is that (X is greater than X1 for the X bank, less than X2,), current background noise is that (A is greater than A1 for the A decibel, less than A2) after, 30 of judge modules can be determined the span of time that mobile phone obtains in real time, light intensity, background noise, can determine current environmental element span, and determine that according to this span the environment scene of current phone environment of living in is the first environment scene.
Mobile phone determines that by judge module 30 environment scene of the current environment of living in of mobile phone then can arrange the current screen intensity value of mobile phone according to this environment scene by module 40 is set afterwards.In the specific implementation, module 40 is set can be in advance to be set in mobile phone and the mobile phone screen brightness value of each environment scene correspondence that memory mobile phone is default, for example, can preestablish the mobile phone screen brightness value of first environment scene correspondence, the mobile phone screen brightness value of second environment scene correspondence and the mobile phone screen brightness value of the 3rd environment scene correspondence.The environmental element that judge module 30 obtains in real time according to acquisition module 10 is determined after the environment scene of the current environment of living in of mobile phone, 40 corresponding mobile phone screen brightness values of environment scene that current phone environment of living in can be set according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value of module are set, and the screen intensity of regulating mobile phone according to this screen intensity value by adjustment module 50.For example, after judge module 30 judges that the environment scene that obtains the current environment of living in of mobile phone is the first environment scene, 40 of modules are set can the corresponding mobile phone screen brightness of mobile phone present located environment scene (being the first environment scene) be set according to the first environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value, and the screen intensity of regulating mobile phone according to this screen intensity value by adjustment module.
Present embodiment obtains the environmental element of mobile phone environment of living in real time by acquisition module, and determines the environment scene of the current environment of living in of mobile phone by judge module.Judge module is determined after the environment scene of the current environment of living in of mobile phone, module is set then can determines the corresponding mobile phone screen brightness value of environment scene of the current environment of living in of mobile phone according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value, and regulate mobile phone screen brightness by adjustment module according to this screen intensity value.Portable terminal described in the present embodiment can usually be regulated the screen intensity of mobile phone according to the real time environment unit of mobile phone environment of living in, can save the power consumption of mobile phone, also can strengthen the intellectuality of mobile phone, improve the flexibility of the screen intensity adjusting of mobile phone, strengthened user's experience effect of mobile phone.
Referring to Fig. 4, it is the second example structure schematic diagram of the portable terminal that provides of the embodiment of the invention.Portable terminal described in the present embodiment comprises:
Acquisition module 10 is for the environmental element that obtains portable terminal environment of living in.
Preset module 20 is used for the environmental element span that presets a plurality of environment scenes and set each described environment scene correspondence.
Judge module 30 is for the environment scene of judging described portable terminal environment of living in according to described environmental element.
Module 40 is set, is used for according to the environment scene that prestores and the corresponding relation of mobile terminal screen brightness value the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in being set.
Adjustment module 60 is used for regulating described mobile terminal screen brightness according to the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in.
Correcting module 70, be used for judging whether described mobile phone users reaches predetermined number of times to the adjustment number of times of described environment scene corresponding mobile terminal screen intensity value in Preset Time, if judged result is for being then according to the screen intensity value of described mobile phone users adjustment the described environment scene corresponding mobile terminal screen intensity value that prestores to be revised.
Wherein, judge module 30 comprises:
First processing unit 31 is used for determining that residing time range of the time that gets access to, the residing light intensity scope of light intensity, the residing noise decibel of background noise scope are at least a, to determine the environmental element span.
Second processing unit 32 is used for according to the environment scene that presets and the corresponding relation of environmental element span, judges the environment scene of described definite environmental element span correspondence.
Wherein, adjustment module 60 comprises:
Discriminating unit 61 is used for judging whether described mobile terminal user is adjusted the screen intensity of described portable terminal.
First regulon 62 is used in described discriminating unit judged result regulating described mobile terminal screen brightness according to the environment scene corresponding mobile terminal screen intensity value of described portable terminal environment of living in for not the time.
Second regulon 63 is used in described discriminating unit judged result when being the screen intensity of regulating described portable terminal according to the screen intensity value of described mobile phone users adjustment.
In the specific implementation, above-mentioned environmental element can comprise: time, light intensity, background noise etc., wherein, the time can comprise the system time of mobile phone, perhaps the time on the network.Handset starting after then can obtain the system time of mobile phone by acquisition module 10 in real time, perhaps when mobile phone is in the networking state, then can obtain the time on the network in real time, the time that gets access in conjunction with acquisition module 10 with other modules by mobile phone is judged the ambient condition of current phone environment of living in, for example, can judge that in conjunction with cell phone system time or network time that acquisition module 10 gets access to current phone environment of living in is daytime or night by judge module 30.In addition, acquisition module 10 can also obtain the light intensity of mobile phone environment of living in real time according to the residing position of cellphone subscriber by the transducers such as optical sensor of mobile phone, can also obtain the environmental elements such as background noise of mobile phone environment of living in by equipment such as mobile microphones in real time, to judge the ambient condition of mobile phone environment of living in according to environmental elements such as the light intensity that gets access to, background noises.For example, acquisition module 10 gets access to the light intensity of mobile phone environment of living in by the built-in optical sensors of mobile phone, and the built-in microphone by mobile phone obtains after the background noise of mobile phone environment of living in, what 30 of judge modules can be judged the current environment of living in of mobile phone according to the light intensity of the mobile phone environment of living in that gets access to is a well-lighted environment or a rather dark environment, and the background noise of the mobile phone environment of living in that can also get access to according to mobile phone judges that mobile phone present located environment is indoor environment or outdoor environment etc.
In the specific implementation, the real-time environmental element (comprising time, light intensity, background noise) that mobile phone gets access to mobile phone environment of living in by its acquisition module 10 then can be judged the environment scene of the current environment of living in of mobile phone by the real-time environmental element that its judge module 30 gets access in conjunction with acquisition module 10 afterwards.For example, judge module 30 can according to the real-time environmental element that acquisition module 10 gets access to judge mobile phone current be to be in the strong outdoor environment of sunray, still mobile phone is current is in the well-lighted indoor environment of light, and perhaps current to be in a rather dark indoor environment medium for mobile phone.Concrete, the environmental element of the mobile phone environment of living in that judge module 30 gets access to according to acquisition module 10 is judged before the environment scene of mobile phone environment of living in, can in mobile phone, preset a plurality of environment scenes earlier by preset module 20, and set the environmental element span of each environment scene correspondence.For example, preset module 20 can be earlier according to the concrete operating position of mobile phone, be as the criterion with the time and in mobile phone, preset two environment scenes, for example daytime and night, and set daytime time corresponding be the 6:00 AM clock to 6 o'clock of evening, night, the time corresponding scope was 6 o'clock in 6 o'clock to morning in the evening.In addition, preset module 20 can also be that the environment scene at above-mentioned daytime of brigadier and night carries out refinement with light intensity or background noise, set a plurality of environment scenes such as first environment scene, second environment scene, the 3rd environment scene, and set the span of environmental elements such as each environment scene time corresponding scope, light intensity scope and noise decibel scope.Mobile phone gets access to after the real-time environmental element of mobile phone environment of living in then the environment scene that the environment scene that can preset according to above-mentioned preset module 20 by its judge module 30 and corresponding environmental element span thereof are judged mobile phone environment of living in by its acquisition module 10.Concrete, acquisition module 10 gets access to the system time of mobile phone or after network time, which time range 31 times that can get access to according to the data judgement that preset module 20 presets of first processing unit of judge module 30 drop on, the environmental element span of the environment scene correspondence that can preset according to preset module 20 is determined residing time range of the time that gets access to, also the environmental element span of the environment scene correspondence that can preset according to the preset module 20 residing noise decibel of the background noise scope determining the residing light intensity scope of the light intensity that gets access to and get access to is determined the environmental element span of mobile phone environment of living in this.The environmental element span of a plurality of environment scene correspondences that first processing unit 31 presets according to preset module 20 determined after the span of elements such as time that mobile phone obtains in real time, light intensity, background noise, and 32 of second processing units can be judged the corresponding environment scene of span of time of obtaining in real time, light intensity, background noise according to the environment scene that presets and the corresponding relation of the span of environmental element.In the specific implementation, mobile phone can be according to the time, light intensity, a screen intensity that environmental element is regulated mobile phone in the background noise, it is the environment scene time corresponding that judge module 30 mobile phones can preset according to preset module 20, light intensity, the span of an environmental element in the background noise is determined the environment scene of mobile phone environment of living in, also can be according to the time, light intensity, a plurality of environmental elements in the background noise, even the more environmental element screen intensity of regulating mobile phone, i.e. the judge module 30 environment scene time corresponding that can preset according to preset module 20, light intensity, the span of the span of a plurality of environmental elements in the background noise or more environmental element is determined the environment scene of mobile phone environment of living in.For example, mobile phone can preestablish environment scene by preset module 20 and comprise first environment scene, second environment scene, the 3rd environment scene, and the environmental element span of setting first environment scene correspondence comprises that time range is 6 up to 12 o'clock, the light intensity strength range be the X1 bank to the X2 bank, noise decibel scope is that the A1 decibel is to the A2 decibel; The environmental element span of second environment scene correspondence comprises that time range is 12 up to 18 o'clock, the light intensity strength range be light intensity be the X3 bank to the X4 bank, noise decibel scope is that the A3 decibel is to the A4 decibel; The environmental element span of the 3rd environment scene correspondence comprises that time range is 18 up to 6 o'clock, the light intensity strength range is that light intensity is that the X5 bank is to the X6 bank, noise decibel scope is that the A5 decibel is to A6 decibel (wherein X1, X2, X3, X4, X5, X6, and A1, A2, A3, A4, A5, A6 can come to determine concrete numerical value by experiment).In the specific implementation, preset module 20 can be by experiment or the investigation of cellphone subscriber's operating position preset a plurality of environment scenes, above-mentioned first environment scene, second environment scene, the 3rd environment scene only are for example, and non exhaustive.The environmental element that mobile phone presets after first environment scene, second environment scene, the 3rd environment scene and the corresponding environmental element span thereof then the mobile phone environment of living in that can get access in real time in conjunction with mobile phone acquisition module 10 by its judge module 30 by its preset module 20 is determined the scope of each environmental element correspondence, with the span of definite environmental element.For example, when acquisition module 10 mobile phones time of getting access to the current environment of living in of mobile phone be points in mornings 8, current light intensity is that (X is greater than X1 for the X bank, less than X2,), current background noise is that (A is greater than A1 for the A decibel, less than A2) after, 30 of judge modules can be determined the span of time that mobile phone obtains in real time, light intensity, background noise, can determine current environmental element span, and determine that according to this span the environment scene of current phone environment of living in is the first environment scene.
Mobile phone determines that by judge module 30 environment scene of the current environment of living in of mobile phone then can arrange the current screen intensity value of mobile phone according to this environment scene by module 40 is set afterwards.In the specific implementation, module 40 is set in mobile phone, sets and to store the mobile phone screen brightness value of each default environment scene correspondence in advance, for example, can preestablish the mobile phone screen brightness value of first environment scene correspondence, the mobile phone screen brightness value of second environment scene correspondence and the mobile phone screen brightness value of the 3rd environment scene correspondence.The environmental element that judge module 30 obtains in real time according to acquisition module 10 is determined after the environment scene of the current environment of living in of mobile phone, and 40 corresponding mobile phone screen brightness values of environment scene that current phone environment of living in can be set according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value of module are set.For example, after judge module 30 judges that the environment scene that obtains the current environment of living in of mobile phone is the first environment scene, 40 of modules are set according to the first environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value the corresponding mobile phone screen brightness of mobile phone present located environment scene (being the first environment scene) are set.
The screen intensity that 60 of adjustment modules can be regulated mobile phone according to this mobile phone screen brightness value in the specific implementation, is set after the screen intensity value that module 40 sets mobile phone.Concrete, when 60 pairs of mobile phone screen intensitys of adjustment module are regulated, can judge by discriminating unit 61 whether the cellphone subscriber adjusts (namely manually adjusting) to the screen intensity of mobile phone earlier, if judge and learn that the cellphone subscriber does not manually adjust the mobile phone screen intensity, then can regulate the screen intensity of mobile phone by first regulon 62 according to the mobile phone screen brightness value of above-mentioned setting, if judge and learn that the cellphone subscriber has carried out manual adjustment to the mobile phone screen intensity, then can be by the screen intensity of second regulon 63 in conjunction with the screen intensity value adjusting mobile phone of cellphone subscriber's adjustment.In the specific implementation, adjustment module 60 is regulated the adjustment of mobile phone screen intensity according to the cellphone subscriber after the screen intensity of mobile phone, also can revise the mobile phone screen brightness value of the environment scene correspondence that prestores in the mobile phone the concrete condition of the adjusting of mobile phone screen intensity according to the cellphone subscriber.Concrete, when the cellphone subscriber adjusts the mobile phone screen brightness of the environment scene correspondence of mobile phone current phone environment of living in, the correcting module 70 of mobile phone can get off the screen intensity value record that the cellphone subscriber adjusts, and the screen intensity value that the cellphone subscriber adjusts is mapped with the environment scene of the current environment of living in of mobile phone, the corresponding relation of the environment scene of the screen intensity value of cellphone subscriber's adjustment and this screen intensity value and mobile phone environment of living in can also be stored in the mobile phone.Correcting module 70 learns that the number of times that the cellphone subscriber adjusts the mobile phone screen brightness value of this environment scene correspondence surpasses after the predetermined number of times, then can revise this environment scene corresponding mobile terminal screen intensity value that prestores in the mobile phone according to the screen intensity value that the cellphone subscriber adjusts in Preset Time.For example, judge according to the environmental element of current environment of living in when judge module 30 and to learn the environment scene of current environment of living in and arrange after module 30 is provided with the screen intensity value of mobile phone for the environment scene of current environment of living in, correcting module 70 learns that the cellphone subscriber adjusts this mobile phone screen brightness value if judge, and the number of times that the cellphone subscriber adjusts the mobile phone screen brightness value of this environment scene correspondence in the default time (a for example week) surpasses predetermined number of times (for example 4 times), then can revise the mobile phone screen brightness value of this environment scene correspondence of prestoring in the mobile phone according to the mobile phone screen brightness value of cellphone subscriber's adjustment.Concrete, the mobile phone screen brightness value that prestores can be adjusted into the screen intensity value that arranges when the cellphone subscriber adjusts the mobile phone screen brightness value when screen intensity value that prestores in 70 pairs of mobile phones of correcting module is revised, perhaps the screen intensity value that arranges according to the cellphone subscriber is adjusted, is revised the mobile phone screen brightness value that prestores in the mobile phone.After the mobile phone screen brightness value that correcting module 70 is regulated according to the cellphone subscriber is revised the mobile phone screen brightness value of this environment scene correspondence of prestoring in the mobile phone, after the environmental element of the mobile phone environment of living in that judge module 30 gets access to according to acquisition module 10 again judges that the environment scene of learning mobile phone environment of living in is this environment scene, 40 screen intensitys that mobile phone can be set according to revised mobile phone screen brightness value of module are set, make and the screen intensity that mobile phone screen brightness is wanted near the cellphone subscriber more make mobile phone have better user's experience effect.
Present embodiment obtains the environmental element of mobile phone environment of living in real time by acquisition module, and determines the environment scene of the current environment of living in of mobile phone by judge module.Judge module is determined after the environment scene of the current environment of living in of mobile phone, module is set then can determines the corresponding mobile phone screen brightness value of environment scene of the current environment of living in of mobile phone according to the environment scene that prestores in the mobile phone and the corresponding relation of mobile phone screen brightness value, and regulate mobile phone screen brightness by adjustment module according to this screen intensity value.In addition, the portable terminal described in the present embodiment can also be regulated mobile phone screen brightness and the screen intensity value that prestores is revised according to the screen intensity value that the cellphone subscriber adjusts.Portable terminal described in the present embodiment can usually be regulated the screen intensity of mobile phone according to the real time environment unit of mobile phone environment of living in, can save the power consumption of mobile phone, also can strengthen the intellectuality of mobile phone, also can revise the screen intensity value that prestores according to cellphone subscriber's adjustment, improve the flexibility of the screen intensity adjusting of mobile phone, strengthened user's experience effect of mobile phone.
Module or unit among all embodiment of the present invention, can pass through universal integrated circuit, CPU(Central Processing Unit for example, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) and realize.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed is preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.