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.
Seeing also Fig. 1, is the schematic flow sheet of the method for a kind of control terminal screen of providing of the embodiment of the invention, may further comprise the steps:
S101 obtains current serviceability temperature by temperature sensor;
S102 detects the current serviceability temperature get access to whether in the temperature range that presets;
Concrete, when the user when using portable terminal, temperature sensor can every interval one period regular time obtain once current serviceability temperature, described serviceability temperature can be the detected user's of temperature sensor palm surface temperature, after getting access to current serviceability temperature, can detect the current serviceability temperature of obtaining whether in the temperature range that presets by portable terminal, the described temperature range that presets can be the determined scope of palm surface temperature according to the user.For example, when preset reference temperature, the medial temperature that temperature sensor detects user's palm surface is 35.5 °, and the temperature range that presets so can be 34.5 ° to 36.5 °.
S103 is if current serviceability temperature is extinguished screen not in the temperature range that presets;
In the time of in detecting the temperature range that the current serviceability temperature that gets access to do not presetting in the S102 step, illustrate that accessed serviceability temperature is not the scope of user's palm surface temperature, can determine that then the user not using portable terminal, extinguishes screen then; In the time of in detecting the temperature range that the current serviceability temperature that gets access to presetting in the S102 step, illustrate that accessed serviceability temperature is the scope of user's palm surface temperature, can determine that then the user is using portable terminal, then allow portable terminal continue operate as normal, and wait for that extinguish screen judges circulation next time, the described screen that extinguishes judges that circulation obtains current serviceability temperature for every certain interval of time, and detects the current serviceability temperature that gets access to whether in the temperature range that presets.
The embodiment of the invention distinguishes by temperature sensor intelligence and whether the control portable terminal needs the screen that goes out, when the user does not use portable terminal, can detect serviceability temperature that temperature sensor obtains not in the temperature range that presets, thereby extinguish screen, otherwise, in the time of in detecting the temperature range that the serviceability temperature obtained presetting, portable terminal is with operate as normal, allow the user at browsing page or need not to worry that portable terminal may extinguish screen suddenly when seeing novel, can bring good experience to the user.
Seeing also Fig. 2, is the schematic flow sheet of the method for the another kind of control terminal screen that provides of the embodiment of the invention, may further comprise the steps:
S201, the changing value of turn-on temperature that detects when start when described temperature sensor are during less than first limit value, and the prompting user selects whether using this terminal;
Concrete, first limit value that this place is mentioned is used for specifically judging whether the user is using portable terminal after start, and can select whether using this portable terminal by the judged result prompting user of first limit value.When mobile terminal-opening, temperature sensor will be gathered turn-on temperature, serviceability temperature when described turn-on temperature is start, after a while, portable terminal is gathered turn-on temperature again one time, and whether the changing value that detects the turn-on temperature that collects for twice less than the first default limit value, if detect to being then can eject a selection interface prompt user and whether use this portable terminal.When the changing value of turn-on temperature during more than or equal to default first limit value, illustrate that portable terminal is used, the temperature sensor of then directly carrying out in the step of S202 that passes through obtains be used to the serviceability temperature that presets described temperature range, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range.
S202 when operation is confirmed in the click that detects the user, then obtains be used to the serviceability temperature that presets described temperature range by temperature sensor, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range;
When whether just in use portable terminal points out the user, the user clicks the affirmation button, it is the click affirmation operation that portable terminal detects the user, then portable terminal will obtain be used to the serviceability temperature that presets described temperature range by temperature sensor, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range; When the changing value of turn-on temperature during more than or equal to default first limit value, portable terminal also will obtain be used to the serviceability temperature that presets described temperature range by temperature sensor, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range.Portable terminal can obtain the serviceability temperature that once is used for presetting described temperature range at set intervals, and calculating is for the mean value of the serviceability temperature that presets described temperature range, determine described temperature range by mean value, for example, the mean value that calculates for the serviceability temperature that presets described temperature range is 36.1 °, can determine that then temperature range is 34.1 ° to 38.1 °.
S203 when operation is confirmed in the click that does not detect the user, extinguishes screen;
Whether portable terminal prompting user uses, and the user still clicks when confirming button after a period of time, and namely portable terminal does not detect user's click affirmation operation, then extinguishes screen.
S204 obtains current serviceability temperature by temperature sensor;
S205 detects the current serviceability temperature get access to whether in the temperature range that presets;
S206 is if current serviceability temperature is extinguished screen not in the temperature range that presets;
After execution of step S202, execution in step S204 is to step S206, be specially, temperature sensor can every interval one period regular time obtain once current serviceability temperature, described serviceability temperature can be user's palm surface temperature, after getting access to current serviceability temperature, can detect the current serviceability temperature of obtaining whether in the temperature range that presets by portable terminal, described temperature range can be for according to the determined scope of user's palm surface temperature.In the time of in detecting the temperature range that the current serviceability temperature that gets access to do not presetting among the step S205, illustrate that accessed serviceability temperature is not the scope of user's palm surface temperature, can determine that then the user not using portable terminal, controls portable terminal then and extinguishes screen; In the time of in detecting the temperature range that the current serviceability temperature that gets access to presetting among the step S205, illustrate that accessed serviceability temperature is in the scope of user's palm surface temperature, can determine that then the user is using portable terminal, then allow portable terminal continue operate as normal, and wait for that extinguish screen judges circulation next time, the described screen that extinguishes judges that circulation obtains current serviceability temperature for every certain interval of time, and detects the current serviceability temperature that gets access to whether in the temperature range that presets.
The embodiment of the invention distinguishes by temperature sensor intelligence and whether the control portable terminal needs the screen that goes out, when the user does not use portable terminal, can detect serviceability temperature that temperature sensor obtains not in the temperature range that presets, thereby extinguish screen, otherwise, in the time of in detecting the temperature range that the serviceability temperature obtained presetting, portable terminal is with operate as normal, allow the user at browsing page or need not to worry that portable terminal may extinguish screen suddenly when seeing novel, can bring good experience to the user.
Seeing also Fig. 3, is the wherein schematic flow sheet of the method in a kind of time interval of detecting preset reference temperature that the embodiment of the invention provides, and may further comprise the steps:
S301, under the state that terminal screen is not extinguished, whether the last time interval of presetting described temperature range of detection distance reaches default time interval threshold value;
S302 is if detect to being the described temperature range of triggering renewal;
Concrete, portable terminal can upgrade described temperature range with certain frequency, changes or when having changed the user, portable terminal still can realize extinguishing the function of screen by temperature sensor with the environment for use that guarantees the user.After the step S202 in Fig. 2, can carry out the step of S301, namely under the state that terminal screen is not extinguished, whether the last time interval of presetting described temperature range of detection distance reaches default time interval threshold value, reach default time interval threshold value if detect, then described temperature range is upgraded in the triggering among the execution in step S302, and continues to wait for and upgrade described temperature range next time.In the temperature range whether current serviceability temperature that gets access to of the detection in the step S205 of Fig. 2 is presetting, wherein, the described temperature range that presets can be the temperature range after upgrading.In conjunction with Fig. 2 and Fig. 3, upgrade the cyclic process of temperature range and detect serviceability temperature whether the cyclic process in the temperature range that presets can independently carry out respectively.
The embodiment of the invention is regularly upgraded temperature range by certain frequency, changes or when having changed the user, portable terminal still can extinguish screen by temperature sensor with the environment for use that guarantees the user.
Seeing also Fig. 4, is wherein a kind of schematic flow sheet that triggers method for updating that the embodiment of the invention provides, and the described method of the embodiment of the invention can be corresponding to the S302 among the embodiment of above-mentioned Fig. 3 correspondence.The embodiment of the invention describes to trigger the described temperature range of renewal, may further comprise the steps:
S401 triggers described temperature sensor and obtains current for the serviceability temperature of upgrading described temperature range;
Concrete, when triggering the described temperature range of renewal, triggering described temperature sensor obtains current for the serviceability temperature of upgrading described temperature range, can be a plurality of current for the serviceability temperature of upgrading described temperature range by obtaining, to calculate current mean value for the serviceability temperature of upgrading described temperature range.
S402 judges whether to satisfy the update condition that presets;
Describedly judge whether to satisfy the update condition preset and can be specially the whether satisfied update condition that presets of the changing value judged between the described current serviceability temperature of obtaining that is used for upgrading described temperature range and the last serviceability temperature of obtaining that is used for the described temperature range of renewal, wherein, described update condition comprises: the described current serviceability temperature of obtaining that be used for to upgrade described temperature range with last obtain be used for upgrading that changing value between the serviceability temperature of described temperature range is less than or equal to the first default limit value and more than or equal to second limit value of presetting.Mentioned herein to first limit value and second limit value specifically be used for judging whether portable terminal needs to upgrade temperature range, described first limit value can be called and upgrades the maximum limit definite value, described second limit value can be called renewal irreducible minimum definite value.For example, the first default limit value is 3 °, the second default limit value is 1 °, when the changing value between the described current serviceability temperature of obtaining that is used for the described temperature range of renewal and the last serviceability temperature of obtaining that is used for the described temperature range of renewal is 1.5 °, because 1.5 ° greater than 1 ° and less than 3 °, so its changing value satisfies the update condition that presets.
S403 upgrades described temperature range according to the described current serviceability temperature of obtaining that is used for the described temperature range of renewal;
When the update condition that presets is satisfied in step S402 judgement, then upgrade described temperature range according to the described current serviceability temperature of obtaining that is used for the described temperature range of renewal, namely recomputate and preset described temperature range according to the described current serviceability temperature of obtaining that be used for to upgrade described temperature range, the temperature range of reinitializing is used for detecting next time the serviceability temperature obtained whether in the temperature range of reinitializing.
S404, when the described current serviceability temperature of obtaining that be used for to upgrade described temperature range with last obtain be used for upgrading changing value between the serviceability temperature of described temperature range greater than first limit value preset the time, extinguish screen;
Concrete, first limit value at this place can be called renewal maximum limit definite value, when step S402 judgement is not satisfied the update condition that presets, and when the described current serviceability temperature of obtaining that be used for to upgrade described temperature range with last obtain be used for upgrading changing value between the serviceability temperature of described temperature range greater than first limit value preset the time, extinguish screen; Second limit value can be called renewal irreducible minimum definite value, when step S402 judgement is not satisfied the update condition that presets, and when the described current serviceability temperature of obtaining that be used for to upgrade described temperature range with the last changing value of serviceability temperature that is used for upgrading described temperature range that obtains during less than default second limit value, can not upgrade described temperature range, the numerical value of the temperature range that namely presets again still is the numerical value of the last temperature range that presets, and wait judges whether to trigger the described temperature range of renewal next time.
The embodiment of the invention is by upgrading temperature range, changes or when having changed the user, portable terminal still can extinguish screen by temperature sensor with the environment for use that guarantees the user.
Seeing also Fig. 5, is the structural representation of a kind of portable terminal of providing of the embodiment of the invention, and described portable terminal comprises: acquisition module 10, range detection module 20, first control module 30;
Described acquisition module 10 is used for obtaining current serviceability temperature by temperature sensor;
When the user when using portable terminal, described acquisition module 10 can obtain once current serviceability temperature by one period regular time of the every interval of temperature sensor, described serviceability temperature can be user's palm surface temperature.
Described range detection module 20, for detection of the current serviceability temperature that gets access to whether in the temperature range that presets;
After described acquisition module 10 gets access to current serviceability temperature, can notify described range detection module 20 to detect the current serviceability temperature of obtaining whether in the temperature range that presets, described temperature range can be for according to the determined scope of user's palm surface temperature.
Described first control module 30 is used for if current serviceability temperature not in the temperature range that presets, is extinguished screen;
In the time of in described range detection module 20 detects the temperature range that the current serviceability temperature that gets access to do not presetting, illustrate that accessed serviceability temperature is not in the scope of user's palm surface temperature, can determine that then the user not using portable terminal, notifies described first control module 30 to extinguish screen then; In the time of in described range detection module 20 detects the temperature range that the current serviceability temperature that gets access to presetting, can determine that then the user is using portable terminal, described first control module 30 can also be controlled this portable terminal and continue operate as normal, and wait for that extinguish screen judges circulation next time, the described screen that extinguishes judges that circulation obtains current serviceability temperature for every certain interval of time, and detects the current serviceability temperature that gets access to whether in the temperature range that presets.
The embodiment of the invention distinguishes by temperature sensor intelligence and whether the control portable terminal needs the screen that goes out, when the user does not use portable terminal, can detect serviceability temperature that temperature sensor obtains not in the temperature range that presets, thereby extinguish screen, otherwise, in the time of in detecting the temperature range that the serviceability temperature obtained presetting, portable terminal is with operate as normal, allow the user at browsing page or need not to worry that portable terminal may extinguish screen suddenly when seeing novel, can bring good experience to the user.
See also Fig. 6, be the structural representation of the another kind of portable terminal that provides of the embodiment of the invention, described portable terminal comprises: reminding module 40, notice computing module 50, second control module 60, acquisition module 10, range detection module 20, first control module 30, time interval detection module 70, trigger update module 80;
Described reminding module 40, the changing value that is used for the turn-on temperature when described temperature sensor detects start are during less than first limit value, and whether prompting user selection is using this terminal;
Concrete, the changing value of the turn-on temperature when described temperature sensor detects start is during less than first limit value, and described reminding module 40 can eject one and select the interface prompt user to select whether using this terminal.First limit value that this place is mentioned is used for specifically judging whether the user is using portable terminal after start, and can select whether using this terminal by the judged result prompting user of first limit value.For example, when mobile terminal-opening, temperature sensor will be gathered turn-on temperature, serviceability temperature when described turn-on temperature is start, after a while, portable terminal is gathered turn-on temperature again one time, and whether detects changing value between the turn-on temperature that collects for twice less than the first default limit value, if detect to being that described reminding module 40 can eject one and select interface prompt user selection whether using this terminal.When the changing value of turn-on temperature during more than or equal to default first limit value, illustrate that portable terminal is used, then directly carried out by described notice computing module 50 and notify described acquisition module 10 to obtain be used to the serviceability temperature that presets described temperature range by temperature sensor, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range.
Described notice computing module 50, be used for when operation is confirmed in the click that detects the user, then notify described acquisition module 10 to obtain be used to the serviceability temperature that presets described temperature range by temperature sensor, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range;
When described reminding module 40 prompting users select whether using this terminal, the user clicks the affirmation button, it is the click affirmation operation that portable terminal detects the user, then described notice computing module 50 notifies described acquisition module 10 to obtain be used to the serviceability temperature that presets described temperature range by temperature sensor, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range; When the changing value of turn-on temperature during more than or equal to default first limit value, described notice computing module 50 also will notify described acquisition module 10 to obtain be used to the serviceability temperature that presets described temperature range by temperature sensor, and according to described be used to the serviceability temperature accounting temperature scope that presets described temperature range.Described notice computing module 50 can notify described acquisition module 10 to obtain the serviceability temperature that once is used for presetting described temperature range at set intervals, and calculating is for the mean value of the serviceability temperature that presets described temperature range, determine described temperature range by mean value, for example, the mean value that calculates for the serviceability temperature that presets described temperature range is 36.1 °, can determine that then temperature range is 34.1 ° to 38.1 °.
Described second control module 60 is used for extinguishing screen when operation is confirmed in the click that does not detect the user;
Described reminding module 40 prompting users select whether using this terminal, and the user still clicks when confirming button after a period of time, and namely portable terminal does not detect user's click affirmation operation, then extinguishes screen by described second control module 60.
Described acquisition module 10 is used for obtaining current serviceability temperature by temperature sensor;
After described notice computing module 50 calculating and preset reference temperature, described acquisition module 10 can also be used for obtaining once current serviceability temperature by one period regular time of the every interval of temperature sensor, and described serviceability temperature can be user's palm surface temperature.
Described range detection module 20, for detection of the current serviceability temperature that gets access to whether in the temperature range that presets;
After described acquisition module 10 gets access to current serviceability temperature, can notify described range detection module 20 to detect the current serviceability temperature of obtaining whether in the temperature range that presets, described temperature range can be for according to the determined scope of user's palm surface temperature.
Described first control module 30 is used for if current serviceability temperature not in the temperature range that presets, is extinguished screen;
In the time of in described range detection module 20 detects the temperature range that the current serviceability temperature that gets access to do not presetting, can determine that then the user not using portable terminal, notifies described first control module 30 to extinguish screen then; In the time of in described range detection module 20 detects the temperature range that the current serviceability temperature that gets access to presetting, can determine that then the user is using portable terminal, described first control module 30 can also be controlled this portable terminal and continue operate as normal, and wait for that extinguish screen judges circulation next time, the described screen that extinguishes judges that circulation obtains current serviceability temperature for every certain interval of time, and detects the current serviceability temperature that gets access to whether in the temperature range that presets.
Described time interval detection module 70 is used under the state that terminal screen is not extinguished, and whether the last time interval of presetting described temperature range of detection distance reaches default time interval threshold value;
After described notice computing module 50 calculates and presets described temperature range, and under the state that mobile terminal screen is not extinguished, whether the described time interval detection module last time interval of presetting described temperature range of 70 detection distances reaches default time interval threshold value.
Described triggering update module 80 is used for if described time interval detection module 70 detects to being then to trigger the described temperature range of renewal;
Reach default time interval during threshold value when described time interval detection module 70 detects the last time interval of presetting described temperature range of distance, then notify described triggering update module 80 to trigger and upgrade described temperature range.
The embodiment of the invention distinguishes by temperature sensor intelligence and whether the control portable terminal needs the screen that goes out, when the user does not use portable terminal, can detect serviceability temperature that temperature sensor obtains not in the temperature range that presets, thereby extinguish screen, otherwise, in the time of in detecting the temperature range that the serviceability temperature obtained presetting, portable terminal is with operate as normal, allow the user at browsing page or need not to worry that portable terminal may extinguish screen suddenly when seeing novel, can bring good experience to the user.
Seeing also Fig. 7, is a kind of structural representation that triggers update module 80 that the embodiment of the invention provides, and described triggering update module 80 comprises: trigger acquiring unit 801, judging unit 802, updating block 803, control module 804;
Described triggering acquiring unit 801 is used for triggering described temperature sensor and obtains current for the serviceability temperature of upgrading described temperature range;
Concrete, described triggering acquiring unit 801 triggers described temperature sensor and obtains current for the serviceability temperature of upgrading described temperature range, described triggering acquiring unit 801 can also be a plurality of current for the serviceability temperature of upgrading described temperature range by obtaining, to calculate current mean value for the serviceability temperature of upgrading described temperature range.
Described judging unit 802 is for judging whether the changing value between the described current serviceability temperature of obtaining that is used for the described temperature range of renewal and the last serviceability temperature of obtaining that is used for the described temperature range of renewal satisfies the update condition that presets;
Described judging unit 802 judges whether the changing value between the described current serviceability temperature of obtaining that is used for the described temperature range of renewal and the last serviceability temperature of obtaining that is used for the described temperature range of renewal satisfies the update condition that presets, wherein, described update condition comprises: the described current serviceability temperature of obtaining that be used for to upgrade described temperature range with last obtain be used for upgrading that changing value between the serviceability temperature of described temperature range is less than or equal to the first default limit value and more than or equal to second limit value of presetting.Mentioned herein to first limit value and second limit value specifically be used for judging whether portable terminal needs to upgrade temperature range, described first limit value can be called and upgrades the maximum limit definite value, described second limit value can be called renewal irreducible minimum definite value.For example, the first default limit value is 3 °, the second default limit value is 1 °, when the changing value between the described current serviceability temperature of obtaining that is used for the described temperature range of renewal and the last serviceability temperature of obtaining that is used for the described temperature range of renewal is 1.5 °, because 1.5 ° greater than 1 ° and less than 3 °, so described judging unit 802 is judged the satisfied update condition that presets.
Described updating block 803 is used for if described judging unit 802 is judged as and is, then upgrades described temperature range according to the described current serviceability temperature of obtaining that is used for the described temperature range of renewal;
When the update condition that presets is satisfied in described judging unit 802 judgements, described updating block 803 will upgrade described temperature range according to the described current serviceability temperature of obtaining that is used for the described temperature range of renewal, namely recomputate and preset described temperature range according to the described current serviceability temperature of obtaining that is used for the described temperature range of renewal, the temperature range of reinitializing is used in the temperature range whether serviceability temperature that obtained by described range detection module 20 detections next time is being reinitialized.
Described control module 804 is used for extinguishing screen when the changing value between the described current serviceability temperature of obtaining that is used for upgrading described temperature range and the last serviceability temperature of obtaining that is used for the described temperature range of renewal during greater than first limit value preset;
Concrete, first limit value at this place can be called renewal maximum limit definite value, when described judging unit 802 judgements are not satisfied the update condition that presets, and when the described current serviceability temperature of obtaining that be used for to upgrade described temperature range with last obtain be used for upgrading changing value between the serviceability temperature of described temperature range greater than first limit value preset the time, described control module 804 extinguishes screen; Second limit value can be called renewal irreducible minimum definite value, when described judging unit 802 judgements are not satisfied the update condition that presets, and when the described current serviceability temperature of obtaining that be used for to upgrade described temperature range with last obtain be used for upgrading changing value between the serviceability temperature of described temperature range less than second limit value preset the time, described control module 804 can also be controlled this portable terminal and not upgrade described temperature range, the numerical value of the temperature range that namely presets again still is the numerical value of the last temperature range that presets, and wait judges whether to trigger the described temperature range of renewal next time.
The embodiment of the invention is by upgrading temperature range, changes or when having changed the user, portable terminal still can extinguish screen by temperature sensor with the environment for use that guarantees the user.
Module described in the embodiment of the invention or unit, can pass through universal integrated circuit, CPU(Central Processing Unit for example, central processing unit), or by ASIC(Application Specific Integrated Circuit, special IC) 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.