A control method and electronic device

By detecting battery status information to predict internal temperature and determine peak current parameters, the power consumption of electronic devices can be adjusted, solving the problem of poor battery performance in DC mode and improving battery safety and performance.

CN116345623BActive Publication Date: 2026-05-29LENOVO (BEIJING) LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2023-03-27
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In DC power mode, battery performance is poor and there may even be lag issues. How can we improve battery performance while ensuring battery safety?

Method used

By detecting battery status information such as surface temperature, battery impedance, and current parameters, a predictive model is established to predict the internal temperature, determine the supportable peak current parameters, and control the power consumption adjustment of electronic devices accordingly.

Benefits of technology

It achieves improved battery performance in DC mode while ensuring battery safety, and prevents safety risks and abnormal power loss caused by overheating.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116345623B_ABST
    Figure CN116345623B_ABST
Patent Text Reader

Abstract

The application provides a control method of an electronic device, the method comprising: determining an internal temperature parameter of a battery of the electronic device according to state information of the battery; determining a peak current parameter that can be supported by the battery within a preset temperature based on the internal temperature parameter; and controlling the electronic device to perform power consumption adjustment based on the peak current parameter. Meanwhile, the application also provides an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to a control method and an electronic device. Background Technology

[0002] In DC mode, the system performance is worse than in AC mode, and there are even issues with lag. How to improve battery performance in DC mode while ensuring battery safety is a problem that needs to be solved. Summary of the Invention

[0003] In view of this, embodiments of this application aim to provide a control method and an electronic device.

[0004] To achieve the above objectives, the technical solution of this application is implemented as follows:

[0005] According to one aspect of this application, a control method for an electronic device is provided, the method comprising:

[0006] The internal temperature parameters of the battery are determined based on the battery status information of the electronic device;

[0007] The peak current parameters that the battery can support within a preset temperature range are determined based on the internal temperature parameters.

[0008] The power consumption of the electronic device is adjusted based on the peak current parameter.

[0009] In the above scheme, determining the internal temperature parameter of the battery based on the battery status information of the electronic device includes:

[0010] Obtain the surface temperature parameters, battery impedance parameters, and / or current parameters of the battery;

[0011] The internal temperature parameters of the battery are determined based on the surface temperature parameters and / or the battery impedance parameters and / or the current parameters.

[0012] In the above scheme, determining the peak current parameter that the battery can support within a preset temperature range based on the internal temperature parameter includes:

[0013] Determine the first usage time of the battery;

[0014] Based on the internal temperature parameters, a first peak current parameter corresponding to the first usage time within the preset temperature of the battery is determined, and the first peak current parameter is used by the electronic device to adjust power consumption.

[0015] In the above scheme, determining the first peak current parameter of the battery corresponding to the first usage time within the preset temperature range based on the internal temperature parameter includes:

[0016] Compare the internal temperature parameter with the preset temperature;

[0017] If the comparison result indicates that the internal temperature parameter is less than the preset temperature, the first peak current parameter of the battery corresponding to the first usage time within the preset temperature is determined.

[0018] In the above scheme, if the temperature difference between the internal temperature parameter and the preset temperature is less than a first threshold, the first peak current parameter is less than or equal to the current parameter.

[0019] If the temperature difference between the internal temperature parameter and the preset temperature is greater than or equal to the first threshold, the first peak current parameter is greater than the current parameter.

[0020] In the above scheme, controlling the power consumption adjustment of the electronic device based on the peak current parameter includes:

[0021] Determine the current voltage parameters of the battery;

[0022] Based on the peak current parameter and the voltage parameter, determine the peak discharge power parameter currently supported by the battery;

[0023] The power consumption of the electronic device is adjusted based on the peak discharge power parameter.

[0024] In the above scheme, controlling the power consumption adjustment of the electronic device based on the peak current parameter includes:

[0025] The peak discharge power parameter is sent to the control unit of the electronic device so that the control unit controls the electronic device to adjust power consumption based on the peak discharge power parameter.

[0026] In the above scheme, sending the peak discharge power parameter to the control unit of the electronic device includes:

[0027] The peak discharge power parameter is sent to the control unit of the electronic device in real time.

[0028] Alternatively, the peak discharge power parameter may be sent to the control unit of the electronic device at preset intervals.

[0029] The method in the above scheme further includes:

[0030] If the comparison result indicates that the internal temperature parameter is greater than or equal to the preset value, and the temperature difference between the internal temperature parameter and the preset value is less than the second threshold, the electronic device is controlled to output a high temperature alarm signal.

[0031] Alternatively, if the comparison result indicates that the internal temperature parameter is greater than or equal to the preset value, and the temperature difference between the internal temperature parameter and the preset value is greater than the second threshold, the electronic device is controlled to perform a shutdown operation.

[0032] According to another aspect of this application, an electronic device is provided, comprising:

[0033] The determining unit is configured to determine the internal temperature parameters of the battery based on the battery status information of the electronic device; and to determine the peak current parameters that the battery can support within a preset temperature range based on the internal temperature parameters.

[0034] A control unit is used to control the power consumption adjustment of the electronic device based on the peak current parameter. Attached Figure Description

[0035] Figure 1 This is a flowchart illustrating the control method for the electronic device in this application. Figure 1 ;

[0036] Figure 2 This is a flowchart illustrating the control method for the electronic device in this application. Figure 2 ;

[0037] Figure 3 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 1 ;

[0038] Figure 4 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 2 ;

[0039] Figure 5 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 3 . Detailed Implementation

[0040] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Unless otherwise specified, the embodiments and features in the embodiments of this application can be arbitrarily combined with each other. The steps shown in the flowcharts can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown here.

[0041] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0042] Figure 1 This is a flowchart illustrating the control method for the electronic device in this application. Figure 1 ,like Figure 1 As shown, it includes:

[0043] Step 101: Determine the internal temperature parameters of the battery based on the battery status information of the electronic device;

[0044] Here, the battery's state information includes, but is not limited to, the battery's surface temperature parameters, battery impedance parameters, and current parameters. By detecting the battery's state information, the electronic device can obtain at least the battery's surface temperature parameters, battery impedance parameters, and / or current parameters. Based on these parameters, a prediction model can be established, and the battery's current internal temperature can be predicted to determine its internal temperature parameters.

[0045] Here, during the battery manufacturing process, internal temperature parameters are detected by placing a temperature sensor inside the battery, while external temperature sensors detect surface temperature, impedance, and current parameters. Based on the relationship between these internal and external temperature parameters, a predictive model is established to predict the battery's internal temperature parameters. This model can be: Tcore = f(Tsurface, R, Ipeak, t); where Tcore represents the battery's internal temperature parameter, Tsurface represents the battery's surface temperature parameter, R represents the cell impedance, Ipeak represents the peak current parameter, and t represents time. This predictive model allows for the prediction of the battery's internal temperature parameters during post-manufacturing use, thereby protecting the battery and ensuring the electronic equipment operates at high performance.

[0046] Step 102: Determine the peak current parameters that the battery can support within a preset temperature range based on the internal temperature parameters.

[0047] Here, the preset temperature can be a range value. The electronic device determines the first usage time of the battery. Based on the internal temperature parameter, the first peak current parameter of the battery corresponding to the first usage time within the preset temperature can be determined. The first peak current parameter is used by the electronic device to adjust power consumption.

[0048] In one implementation, the electronic device can compare the internal temperature parameter with a preset value of the preset temperature; if the comparison result indicates that the internal temperature parameter is less than the preset value, a first peak current parameter of the battery corresponding to the first usage time within the preset temperature is determined.

[0049] Here, the preset value can be the upper limit of the preset temperature or any value of the preset temperature, which can be set according to actual needs.

[0050] Here, the preset temperature can also be a specific value. When the electronic device determines the first usage time of the battery, it can compare the internal temperature parameter of the battery with the temperature value corresponding to the preset temperature. If the comparison result indicates that the internal temperature parameter is less than the temperature value corresponding to the preset temperature, then the first peak current parameter of the battery corresponding to the first usage time within the preset temperature is determined.

[0051] Here, if the temperature difference between the internal temperature parameter and the preset value is less than a first threshold, the first peak current parameter is less than or equal to the current parameter; if the temperature difference between the internal temperature parameter and the preset value is greater than or equal to the first threshold, the first peak current parameter is greater than the current parameter.

[0052] For example, if the predicted internal temperature of the battery is 65 degrees Celsius, the surface temperature is 25 degrees Celsius, and the preset temperature is 70 degrees Celsius, by comparing 65 and 70, it is determined that the internal temperature is lower than the preset temperature, and the temperature difference between the internal temperature and the preset temperature is less than a first threshold of 10. In this case, the supported first peak current parameter must be lower than the current parameter. For example, if the original current parameter was 10 amps, the supported first peak current parameter could now be 5 amps. This can represent the predicted first usage time of the battery in the future, such as 10 minutes. If discharged at a current intensity of 2 amps, it can discharge for 10 minutes; if discharged at a current intensity of 5 amps, it can discharge for 5 minutes.

[0053] Here, if the internal temperature parameter of the battery is compared with a preset value of a preset temperature, and the comparison result indicates that the internal temperature parameter is greater than or equal to the preset value, and the temperature difference between the internal temperature parameter and the preset value is less than a second threshold, then the electronic device is controlled to output a high temperature alarm signal; or, if the comparison result indicates that the internal temperature parameter is greater than or equal to the preset value, and the temperature difference between the internal temperature parameter and the preset value is greater than the second threshold, then the electronic device is controlled to perform a shutdown operation.

[0054] Here, the electronic device can also dynamically adjust the preset temperature based on the current battery status information (such as charging and discharging current value). For example, when the current is low, the preset temperature can be 40 degrees Celsius, and when the current is high, the preset temperature can be 30 degrees Celsius to ensure battery safety.

[0055] Step 103: Control the power consumption adjustment of the electronic device based on the peak current parameter.

[0056] Here, the electronic device can detect the current voltage of the battery to obtain the current voltage parameters of the battery, determine the peak discharge power parameters currently supported by the battery based on the voltage parameters and the peak current parameters of the current battery, and control the electronic device to adjust the power consumption based on the peak discharge power parameters.

[0057] The peak discharge power parameter is Ppeak (=Ipeak*V), where Ipeak represents the peak current parameter and V represents the voltage parameter.

[0058] In this application, when an electronic device obtains the current peak discharge power parameter of the battery, it can send the peak discharge power parameter to the control unit of the electronic device, so that the control unit controls the electronic device to adjust the power consumption based on the peak discharge power parameter.

[0059] Here, the control unit of the electronic device can be an embedded controller (EC). The electronic device can obtain the usage parameters of its central processing unit (CPU) and graphics processing unit (GPU), compare the CPU and GPU usage parameters with preset values ​​respectively, and reduce the CPU's power consumption through the EC if the CPU's usage parameters are greater than or equal to the preset value, and reduce the GPU's power consumption through the EC if the GPU's usage parameters are greater than or equal to the preset value. Power consumption adjustment of the electronic device is not limited to the CPU and GPU; it can also include components with power consumption requirements such as memory, SSD, and fans. During power consumption adjustment, the current scenario of the electronic device can be obtained to ensure the power consumption requirements of high-priority components are met while reducing the power consumption of components with high power consumption requirements. For example, in a game scenario, the GPU consumes more power and has a higher priority, so the power consumption of other components is reduced, thereby ensuring the overall power consumption adjustment of the electronic device.

[0060] Here, the electronic device can reduce power consumption by shutting down unused applications, processes, or threads within a preset time period.

[0061] Here, when the peak discharge power parameter is greater than or equal to the preset parameter, the power consumption of the CPU and GPU can be reduced simultaneously; when the peak discharge power parameter is less than the preset parameter, the power consumption of the corresponding components can be adjusted according to the comparison results of the GPU and CPU with the preset values.

[0062] In this application, when the electronic device sends the peak discharge power parameter to the control unit, it can send it to the control unit of the electronic device in real time, or it can send the peak discharge power parameter to the control unit of the electronic device at preset intervals.

[0063] The control method for electronic devices provided in this application determines the internal temperature parameters of the battery by detecting the battery's state information, determines the peak current parameters that the battery can support within a preset temperature based on the internal temperature parameters, and controls the electronic device to adjust power consumption based on the peak current parameters. This is a scheme that presets the internal temperature of the battery based on the battery state information, calculates the maximum current that the battery can support within the preset temperature based on the relationship between the internal temperature of the battery and the peak current, and ensures that the battery always operates under safe temperature conditions, thereby maximizing the peak performance of the electronic device.

[0064] Figure 2 This is a flowchart illustrating the control method for the electronic device in this application. Figure 2 ,like Figure 2 As shown, the method includes:

[0065] Step 201: Real-time detection of battery surface temperature parameters, cell impedance parameters, and peak current parameters;

[0066] Here, electronic devices can establish a predictive model for predicting the internal temperature of a battery based on the relationship between the battery's surface temperature parameters, cell impedance parameters, peak current parameters, and internal temperature parameters.

[0067] Step 202: Predict the internal temperature parameters of the battery within the next t seconds under the current peak current parameters based on the prediction model.

[0068] Here, the internal temperature parameter Tcore = f(Tsurface,R,Ipeak,t);

[0069] Step 203: Set the preset temperature corresponding to the battery's internal temperature based on the battery's current state information;

[0070] Here, the internal temperature of the battery, Tcore, is lower than the corresponding preset temperature, T0.

[0071] Step 204: Calculate in real time the peak discharge current that the battery can support within the preset temperature range in the next t seconds;

[0072] Here, the peak discharge current Ipeak = g(Tcore,R,t);

[0073] Step 205: Calculate the maximum supported discharge power based on the peak discharge current and report it to the current system of the electronic device every t seconds in real time;

[0074] Here, the maximum discharge power Ppeak = Ipeak * V.

[0075] Step 206: The system dynamically adjusts the power limit of the electronic device according to the received maximum discharge power, so that the system power consumption is always less than or equal to the maximum discharge power.

[0076] Here, electronic devices dynamically adjust system power consumption by receiving the maximum peak discharge power that the battery can support in real time. This allows electronic devices to achieve maximum performance while ensuring the safety of the battery's internal temperature, guaranteeing battery safety and system stability, and preventing safety risks caused by excessive battery temperature and power failures that lead to shutdowns.

[0077] Figure 3 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 1 ,like Figure 3 As shown, the electronic device includes:

[0078] The determining unit 301 is configured to determine the internal temperature parameters of the battery based on the battery status information of the electronic device; and to determine the peak current parameters that the battery can support within a preset temperature range based on the internal temperature parameters.

[0079] Control unit 302 is used to control the power consumption adjustment of the electronic device based on the peak current parameter.

[0080] In a preferred embodiment, the electronic device further includes: an acquisition unit 303;

[0081] The acquisition unit 303 is used to acquire the surface temperature parameters, battery impedance parameters and / or current parameters of the battery;

[0082] The determining unit 301 is specifically used to determine the internal temperature parameters of the battery based on the surface temperature parameters and / or the battery impedance parameters and / or the current parameters of the battery.

[0083] In a preferred embodiment, the determining unit 301 is further configured to determine a first usage duration of the battery; and to determine a first peak current parameter of the battery corresponding to the first usage duration within the preset temperature range based on the internal temperature parameter, wherein the first peak current parameter is used by the electronic device to adjust power consumption.

[0084] In a preferred embodiment, the electronic device further includes: a comparison unit 304;

[0085] The comparison unit 304 is used to compare the internal temperature parameter with a preset value of the preset temperature;

[0086] The determining unit 301 is used to determine the first peak current parameter of the battery corresponding to the first usage time within the preset temperature if the comparison result indicates that the internal temperature parameter is less than the preset value.

[0087] In a preferred embodiment, if the temperature difference between the internal temperature parameter and the preset value is less than a first threshold, the first peak current parameter is less than or equal to the current parameter; if the temperature difference between the internal temperature parameter and the preset value is greater than or equal to the first threshold, the first peak current parameter is greater than the current parameter.

[0088] In a preferred embodiment, the determining unit 301 is further configured to determine the current voltage parameters of the battery; and to determine the peak discharge power parameters currently supported by the battery based on the peak current parameters and the voltage parameters.

[0089] Control unit 302 is used to control the power consumption adjustment of the electronic device based on the peak discharge power parameter.

[0090] In a preferred embodiment, the electronic device further includes a transmitting unit 305;

[0091] The transmitting unit 305 is used to transmit the peak discharge power parameter to the control unit of the electronic device, so that the control unit controls the electronic device to adjust the power consumption based on the peak discharge power parameter.

[0092] In a preferred embodiment, the sending unit 305 is used to send the peak discharge power parameter to the control unit of the electronic device in real time; or, send the peak discharge power parameter to the control unit of the electronic device at preset intervals.

[0093] In a preferred embodiment, the control unit 302 is further configured to control the electronic device to output a high-temperature alarm signal if the comparison result indicates that the internal temperature parameter is greater than or equal to the preset value and the temperature difference between the internal temperature parameter and the preset value is less than a second threshold; or, if the comparison result indicates that the internal temperature parameter is greater than or equal to the preset value and the temperature difference between the internal temperature parameter and the preset value is greater than the second threshold, control the electronic device to perform a shutdown operation.

[0094] It should be noted that the power consumption control of the electronic device provided in the above embodiments is only illustrated by the division of the above program modules. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the electronic device provided in the above embodiments and the control method embodiments provided above belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0095] This application also provides an electronic device, which includes: a processor and a memory for storing a computer program capable of running on the processor.

[0096] When the processor is used to run the computer program, it executes any one of the method steps in the above processing method.

[0097] Figure 4 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 2 ,like Figure 4 As shown, the electronic device includes:

[0098] The system comprises an embedded controller 401, a battery management system 402, a current sensor 403, a battery 404, and a power system 405, all electrically connected. The battery 404 includes a temperature sensor 4041. The battery management system 402 uses the temperature sensor 4041 to detect the current surface temperature and cell impedance parameters of the battery, and the current sensor 403 to detect the current first peak current parameter. Based on the current surface temperature, cell impedance, and first peak current parameters, the battery management system 402 can predict the internal temperature parameters of the battery 404 within the next t seconds. Based on the internal temperature parameters, it can determine in real-time the second peak current parameter that the battery 404 can support within a preset temperature range. This second peak current parameter may be the same as or different from the first peak current parameter, and is specifically related to the predicted internal temperature parameters of the battery. When the battery's internal temperature parameter is less than the first preset threshold, it indicates that the battery can continue to discharge, and the second peak current parameter can be greater than the first peak current parameter. When the battery's internal temperature parameter is greater than or equal to the second preset threshold, it indicates that the battery is not suitable for continued discharge, and the second peak current parameter can be less than the first peak current parameter. The second preset threshold is greater than the first preset threshold. Based on the maximum peak discharge power and the battery's current voltage, the battery management system 402 can send the maximum peak discharge power parameter currently supported by the battery 404 to the embedded controller 401 in real time via the I2C bus (or I3C bus). The embedded controller 401 can control the power consumption system 405 of the electronic device to adjust the power consumption according to the maximum peak discharge power parameter sent by the battery management system 402. This ensures that the battery 404 always operates within a safe temperature range, while the peak performance of the device is maximized.

[0099] It should be noted that the electronic device provided in the above embodiments and the control method embodiments provided above belong to the same concept. For details of its specific implementation process, please refer to the method embodiments, which will not be repeated here.

[0100] Figure 5 This is a schematic diagram of the structural composition of the electronic device in this application. Figure 3 Electronic device 500 can be a mobile phone, computer, information transceiver, game console, tablet device, fitness equipment, personal digital assistant, electric vehicle, etc. Figure 5The illustrated electronic device 500 includes at least one processor 501, a memory 502, at least one network interface 504, and a user interface 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to implement communication between these components. In addition to a data bus, the bus system 505 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 5 The general designated all buses as Bus System 505.

[0101] The user interface 503 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.

[0102] It is understood that memory 502 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memory 502 described in the embodiments of this application is intended to include, but is not limited to, these and any other suitable types of memory.

[0103] In this embodiment, the memory 502 is used to store various types of data to support the operation of the electronic device 500. Examples of such data include: any computer program used to operate on the electronic device 500, such as the operating system 5021 and application program 5022; contact data; phonebook data; messages; pictures; audio, etc. The operating system 5021 includes various system programs, such as the framework layer, core library layer, driver layer, etc., used to implement various basic services and handle hardware-based tasks. The application program 5022 may include various applications, such as a media player, browser, etc., used to implement various application services. Programs implementing the methods of this embodiment may be included in the application program 5022.

[0104] The methods disclosed in the embodiments of this application can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 501 or by instructions in software form. The processor 501 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 501 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory 502. Processor 501 reads the information in memory 502 and, in conjunction with its hardware, completes the steps of the aforementioned method.

[0105] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0106] In an exemplary embodiment, this application also provides a computer-readable storage medium, such as a memory 502 including a computer program, which can be executed by a processor 501 of an electronic device 500 to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM; it may also be various devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0107] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs any of the method steps in the above-described processing method.

[0108] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0109] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0110] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0111] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0112] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0113] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A control method for an electronic device, the method comprising: The internal temperature parameters of the battery are determined based on the battery status information of the electronic device; The peak current parameter that the battery can support within a preset temperature range is determined based on the internal temperature parameter; the preset temperature can be dynamically adjusted by the electronic device according to the current charge / discharge current value of the battery; the preset temperature when the charge / discharge current value is small is higher than the preset temperature when the charge / discharge current value is large. The power consumption of the electronic device is adjusted based on the peak current parameter.

2. The method according to claim 1, wherein determining the internal temperature parameter of the battery based on the battery state information of the electronic device includes: Obtain the surface temperature parameters, battery impedance parameters, and / or current parameters of the battery; The internal temperature parameters of the battery are determined based on the surface temperature parameters and / or the battery impedance parameters and / or the current parameters.

3. The method according to claim 1, wherein determining the peak current parameter that the battery can support within a preset temperature range based on the internal temperature parameter includes: Determine the first usage time of the battery; Based on the internal temperature parameters, a first peak current parameter corresponding to the first usage time within the preset temperature of the battery is determined, and the first peak current parameter is used by the electronic device to adjust power consumption.

4. The method according to claim 3, wherein determining the first peak current parameter of the battery corresponding to the first usage time within the preset temperature range based on the internal temperature parameter comprises: Compare the internal temperature parameter with the preset temperature; If the comparison result indicates that the internal temperature parameter is less than the preset temperature, the first peak current parameter of the battery corresponding to the first usage time within the preset temperature is determined.

5. The method according to claim 4, wherein if the temperature difference between the internal temperature parameter and the preset temperature is less than a first threshold, the first peak current parameter is less than or equal to the current parameter; If the temperature difference between the internal temperature parameter and the preset temperature is greater than or equal to the first threshold, the first peak current parameter is greater than the current parameter.

6. The method according to claim 1, wherein controlling the power consumption adjustment of the electronic device based on the peak current parameter comprises: Determine the current voltage parameters of the battery; Based on the peak current parameter and the voltage parameter, determine the peak discharge power parameter currently supported by the battery; The power consumption of the electronic device is adjusted based on the peak discharge power parameter.

7. The method according to claim 6, wherein controlling the power consumption adjustment of the electronic device based on the peak current parameter comprises: The peak discharge power parameter is sent to the control unit of the electronic device so that the control unit controls the electronic device to adjust power consumption based on the peak discharge power parameter.

8. The method according to claim 7, wherein sending the peak discharge power parameter to the control unit of the electronic device comprises: The peak discharge power parameter is sent to the control unit of the electronic device in real time. Alternatively, the peak discharge power parameter may be sent to the control unit of the electronic device at preset intervals.

9. The method according to claim 4, further comprising: If the comparison result indicates that the internal temperature parameter is greater than or equal to the preset temperature, and the temperature difference between the internal temperature parameter and the preset temperature is less than the second threshold, the electronic device is controlled to output a high temperature alarm signal. Alternatively, if the comparison result indicates that the internal temperature parameter is greater than or equal to the preset temperature, and the temperature difference between the internal temperature parameter and the preset temperature is greater than the second threshold, the electronic device is controlled to perform a shutdown operation.

10. An electronic device, comprising: A determining unit is used to determine the internal temperature parameters of the battery based on the battery status information of the electronic device; And a parameter for determining the peak current that the battery can support within a preset temperature based on the internal temperature parameter; the preset temperature can be dynamically adjusted by the electronic device according to the current charge / discharge current value of the battery; the preset temperature when the charge / discharge current value is small is higher than the preset temperature when the charge / discharge current value is large. A control unit is used to control the power consumption adjustment of the electronic device based on the peak current parameter.