CN108458796A - A kind of temperature checking method and mobile terminal - Google Patents

A kind of temperature checking method and mobile terminal Download PDF

Info

Publication number
CN108458796A
CN108458796A CN201810117967.6A CN201810117967A CN108458796A CN 108458796 A CN108458796 A CN 108458796A CN 201810117967 A CN201810117967 A CN 201810117967A CN 108458796 A CN108458796 A CN 108458796A
Authority
CN
China
Prior art keywords
temperature
value
temperature value
temperature sensor
assigned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810117967.6A
Other languages
Chinese (zh)
Inventor
付喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810117967.6A priority Critical patent/CN108458796A/en
Publication of CN108458796A publication Critical patent/CN108458796A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/02Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using thermoelectric elements, e.g. thermocouples
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

An embodiment of the present invention provides a kind of temperature checking method and mobile terminals, are related to field of mobile terminals.The temperature value that the embodiment of the present invention is detected by obtaining mobile terminal specific temperature sensor, when temperature value is equal to the maximum range value or minimum range value of assigned temperature sensor, obtain the temperature value that at least one temperature sensor in mobile terminal in addition to assigned temperature sensor detects, according to the temperature value that at least one temperature sensor detects, the actual temperature value of the corresponding device of assigned temperature sensor is determined.When the temperature value that assigned temperature sensor detects is maximum range value or minimum range value; judge that assigned temperature sensor may fail; the actual temperature value of device is determined by the temperature value that other temperature sensors detect in mobile terminal; with this to determine whether triggering temperature protection operation; so that temperature protection operation is not entirely dependent on the temperature detection of specified sensor, the serious forgiveness of temperature protection operation is improved.

Description

A kind of temperature checking method and mobile terminal
Technical field
The present embodiments relate to field of mobile terminals more particularly to a kind of temperature checking methods and mobile terminal.
Background technology
It is more and more to be used to the activities such as be entertained, be learnt using mobile terminal with the extensive use of mobile terminal, When mobile terminal long time treatment runs at high speed state, the temperature of each device in mobile terminal can change.
Currently, each device generally use temperature sensor in mobile terminal carries out temperature detection, work as temperature sensor When the temperature value of detection exceeds preset temperature range, corresponding temperature protection operation will be triggered.
But when the corresponding temperature sensor fails of device, such as temperature sensor internal short-circuit or open circuit, temperature can be led to The temperature value for spending sensor detection is different from the actual temperature value of device, and the temperature value of temperature sensor detection is fixed as maximum Range value or minimum range value will trigger corresponding temperature protection operation, cause mobile terminal and/or device can not normal work Make.
Invention content
A kind of temperature checking method of offer of the embodiment of the present invention and mobile terminal are lost with solving existing temperature sensor The problem of effect can trigger temperature protection operation, mobile terminal and/or device is caused to can not work normally.
In order to solve the above-mentioned technical problem, the invention is realized in this way:A kind of temperature checking method, including:
Obtain the temperature value that mobile terminal specific temperature sensor detects;
When the temperature value is equal to the maximum range value or minimum range value of the assigned temperature sensor, described in acquisition The temperature value that at least one temperature sensor in mobile terminal in addition to the assigned temperature sensor detects;
According to the temperature value that at least one temperature sensor detects, determine that the assigned temperature sensor is corresponding The actual temperature value of device.
An embodiment of the present invention provides a kind of mobile terminals, including:
First temperature value acquisition module, the temperature value detected for obtaining mobile terminal specific temperature sensor;
Second temperature value acquisition module, the maximum range value for being equal to the assigned temperature sensor when the temperature value Or when minimum range value, at least one temperature sensor inspection in the mobile terminal in addition to the assigned temperature sensor is obtained The temperature value measured;
First actual temperature value determining module, the temperature value for being detected according at least one temperature sensor, Determine the actual temperature value of the corresponding device of the assigned temperature sensor.
The embodiment of the present invention additionally provides a kind of mobile terminal, including processor, memory and is stored in the memory Computer program that is upper and can running on the processor, the computer program realize this hair when being executed by the processor The step of bright described temperature checking method.
In embodiments of the present invention, the temperature value detected by obtaining mobile terminal specific temperature sensor, works as temperature When angle value is equal to the maximum range value or minimum range value of assigned temperature sensor, obtain in mobile terminal except assigned temperature senses The temperature value that at least one temperature sensor outside device detects, according to the temperature value that at least one temperature sensor detects, Determine the actual temperature value of the corresponding device of assigned temperature sensor.When the temperature value for the device that assigned temperature sensor detects For maximum range value or minimum range value when, judge that assigned temperature sensor may fail, pass through other temperature in mobile terminal The temperature value that sensor detects determines the actual temperature value of device, according to actual temperature value to determine whether triggering temperature protection Operation so that temperature protection operates the temperature detection for being not entirely dependent on specified sensor, avoids assigned temperature sensor failure It directly results in mobile terminal and/or device can not work normally, improve the serious forgiveness of temperature protection operation, improve user experience.
Description of the drawings
Fig. 1 shows a kind of flow chart of temperature checking method of the embodiment of the present invention one;
Fig. 2 shows a kind of flow charts of temperature checking method of the embodiment of the present invention two;
Fig. 3 shows a kind of structure diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 shows the structure diagram of another mobile terminal of the embodiment of the present invention three;
Fig. 5 shows the hardware architecture diagram of the mobile terminal of the embodiment of the present invention four.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, the flow chart for showing a kind of temperature checking method of the embodiment of the present invention one, can specifically include as Lower step:
S101 obtains the temperature value that mobile terminal specific temperature sensor detects.
In embodiments of the present invention, each function element is provided in mobile terminal, such as battery, mainboard chip, radio frequency list Member, GPU (Graphics Processing Unit, graphics processor), screen etc., in order to monitor the temperature value of each device, It needs that temperature sensor is respectively set, the temperature value of device is detected by temperature sensor.In order to monitor the temperature of a certain device Value, it is necessary first to obtain the temperature value that the corresponding assigned temperature sensor of the device detects.
Wherein, assigned temperature sensor is battery temperature sensor, mainboard temperature sensor, radio frequency temperature sensor, figure Any one in shape temperature of processor sensor, screen temperature sensor.Battery temperature sensor is detection battery temperature Temperature sensor;Mainboard temperature sensor is the temperature sensor for detecting mainboard chip temperature;Radio frequency temperature sensor is detection The temperature sensor of radio frequency unit temperature;Graphics processor temperature sensor is the temperature sensing of test pattern temperature of processor Device;Screen temperature sensor is the temperature sensor for detecting screen temperature.
Temperature sensor can be NTC (Negative Temperature Coefficient, negative temperature coefficient) temperature-sensitive The resistance value of resistance, NTC thermistor increases with temperature and is reduced;Certainly, temperature sensor can also be PTC (Positive Temperature Coefficient, positive temperature coefficient) thermistor, resistance value increasing with temperature raising of PTC thermistor Greatly.For the concrete type of temperature sensor, the embodiment of the present invention is without limitation.
Generally, it can be previously provided with the resistance value of thermistor and the relationship table of temperature value in the terminal, closing It is resistance value and temperature value one-to-one correspondence in the table of comparisons, and in relationship table, maximum range value and minimum range can be provided with Value, i.e., the maximum temperature values and minimum temperature value that thermistor is able to detect that.When the resistance value of the corresponding thermistor of device becomes When change, according to the current resistance value of thermistor, the corresponding temperature value of device can be found in relationship table,
For example, assigned temperature sensor is battery temperature sensor, battery temperature sensor can be battery NTC temperature-sensitive electricity Resistance, the battery NTC thermistor in general major part mobile terminal are arranged in inside battery or close to the FPC at the positive back side of battery (Flexible Printed Circuit, flexible PCB);If the current resistance value of battery NTC thermistor is 10K Ω, The temperature value found in relationship table is 25 DEG C, i.e., the temperature value that battery NTC thermistor detects is 25 DEG C;If battery When the current resistance value of NTC thermistor is infinitely small, then 80 DEG C of maximum range value, i.e. battery can only be found in relationship table The temperature value that NTC thermistor detects is 80 DEG C of maximum range value;If the current resistance value of battery NTC thermistor is infinitely great When, then -20 DEG C of minimum range value, i.e., the temperature value that battery NTC thermistor detects can only be found in relationship table For -20 DEG C of minimum range value.
S102 is obtained when the temperature value is equal to the maximum range value or minimum range value of the assigned temperature sensor The temperature value for taking at least one temperature sensor in the mobile terminal in addition to the assigned temperature sensor to detect.
In embodiments of the present invention, when the temperature value that assigned temperature sensor detects is equal to the assigned temperature sensor It when maximum range value or minimum range value, then can determine that the assigned temperature sensor may fail, therefore, specify temperature in order to prevent Degree sensor failure causes mobile terminal and/or device can not work normally, and needs to obtain in mobile terminal except assigned temperature passes The temperature value that at least one temperature sensor outside sensor detects.
For example, working as assigned temperature sensor for battery temperature sensor, in mobile terminal in addition to assigned temperature sensor Temperature sensor includes mainboard temperature sensor, radio frequency temperature sensor, graphics processor temperature sensor, screen temperature sensing Device.When the temperature value that battery temperature sensor detects is 80 DEG C of maximum range value, then it can determine that battery temperature sensor can It can fail, obtain the temperature value A for the mainboard chip that mainboard temperature sensor detects respectively, radio frequency temperature sensor detects The temperature value B of radio frequency unit, the temperature value C for the graphics processor that graphics processor temperature sensor detects, screen temperature pass The temperature value D for the screen that sensor detects.
S103 determines the assigned temperature sensor according to the temperature value that at least one temperature sensor detects The actual temperature value of corresponding device.
In embodiments of the present invention, according at least one temperature sensor in mobile terminal in addition to assigned temperature sensor The temperature value detected determines the actual temperature value of the corresponding device of assigned temperature sensor, is judged based on actual temperature value Whether temperature protection operation is triggered.
For example, the temperature value A of the mainboard chip detected according to mainboard temperature sensor, radio frequency temperature sensor detects Radio frequency unit temperature value B, the temperature value C for the graphics processor that graphics processor temperature sensor detects, screen temperature The temperature value D for the screen that sensor detects, determines the actual temperature value of the corresponding battery of battery temperature sensor.
In embodiments of the present invention, the temperature value detected by obtaining mobile terminal specific temperature sensor, works as temperature When angle value is equal to the maximum range value or minimum range value of assigned temperature sensor, obtain in mobile terminal except assigned temperature senses The temperature value that at least one temperature sensor outside device detects, according to the temperature value that at least one temperature sensor detects, Determine the actual temperature value of the corresponding device of assigned temperature sensor.When the temperature value for the device that assigned temperature sensor detects For maximum range value or minimum range value when, judge that assigned temperature sensor may fail, pass through other temperature in mobile terminal The temperature value that sensor detects determines the actual temperature value of device, according to actual temperature value to determine whether triggering temperature protection Operation so that temperature protection operates the temperature detection for being not entirely dependent on specified sensor, avoids assigned temperature sensor failure It directly results in mobile terminal and/or device can not work normally, improve the serious forgiveness of temperature protection operation, improve user experience.
Embodiment two
With reference to Fig. 2, show a kind of flow chart of temperature checking method of the embodiment of the present invention two, can specifically include as Lower step:
S201 obtains the temperature value that mobile terminal specific temperature sensor detects.
This step is similar with the S101 principles in embodiment one, and this will not be detailed here.
S202, when the temperature value is between the maximum range value and minimum range value of the assigned temperature sensor When, the temperature value is determined as to the actual temperature value of the corresponding device of the assigned temperature sensor.
In embodiments of the present invention, the temperature value detected when assigned temperature sensor between assigned temperature sensor most When between wide range value and minimum range value, determines that assigned temperature sensor does not fail, assigned temperature sensor is detected Temperature value is determined as the actual temperature value of the corresponding device of assigned temperature sensor.
For example, assigned temperature sensor is battery temperature sensor, the temperature value that battery temperature sensor detects is 25 DEG C, 80 DEG C of the maximum range value between battery temperature sensor is between -20 DEG C of minimum range value, it is determined that battery temperature senses Device does not fail, and the actual temperature value of battery is 25 DEG C.
S203 is obtained when the temperature value is equal to the maximum range value or minimum range value of the assigned temperature sensor The temperature value for taking at least one temperature sensor in the mobile terminal in addition to the assigned temperature sensor to detect.
This step is similar with the S102 principles in embodiment one, and this will not be detailed here.
S204 divides according to the temperature value that at least one temperature sensor detects in the corresponding temperature table of comparisons The controlled temperature value of the corresponding device of the assigned temperature sensor is not searched.
In embodiments of the present invention, the temperature detection of each device is independent of one another inside mobile terminal, and each device Temperature value has certain contrast relationship each other, is tested in advance, and the corresponding device of detection assigned temperature sensor is not At same temperature, assigned temperature sensor can be obtained in the temperature value of the corresponding device of each temperature sensor of other in mobile terminal The temperature table of comparisons between the temperature value of corresponding device and the temperature value of other devices.
According to the temperature value that at least one temperature sensor in mobile terminal in addition to assigned temperature sensor detects, The controlled temperature value of the corresponding device of assigned temperature sensor is searched in the temperature table of comparisons pre-established respectively.
It is illustrated using assigned temperature sensor as battery temperature sensor, then the corresponding device of assigned temperature sensor Part is battery, and the temperature sensor in mobile terminal in addition to assigned temperature sensor includes mainboard temperature sensor, radio frequency temperature Sensor, graphics processor temperature sensor and screen temperature sensor, corresponding device respectively are mainboard chip, radio frequency Unit, graphics processor and screen.
The temperature table of comparisons between battery temperature value and mainboard chip temperature value can be established by temperature test, such as following table one It is shown:
Table one
It is, of course, also possible to be compareed by the temperature that temperature test is established between battery temperature value and radio frequency unit temperature value The temperature table of comparisons between the temperature value of table, battery temperature value and graphics processor, between battery temperature value and screen temperature value The temperature table of comparisons.
For example, when the temperature value that mainboard temperature sensor detects is A4, in battery temperature value and mainboard chip temperature The controlled temperature value that battery is found in the temperature table of comparisons between value is 15 DEG C, is then detected according to radio frequency temperature sensor Temperature value, the controlled temperature value of battery is found in the temperature table of comparisons between battery temperature value and radio frequency unit temperature value It it is 19 DEG C, according to the temperature value that graphics processor temperature sensor detects, in the temperature of battery temperature value and graphics processor The controlled temperature value that battery is found in the temperature table of comparisons between value is 29 DEG C, the temperature detected according to screen temperature sensor Angle value, the controlled temperature value that battery is found in the temperature table of comparisons between battery temperature value and screen temperature value are 21 DEG C.
S205 is based on the controlled temperature value, determines the actual temperature value of the corresponding device of the assigned temperature sensor.
In embodiments of the present invention, according at least one controlled temperature value found, assigned temperature sensor pair is calculated The actual temperature value for the device answered.
When assigned temperature sensor degradation, closed according to the control between the temperature value of each device in mobile terminal System can determine the corresponding device of assigned temperature sensor respectively with the temperature value that other temperature sensors detect in mobile terminal Controlled temperature value, and then derive the actual temperature value of the corresponding device of assigned temperature sensor so that assigned temperature senses The temperature detection of the corresponding device of device is more intelligent and accurate.
In an embodiment of the present invention, when further include in addition to the assigned temperature sensor in the mobile terminal to When few two temperature sensors, at least two controlled temperature values found are averaged, obtain the assigned temperature sensing The actual temperature value of the corresponding device of device.
When in addition to assigned temperature sensor further including at least two temperature sensors in mobile terminal, according at least two The temperature value that temperature sensor detects searches the corresponding device of assigned temperature sensor respectively in the corresponding temperature table of comparisons Controlled temperature value, the number of the controlled temperature value found is at least two, at least two controlled temperature values found It is averaged, the actual temperature value of the corresponding device of assigned temperature sensor is calculated.
For example, assigned temperature sensor is battery temperature sensor, also wrapped in addition to assigned temperature sensor in mobile terminal Two temperature sensors, respectively mainboard temperature sensor and radio frequency temperature sensor are included, are detected according to mainboard temperature sensor The temperature value A 4 arrived, battery is found in the temperature table of comparisons between battery temperature value and mainboard chip temperature value compares temperature Angle value is 15 DEG C, according to the temperature value that radio frequency temperature sensor detects, between battery temperature value and radio frequency unit temperature value The temperature table of comparisons in find the controlled temperature value of battery be 19 DEG C, to 15 DEG C of two controlled temperature values and controlled temperature value 19 It DEG C is averaged, the actual temperature value for obtaining battery is 17 DEG C.
In another embodiment of the invention, when further including in addition to the assigned temperature sensor in the mobile terminal When at least four temperature sensors, maximum controlled temperature value is removed in at least four controlled temperature values found and minimum is right According to temperature value;In at least four controlled temperatures value, to removing the maximum controlled temperature value and the minimum control temperature Remaining controlled temperature value after angle value is averaged, and obtains the actual temperature value of the corresponding device of the assigned temperature sensor.
When in addition to assigned temperature sensor further including at least four temperature sensors in mobile terminal, according at least four The temperature value that temperature sensor detects searches the corresponding device of assigned temperature sensor respectively in the corresponding temperature table of comparisons Controlled temperature value, the number of the controlled temperature value found is at least four, in at least four controlled temperature values found The maximum controlled temperature value of middle removal and minimum controlled temperature value are right after removing maximum controlled temperature value and minimum controlled temperature value Remaining controlled temperature value is averaged, and the actual temperature value of the corresponding device of assigned temperature sensor is calculated.By right It gets rid of the remaining controlled temperature value after maximum controlled temperature value and minimum controlled temperature value to be averaged, calculates actual temperature Value so that the result of calculation of actual temperature value is more accurate.
For example, assigned temperature sensor is battery temperature sensor, also wrapped in addition to assigned temperature sensor in mobile terminal Include four temperature sensors, respectively mainboard temperature sensor, radio frequency temperature sensor, graphics processor temperature sensor and screen Curtain temperature sensor, the four controlled temperature values found are respectively 15 DEG C, 19 DEG C, 29 DEG C and 21 DEG C, remove maximum control temperature 29 DEG C of angle value and minimum 15 DEG C of controlled temperature value, remaining controlled temperature value is 19 DEG C and 21 DEG C, to remaining controlled temperature value 19 DEG C and 21 DEG C are averaged, and the actual temperature value for obtaining battery is 20 DEG C.
Optionally, it after S202 or S205, when the actual temperature value exceeds preset temperature range, executes to described The protection of mobile terminal and/or the corresponding device of the assigned temperature sensor operates.
In embodiments of the present invention, when the actual temperature value of the corresponding device of assigned temperature sensor exceeds preset temperature model When enclosing, executes and the temperature protection of mobile terminal and/or the corresponding device of assigned temperature sensor is operated, prevent temperature is excessively high from leading Device quick aging is caused, influences the service life of device, while reducing security risk.
For example, the corresponding device of assigned temperature sensor is battery, the preset temperature range of battery charging is 0 DEG C to 55 DEG C, mobile terminal forbids the preset temperature range of shutdown to be less than 60 DEG C, when the reality of the battery detected by S202 or S205 When temperature value is 65 DEG C, forbids the preset temperature range of shutdown beyond battery charging and mobile terminal, then execute to mobile terminal It is operated with the temperature protection of battery, that is, controls mobile terminal and carry out power-off operation, while forbidding charging the battery, prevent electricity Security risk is reduced while the quick aging of pond.
Certainly, when the actual temperature value of the corresponding device of assigned temperature sensor is without departing from preset temperature range, control Mobile terminal and the corresponding proper device operation of assigned temperature sensor.
In embodiments of the present invention, the temperature value of the device detected when assigned temperature sensor is for maximum range value or most When small-range value, judge that assigned temperature sensor may fail, between the temperature value according to each device in mobile terminal Contrast relationship, assigned temperature sensor pair is determined by other temperature sensors detect in mobile terminal temperature value respectively The controlled temperature value for the device answered, and then derive the actual temperature value of the corresponding device of assigned temperature sensor, according to reality Temperature value is to determine whether triggering temperature protection operation so that temperature protection operates the temperature for being not entirely dependent on specified sensor Detection, the temperature detection of device more intelligence and accurate, avoid assigned temperature sensor failure directly result in mobile terminal and/or Device can not work normally, and improve the serious forgiveness of temperature protection operation, improve user experience.
Embodiment three
With reference to Fig. 3, a kind of structure diagram of mobile terminal of the embodiment of the present invention three is shown.
The mobile terminal 300 includes:First temperature value acquisition module 301, second temperature value acquisition module 302 and first Actual temperature value determining module 303.
First temperature value acquisition module 301, the temperature value detected for obtaining mobile terminal specific temperature sensor.
Second temperature value acquisition module 302, the maximum for being equal to the assigned temperature sensor when the temperature value When journey value or minimum range value, at least one temperature sensing in addition to the assigned temperature sensor in the mobile terminal is obtained The temperature value that device detects.
First actual temperature value determining module 303, the temperature for being detected according at least one temperature sensor Value, determines the actual temperature value of the corresponding device of the assigned temperature sensor.
With reference to Fig. 4, the structure diagram of another mobile terminal of the embodiment of the present invention three is shown.
On the basis of Fig. 3, optionally, the first actual temperature value determining module 303 may include:Controlled temperature Value searches submodule 3031, the temperature value for being detected according at least one temperature sensor, in corresponding temperature pair According to the controlled temperature value for searching the corresponding device of the assigned temperature sensor in table respectively;Actual temperature value determination sub-module 3032, for being based on the controlled temperature value, determine the actual temperature value of the corresponding device of the assigned temperature sensor.
Optionally, when in addition to the assigned temperature sensor further including at least two temperature sensors in the mobile terminal When, the actual temperature value determination sub-module 3032 may include:First actual temperature value computing unit 30321, for looking into At least two controlled temperature values found are averaged, and obtain the actual temperature of the corresponding device of the assigned temperature sensor Value.
Optionally, when in addition to the assigned temperature sensor further including at least four temperature sensors in the mobile terminal When, the actual temperature value determination sub-module 3032 may include:Removal unit 30322, at least four found Maximum controlled temperature value and minimum controlled temperature value are removed in controlled temperature value;Second actual temperature value computing unit 30323 is used In in at least four controlled temperatures value, after removing the maximum controlled temperature value and the minimum controlled temperature value Remaining controlled temperature value is averaged, and obtains the actual temperature value of the corresponding device of the assigned temperature sensor.
Optionally, the mobile terminal 300 can also include:
Second actual temperature value determining module 304, for when the temperature value between the assigned temperature sensor most When between wide range value and minimum range value, the temperature value is determined as to the reality of the corresponding device of the assigned temperature sensor Border temperature value.
Optionally, the mobile terminal 300 can also include:
Operation executing module 305 is protected, for when the actual temperature value exceeds preset temperature range, executing to described The protection of mobile terminal and/or the corresponding device of the assigned temperature sensor operates.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2 Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, the temperature value detected by obtaining mobile terminal specific temperature sensor, works as temperature When angle value is equal to the maximum range value or minimum range value of assigned temperature sensor, obtain in mobile terminal except assigned temperature senses The temperature value that at least one temperature sensor outside device detects, according to the temperature value that at least one temperature sensor detects, Determine the actual temperature value of the corresponding device of assigned temperature sensor.When the temperature value for the device that assigned temperature sensor detects For maximum range value or minimum range value when, judge that assigned temperature sensor may fail, pass through other temperature in mobile terminal The temperature value that sensor detects determines the actual temperature value of device, according to actual temperature value to determine whether triggering temperature protection Operation so that temperature protection operates the temperature detection for being not entirely dependent on specified sensor, avoids assigned temperature sensor failure It directly results in mobile terminal and/or device can not work normally, improve the serious forgiveness of temperature protection operation, improve user experience.
Example IV
With reference to Fig. 5, the hardware architecture diagram of the mobile terminal of the embodiment of the present invention four is shown.
The mobile terminal 500 includes but not limited to:It is radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510 is for obtaining the temperature value that mobile terminal specific temperature sensor detects;When the temperature When angle value is equal to the maximum range value or minimum range value of the assigned temperature sensor, obtain in the mobile terminal except described The temperature value that at least one temperature sensor outside assigned temperature sensor detects;According at least one temperature sensor The temperature value detected determines the actual temperature value of the corresponding device of the assigned temperature sensor.
In embodiments of the present invention, the temperature value detected by obtaining mobile terminal specific temperature sensor, works as temperature When angle value is equal to the maximum range value or minimum range value of assigned temperature sensor, obtain in mobile terminal except assigned temperature senses The temperature value that at least one temperature sensor outside device detects, according to the temperature value that at least one temperature sensor detects, Determine the actual temperature value of the corresponding device of assigned temperature sensor.When the temperature value for the device that assigned temperature sensor detects For maximum range value or minimum range value when, judge that assigned temperature sensor may fail, pass through other temperature in mobile terminal The temperature value that sensor detects determines the actual temperature value of device, according to actual temperature value to determine whether triggering temperature protection Operation so that temperature protection operates the temperature detection for being not entirely dependent on specified sensor, avoids assigned temperature sensor failure It directly results in mobile terminal and/or device can not work normally, improve the serious forgiveness of temperature protection operation, improve user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 503 can receive radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include 5041 He of graphics processor Microphone 5042, graphics processor 5041 in video acquisition mode or image capture mode by image capture apparatus to (such as being taken the photograph As head) image data of static images or video that obtains handled.Treated, and picture frame may be displayed on display unit On 506.Through graphics processor 5041 treated picture frame can be stored in memory 509 (or other storage mediums) or It is sent via radio frequency unit 501 or network module 502.Microphone 5042 can receive sound, and can will be such Acoustic processing is audio data.Treated audio data can be converted in the case of telephone calling model can be via radio frequency Unit 501 is sent to the format output of mobile communication base station.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, touch panel 5071 and display Panel 5061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Transmission data between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Embodiment five
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can be run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned temperature checking method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here It repeats no more.
Embodiment six
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned temperature checking method embodiment, and energy when being executed by processor Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (11)

1. a kind of temperature checking method is applied to mobile terminal, which is characterized in that the method includes:
Obtain the temperature value that mobile terminal specific temperature sensor detects;
When the temperature value is equal to the maximum range value or minimum range value of the assigned temperature sensor, the movement is obtained The temperature value that at least one temperature sensor in terminal in addition to the assigned temperature sensor detects;
According to the temperature value that at least one temperature sensor detects, the corresponding device of the assigned temperature sensor is determined Actual temperature value.
2. according to the method described in claim 1, it is characterized in that, described detect according at least one temperature sensor Temperature value, the step of determining the actual temperature value of the corresponding device of the assigned temperature sensor, including:
According to the temperature value that at least one temperature sensor detects, in the corresponding temperature table of comparisons respectively search described in The controlled temperature value of the corresponding device of assigned temperature sensor;
Based on the controlled temperature value, the actual temperature value of the corresponding device of the assigned temperature sensor is determined.
3. according to the method described in claim 2, it is characterized in that, when removing the assigned temperature sensor in the mobile terminal It is described to be based on the controlled temperature value when further including outside at least two temperature sensors, determine the assigned temperature sensor pair The step of actual temperature value for the device answered, including:
At least two controlled temperature values found are averaged, the reality of the corresponding device of the assigned temperature sensor is obtained Border temperature value.
4. according to the method described in claim 2, it is characterized in that, when removing the assigned temperature sensor in the mobile terminal It is described to be based on the controlled temperature value when further including outside at least four temperature sensors, determine the assigned temperature sensor pair The step of actual temperature value for the device answered, including:
Maximum controlled temperature value and minimum controlled temperature value are removed in at least four controlled temperature values found;
In at least four controlled temperatures value, after removing the maximum controlled temperature value and the minimum controlled temperature value Remaining controlled temperature value be averaged, obtain the actual temperature value of the corresponding device of the assigned temperature sensor.
5. according to the method described in claim 1, it is characterized in that, being examined in the acquisition mobile terminal specific temperature sensor After the step of temperature value measured, further include:
When the temperature value is between the maximum range value and minimum range value of the assigned temperature sensor, by the temperature Angle value is determined as the actual temperature value of the corresponding device of the assigned temperature sensor.
6. a kind of mobile terminal, which is characterized in that including:
First temperature value acquisition module, the temperature value detected for obtaining mobile terminal specific temperature sensor;
Second temperature value acquisition module, the maximum range value or most for being equal to the assigned temperature sensor when the temperature value When small-range value, obtains at least one temperature sensor in the mobile terminal in addition to the assigned temperature sensor and detect Temperature value;
First actual temperature value determining module, the temperature value for being detected according at least one temperature sensor determine The actual temperature value of the corresponding device of the assigned temperature sensor.
7. mobile terminal according to claim 6, which is characterized in that the first actual temperature value determining module, including:
Controlled temperature value searches submodule, the temperature value for being detected according at least one temperature sensor, in correspondence The temperature table of comparisons in search the controlled temperature value of the corresponding device of the assigned temperature sensor respectively;
Actual temperature value determination sub-module determines that the assigned temperature sensor is corresponding for being based on the controlled temperature value The actual temperature value of device.
8. mobile terminal according to claim 7, which is characterized in that passed when removing the assigned temperature in the mobile terminal When further including at least two temperature sensors outside sensor, the actual temperature value determination sub-module, including:
First actual temperature value computing unit obtains described for being averaged at least two controlled temperature values found The actual temperature value of the corresponding device of assigned temperature sensor.
9. mobile terminal according to claim 7, which is characterized in that passed when removing the assigned temperature in the mobile terminal When further including at least four temperature sensors outside sensor, the actual temperature value determination sub-module, including:
Removal unit, for removing maximum controlled temperature value and minimum control temperature in at least four controlled temperature values found Angle value;
Second actual temperature value computing unit, in at least four controlled temperatures value, being compareed to removing the maximum Remaining controlled temperature value after temperature value and the minimum controlled temperature value is averaged, and obtains the assigned temperature sensor pair The actual temperature value for the device answered.
10. mobile terminal according to claim 6, which is characterized in that further include:
Second actual temperature value determining module, for when the temperature value is between the maximum range value of the assigned temperature sensor When between minimum range value, the temperature value is determined as to the actual temperature of the corresponding device of the assigned temperature sensor Value.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in temperature checking method the step of.
CN201810117967.6A 2018-02-06 2018-02-06 A kind of temperature checking method and mobile terminal Pending CN108458796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810117967.6A CN108458796A (en) 2018-02-06 2018-02-06 A kind of temperature checking method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810117967.6A CN108458796A (en) 2018-02-06 2018-02-06 A kind of temperature checking method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108458796A true CN108458796A (en) 2018-08-28

Family

ID=63239730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810117967.6A Pending CN108458796A (en) 2018-02-06 2018-02-06 A kind of temperature checking method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108458796A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114096819A (en) * 2019-07-02 2022-02-25 微软技术许可有限责任公司 System and method for adaptive thermal management of battery packs

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105115239A (en) * 2015-06-26 2015-12-02 青岛海尔股份有限公司 Refrigerator and refrigerator compartment inner temperature sensing method
CN105203215A (en) * 2015-09-16 2015-12-30 深圳市金立通信设备有限公司 Display method of temperature measurement interface and terminal
CN105633498A (en) * 2016-03-15 2016-06-01 北京小米移动软件有限公司 Battery temperature detection method and device
CN106505688A (en) * 2016-12-19 2017-03-15 北京小米移动软件有限公司 Charge control method and device
US20170230073A1 (en) * 2013-12-03 2017-08-10 Lg Electronics Inc. Mobile terminal
CN107463477A (en) * 2017-06-27 2017-12-12 广东欧珀移动通信有限公司 Mobile terminal and its management method, computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170230073A1 (en) * 2013-12-03 2017-08-10 Lg Electronics Inc. Mobile terminal
CN105115239A (en) * 2015-06-26 2015-12-02 青岛海尔股份有限公司 Refrigerator and refrigerator compartment inner temperature sensing method
CN105203215A (en) * 2015-09-16 2015-12-30 深圳市金立通信设备有限公司 Display method of temperature measurement interface and terminal
CN105633498A (en) * 2016-03-15 2016-06-01 北京小米移动软件有限公司 Battery temperature detection method and device
CN106505688A (en) * 2016-12-19 2017-03-15 北京小米移动软件有限公司 Charge control method and device
CN107463477A (en) * 2017-06-27 2017-12-12 广东欧珀移动通信有限公司 Mobile terminal and its management method, computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜均露 等: "《国家"七五"科技攻关项目重大成果简介选编》", 31 December 1993 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114096819A (en) * 2019-07-02 2022-02-25 微软技术许可有限责任公司 System and method for adaptive thermal management of battery packs

Similar Documents

Publication Publication Date Title
CN108255378A (en) A kind of display control method and mobile terminal
CN107608514A (en) Information processing method and mobile terminal
CN107943551A (en) A kind of screen display method and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN109729344B (en) Camera detection device and method and mobile terminal
CN108920059A (en) Message treatment method and mobile terminal
CN109981009A (en) A kind of control method and mobile terminal of stepper motor
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN108919883A (en) A kind of camera head protecting method and mobile terminal
CN108304061A (en) A kind of display control method and terminal
CN108663627A (en) A kind of self-discharge of battery detection method and self-discharge of battery detection device
CN108427873A (en) A kind of biological feather recognition method and mobile terminal
CN109885153A (en) A kind of screen control method and mobile terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN109145731A (en) A kind of fingerprint identification method, device and mobile terminal
CN108512980A (en) A kind of detection method and mobile terminal of mobile terminal
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN109743503A (en) Reminding method and terminal
CN107887947A (en) A kind of guard method of charging port and mobile terminal
CN109739300A (en) A kind of method of controlling antenna and terminal
CN109195191A (en) A kind of cell reselection control method and terminal
CN110442261B (en) Electronic equipment and touch operation detection method thereof
CN109976844A (en) A kind of message display method and mobile terminal
CN108388400A (en) A kind of operation processing method and mobile terminal
CN108810284A (en) A kind of mode switching method and electronic equipment of camera

Legal Events

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

Application publication date: 20180828

RJ01 Rejection of invention patent application after publication