Terminal charging control method and device, medium and terminal

By adjusting the charging current and temperature thresholds, the fast charging and safety problems of the assembly protective case terminal in the bright screen are solved, improving the user experience.

CN120433352APending Publication Date: 2025-08-05BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410154020.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-02
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

When the terminal is equipped with a protective case, the existing charging strategy cannot meet users' fast charging needs, and at the same time, users cannot sense the increase in terminal temperature in a timely manner, resulting in a decline in user experience.

Method used

Depending on whether the terminal is equipped with the protective case and the current state, adjust the charging current and temperature threshold, and adopt a larger charging current and higher temperature limit value to ensure safety and speed when charging in a bright screen state.

Benefits of technology

When assembling the protective case, the terminal's fast charging needs are realized, avoiding insufficient temperature perception caused by the protective case heat insulation and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120433352A_ABST
    Figure CN120433352A_ABST
Patent Text Reader

Abstract

The invention relates to a terminal charging control method and device, a medium and a terminal. The terminal charging control method comprises the steps that if it is judged that the terminal is in a bright screen state during charging and the terminal is provided with a protective shell, the terminal is controlled to be charged with a second current until the temperature of a first position of the terminal reaches a temperature threshold value; wherein under the condition that the terminal is provided with the protective shell, the first position is located in an area covered by the protective shell, the second current is larger than the first current, the first current is the charging current of the terminal in the screen-off state, and the temperature threshold value is larger than the temperature when the charging current starts to decrease when the terminal is charged in the screen-off state. Thus, the charging strategy of the terminal is flexibly converted according to the charging scene, on one hand, the requirement of a user for rapidly charging the terminal when the terminal is used is met, on the other hand, the situation that the user mistakenly think that charging is not slowed down due to the fact that the user does not perceive that the terminal reaches a high temperature due to the heat insulation effect of the protective shell is avoided, and user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of charging control technology, and in particular to a terminal charging control method, device, medium, and terminal. Background Art

[0002] With technological advancements, various user devices (such as mobile phones and tablets) have experienced rapid development. People are using their devices more and more frequently in their daily lives. To protect their devices from damage caused by external forces, some users choose to install protective cases for their devices (for example, silicone cases for mobile phones). Summary of the Invention

[0003] To overcome the problems existing in the related art, the present disclosure provides a terminal charging control method, device, medium and terminal.

[0004] According to a first aspect of an embodiment of the present disclosure, a terminal charging control method is provided, including:

[0005] If it is determined that the terminal is in a screen-on state during charging and the terminal is equipped with a protective case, controlling the terminal to charge with a second current until the temperature at the first position of the terminal reaches a temperature threshold;

[0006] In which, when the terminal is equipped with a protective shell, the first position is in the area covered by the protective shell, the second current is greater than the first current, the first current is the charging current of the terminal in the screen-off state, and the temperature threshold is greater than the temperature when the charging current starts to decrease when the terminal is charging in the screen-off state.

[0007] Optionally, the method further includes:

[0008] The temperature threshold is determined according to an application currently running in the foreground of the terminal, wherein the power consumption of the application currently running in the foreground of the terminal is positively correlated with the temperature threshold.

[0009] Optionally, the method further includes:

[0010] If it is not determined that the terminal is equipped with a protective case, controlling the charging current of the terminal to be the first current;

[0011] If it is determined that the terminal is in a screen-on state during charging and the terminal is equipped with a protective case, the second current is determined according to the current temperature at the first position and the temperature threshold.

[0012] Optionally, determining the second current according to the current temperature at the first position and the temperature threshold includes:

[0013] determining a current increase value according to a difference between the temperature threshold and a current temperature at the first position;

[0014] The second current is determined according to the first current and the current increase value.

[0015] Optionally, determining the current increase value according to a difference between the temperature threshold and the current temperature at the first position includes:

[0016] The current increase value is calculated according to the following formula:

[0017]

[0018] Wherein, I represents the current increase value; C represents the difference between the temperature threshold and the current temperature at the first position; S represents the heat dissipation coefficient of the terminal; and R represents the charging impedance of the terminal.

[0019] Optionally, the method further includes:

[0020] Whether the terminal is equipped with a protective case is determined according to temperatures of a first position and a second position on the terminal during charging of the terminal, wherein, when the terminal is equipped with a protective case, the second position is in an area not covered by the protective case.

[0021] Optionally, determining whether the terminal is equipped with a protective case according to temperatures at a first position and a second position on the terminal during charging of the terminal includes:

[0022] determining, based on the temperatures of the first position and the second position at a first moment, and the temperatures of the first position and the second position at a second moment, a first temperature rise characteristic value of the first position and a second temperature rise characteristic value of the second position during a period from the first moment to the second moment, wherein the second moment is separated from the first moment by a predetermined time length;

[0023] Whether the terminal is equipped with a protective case is determined according to the first temperature rise characteristic value and the second temperature rise characteristic value.

[0024] Optionally, judging whether the terminal is equipped with a protective case according to the first temperature rise characteristic value and the second temperature rise characteristic value includes:

[0025] If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the first test data when the terminal is equipped with a protective case, it is determined that the terminal is equipped with a protective case;

[0026] If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the second test data when the terminal is not equipped with a protective case, it is determined that the terminal is not equipped with a protective case.

[0027] Optionally, the method further includes:

[0028] If the temperature at the first position reaches the temperature threshold, the terminal is controlled to charge with the first current.

[0029] According to a second aspect of an embodiment of the present disclosure, a terminal charging control device is provided, the device comprising:

[0030] a first control module configured to, if it is determined that the terminal is in a screen-on state while charging and the terminal is equipped with a protective case, control the terminal to charge with a second current until the temperature at the first position of the terminal reaches a temperature threshold;

[0031] In which, when the terminal is equipped with a protective shell, the first position is in the area covered by the protective shell, the second current is greater than the first current, the first current is the charging current of the terminal in the screen-off state, and the temperature threshold is greater than the temperature when the charging current starts to decrease when the terminal is charging in the screen-off state.

[0032] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the terminal charging control method provided in the first aspect of the present disclosure are implemented.

[0033] According to a fourth aspect of an embodiment of the present disclosure, a terminal is provided, including:

[0034] processor;

[0035] a memory for storing instructions executable by the processor;

[0036] Wherein, the processor is configured to:

[0037] The steps for implementing the terminal charging control method provided in the first aspect of the present disclosure are as follows.

[0038] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0039] Compared with the screen-off state, when the terminal is in the screen-on state and equipped with a protective case, the charging current of the terminal is larger, and the terminal temperature limit value that limits the charging current is higher. This solution adopts different charging strategies for different scenarios in which the terminal is located. When the terminal equipped with a protective case is charging and running at the same time, a larger charging current and a higher terminal temperature limit value are adopted to avoid limiting the charging current too early. In this way, the charging strategy of the terminal is flexibly switched according to the charging scenario. On the one hand, it meets the user's demand for fast charging of the terminal when using the terminal. On the other hand, it avoids the user from not perceiving that the terminal has reached a high temperature due to the heat insulation effect of the protective case and mistakenly thinking that the charging has not slowed down, thereby improving the user experience.

[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] Figure 1 The figure is a flow chart showing a terminal charging control method according to an exemplary embodiment.

[0043] Figure 2 The figure is a flow chart of a terminal charging control method according to another exemplary embodiment.

[0044] Figure 3 The figure is a block diagram of a terminal charging control device according to an exemplary embodiment.

[0045] Figure 4 The figure is a block diagram showing a device for terminal charging control according to an exemplary embodiment. DETAILED DESCRIPTION

[0046] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0047] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection laws and policies of the country where they are located and with the authorization given by the owner of the corresponding device.

[0048] Figure 1 FIG. 1 is a flow chart of a terminal charging control method according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps.

[0049] In step S101, if it is determined that the terminal is in a screen-on state while charging and the terminal is equipped with a protective case, the terminal is controlled to charge with a second current until the temperature at the first position of the terminal reaches a temperature threshold.

[0050] Among them, when the terminal is equipped with a protective case, the first position is in the area covered by the protective case, the second current is greater than the first current, the first current is the charging current of the terminal in the screen-off state, and the temperature threshold is greater than the temperature when the charging current starts to decrease when the terminal is charging in the screen-off state.

[0051] The terminal may be, for example, a mobile phone, a tablet computer, etc. The charging mode of the terminal may include a wired mode or a wireless mode.

[0052] In the related art, a safety limit temperature is usually set for safety considerations. When the temperature of the terminal during charging reaches the safety limit temperature, the charging current is controlled to decrease.

[0053] In this solution, the first position is one or more positions in the area covered by the protective shell when the terminal is equipped with a protective shell. For example, it can be one or more positions on the back of the terminal, or one or more positions on the side of the terminal, or one or more positions on the back and side of the terminal. Exemplarily, a negative temperature coefficient (NTC) sensor can be used to obtain the temperature of the first position. The temperature threshold is the maximum temperature allowed to be reached by the first position when the terminal is equipped with a protective shell and is in the screen-on state during charging with the second current.

[0054] The first current is the initial charging current when the terminal is charging in the screen-off state (for example, it can be 6A). When the terminal is in the screen-off state, it can be considered that the user is not currently using the terminal, the demand for charging speed is low, the initial charging current is small, and the terminal temperature limit value when the charging current starts to decrease is low. The terminal temperature limit value is that when the temperature of the terminal reaches the terminal temperature limit value, for safety reasons, the charging current is controlled to start decreasing to avoid the terminal temperature from being too high. The second current is a charging current that is larger than the first current.

[0055] Whether the terminal is in the screen-on state can be determined by detecting whether the operating current of the display screen reaches the operating current in the screen-on state. When the terminal is in the screen-on state, it is considered that the user is using the terminal. In the screen-on state, the terminal consumes a lot of power and has a high demand for charging speed. In addition, when equipped with a protective case, the heat dissipation capacity of the terminal is reduced, and the temperature rise at the first position is faster than charging in the screen-off state. When the terminal is in the screen-on state and is equipped with a protective case for charging, if the charging current is still limited according to the terminal temperature limit value in the screen-off state, the charging current will be limited very quickly, making the charging slower.

[0056] In addition, when using a terminal with a protective case, the user is not very aware of the terminal's temperature. When the terminal temperature is high, the user will feel only a slight fever. However, when the terminal has actually reached the terminal temperature limit and the charging current is limited, the user may not notice this and will only feel that the charging is slow, mistakenly believing that the terminal's performance is poor.

[0057] This solution sets a second current and temperature threshold under the premise of taking safety into consideration. Compared with the screen-off state, when the terminal is in the screen-on state and equipped with a protective case, the charging current of the terminal is larger, and the terminal temperature limit value for limiting the charging current is higher. This solution adopts different charging strategies for different scenarios in which the terminal is located. When the terminal equipped with a protective case is charging and running at the same time, a larger charging current and a higher terminal temperature limit value are adopted to avoid limiting the charging current too early. In this way, the charging strategy of the terminal is flexibly switched according to the charging scenario. On the one hand, it meets the user's demand for fast charging of the terminal when using the terminal. On the other hand, it avoids the user from not perceiving that the terminal has reached a high temperature due to the heat insulation effect of the protective case, and mistakenly believes that the charging has not slowed down, thereby improving the user experience.

[0058] In another embodiment, the method further includes: determining a temperature threshold based on an application currently running in the foreground of the terminal, wherein the power consumption of the application currently running in the foreground of the terminal is positively correlated with the temperature threshold.

[0059] When different applications are running in the foreground of a terminal, the terminal's power consumption and resulting heat generation may vary. There is a positive correlation between power consumption and the temperature threshold. The higher the power consumption of an application, the higher the temperature threshold at which the terminal can be charged using the second current. This compensates for the power consumed by high-power applications and ensures faster charging.

[0060] For example, the power consumption of the game application is greater than that of the chat application, and the temperature threshold corresponding to the game application is greater than the temperature threshold corresponding to the chat application. The temperature threshold can be determined based on the application currently running in the foreground of the terminal.

[0061] The temperature threshold determined based on the application running in the foreground of the terminal should be lower than the maximum temperature allowed by the first position for safety reasons and should have a margin.

[0062] The temperature threshold can also be related to the ambient temperature. All other conditions being equal, the higher the ambient temperature, the sooner the temperature threshold is reached, and the earlier the charging current is limited. Therefore, while not exceeding the maximum allowable temperature, the temperature threshold can increase as the ambient temperature increases. This relatively prolongs the duration of charging with the second current and speeds up charging at higher ambient temperatures. The temperature threshold can be determined based on the application currently running on the terminal and the ambient temperature. For example, a temperature sensor can be used to obtain the ambient temperature.

[0063] For example, the correspondence between the ambient temperature, the application currently running on the terminal, and the temperature threshold can be pre-calibrated. After the application currently running on the terminal and the ambient temperature are determined, the temperature threshold corresponding to the ambient temperature and the application currently running on the terminal is determined from the predetermined correspondence as the determined temperature threshold. Table 1 is a schematic table illustrating the correspondence between the ambient temperature, the application currently running on the terminal, and the temperature threshold.

[0064] Table 1

[0065] Ambient temperature (℃) The application running in the foreground of the terminal Temperature threshold (℃) 25 Short Video 40 27 Short Video 41 25 Browser 39 25 game 45 25 chat 40

[0066] As shown in Table 1, if the ambient temperature is 25°C and the application running in the foreground is a short video application, the temperature threshold is 40°C; if the ambient temperature is 27°C and the application running in the foreground is a short video application, the temperature threshold is 41°C; if the ambient temperature is 25°C and the application running in the foreground is a browser application, the temperature threshold is 39°C; if the ambient temperature is 25°C and the application running in the foreground is a game application, the temperature threshold is 45°C; and if the ambient temperature is 25°C and the application running in the foreground is a chat application, the temperature threshold is 40°C. Table 1 shows a positive correlation between ambient temperature and temperature threshold.

[0067] In this embodiment, the temperature threshold is determined in real time based on the application running in the foreground of the terminal, so that the temperature threshold is adapted to the power consumption of the application running in the foreground of the terminal. When the power consumption of the application running in the foreground of the terminal is large, the higher the terminal temperature allowed to be charged with the second current, thereby reducing the impact of the large power consumption of the currently running application on the charging speed.

[0068] In yet another embodiment, the above method further includes:

[0069] When it is not determined that the terminal is equipped with a protective case, controlling the charging current of the terminal to be a first current;

[0070] If it is determined that the terminal is in a screen-on state while charging and the terminal is equipped with a protective case, the second current is determined according to the current temperature at the first position and the temperature threshold.

[0071] When the terminal starts charging, it can start to determine whether a protective case is installed. Before determining whether a protective case is installed (i.e., it is unknown whether a protective case is installed), the terminal can be controlled to charge with the first current (e.g., 6A) during initial charging in the screen-off state.

[0072] The difference between the current temperature at the first location and the temperature threshold reflects the allowable temperature rise margin at the first location before reaching the safety limit when charging at the second current. The temperature rise of the terminal is related to the magnitude of the charging current. Therefore, if the terminal is in the screen-on state during charging and is equipped with a protective case, the second current can be determined based on the current temperature at the first location and the temperature threshold.

[0073] In this embodiment, the appropriate second current is determined according to the current temperature at the first position and the temperature threshold. The method is simple and has good reliability.

[0074] In yet another embodiment, determining the second current according to the current temperature at the first position and the temperature threshold includes:

[0075] determining a current increase value according to a difference between a temperature threshold and a current temperature at the first position;

[0076] The second current is determined according to the first current and the current increase value.

[0077] The current increase value is the value that needs to be increased to reach the second current based on the current charging current. A correspondence between the difference between the temperature threshold and the current temperature at the first location and the current increase value can be pre-calibrated. After determining the difference between the temperature threshold and the current temperature at the first location, the current increase value corresponding to the difference is found from the predetermined correspondence and used as the determined current increase value.

[0078] When the current charging current is the first charging current, the sum of the first current and the current increase value may be determined as the second current.

[0079] In this embodiment, the current increase value is first determined by using the difference between the temperature threshold and the current temperature at the first position, and then the second current is determined. The method is simple and has good reliability.

[0080] In yet another embodiment, determining the current increase value based on the difference between the temperature threshold and the current temperature at the first position includes: calculating the current increase value according to the following formula:

[0081]

[0082] Wherein, I represents the current increase value; C represents the difference between the temperature threshold and the current temperature at the first position; S represents the heat dissipation coefficient of the terminal; and R represents the charging impedance of the terminal.

[0083] The heat dissipation coefficient of the terminal reflects the heat dissipation capacity of the terminal itself. The heat dissipation coefficient of the terminal is related to the material, internal structure, etc. of the terminal. The heat dissipation coefficient of the terminal can be pre-calibrated by the designer.

[0084] Q=I×I×R (2)

[0085] Wherein, Q represents the heat increase value corresponding to the current increase value I.

[0086] There is also the following formula:

[0087]

[0088] The above formula (1) can be derived from the above formulas (2) and (3).

[0089] After determining the difference between the temperature threshold and the current temperature at the first position, the current increase value may be calculated according to the above formula (1).

[0090] In this embodiment, the current increase value can be quickly calculated according to a simple formula, the method is simple, and the data processing speed is fast.

[0091] In another embodiment, the method further includes: determining whether the terminal is equipped with a protective case based on the temperatures of the first position and the second position on the terminal during the charging process, wherein, if the terminal is equipped with a protective case, the second position is in an area not covered by the protective case.

[0092] The second position is one or more positions that are not in the coverage area of the protective case (such as the screen) when the terminal is equipped with a protective case. The temperature of the second position can be obtained by the NTC sensor. Since the second position is not in the coverage area of the protective case when the terminal is equipped with a protective case, the heat dissipation capacity of the second position before and after the terminal is equipped with the protective case changes little. Under the same ambient temperature and the same charging current, during the terminal charging process, the temperature change difference of the second position when the terminal is equipped with a protective case and when the terminal is not equipped with a protective case is small.

[0093] Since the first position is in the coverage area of the protective shell after the terminal is equipped with the protective shell, the heat dissipation capacity of the first position changes greatly before and after the terminal is equipped with the protective shell. Under the same ambient temperature and the same charging current, during the charging process of the terminal, the temperature change of the first position when the terminal is equipped with a protective shell and when it is not equipped with a protective shell is quite different.

[0094] In this embodiment, whether the terminal is equipped with a protective case can be reliably determined based on the temperatures of the first position and the second position on the terminal during the terminal charging process, and the method is simple.

[0095] In yet another embodiment, the determining whether the terminal is equipped with a protective case based on the temperatures of the first position and the second position on the terminal during the charging process includes:

[0096] determining, based on the temperatures of the first position and the second position at the first moment, and the temperatures of the first position and the second position at the second moment, a first temperature rise characteristic value at the first position and a second temperature rise characteristic value at the second position during a period from the first moment to the second moment, wherein the second moment is separated from the first moment by a predetermined time length;

[0097] Whether the terminal is equipped with a protective case is determined according to the first temperature rise characteristic value and the second temperature rise characteristic value.

[0098] The first moment can be the moment when the terminal starts charging, or a certain period of time after the terminal starts charging. The second moment is a moment during the charging process that is a predetermined time interval from the first moment. For example, the predetermined time interval is 3 minutes. The temperatures of the first and second locations are acquired when the terminal starts charging, and the temperatures of the first and second locations are acquired again 3 minutes later.

[0099] Between the first moment and the second moment, the temperatures at the first location and the second location increase. A first temperature rise characteristic value for the first location can be determined based on the temperatures at the first moment and the second moment. The first temperature rise characteristic value is a characteristic value that reflects the magnitude of the temperature increase at the first location during the terminal charging process. For example, the first temperature rise characteristic value can be determined as the average of the temperatures at the first moment and the second moment, or the first temperature rise characteristic value can be determined as the difference between the temperatures at the first moment and the second moment.

[0100] A second temperature rise characteristic value of the second location can be determined based on the temperature of the second location at the first moment and the second moment. The second temperature rise characteristic value is a characteristic value that can reflect the magnitude of the temperature increase at the second location during the terminal charging process. For example, the second temperature rise characteristic value can be determined as the average of the temperature of the second location at the first moment and the temperature at the second moment, or the second temperature rise characteristic value can be determined as the difference between the temperature of the second location at the first moment and the temperature at the second moment.

[0101] The difference between the first and second temperature rise characteristic values reflects the difference in the temperature increase at the first and second locations during the charging process of the terminal. This difference in temperature increase at the first and second locations during the charging process differs when the terminal is equipped with a protective case and when it is not. Whether the terminal is equipped with a protective case can be determined based on the first and second temperature rise characteristic values.

[0102] In the embodiment, determining the first temperature rise characteristic value and the second temperature rise characteristic value can accurately determine whether the terminal is equipped with a protective case, and the method is simple.

[0103] In yet another embodiment, the determining whether the terminal is equipped with a protective case based on the first temperature rise characteristic value and the second temperature rise characteristic value includes:

[0104] If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the first test data when the terminal is equipped with a protective case, it is determined that the terminal is equipped with a protective case;

[0105] If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the second test data when the terminal is not equipped with a protective case, it is determined that the terminal is not equipped with a protective case.

[0106] Generally, when the terminal is equipped with a protective case, the difference between the first temperature rise characteristic value and the second temperature rise characteristic value from the first moment to the second moment is large; when the terminal is not equipped with a protective case, the difference between the first temperature rise characteristic value and the second temperature rise characteristic value from the first moment to the second moment is small.

[0107] The difference between the first temperature rise characteristic value and the second temperature rise characteristic value during the period from the first moment to the second moment during the charging process when the terminal is equipped with a protective case can be tested in advance through experiments as the first test data, and the difference between the first temperature rise characteristic value and the second temperature rise characteristic value during the period from the first moment to the second moment during the charging process when the terminal is not equipped with a protective case can be tested as the second test data.

[0108] Matching with the first test data may include: an absolute value of a difference with the first test data is smaller than a predetermined threshold, or an absolute value of a difference with the first test data is smaller than an absolute value of a difference with the second test data.

[0109] Matching with the second test data may include: an absolute value of a difference with the second test data is smaller than a predetermined threshold, or an absolute value of a difference with the second test data is smaller than an absolute value of a difference with the first test data.

[0110] The difference between the first and second temperature rise characteristic values is also related to the starting temperature of the terminal charging. The higher the starting temperature, the greater the difference in temperature rise between the first and second locations from the first moment to the second moment, and the greater the difference between the first and second temperature rise characteristic values.

[0111] The temperature of the first and second positions can be detected when the terminal starts charging, and the battery temperature of the terminal at the first moment is the starting temperature of the terminal charging. The ambient temperature when the terminal starts charging can also be used as the starting temperature of the terminal charging.

[0112] For example, the correspondence between the battery temperature at the first moment and the first and second test data can be pre-calibrated through experiments. After obtaining the battery temperature at the first moment, the first and second test data corresponding to the obtained battery temperature at the first moment are found from this correspondence. Table 2 shows a schematic diagram of the correspondence between the battery temperature at the first moment and the first and second test data.

[0113] Table 2

[0114]

[0115]

[0116] As shown in Table 2, when the battery temperature at the first moment is the same, the first test data is greater than the second test data. The battery temperature at the first moment has a positive correlation with the first test data. The battery temperature at the first moment has a positive correlation with the second test data.

[0117] Referring to Table 2, if the battery temperature at the first moment is 20°C, the first test data is 2.4 and the second test data is 1.3. If the determined difference between the first temperature rise characteristic value and the second temperature rise characteristic value is 2.2, and the absolute value of the difference between 2.2 and 2.4 (0.2) is less than the absolute value of the difference between 2.2 and 1.3 (0.9), then the difference between the first temperature rise characteristic value and the second temperature rise characteristic value is determined to match the first test data (2.4) when the terminal is equipped with a protective case.

[0118] In this embodiment, whether the terminal is equipped with a protective case is determined based on the degree of matching between the difference between the first temperature rise characteristic value and the second temperature rise characteristic value and the test data of the terminal with and without the protective case obtained in advance. This can accurately and quickly determine whether the terminal is equipped with a protective case.

[0119] In yet another embodiment, the method further includes: if the temperature at the first location reaches a temperature threshold, controlling the terminal to charge with a first current.

[0120] When the terminal is equipped with a protective case and is in the screen-on state and is charged with the second current, when the temperature of the first position in the area covered by the protective case reaches the temperature threshold, it is considered that the temperature of the terminal is already high. If the terminal continues to be controlled to charge with the second current, it is easy to cause the terminal to overheat and there is a risk of damage. Therefore, the terminal is controlled to charge with the smaller first current.

[0121] In this embodiment, when the temperature at the first position reaches the temperature threshold, the terminal is controlled to be charged with the first current, thereby reducing the risk of terminal damage and increasing the service life of the terminal.

[0122] Figure 2 The figure is a flow chart of a terminal charging control method according to another exemplary embodiment. Figure 2 The steps in the embodiment are a combination of the steps in the above multiple embodiments, and specifically include the following steps.

[0123] 1. During the charging process of the terminal, a first temperature rise characteristic value of the first position and a second temperature rise characteristic value of the second position are determined during the period from the first moment to the second moment based on the temperatures of the first position and the second position at the first moment and the temperatures of the first position and the second position at the second moment.

[0124] 2. If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the first test data when the terminal is equipped with a protective case, it is determined that the terminal is equipped with a protective case.

[0125] 3. If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the second test data when the terminal is not equipped with a protective case, it is determined that the terminal is not equipped with a protective case.

[0126] 4. When it is not determined that the terminal is equipped with a protective case, controlling the charging current of the terminal to be a first current.

[0127] 5. Determine the temperature threshold based on the application running in the foreground of the terminal.

[0128] 5. If the terminal is determined to be in the screen-on state while charging and is equipped with a protective case, calculate the current increase value according to the formula.

[0129] 7. Determine the second current based on the first current and the current increase value.

[0130] 8. If it is determined that the terminal is in the screen-on state while charging and the terminal is equipped with a protective case, control the terminal to charge with a second current until the temperature at the first position of the terminal reaches a temperature threshold.

[0131] 9. If the temperature at the first position reaches a temperature threshold, control the terminal to charge with a first current.

[0132] Based on the same inventive concept, the present disclosure provides a terminal charging control device. Figure 3 FIG. 1 is a block diagram of a terminal charging control device according to an exemplary embodiment. Figure 3 As shown, the terminal charging control device 600 includes a first control module 601 .

[0133] The first control module 601 is configured to, if it is determined that the terminal is in a screen-on state while charging and the terminal is equipped with a protective case, control the terminal to charge with a second current until the temperature at the first position of the terminal reaches a temperature threshold;

[0134] Among them, when the terminal is equipped with a protective case, the first position is in the area covered by the protective case, the second current is greater than the first current, the first current is the charging current of the terminal in the screen-off state, and the temperature threshold is greater than the temperature when the charging current starts to decrease when the terminal is charging in the screen-off state.

[0135] Optionally, the terminal control device 600 further includes a first determining module.

[0136] The first determining module is configured to determine a temperature threshold according to an application currently running in the foreground of the terminal, wherein the power consumption of the application currently running in the foreground of the terminal is positively correlated with the temperature threshold.

[0137] Optionally, the terminal control device 600 further includes a second control module and a second determination module.

[0138] The second control module is configured to control the charging current of the terminal to be the first current when it is not determined that the terminal is equipped with a protective case.

[0139] The second determination module is configured to determine the second current according to the current temperature at the first position and the temperature threshold if it is determined that the terminal is in a screen-on state while charging and the terminal is equipped with a protective case.

[0140] Optionally, the second determining module includes a first determining submodule and a second determining submodule.

[0141] The first determining submodule is configured to determine a current increase value according to a difference between a temperature threshold and a current temperature at the first location.

[0142] The second determining submodule is configured to determine a second current according to the first current and the current increase value.

[0143] Optionally, the first determining submodule is further configured to:

[0144] The current increase is calculated using the following formula:

[0145]

[0146] Wherein, I represents the current increase value; C represents the difference between the temperature threshold and the current temperature at the first position; S represents the heat dissipation coefficient of the terminal; and R represents the charging impedance of the terminal.

[0147] Optionally, the terminal control device 600 further includes a judgment module.

[0148] The judgment module is configured to judge whether the terminal is equipped with a protective case based on the temperatures of a first position and a second position on the terminal during the terminal charging process, wherein, when the terminal is equipped with a protective case, the second position is in an area not covered by the protective case.

[0149] Optionally, the judgment module includes a third determination submodule and a judgment submodule.

[0150] The third determination submodule is configured to determine a first temperature rise characteristic value of the first position and a second temperature rise characteristic value of the second position during a period from the first moment to the second moment based on the temperatures of the first position and the second position at the first moment, and the temperatures of the first position and the second position at the second moment, wherein the second moment is separated from the first moment by a predetermined time length.

[0151] The determination submodule is configured to determine whether the terminal is equipped with a protective case according to the first temperature rise characteristic value and the second temperature rise characteristic value.

[0152] Optionally, the judgment submodule is further configured to:

[0153] If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the first test data when the terminal is equipped with a protective case, it is determined that the terminal is equipped with a protective case;

[0154] If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the second test data when the terminal is not equipped with a protective case, it is determined that the terminal is not equipped with a protective case.

[0155] Optionally, the terminal charging control device 600 further includes a third control module.

[0156] The third control module is configured to control the terminal to charge with a first current if the temperature at the first location reaches a temperature threshold.

[0157] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0158] Through the above technical solution, compared with the screen-off state, when the terminal is in the screen-on state and equipped with a protective case, the charging current of the terminal is larger, and the terminal temperature limit value that limits the charging current is higher. This solution adopts different charging strategies for different scenarios in which the terminal is located. When the terminal equipped with a protective case is charging and running at the same time, a larger charging current and a higher terminal temperature limit value are adopted to avoid limiting the charging current too early. In this way, the charging strategy of the terminal is flexibly switched according to the charging scenario. On the one hand, it meets the user's demand for fast charging of the terminal when using the terminal. On the other hand, it avoids the user's failure to perceive that the terminal has reached a high temperature due to the heat insulation effect of the protective case, and mistakenly believes that the charging has not slowed down, thereby improving the user experience.

[0159] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the above-mentioned terminal charging control method when executed by a processor.

[0160] The present disclosure also provides a terminal, including:

[0161] processor;

[0162] a memory for storing processor-executable instructions;

[0163] The processor is configured as follows:

[0164] Implement the steps of the above-mentioned terminal charging control method.

[0165] Figure 4 800 is a block diagram illustrating an apparatus for controlling terminal charging according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

[0166] Reference Figure 4 , the apparatus 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 , a sensor component 814 , and a communication component 816 .

[0167] Processing component 802 generally controls the overall operation of device 800, such as operations associated with display, phone calls, data communications, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the terminal charging control method described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0168] The memory 804 is configured to store various types of data to support the operations of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0169] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 800.

[0170] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0171] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.

[0172] The input / output interface 812 provides an interface between the processing component 802 and peripheral interface modules, such as a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0173] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor assembly 814 can also detect changes in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and temperature changes of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0174] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from a broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0175] In an exemplary embodiment, the device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the above-mentioned terminal charging control method.

[0176] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions. The instructions can be executed by the processor 820 of the device 800 to implement the terminal charging control method described above. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0177] In addition to being an independent electronic device, the above-mentioned device can also be part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be a single IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-on-chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or code) to implement the above-mentioned terminal charging control method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned terminal charging control method is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned terminal charging control method.

[0178] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned terminal charging control method when executed by the programmable device.

[0179] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the present disclosure. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0180] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A terminal charging control method, characterized in that: include: If it is determined that the terminal is in a screen-on state during charging and the terminal is equipped with a protective case, controlling the terminal to charge with a second current until the temperature at the first position of the terminal reaches a temperature threshold; In which, when the terminal is equipped with a protective shell, the first position is in the area covered by the protective shell, the second current is greater than the first current, the first current is the charging current of the terminal in the screen-off state, and the temperature threshold is greater than the temperature when the charging current starts to decrease when the terminal is charging in the screen-off state.

2. The method according to claim 1, characterized in that The method further comprises: The temperature threshold is determined according to an application currently running in the foreground of the terminal, wherein the power consumption of the application currently running in the foreground of the terminal is positively correlated with the temperature threshold.

3. The method according to claim 1, characterized in that The method further comprises: If it is not determined that the terminal is equipped with a protective case, controlling the charging current of the terminal to be the first current; If it is determined that the terminal is in a screen-on state during charging and the terminal is equipped with a protective case, the second current is determined according to the current temperature at the first position and the temperature threshold.

4. The method according to claim 3, characterized in that The determining the second current according to the current temperature at the first position and the temperature threshold includes: determining a current increase value according to a difference between the temperature threshold and a current temperature at the first position; The second current is determined according to the first current and the current increase value.

5. The method according to claim 4, characterized in that The determining the current increase value according to the difference between the temperature threshold and the current temperature at the first position includes: The current increase value is calculated according to the following formula: Wherein, I represents the current increase value; C represents the difference between the temperature threshold and the current temperature at the first position; S represents the heat dissipation coefficient of the terminal; and R represents the charging impedance of the terminal.

6. The method according to claim 1, characterized in that The method further comprises: Whether the terminal is equipped with a protective case is determined according to temperatures of a first position and a second position on the terminal during charging of the terminal, wherein, when the terminal is equipped with a protective case, the second position is in an area not covered by the protective case.

7. The method according to claim 6, characterized in that The determining, based on the temperatures of the first position and the second position on the terminal during the charging process, whether the terminal is equipped with a protective case includes: determining, based on the temperatures of the first position and the second position at a first moment, and the temperatures of the first position and the second position at a second moment, a first temperature rise characteristic value of the first position and a second temperature rise characteristic value of the second position during a period from the first moment to the second moment, wherein the second moment is separated from the first moment by a predetermined time length; Whether the terminal is equipped with a protective case is determined according to the first temperature rise characteristic value and the second temperature rise characteristic value.

8. The method according to claim 7, characterized in that The determining, based on the first temperature rise characteristic value and the second temperature rise characteristic value, whether the terminal is equipped with a protective case includes: If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the first test data when the terminal is equipped with a protective case, it is determined that the terminal is equipped with a protective case; If the difference between the first temperature rise characteristic value and the second temperature rise characteristic value matches the second test data when the terminal is not equipped with a protective case, it is determined that the terminal is not equipped with a protective case.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: If the temperature at the first position reaches the temperature threshold, the terminal is controlled to charge with the first current.

10. A terminal charging control device, characterized in that: The device comprises: a first control module configured to, if it is determined that the terminal is in a screen-on state while charging and the terminal is equipped with a protective case, control the terminal to charge with a second current until the temperature at the first position of the terminal reaches a temperature threshold; In which, when the terminal is equipped with a protective shell, the first position is in the area covered by the protective shell, the second current is greater than the first current, the first current is the charging current of the terminal in the screen-off state, and the temperature threshold is greater than the temperature when the charging current starts to decrease when the terminal is charging in the screen-off state.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

12. A terminal, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to: Implement the steps of the method according to any one of claims 1 to 9.