Patent Description:
With the improvement in the charging power of a smart terminal, fast charging will cause the terminal to overheat. There is a need to control the temperature of the terminal. At present, the temperature of the terminal is controlled on the basis of a fixed environment temperature.

<CIT> discloses a battery charger includes a thermistor to measure the temperature of battery and another thermistor installed inside the charger, and a CPU determining the difference between the temperatures measured by the two thermistors during the charging, and the charge rate of this temperature difference varying with time. In order to charge a battery without causing insufficient charging or overcharging.

<CIT> discloses a battery pack includes: a connecting portion connected to a battery charger; a battery chargeable by the battery charger connected to the connecting portion; an environment temperature detecting element detecting an environment temperature around the battery; and a control circuit.

<CIT> discloses a charging system for charging a battery mounted on a portable telephone, and includes a charging control unit that performs supply and control of the charging electric current and the charging voltage to the battery, a device temperature monitoring unit that monitors the device temperature inside the portable telephone, and a battery temperature monitoring unit that monitors the battery temperature of the battery.

<CIT> discloses a charging device for charging a battery pack. The charging device comprises: a parameter detection unit, being used for detecting a parameter related to the charging current of the battery pack, the parameter comprising the temperature of the battery pack; and a control unit, being used for adjusting the charging current of the battery pack according to an output of the parameter detection unit to prevent the temperature of the battery pack from reaching a first preset temperature.

<CIT> discloses a charging case and movable platform, which effectively protects the battery at a default temperature within range through the environmental temperature control battery temperature of the adjustment battery compartment that the battery is located, extension battery life.

In view of this, the present invention provides a method, an apparatus, a storage medium, and an electronic device for controlling temperature.

According to a first aspect of the present invention, there is provided a method of controlling temperature according to claim <NUM>.

According to a second aspect of the present invention, there is provided an apparatus for controlling temperature according to claim <NUM>.

According to a third aspect of the present invention, a non-transitory computer-readable storage medium having stored therein instructions is provided according to claim <NUM>.

According to a fourth aspect of the present invention, an electronic device for controlling temperature is provided according to claim <NUM>.

It should be understood that the above general description and the following detailed description are only examples and explanatory and are not restrictive of the present invention.

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate examples consistent with the present invention and, together with the description, serve to explain the principles of the invention.

Reference will now be made in detail to example embodiments, examples of which are illustrated in the accompanying drawings. When the following descriptions involve drawings, like numerals in different drawings, the drawings refer to like or similar elements unless otherwise indicated. The embodiments described in the following examples do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present invention as detailed in the appended claims.

The terms used in the present invention are for the purpose of describing particular examples only, and are not intended to limit the present invention. Terms determined by "a," "the" and "said" in their singular forms in the present invention and the appended claims are also intended to include plurality, unless clearly indicated otherwise in the context. It should also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

It is to be understood that, although terms "first," "second," "third," and the like may be used in the present invention to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one category of information from another. For example, without departing from the scope of the present invention, first information may be referred as second information; and similarly, second information may also be referred as first information. Depending on the context, the word "if' as used herein may be interpreted as "when" or "upon" or "in response to determining.

The method of controlling temperature provided by the examples of the present invention may be applied to a terminal such as a smartphone, a tablet computer, and a Personal Digital Assistant (PDA). As shown in <FIG>, which is a flowchart illustrating a method of controlling temperature according to an example of the present invention, steps <NUM>-<NUM> are included.

At step <NUM>, a target environment temperature value of an environment where the terminal is located is obtained. The target environment temperature value may be, for example, the temperature of the terminal's surrounding environment. For example, the terminal may be in an office and the target environment temperature value may be the temperature of the office. In another example, the terminal may be in a desk drawer in the office, and the target environment temperature value may be the temperature inside the desk drawer.

In the examples of the present invention, the target environment temperature value of the environment where the terminal is located may be obtained through a temperature sensor pre-installed on the terminal, which measures preferably the temperature of the environment of the terminal. Optionally, the target environment temperature value may be obtained periodically.

For example, at time t1, the terminal is located outdoors, and the target environment temperature value obtained at t1 is <NUM> degrees Celcius. At time t2, the terminal is brought indoors, and the target environment temperature value increases, for example, the target environment temperature value at t2 is <NUM> degrees Celcius. Now, if the target environment temperature value of <NUM> degrees Celcius is still used, a temperature control strategy for <NUM> degrees Celcius may not be suitable for a temperature control strategy for <NUM> degrees Celcius, affecting the accuracy of controlling the temperature of the terminal.

In the examples of the present invention, periodically obtaining the target environment temperature value may effectively ensure the accuracy of the obtained target environment temperature value when the environment where the terminal is located changes, and facilitate the subsequent accurate control over the temperature of the terminal.

At step <NUM>, when charging the terminal, a target temperature control strategy is determined according to the target environment temperature value. Charging the terminal, for example, may include electrically charging through a wire or wirelessly. In another example, charging the terminal may also include the terminal communicating, through wire or wirelessly, to a separate device.

In the examples of the present invention, when charging different types of terminals, in a case of the same target environment temperature value, target temperature control strategies corresponding to different terminals may be the same or different, which is not limited in the present invention.

For example, when all target environment temperature values are d, a target temperature control strategy corresponding to terminal <NUM> may be strategy <NUM>, and a target temperature control strategy corresponding to terminal <NUM> may be strategy <NUM>. Strategy <NUM> and strategy <NUM> may be the same or different.

At step <NUM>, a temperature of the terminal is controlled according to the target temperature control strategy. The temperature of the terminal, for example, may be the surface temperature of the terminal or the inner body temperature of the terminal.

The target temperature control strategy may include a target temperature control triggering condition and a target temperature control releasing condition. The target temperature control triggering condition may indicate a temperature value at which the control over the temperature of the terminal is triggered. The target temperature control releasing condition may indicate a temperature value at which the control over the temperature of the terminal is no longer performed. The temperature corresponding to the target temperature control triggering condition is higher than the temperature corresponding to the target temperature control releasing condition.

According to the target temperature control strategy, when charging the terminal, a charging current value for charging the terminal may be flexibly controlled, so that the temperature of the terminal may be controlled. The temperature of the terminal may refer to a temperature of the housing surface of the terminal.

In the above example, the target environment temperature value of the environment where the terminal is located may be obtained first, and when charging the terminal, the target temperature control strategy is determined according to the target environment temperature value, so that the temperature of the terminal is controlled during the charging of the terminal. The target temperature control strategy is determined according to the target environment temperature value of the environment where the terminal is located, and then the charging current value for charging the terminal is flexibly controlled according to the target temperature control strategy to avoid the overheating of the terminal caused by rapid charging and achieve the purpose of controlling the temperature of the terminal, so that the controlling of the temperature of the terminal is more flexible and usable. When charging the terminal, controlling the temperature of the terminal includes, but is not limited to, controlling the charging current value for charging the terminal, and may further include other methods of controlling temperature, for example, closing high energy-consuming background applications, which is not limited in the present invention.

In some examples, as shown in <FIG>, which is a flowchart illustrating another method of controlling the temperature on the basis of the example shown in <FIG>, step <NUM> further includes steps <NUM>-<NUM> and <NUM>-<NUM>.

At step <NUM>-<NUM>, a target temperature control strategy level corresponding to the target environment temperature value is determined according to a pre-stored first correspondence.

In the examples of the present invention, the first correspondence includes a plurality of environment temperature values, and temperature control strategy levels corresponding thereto one to one, which are, as shown in table <NUM>, arranged in ascending order of the environment temperature values.

The terminal has pre-stored therein the first correspondence. Optionally, the temperature control strategy level may be lower as the environment temperature value is higher. For example, d<NUM><d<NUM><d<NUM>, n<NUM>>n<NUM>>n<NUM>.

After the target environment temperature value of the environment where the terminal is currently located is obtained, when the terminal is to be charged, the target temperature control strategy level corresponding to the target environment temperature value may be determined according to the first correspondence.

At step <NUM>-<NUM>, the target temperature control strategy is determined according to the target temperature control strategy level.

After the target temperature control strategy level is determined, the target temperature control triggering condition and the target temperature control releasing condition, which are included in the target temperature control strategy corresponding to the target temperature control strategy level, may be determined.

In the above example, the target temperature control strategy level corresponding to the target environment temperature value of the environment where the terminal is located may be determined according to the pre-stored first correspondence, so that the target temperature control strategy corresponding to the target temperature control strategy level is further determined, and thereby the temperature of the terminal is controlled. The first correspondence may be used to search the target temperature control strategy level easily and quickly.

In an alternative example, as shown in <FIG>, which is a flowchart illustrating yet another method of controlling the temperature on the basis of the example shown in <FIG>, the step <NUM>-<NUM> further includes steps <NUM>-<NUM> to <NUM>-<NUM>.

At steps <NUM>-<NUM>, if the target environment temperature value is one of a plurality of environment temperature values included in the first correspondence, a temperature control strategy level in the first correspondence and corresponding to the target environment temperature value is determined or selected as the target temperature control strategy level.

If the target environment temperature value is one of the plurality of environment temperature values included in the first correspondence, the target temperature control strategy level corresponding to the target environment temperature value may be determined directly according to the first correspondence.

For example, if the target environment temperature value is d<NUM>, the target temperature control strategy level may be determined to be n<NUM>, according to table <NUM>.

At steps <NUM>-<NUM>, if the target environment temperature value is not one of the plurality of environment temperature values included in the first correspondence, an environment temperature value closest to the target environment temperature value is determined from the plurality of environment temperature values included in the first correspondence.

If the target environment temperature value is not one of the plurality of environment temperature values included in the first correspondence, an environment temperature value having the minimum absolute value of difference from the target environment temperature value may be determined from the plurality of environment temperature values included in the first correspondence.

For example, if the target environment temperature value is m, and m is not included in table <NUM>, an environment temperature value having a smallest absolute value of difference from the target environment temperature value m may be determined from d<NUM>, d<NUM>, d<NUM>,. in table <NUM>. Suppose it is d<NUM>.

At steps <NUM>-<NUM>, a temperature control strategy level corresponding to the environment temperature value closest to the target environment temperature value and in the first correspondence is determined or selected as the target temperature control strategy level.

For example, if the environment temperature value in the first correspondence having the smallest absolute value of difference from the target environment temperature value m is d<NUM>, a temperature control strategy level n<NUM> corresponding to d<NUM> may be selected as the target temperature control strategy level.

In the above examples, if the target environment temperature value is one of the plurality of environment temperature values included in the pre-stored first correspondence, a temperature control strategy level in the first correspondence and corresponding to the target environment temperature value may be determined or selected as the target temperature control strategy level. If the target environment temperature value is not one of the plurality of environment temperature values included in the first correspondence, an environment temperature value closest to the target environment temperature value may be determined from the plurality of environment temperature values included in the first correspondence, and the temperature control strategy level corresponding to the determined environment temperature value is determined as the target temperature control strategy level. In this way, the corresponding target temperature control strategy level may be determined quickly according to the target environment temperature value of the environment where the terminal is located, and the target temperature control strategy is determined according to the target temperature control strategy level. The charging current value for charging the terminal is flexibly controlled through the target temperature control strategy, which facilitates the subsequent control over the temperature of the terminal, and has high usability.

In some examples, the step <NUM>-<NUM> may include: determining a target temperature control triggering condition and a target temperature control releasing condition corresponding to the target temperature control strategy level according to a pre-stored second correspondence.

The second correspondence includes temperature control strategy levels, and temperature control triggering conditions and temperature control releasing conditions corresponding thereto one to one, as shown in table <NUM>.

In the examples of the present invention, if environment temperature values corresponding to one or more temperature control strategy levels are less than or equal to a preset temperature value, temperature values of temperature control triggering conditions corresponding to the one or more temperature control strategy levels may be same. Similarly, temperature values of temperature control releasing conditions corresponding to the one or more temperature control strategy levels may be the same. If the environment temperature value is greater than the preset temperature value, the temperature values of the temperature control triggering conditions, and the temperature control releasing condition may be increased. The preset temperature value may be <NUM> degrees Celcius or any value greater than <NUM> degrees Celcius. Table <NUM> may be adaptively adjusted to table <NUM>.

In the table <NUM>, B<NUM><B<NUM><B<NUM>, C<NUM><C<NUM><C<NUM>, B<NUM>>C<NUM>, B<NUM>>C<NUM>, and B<NUM>>C<NUM>.

The terminal has pre-stored the second correspondence, and the target temperature control triggering condition and the target temperature control releasing condition corresponding to the target temperature control strategy level may be determined according to the second correspondence and the target environment temperature detected by the terminal.

In the above examples, the target temperature control triggering condition and the target temperature control releasing condition corresponding to the target temperature control strategy level may be determined according to the pre-stored second correspondence and the target environment temperature detected by the terminal, so that the temperature of the terminal is controlled subsequently according to the target temperature control triggering condition and the target temperature control releasing condition. The second correspondence may be used to search the target temperature control triggering condition and the target temperature control releasing condition easily and quickly.

In some examples, in the first correspondence and the second correspondence, the smaller the difference between two adjacent environment temperature values is, the more accurate the target temperature control strategy finally determined is.

In some examples, step <NUM> may include the following steps:
when a temperature of a housing surface of the terminal reaches a temperature value corresponding to the target temperature control triggering condition, a charging current value for charging the terminal is reduced until the temperature of housing surface of the terminal is less than or equal to a temperature value corresponding to the target temperature control releasing condition.

During the charging of the terminal, the temperature of housing surface of the terminal rises continuously. When the temperature of the housing surface of the terminal reaches the temperature value corresponding to the target temperature control triggering condition, the control over the temperature of the terminal is triggered. For example, the charging current value for charging the terminal may be reduced until the temperature of the housing surface of the terminal is less than or equal to the temperature value corresponding to the target temperature control releasing condition. In this case, the control over the temperature of the terminal is released. For example, the charging current value may be increased again.

In the above example, when the temperature of the terminal is controlled during the charging of the terminal, when the temperature of housing surface of the terminal reaches the temperature value corresponding to the target temperature control triggering condition, the charging current value for charging the terminal is reduced until the temperature of housing surface of the terminal is less than or equal to the temperature value corresponding to the target temperature control releasing condition. The purpose of controlling the temperature of the terminal according to environments with different temperatures where the terminal is located is achieved, so that the controlling of the temperature of the terminal is more flexible and usable.

In some examples, as shown in <FIG>, which is a flowchart illustrating still another method of controlling temperature according to an example of the present invention, steps <NUM>-<NUM> are included.

For the steps <NUM>-<NUM>, reference may be made to the example shown in <FIG>, which will not be repeated here. At step <NUM>, a target maximum current value corresponding to the target temperature control strategy level is determined according to a pre-stored third correspondence.

The third correspondence includes temperature control strategy levels, and maximum current values corresponding thereto one to one, as shown in table <NUM>.

In table <NUM>, the lower the temperature control strategy level is, the lower the maximum current value is. For example, d<NUM><d<NUM><d<NUM>, n<NUM>>n<NUM>>n<NUM>, A<NUM>>A<NUM>>A<NUM>.

As can be taken from the table <NUM>, the higher the environment temperature value is, the lower the maximum current value is.

At step <NUM>, if the temperature of the housing surface of the terminal is less than the temperature value corresponding to the target temperature control triggering condition, a charging current value for charging the terminal is controlled at the target maximum current value.

In this step, if the control over the temperature of the terminal is not triggered, the charging current value for charging the terminal may be controlled at the target maximum current value.

When the environment temperature value is lower, the terminal may use a higher charging current value to achieve the purpose of fast charging. When the environment temperature value is higher, the terminal uses a lower charging current value for charging to avoid the temperature of the terminal from rising too fast. Corresponding to the method examples, the present invention further provides apparatus examples.

<FIG> is a block diagram illustrating an apparatus for controlling temperature according to an example of the present invention. The apparatus is applied to a terminal. The apparatus includes an environment temperature obtaining module <NUM>, a temperature control strategy determining module <NUM>, and a temperature controlling module <NUM>.

The environment temperature obtaining module <NUM> is configured to obtain a target environment temperature value of an environment where the terminal is located.

The temperature control strategy determining module <NUM> is configured to, when charging the terminal, determine a target temperature control strategy according to the target environment temperature value.

The temperature controlling module <NUM> is configured to control a temperature of the terminal according to the target temperature control strategy.

As shown in <FIG>, which is a block diagram illustrating another apparatus for controlling temperature according to an example of the present invention, on the basis of the example shown in <FIG>, the temperature control strategy determining module <NUM> includes a first determining submodule <NUM> and a second determining submodule <NUM>.

The first determining submodule <NUM> is configured to determine a target temperature control strategy level corresponding to the target environment temperature value according to a pre-stored first correspondence, where the first correspondence includes a plurality of environment temperature values, and temperature control strategy levels corresponding thereto one to one.

The second determining submodule <NUM> is configured to determine the target temperature control strategy according to the target temperature control strategy level.

As shown in <FIG>, which is a block diagram illustrating yet another apparatus for controlling temperature according to an example of the present invention, on the basis of the example shown in <FIG>, the first determining submodule <NUM> includes a first determining unit <NUM>, a second determining unit <NUM>, and a third determining unit <NUM>.

The first determining unit <NUM> is configured to, if the target environment temperature value is one of the plurality of environment temperature values included in the first correspondence, determine or select, a temperature control strategy level in the first correspondence and corresponding to the target environment temperature value as the target temperature control strategy level.

The second determining unit <NUM> is configured to, if the target environment temperature value is not one of the plurality of environment temperature values included in the first correspondence, determine, an environment temperature value closest to the target environment temperature value from the plurality of environment temperature values included in the first correspondence.

The third determining unit <NUM> is configured to determine or select, a temperature control strategy level corresponding to the environment temperature value in the first correspondence closest to the target environment temperature value, as the target temperature control strategy level.

As shown in <FIG>, which is a block diagram illustrating still another apparatus for controlling temperature according to an example of the present invention, on the basis of the example shown in <FIG>, the second determining submodule <NUM> includes a fourth determining unit <NUM>.

The fourth determining unit <NUM> is configured to determine a target temperature control triggering condition and a target temperature control releasing condition corresponding to the target temperature control strategy level according to a pre-stored second correspondence, where the second correspondence includes temperature control strategy levels, and temperature control triggering conditions and temperature control releasing conditions corresponding thereto one to one.

As shown in <FIG>, which is a block diagram illustrating another apparatus for controlling temperature according to an example of the present invention, on the basis of the example shown in <FIG>, the temperature controlling module <NUM> includes a controlling submodule <NUM>.

The controlling submodule <NUM> is configured to, when a temperature of a housing surface of the terminal reaches a temperature value corresponding to the target temperature control triggering condition, reduce a charging current value for charging the terminal until the temperature of the housing surface of the terminal is less than or equal to a temperature value corresponding to the target temperature control releasing condition.

As shown in <FIG>, which is a block diagram illustrating another apparatus for controlling temperature according to an example of the present invention, the apparatus includes an environment temperature obtaining module <NUM>, a temperature control strategy determining module <NUM>, a temperature controlling module <NUM>, a maximum current determining module <NUM>, and a charging current controlling module <NUM>.

For the environment temperature obtaining module <NUM>, the temperature control strategy determining module <NUM>, and the temperature controlling module <NUM>, reference may be made to the description of the above examples, which will not be repeated here.

The maximum current determining module <NUM> is configured to determine a target maximum current value corresponding to the target temperature control strategy level according to a pre-stored third correspondence, where the third correspondence includes temperature control strategy levels, and maximum current values corresponding thereto one to one.

The charging current controlling module <NUM> is configured to, if the temperature of the housing surface of the terminal is less than the temperature value corresponding to the target temperature control triggering condition, control a charging current value for charging the terminal as the target maximum current value.

For the apparatus examples, since they basically correspond to the method examples, reference may be made to the partial description of the method examples. The apparatus examples described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, i.e., may be located in one place or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present invention. Those of ordinary skill in the art can understand and implement the present invention without any creative effort.

Correspondingly, the present invention further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is configured to implement any of the methods of controlling temperature as described above.

Correspondingly, the present invention further provides an electronic device, including: a processor; and a memory for storing processor-executable instructions, where the processor, when executing the executable instructions, is configured to: obtain a target environment temperature value of an environment where the terminal is located; when charging the terminal, determine a target temperature control strategy according to the target environment temperature value; and control a temperature of the terminal according to the target temperature control strategy.

<FIG> is a schematic structural diagram illustrating an electronic device <NUM> according to an example of the present invention. For example, the electronic device <NUM> may be a mobile phone, a tablet computer, an e-book reader, a multimedia player, a wearable device, a vehicle-mounted terminal, or other terminal.

Referring to <FIG>, the electronic device <NUM> may include one or more of the following components: a processing component <NUM>, a memory <NUM>, a power component <NUM>, a multimedia component <NUM>, an audio component <NUM>, an input/output (I/O) interface <NUM>, a sensor component <NUM>, and a communication component <NUM>.

The processing component <NUM> usually controls the overall operation of the electronic device <NUM>, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component <NUM> may include one or more processors <NUM> to execute instructions to perform all or part of the steps in the methods described above. Moreover, the processing component <NUM> may include one or more modules to facilitate interaction between the processing component <NUM> and other components. For example, the processing component <NUM> may include a multimedia module to facilitate interaction between the multimedia component <NUM> and the processing component <NUM>. For another example, the processing component <NUM> may read executable instructions from the memory to perform steps in the method of controlling temperature provided in an example as described above.

The memory <NUM> is configured to store various types of data to support operation at the electronic device <NUM>. Examples of these data include instructions for any application or method operating at the electronic device <NUM>, contact data, phone book data, messages, pictures, videos, and the like. The memory <NUM> may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a disk or an optical disk.

The power component <NUM> provides power to various components of the electronic device <NUM>. The power component <NUM> may include a power management system, one or more power sources, and other components associated with power generated, managed, and distributed for the electronic device <NUM>.

The multimedia component <NUM> includes a display screen that provides an output interface between the electronic device <NUM> and a user. In some examples, the multimedia component <NUM> includes a front camera and/or a rear camera. When the electronic device <NUM> is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras may be a fixed optical lens system or have a focal length and an optical zoom capability.

The audio component <NUM> is configured to output and/or input audio signals. For example, the audio component <NUM> includes a microphone (MIC) configured to receive an external audio signal when the electronic device <NUM> is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in the memory <NUM> or transmitted via the communication component <NUM>. In some examples, the audio component <NUM> also includes a loudspeaker for outputting an audio signal.

The I/O interface <NUM> provides an interface between the processing component <NUM> and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.

The sensor component <NUM> includes one or more sensors for providing a status assessment in various aspects to the electronic device <NUM>. For example, the sensor component <NUM> may detect an open/closed state of the electronic device <NUM>, and the relative positioning of components, for example, the component is a display and a keypad of the electronic device <NUM>. The sensor component <NUM> may also detect a change in position of the electronic device <NUM> or a component of the electronic device <NUM>, the presence or absence of a user in contact with the electronic device <NUM>, the orientation or acceleration/deceleration of the electronic device <NUM> and a change in temperature of the electronic device <NUM>. The sensor component <NUM> may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some examples, the sensor component <NUM> may also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

The communication component <NUM> is configured to facilitate wired or wireless communication between the electronic device <NUM> and other devices. The electronic device <NUM> may access a wireless network based on a communication standard, such as Wi-Fi, <NUM>, <NUM>, <NUM> or <NUM>, or a combination thereof. In an example, the communication component <NUM> receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel. In an example, the communication component <NUM> also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra wideband (UWB) technology, a Bluetooth (BT) technology, and other technologies.

In an example, the electronic device <NUM> may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), a field-programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic elements for performing the above methods.

In an example embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory <NUM> including instructions, where the instructions are executable by the processor <NUM> of the electronic device <NUM> to implement the method of controlling temperature as described above. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Other embodiments of the present invention will be readily apparent to those skilled in the art after considering the specification and practicing the contents disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principle of the present invention and include common knowledge or conventional technical means in the art that are not disclosed in the present invention. The specification and examples are to be regarded as illustrative only. The true scope of the present invention are pointed out by the following claims.

Claim 1:
A temperature control method applied to a terminal, comprising:
obtaining a target environment temperature value of an environment where the terminal is located (<NUM>);
determining, when charging the terminal, a target temperature control strategy according to the target environment temperature value (<NUM>); and
controlling a temperature of the terminal according to the target temperature control strategy (<NUM>);
characterized in that determining the target temperature control strategy according to the target environment temperature value (<NUM>) comprises:
determining a target temperature control strategy level corresponding to the target environment temperature value according to a pre-stored first correspondence (<NUM>-<NUM>), wherein the pre-stored first correspondence comprises a plurality of environment temperature values and temperature control strategy levels, the plurality of environment temperature values correspond one to one to the temperature control strategy levels; and
determining the target temperature control strategy according to the target temperature control strategy level (<NUM>-<NUM>), wherein the target temperature control strategy level corresponds to the target temperature control strategy.