Charging control method and device, electronic equipment and storage medium

By identifying the charger type and temperature monitoring, non-standard chargers are allowed to enter the fast charging mode, solving the problem of limited application scope of fast charging mode in the existing technology, realizing fast charging of non-original chargers, and improving user experience.

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

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, only the fast charging mode can be activated by using the original charger of the equipment, which limits the scope of application of the fast charging mode and leads to a poor user experience.

Method used

By identifying the charger's charging type and manufacturer type, non-standard types are allowed to enter fast charging mode and ensure charging safety and stability through temperature monitoring, current control and configuration file adjustments.

Benefits of technology

The scope of application of the fast charging mode has been expanded, so that non-original chargers can also achieve fast charging, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120414769A_ABST
    Figure CN120414769A_ABST
Patent Text Reader

Abstract

The invention relates to a charging control method and device, electronic equipment and a storage medium, and the method comprises the steps: responding to the condition that equipment information meets a preset requirement and a charger is connected into an equipment interface, and obtaining a charging type and a manufacturer type of the charger; and in response to the charging type being a quick charging type and the manufacturer type being a non-standard type, controlling the equipment to enter a quick charging mode, so that the charger charges the equipment according to charging parameters corresponding to the quick charging mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of device charging, and particularly to a charging control method, apparatus, electronic device, and storage medium. Background Art

[0002] In recent years, the functions of terminal devices such as smart phones and tablet computers have gradually become rich, and their performance has also been greatly improved. While these improvements bring a better user experience to users, they also increase the power consumption of terminal devices. To adapt to the gradually increasing power consumption of terminal devices, on the one hand, the battery capacity of the device is increased, and on the other hand, the charging speed of the battery is increased. The battery capacity is limited by the size of the terminal device and cannot be greatly improved, but there have already been many fast charging modes to increase the charging speed. However, in related technologies, the fast charging mode can only be activated when charging with the original charger of the device, which greatly limits the applicable range of the fast charging mode and also results in a poor user experience. Summary of the Invention

[0003] To overcome the problems existing in related technologies, embodiments of the present disclosure provide a charging control method, apparatus, electronic device, and storage medium to solve the defects in related technologies.

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

[0005] In response to the device information meeting a preset requirement and a charger being connected to the device interface, obtain the charging type and manufacturer type of the charger;

[0006] In response to the charging type being a fast charging type and the manufacturer type being a non-standard type, control the device to enter the fast charging mode, so that the charger charges the device with the charging parameters corresponding to the fast charging mode.

[0007] In a possible embodiment of the present disclosure, the controlling the device to enter the fast charging mode, so that the charger charges the device with the charging parameters corresponding to the fast charging mode includes:

[0008] Control the device to enter the fast charging mode, so that the charger charges the device with a charging power upper limit being the smaller power between the charging power upper limit supported by the charger and the charging power upper limit supported by the device, and a charging current upper limit being the smaller current between the charging current upper limit supported by the charger and the charging current upper limit supported by the device.

[0009] In a possible embodiment of the present disclosure, the method further includes:

[0010] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, in response to the charging power reaching a preset power threshold and the duration of the charging current continuously being at the upper limit of the charging current reaching a preset duration threshold, the charging power is reduced.

[0011] In a possible embodiment of the present disclosure, the method further includes:

[0012] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, obtain the temperature of the charger;

[0013] In response to the temperature of the charger being less than the first threshold, keep the charging power unchanged;

[0014] In response to the temperature of the charger being not less than the first threshold, reduce the charging power.

[0015] In a possible embodiment of the present disclosure, the method further includes:

[0016] In response to the temperature of the charger being greater than the second threshold, control the device to enter the normal charging mode, so that the charger charges the device with the charging parameters corresponding to the normal charging mode;

[0017] The reducing the charging power in response to the temperature of the charger being not less than the first threshold includes:

[0018] In response to the temperature of the charger being not less than the first threshold and less than the second threshold, reduce the charging power.

[0019] In a possible embodiment of the present disclosure, the method further includes:

[0020] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, control the device to disable a preset proportion mode of the charge pump.

[0021] In a possible embodiment of the present disclosure, the method further includes:

[0022] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, control the device to call the first charging configuration file, so that the charger charges the device with the charging parameters in the first charging configuration file;

[0023] Among them, the charging current corresponding to each charging stage in the first charging profile is less than the charging current corresponding to the same charging stage in the second charging profile. The second charging profile is the charging profile corresponding to a charger with a standard manufacturer type. Both the first charging profile and the second charging profile include the charging currents of multiple charging stages.

[0024] In a possible embodiment of the present disclosure, the method further includes at least one of the following:

[0025] In response to the device being powered on, determining whether the device information meets a preset requirement;

[0026] In response to a charger being connected to the device interface, determining whether the device information meets a preset requirement;

[0027] Periodically determining whether the device information meets a preset requirement.

[0028] In a possible embodiment of the present disclosure, the method further includes at least one of the following:

[0029] In response to the device version being a preset version, determining that the device information meets a preset requirement;

[0030] In response to the device location being a preset location, determining that the device information meets a preset requirement.

[0031] In a possible embodiment of the present disclosure, the obtaining the charging type and manufacturer type of the charger includes:

[0032] Communicating with the charger using a fast charging protocol, determining that the charging type is a fast charging type in response to successful communication, and determining that the charging type is a normal charging type in response to failed communication;

[0033] Communicating with the charger using a standard type of encryption method, determining that the manufacturer type is a standard type in response to successful communication, and determining that the manufacturer type is a non-standard type in response to failed communication.

[0034] According to a second aspect of the embodiments of the present disclosure, there is provided a charging control device, the device includes:

[0035] An obtaining module, configured to obtain the charging type and manufacturer type of the charger in response to the device information meeting a preset requirement and a charger being connected to the device interface;

[0036] A charging module, configured to control the device to enter a fast charging mode in response to the charging type being a fast charging type and the manufacturer type being a non-standard type, so that the charger charges the device with the charging parameters corresponding to the fast charging mode.

[0037] In a possible embodiment of the present disclosure, the charging module is configured to:

[0038] Control the device to enter the fast charging mode, so that the charger charges the device with a charging power that is the smaller of the charging power upper limit supported by the charger and the charging power upper limit supported by the device, and a charging current that is the smaller of the charging current upper limit supported by the charger and the charging current upper limit supported by the device.

[0039] In a possible embodiment of the present disclosure, the device further includes a first overheat protection module, which is configured to:

[0040] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, in response to the charging power reaching a preset power threshold and the duration of the charging current continuously being at the charging current upper limit reaching a preset duration threshold, reduce the charging power.

[0041] In a possible embodiment of the present disclosure, the device further includes a second overheat protection module, which is configured to:

[0042] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, obtain the temperature of the charger;

[0043] In response to the temperature of the charger being less than a first threshold, keep the charging power unchanged;

[0044] In response to the temperature of the charger being not less than the first threshold, reduce the charging power.

[0045] In a possible embodiment of the present disclosure, the second overheat protection module is further configured to:

[0046] In response to the temperature of the charger being greater than a second threshold, control the device to enter the normal charging mode, so that the charger charges the device with the charging parameters corresponding to the normal charging mode;

[0047] When the second overheat protection module is configured to reduce the charging power in response to the temperature of the charger being not less than the first threshold, it is configured to:

[0048] In response to the temperature of the charger being not less than the first threshold and less than the second threshold, reduce the charging power.

[0049] In a possible embodiment of the present disclosure, the device further includes a low-voltage stabilization module, which is configured to:

[0050] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, control the device to disable the preset proportional mode of the charge pump.

[0051] In a possible embodiment of the present disclosure, the device further includes a configuration module for:

[0052] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, control the device to call the first charging configuration file, so that the charger charges the device with the charging parameters in the first charging configuration file;

[0053] Wherein, the charging current corresponding to each charging stage in the first charging configuration file is less than the charging current corresponding to the same charging stage in the second charging configuration file, the second charging configuration file is the charging configuration file corresponding to a charger with a standard manufacturer type, and both the first charging configuration file and the second charging configuration file include the charging currents of multiple charging stages.

[0054] In a possible embodiment of the present disclosure, the device further includes a first determination module for at least one of the following:

[0055] In response to the device being powered on, determine whether the device information meets the preset requirements;

[0056] In response to a charger being plugged into the device interface, determine whether the device information meets the preset requirements;

[0057] Periodically determine whether the device information meets the preset requirements.

[0058] In a possible embodiment of the present disclosure, the device further includes a second determination module for at least one of the following:

[0059] In response to the device version being the preset version, determine that the device information meets the preset requirements;

[0060] In response to the device location being the preset location, determine that the device information meets the preset requirements.

[0061] In a possible embodiment of the present disclosure, the acquisition module is used for:

[0062] Communicate with the charger using the fast charging protocol, and determine that the charging type is the fast charging type in response to successful communication, and determine that the charging type is the normal charging type in response to failed communication;

[0063] Communicate with the charger using the standard type of encryption method, and determine that the manufacturer type is the standard type in response to successful communication, and determine that the manufacturer type is the non-standard type in response to failed communication.

[0064] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided. The electronic device includes a memory and a processor. The memory is used to store computer instructions that can be run on the processor, and the processor is used to implement the charging control method described in the first aspect when executing the computer instructions.

[0065] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect is implemented.

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

[0067] The charging control method provided by the embodiments of the present disclosure can, in response to the device information meeting the preset requirements and a charger being plugged into the device interface, obtain the charging type and manufacturer type of the charger, and in response to the charging type being a fast charging type and the manufacturer type being a non-standard type, control the device to enter the fast charging mode, so that the charger charges the device with the charging parameters corresponding to the fast charging mode. That is to say, when a non-standard type fast charging charger is inserted into the device interface where the device information meets the preset requirements, the device will charge in cooperation with the charger in the fast charging mode, so that non-standard type fast charging chargers (such as non-original fast charging chargers) can also charge the device quickly, improving the charging speed, expanding the applicable range of the fast charging mode, and also improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.

[0069] Figure 1 is a flowchart of the charging control method shown in an exemplary embodiment of the present disclosure;

[0070] Figure 2 is a flowchart of the overheat protection strategy shown in an exemplary embodiment of the present disclosure;

[0071] Figure 3 is a schematic diagram of the charging configuration file shown in an exemplary embodiment of the present disclosure;

[0072] Figure 4 is a schematic structural diagram of the charging control device shown in an exemplary embodiment of the present disclosure;

[0073] Figure 5 is a block diagram of the electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0074] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0075] The terms used in the present disclosure are for the purpose of describing particular embodiments only and are not intended to limit the present disclosure. The singular forms "a", "the", and "said" used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0076] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".

[0077] In recent years, the functions of terminal devices such as smart phones and tablet computers have become gradually richer and their performance has also been greatly improved. While these improvements bring a better user experience to users, they also increase the power consumption of terminal devices. In order to adapt to the gradually increasing power consumption of terminal devices, on the one hand, the battery capacity of the device is increased, and on the other hand, the charging speed of the battery is increased. The battery capacity is limited by the size of the terminal device and cannot be greatly improved, but there have already emerged many fast charging modes to increase the charging speed. However, in the related art, the fast charging mode can only be activated when charging with the original charger of the device, which greatly limits the applicable scope of the fast charging mode and also results in a poor user experience. For example, in the related art, for non-original chargers, the device will charge in the normal charging mode in cooperation with the charger, and the upper limit of the charging power of the normal charging mode is limited to a relatively low level, such as limited to below 30W, and its charging speed is much slower than that of the fast charging mode.

[0078] Based on this, in a first aspect, at least one embodiment of the present disclosure provides a charging control method, which can be applied to terminal devices such as smartphones and tablets. When a charger is connected to the device interface, the charging type and manufacturer type of the charger are identified, and then the device charges in a charging mode that matches the charger. Preferably, it charges in a fast charging mode to cooperate with the charger, thereby improving the charging speed of the device and the applicable range of the fast charging mode.

[0079] First, the concepts involved in this method are explained.

[0080] Fast charging mode: Also known as flash charging mode, it charges the device with a relatively high charging power (such as 90w, 120w, 210w, etc.), and the charging speed is relatively fast. During the charging process, the charging current and charging voltage can be adjusted. For example, it initially charges with a relatively high charging current and then gradually reduces the charging current. The fast charging mode can charge according to the current step charging curve configured in the configuration file. The current step charging curve includes the charging currents at multiple stages during the entire charging process. For example, the first charging stage is a constant current line, and other charging stages include a current drop curve and a constant current line. The device can be equipped with a fast charging chip and operate the fast charging mode by using the fast charging chip to control the charging current and charging voltage.

[0081] Normal charging mode: Also known as slow charging mode, it charges the device with a fixed charging current and charging voltage. Its charging power is relatively low (such as 30w), and the charging speed is relatively slow. The device can use a power management integrated circuit (PMIC) to maintain the above fixed charging current and charging voltage to operate the normal charging mode.

[0082] Please refer to the attached Figure 1 , which exemplarily shows the flow of the charging control method, including step S101 to step S102.

[0083] In step S101, in response to the device information meeting the preset requirements and a charger being connected to the device interface, the charging type and manufacturer type of the charger are obtained.

[0084] Among them, the device interface can be a charging interface, such as a USB-C (Universal Serial Bus Type-C) interface, a Micro USB (Micro Universal Serial Bus) interface, etc. The device interface can detect in real time whether a charger is connected.

[0085] Among them, whether the device information meets the preset requirements is used to characterize whether the device supports fast charging with a non-standard type of fast charging charger, that is, whether the device fast charges in cooperation with a non-standard type of fast charging charger in the fast charging mode, that is: if the device information meets the preset requirements, the device supports fast charging with a non-standard type of fast charging charger; if the device information does not meet the preset requirements, the device does not support fast charging with a non-standard type of fast charging charger.

[0086] The device information may include the device version, device location, etc. The device version can be determined by reading the flag bit in the NV on the BP side of the system. The device version often matches the device's release region. For example, the item #4 flag bit of nv#6853 is read to distinguish between the international version and the domestic version; the device location can be determined by reading the positioning program in the device. For example, the following any one of the ways can be used to determine whether the device information meets the preset requirements: in response to the device being powered on, determine whether the device information meets the preset requirements; in response to a charger being plugged into the device interface, determine whether the device information meets the preset requirements; periodically determine whether the device information meets the preset requirements.

[0087] Optionally, in response to the device version being the preset version, determine that the device information meets the preset requirements; and / or, in response to the device location being the preset location, determine that the device information meets the preset requirements. If in some regions (such as the EU region) it is required that devices in that region support fast charging with non-standard type of fast charging chargers, then the device version corresponding to that region can be determined as the preset version, or that region can be determined as the preset location.

[0088] Exemplarily, the following method can be used to obtain the charging type and manufacturer type of the charger:

[0089] Communicate with the charger using a fast charging protocol (such as the PD protocol, etc.). In response to successful communication, determine that the charging type is the fast charging type; in response to communication failure, determine that the charging type is the normal charging type.

[0090] Communicate with the charger using a standard type of encryption method. In response to successful communication, determine that the manufacturer type is the standard type; in response to communication failure, determine that the manufacturer type is the non-standard type. For example, the original device and the charger are respectively provided with the same encryption key. The device encrypts the message with this encryption key and sends it to the charger. If the charger can successfully decrypt and respond (or reply), then the charger is the original charger; if the charger cannot successfully decrypt and correctly respond (or reply), then the charger is not the original charger.

[0091] In step S102, in response to the charging type being the fast charging type and the manufacturer type being the non-standard type, the control device enters the fast charging mode, so that the charger charges the device with the charging parameters corresponding to the fast charging mode.

[0092] Optionally, when this step controls the device to enter the fast charging mode so that the charger charges the device with the charging parameters corresponding to the fast charging mode, specifically, the device can be controlled to enter the fast charging mode so that the charger charges the device with the upper limit of the charging power being the smaller of the upper limit of the charging power supported by the charger and the upper limit of the charging power supported by the device, and the upper limit of the charging current being the smaller of the upper limit of the charging current supported by the charger and the upper limit of the charging current supported by the device. For example, after the device enters the fast charging mode, obtain the upper limit of the charging power supported by the battery (i.e., the maximum charging power allowed by the battery) and the upper limit of the charging power supported by the charger (i.e., the maximum charging power that the charger can provide), and use the smaller of the two as the maximum charging power for this charging; and after the device enters the fast charging mode, obtain the upper limit of the charging current supported by the battery (i.e., the maximum charging current allowed by the battery) and the upper limit of the charging current supported by the charger (i.e., the maximum charging current that the charger can provide), and use the smaller of the two as the maximum charging current for this charging.

[0093] It should be understood that this embodiment allows a non-standard type fast charging charger to charge the device quickly, but the stability of the non-standard type fast charging charger is worse than that of the standard type charger. Therefore, the charging safety and charging stability (i.e., no phenomenon such as charging interruption) can be maintained by the methods provided by at least one of the following optional examples.

[0094] Optional example 1

[0095] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, in response to the charging power reaching the preset power threshold and the duration of the charging current continuously being at the upper limit of the charging current reaching the preset duration threshold, reduce the charging power. Additionally, the upper limit of the charging power supported by the device can also be reduced synchronously.

[0096] For example, the preset power threshold is 44W.

[0097] For example, the preset duration threshold is 2 min.

[0098] For example, when reducing the charging power, the charging power can be reduced to 1 / 3 of the original value, or 1 / 3 of the upper limit of the charging power. For instance, the device can send a notification to the charger, requesting it to reduce the charging power to 1 / 3 of the original value or 1 / 3 of the upper limit of the charging power. If the upper limit of the charging power supported by the device is reduced synchronously, it can also be reduced to 1 / 3 of the original value.

[0099] In this optional example, when the charging power is high and the duration of the charging current staying at the upper limit of the charging current is long, the excessive current may cause the charger to have a high temperature. Especially for non-standard chargers, it is difficult to ensure the performance stability. Therefore, the charging power is reduced to lower the temperature of the charger, thereby preventing the charger from stopping charging due to overheating.

[0100] Optional Example 2

[0101] First, during the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, obtain the temperature of the charger. For example, the device sends a GET_PPS_STATUS message to the charger according to the fast charging protocol (such as PD3.0 protocol), and the charger uses PPS_STATUS to respond to the GET_PPS_STATUS message. PPS_STATUS can be the temperature of the charger, or the magnitude relationship between the temperature of the charger and the first threshold and the second threshold. Therefore, the device can determine the magnitude relationship between the temperature of the charger and the first threshold and the second threshold according to PPS_STATUS. For example, the message format of PPS_STATUS can be shown in the following table:

[0102] Table 1: PPS_STATUS Message Format Table

[0103]

[0104] Furthermore, it can be:

[0105] In response to the temperature of the charger being less than the first threshold, keep the charging power unchanged.

[0106] In response to the temperature of the charger being not less than the first threshold, reduce the charging power. For example, in response to the temperature of the charger being not less than the first threshold and less than the second threshold, reduce the charging power. For another example, when reducing the charging power, reduce the charging power to 1 / 3 of the original value, or 1 / 3 of the upper limit of the charging power. Additionally, the upper limit of the charging power supported by the device can also be reduced synchronously, for example, also reduced to 1 / 3 of the original value.

[0107] In response to the temperature of the charger being greater than the second threshold, control the device to enter the normal charging mode, so that the charger charges the device with the charging parameters corresponding to the normal charging mode.

[0108] Please refer to the appendix Figure 2 , which exemplarily shows the flow logic diagram of this optional example. In the figure, Dmax represents the upper limit of the charging power supported by the device, Amax represents the upper limit of the charging power supported by the charger, Warm represents the first threshold, and Overtemp represents the second threshold.

[0109] In this optional example, by setting at least one temperature threshold, when the charger temperature is higher than a certain temperature threshold, the charging power is correspondingly reduced to avoid disconnection of charging caused by the charger being overheated for a long time (such as hardware disconnection or software disconnection); especially when the charger temperature is higher than the maximum temperature threshold, it can switch to the normal charging mode for charging, thus maximizing the avoidance of charging disconnection.

[0110] Optional Example 3

[0111] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, control the device to disable the preset ratio mode of the charge pump. For example, the preset ratio mode is the 1:1 mode, etc.

[0112] It should be understood that in the fast charging mode, different ratio modes of the charge pump will be adopted throughout the charging process to meet the voltage requirements of the battery at each stage, etc. The higher the preset ratio of the charge pump, the higher the input voltage of the charger, and the lower the preset ratio of the charge pump, the lower the input voltage of the charger. The performance stability of non-standard fast charging chargers is difficult to guarantee. If the low voltage output in the lower ratio mode of the charge pump is unstable, it will affect the charging efficiency and stability. This example disables the lower ratio mode of the charge pump when using a non-standard fast charging charger to charge the device, which can avoid the unstable low voltage output of the charger from affecting the charging efficiency and stability.

[0113] Optional Example 4

[0114] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, control the device to call the first charging configuration file, so that the charger charges the device with the charging parameters in the first charging configuration file; wherein, the charging current corresponding to each charging stage in the first charging configuration file is less than the charging current corresponding to the same charging stage in the second charging configuration file, and the second charging configuration file is the charging configuration file corresponding to a charger with a standard manufacturer type. Both the first charging configuration file and the second charging configuration file include the charging currents of multiple charging stages. Please refer to the appendix Figure 3 , which exemplarily shows the currents of each charging stage in the first charging configuration file and the second charging configuration file in the form of a step charging curve. It can be seen from the figure that the current of the first charging configuration file is lower than that of the second charging configuration file at each charging stage.

[0115] It should be understood that in the fast charging mode, during the entire charging process, charging is carried out according to the current requirements of each charging stage in the configuration file, so as to achieve the fastest charging speed. The performance stability of non-standard fast charging chargers is difficult to guarantee. If charging is carried out according to the charging configuration file of the standard type, current instability may occur in some charging stages. For example, the current is higher than the current requirement of the corresponding charging stage, which will affect charging safety and even cause phenomena such as hardware charging interruption. In this example, when using a non-standard fast charging charger to charge a device, a specific charging configuration file (i.e., the first charging configuration file) is used to guide the charging parameters, so that the charging current can be lower than the maximum current that the battery can withstand in each charging stage, thereby providing a buffer space for the unstable charger current and avoiding affecting charging safety due to the unstable charger current, especially avoiding the phenomenon of charging interruption.

[0116] The charging control method provided by the embodiments of the present disclosure can, in response to the device information meeting the preset requirements and a charger being connected to the device interface, obtain the charging type and manufacturer type of the charger, and in response to the charging type being the fast charging type and the manufacturer type being the non-standard type, control the device to enter the fast charging mode, so that the charger charges the device with the charging parameters corresponding to the fast charging mode. That is to say, when a non-standard fast charging charger is inserted into the device interface of a device whose device information meets the preset requirements, the device will charge in cooperation with the charger in the fast charging mode, so that non-standard fast charging chargers (such as non-original fast charging chargers) can also quickly charge the device, improving the charging speed, expanding the applicable range of the fast charging mode, and also improving the user experience.

[0117] In other words, the charging control method provided by the present disclosure can enable any fast charging charger that the device can be compatible with to achieve the same charging speed as the original charger, thereby improving the applicability between the device and the charger and improving the user experience.

[0118] According to the second aspect of the embodiments of the present disclosure, a charging control device is provided. Please refer to the appendix Figure 4 , the device includes:

[0119] An acquisition module 401, configured to obtain the charging type and manufacturer type of the charger in response to the device information meeting the preset requirements and a charger being connected to the device interface;

[0120] A charging module 402, configured to control the device to enter the fast charging mode in response to the charging type being the fast charging type and the manufacturer type being the non-standard type, so that the charger charges the device with the charging parameters corresponding to the fast charging mode.

[0121] In a possible embodiment of the present disclosure, the charging module is configured to:

[0122] Control the device to enter the fast charging mode, so that the charger charges the device with a charging power that is the smaller of the charging power upper limit supported by the charger and the charging power upper limit supported by the device, and a charging current that is the smaller of the charging current upper limit supported by the charger and the charging current upper limit supported by the device.

[0123] In a possible embodiment of the present disclosure, the device further includes a first overheat protection module, configured to:

[0124] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, in response to the charging power reaching a preset power threshold and the duration of the charging current continuously being at the charging current upper limit reaching a preset duration threshold, reduce the charging power.

[0125] In a possible embodiment of the present disclosure, the device further includes a second overheat protection module, configured to:

[0126] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, obtain the temperature of the charger;

[0127] In response to the temperature of the charger being less than a first threshold, keep the charging power unchanged;

[0128] In response to the temperature of the charger being not less than the first threshold, reduce the charging power.

[0129] In a possible embodiment of the present disclosure, the second overheat protection module is further configured to:

[0130] In response to the temperature of the charger being greater than a second threshold, control the device to enter the normal charging mode, so that the charger charges the device with the charging parameters corresponding to the normal charging mode;

[0131] When the second overheat protection module is configured to reduce the charging power in response to the temperature of the charger being not less than the first threshold, it is configured to:

[0132] In response to the temperature of the charger being not less than the first threshold and less than the second threshold, reduce the charging power.

[0133] In a possible embodiment of the present disclosure, the device further includes a low-voltage stabilization module, configured to:

[0134] During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, control the device to disable a preset proportion mode of the charge pump.

[0135] In a possible embodiment of the present disclosure, the device further includes a configuration module, configured to:

[0136] During the process that the charger charges the device with the charging parameters corresponding to the fast charging mode, control the device to call the first charging configuration file, so that the charger charges the device with the charging parameters in the first charging configuration file;

[0137] Wherein, the charging current corresponding to each charging stage in the first charging configuration file is less than the charging current corresponding to the same charging stage in the second charging configuration file, the second charging configuration file is the charging configuration file corresponding to a charger with a standard manufacturer type, and both the first charging configuration file and the second charging configuration file include the charging currents of multiple charging stages.

[0138] In a possible embodiment of the present disclosure, the device further includes a first determination module, configured to perform at least one of the following:

[0139] In response to the device being powered on, determine whether the device information meets the preset requirements;

[0140] In response to a charger being connected to the device interface, determine whether the device information meets the preset requirements;

[0141] Periodically determine whether the device information meets the preset requirements.

[0142] In a possible embodiment of the present disclosure, the device further includes a second determination module, configured to perform at least one of the following:

[0143] In response to the device version being the preset version, determine that the device information meets the preset requirements;

[0144] In response to the device location being the preset location, determine that the device information meets the preset requirements.

[0145] In a possible embodiment of the present disclosure, the acquisition module is configured to:

[0146] Communicate with the charger using the fast charging protocol, and in response to successful communication, determine that the charging type is the fast charging type, and in response to communication failure, determine that the charging type is the normal charging type;

[0147] Communicate with the charger using the standard type of encryption method, and in response to successful communication, determine that the manufacturer type is the standard type, and in response to communication failure, determine that the manufacturer type is the non-standard type.

[0148] Regarding the device in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the method in the first aspect, and will not be elaborated here.

[0149] According to a third aspect of the embodiments of the present disclosure, please refer to the attached Figure 5 , which exemplarily shows a block diagram of an electronic device. For example, the device 500 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, etc.

[0150] Referring to Figure 5 , the device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.

[0151] The processing component 502 generally controls the overall operation of the device 500, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0152] The memory 504 is configured to store various types of data to support the operation of the device 500. Examples of such data include instructions for any application or method operating on the device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 may 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, a magnetic disk, or an optical disk.

[0153] The power component 506 provides power to various components of the device 500. The power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 500.

[0154] The multimedia component 508 includes a screen that provides an output interface between the device 500 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, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of the touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.

[0155] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) that is configured to receive external audio signals when the device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further includes a speaker for outputting audio signals.

[0156] The I / O interface 512 provides an interface between the processing component 502 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.

[0157] The sensor component 514 includes one or more sensors for providing an assessment of the state of the device 500 in various aspects. For example, the sensor component 514 can detect the on / off state of the device 500, the relative positioning of components, such as the display and the keypad of the device 500. The sensor component 514 can also detect a change in the position of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration / deceleration of the device 500, and the temperature change of the device 500. The sensor component 514 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 514 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0158] The communication component 516 is configured to facilitate communication between the device 500 and other devices in a wired or wireless manner. The device 500 can access a communication standard-based wireless network, such as WiFi, 2G or 3G, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further 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.

[0159] In an exemplary embodiment, the device 500 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 for performing the application window control method of the above electronic device.

[0160] In a fourth aspect, in an exemplary embodiment of the present disclosure, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 504 including instructions, and the above instructions can be executed by a processor 520 of the device 500 to complete the application window control method of the above electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0161] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the disclosure herein. The present 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 known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

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

Claims

1. A charging control method, characterized in that, The method includes: In response to the device information meeting the preset requirements and a charger being connected to the device interface, obtaining the charging type and manufacturer type of the charger; In response to the charging type being a fast charging type and the manufacturer type being a non-standard type, controlling the device to enter the fast charging mode so that the charger charges the device with the charging parameters corresponding to the fast charging mode.

2. The charging control method according to claim 1, characterized in that, The controlling the device to enter the fast charging mode so that the charger charges the device with the charging parameters corresponding to the fast charging mode includes: Controlling the device to enter the fast charging mode so that the charger charges the device with a charging power upper limit being the smaller power between the charging power upper limit supported by the charger and the charging power upper limit supported by the device, and a charging current upper limit being the smaller current between the charging current upper limit supported by the charger and the charging current upper limit supported by the device.

3. The charging control method according to claim 2, wherein The method further includes: During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, in response to the charging power reaching a preset power threshold and the duration of the charging current continuously being at the charging current upper limit reaching a preset duration threshold, reducing the charging power.

4. The charging control method according to claim 2, wherein The method further includes: During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, obtaining the temperature of the charger; In response to the temperature of the charger being less than a first threshold, keeping the charging power unchanged; In response to the temperature of the charger being not less than the first threshold, reducing the charging power.

5. The charging control method according to claim 2, wherein, The method further includes: In response to the temperature of the charger being greater than a second threshold, controlling the device to enter the normal charging mode so that the charger charges the device with the charging parameters corresponding to the normal charging mode; The in response to the temperature of the charger being not less than the first threshold, reducing the charging power includes: In response to the temperature of the charger being not less than the first threshold and less than the second threshold, reducing the charging power.

6. The charging control method according to claim 2, characterized in that The method further includes: During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, controlling the device to disable a preset proportion mode of the charge pump.

7. The charging control method according to claim 2, wherein The method further includes: During the process of the charger charging the device with the charging parameters corresponding to the fast charging mode, controlling the device to call a first charging configuration file so that the charger charges the device with the charging parameters in the first charging configuration file; Wherein, the charging current corresponding to each charging stage in the first charging configuration file is less than the charging current corresponding to the same charging stage in the second charging configuration file, the second charging configuration file is the charging configuration file corresponding to a charger with a standard manufacturer type, and both the first charging configuration file and the second charging configuration file include the charging currents of multiple charging stages.

8. The charging control method according to claim 1, wherein The method further includes at least one of the following: In response to the device being powered on, determining whether the device information meets the preset requirements; In response to a charger being connected to the device interface, determining whether the device information meets the preset requirements; Periodically determine whether the device information meets the preset requirements.

9. The charging control method according to claim 1, wherein The method further includes at least one of the following: In response to the device version being the preset version, determine that the device information meets the preset requirements; In response to the device location being the preset location, determine that the device information meets the preset requirements.

10. The charging control method according to claim 1, wherein, The obtaining of the charging type and manufacturer type of the charger includes: Communicate with the charger using the fast charging protocol. In response to successful communication, determine that the charging type is the fast charging type. In response to communication failure, determine that the charging type is the normal charging type; Communicate with the charger using the standard type of encryption method. In response to successful communication, determine that the manufacturer type is the standard type. In response to communication failure, determine that the manufacturer type is the non-standard type.

11. A charging control device, characterized in that, The device includes: An obtaining module, configured to obtain the charging type and manufacturer type of the charger in response to the device information meeting the preset requirements and a charger being connected to the device interface; A charging module, configured to control the device to enter the fast charging mode in response to the charging type being the fast charging type and the manufacturer type being the non-standard type, so that the charger charges the device with the charging parameters corresponding to the fast charging mode.

12. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory is used to store computer instructions that can be run on the processor, and the processor is used to implement the charging control method according to any one of claims 1 to 10 when executing the computer instructions.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method according to any one of claims 1 to 10.