CN107835306B - Temperature detection method, terminal and computer readable storage medium - Google Patents

Temperature detection method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107835306B
CN107835306B CN201711024437.9A CN201711024437A CN107835306B CN 107835306 B CN107835306 B CN 107835306B CN 201711024437 A CN201711024437 A CN 201711024437A CN 107835306 B CN107835306 B CN 107835306B
Authority
CN
China
Prior art keywords
terminal
temperature
ultrasonic
preset
user
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.)
Active
Application number
CN201711024437.9A
Other languages
Chinese (zh)
Other versions
CN107835306A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711024437.9A priority Critical patent/CN107835306B/en
Publication of CN107835306A publication Critical patent/CN107835306A/en
Application granted granted Critical
Publication of CN107835306B publication Critical patent/CN107835306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K11/00Measuring temperature based upon physical or chemical changes not covered by groups G01K3/00, G01K5/00, G01K7/00 or G01K9/00
    • G01K11/22Measuring temperature based upon physical or chemical changes not covered by groups G01K3/00, G01K5/00, G01K7/00 or G01K9/00 using measurement of acoustic effects
    • G01K11/24Measuring temperature based upon physical or chemical changes not covered by groups G01K3/00, G01K5/00, G01K7/00 or G01K9/00 using measurement of acoustic effects of the velocity of propagation of sound
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • 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

Abstract

The embodiment of the invention discloses a temperature detection method, a terminal and a computer readable storage medium, which are used for detecting the transmission speed of ultrasonic waves on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal; determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature; and if the terminal temperature meets the preset condition, reminding a user that the terminal temperature is too high through a preset method. The temperature detection method, the terminal and the computer readable storage medium disclosed by the embodiment of the invention can remind a user when the temperature of the terminal is detected to be overhigh, so that the unsafe problem caused by overhigh temperature of the terminal is avoided and the user experience is improved.

Description

Temperature detection method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a temperature detection method, a terminal, and a computer-readable storage medium.
Background
With the continuous development of the internet and electronic technology, various mobile terminals are applied more and more widely in people's lives. The mobile terminal may be overheated when using a complicated function or simultaneously using too many functions. The overheating phenomenon of the mobile terminal also causes a problem of terminal security, and meanwhile, the overheating mobile terminal affects the use feeling of the user because the mobile terminal may frequently contact with the hand or the face of the user when in use.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention provide a temperature detection method, a terminal, and a computer-readable storage medium, which can remind a user when the temperature of the terminal is detected to be too high, thereby avoiding an unsafe problem caused by the too high temperature of the terminal and improving user experience.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a temperature detection method, which is applied to a terminal, wherein an ultrasonic generation transceiver is arranged on the terminal, and the method comprises the following steps:
detecting the transmission speed of ultrasonic waves on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal;
determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature;
and if the terminal temperature meets the preset condition, reminding a user that the terminal temperature is too high through a preset method.
Further, the determining the terminal temperature corresponding to the transmission speed according to a pre-stored correspondence table between the ultrasonic speed and the temperature includes:
and searching a preset ultrasonic speed range corresponding to the transmission speed in a pre-stored ultrasonic speed and temperature corresponding relation table, and determining a temperature interval corresponding to the preset ultrasonic speed range as the terminal temperature, wherein the pre-stored ultrasonic speed and temperature corresponding relation table stores different preset ultrasonic speed ranges and temperature ranges corresponding to the different preset ultrasonic speed ranges in advance.
Further, the reminding the user that the temperature of the terminal is too high by a preset method includes:
displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high;
or sending out a reminding sound for reminding a user that the temperature of the terminal is too high;
or displaying the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded that the temperature of the terminal is too high through the color of the terminal shell;
or displaying a display lamp on the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the fact that the temperature of the terminal is too high through the color of the display lamp on the terminal shell.
Further, when the terminal temperature meets a preset condition, before reminding a user that the terminal temperature is too high through a preset method, the method includes:
judging whether the terminal temperature is greater than a preset temperature or not;
and if the terminal temperature is greater than the preset temperature, determining that the terminal temperature meets the preset condition.
Further, the detecting the transmission speed of the ultrasonic wave on the surface of the terminal screen comprises:
detecting the transmission time of ultrasonic waves on the surface of a terminal screen, wherein the transmission time is the time between the start of transmitting the ultrasonic waves by an ultrasonic transceiver and the reception of the ultrasonic waves;
and determining the transmission speed according to a preset ultrasonic transmission distance and the transmission time.
Further, after the reminding the user that the temperature of the terminal is too high through the preset method, the method includes:
the terminal temperature is reduced by reducing the frequency of the central processing unit CPU of the terminal.
The embodiment of the invention also provides a terminal, which comprises: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the temperature detection program stored in the memory to realize the following steps:
detecting the transmission speed of ultrasonic waves on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal;
determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature;
and if the terminal temperature meets the preset condition, reminding a user that the terminal temperature is too high through a preset method.
Further, the processor is configured to execute the temperature detection program stored in the memory to implement the following steps:
and searching a preset ultrasonic speed range corresponding to the transmission speed in a pre-stored ultrasonic speed and temperature corresponding relation table, and determining a temperature interval corresponding to the preset ultrasonic speed range as the terminal temperature, wherein the pre-stored ultrasonic speed and temperature corresponding relation table stores different preset ultrasonic speed ranges and temperature ranges corresponding to the different preset ultrasonic speed ranges in advance.
Further, the processor is configured to execute the temperature detection program stored in the memory to implement the following steps:
displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high;
or sending out a reminding sound for reminding a user that the temperature of the terminal is too high;
or displaying the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded that the temperature of the terminal is too high through the color of the terminal shell;
or displaying a display lamp on the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the fact that the temperature of the terminal is too high through the color of the display lamp on the terminal shell.
Further, before the temperature of the terminal meets a preset condition and the user is reminded that the temperature of the terminal is too high through a preset method, the processor is configured to execute a temperature detection program stored in the memory, so as to implement the following steps:
judging whether the terminal temperature is greater than a preset temperature or not;
and if the terminal temperature is greater than the preset temperature, determining that the terminal temperature meets the preset condition.
Further, the processor is configured to execute the temperature detection program stored in the memory to implement the following steps:
detecting the transmission time of ultrasonic waves on the surface of a terminal screen, wherein the transmission time is the time between the start of transmitting the ultrasonic waves by an ultrasonic transceiver and the reception of the ultrasonic waves;
and determining the transmission speed according to a preset ultrasonic transmission distance and the transmission time.
Further, after the user is reminded that the temperature of the terminal is too high through the preset method, the processor is configured to execute a temperature detection program stored in the memory, so as to implement the following steps:
the terminal temperature is reduced by reducing the frequency of the central processing unit CPU of the terminal.
Embodiments of the present invention also provide a computer-readable storage medium, which stores one or more programs that can be executed by one or more processors to implement the steps of the temperature detection method as described above.
The embodiment of the invention provides a temperature detection method, a terminal and a computer readable storage medium, which are used for detecting the transmission speed of ultrasonic waves on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal; determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature; and if the terminal temperature meets the preset condition, reminding a user that the terminal temperature is too high through a preset method. According to the temperature detection method, the terminal and the computer readable storage medium provided by the embodiment of the invention, the temperature of the terminal can be detected through ultrasonic waves, the detected temperature is judged, and when the temperature is too high, a prompt is sent, so that the unsafe problem caused by the overhigh temperature of the terminal is avoided, and the user experience is improved.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a first flowchart illustrating a temperature detection method according to an embodiment of the present invention;
FIG. 4 is an exemplary illustration of ultrasonic propagation provided by an embodiment of the present invention;
FIG. 5 is an exemplary diagram of ultrasonic propagation distances provided by an embodiment of the present invention;
FIG. 6 is a schematic flow chart of a temperature detection method according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating an example of a prompt message display provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
An embodiment of the present invention provides a temperature detection method, as shown in fig. 3, the method may include:
step 301, detecting the transmission speed of the ultrasonic wave on the surface of the terminal screen.
Wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver provided on the terminal.
Specifically, in the embodiment of the present invention, the detection of the transmission speed of the ultrasonic wave on the surface of the terminal screen may be implemented by a terminal, that is, the terminal detects the transmission speed of the ultrasonic wave on the surface of the terminal screen, and the terminal may be a mobile terminal, and an ultrasonic wave generating transceiver is disposed on the terminal.
The mobile terminal refers to a device that can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, and even a vehicle-mounted computer. However, most of the cases refer to mobile phones or smart phones and tablet computers with multiple application functions. With the development of networks and technologies towards increasingly broader bands, the mobile communications industry will move towards a true mobile information age. On the other hand, with the rapid development of integrated circuit technology, the processing capability of the mobile terminal has already possessed strong processing capability, and the mobile terminal is changing from a simple conversation tool to an integrated information processing platform. This also adds more development space to mobile terminals. Mobile terminals have been developed as simple communication devices with mobile communications for decades. The mobile intelligent terminal is almost instantly changed into a key entrance and a main innovation platform of internet business, a novel media, electronic commerce and information service platform, the most important pivot of internet resources, mobile network resources and environment interaction resources, and an operating system and a processor chip of the mobile intelligent terminal even become strategic high points of the whole information and communication technology industry at present. The mobile intelligent terminal can be called as an intelligent terminal for short, has the capability of accessing the Internet, is usually carried with various operating systems, and can customize various functions according to the requirements of users. Common intelligent terminals in life include mobile intelligent terminals, vehicle-mounted intelligent terminals, intelligent televisions, wearable equipment and the like.
Wherein, the ultrasonic wave is a part of the sound wave, is the sound wave which can not be heard by human ears and has the frequency higher than 20KHZ, and has the common part with the sound wave, namely, the ultrasonic wave and the sound wave are both generated by the vibration of the substance and can only be transmitted in the medium; meanwhile, it is also widely present in the natural world, and many animals can transmit and receive ultrasonic waves, which have its special properties, such as' having a higher frequency and a shorter wavelength, and thus, it has similarities with light waves having a short wavelength. The ultrasonic waves have good directivity and strong penetrating power, and when the ultrasonic waves are transmitted in a medium, the temperature of the medium is different, and the transmission speed of the ultrasonic waves is different.
In a possible implementation manner, the detecting, by the terminal, a transmission speed of the ultrasonic waves on the surface of the terminal screen may include:
the terminal detects the transmission time of the ultrasonic waves on the surface of a terminal screen, wherein the transmission time is the time between the ultrasonic wave transceiver starting to transmit the ultrasonic waves and the ultrasonic waves being received;
and determining the transmission speed according to a preset ultrasonic transmission distance and the transmission time.
Specifically, the ultrasonic transceiver may be disposed in a handset of the terminal, and the ultrasonic transceiver may implement functions of transmitting and receiving ultrasonic waves, where the ultrasonic transceiver in the handset transmits ultrasonic waves in a direction toward a microphone of the terminal, as shown in fig. 4, where the microphone is a microphone at the bottom of the terminal, the ultrasonic waves propagate toward the microphone on a display screen of the terminal, and return in a direction toward the ultrasonic transceiver when encountering an obstruction reflection of a sound wave emitted by the microphone, and the ultrasonic transceiver receives the ultrasonic waves. Recording the transmission time of the ultrasonic wave from the start of transmission to the reception of the ultrasonic wave, and calculating the transmission distance of the ultrasonic wave on the display surface of the terminal by a calculation method of dividing the distance by the time according to the preset ultrasonic wave transmission distance, wherein the ultrasonic wave transmission distance is 2 times the distance between the receiver and the microphone, as shown in fig. 5.
The receiver is an accessory for transmitting sound of communication tools such as a telephone, an interphone, a mobile phone and the like, and is a loudspeaker. The handset of a typical mobile phone terminal is positioned on top of the display screen of the terminal. A microphone may also be called a microphone, which is an energy conversion device that converts a sound signal into an electrical signal, and may also be called a microphone or a microphone.
Step 302, determining the terminal temperature corresponding to the transmission speed according to a pre-stored correspondence table of ultrasonic speed and temperature.
It should be noted that the terminal temperature corresponding to the transmission speed may be a temperature value or a temperature interval, and needs to be determined according to a preset correspondence table between the ultrasonic speed and the temperature, and when the correspondence table between the ultrasonic speed and the temperature stores a correspondence relationship between an ultrasonic speed range and a temperature range, that is, when one ultrasonic speed range corresponds to one temperature range, the determined terminal temperature is the temperature interval; when the preset ultrasonic speed and temperature corresponding relation table stores the corresponding relation between the ultrasonic speed range and the temperature value, namely one ultrasonic speed range corresponds to one temperature value, the determined terminal temperature is the temperature value.
In one possible implementation manner, the correspondence table of the ultrasonic velocity and the temperature, which is pre-stored in the terminal, pre-stores different preset ultrasonic velocity ranges and temperature ranges corresponding to the different preset ultrasonic velocity ranges. When the terminal detects the transmission speed of the ultrasonic wave, a preset ultrasonic wave speed range corresponding to the transmission speed is searched in a pre-stored ultrasonic wave speed and temperature corresponding relation table, and a temperature interval corresponding to the preset ultrasonic wave speed range is determined as the terminal temperature.
In a possible implementation manner, the pre-stored ultrasonic velocity-temperature correspondence table may also be pre-stored with different preset ultrasonic velocity ranges and temperature values corresponding to the different preset ultrasonic velocity ranges, after the terminal detects the transmission velocity of the ultrasonic wave, the preset ultrasonic velocity range corresponding to the transmission velocity is searched in the pre-stored ultrasonic velocity-temperature correspondence table, and the temperature value corresponding to the preset ultrasonic velocity range is determined as the terminal temperature.
And 303, if the terminal temperature meets a preset condition, reminding a user that the terminal temperature is too high through a preset method.
Specifically, the terminal judges whether the terminal temperature is greater than a preset temperature; and if the terminal temperature is greater than the preset temperature, determining that the terminal temperature meets the preset condition.
In a possible implementation manner, the reminding the user that the temperature of the terminal is too high by using a preset method includes: and displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high.
In a possible implementation manner, the reminding the user that the temperature of the terminal is too high by using a preset method includes: and sending a reminding sound for reminding a user that the temperature of the terminal is too high.
In a possible implementation manner, the reminding the user that the temperature of the terminal is too high by using a preset method includes: and displaying the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the high temperature of the terminal through the color of the terminal shell.
In a possible implementation manner, the reminding the user that the temperature of the terminal is too high by using a preset method includes: and displaying a display lamp on the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the fact that the temperature of the terminal is too high through the color of the display lamp on the terminal shell.
Optionally, after the reminding the user that the temperature of the terminal is too high by the preset method, the method includes:
the terminal temperature is reduced by reducing the frequency of the CPU of the terminal.
Specifically, when the terminal detects that the temperature of the terminal is too high, the terminal may reduce the frequency of the CPU by controlling, and after the frequency of the terminal CPU is reduced, the temperature of the terminal may be reduced, and the temperature of the terminal may also be reduced in other manners, which is not limited in the embodiment of the present invention.
The temperature detection method provided by the embodiment of the invention can detect the temperature of the terminal through ultrasonic waves, judge the detected temperature and send out a prompt when the temperature is too high, so that the unsafe problem caused by the overhigh temperature of the terminal is avoided, and the user experience is improved.
An embodiment of the present invention provides a temperature detection method, as shown in fig. 6, the method may include:
step 401, detecting the transmission time of the ultrasonic wave on the surface of the terminal screen, wherein the transmission time is the time between the ultrasonic wave transceiver starting to transmit the ultrasonic wave and the ultrasonic wave being received; and determining the transmission speed according to the preset ultrasonic transmission distance and the transmission time.
Specifically, the execution main body of the temperature detection provided by the embodiment of the present invention may be a terminal, the terminal is provided with an ultrasonic wave generation transceiver, and the terminal can transmit and receive ultrasonic waves, and the terminal may be a mobile terminal, such as a mobile phone, a PAD (tablet computer), and the like.
Specifically, the ultrasonic transceiver may be disposed in a handset of the terminal, and the ultrasonic transceiver may implement functions of transmitting and receiving ultrasonic waves, as shown in fig. 4, the ultrasonic transceiver in the handset transmits ultrasonic waves in a direction toward a microphone of the terminal, where the microphone is a microphone at the bottom of the terminal, the ultrasonic waves propagate toward the microphone on a display screen of the terminal, and return in a direction toward the ultrasonic transceiver when encountering an obstruction reflection of a sound wave emitted by the microphone, and the ultrasonic transceiver receives the ultrasonic waves. Recording the transmission time of the ultrasonic wave from the start of transmission to the reception of the ultrasonic wave, and calculating the transmission distance of the ultrasonic wave on the display surface of the terminal by a calculation method of dividing the distance by the time according to the preset ultrasonic wave transmission distance, wherein the ultrasonic wave transmission distance is 2 times the distance between the receiver and the microphone, as shown in fig. 5.
Specifically, the principle by which the transmission speed of ultrasonic waves is measured is as follows:
when the ultrasonic wave is emitted by the ultrasonic generator, timing is started until the ultrasonic wave is propagated to the ultrasonic receiver through air, the timing is stopped, the measured transmission time is t, and the distance L between an ultrasonic wave emitting place and a target can be calculated according to the following formula;
L=ct/2;
wherein, c is the propagation velocity of ultrasonic wave in the air, and the measurement of transmission time t can adopt the method of singlechip pulse count, can accurate measurement, converts time t into pulse count quantity N, then has:
L=Nc/2f;
wherein, N is the number of counting pulses, and f is the frequency of counting pulses.
Since the speed of sound is greatly affected by temperature, the relationship between the propagation speed and the ambient temperature T can be described by the following equation.
Figure BDA0001448090640000141
Step 402, searching a preset ultrasonic speed range corresponding to the transmission speed in a pre-stored ultrasonic speed and temperature correspondence table, and determining a temperature interval corresponding to the preset ultrasonic speed range as the terminal temperature.
The pre-stored ultrasonic speed and temperature correspondence table pre-stores different preset ultrasonic speed ranges and temperature ranges corresponding to the different preset ultrasonic speed ranges.
It should be noted that the terminal temperature corresponding to the transmission speed may be a temperature value or a temperature interval, and needs to be determined according to a preset correspondence table between the ultrasonic speed and the temperature, and when the correspondence table between the ultrasonic speed and the temperature stores a correspondence relationship between an ultrasonic speed range and a temperature range, that is, when one ultrasonic speed range corresponds to one temperature range, the determined terminal temperature is the temperature interval; when the preset ultrasonic speed and temperature corresponding relation table stores the corresponding relation between the ultrasonic speed range and the temperature value, namely one ultrasonic speed range corresponds to one temperature value, the determined terminal temperature is the temperature value.
Optionally, the ultrasonic speed and temperature correspondence table prestored in the terminal may also prestore different preset ultrasonic speed ranges and temperature values corresponding to the different preset ultrasonic speed ranges, after the terminal detects the transmission speed of the ultrasonic wave, the preset ultrasonic speed range corresponding to the transmission speed is searched in the prestored ultrasonic speed and temperature correspondence table, and the temperature value corresponding to the preset ultrasonic speed range is determined as the terminal temperature.
And step 403, judging whether the terminal temperature is higher than a preset temperature.
And 404, if the temperature of the terminal is higher than the preset temperature, displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high.
The preset temperature is a preset temperature threshold, and whether the temperature of the terminal is too high can be judged by comparing the measured terminal with the temperature threshold.
Specifically, when the terminal temperature is within a temperature range, the maximum temperature value in the temperature range is compared with the preset temperature, and if the maximum temperature value is greater than the preset temperature value, the terminal temperature is considered to be greater than the preset temperature, and the temperature of the terminal is considered to be too high, so that the user needs to be reminded, or the temperature of the terminal is reduced while the user is reminded.
Optionally, when the terminal temperature is a temperature value, the terminal temperature is directly compared with a preset temperature, and if the terminal temperature is greater than the preset temperature value, the terminal temperature is considered to be too high, and the user needs to be reminded, or the terminal temperature is reduced while the user is reminded.
Specifically, the user may be reminded that the temperature of the terminal is too high by displaying a prompt message on the terminal display screen, for example, as shown in fig. 7.
Optionally, if the temperature of the terminal is detected to be higher than the preset temperature, the terminal can also send a reminding sound, and the terminal is reminded of the user through the reminding sound that the temperature of the terminal is too high.
Specifically, the user can set different prompt tones to remind the user that the temperature of the terminal is too high, so as to inform the user of cooling the terminal in time.
Optionally, if the terminal temperature is detected to be higher than the preset temperature, the terminal may further display the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the too high temperature of the terminal through the color of the terminal shell.
Specifically, the shell of the terminal can be made of a temperature sensing material, and the temperature sensing material displays different colors when contacting different temperatures, so that a user can know the temperature of the terminal through the color change of the shell of the terminal, and the user can be reminded that the temperature of the terminal is too high.
Optionally, if the terminal temperature is detected to be higher than the preset temperature, the terminal may further display a display lamp on the terminal housing as a color corresponding to the terminal temperature, so that the user terminal is reminded of the too high temperature through the color of the display lamp on the terminal housing.
Specifically, a display lamp can be arranged on the shell of the terminal, different bright colors of the display lamp correspond to different temperatures of the terminal, and therefore when the temperature of the terminal is detected to be too high, the user terminal can be reminded of the fact that the temperature of the terminal is too high through the colors of the display lamp.
Step 405, the terminal temperature is reduced by reducing the frequency of the CPU of the terminal.
Specifically, when the terminal detects that the temperature of the terminal is too high, the terminal may reduce the frequency of the CPU by controlling, and after the frequency of the terminal CPU is reduced, the temperature of the terminal may be reduced, and the temperature of the terminal may also be reduced in other manners, which is not limited in the embodiment of the present invention.
The temperature detection method provided by the embodiment of the invention can detect the temperature of the terminal through ultrasonic waves, judge the detected temperature and send out a prompt when the temperature is too high, so that the unsafe problem caused by the overhigh temperature of the terminal is avoided, and the user experience is improved.
An embodiment of the present invention also provides a terminal 50, as shown in fig. 8, where the terminal 50 includes: a processor 501, a memory 502, and a communication bus 503;
the communication bus 503 is used for realizing connection communication between the processor 501 and the memory 502;
the processor 501 is configured to execute the temperature detection program stored in the memory 502 to implement the following steps:
detecting the transmission speed of ultrasonic waves on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal;
determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature;
and if the terminal temperature meets the preset condition, reminding a user that the terminal temperature is too high through a preset method.
Further, the processor 501 is configured to execute the temperature detection program stored in the memory 502 to implement the following steps:
and searching a preset ultrasonic speed range corresponding to the transmission speed in a pre-stored ultrasonic speed and temperature corresponding relation table, and determining a temperature interval corresponding to the preset ultrasonic speed range as the terminal temperature, wherein the pre-stored ultrasonic speed and temperature corresponding relation table stores different preset ultrasonic speed ranges and temperature ranges corresponding to the different preset ultrasonic speed ranges in advance.
Further, the processor 501 is configured to execute the temperature detection program stored in the memory 502 to implement the following steps:
displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high;
or sending out a reminding sound for reminding a user that the temperature of the terminal is too high;
or displaying the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded that the temperature of the terminal is too high through the color of the terminal shell;
or displaying a display lamp on the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the fact that the temperature of the terminal is too high through the color of the display lamp on the terminal shell.
Further, before the terminal temperature meets a preset condition and the user is reminded that the terminal temperature is too high by a preset method, the processor 501 is configured to execute the temperature detection program stored in the memory 502, so as to implement the following steps:
judging whether the terminal temperature is greater than a preset temperature or not;
and if the terminal temperature is greater than the preset temperature, determining that the terminal temperature meets the preset condition.
Further, the processor 501 is configured to execute the temperature detection program stored in the memory 502 to implement the following steps:
detecting the transmission time of ultrasonic waves on the surface of a terminal screen, wherein the transmission time is the time between the start of transmitting the ultrasonic waves by an ultrasonic transceiver and the reception of the ultrasonic waves;
and determining the transmission speed according to a preset ultrasonic transmission distance and the transmission time.
Further, after the user is reminded that the temperature of the terminal is too high by the preset method, the processor 501 is configured to execute the temperature detection program stored in the memory 502, so as to implement the following steps:
the terminal temperature is reduced by reducing the frequency of the central processing unit CPU of the terminal.
Here, the memory 502 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 502 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 502 in embodiments of the present invention is used to store various types of data to support the operation of the terminal 50. Examples of such data include: any computer program for operating on the terminal 50, such as an operating system and application programs; contact data; telephone book data; a message; a picture; video, etc. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. The program for implementing the method of the embodiment of the present invention may be included in the application program.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. Processor 501 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 502, and the processor 501 reads the information in the memory 502 and performs the steps of the aforementioned methods in conjunction with its hardware.
Specifically, for understanding of the terminal provided in the embodiment of the present invention, reference may be made to the description of the embodiment of the temperature detection method, and details of the embodiment of the present invention are not described herein again.
The terminal provided by the embodiment of the invention can detect the temperature of the terminal through ultrasonic waves, judge the detected temperature and send out a prompt when the temperature is too high, so that the unsafe problem caused by the overhigh temperature of the terminal is avoided and the user experience is improved.
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as a memory including a computer program, which is executable by a processor in a server to perform the steps of the foregoing method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
detecting the transmission speed of ultrasonic waves on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal;
determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature;
and if the terminal temperature meets the preset condition, reminding a user that the terminal temperature is too high through a preset method.
Further, the one or more programs are executable by the one or more processors to perform the steps of:
and searching a preset ultrasonic speed range corresponding to the transmission speed in a pre-stored ultrasonic speed and temperature corresponding relation table, and determining a temperature interval corresponding to the preset ultrasonic speed range as the terminal temperature, wherein the pre-stored ultrasonic speed and temperature corresponding relation table stores different preset ultrasonic speed ranges and temperature ranges corresponding to the different preset ultrasonic speed ranges in advance.
Further, the one or more programs are executable by the one or more processors to perform the steps of:
displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high;
or sending out a reminding sound for reminding a user that the temperature of the terminal is too high;
or displaying the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded that the temperature of the terminal is too high through the color of the terminal shell;
or displaying a display lamp on the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the fact that the temperature of the terminal is too high through the color of the display lamp on the terminal shell.
Further, before the terminal temperature satisfies a preset condition and the user is reminded that the terminal temperature is too high through a preset method, the one or more programs may be executed by the one or more processors to implement the following steps:
judging whether the terminal temperature is greater than a preset temperature or not;
and if the terminal temperature is greater than the preset temperature, determining that the terminal temperature meets the preset condition.
Further, the one or more programs are executable by the one or more processors to perform the steps of:
detecting the transmission time of ultrasonic waves on the surface of a terminal screen, wherein the transmission time is the time between the start of transmitting the ultrasonic waves by an ultrasonic transceiver and the reception of the ultrasonic waves;
and determining the transmission speed according to a preset ultrasonic transmission distance and the transmission time.
Further, after the alerting the user that the temperature of the terminal is too high through the preset method, the one or more programs may be executed by the one or more processors to implement the steps of:
the terminal temperature is reduced by reducing the frequency of the central processing unit CPU of the terminal.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A temperature detection method is applied to a terminal, an ultrasonic generation transceiver is arranged on the terminal, and the method comprises the following steps:
detecting the transmission speed of ultrasonic waves in the air on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal; the ultrasonic transceiver in the earphone transmits ultrasonic waves to the microphone of the terminal, the ultrasonic waves encounter obstruction reflection of sound waves emitted by the microphone, and the ultrasonic transceiver receives the reflected ultrasonic waves;
determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature;
if the terminal temperature meets a preset condition, reminding a user that the terminal temperature is too high through a preset method;
wherein, the determining the terminal temperature corresponding to the transmission speed according to the pre-stored correspondence table of the ultrasonic speed and the temperature includes: and searching a preset ultrasonic speed range corresponding to the transmission speed in a pre-stored ultrasonic speed and temperature corresponding relation table, and determining a temperature interval corresponding to the preset ultrasonic speed range as the terminal temperature, wherein the pre-stored ultrasonic speed and temperature corresponding relation table stores different preset ultrasonic speed ranges and temperature ranges corresponding to the different preset ultrasonic speed ranges in advance.
2. The method according to claim 1, wherein the reminding the user that the temperature of the terminal is too high through a preset method comprises:
displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high;
or sending out a reminding sound for reminding a user that the temperature of the terminal is too high;
or displaying the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded that the temperature of the terminal is too high through the color of the terminal shell;
or displaying a display lamp on the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the fact that the temperature of the terminal is too high through the color of the display lamp on the terminal shell.
3. The method according to claim 1, wherein before the terminal temperature meets a preset condition and the user is reminded that the terminal temperature is too high through a preset method, the method comprises:
judging whether the terminal temperature is greater than a preset temperature or not;
and if the terminal temperature is greater than the preset temperature, determining that the terminal temperature meets the preset condition.
4. The method of claim 1, wherein the detecting the transmission speed of the ultrasonic waves in the air on the surface of the terminal screen comprises:
detecting the transmission time of ultrasonic waves in the air on the surface of a terminal screen, wherein the transmission time is the time between the start of transmitting the ultrasonic waves by an ultrasonic transceiver and the reception of the ultrasonic waves;
and determining the transmission speed according to a preset ultrasonic transmission distance and the transmission time.
5. The method according to claim 1, wherein after the reminding the user that the temperature of the terminal is too high through the preset method, the method comprises:
the terminal temperature is reduced by reducing the frequency of the central processing unit CPU of the terminal.
6. A terminal, characterized in that the terminal comprises: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the temperature detection program stored in the memory to realize the following steps:
detecting the transmission speed of ultrasonic waves in the air on the surface of a terminal screen, wherein the ultrasonic waves are transmitted and received by an ultrasonic transceiver arranged on the terminal; the ultrasonic transceiver in the earphone transmits ultrasonic waves to the microphone of the terminal, the ultrasonic waves encounter obstruction reflection of sound waves emitted by the microphone, and the ultrasonic transceiver receives the reflected ultrasonic waves;
determining the terminal temperature corresponding to the transmission speed according to a pre-stored corresponding relation table of the ultrasonic speed and the temperature;
if the terminal temperature meets a preset condition, reminding a user that the terminal temperature is too high through a preset method;
wherein, the determining the terminal temperature corresponding to the transmission speed according to the pre-stored correspondence table of the ultrasonic speed and the temperature includes: and searching a preset ultrasonic speed range corresponding to the transmission speed in a pre-stored ultrasonic speed and temperature corresponding relation table, and determining a temperature interval corresponding to the preset ultrasonic speed range as the terminal temperature, wherein the pre-stored ultrasonic speed and temperature corresponding relation table stores different preset ultrasonic speed ranges and temperature ranges corresponding to the different preset ultrasonic speed ranges in advance.
7. The terminal of claim 6, wherein the processor is configured to execute a temperature detection program stored in the memory to perform the steps of:
displaying prompt information, wherein the prompt information is used for reminding a user that the temperature of the terminal is too high;
or sending out a reminding sound for reminding a user that the temperature of the terminal is too high;
or displaying the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded that the temperature of the terminal is too high through the color of the terminal shell;
or displaying a display lamp on the terminal shell as a color corresponding to the terminal temperature, so that the user is reminded of the fact that the temperature of the terminal is too high through the color of the display lamp on the terminal shell.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the method according to any one of claims 1 to 5.
CN201711024437.9A 2017-10-27 2017-10-27 Temperature detection method, terminal and computer readable storage medium Active CN107835306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711024437.9A CN107835306B (en) 2017-10-27 2017-10-27 Temperature detection method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711024437.9A CN107835306B (en) 2017-10-27 2017-10-27 Temperature detection method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107835306A CN107835306A (en) 2018-03-23
CN107835306B true CN107835306B (en) 2021-04-16

Family

ID=61650675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711024437.9A Active CN107835306B (en) 2017-10-27 2017-10-27 Temperature detection method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107835306B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427451B (en) * 2018-03-29 2021-01-12 广州视源电子科技股份有限公司 Temperature adjusting method, device, equipment, system and computer readable storage medium
CN110987225B (en) * 2019-12-05 2021-09-07 中国神华能源股份有限公司国华电力分公司 Method and device for monitoring wall surface temperature of solar heat absorber and electronic equipment
CN111367767B (en) * 2020-03-19 2024-02-09 深圳一七三物联科技有限公司 Terminal temperature detection method and device, storage medium and terminal
CN112468633B (en) * 2020-11-30 2023-03-24 维沃移动通信有限公司 Loudspeaker adjusting method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62237332A (en) * 1986-04-08 1987-10-17 Chugai Ro Kogyo Kaisha Ltd Ultrasonic thermometer probe
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN106791113A (en) * 2016-12-23 2017-05-31 努比亚技术有限公司 A kind of device for monitoring temperature and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62237332A (en) * 1986-04-08 1987-10-17 Chugai Ro Kogyo Kaisha Ltd Ultrasonic thermometer probe
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN106791113A (en) * 2016-12-23 2017-05-31 努比亚技术有限公司 A kind of device for monitoring temperature and method

Also Published As

Publication number Publication date
CN107835306A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107329682B (en) Edge interaction method and mobile terminal
CN107835306B (en) Temperature detection method, terminal and computer readable storage medium
CN108172161B (en) Display method based on flexible screen, mobile terminal and computer readable storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN108184023B (en) Screen state control method, mobile terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN110198379B (en) Mobile terminal control method, mobile terminal, and computer-readable storage medium
CN112533189A (en) Transmission method, mobile terminal and storage medium
CN108322602B (en) Method, terminal and computer readable storage medium for processing application no response
CN108376239B (en) Face recognition method, mobile terminal and storage medium
CN108226880B (en) Method and device for preventing interference in ultrasonic distance detection and storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN107729104B (en) Display method, mobile terminal and computer storage medium
CN107770368B (en) Alarm clock application reminding method based on terminal and terminal
CN109711830B (en) Quick display method and device for two-dimension code payment, mobile terminal and storage medium
CN109146463B (en) Mobile payment method, mobile terminal and computer readable storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN107424393B (en) Mobile terminal searching method, mobile terminal and storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN110060617B (en) Screen light spot compensation method and device, terminal and readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN108876387B (en) Payment verification method, payment verification equipment and computer-readable storage medium
CN107678622B (en) Application icon display method, terminal and storage medium
CN108184161B (en) Video playing method, mobile terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant