Charging control method and device, equipment and storage medium

By intelligently identifying the list of chargers and controlling them according to the charging strategy, the problem of poor flexibility in charger control methods in existing technologies is solved, thereby improving safety and performance and enhancing the user experience.

CN121395609APending Publication Date: 2026-01-23BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410969608.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

Existing charger control methods lack flexibility and cannot fully utilize the charger's charging performance, thus affecting the user's charging experience.

Method used

By acquiring charger information, the system intelligently identifies the charger list to which it belongs and controls the charger to charge according to the charging strategy corresponding to different lists, including whitelists, blacklists, and power verification, to determine the target maximum power, establish the corresponding relationship, and upload it to the cloud.

Benefits of technology

It achieves safety and full utilization of charging performance during the charging process, improves the user's charging experience and charger compatibility, and ensures the safety and stability of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121395609A_ABST
    Figure CN121395609A_ABST
Patent Text Reader

Abstract

The invention provides a charging control method and device, equipment and a storage medium, and relates to the field of charging. The method comprises the following steps: acquiring charger information of a charger connected with the electronic equipment; determining a charger list to which the chargers belong according to the charger information; responding to the situation that the charger belongs to the first charger list, the charger is controlled to conduct charging based on a first charging strategy, and the maximum charging power allowed under the first charging strategy is matched with the maximum power supported by the charger or the electronic equipment; in response to the situation that the charger belongs to the second charger list, the charger is controlled to conduct charging based on a second charging strategy, and the maximum charging power allowed under the second charging strategy is the set power. The method can intelligently identify the charger list to which the connected charger belongs, controls the charger to charge according to the charging strategy corresponding to the charger list, gives full play to the charging performance of the charger while considering the safety of the charging process, and improves the charging experience of a user.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of charging, and in particular, to a charging control method and device, equipment and storage medium. BACKGROUND

[0002] With the wide application of electronic devices and the rapid development of charging technology, the use demand of users for chargers continues to rise, and the types of chargers on the market are also increasing. In order to meet the increasing charging demand of users for electronic devices, the power of various chargers is getting larger and larger.

[0003] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0004] The purpose of the present disclosure is to provide a charging control method, device, equipment and storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a charging control method is provided, comprising: obtaining charger information of a charger connected to an electronic device; determining a charger list to which the charger belongs according to the charger information; in response to the charger belonging to a first charger list, controlling the charger to charge based on a first charging strategy, wherein the maximum charging power allowed under the first charging strategy matches the maximum power supported by the charger or the electronic device; in response to the charger belonging to a second charger list, controlling the charger to charge based on a second charging strategy, wherein the maximum charging power allowed under the second charging strategy is a set power.

[0006] In some embodiments, the charging control method further comprises: in response to the charger not belonging to the first charger list and the second charger list, performing power verification on the charger to determine a target maximum power allowed for charging using the charger.

[0007] In some embodiments, the charging control method further comprises: controlling the charger to charge based on a third charging strategy, wherein the maximum charging power allowed under the third charging strategy is the target maximum power.

[0008] In some embodiments, the power verification of the charger, the determination of the target maximum power allowed for charging using the charger, comprises: stepwise increasing a verification power; performing power verification of the charger based on the verification power; in response to a verification pass condition being met, determining the target maximum power as a maximum power supported by the charger or the electronic device; in response to the verification pass condition not being met, determining the target maximum power as the verification power before the stepwise increase.

[0009] In some embodiments, the charging control method further comprises: in response to the target maximum power being the maximum power supported by the charger or the electronic device, establishing a first correspondence between the charger information and the first charger list, and uploading the first correspondence to the cloud; in response to the target maximum power being less than the maximum power supported by the charger or the electronic device, establishing a second correspondence between the charger information and the second charger list, and uploading the second correspondence to the cloud.

[0010] In some embodiments, the establishment of the correspondence between the charger information and the second charger list and the uploading of the correspondence to the cloud in response to the target maximum power being less than the maximum power supported by the charger or the electronic device comprises: uploading the target maximum power as a set power corresponding to the charger information under the second charging strategy to the cloud.

[0011] In some embodiments, the determination of the charger list to which the charger belongs according to the charger information comprises: uploading the charger information to the cloud; and obtaining the charger list to which the charger belongs returned by the cloud.

[0012] In some embodiments, the determination of the charger list to which the charger belongs according to the charger information comprises: obtaining a charger classification list from the cloud, the charger classification list storing a correspondence between the charger information and the charger list to which the charger belongs.

[0013] The charger list to which the charger belongs is determined according to the charger information and the charger classification list.

[0014] In some embodiments, the obtaining of the charger classification list from the cloud comprises: determining device type information of the electronic device, and obtaining the charger classification list matching the device type information from the cloud.

[0015] In some embodiments, the set power corresponds to the charger information; and the controlling the charger to charge based on the second charging strategy in response to the charger belonging to the second charger list comprises: in response to the charger belonging to the second charger list, controlling the charger to charge based on the second charging strategy, wherein the maximum charging power allowed in the second charging strategy is the set power corresponding to the charger information.

[0016] In some embodiments, the second charging strategy corresponds to a plurality of set powers; and the controlling the charger to charge based on the second charging strategy in response to the charger belonging to the second charger list comprises: in response to the charger belonging to the second charger list, receiving a selection operation on the plurality of set powers; and controlling the charger to charge based on the second charging strategy according to the selection operation, wherein the maximum charging power allowed in the second charging strategy is the selected set power.

[0017] In some embodiments, the controlling the charger to charge based on the second charging strategy in response to the charger belonging to the second charger list comprises: in response to the charger belonging to the second charger list, obtaining a fourth charging strategy corresponding to the charger information stored in advance, wherein the maximum charging power allowed in the fourth charging strategy is a power record value; in response to the power record value in the fourth charging strategy and the set power in the second charging strategy being inconsistent, receiving a selection operation on the fourth charging strategy or the second charging strategy; and controlling the charger to charge based on the selected fourth charging strategy or the second charging strategy according to the selection operation.

[0018] In some embodiments, the charging control method further comprises: in response to the charger belonging to the second charger list, displaying charging prompt information.

[0019] According to a second aspect of the embodiments of the present disclosure, a charging control apparatus is provided, comprising: an acquisition unit configured to acquire charger information of a charger connected to an electronic device; a determination unit configured to determine a charger list to which the charger belongs according to the charger information; and a charging unit configured to control the charger to charge based on a first charging strategy in response to the charger belonging to a first charger list, wherein the maximum charging power allowed in the first charging strategy matches the maximum power supported by the charger; and the charging unit is further configured to control the charger to charge based on a second charging strategy in response to the charger belonging to a second charger list, wherein the maximum charging power allowed in the second charging strategy is a set power.

[0020] In some embodiments, the apparatus further includes a verification unit configured to, in response to the charger not belonging to the first charger list and the second charger list, perform power verification on the charger to determine a target maximum power allowed for charging using the charger.

[0021] In some embodiments, the charging unit is further configured to perform control on the charger to charge based on a third charging strategy, wherein a maximum charging power allowed under the third charging strategy is the target maximum power.

[0022] In some embodiments, the verification unit performing the power verification on the charger to determine the target maximum power allowed for charging using the charger includes: stepwise increasing a verification power; performing power verification on the charger based on the verification power; in response to a verification pass condition being met, performing determination of the target maximum power as a maximum power supported by the charger or the electronic device; and in response to the verification pass condition not being met, performing determination of the target maximum power as a verification power before the stepwise increase.

[0023] In some embodiments, the apparatus further includes an uploading unit configured to, in response to the target maximum power being a maximum power supported by the charger or the electronic device, perform establishment of a first correspondence between the charger information and the first charger list, and uploading the first correspondence to a cloud; and in response to the target maximum power being less than the maximum power supported by the charger or the electronic device, perform establishment of a second correspondence between the charger information and the second charger list, and uploading the second correspondence to the cloud.

[0024] In some embodiments, the uploading unit, in response to the target maximum power being less than the maximum power supported by the charger or the electronic device, performing establishment of the correspondence between the charger information and the second charger list, and uploading the correspondence to the cloud, includes: uploading the target maximum power as a set power corresponding to the charger information under the second charging strategy to the cloud.

[0025] In some embodiments, the uploading unit is further configured to perform uploading of the charger information to the cloud; and the determination unit is configured to perform determination of the charger list to which the charger belongs according to the charger information, including: obtaining the charger list to which the charger belongs returned by the cloud.

[0026] In some embodiments, the obtaining unit is further configured to obtain the charger classification list from the cloud, the charger classification list storing a correspondence between the charger information and a charger list to which the charger information belongs; and the determining unit is configured to determine the charger list to which the charger belongs according to the charger information, including: determining the charger list to which the charger belongs according to the charger information and the charger classification list.

[0027] In some embodiments, the obtaining unit is configured to obtain the charger classification list from the cloud, including: determining device type information of the electronic device, and obtaining the charger classification list matching the device type information from the cloud.

[0028] In some embodiments, the set power corresponds to the charger information; and the charging unit is configured to control the charger to charge based on a second charging strategy in response to the charger belonging to a second charger list, including: controlling the charger to charge based on the second charging strategy in response to the charger belonging to the second charger list, where the maximum charging power allowed under the second charging strategy is the set power corresponding to the charger information.

[0029] In some embodiments, the second charging strategy corresponds to a plurality of set powers; and the charging unit is configured to control the charger to charge based on the second charging strategy in response to the charger belonging to the second charger list, including: receiving a selection operation on the plurality of set powers in response to the charger belonging to the second charger list; and controlling the charger to charge based on the second charging strategy according to the selection operation, where the maximum charging power allowed under the second charging strategy is the selected set power.

[0030] In some embodiments, the charging unit is configured to control the charger to charge based on the second charging strategy in response to the charger belonging to the second charger list, including: obtaining a fourth charging strategy corresponding to the charger information pre-stored in response to the charger belonging to the second charger list, where the maximum charging power allowed under the fourth charging strategy is a power record value; receiving a selection operation on the fourth charging strategy or the second charging strategy in response to the power record value under the fourth charging strategy and the set power under the second charging strategy being inconsistent; and controlling the charger to charge based on the selected fourth charging strategy or the second charging strategy according to the selection operation.

[0031] In some embodiments, the apparatus further includes a display unit configured to display charging prompt information in response to the charger belonging to the second charger list.

[0032] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the charging control method described above.

[0033] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to perform a charging control method, the method comprising: obtaining charger information of a charger connected to an electronic device; determining a charger list to which the charger belongs according to the charger information; in response to the charger belonging to a first charger list, controlling the charger to charge based on a first charging strategy, wherein the maximum charging power allowed under the first charging strategy matches the maximum power supported by the charger or the electronic device; in response to the charger belonging to a second charger list, controlling the charger to charge based on a second charging strategy, wherein the maximum charging power allowed under the second charging strategy is a set power.

[0034] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the charging control method described above.

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

[0036] The present disclosure can intelligently identify the charger list to which the connected charger belongs based on the charger information, and then directly charge the electronic device according to the charging method corresponding to the charger list, wherein the maximum charging power allowed in different charging methods is different. It can be seen that the present disclosure can intelligently identify the charger list to which the connected charger belongs, and control the charger to charge the electronic device according to the charging strategy corresponding to the charger list, which can fully exert the charging performance of the charger while considering the safety of the charging process, and improve the charging experience of the user.

[0037] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0038] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.

[0039] Figure 1 is a flowchart of a charging control method according to some embodiments of the present disclosure.

[0040] Figure 2 is a flowchart of a charging control method according to some embodiments of the present disclosure.

[0041] Figure 3 is a flowchart of power verification of a charger in a charging control method according to some embodiments of the present disclosure.

[0042] Figure 4 is a flowchart of a charging control method according to some embodiments of the present disclosure.

[0043] Figure 5 is a flowchart of power verification of a charger in a charging control method according to some embodiments of the present disclosure.

[0044] Figure 6 is an interface schematic diagram of selection of multiple set powers in a charging control method according to some embodiments of the present disclosure.

[0045] Figure 7 is an interface schematic diagram of selection of multiple set powers in a charging control method according to some embodiments of the present disclosure.

[0046] Figure 8 is an interface schematic diagram of selection of a power record value and a set power in a charging control method according to some embodiments of the present disclosure.

[0047] Figure 9 is an interface schematic diagram of display of charging prompt information in a charging control method according to some embodiments of the present disclosure.

[0048] Figure 10 is a flowchart of a charging control method according to some embodiments of the present disclosure.

[0049] Figure 11 is a block diagram of a charging control device according to some embodiments of the present disclosure.

[0050] Figure 12 is a block diagram of a device for charging control according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0051] Example embodiments of the present disclosure will be described in detail herein with reference to the drawings. The following description is made with reference to the accompanying drawings, in which like reference numerals represent like elements or similar elements, unless otherwise specified. Various changes, modifications, and equivalents of the methods, devices, and / or systems described herein will become apparent to those skilled in the art after a study of the following description. For example, the order in which operations are described is merely exemplary and is not limited to the described ordering unless a particular ordering is required by the description. Additionally, descriptions of features or aspects within given figures can also be applicable to other figures. For the sake of brevity, descriptions of familiar features or aspects can not be repeated in every figure.

[0052] The implementations described in the following exemplary embodiments of the present disclosure do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0053] In the related art, only chargers of the same manufacturer as the electronic device are allowed to charge at the rated power, and chargers of different manufacturers are limited to low-power charging. This charging control method has poor flexibility and cannot better utilize the charging performance of the charger, greatly affecting the user's charging experience.

[0054] The specific implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0055] Figure 1 is a flowchart of a charging control method according to some embodiments of the present disclosure, as shown in Figure 1 The charging control method can be applied to an electronic device and can include the following steps.

[0056] In step S110, charger information of a charger connected to the electronic device is obtained.

[0057] The electronic device can be, for example, a smartphone, a tablet computer, a notebook computer, a wearable device, a player, a mobile power supply, etc. The connected charger can be a wired charger or a wireless charger, which is not limited by the present disclosure.

[0058] The charger information can be information that can identify the charger, for example, the serial number information of the charger, or the manufacturer information and / or product model information of the charger.

[0059] In exemplary embodiments, the charger information can consist of a supplier ID and a product ID thereof.

[0060] In the embodiments of the present disclosure, the electronic device can obtain the charger information through system broadcast, an API (Application Programming Interface) supporting obtaining of charger information, or a third-party application.

[0061] In step S120, the charger list to which the charger belongs is determined according to the charger information.

[0062] In the embodiments of the present disclosure, when the charger is connected to the electronic device, the electronic device can intelligently identify the charger list to which the connected charger belongs according to the charger information, where different charger lists can correspond to different charging modes, and the maximum charging power allowed in different charging modes can be different.

[0063] In step S130, in response to the charger belonging to the first charger list, the charger is controlled to charge based on a first charging strategy, where the maximum charging power allowed under the first charging strategy matches the maximum power supported by the charger or the electronic device.

[0064] The charger corresponding to the charger information in the first charger list can be a verified charger that can provide safe and stable charging services at the maximum value in the capability range. The maximum value in the capability range can be the smaller one of the rated power of the charger (i.e., the maximum power supported by the charger) and the maximum charging power supported by the electronic device. In the case where it is determined that the charger belongs to the first charger list, the charger can be allowed to charge the electronic device with the maximum charging power in the capability range during the charging process.

[0065] In the example embodiments, the electronic device can further query the rated power information of the charger through a specific communication protocol, and adjust the output voltage and current of the charging interface according to the queried rated power information, and then send corresponding charging instructions to the charger through the charging interface to instruct the charger to charge based on the rated power. During the charging process, the electronic device can monitor the state of the battery and the charging efficiency in real time, and adjust the charging parameters as needed.

[0066] In the example embodiments, the charging power can also not be limited in response to the charger belonging to the first charger list. In the case where the charging function of the charger is opened without power limitation, the charger can naturally charge with the maximum charging capability.

[0067] In step S140, in response to the charger belonging to the second charger list, the charger is controlled to charge based on a second charging strategy, where the maximum charging power allowed under the second charging strategy is a set power.

[0068] The charger corresponding to the charger information in the second charger list can be a verified charger that can provide safe and stable charging service when the charging power is open to a set power. The set power can be a preset value, for example, a preset value lower than the rated power of most chargers on the market (such as 10W, 20W, etc.), or a power value determined based on a lower current threshold (such as 1A, 2A, etc.); the set power can also be the maximum power value verified for different models of chargers that can provide safe and stable charging service. In the case of determining that the charger belongs to the second charger list, the charger can be allowed to charge the electronic device with the set power as the maximum charging power during the charging process.

[0069] In an example embodiment, the first charger list is a white list, and the second charger list is a black list. The chargers in the white list are verified and can be safely open to the rated power of the charger or the maximum charging power supported by the electronic device for charging; the chargers in the black list are also verified, and when the charging power of these chargers is limited below the set power, the safety of the charging process can be ensured.

[0070] As can be seen from the above steps, by the charging control method provided by the present disclosure, after the charger is connected to the electronic device, the charger list to which the charger belongs can be determined based on the obtained charger information, and the charger is controlled to charge the electronic device with different maximum charging powers in the case of the charger belonging to different charger lists. In the embodiment of the present disclosure, first, the charger list to which the charger belongs can be determined based on the charger information, and second, different charging methods are set for the chargers in different charger lists, so that the electronic device can be charged according to the charging method corresponding to the charger list to which the charger belongs, and the maximum charging power allowed in different charging methods is different. It can be seen that the present disclosure can intelligently identify the charger list to which the connected charger belongs, control the charger to charge the electronic device according to the charging strategy corresponding to the charger list, consider the safety of the charging process, fully exert the charging performance of the charger, and improve the charging experience of the user.

[0071] Figure 2 is a flowchart of a charging control method according to some embodiments of the present disclosure.

[0072] In the embodiment of the present disclosure, Figure 2 Steps S210, S220, S230, and S240 in the charging control method shown in Figure 1 Steps S110, S120, S130, and S140 in the charging control method shown in correspond to the above, which will not be repeated here.

[0073] In the embodiments of the present disclosure, in the charging control method shown in Figure 1 The charging control method shown in Figure 2 The charging control method shown in

[0074] In step S250, in response to the charger not belonging to the first charger list and the second charger list, power verification is performed on the charger to determine a target maximum power allowed for charging using the charger.

[0075] The charger not belonging to the first charger list and the second charger list can mean that the charger belongs to the third charger list in the charger classification list, or that the charger list to which the charger belongs is not determined (i.e., the charger list to which the charger belongs is null).

[0076] If the charger list to which the charger belongs is neither the first charger list nor the second charger list, it can be considered that the charging mode corresponding to the charger is currently lacking, and then the power verification can be performed on the charger to determine the charging mode corresponding to the charger according to the result of the power verification. The power verification on the charger can obtain a target maximum power allowed for charging using the charger, and the target maximum power is a power upper limit that has been verified to enable the charger to provide safe and stable charging service. When the charger charges the electronic device with the target maximum power as the power upper limit, not only the safety of the charging process can be ensured, but also the charging efficiency can be fully utilized to achieve efficient use of energy and fast charging of the device.

[0077] In some embodiments of the present disclosure, the charging control method further includes: controlling the charger to charge based on a third charging strategy, wherein the maximum charging power allowed under the third charging strategy is the target maximum power.

[0078] After the target maximum power is obtained by performing power verification on the charger, the target maximum power can be determined as the maximum charging power allowed under the third charging strategy, and the charger is controlled to charge based on the third charging strategy.

[0079] The above embodiments consider the case that the charger does not belong to the provided preset classification list (i.e., the first charger list and the second charger list), in which case the preset charging strategy (i.e., the first charging strategy and the second charging strategy) is not used, and instead, the charger is subjected to additional power verification, the target maximum power for the connected charger is determined by verifying the actual output capability of the charger, and then the charger is controlled to charge at the target maximum power as the maximum charging power allowed in the charging process. The above embodiments not only enhance the compatibility of the charging control method, but also prevent the charger from damaging the electronic device due to excessively high or low output power, for example, can avoid damaging the electronic device components due to excessively high charger output power, and can also avoid the case that the electronic device continuously overheats and the charging efficiency does not reach the expected effect due to excessively low output power, further protecting the safety and stability of the electronic device and improving the charging experience of the user. It can be seen that the above embodiments further improve the charging control method provided by the present disclosure, making the charging control method more comprehensive and flexible, and better adapting to different types of chargers and better meeting the charging needs of users.

[0080] Figure 3 is a flowchart of power verification of a charger in a charging control method according to some embodiments of the present disclosure, as shown in Figure 3 As shown in the figure, in some embodiments of the present disclosure, the power verification of the charger to determine the target maximum power allowed for charging using the charger can include the following steps.

[0081] In step S310, the verification power is increased step by step.

[0082] In the embodiments of the present disclosure, a value (e.g., 15W, 20W, etc.) lower than the rated power of the charger can be selected as the initial verification power, and a reasonable power step value (e.g., 3W, 5W, etc.) can be set to update the verification power by the set step value round by round.

[0083] In step S320, the charger is subjected to power verification based on the verification power.

[0084] In the embodiments of the present disclosure, power verification of the charger based on the updated verification power each time can be regarded as a round of power verification. In each round of power verification, the charger can be controlled to use the current verification power to charge the electronic device for a preset time duration (e.g., 10 minutes, 20 minutes, etc.) or in a preset manner (e.g., 10 times of 5-minute charging).

[0085] In step S330, in response to satisfying the verification pass condition, the target maximum power is determined as the maximum power supported by the charger or the electronic device.

[0086] In the embodiments of the present disclosure, whether to continue verification can be determined according to the verification result of the current round of power verification. If the verification result of the current round is passed, the verification power can be increased step by step to enter the power verification of the next round. In the charging process of the round of power verification in which the verification power reaches the verification power upper limit value, if the verification result is passed, it can be determined that the power verification performed on the charger satisfies the verification pass condition, and the target maximum power of the charger can be determined as the verification power upper limit value. The verification power upper limit value is the smaller one of the rated power of the charger and the maximum charging power supported by the electronic device.

[0087] In the example embodiments, the verification result of the current round of power verification can be determined according to the charging condition of the current round of power verification. Specifically, if the charging process of the current round of power verification satisfies the charging stability condition, it can be determined that the verification result of the current round is passed; if the charging process of the current round of power verification does not satisfy the charging stability condition, it can be determined that the verification result of the current round is not passed.

[0088] In the example embodiments, the charging stability condition may, for example, be that no abnormal disconnection event occurs in the charging process, the difference between the maximum voltage and the minimum voltage in the charging process does not exceed the voltage difference threshold, and the like.

[0089] In step S340, in response to not satisfying the verification pass condition, the target maximum power is determined as the verification power before stepping.

[0090] In the embodiments of the present disclosure, if the verification result of the current round is not passed, it can be determined that the power verification performed on the charger does not satisfy the verification pass condition, and the target maximum power of the charger can be determined as the verification power before stepping.

[0091] Through the embodiments, a specific power verification method for the charger is provided. The step-by-step increase of the verification power can comprehensively and effectively evaluate the performance and stability of the charger, so as to determine the target maximum power, thereby not only ensuring the safety of the charger and the electronic device, but also ensuring the reliable operation of the charger under various working conditions. In addition, the initial power value, the stepping value, the verification pass condition, and the power verification method of each round in the method can be set based on the actual situation, so that the power verification method can be flexibly adjusted to meet the verification requirements in actual applications.

[0092] Figure 4 is a flowchart of a charging control method according to some embodiments of the present disclosure.

[0093] In the embodiments of the present disclosure, Figure 4The steps S410, S420, S430, S440 and S450 in the charging control method shown correspond to Figure 2 The steps S210, S220, S230, S240 and S250 in the charging control method shown correspond to

[0094] In the embodiments of the present disclosure, Figure 2 On the basis of the charging control method shown, Figure 4 The charging control method shown can further include the following steps.

[0095] In step S460, in response to the target maximum power being the maximum power supported by the charger or the electronic device, a first correspondence relationship between the charger information and a first charger list is established, and the first correspondence relationship is uploaded to the cloud.

[0096] After determining the target maximum power through power verification, a correspondence relationship between the charger information and different charger lists can be established according to the relationship between the target maximum power and the maximum power supported by the charger or the electronic device. The maximum power supported by the charger or the electronic device is the smaller one of the rated power of the charger and the maximum charging power supported by the electronic device.

[0097] If the determined target maximum power is the same as the maximum power supported by the charger or the electronic device, it means that it is safe and stable to charge the electronic device when the charger is opened to the maximum value within the capability range. Therefore, a first correspondence relationship between the charger information and a first charger list can be established, and the first correspondence relationship can be uploaded to the cloud server for storage.

[0098] In step S470, in response to the target maximum power being less than the maximum power supported by the charger or the electronic device, a second correspondence relationship between the charger information and a second charger list is established, and the second correspondence relationship is uploaded to the cloud.

[0099] If the determined target maximum power is less than the maximum power supported by the charger or the electronic device, it means that the charging power of the charger needs to be limited. Therefore, a second correspondence relationship between the charger information and a second charger list can be established, and the second correspondence relationship can be uploaded to the cloud server for storage.

[0100] Through the present embodiment, the charger classification list can be updated in a timely manner according to the charging verification result of the electronic device on the charger, and the verified charger can be managed in a timely manner. The charger classification list stored in the cloud server can be updated to provide the electronic device with safe and stable charging services.

[0101] In some embodiments of the present disclosure, in response to the target maximum power being less than the maximum power supported by the charger or the electronic device, a correspondence between the charger information and the second charger list is established, and the correspondence is uploaded to the cloud, including: uploading the target maximum power as the set power corresponding to the charger information under the second charging strategy to the cloud.

[0102] After the target maximum power is determined, the specific value of the target maximum power can also be recorded as the set power of the charger in the second charging strategy and uploaded to the cloud server for storage. When other electronic devices use the second charger list again, the set power corresponding to the charger information in the second charging strategy can be used.

[0103] The present embodiment provides an efficient and refined charger management strategy, which not only enriches the information content of the second charger list, but also provides more accurate and personalized power control basis for subsequent charging processes, and provides users with a safer, more efficient, and more personalized charging experience.

[0104] Figure 5 is a flowchart of power verification of a charger in a charging control method according to some embodiments of the present disclosure, as shown in Figure 5 may include the following steps.

[0105] In step S501, the current power Wnow is determined.

[0106] In step S503, it is determined whether the value after stepwise increase of the current power Wnow is greater than the rated power Wmax of the charger; if not, step S505 is performed; if yes, step S513 is performed.

[0107] For example, the step value can be 5W.

[0108] In step S505, the verification power Wtest is updated stepwise based on the current power Wnow.

[0109] For example, the value after stepwise increase of the current power Wnow can be used as the verification power Wtest, for example, Wtest can be (Wnow+5).

[0110] In step S507, the charger is controlled to use the verification power Wtest for charging, to realize the power verification of the present round.

[0111] For example, the electronic device can be charged for 10 times of 5 minutes using the verification power Wtest.

[0112] In step S509, it is determined whether the charging process in step S507 is interrupted; if not, step S511 is performed; if yes, step S521 is performed.

[0113] In step S511, the current power Wnow is updated.

[0114] In step S507, the verification power used in step S507 can be used as the new current power, and then step S501 can be performed again.

[0115] In step S513, the rated power Wmax of the charger is used as the updated verification power Wtest, that is, Wtest can be Wmax.

[0116] In step S515, the charger is controlled to use the verification power Wtest to charge, and the power verification in this round is implemented.

[0117] In step S507, the verification power used in step S507 can be used as the new current power, and then step S501 can be performed again.

[0118] In step S517, it is determined whether the charging process in step S515 is interrupted; if not, step S519 is performed; if yes, step S521 is performed.

[0119] In step S519, it is determined that the verification pass condition is met, the target maximum power of the charger is determined as the rated power of the charger, and the charger information can be associated with the first charger list.

[0120] In step S521, it is determined that the verification pass condition is not met, the verification is stopped, and the target power of the charger is determined as the verification power before stepping.

[0121] In step S523, the charger information is associated with the second charger list, and the target maximum power is recorded to the second charger list.

[0122] Figure 5 Other contents of the embodiments can refer to the above-mentioned other embodiments.

[0123] In some embodiments of the present disclosure, the charger list to which the charger belongs is determined according to the charger information, including: uploading the charger information to the cloud; obtaining the charger list to which the charger belongs returned by the cloud.

[0124] In the embodiments of the present disclosure, the charger classification list can be stored on the cloud server. The charger classification list is pre-set, and the charger classification list can include one or more charger lists. Chargers corresponding to different charger lists can be set to charge electronic devices in different ways.

[0125] In an example embodiment, the charger classification list can include a first charger list and a second charger list, wherein the chargers corresponding to the first charger list can be set to allow charging of the electronic device according to a first charging strategy, and the chargers corresponding to the second charger list can be set to allow charging of the electronic device according to a second charging strategy.

[0126] When the charger is connected to the electronic device, the electronic device can upload the obtained charger information to the cloud server, and the cloud server can compare the charger information and the charger classification list to determine the charger list to which the charger belongs. Then, the cloud server can directly issue the comparison result (i.e., the charger list to which the charger belongs) to the electronic device, so that the electronic device can determine the charger list to which the charger belongs in a convenient manner.

[0127] In some embodiments of the present disclosure, the determining of the charger list to which the charger belongs according to the charger information comprises: obtaining a charger classification list from the cloud, the charger classification list storing a correspondence between the charger information and the charger list to which the charger belongs; and determining the charger list to which the charger belongs according to the charger information and the charger classification list.

[0128] In the embodiments of the present disclosure, the charger classification list can be stored in the cloud server for downloading and using by the electronic device in response to the connection of the charger.

[0129] In an example embodiment, different users can upload the verification information of their electronic devices for chargers to the cloud server, and the cloud server can aggregate and arrange the collected verification information, and then update the shareable charger classification list, and continuously enrich the charger types involved in the charger classification list. Users can quickly obtain verified charger verification information by accessing the charger classification list in the cloud server, thereby improving charging efficiency and safety.

[0130] In an example embodiment, the charger classification list can also be stored in other electronic devices, and the charger classification list shared by other electronic devices can be obtained by the electronic device when the electronic device is connected to the charger. The charger classification list can also be downloaded by the electronic device from the cloud server or other electronic devices in advance and stored locally, and the charger classification list stored locally can be directly used when the charger is connected.

[0131] In some embodiments of the present disclosure, obtaining the charger classification list from the cloud comprises: determining device type information of the electronic device, and obtaining the charger classification list matching the device type information from the cloud.

[0132] The device type information can be information capable of identifying the electronic device, for example, can be serial number information of the electronic device, or can be manufacturer information and / or product model information of the electronic device. When setting or updating the charger classification list, the correspondence between the charger and the device type information of the electronic device can be set at the same time.

[0133] In an example embodiment, different types of electronic devices can have different charging control modes for the same charger information of the charger.

[0134] For example, for the charger C1 and different types of electronic devices UE1, UE2, assuming that the charger C1 can open the maximum charging power to the rated power of the charger C1 when charging the electronic device UE1, and the maximum charging power needs to be limited to the first set power when charging the electronic device UE2, different charger classification lists can be set for the electronic devices UE1, UE2 respectively, that is, the charger information of the charger C1 can exist in the first charger list matched with the electronic device UE1, and the charger information of the charger C1 can exist in the second charger list matched with the electronic device UE2.

[0135] Through the embodiment, the management and maintenance of the charger classification list can be optimized, when the charger classification list needs to be used, the device type information of the electronic device can be considered, the charger classification list matched with the device type information is obtained from the cloud, it is ensured that each device can be charged in an efficient and safe manner, and the charging experience of the user is further optimized.

[0136] In some embodiments of the present disclosure, the set power corresponds to the charger information; in response to the charger belonging to the second charger list, the charger is controlled to charge based on a second charging strategy, including: in response to the charger belonging to the second charger list, the charger is controlled to charge based on a second charging strategy, wherein the maximum charging power allowed under the second charging strategy is the set power corresponding to the charger information.

[0137] In an example embodiment, the same type of electronic device can limit different degrees of charging power for different charger information of the charger.

[0138] For example, for the electronic device UE1 and different types of chargers C3, C4, assuming that the maximum charging power needs to be limited to the second set power when the charger C3 charges the electronic device UE1, and the maximum charging power needs to be limited to the third set power when the charger C4 charges the electronic device UE1, different set powers can be set for the chargers C3, C4 in the second charger list respectively.

[0139] In an example embodiment, the set power corresponding to the different charger information in the second charger list can be obtained by the user after power verification of different types of chargers and uploaded to the cloud.

[0140] Through the embodiment, the management and maintenance of the second charger list in the charger classification list can be further optimized, the set power corresponding to the charger information is contained in the second charger list, when the charging power of the charger needs to be limited according to the second charger list, the set power corresponding to the charger information in the second charger list can be further queried, and then the charging is performed with the queried set power as the maximum charging power, so that the charger can charge the electronic device in a safe, efficient and adaptive power limiting manner.

[0141] In some embodiments of the present disclosure, the second charging strategy corresponds to a plurality of set powers; in response to the charger belonging to the second charger list, the charger is controlled to be charged based on the second charging strategy, including: in response to the charger belonging to the second charger list, receiving a selection operation on the plurality of set powers; according to the selection operation, the charger is controlled to be charged based on the second charging strategy, wherein the maximum charging power allowed under the second charging strategy is the selected set power.

[0142] In an example embodiment, the same type of electronic device may obtain different verification results after charging verification of the same model of charger in different environments, that is, different target maximum powers may be determined, and a plurality of set powers corresponding to the charger information are recorded under the second charging strategy; then through the embodiment, after it is determined that the charger belongs to the second charger list, the user is provided with an opportunity to select the plurality of set powers, and the selected set power is used as the maximum charging power allowed for the charger to charge.

[0143] In an example embodiment, in response to the charger belonging to the second charger list, the option controls corresponding to each set power can be displayed; in response to a selection operation on a target control in the option controls corresponding to the plurality of set powers, a target set power is determined; the charger is controlled to be charged based on the second charging strategy, wherein the maximum charging power allowed under the second charging strategy is the selected target set power.

[0144] In an example embodiment, the user can also configure the processing mode of the plurality of set powers in advance, for example, the minimum value of the plurality of set powers can be selected as the maximum charging power allowed under the second charging strategy, or the power value verified by the most electronic devices in the plurality of set powers can be selected as the maximum charging power allowed under the second charging strategy.

[0145] Figure 6 is an interface schematic diagram for selecting multiple set powers in a charging control method according to some embodiments of the present disclosure, as shown in Figure 6 The interface schematic diagram for selecting multiple set powers in a charging control method according to some embodiments of the present disclosure, as shown in

[0146] Figure 7 is an interface schematic diagram for selecting multiple set powers in a charging control method according to some embodiments of the present disclosure, as shown in Figure 7 The interface schematic diagram for selecting multiple set powers in a charging control method according to some embodiments of the present disclosure, as shown in

[0147] In an example embodiment, the user proportion of set power selection can be obtained based on cloud server statistics.

[0148] In some embodiments of the present disclosure, in response to the charger belonging to the second charger list, the charger is controlled to charge based on the second charging strategy, including: in response to the charger belonging to the second charger list, obtaining a fourth charging strategy corresponding to the charger information stored in advance, wherein the maximum charging power allowed under the fourth charging strategy is the power record value; in response to the power record value under the fourth charging strategy and the set power under the second charging strategy being inconsistent, receiving a selection operation on the fourth charging strategy or the second charging strategy; and according to the selection operation, controlling the charger to charge based on the selected fourth charging strategy or the second charging strategy.

[0149] In an example embodiment, the electronic device can perform over-power verification on the charger in a historical period, and can record the target maximum power of the verified charger as a power record value, that is, the power record value is the maximum charging power allowed under the fourth charging strategy used in the historical period; when the electronic device is connected to the charger of the same model again, and it is determined that the charger belongs to the second charger list, the set power under the second charging strategy and the power record value can be inconsistent, and through the embodiment, the user can be provided with an opportunity to select the fourth charging strategy and the second charging strategy, and the charger is controlled to charge based on the selected fourth charging strategy or the second charging strategy.

[0150] In an example embodiment, after it is determined that the power record value and the set power are inconsistent, the option control corresponding to the power record value in the fourth charging strategy and the set power in the second charging strategy can be displayed; in response to a selection operation on a target control in the multiple option controls, the selected power record value or set power is determined, that is, the selected charging strategy is determined; and the charger is controlled to charge based on the selected charging strategy.

[0151] Figure 8 is a schematic diagram of an interface for selecting a power record value and a set power in a charging control method according to some embodiments of the present disclosure, as shown in Figure 8 The charging control method according to some embodiments of the present disclosure further includes: in response to the charger belonging to the second charger list, displaying charging prompt information.

[0152] In some embodiments of the present disclosure, the charging control method further includes: in response to the charger belonging to the second charger list, displaying charging prompt information.

[0153] The charging prompt information may, for example, be the set power currently used for charging, the charged duration, etc., and may also be voltage change information in the charging process. Through the embodiment, the charging prompt information is displayed to the user while the charger is controlled to charge based on the second charging strategy, and the current charging state can be intuitively displayed to the user, thereby improving the user experience.

[0154] Figure 9 is a schematic diagram of an interface for displaying charging prompt information in a charging control method according to some embodiments of the present disclosure, as shown in Figure 9As shown, the charging control method includes: an electronic device 600, an electronic device display screen 601, charging in progress indication information 901 (here, it is assumed that the example is illustrated by indicating "safe charging in progress, current power level 40%", but the present disclosure is not limited thereto), and a charging prompt control 902. In the control 902, numerical information of the current charging power used can be displayed (here, it is assumed that the example is illustrated by indicating "current charging is being performed at a maximum charging power of 40W", but the present disclosure is not limited thereto), so that the user can understand the current charging situation.

[0155] Figure 10 is a flowchart of a charging control method according to some embodiments of the present disclosure, as shown in Figure 10 The charging control method can include the following steps.

[0156] In step S1001, it is determined that a charger is connected to an electronic device.

[0157] In step S1003, charger information of the connected charger is acquired.

[0158] In this step, the charger information can be a product ID (bcdDevice) and a product ID (Product ID).

[0159] In step S1005, it is determined whether the charger belongs to a pre-set charger classification list; if not, step S1007 is performed; if so, step S1009 is performed.

[0160] In this step, the pre-set charger classification list can be stored in a cloud server, and the charger classification list can include a first charger list, a second charger list, and a third charger list, wherein the charger corresponding to the third charger list can be a charger that is being power verified by another electronic device.

[0161] In step S1007, a correspondence between the charger information and the third charger list is established.

[0162] In this step, the charger information can be added to the third charger list.

[0163] In step S1009, it is determined that the charger belongs to a charger list.

[0164] In this step, the charger list to which the charger belongs can be the first charger list, the second charger list, or the third charger list.

[0165] In step S1011, it is determined that the charger list to which the charger belongs is the first charger list.

[0166] In step S1013, the charger is controlled to charge based on a first charging strategy.

[0167] In step S1015, it is determined that the charger belongs to a second charger list.

[0168] In step S1017, the charger is controlled to charge based on a second charging strategy.

[0169] In step S1019, it is determined that the charger belongs to a third charger list.

[0170] In step S1021, the charger is subjected to power verification.

[0171] Figure 10 Other contents of the embodiments can refer to the above-mentioned other embodiments.

[0172] It should be noted that the above-mentioned figures are only schematic illustrations of the processes included in the method according to some embodiments of the present disclosure, and are not for limiting purposes. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be executed synchronously or asynchronously, for example, in multiple modules.

[0173] The following is a device embodiment of the present disclosure, which can be used to execute the method embodiments of the present disclosure. For details not disclosed in the device embodiments of the present disclosure, please refer to the method embodiments of the present disclosure.

[0174] Figure 11 is a block diagram of a charging control device according to some embodiments of the present disclosure. Referring to Figure 11 The device includes an acquisition unit 1101, a determination unit 1102, and a charging unit 1103.

[0175] The acquisition unit 1101 is configured to acquire charger information of a charger connected to an electronic device;

[0176] The determination unit 1102 is configured to determine, according to the charger information, a charger list to which the charger belongs;

[0177] The charging unit 1103 is configured to, in response to the charger belonging to a first charger list, control the charger to charge based on a first charging strategy, wherein a maximum charging power allowed under the first charging strategy matches a maximum power supported by the charger.

[0178] The charging unit 1103 is further configured to, in response to the charger belonging to a second charger list, control the charger to charge based on a second charging strategy, wherein a maximum charging power allowed under the second charging strategy is a set power.

[0179] In some embodiments of the present disclosure, the charging control apparatus further comprises a verification unit 1104 configured to, in response to the charger not belonging to the first charger list and the second charger list, perform power verification on the charger to determine a target maximum power allowed for charging using the charger.

[0180] In some embodiments of the present disclosure, the charging unit 1103 is further configured to perform control on the charger to charge based on a third charging strategy, wherein the maximum charging power allowed under the third charging strategy is the target maximum power.

[0181] In some embodiments of the present disclosure, the verification unit 1104 performs the power verification on the charger to determine the target maximum power allowed for charging using the charger, comprising: stepwise increasing a verification power; performing power verification on the charger based on the verification power; in response to satisfying a verification pass condition, performing determination of the target maximum power as a maximum power supported by the charger or the electronic device; in response to not satisfying the verification pass condition, performing determination of the target maximum power as the verification power before the stepwise increase.

[0182] In some embodiments of the present disclosure, the charging control apparatus further comprises an uploading unit 1105 configured to, in response to the target maximum power being a maximum power supported by the charger or the electronic device, perform establishment of a first correspondence relationship between the charger information and the first charger list, and upload the first correspondence relationship to the cloud; the uploading unit 1105 is further configured to, in response to the target maximum power being less than a maximum power supported by the charger or the electronic device, perform establishment of a second correspondence relationship between the charger information and the second charger list, and upload the second correspondence relationship to the cloud.

[0183] In some embodiments of the present disclosure, the uploading unit 1105, in response to the target maximum power being less than a maximum power supported by the charger or the electronic device, performs establishment of a correspondence relationship between the charger information and the second charger list, and uploads the correspondence relationship to the cloud, comprising: uploading the target maximum power as a set power corresponding to the charger information under the second charging strategy to the cloud.

[0184] In some embodiments of the present disclosure, the uploading unit 1105 is further configured to perform uploading of the charger information to the cloud; and the determination unit 1102 is configured to perform determination of the charger list to which the charger belongs according to the charger information, comprising: obtaining the charger list to which the charger belongs returned by the cloud.

[0185] In some embodiments of the present disclosure, the obtaining unit 1101 is further configured to obtain the charger classification list from the cloud, and the charger classification list stores a correspondence between the charger information and a charger list to which the charger information belongs; and the determining unit 1102 is configured to determine the charger list to which the charger belongs according to the charger information, including: determining the charger list to which the charger belongs according to the charger information and the charger classification list.

[0186] In some embodiments of the present disclosure, the obtaining unit 1101 is configured to obtain the charger classification list from the cloud, including: determining device type information of the electronic device, and obtaining the charger classification list matching the device type information from the cloud.

[0187] In some embodiments of the present disclosure, the set power corresponds to the charger information; and the charging unit 1103 is configured to control the charger to charge based on a second charging strategy in response to the charger belonging to a second charger list, including: controlling the charger to charge based on a second charging strategy in response to the charger belonging to a second charger list, where the maximum charging power allowed under the second charging strategy is the set power corresponding to the charger information.

[0188] In some embodiments of the present disclosure, the second charging strategy corresponds to a plurality of set powers; and the charging unit 1103 is configured to control the charger to charge based on a second charging strategy in response to the charger belonging to a second charger list, including: receiving a selection operation on the plurality of set powers in response to the charger belonging to a second charger list; and controlling the charger to charge based on a second charging strategy according to the selection operation, where the maximum charging power allowed under the second charging strategy is the selected set power.

[0189] In some embodiments of the present disclosure, the charging unit 1103 is configured to control the charger to charge based on a second charging strategy in response to the charger belonging to a second charger list, including: obtaining a fourth charging strategy corresponding to the charger information pre-stored in response to the charger belonging to a second charger list, where the maximum charging power allowed under the fourth charging strategy is a power record value; receiving a selection operation on the fourth charging strategy or the second charging strategy in response to the power record value under the fourth charging strategy and the set power under the second charging strategy being inconsistent; and controlling the charger to charge based on the selected fourth charging strategy or the second charging strategy according to the selection operation.

[0190] In some embodiments of the present disclosure, the charging control apparatus further includes a display unit 1106 configured to display a charging prompt information in response to the charger belonging to the second charger list.

[0191] With reference to the apparatus in the above-described embodiments, specific manners in which various modules perform operations have been described in detail in embodiments of the method, and thus will not be described in detail here.

[0192] Figure 12 is a block diagram of an apparatus 1200 for charging control according to some embodiments of the present disclosure. The apparatus 1200 can be a mobile phone, computer, digital broadcast terminal, message communicator, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0193] With reference to Figure 12 , the apparatus 1200 can include one or more of the following components: a processing component 1202, a memory 1204, a power supply component 1206, a multimedia component 1208, an audio component 1210, an input / output (I / O) interface 1212, a sensor component 1214, and a communication component 1216.

[0194] The processing component 1202 usually controls overall operations of the apparatus 1200, such as operations associated with displaying, making phone calls, data communications, camera operations and recording operations. The processing component 1202 can include one or more processors 1220 to execute instructions to complete all or part of steps of the methods described above. Further, the processing component 1202 can include one or more modules to facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate the interaction between the multimedia component 1208 and the processing component 1202.

[0195] The memory 1204 is configured to store various types of data to support operations of the apparatus 1200. Examples of these data include instructions for any application or method operating on the apparatus 1200, contact data, phonebook data, messages, pictures, videos, etc. The memory 1204 can be implemented by any type of volatile or non-volatile storage devices 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 storage, flash memory, magnetic disk or optical disk.

[0196] Power component 1206 provides power to the various components of device 1200. Power component 1206 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1200.

[0197] Multimedia component 1208 includes a screen providing an output interface between device 1200 and a user. In some embodiments, the screen can 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 an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, multimedia component 1208 includes a front camera and / or a rear camera. When device 1200 is in an operation 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 and rear cameras can be a fixed optical lens system or have a focal length and optical zoom capability.

[0198] Audio component 1210 is configured to output and / or input audio signals. For example, audio component 1210 includes a microphone (MIC) configured to receive an external audio signal when device 1200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in memory 1204 or transmitted via communication component 1216. In some embodiments, audio component 1210 also includes a speaker for outputting audio signals.

[0199] I / O interface 1212 provides an interface between processing component 1202 and peripheral interface modules, which can be a keyboard, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0200] The sensor component 1214 includes one or more sensors for providing status assessments for various aspects of the device 1200. For example, the sensor component 1214 can detect an open / closed position of the device 1200, relative positioning of components of the device 1200, such as a display and a keypad of the device 1200, a change in position of the device 1200 or a component of the device 1200, presence or absence of user contact with the device 1200, orientation or acceleration / deceleration / g-force and temperature changes of the device 1200. The sensor component 1214 can include proximity sensor(s) configured to detect presence of nearby objects without any physical touch. The sensor component 1214 can further include a light sensor(s), such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1214 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0201] The communication component 1216 is configured to facilitate wired or wireless communication between the device 1200 and another device. The device 1200 can access a wireless network based on a communication standard, such as WiFi, 3G, 4G, 5G, other communication standards, or a combination thereof. In some embodiments of the disclosure, the communication component 1216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In some embodiments of the disclosure, the communication component 1216 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) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.

[0202] In some embodiments of the disclosure, the device 1200 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, micro-controllers, microprocessors or other electronic elements, for performing the above-described methods.

[0203] In some embodiments of the disclosure, a non-transitory computer-readable storage medium including instructions, such as the memory 1204 including instructions, is also provided. The instructions can be executed by the processor 1220 of the device 1200 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0204] A non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enables the mobile terminal to perform a charging control method, the method comprising: obtaining charger information of a charger to which an electronic device is connected; determining a charger list to which the charger belongs according to the charger information; in response to the charger belonging to a first charger list, controlling the charger to charge based on a first charging strategy, wherein a maximum charging power allowed under the first charging strategy matches a maximum power supported by the charger or the electronic device; and in response to the charger belonging to a second charger list, controlling the charger to charge based on a second charging strategy, wherein a maximum charging power allowed under the second charging strategy is a set power.

[0205] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

[0206] It should be understood that the present disclosure is not limited to the precise structures herein described and illustrated in the drawings, and that various modifications and changes can be made therein without departing from the scope thereof. The scope of the present disclosure is indicated by the appended claims, rather than the description of the specification.

Claims

1. A charge control method characterized by, The method comprises: obtaining charger information of a charger connected to an electronic device; determining a charger list to which the charger belongs according to the charger information; in response to the charger belonging to a first charger list, controlling the charger to charge based on a first charging strategy, wherein the maximum charging power allowed under the first charging strategy matches the maximum power supported by the charger or the electronic device; in response to the charger belonging to a second charger list, controlling the charger to charge based on a second charging strategy, wherein the maximum charging power allowed under the second charging strategy is a set power.

2. The method of claim 1, wherein, The method further comprises: in response to the charger not belonging to the first charger list and the second charger list, performing power verification on the charger to determine a target maximum power allowed for charging using the charger.

3. The method of claim 2, wherein, The method further comprises: controlling the charger to charge based on a third charging strategy, wherein the maximum charging power allowed under the third charging strategy is the target maximum power.

4. The method of claim 2, wherein, The power verification on the charger to determine the target maximum power allowed for charging using the charger comprises: incrementally increasing a verification power; performing power verification on the charger based on the verification power; in response to a verification pass condition being met, determining the target maximum power as the maximum power supported by the charger or the electronic device; in response to the verification pass condition not being met, determining the target maximum power as the verification power before the increment.

5. The method of claim 2, wherein, The method further comprises: in response to the target maximum power being the maximum power supported by the charger or the electronic device, establishing a first correspondence between the charger information and the first charger list, and uploading the first correspondence to the cloud; in response to the target maximum power being less than the maximum power supported by the charger or the electronic device, establishing a second correspondence between the charger information and the second charger list, and uploading the second correspondence to the cloud.

6. The method of claim 5, wherein, The establishing of the correspondence between the charger information and the second charger list in response to the target maximum power being less than the maximum power supported by the charger or the electronic device, and the uploading of the correspondence to the cloud, comprise: uploading the target maximum power to the cloud as the set power corresponding to the charger information under the second charging strategy.

7. The method according to any one of claims 1 to 6, characterized in that, The determining of the charger list to which the charger belongs according to the charger information comprises: uploading the charger information to the cloud; obtaining the charger list to which the charger belongs returned by the cloud.

8. The method according to any one of claims 1 to 6, characterized in that, The determining of the charger list to which the charger belongs according to the charger information comprises: obtaining a charger classification list from the cloud, the charger classification list storing correspondences between charger information and charger lists to which the charger information belongs; determining the charger list to which the charger belongs according to the charger information and the charger classification list.

9. The method of claim 8, wherein, The obtaining of the charger classification list from the cloud comprises: determining device type information of the electronic device, and obtaining the charger classification list matching the device type information from the cloud.

10. The method of claim 1, wherein, the set power corresponds to the charger information; in response to the charger belonging to the second charger list, controlling the charger to charge based on a second charging strategy, including: in response to the charger belonging to the second charger list, controlling the charger to charge based on a second charging strategy, wherein the maximum charging power allowed under the second charging strategy is a set power corresponding to the charger information.

11. The method of claim 1, wherein, the second charging strategy corresponds to a plurality of set powers; in response to the charger belonging to the second charger list, controlling the charger to charge based on a second charging strategy, including: in response to the charger belonging to the second charger list, receiving a selection operation on a plurality of set powers; according to the selection operation, controlling the charger to charge based on a second charging strategy, wherein the maximum charging power allowed under the second charging strategy is the selected set power.

12. The method of claim 1, wherein, in response to the charger belonging to the second charger list, controlling the charger to charge based on a second charging strategy, including: in response to the charger belonging to the second charger list, obtaining a fourth charging strategy corresponding to the charger information stored in advance, wherein the maximum charging power allowed under the fourth charging strategy is a power record value; in response to the power record value under the fourth charging strategy and the set power under the second charging strategy being inconsistent, receiving a selection operation on the fourth charging strategy or the second charging strategy; according to the selection operation, controlling the charger to charge based on the selected fourth charging strategy or the second charging strategy.

13. The method of claim 1, wherein, The method further includes: in response to the charger belonging to the second charger list, displaying charging prompt information.

14. A charge control device, characterized by comprising: including: an acquisition unit configured to acquire charger information of a charger connected to an electronic device; a determination unit configured to determine, according to the charger information, a charger list to which the charger belongs; a charging unit configured to, in response to the charger belonging to a first charger list, control the charger to charge based on a first charging strategy, wherein the maximum charging power allowed under the first charging strategy matches the maximum power supported by the charger. The charging unit is further configured to, in response to the charger belonging to a second charger list, control the charger to charge based on a second charging strategy, wherein the maximum charging power allowed under the second charging strategy is a set power.

15. An electronic device, comprising: including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of the method of any one of claims 1-13.

16. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a charging control method, the method comprising: acquiring charger information of a charger connected to an electronic device; According to the charger information, determine a charger list to which the charger belongs; In response to the charger belonging to a first charger list, control the charger to charge based on a first charging strategy, wherein a maximum charging power allowed under the first charging strategy matches a maximum power supported by the charger or the electronic device; In response to the charger belonging to a second charger list, control the charger to charge based on a second charging strategy, wherein a maximum charging power allowed under the second charging strategy is a set power.