CN105700620A - Control instruction execution method and apparatus - Google Patents

Control instruction execution method and apparatus Download PDF

Info

Publication number
CN105700620A
CN105700620A CN201410698382.XA CN201410698382A CN105700620A CN 105700620 A CN105700620 A CN 105700620A CN 201410698382 A CN201410698382 A CN 201410698382A CN 105700620 A CN105700620 A CN 105700620A
Authority
CN
China
Prior art keywords
temperature
ambient temperature
detection
difference
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410698382.XA
Other languages
Chinese (zh)
Other versions
CN105700620B (en
Inventor
秦牧云
姜建辉
彭荣安
刘学龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201410698382.XA priority Critical patent/CN105700620B/en
Publication of CN105700620A publication Critical patent/CN105700620A/en
Application granted granted Critical
Publication of CN105700620B publication Critical patent/CN105700620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Temperature Or Quantity Of Heat (AREA)
  • Addition Polymer Or Copolymer, Post-Treatments, Or Chemical Modifications (AREA)
  • Telephone Function (AREA)

Abstract

Embodiments of the invention disclose a control instruction execution method and apparatus, and belong to the technical field of computers. The method comprises the steps that a terminal obtains a detection temperature through a temperature sensor; the terminal obtains a temperature threshold located in a temperature range between an environmental temperature and a body surface temperature and determined according to the environmental temperature and the pre-stored body surface temperature; and if a temperature difference of the detection temperature and the environmental temperature is greater than that of the temperature threshold and the environmental temperature, then the terminal executes a preset control instruction. With the adoption of the method and apparatus, the frequency of causing misoperations by extrusion can be reduced.

Description

A kind of method and apparatus performing control instruction
Technical field
The present invention relates to field of computer technology, particularly to a kind of method and apparatus performing control instruction。
Background technology
Along with the fast development of computer technology, the application of all kinds of terminal units is more and more extensive。In order to facilitate user that terminal is controlled operation, terminal unit being provided with multiple button, as being used for increasing or reduce the button of volume and for locking or unlock the button of screen, these buttons are generally mechanical key。
When user needs to be controlled terminal operating, it is possible to pressing corresponding button, trigger control instruction, terminal then can process according to this control instruction accordingly。Such as, when user needs to increase volume, it is possible to press the button for increasing volume, triggering the control instruction increasing volume, volume then can be increased by terminal。
In the process realizing the present invention, inventor have found that prior art at least there is problems in that
Mechanical key generally protrudes from the surface of terminal, it is easy to be squeezed, at this moment may the control instruction of triggering terminal, thus, cause that extruding produces the frequency of maloperation bigger。
Summary of the invention
In order to realize reducing the frequency of extruding generation maloperation, embodiments provide a kind of method and apparatus performing control instruction。Described technical scheme is as follows:
First aspect, it is provided that a kind of method performing control instruction, the method can apply to terminal, and the shell of terminal is provided with temperature sensor, and described method includes:
Described terminal obtains detection temperature by described temperature sensor;
Described terminal obtains the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction。
In conjunction with first aspect, in the first possible implementation of this first aspect, described terminal obtains the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores, including:
Described terminal obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
The first in conjunction with first aspect or first aspect is likely to implementation, the second in this first aspect is likely in implementation, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then described terminal performs default control instruction。
The first in conjunction with first aspect or first aspect is likely to implementation, and in the third possible implementation of this first aspect, the temperature sensor that described terminal enclosure is arranged includes the first temperature sensor and the second temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature detected again, then described terminal performs the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature detected again, then described terminal performs the second control instruction。
The third in conjunction with first aspect is likely to implementation, and in the 4th kind of possible implementation of this first aspect, described method also includes:
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then described terminal performs the 3rd control instruction。
The first in conjunction with first aspect or first aspect is likely to implementation, in the 5th kind of possible implementation of this first aspect, the shell of described terminal is provided with multiple temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then described terminal corresponding relation according to the temperature sensor prestored Yu control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
In conjunction with any one in the 5th kind of possible implementation of first aspect to first aspect, in the 6th kind of possible implementation of this first aspect, described terminal obtains detection temperature by described temperature sensor, including:
When reaching the detection cycle preset, described terminal obtains detection temperature by described temperature sensor。
In conjunction with the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation of this first aspect, described method also includes:
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
In conjunction with any one in the 5th kind of possible implementation of first aspect to first aspect, in the 8th kind of possible implementation of this first aspect, described method also includes:
When receiving shell temperature and arranging instruction, described terminal obtains detection temperature by described temperature sensor, is stored as shell temperature。
The first in conjunction with first aspect or first aspect is likely to implementation, in the 9th kind of possible implementation of this first aspect, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then described terminal performs default control instruction。
In conjunction with any one in the 9th kind of possible implementation of first aspect to first aspect, in the tenth kind of possible implementation of this first aspect, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then described terminal performs default control instruction。
In conjunction with first aspect, in the 11st kind of possible implementation of this first aspect, described terminal is additionally provided with environment temperature sensor;
Described ambient temperature is the temperature that described environment temperature sensor detects。
Second aspect, it is provided that a kind of terminal, the shell of described terminal is provided with temperature sensor, and described terminal includes:
Detection temperature acquisition module, for obtaining detection temperature by described temperature sensor;
Threshold value acquisition module, for obtaining the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
Performing module, if being used for the described detection temperature temperature difference with described ambient temperature more than the temperature difference of described temperature threshold Yu described ambient temperature, then performing the control instruction preset。
In conjunction with second aspect, in the first possible implementation of this second aspect, described threshold value acquisition module, it is used for:
Obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
The first in conjunction with second aspect or second aspect is likely to implementation, and the second in this second aspect is likely in implementation, and described execution module is used for:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then perform the control instruction preset。
The first in conjunction with second aspect or second aspect is likely to implementation, and in the third possible implementation of this second aspect, the temperature sensor that described terminal enclosure is arranged includes the first temperature sensor and the second temperature sensor;
Described execution module, is used for:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the second temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the first temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the second control instruction。
The third in conjunction with second aspect is likely to implementation, in the 4th kind of possible implementation of this second aspect, and described execution module, it is additionally operable to:
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then perform the 3rd control instruction。
The first in conjunction with second aspect or second aspect is likely to implementation, in the 5th kind of possible implementation of this second aspect, the shell of described terminal is provided with multiple temperature sensor;
Described execution module, is used for:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then corresponding relation according to the temperature sensor prestored with control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
In conjunction with any one in the 5th kind of possible implementation of second aspect to second aspect, in the 6th kind of possible implementation of this second aspect, described detection temperature acquisition module, it is used for:
When reaching the detection cycle preset, obtain detection temperature by described temperature sensor。
In conjunction with the 6th kind of possible implementation of second aspect, in the 7th kind of possible implementation of this second aspect, described detection temperature acquisition module, it is additionally operable to:
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
In conjunction with any one in the 7th kind of possible implementation of second aspect to second aspect, in the 8th kind of possible implementation of this second aspect, described detection temperature acquisition module, it is additionally operable to:
When receiving shell temperature and arranging instruction, obtain detection temperature by described temperature sensor, be stored as shell temperature。
The first in conjunction with second aspect or second aspect is likely to implementation, and in the 9th kind of possible implementation of this second aspect, described execution module is used for:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then described terminal performs default control instruction。
In conjunction with any one in the 9th kind of possible implementation of second aspect to second aspect, in the tenth kind of possible implementation of this second aspect, described execution module, it is used for:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then perform the control instruction preset。
The third aspect, it is provided that a kind of terminal, the shell of described terminal is provided with temperature sensor, and described terminal includes processor and memorizer, and described memorizer is used for storing described processor executable, and described processor is configured to:
Detection temperature is obtained by described temperature sensor;
Obtain the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset。
In conjunction with the third aspect, it is likely in implementation in the first of this third aspect, the temperature threshold in the temperature range between described ambient temperature and described shell temperature that described acquisition is determined according to ambient temperature and the shell temperature that prestores, including:
Obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
The first in conjunction with the third aspect or the third aspect is likely to implementation, the second in this third aspect is likely in implementation, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then perform the control instruction preset。
The first in conjunction with the third aspect or the third aspect is likely to implementation, and in the third possible implementation of this third aspect, the temperature sensor that described terminal enclosure is arranged includes the first temperature sensor and the second temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the second temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the first temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the second control instruction。
The third in conjunction with the third aspect is likely to implementation, and in the 4th kind of possible implementation of this third aspect, described processor is also configured to
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then perform the 3rd control instruction。
In conjunction with the third aspect or to the third aspect the first be likely to implementation, in the 5th kind of possible implementation of this third aspect, the shell of described terminal is provided with multiple temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then corresponding relation according to the temperature sensor prestored with control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
In conjunction with any one in the 5th kind of possible implementation of the third aspect to the third aspect, in the 6th kind of possible implementation of this third aspect, described terminal obtains detection temperature by described temperature sensor, including:
When reaching the detection cycle preset, obtain detection temperature by described temperature sensor。
In conjunction with the 6th kind of possible implementation of the third aspect, in the 7th kind of possible implementation of this third aspect, described processor is also configured to
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
In conjunction with any one in the 7th kind of possible implementation of the third aspect to the third aspect, in the 8th kind of possible implementation of this third aspect, described processor is also configured to
When receiving shell temperature and arranging instruction, obtain detection temperature by described temperature sensor, be stored as shell temperature。
In conjunction with any one in the 8th kind of possible implementation of the third aspect to the third aspect, in the 9th kind of possible implementation of this third aspect, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then perform the control instruction preset。
In conjunction with any one in the 9th kind of possible implementation of the third aspect to the third aspect, in the tenth kind of possible implementation of this third aspect, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then perform the control instruction preset。
In conjunction with any one in the tenth kind of possible implementation of the third aspect to the third aspect, in the 11st kind of possible implementation of this third aspect, described temperature sensor, including: critesistor, connection circuit and heat-conducting plate;
Described critesistor is arranged at the inner side of described heat-conducting plate;
Described critesistor is electrically connected with the described circuit that is connected。
In conjunction with the 11st kind of possible implementation of the third aspect, in the 12nd kind of possible implementation of this third aspect, described critesistor is fixed on the inner side of described heat-conducting plate by heat conduction adhesive tape。
In conjunction with any one in the 12nd kind of possible implementation of the third aspect to the third aspect, in the 13rd kind of possible implementation of this third aspect, described terminal is additionally provided with environment temperature sensor;
Described ambient temperature is the temperature that described environment temperature sensor detects。
In conjunction with any one in the 13rd kind of possible implementation of the third aspect to the third aspect, in the 14th kind of possible implementation of this third aspect, described terminal is additionally provided with screen locking button, and described screen locking button is mechanical key。
In conjunction with any one in the 14th kind of possible implementation of the third aspect to the third aspect, in the 15th kind of possible implementation of this third aspect, described terminal is additionally provided with reset key, and described reset key is circle hole shape mechanical key。
The technical scheme that the embodiment of the present invention provides has the benefit that
In the embodiment of the present invention, the shell of terminal is provided with temperature sensor, terminal obtains detection temperature by this temperature sensor, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction, so, after replacing mechanical key with temperature sensor, when there being object extruding terminal, control instruction will not be triggered, thus, extruding can be reduced and produce the frequency of maloperation。
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is a kind of method flow diagram performing control instruction that the embodiment of the present invention provides;
Fig. 2 is the circuit diagram of a kind of terminal inner that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of temperature sensor that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of temperature sensor that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of temperature sensor that the embodiment of the present invention provides;
Fig. 6 a, Fig. 6 b are the change schematic diagrams of the detection temperature that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 8 a, Fig. 8 b are the change schematic diagrams of the detection temperature that the embodiment of the present invention provides;
Fig. 9 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Figure 10 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Figure 11 is the structural representation of a kind of terminal that the embodiment of the present invention provides。
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail。
Embodiment one
Embodiments providing a kind of method performing control instruction, the method can apply to terminal, and the shell of terminal is provided with temperature sensor, as it is shown in figure 1, the handling process of the method can comprise the following steps that
Step 101, terminal obtains detection temperature by temperature sensor。
Step 102, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores。
Step 103, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction。
In the embodiment of the present invention, do not limit the execution sequence of step 101 and step 102。
In the embodiment of the present invention, the shell of terminal is provided with temperature sensor, terminal obtains detection temperature by this temperature sensor, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction, so, after replacing mechanical key with temperature sensor, when there being object extruding terminal, control instruction will not be triggered, thus, extruding can be reduced and produce the frequency of maloperation。
Embodiment two
Embodiments providing a kind of method performing control instruction, the executive agent of the method is terminal。Wherein, terminal can be terminal can be the mobile terminal such as mobile phone or panel computer。
Can being provided with temperature sensor on the shell of terminal, this temperature sensor includes: critesistor, connection circuit and heat-conducting plate, wherein: critesistor is arranged at the inner side of heat-conducting plate;Critesistor is electrically connected with being connected circuit。
In force, heat-conducting plate can be connected with the shell of terminal, and can at grade with the shell of terminal, critesistor can be arranged on the inner side of heat-conducting plate, contacts with the inner side of heat-conducting plate, critesistor can also be electrically connected with being connected circuit, the resistance of critesistor can change along with the change of environment temperature, connects circuit and the detection signal of temperature sensor can be sent to the processing apparatus of terminal, as shown in Figure 2, wherein, RdFor divider resistance, R1、R2And R3For critesistor, the detection signal of temperature sensor is by connection circuit transmission to ADC (AnalogtoDigitalConverter, analog-digital converter) carry out analog digital conversion, obtain digital signal to be sent to microcontroller and carry out signal sampling, then sampled signal is sent to terminal handler carries out the process of follow-up flow process。
Optionally, critesistor is fixed on the inner side of heat-conducting plate by heat conduction adhesive tape。
In force, the side of heat conduction adhesive tape can be pasted onto the inner side of heat-conducting plate, and the opposite side of heat conduction adhesive tape can paste critesistor, so that critesistor can be fixed on the inner side of heat-conducting plate。As it is shown on figure 3, temperature sensor can include heat-conducting plate, heat conduction adhesive tape, critesistor, connection circuit (connecting circuit can adopt the form of circuit board to install) and reinforcement steel disc;As shown in Figure 4, it is possible to above-mentioned device is assembled;As it is shown in figure 5, temperature sensor may be mounted on phone housing。
Optionally, terminal is additionally provided with environment temperature sensor;Ambient temperature is the temperature that environment temperature sensor detects。
In force, the shell of terminal is also provided with the temperature sensor (can be called environment temperature sensor) of the ambient temperature for detecting terminal surrounding, then ambient temperature is the temperature that this environment temperature sensor detects, environment temperature sensor can continue to detect the ambient temperature of terminal surrounding, and ambient temperature information is sent to the processor of terminal。It addition, ambient temperature can also be obtained by the detection of said temperature sensor, when being in idle condition such as terminal, the detection of said temperature sensor obtain。
Optionally, terminal is additionally provided with screen locking button, and screen locking button is mechanical key。
In force, terminal is also provided with screen locking button, screen locking button can be mechanical key, for screen carries out screen locking or unblock, and terminal carrying out the operation such as switching on and shutting down, user can press...with one's finger this mechanical key dynamic, if it is shorter to press the time, then triggering terminal can carry out screen locking or unblock process, if with the head of a household by screen locking button, then triggering terminal switching on and shutting down process can be carried out。
Optionally, terminal is additionally provided with reset key, and reset key is circle hole shape mechanical key。
In force, terminal is also provided with reset key, reset key can be circle hole shape mechanical key, may be used for screen and carry out screen locking or unblock, and terminal carries out the operations such as switch, user can stretch into a thinner object (such as toothpick or pin etc.) from the circular hole of terminal enclosure and press reset key, if it is shorter to press the time, then triggering terminal can carry out screen locking or unblock process, press reset key if long, then triggering terminal can carry out switching on and shutting down process。
Based on the temperature sensor arranged on the shell of terminal, the method of the execution control instruction that the embodiment of the present invention provides can be as shown in Figure 1, below in conjunction with detailed description of the invention, handling process shown in Fig. 1 is described in detail, in practice, there is ambient temperature more than shell temperature and ambient temperature less than two kinds of situations of shell temperature, the embodiment of the present invention makes an explanation for ambient temperature less than shell temperature, and content can be such that
Step 101, terminal obtains detection temperature by temperature sensor。
In force, the temperature sensor of terminal can continue to detect the temperature (can be described as detection temperature) of self residing environment, and detection temperature can be sent to the processor of terminal, and detection temperature can be recorded by terminal, in order to follow-up use。
Optionally, it is possible to arrange the detection cycle of temperature sensor, accordingly, the processing procedure of step 101 can be such that when reaching the detection cycle preset, and terminal obtains detection temperature by temperature sensor。
In force, it is possible to pre-set the detection cycle of temperature sensor in terminal, such as 50ms, then, when often reaching 50ms, temperature sensor can carry out a temperature detection, it is possible to detection temperature is sent to the processor of terminal。
Step 102, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores。
In force, it is possible to prestore shell temperature in the terminal, after terminal detects ambient temperature, it is possible in the temperature range between ambient temperature and shell temperature, determine a temperature threshold。Terminal can often detect an ambient temperature, just determines a temperature threshold according to this ambient temperature and shell temperature, it is also possible to after detecting that ambient temperature changes, and determines temperature threshold according to the ambient temperature detected and the shell temperature prestored。
Optionally, temperature threshold can be determined according to percent information, accordingly, the processing procedure of step 102 can be such that terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature, the shell temperature prestored and the percent information that prestores, and percent information is the ratio that temperature threshold is shared in the shell temperature the prestored temperature difference with ambient temperature with the temperature difference of ambient temperature。
In force, it is possible to pre-set, in terminal, the ratio that temperature threshold is shared in the shell temperature the prestored temperature difference with ambient temperature with the temperature difference of ambient temperature。After terminal detects ambient temperature, it is possible to calculate according to ambient temperature, the shell temperature prestored and this percent information and obtain temperature threshold。Such as, the temperature difference of temperature threshold and ambient temperature ratio shared by the shell temperature the prestored temperature difference with ambient temperature is 1/2, the shell temperature prestored is 32 DEG C, if a terminal detects that ambient temperature is 28 DEG C, then may determine that temperature threshold is 30 DEG C。
Step 103, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction。
Wherein, detection temperature is the absolute value detecting temperature with the difference of ambient temperature with the temperature difference of ambient temperature;The temperature difference of temperature threshold and ambient temperature is the absolute value of temperature threshold and the difference of ambient temperature。
In force, there is ambient temperature and be higher than two kinds of situations of shell temperature lower than shell temperature and ambient temperature, if when ambient temperature is lower than shell temperature, detection temperature is more than temperature threshold, then terminal performs default control instruction, if when ambient temperature is higher than shell temperature, detection temperature is less than temperature threshold, then terminal performs default control instruction。For the ambient temperature situation lower than shell temperature, when temperature sensor is not affected by touching, the detection temperature of temperature sensor is identical with ambient temperature, when user's touch temperature sensor, the detection temperature of temperature sensor can increase, and maximum reaches shell temperature。Terminal can be performed continuously over temperature detection, judge that whether detection temperature is identical with temperature threshold, and current detection temperature can be compared with detection temperature before, judge whether temperature changing trend is increase, if terminal judges temperature changing trend is for increasing, and after increasing to temperature threshold, continue to increase, then terminal performs the control instruction preset, and namely user is with finger continuous contact temperature sensor, it is possible to triggering terminal performs control instruction。This control instruction can be various, for instance, control instruction can be audio or video is played out or suspends, it is also possible to is at photograph taking interface or carries out process of taking pictures when screen locking。
Optionally, in order to reduce the probability of erroneous judgement, the processing procedure of step 103 can be such that then terminal performs default control instruction if detecting temperature and the temperature difference of ambient temperature lasting temperature difference more than temperature threshold Yu ambient temperature in the first preset duration。
In force, when the detection temperature that terminal detects is identical with temperature threshold, timing can be started, judge whether the temperature difference of detection temperature and ambient temperature continues the temperature difference more than temperature threshold Yu ambient temperature in preset duration (i.e. the first preset duration), if preset duration is 100ms。(in figure, K0 is ambient temperature as shown in Figure 6 a, Ks is temperature threshold, Kbody is shell temperature), for ambient temperature less than shell temperature in the case of, terminal is in the process being performed continuously over temperature detection, may determine that whether detection temperature is identical with temperature threshold, and may determine that whether temperature changing trend is increase, if temperature changing trend is for increasing, then when detecting temperature and being identical with temperature threshold, terminal starts timing, if detection constant temperature increases, and the persistent period reaches 100ms, then terminal performs default control instruction;As shown in Figure 6 b, for ambient temperature more than shell temperature in the case of, terminal may determine that whether detection temperature is identical with temperature threshold, and may determine that whether temperature changing trend is reduction, if temperature changing trend is for reducing, then when detecting temperature and being identical with temperature threshold, terminal starts timing, if detection constant temperature reduces, and the persistent period reaches 100ms, then terminal performs default control instruction。It addition, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal can shorten the detection cycle, and carries out above-mentioned processing procedure。For ambient temperature less than shell temperature in the case of, when detecting temperature and increasing to temperature threshold, terminal can shorten the detection cycle, 5ms can be foreshortened to by 50ms as detected the cycle, and judge whether detection temperature continues to increase in preset duration (i.e. the first preset duration, such as 100ms), so, terminal can obtain more temperature data, thus reducing the probability of erroneous judgement。
Optionally, user repeatedly can carry out the control instruction of triggering terminal by touch temperature sensor, accordingly, the processing procedure of step 103 can be such that if occurring in the process of fluctuation change in detection temperature, the temperature difference of detection temperature and ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of temperature threshold Yu ambient temperature more than temperature threshold Yu ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then terminal performs default control instruction。
In force, can pre-setting the second preset duration and the 3rd preset duration in terminal, the second preset duration can less than the 3rd preset duration。When detecting temperature and increasing to temperature threshold, terminal can start timing, after detection temperature decreases below temperature threshold, increase to again temperature threshold, terminal stops timing, obtains a detection duration, then judges the relation of this detection duration and the second preset duration and the 3rd preset duration。User can arrange instruction triggers condition in terminal, and instruction triggers condition can include long by (namely detection duration is more than the 3rd preset duration) with short putting in order and the number of times of touch temperature sensor by (namely detecting duration less than the second preset duration)。Such as, user can arrange first short in twice, then long by twice instruction triggers condition for mobile phone unblock, if a terminal detects that first detection duration and second detection duration less than the second preset duration, 3rd detection duration and the 4th detection duration are more than the 3rd preset duration, and being not detected by increasing above the detection temperature of temperature threshold afterwards, then terminal performs to unlock instruction。
Optionally, the shell of terminal can being provided with multiple temperature sensor, the concrete processing mode of step 103 can be varied, following present several feasible processing mode:
Mode one, if in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the ambient temperature temperature difference more than temperature threshold and ambient temperature being detected, the detection temperature of the second temperature sensor and the temperature difference of the ambient temperature temperature difference more than temperature threshold Yu ambient temperature detected again, then terminal performs the first control instruction;If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the ambient temperature temperature difference more than temperature threshold and ambient temperature being detected, the detection temperature of the first temperature sensor and the temperature difference of the ambient temperature temperature difference more than temperature threshold Yu ambient temperature detected again, then terminal performs the second control instruction。
In force, as shown in Figure 7, the temperature sensor arranged in terminal enclosure can include the first temperature sensor and the second temperature sensor, terminal can in conjunction with the detection temperature of the detection temperature of the first temperature sensor in preset duration (i.e. the second preset duration) and the second temperature sensor, determine pending control instruction, if the second preset duration is 400ms。(in figure, K0 is ambient temperature as shown in Figure 8 a, Ks is temperature threshold, Kbody is shell temperature), terminal is in the process being performed continuously over temperature detection, if after the detection temperature of the first temperature sensor increases to temperature threshold, continue to increase, and the persistent period reaches above-mentioned first preset duration, then terminal can start timing, if in 400ms, detect that again the detection temperature of the second temperature sensor increases, and after increasing to temperature threshold, continue to increase, persistent period reaches the first preset duration, then terminal can increase volume (namely performing the first control instruction);As shown in Figure 8 b, if after the detection temperature of the second temperature sensor increases to temperature threshold, continue to increase, and the persistent period reaches the first preset duration, then terminal can start timing, if in 400ms, detect that again the detection temperature of the first temperature sensor increases, and after increasing to temperature threshold, continue to increase, persistent period reaches the first preset duration, then terminal can reduce volume (namely performing the second control instruction)。Namely in the second preset duration, after finger touches the first temperature sensor, the second temperature sensor is slided into again, it is possible to increase volume, after finger touches the second temperature sensor, slide into again the first temperature sensor, it is possible to reduce volume。
Optionally, when user only touches a temperature sensor, can be carried out other and control operation, corresponding processing procedure can be such that if in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the ambient temperature temperature difference more than temperature threshold Yu ambient temperature, then terminal performs the 3rd control instruction。
In force, terminal is in the process carrying out temperature detection, if in the second preset duration, terminal detects that the detection constant temperature of only one of which temperature sensor increases, and after increasing to temperature threshold, continue to increase, then the duty of current screen can be detected by terminal, duty according to current screen, screen is unlocked or locking processing (namely performing the 3rd control instruction), if current screen is lock-out state, is then unlocked process, if current screen is released state, then carry out locking processing。
Mode two, if the temperature difference of the detection temperature of the three-temperature sensor in multiple temperature sensors and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, the then terminal corresponding relation according to the temperature sensor prestored Yu control instruction, determine the control instruction that three-temperature sensor is corresponding, perform the control instruction that three-temperature sensor is corresponding。
In force, as it is shown in figure 9, the shell of terminal can be provided with multiple temperature sensor, and can be that each temperature sensor arranges corresponding control instruction, set up the corresponding relation of temperature sensor and control instruction。When user touches certain temperature sensor (i.e. three-temperature sensor), terminal can detect that the detection constant temperature of this temperature sensor increases, if after detection temperature increases to temperature threshold, continue to increase, then terminal may determine that the control instruction that this temperature sensor is corresponding, then performs this control instruction。Such as, terminal can be provided with correspondence locking respectively or unlock screen, increase volume and reduce the temperature sensor of volume these three function, when user touches the corresponding temperature sensor reducing volume, terminal can detect that the detection constant temperature of this temperature sensor increases, if after detection temperature increases to temperature threshold, continue to increase, then volume can be reduced by terminal。
Optionally, terminal can be passed through to detect to obtain shell temperature, and corresponding processing procedure can be such that when receiving shell temperature and arranging instruction, and terminal obtains detection temperature by temperature sensor, is stored as shell temperature。
In force, user can click, in terminal, the option arranging shell temperature, terminal then can receive shell temperature and arrange instruction, user can arbitrary temperature sensor in sustained touch terminal enclosure, terminal can carry out repeated detection, and calculate these meansigma methodss detecting temperature, this meansigma methods is stored as shell temperature。
In the embodiment of the present invention, the shell of terminal is provided with temperature sensor, terminal obtains detection temperature by this temperature sensor, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction, so, after replacing mechanical key with temperature sensor, when there being object extruding terminal, control instruction will not be triggered, thus, extruding can be reduced and produce the frequency of maloperation。
Embodiment three
Based on identical technology design, the embodiment of the present invention additionally provides a kind of terminal, and the shell of terminal is provided with temperature sensor, and as shown in Figure 10, this terminal includes:
Detection temperature acquisition module 1010, for obtaining detection temperature by described temperature sensor;
Threshold value acquisition module 1020, for obtaining the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
Performing module 1030, if being used for the described detection temperature temperature difference with described ambient temperature more than the temperature difference of described temperature threshold Yu described ambient temperature, then performing the control instruction preset。
Optionally, described threshold value acquisition module 1020, it is used for:
Obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
Optionally, described execution module 1030, it is used for:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then perform the control instruction preset。
Optionally, the temperature sensor described terminal enclosure arranged includes the first temperature sensor and the second temperature sensor;
Described execution module 1030, is used for:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the second temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the first temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the second control instruction。
Optionally, described execution module 1030, it is additionally operable to:
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then perform the 3rd control instruction。
Optionally, the shell of described terminal is provided with multiple temperature sensor;
Described execution module 1030, is used for:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then corresponding relation according to the temperature sensor prestored with control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
Optionally, described detection temperature acquisition module 1010, it is used for:
When reaching the detection cycle preset, obtain detection temperature by described temperature sensor。
Optionally, described detection temperature acquisition module 1010, it is additionally operable to:
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
Optionally, described detection temperature acquisition module 1010, it is additionally operable to:
When receiving shell temperature and arranging instruction, obtain detection temperature by described temperature sensor, be stored as shell temperature。
Optionally, described execution module 1030, it is used for:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then described terminal performs default control instruction。
Optionally, described execution module 1030, it is used for:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then perform the control instruction preset。
In the embodiment of the present invention, the shell of terminal is provided with temperature sensor, terminal obtains detection temperature by this temperature sensor, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction, so, after replacing mechanical key with temperature sensor, when there being object extruding terminal, control instruction will not be triggered, thus, extruding can be reduced and produce the frequency of maloperation。
It should be understood that the device of the execution control instruction of above-described embodiment offer is when performing control instruction, only it is illustrated with the division of above-mentioned each functional module, in practical application, as desired above-mentioned functions distribution can be completed by different functional modules, it is divided into different functional modules, to complete all or part of function described above by the internal structure of equipment。It addition, the device of execution control instruction that above-described embodiment provides belongs to same design with the embodiment of the method for execution control instruction, it implements process and refers to embodiment of the method, repeats no more here。
Embodiment four
Refer to Figure 11, it illustrates the structural representation of terminal involved by the embodiment of the present invention, this terminal may be used for implementing the method for the execution control instruction provided in above-described embodiment。Specifically:
Terminal 400 can include RF (RadioFrequency, radio frequency) circuit 110, include the memorizer 120 of one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wirelessfidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 of or more than one process core。It will be understood by those skilled in the art that the terminal structure shown in Figure 11 is not intended that the restriction to terminal, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged。Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfers to one or more than one processor 180 processes;It addition, be sent to base station by relating to up data。Generally, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, bonder, LNA (LowNoiseAmplifier, low-noise amplifier), duplexer etc.。Communicate additionally, RF circuit 110 can also pass through radio communication with network and other equipment。Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, CDMA), WCDMA (WidebandCodeDivisionMultipleAccess, WCDMA), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.。
Memorizer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memorizer 120 by running, thus performing the application of various function and data process。Memorizer 120 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function;Storage data field can store the data (such as voice data, phone directory etc.) etc. that the use according to terminal 400 creates。Additionally, memorizer 120 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts。Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and the input block 130 access to memorizer 120。
Input block 130 can be used for receiving numeral or the character information of input, and produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal and input。Specifically, input block 130 can include Touch sensitive surface 131 and other input equipments 132。Touch sensitive surface 131, also referred to as touching display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on Touch sensitive surface 131 or near Touch sensitive surface 131), and drive corresponding connecting device according to formula set in advance。Optionally, Touch sensitive surface 131 can include touch detecting apparatus and two parts of touch controller。Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180, and can receive order that processor 180 sends and be performed。Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize Touch sensitive surface 131。Except Touch sensitive surface 131, input block 130 can also include other input equipments 132。Specifically, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.。
Display unit 140 can be used for showing the various graphical user interface of information or the information being supplied to user and the terminal 400 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any。Display unit 140 can include display floater 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 141。Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding visual output with preprocessor 180 according to the type of touch event。Although in fig. 11, Touch sensitive surface 131 and display floater 141 are to realize input and input function as two independent parts, but in some embodiments it is possible to by integrated to Touch sensitive surface 131 and display floater 141 and realize input and output function。
Terminal 400 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors。Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate the brightness of display floater 141 according to the light and shade of ambient light, proximity transducer when terminal 400 moves in one's ear, can cut out display floater 141 and/or backlight。One as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, can detect that the size of gravity and direction time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.;Other sensors such as the gyroscope that can also configure as terminal 400, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here。
Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio interface between user and terminal 400。Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to speaker 161, by speaker 161 be converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to be sent to such as another terminal, or voice data is exported to memorizer 120 to process further。Voicefrequency circuit 160 is also possible that earphone jack, to provide the communication of peripheral hardware earphone and terminal 400。
WiFi belongs to short range wireless transmission technology, and terminal 400 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed。Although Figure 11 illustrates WiFi module 170, but it is understood that, it is also not belonging to must be configured into of terminal 400, completely can as needed in do not change invention essence scope in and omit。
Processor 180 is the control centre of terminal 400, utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in memorizer 120 and/or module by running or performing, and call the data being stored in memorizer 120, perform the various functions of terminal 400 and process data, thus mobile phone is carried out integral monitoring。Optionally, processor 180 can include one or more process core;Preferably, processor 180 can integrated application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication。It is understood that above-mentioned modem processor can not also be integrated in processor 180。
Terminal 400 also includes the power supply 190 (such as battery) powered to all parts, preferably, it is logically contiguous with processor 180 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system。Power supply 190 can also include one or more direct current or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator。
The shell of terminal is provided with temperature sensor。
Optionally, described temperature sensor, including: critesistor, connection circuit and heat-conducting plate;Described critesistor is arranged at the inner side of described heat-conducting plate;Described critesistor is electrically connected with the described circuit that is connected。
Optionally, described critesistor is fixed on the inner side of described heat-conducting plate by heat conduction adhesive tape。
Optionally, described terminal is additionally provided with environment temperature sensor;Described ambient temperature is the temperature that described environment temperature sensor detects。
Optionally, described terminal is additionally provided with screen locking button, and described screen locking button is mechanical key。
Optionally, described terminal is additionally provided with reset key, and described reset key is circle hole shape mechanical key。
Although not shown, terminal 400 can also include photographic head, bluetooth module etc., does not repeat them here。Specifically in the present embodiment, the display unit of terminal 400 is touch-screen display, terminal 400 also includes memorizer, and one or more than one program, one of them or more than one program are stored in memorizer, and are configured to be performed to state one or more than one program package containing the instruction for carrying out following operation by one or more than one processor:
Described terminal obtains detection temperature by described temperature sensor;
Described terminal obtains the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction。
Optionally, described terminal obtains the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores, including:
Described terminal obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
Optionally, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then described terminal performs default control instruction。
Optionally, the temperature sensor described terminal enclosure arranged includes the first temperature sensor and the second temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature detected again, then described terminal performs the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature detected again, then described terminal performs the second control instruction。
Optionally, described method also includes:
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then described terminal performs the 3rd control instruction。
Optionally, the shell of described terminal is provided with multiple temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then described terminal corresponding relation according to the temperature sensor prestored Yu control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
Optionally, described terminal obtains detection temperature by described temperature sensor, including:
When reaching the detection cycle preset, described terminal obtains detection temperature by described temperature sensor。
Optionally, described method also includes:
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
Optionally, described method also includes:
When receiving shell temperature and arranging instruction, described terminal obtains detection temperature by described temperature sensor, is stored as shell temperature。
Optionally, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then described terminal performs default control instruction。
Optionally, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then described terminal performs default control instruction。
Optionally, described terminal is additionally provided with environment temperature sensor;
Described ambient temperature is the temperature that described environment temperature sensor detects。
In the embodiment of the present invention, the shell of terminal is provided with temperature sensor, terminal obtains detection temperature by this temperature sensor, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction, so, after replacing mechanical key with temperature sensor, when there being object extruding terminal, control instruction will not be triggered, thus, extruding can be reduced and produce the frequency of maloperation。
Embodiment five
Based on identical technology design, the embodiment of the present invention additionally provides a kind of terminal, and the shell of terminal is provided with temperature sensor, and terminal includes processor and memorizer, and memorizer is used for storing described processor executable, and processor is configured to:
Detection temperature is obtained by described temperature sensor;
Obtain the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset。
Optionally, the temperature threshold in the temperature range between described ambient temperature and described shell temperature that described acquisition is determined according to ambient temperature and the shell temperature that prestores, including:
Obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
Optionally, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then perform the control instruction preset。
Optionally, the temperature sensor described terminal enclosure arranged includes the first temperature sensor and the second temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the second temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the first temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the second control instruction。
Optionally, described processor is also configured to
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then perform the 3rd control instruction。
Optionally, the shell of described terminal is provided with multiple temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then corresponding relation according to the temperature sensor prestored with control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
Optionally, described terminal obtains detection temperature by described temperature sensor, including:
When reaching the detection cycle preset, obtain detection temperature by described temperature sensor。
Optionally, described processor is also configured to
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
Optionally, described processor is also configured to
When receiving shell temperature and arranging instruction, obtain detection temperature by described temperature sensor, be stored as shell temperature。
Optionally, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then perform the control instruction preset。
Optionally, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then perform the control instruction preset。
Optionally, described temperature sensor, including: critesistor, connection circuit and heat-conducting plate;
Described critesistor is arranged at the inner side of described heat-conducting plate;
Described critesistor is electrically connected with the described circuit that is connected。
Optionally, described critesistor is fixed on the inner side of described heat-conducting plate by heat conduction adhesive tape。
Optionally, described terminal is additionally provided with environment temperature sensor;
Described ambient temperature is the temperature that described environment temperature sensor detects。
Optionally, described terminal is additionally provided with screen locking button, and described screen locking button is mechanical key。
Optionally, described terminal is additionally provided with reset key, and described reset key is circle hole shape mechanical key。
In the embodiment of the present invention, the shell of terminal is provided with temperature sensor, terminal obtains detection temperature by this temperature sensor, terminal obtains the temperature threshold in the temperature range between ambient temperature and shell temperature determined according to ambient temperature and the shell temperature that prestores, if the temperature difference of detection temperature and ambient temperature is more than the temperature difference of temperature threshold Yu ambient temperature, then terminal performs default control instruction, so, after replacing mechanical key with temperature sensor, when there being object extruding terminal, control instruction will not be triggered, thus, extruding can be reduced and produce the frequency of maloperation。
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be completed by hardware, can also be completed by the hardware that program carrys out instruction relevant, described program can be stored in a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc.。
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention。

Claims (39)

1. the method performing control instruction, it is characterised in that being provided with temperature sensor on the shell of terminal, described method includes:
Described terminal obtains detection temperature by described temperature sensor;
Described terminal obtains the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction。
2. method according to claim 1, it is characterised in that described terminal obtains the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores, including:
Described terminal obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
3. method according to claim 1 and 2, it is characterised in that if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then described terminal performs default control instruction。
4. method according to claim 1 and 2, it is characterised in that the temperature sensor arranged in described terminal enclosure includes the first temperature sensor and the second temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature detected again, then described terminal performs the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature detected again, then described terminal performs the second control instruction。
5. method according to claim 4, it is characterised in that described method also includes:
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then described terminal performs the 3rd control instruction。
6. method according to claim 1 and 2, it is characterised in that be provided with multiple temperature sensor on the shell of described terminal;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then described terminal corresponding relation according to the temperature sensor prestored Yu control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
7. the method according to any one of claim 1-6, it is characterised in that described terminal obtains detection temperature by described temperature sensor, including:
When reaching the detection cycle preset, described terminal obtains detection temperature by described temperature sensor。
8. method according to claim 7, it is characterised in that described method also includes:
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
9. the method according to any one of claim 1-8, it is characterised in that described method also includes:
When receiving shell temperature and arranging instruction, described terminal obtains detection temperature by described temperature sensor, is stored as shell temperature。
10. method according to claim 1 and 2, it is characterised in that if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then described terminal performs default control instruction。
11. the method according to any one of claim 1-10, it is characterized in that, if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then described terminal performs default control instruction, including:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then described terminal performs default control instruction。
12. method according to claim 1, it is characterised in that described terminal is additionally provided with environment temperature sensor;
Described ambient temperature is the temperature that described environment temperature sensor detects。
13. a terminal, it is characterised in that being provided with temperature sensor on the shell of described terminal, described terminal includes:
Detection temperature acquisition module, for obtaining detection temperature by described temperature sensor;
Threshold value acquisition module, for obtaining the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
Performing module, if being used for the described detection temperature temperature difference with described ambient temperature more than the temperature difference of described temperature threshold Yu described ambient temperature, then performing the control instruction preset。
14. terminal according to claim 13, it is characterised in that described threshold value acquisition module, it is used for:
Obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
15. the terminal according to claim 13 or 14, it is characterised in that described execution module, it is used for:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then perform the control instruction preset。
16. the terminal according to claim 13 or 14, it is characterised in that the temperature sensor arranged in described terminal enclosure includes the first temperature sensor and the second temperature sensor;
Described execution module, is used for:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the second temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the first temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the second control instruction。
17. terminal according to claim 16, it is characterised in that described execution module, it is additionally operable to:
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then perform the 3rd control instruction。
18. the terminal according to claim 13 or 14, it is characterised in that be provided with multiple temperature sensor on the shell of described terminal;
Described execution module, is used for:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then corresponding relation according to the temperature sensor prestored with control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
19. the terminal according to any one of claim 13-18, it is characterised in that described detection temperature acquisition module, it is used for:
When reaching the detection cycle preset, obtain detection temperature by described temperature sensor。
20. terminal according to claim 19, it is characterised in that described detection temperature acquisition module, it is additionally operable to:
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
21. the terminal according to any one of claim 13-20, it is characterised in that described detection temperature acquisition module, it is additionally operable to:
When receiving shell temperature and arranging instruction, obtain detection temperature by described temperature sensor, be stored as shell temperature。
22. the terminal according to claim 13 or 14, it is characterised in that described execution module, it is used for:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then described terminal performs default control instruction。
23. the terminal according to any one of claim 13-22, it is characterised in that described execution module, it is used for:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then perform the control instruction preset。
24. a terminal, it is characterised in that be provided with temperature sensor on the shell of described terminal, described terminal includes processor and memorizer, and described memorizer is used for storing described processor executable, and described processor is configured to:
Detection temperature is obtained by described temperature sensor;
Obtain the temperature threshold in the temperature range between described ambient temperature and described shell temperature determined according to ambient temperature and the shell temperature that prestores;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset。
25. terminal according to claim 24, it is characterised in that the temperature threshold in the temperature range between described ambient temperature and described shell temperature that described acquisition is determined according to ambient temperature and the shell temperature that prestores, including:
Obtain according to described ambient temperature, described in temperature threshold in the temperature range between described ambient temperature and described shell temperature determined of the shell temperature that prestores and the percent information that prestores, described percent information is the ratio that described temperature threshold is shared in the described shell temperature the prestored temperature difference with described ambient temperature with the temperature difference of described ambient temperature。
26. the terminal according to claim 24 or 25, it is characterised in that if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If described detection temperature and the temperature difference of the described ambient temperature lasting temperature difference more than described temperature threshold Yu described ambient temperature in the first preset duration, then perform the control instruction preset。
27. the terminal according to claim 24 or 25, it is characterised in that the temperature sensor arranged in described terminal enclosure includes the first temperature sensor and the second temperature sensor;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If in the second preset duration, after the detection temperature of the first temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the second temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the first control instruction;
If in the second preset duration, after the detection temperature of the second temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold and described ambient temperature being detected, detect that again the detection temperature of the first temperature sensor and the temperature difference of described ambient temperature are more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the second control instruction。
28. terminal according to claim 27, it is characterised in that described processor is also configured to
If in the second preset duration, the detection temperature of only one of which temperature sensor and the temperature difference of the described ambient temperature temperature difference more than described temperature threshold Yu described ambient temperature, then perform the 3rd control instruction。
29. the terminal according to claim 24 or 25, it is characterised in that be provided with multiple temperature sensor on the shell of described terminal;
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If the temperature difference of the detection temperature of the three-temperature sensor in the plurality of temperature sensor and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, the then corresponding relation according to the temperature sensor prestored with control instruction, determine the control instruction that described three-temperature sensor is corresponding, perform the control instruction that described three-temperature sensor is corresponding。
30. the terminal according to any one of claim 24-29, it is characterised in that described terminal obtains detection temperature by described temperature sensor, including:
When reaching the detection cycle preset, obtain detection temperature by described temperature sensor。
31. terminal according to claim 30, it is characterised in that described processor is also configured to
If the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then shorten the described detection cycle。
32. the terminal according to any one of claim 24-21, it is characterised in that described processor is also configured to
When receiving shell temperature and arranging instruction, obtain detection temperature by described temperature sensor, be stored as shell temperature。
33. the terminal according to any one of claim 24-32, it is characterised in that if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If occurring in the process of fluctuation change in described detection temperature, the temperature difference of described detection temperature and described ambient temperature is repeatedly by the temperature difference being transformed to less than the temperature difference of described temperature threshold Yu described ambient temperature more than described temperature threshold Yu described ambient temperature, and the number of times of the interval time repeatedly converted and conversion meets default instruction triggers condition, then perform the control instruction preset。
34. the terminal according to any one of claim 24-33, it is characterised in that if the temperature difference of described detection temperature and described ambient temperature is more than the temperature difference of described temperature threshold Yu described ambient temperature, then perform the control instruction preset, including:
If described detection temperature is more than described temperature threshold when described ambient temperature is lower than described shell temperature, or when described ambient temperature is higher than described shell temperature, described detection temperature is less than described temperature threshold, then perform the control instruction preset。
35. the terminal according to any one of claim 24-34, it is characterised in that described temperature sensor, including: critesistor, connection circuit and heat-conducting plate;
Described critesistor is arranged at the inner side of described heat-conducting plate;
Described critesistor is electrically connected with the described circuit that is connected。
36. terminal according to claim 35, it is characterised in that described critesistor is fixed on the inner side of described heat-conducting plate by heat conduction adhesive tape。
37. the terminal according to any one of claim 24-36, it is characterised in that described terminal is additionally provided with environment temperature sensor;
Described ambient temperature is the temperature that described environment temperature sensor detects。
38. the terminal according to any one of claim 24-37, it is characterised in that described terminal is additionally provided with screen locking button, and described screen locking button is mechanical key。
39. the terminal according to any one of claim 24-38, it is characterised in that described terminal is additionally provided with reset key, described reset key is circle hole shape mechanical key。
CN201410698382.XA 2014-11-26 2014-11-26 A kind of method and apparatus executing control instruction Active CN105700620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410698382.XA CN105700620B (en) 2014-11-26 2014-11-26 A kind of method and apparatus executing control instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410698382.XA CN105700620B (en) 2014-11-26 2014-11-26 A kind of method and apparatus executing control instruction

Publications (2)

Publication Number Publication Date
CN105700620A true CN105700620A (en) 2016-06-22
CN105700620B CN105700620B (en) 2019-09-03

Family

ID=56295311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410698382.XA Active CN105700620B (en) 2014-11-26 2014-11-26 A kind of method and apparatus executing control instruction

Country Status (1)

Country Link
CN (1) CN105700620B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878506A (en) * 2017-03-29 2017-06-20 北京小米移动软件有限公司 mobile terminal and volume adjusting method
CN106888332A (en) * 2017-03-29 2017-06-23 北京小米移动软件有限公司 mobile terminal and volume adjusting method
CN107396605A (en) * 2017-08-07 2017-11-24 珠海格力电器股份有限公司 Router heat abstractor, method and apparatus
CN109739279A (en) * 2018-12-26 2019-05-10 深圳云天励飞技术有限公司 Temprature control method, device, electronic equipment and storage medium
CN111505730A (en) * 2020-04-20 2020-08-07 北京小米移动软件有限公司 Proximity sensor and terminal device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661328A (en) * 2008-08-26 2010-03-03 鸿富锦精密工业(深圳)有限公司 Electronic device with temperature sensing function and use method thereof
CN101968709A (en) * 2010-09-17 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and airflow induction based operation method and system thereof
CN103167140A (en) * 2012-09-14 2013-06-19 深圳市金立通信设备有限公司 System and method awakening mobile phone based on temperature and humidity induction
CN103294583A (en) * 2013-05-29 2013-09-11 深圳市金立通信设备有限公司 Terminal screen control method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661328A (en) * 2008-08-26 2010-03-03 鸿富锦精密工业(深圳)有限公司 Electronic device with temperature sensing function and use method thereof
CN101968709A (en) * 2010-09-17 2011-02-09 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and airflow induction based operation method and system thereof
CN103167140A (en) * 2012-09-14 2013-06-19 深圳市金立通信设备有限公司 System and method awakening mobile phone based on temperature and humidity induction
CN103294583A (en) * 2013-05-29 2013-09-11 深圳市金立通信设备有限公司 Terminal screen control method and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878506A (en) * 2017-03-29 2017-06-20 北京小米移动软件有限公司 mobile terminal and volume adjusting method
CN106888332A (en) * 2017-03-29 2017-06-23 北京小米移动软件有限公司 mobile terminal and volume adjusting method
CN107396605A (en) * 2017-08-07 2017-11-24 珠海格力电器股份有限公司 Router heat abstractor, method and apparatus
CN107396605B (en) * 2017-08-07 2023-04-14 珠海格力电器股份有限公司 Router heat dissipation device, method and equipment
CN109739279A (en) * 2018-12-26 2019-05-10 深圳云天励飞技术有限公司 Temprature control method, device, electronic equipment and storage medium
CN111505730A (en) * 2020-04-20 2020-08-07 北京小米移动软件有限公司 Proximity sensor and terminal device
CN111505730B (en) * 2020-04-20 2023-12-19 北京小米移动软件有限公司 Proximity sensor and terminal device

Also Published As

Publication number Publication date
CN105700620B (en) 2019-09-03

Similar Documents

Publication Publication Date Title
CN103500002B (en) The method of application program management, device and terminal unit
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN103399633B (en) A kind of wireless remote control method and mobile terminal
CN103389863A (en) Display control method and device
CN103489303A (en) Remote control method and device
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
US20170097725A1 (en) Device and method for starting mobile terminal application and mobile terminal
CN104423822A (en) Automated test script recording method and device
CN104850406A (en) Page switching method and device
CN104077184B (en) A kind of course control method and computer system of application program
CN105700620A (en) Control instruction execution method and apparatus
CN103312597B (en) A kind of speech message generation method and device
CN106708633B (en) The method and mobile terminal of increasing terminal WiFi workstation mode closing velocities
CN103197944B (en) Method for determining performance of process of application program and computer system
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal
CN105162930B (en) The way of recording and device of mobile terminal
CN105739856A (en) Object operation processing execution method and apparatus
CN203406864U (en) A SIM card pedestal and a terminal
CN105100361B (en) The way of recording and device of mobile terminal
CN105808043A (en) Setting method of terminal application and mobile terminal
CN103336677B (en) A kind of methods, devices and systems to display device output image
WO2015154700A1 (en) Method and apparatus for repairing dynamic link library file
CN104599129A (en) Affirming method and device for executing operation
CN106254673A (en) Terminal fall detection method and device
CN110891262A (en) Bluetooth pairing method, system and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: HUAWEI terminal (Dongguan) Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant