Charging method and device, electronic equipment and storage medium
By obtaining historical charging information and target status parameters, the appropriate charging termination amount is determined, and the problems of battery overcharging and life loss are solved, intelligent charging control is realized, and user experience is improved.
Patent Information
- Application Number
- CN202311133860.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-03-04
AI Technical Summary
Existing charging technologies can easily lead to battery overcharging and life loss during fast charging, making it difficult for users to accurately control the charging termination amount.
By obtaining historical charging information, an appropriate target charging terminates the power based on the target state parameters of the current charging behavior is determined, and charging stops when the power is reached.
Intelligent personalized control of the charge termination amount has been achieved, reducing the risk of battery aging and improving user experience.
Smart Images

Figure CN119561177A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of charging technology, and in particular to a charging method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of charging technology, the charging performance of electronic devices has been greatly improved, and the charging power has gradually climbed to a higher level, greatly shortening the charging time. But correspondingly, the excessively fast charging rate has also caused users to worry about the risk of overcharging electronic devices and the loss of battery life. Relevant data show that the aging rate of the battery is closely related to its full charge state. If an electronic device is charged to a fully saturated state for a long time, the aging rate of its battery will increase by 20% compared to charging only to a medium charge. Therefore, more and more users are demanding improvements in the charging function of electronic devices. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides a charging method, a device, an electronic device and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a charging method is provided, the method comprising:
[0005] Acquire historical charging information, where the historical charging information at least includes charging termination power of multiple historical effective charging behaviors;
[0006] Determine a first target charging termination power based on a target charging state parameter of a current effective charging behavior and the historical charging information;
[0007] Charging is performed based on the first target charge termination power.
[0008] In an exemplary embodiment, the method further comprises:
[0009] Each of the historical effective charging behaviors complies with the charging rule of the target charging state parameter.
[0010] In an exemplary embodiment, determining a first target charging termination power based on the historical charging information includes:
[0011] The first target charging termination power is determined based on the statistical values of the charging termination power of the plurality of historical effective charging behaviors.
[0012] In an exemplary embodiment, determining a first target charging termination power based on the historical charging information includes:
[0013] Obtaining the power range to which the charging termination power of each of the historical effective charging behaviors belongs;
[0014] Determine the power interval containing the largest amount of the charge termination power as the target power interval;
[0015] Based on the target power range, the first target charging termination power is determined.
[0016] In an exemplary embodiment, determining a first target charging termination power based on the historical charging information includes:
[0017] Obtaining the power range to which the charging start power of each of the historical effective charging behaviors belongs;
[0018] Determine the power interval with the largest amount of the charging start power as the target power interval;
[0019] The first target charging termination power is determined based on the statistical value of the charging termination power in the target power interval.
[0020] In an exemplary embodiment, before acquiring the historical charging information, the method further includes:
[0021] Make sure the charge regulation function is turned on.
[0022] In an exemplary embodiment, the charging based on the first target charge termination power includes:
[0023] When the first visible power value reaches the first target charge termination power value, charging is stopped and a first prompt message is displayed, wherein the first prompt message is used to indicate that the charging power value reaches the first target charge termination power value, and the first visible power value is an actual power value.
[0024] In an exemplary embodiment, the method further comprises:
[0025] If the charging adjustment function is turned off, when the first visible power value reaches the full charge, charging is stopped and a second prompt message is displayed, wherein the second prompt message is used to indicate that the charging power has reached the full charge.
[0026] In an exemplary embodiment, the charging based on the first target charge termination power includes:
[0027] When the second visible power value reaches the full charge, charging is stopped and a third prompt message is displayed, wherein the third prompt message is used to indicate that the charging power has reached the first target charging termination power, and the second visible power value is the target power value, and there is a preset corresponding relationship between the target power value and the actual power value.
[0028] In an exemplary embodiment, the method further comprises:
[0029] According to the mapping relationship between the first target charge termination capacity and the full charge capacity, a preset corresponding relationship between the actual capacity value and the target capacity value during the charging process and the discharging process is determined.
[0030] In an exemplary embodiment, the method further comprises:
[0031] If the charging adjustment function is turned off and the charging connection is not disconnected, when the charging amount reaches the full charging amount, charging is stopped and a prompt message is displayed, wherein the prompt message is used to indicate that the charging amount has reached the full charging amount;
[0032] If the charging regulation function is turned off and the charging connection is disconnected, the difference between the second visible power value and the actual power value is eliminated during the discharge process based on the preset corresponding relationship.
[0033] In an exemplary embodiment, the charging based on the first target charge termination power includes:
[0034] When the battery health state parameter is less than a health threshold, determining a second target charge termination power according to the first target charge termination power and a preset value;
[0035] Charging is performed based on the second target charge termination power.
[0036] According to a second aspect of an embodiment of the present disclosure, a charging device is provided, the device comprising:
[0037] An acquisition module is configured to acquire historical charging information, wherein the historical charging information at least includes charging termination power of multiple historical effective charging behaviors;
[0038] a determination module configured to determine a first target charging termination power based on a target charging state parameter of a current effective charging behavior and the historical charging information;
[0039] The processing module is configured to charge based on the first target charging termination power.
[0040] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0041] processor;
[0042] a memory for storing processor-executable instructions;
[0043] Wherein, the processor is configured to execute the charging method as described in the first aspect of the embodiment of the present disclosure.
[0044] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the charging method as described in the first aspect of the embodiment of the present disclosure.
[0045] The above method disclosed in the present invention has the following beneficial effects: it can accurately predict the user's expected charging termination power under different charging conditions. In addition, it can implement an intelligent and personalized charging termination power control strategy for each user, thereby improving the adaptability, perception and flexibility of charging termination power regulation, reducing users' concerns about full charging and overcharging, and improving user experience.
[0046] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0048] Figure 1 is a flow chart of a charging method according to an exemplary embodiment;
[0049] Figure 2 is a flow chart of a charging method according to an exemplary embodiment;
[0050] Figure 3 is a schematic diagram of a charging adjustment function display interface according to an exemplary embodiment;
[0051] Figure 4 is a flow chart of a charging method according to an exemplary embodiment;
[0052] Figure 5 is a block diagram of a charging device according to an exemplary embodiment;
[0053] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] In the related art, there are mainly two ways to improve the charging function of electronic devices:
[0056] The first method is to detect the aging degree of the battery in the electronic device during the charging process, and adjust the battery's full charge voltage according to the battery aging degree to avoid overcharging, thereby indirectly controlling the battery's full charge state. However, the full charge state range that can be adjusted by this method is limited, and the charging termination power cannot be limited, that is, the battery will still charge to the full charge capacity before stopping charging.
[0057] The second method is to set fixed charging rate limits and charging termination power limits for specific charging behaviors, such as charging during the night sleep period, such as limiting low current charging (i.e. limiting the charging rate to slow charging) and limiting charging termination power to 80% (i.e. stopping charging when the battery is charged to 80% of the full charge). However, in actual application, due to huge differences in user charging habits, charging environment, etc., this method cannot meet the actual needs of users, and may even go against user needs when users occasionally want to reach the full charge.
[0058] Therefore, users can only observe the power level of the electronic device while charging with the naked eye, and actively disconnect the charging connection when the power reaches the expected value to eliminate concerns about battery life loss.
[0059] In the exemplary embodiment of the present disclosure, in order to overcome the problems existing in the related art, the charging function of the electronic device is improved, and a charging method is provided, including: obtaining historical charging information, the historical charging information at least includes the charging termination power of multiple historical effective charging behaviors; determining the first target charging termination power based on the target charging state parameter of the current effective charging behavior and the historical charging information; determining the first target charging termination power based on the historical charging information; charging based on the first target charging termination power. The charging method can accurately predict the charging termination power expected by the user under different charging conditions. In addition, it can implement an intelligent and personalized charging termination power control strategy for each user, thereby improving the adaptability, perception and flexibility of charging termination power regulation, reducing the user's concerns about full charging and overcharging, and improving the user experience.
[0060] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 1 is a flow chart of a charging method according to an exemplary embodiment. Figure 1 As shown, the following steps are included:
[0061] Step S101, obtaining historical charging information, where the historical charging information at least includes charging termination power of multiple historical effective charging behaviors;
[0062] Step S102, determining a first target charging termination power based on a target charging state parameter of a current effective charging behavior and historical charging information;
[0063] Step S103, charging is performed based on a first target charging termination power.
[0064] The charging method in the embodiments of the present disclosure is applied to electronic devices, including smart phones, tablets, smart wearable devices, smart home devices and other electronic devices with battery charging function.
[0065] In step S101, the charging behavior indicates the behavior of the electronic device turning on the charging connection, that is, the behavior of the user connecting the electronic device to the charging power source. The effective charging behavior indicates the effective charging behavior of the battery in the electronic device, which can be understood as the charging behavior of charging the battery from a lower power to a higher power, or non-temporary charging behavior. The judgment conditions for judging whether the charging behavior is an effective charging behavior are pre-stored in the electronic device, and the charging state parameters constituting the judgment conditions can be determined according to the standardized design scheme for charging the electronic device and the empirical information.
[0066] In one example, the conditions for determining whether a charging behavior is a valid charging behavior include the following charging status parameters: charging period, charging location, charging scene, charging type, charging duration, charging start power, and charging end power. Then the conditions for determining whether a charging behavior is a valid charging behavior may be:
[0067] Charging period: any period;
[0068] Charging location: the user's permanent location, such as a company or home;
[0069] Charging scenario: The electronic device is in a specific mainstream scenario, such as the electronic device is in the screen off / on / video / webpage / game / call / navigation scenario;
[0070] Charging type: fast charging type or slow charging type;
[0071] Charging time: If the charging type is fast charging, the charging time is not less than 5 minutes; if the charging type is slow charging, the charging time is not less than 10 minutes;
[0072] Charging start power: no more than 60%;
[0073] Charging termination capacity: not less than 80%.
[0074] Table 1
[0075] Serial number Charging date Charging period Charging location Charging scene Charging Type Starting power End power Charging time 1 2023.3.2 morning Home Screen-off charging Type A fast charging 10% 92% 15min 2 2023.3.2 afternoon company Video charging Type B fast charge 41% 80% 23min 3 2023.3.4 noon company Game charging Type C slow charging 53% 83% 48min 4 2023.3.5 Early morning Home Screen-off charging Type A fast charging 37% 100% 14min 5 2023.3.5 night Home Call charging D-type slow charging 20% 90% 60min 6 2023.3.7 morning company Charging with screen on Type B fast charge 50% 85% 17min ... ... ... ... ... ... ... ... ...
[0076] Monitor the charging behavior of the electronic device and record the effective charging behavior. For example, Table 1 is a record table of effective charging behavior according to an exemplary embodiment. As shown in Table 1, when the electronic device is charged using a fast charging type in a screen-off scenario, the starting power of the charging is 10%, and the charging connection is disconnected when it is charged to 92%. The charging time is 15 minutes, indicating that the charging behavior is an effective charging behavior, and the charging behavior is recorded. It should be noted that when monitoring the charging behavior, if the time interval between two charging behaviors is less than a preset time difference, and the preset time difference is a smaller time difference, such as 30 seconds, the two charging behaviors are regarded as the same charging behavior, and it is determined whether the charging behavior is a valid charging behavior.
[0077] The historical effective charging behavior indicates the effective charging behavior before the current effective charging behavior. To obtain the historical charging information is to obtain a record table of the effective charging behavior before the current effective charging behavior as shown in Table 1.
[0078] In step S102, when a charging behavior is detected, if it is determined that the current charging behavior is not a valid charging behavior according to the preset determination conditions of the valid charging behavior, no processing is performed; if it is determined that the current charging behavior is a valid charging behavior, the value of the target charging state parameter of the current valid charging behavior is determined. The target charging state parameter includes at least one charging state parameter. For example, the charging state parameter of the current valid charging behavior and the value corresponding to the charging state parameter include: the charging location is the company, the charging period is the afternoon, and the charging scene is the screen-off scene. When the target charging state parameter is the charging location, the value of the target charging state parameter is the company; when the target charging state parameter is the charging location and the charging period, the values of the target charging state parameter are the company and the afternoon respectively; when the target charging state parameter is the charging location and the charging scene, the values of the target charging state parameter are the company and the screen-off scene respectively.
[0079] Obtaining historical effective charging behaviors whose target charging state parameters match the target charging state parameters of the current effective charging behavior means selecting historical effective behaviors whose target charging state parameter values are the same as the target charging state parameter values of the current effective charging behavior from the recorded historical effective charging behaviors, and using the charging termination power of the selected historical effective behaviors to predict the first target charging termination power.
[0080] In one example, Table 1 is a record table of historical effective charging behaviors. When the target charging state parameter of the current effective charging behavior is the charging location and the charging location is the company, it is necessary to select the historical effective charging behaviors with the charging location as the company from Table 1, that is, the effective charging behaviors with serial numbers 2, 3, and 6. The charging termination capacities of 80%, 83%, and 85% of the effective charging behaviors with serial numbers 2, 3, and 6 are used to predict the first target charging termination capacities.
[0081] The first target charging termination power represents the charging termination power that the user expects in the current effective charging behavior. When predicting the first target charging termination power, any prediction method can be used to predict the first target charging termination power, for example, using the statistical value of the charging termination power in the historical charging information to estimate the first target charging termination power; or using a linear regression algorithm or a neural network algorithm to predict the first target charging termination power.
[0082] In step S103, the electronic device is charged with the first target charge termination power as a reference value. For example, when the battery power reaches the first target charge termination power, charging is stopped; or, based on the first target charge termination power, the power is floated by 1%-2%, and when the battery power reaches the first target charge termination power after floating, charging is stopped.
[0083] In the exemplary embodiment of the present disclosure, since the target charging state parameters of the historical effective charging behavior in the historical charging information match the target charging state parameters of the current effective charging behavior, using the historical charging information to predict the first target charging termination power can accurately predict the charging termination power expected by the user under different charging conditions. In addition, since the historical charging information is the user's personalized charging information, an intelligent and personalized charging termination power control strategy can be implemented for each user, thereby improving the adaptability, perception and flexibility of charging termination power regulation, reducing users' concerns about full charging and overcharging, and improving user experience.
[0084] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 2 is a flow chart of a charging method according to an exemplary embodiment. Figure 2 As shown, the following steps are included:
[0085] Step S201, effective charging behavior is monitored.
[0086] When the charging behavior is monitored, the charging behavior is determined to be a valid charging behavior according to the preset determination conditions for determining the valid charging behavior.
[0087] Step S202, determine to enable the charging regulation function.
[0088] A switch for the charging regulation function can be added to the system settings of the electronic device, and the user can set whether to turn on the charging regulation function according to needs to improve the flexibility of the charging regulation function.
[0089] Step S203, obtaining historical charging information, where the historical charging information at least includes charging termination power of multiple historical effective charging behaviors.
[0090] For the specific implementation of this step, please refer to step S101.
[0091] In some possible implementations, each historical valid charging behavior complies with the charging rules of the target charging state parameters. The charging rules of the target charging state parameters are preset rules, and the charging rules are set by limiting the number of historical valid charging behaviors. The charging rules can also be called charging habits. For example, when the target charging state parameter is the charging location, and the charging location is at the company, the charging rule can be that the number of valid charging behaviors at the company is greater than or equal to 5 times; for another example, when the target charging state parameters are the charging period and the charging scene, and the charging period is in the afternoon and the charging scene is the screen-off scene, the charging rule can be that the number of valid charging behaviors in the afternoon screen-off scene is greater than 3 times.
[0092] Each historical effective charging behavior complies with the charging rules of the target charging state parameters, which can ensure the validity of the historical charging information and further ensure the accuracy of the predicted first target charging termination power.
[0093] Step S204: determining a first target charging termination power based on historical charging information.
[0094] The first target charge termination capacity is determined by any of the following three methods:
[0095] The first one is to determine a first target charging termination power based on statistical values of charging termination power of multiple historical effective charging behaviors.
[0096] The statistical values are median, mean, mode, variance, etc., which can characterize the estimated value of the charge termination capacity.
[0097] In one example, the average of the charging termination capacities of multiple historical effective charging behaviors is determined as the first target charging termination capacities. When the historical charging information includes 5 historical effective charging behaviors, the charging termination capacities of each historical effective charging behavior are 80%, 85%, 86%, 84%, and 85%, respectively, and the first target charging termination capacities are 84% = (80% + 85% + 86% + 84% + 85%) / 5.
[0098] The second method is to obtain the power range to which the charging termination power of each historical effective charging behavior belongs; determine the power range with the largest number of charging termination power as the target power range; and determine the first target charging termination power based on the target power range.
[0099] The power interval is preset, and the length of each power interval is an empirical value, for example, the length of each power interval is 5%. The power interval to which the charge termination power of each historical effective charging behavior belongs is determined, and the number of charge termination power in each power interval is counted. The power interval containing the largest number of charge termination power is the target power interval. Any value of the target power interval can be used as the first target charge termination power, and the statistical value of the charge termination power within the target power interval can also be used as the first target charge termination power.
[0100] In one example, the average value of the interval endpoint values of the target power interval is used as the first target charging termination power. When the historical charging information includes 5 historical valid charging behaviors, the charging termination power of each historical valid charging behavior is 75%, 78%, 80%, 84%, and 82%, respectively, and the power interval includes the interval [75%, 80%) and the interval [80%, 85%), then the target power interval is the interval [80%, 85%), and the first target charging termination power is 82.5% = (80% + 85%) / 2.
[0101] The third method is to obtain the power range to which the charging start power of each historical effective charging behavior belongs; determine the power range with the largest number of charging start powers as the target power range; and determine the first target charging end power based on the statistical value of the charging end power in the target power range.
[0102] The charge start power indicates the battery power when the charger is connected. The power interval is preset, and the length of each power interval is an empirical value, for example, the length of each power interval is 5%. Determine the power interval to which the charge start power of each historical valid charging behavior belongs, and count the number of charge start power in each power interval. The power interval containing the largest number of charge start power is the target power interval. Determine the charge end power corresponding to the charge start power in the target power interval, and use its statistical value as the first target charge end power.
[0103] In one example, the average of the charging termination power in the target power interval is determined as the first target charging termination power. When the historical charging information includes 5 historical valid charging behaviors, the charging start power of each historical valid charging behavior is 20%, 15%, 22%, 16%, and 24%, and the charging termination power corresponding to each charging start power is 80%, 85%, 86%, 84%, and 85%, respectively. The power interval includes the interval [15%, 20%) and the interval [20%, 25%), then the target power interval is the interval [20%, 25%), and the first target charging termination power is 83.7% = (80% + 85% + 86%) / 3.
[0104] Step S205, determining whether the visible power value is the first visible power value.
[0105] If the visible power value is the first visible power value, execute step S206; if the visible power value is the second visible power value, execute step S207.
[0106] The first visible power value is an actual power value, and the second visible power value is a target power value. There is a preset corresponding relationship between the target power value and the actual power value.
[0107] In some possible implementations, in the system settings, when the charging adjustment function is turned on, a corresponding setting option appears, and the user can use the option to set the visible power value to the actual power value or the adjusted power value (ie, the target power value).
[0108] Step S206, when the first visible power value reaches the first target charge termination power, charging is stopped and a first prompt message is displayed, where the first prompt message is used to indicate that the charging power reaches the first target charge termination power.
[0109] The visual battery level is used to provide users with visual feedback on the current battery level.
[0110] When the visible power value is the actual power value, charging stops when the first target charging termination power is charged, that is, charging stops when the visible power value reaches the first target charging termination power. For example, if the first target charging termination power is 80%, charging stops when the displayed visible power value is 80%, and it is no longer charged to the visible power value of 100%. The first prompt information can be displayed through system notifications, such as system resident notifications, pop-up notifications, floating notifications, etc., to remind the user that the current full charge value has been automatically adjusted to the customary charging power value, that is, the first target charging termination power. At this time, clear visual feedback can be provided to the user to know the actual power value.
[0111] Step S207, when the second visible power value reaches the full charge, charging is stopped and a second prompt message is displayed, where the second prompt message is used to indicate that the charging power reaches the first target charging termination power.
[0112] When the visible power value is the target power value, the preset corresponding relationship between the actual power value and the target power value during the charging process and the discharging process is determined according to the mapping relationship between the first target charge termination power and the full charge power. For example, if the first charge termination power is 80% and the displayed visible power value is 100%, the preset corresponding relationship between the actual power value and the target power value is: the actual power value is 80% of the target power value.
[0113] In one example, Figure 3 is a schematic diagram of a charging adjustment function display interface according to an exemplary embodiment. Figure 3As shown, the maximum capacity represents the battery health status parameter. When the user turns on the charging adjustment switch, the setting option of the visible power value is displayed. When the user selects the visible power value as the adjusted power value (i.e. the target power value), if the first target charging termination power is 80%, when charging to the first target charging termination power, the visible power value is 100%. At this time, a pop-up notification prompt appears at the bottom of the interface, displaying: "Charging reminder: The current full charge capacity has been automatically adjusted to the habitual charging power value of 80%".
[0114] Step S208, determining to turn off the charging regulation function.
[0115] Step S209: determining whether the visible power value is the first visible power value.
[0116] If the visible power value is the first visible power value, execute step S210; if the visible power value is the second visible power value, execute steps S211-S213.
[0117] Step S210, when the first visible power value reaches the full charge, charging is stopped and a second prompt message is displayed, where the second prompt message is used to indicate that the charging power reaches the full charge.
[0118] If the user turns off the charging adjustment function when the first target charging termination power is charged or during charging, and the charging connection is not disconnected, the battery is charged to the full charge capacity, and the visible power value rises to 100%. If the user turns off the charging adjustment function when the first target charging termination power is charged or during charging, and the charging connection is disconnected, the visible power value during discharge is the same as the actual power value.
[0119] Step S211, determining whether to disconnect the charging connection;
[0120] If yes, go to step S212; if no, go to step S213.
[0121] Step S212, during the discharge process, based on the preset corresponding relationship, eliminating the difference between the second visible power value and the actual power value.
[0122] During the discharge process, reverse smooth scaling discharge is performed according to the preset corresponding relationship between the actual power value and the target power value to gradually eliminate the power difference between the second visible power value and the actual power value. For example, the second visible power value is 100%, the actual power value is 80%, when the actual power consumption is 1%, the second visible power value decreases by 2%, when the actual power consumption is 20%, the actual power value is 60%, then the second visible power value decreases by 40%, and the second visible power value is 60%.
[0123] Step S213, when the charging power reaches the full charging power, charging is stopped and a fourth prompt message is displayed, where the fourth prompt message is used to indicate that the charging power reaches the full charging power.
[0124] The visible power value no longer changes. When charging continues to reach the full charge, a system notification is used to remind the user that the battery has been fully charged.
[0125] Step S214, when the battery health state parameter is less than the health threshold, determine the second target charge termination power according to the first target charge termination power and a preset value.
[0126] The battery health status parameter indicates the ratio of the current full charge capacity of the battery to the initial full charge capacity. The battery health status parameter can also be called the aging degree or aging parameter. The health threshold is an empirical value, for example, 80%. The preset value is the deviation value of the first target charge termination power. According to the mapping relationship between the battery health status parameter and the deviation value, the deviation value is determined. The deviation value is subtracted from the first target charge termination power to obtain the second target charge termination power. For example, when the battery health status parameter is 100%, the deviation value is 0, that is, the first target charge termination power and the second target charge termination power are equal; when the battery health status parameter is 90%, the deviation value is 2%, that is, the first target charge termination power minus 2% to obtain the second target charge termination power.
[0127] Step S215, charging is performed based on a second target charging termination power.
[0128] The specific implementation of this step refers to steps S205-S213, and the first target charging termination power is modified to the second target charging termination power, which will not be described again.
[0129] It should be noted that steps S205-S213 and steps S214-S215 are parallel steps, and one of them is selected to be executed.
[0130] In an exemplary embodiment of the present disclosure, a charging method is provided. Figure 4 is a flow chart of a charging method according to an exemplary embodiment. Figure 4 As shown, the following steps are included:
[0131] Step S4-1, presetting the determination conditions for effective charging amplification behavior;
[0132] The charging boost effective behavior may also be referred to as the charging effective behavior.
[0133] Step S4-2, monitoring the charging status and function switch status;
[0134] The charging status indicates that the charging behavior is currently detected, and the function switch status indicates whether the charging regulation function is turned on.
[0135] Step S4-3, determining whether charging is in progress and turning on the charging regulation function;
[0136] If yes, execute step S4-4 to step S4-10; if no, execute step S4-11;
[0137] Step S4-4, obtaining charging status information;
[0138] The charging state information includes the values of various charging state parameters.
[0139] Step S4-5, determining whether the charging increase habit is effective;
[0140] If it is effective, execute steps S4-6 and S4-7; if it is not effective, execute steps S4-8 to S4-10;
[0141] Obtaining historical charging information, the charging increase habit takes effect, indicating that each historical effective charging behavior in the historical charging information complies with the charging rules of the target charging state parameters.
[0142] Step S4-6, calculating the charging increase prediction value and the target threshold;
[0143] The predicted value of the charging increase is the first target charging termination power, and the target threshold is the second target charging termination power.
[0144] Step S4-7, performing intelligent adjustment of charging amplification;
[0145] When the first target charging termination power level or the second target charging termination power level is charged, the charging is stopped.
[0146] Step S4-8, determining whether it is a valid charging amplification behavior;
[0147] If yes, execute step S4-9 and step S4-10; if no, execute step S4-11;
[0148] Step S4-9, writing into the habit learning database;
[0149] Record in the effective charging behavior table shown in Table 1.
[0150] Step S4-10, performing conventional control of charging amplification;
[0151] Charging stops when the battery reaches full capacity or the user disconnects the charging connection.
[0152] Step S4-11, exit the intelligent adjustment of charging increase, that is, stop charging when the battery is fully charged.
[0153] In an exemplary embodiment of the present disclosure, a charging device is provided. Figure 5 is a block diagram of a charging device according to an exemplary embodiment. Figure 5 As shown, including:
[0154] An acquisition module 501 is configured to acquire historical charging information, where the historical charging information at least includes charging termination power of multiple historical effective charging behaviors;
[0155] A determination module 502 is configured to determine a first target charging termination power based on a target charging state parameter of a current effective charging behavior and historical charging information;
[0156] The processing module 503 is configured to charge based on a first target charging termination power.
[0157] In an exemplary embodiment, the acquisition module 501 is further configured to:
[0158] Each historical valid charging behavior complies with the charging rules of the target charging state parameters.
[0159] In an exemplary embodiment, the determination module 502 is further configured to:
[0160] A first target charging termination power is determined based on statistical values of charging termination power of a plurality of historical effective charging behaviors.
[0161] In an exemplary embodiment, the determination module 502 is further configured to:
[0162] Obtain the power range to which the charging termination power of each historical effective charging behavior belongs;
[0163] Determine the power interval with the largest number of charge termination power as the target power interval;
[0164] Based on the target power range, a first target charging termination power is determined.
[0165] In an exemplary embodiment, the determination module 502 is further configured to:
[0166] Obtain the power range to which the charging start power of each historical effective charging behavior belongs;
[0167] Determine the power interval with the largest amount of charging start power as the target power interval;
[0168] A first target charging termination power is determined based on the statistical value of the charging termination power in the target power interval.
[0169] In an exemplary embodiment, the determination module 502 is further configured to:
[0170] Make sure the charge regulation function is turned on.
[0171] In an exemplary embodiment, the processing module 503 is further configured to:
[0172] When the first visible power value reaches the first target charge termination power value, charging is stopped and a first prompt message is displayed, wherein the first prompt message is used to indicate that the charging power value reaches the first target charge termination power value, and the first visible power value is an actual power value.
[0173] In an exemplary embodiment, the processing module 503 is further configured to:
[0174] If the charging adjustment function is turned off, when the first visible power value reaches the full charge, charging is stopped and a second prompt message is displayed, wherein the second prompt message is used to indicate that the charging power has reached the full charge.
[0175] In an exemplary embodiment, the processing module 503 is further configured to:
[0176] When the second visible power value reaches the full charge, charging is stopped and a third prompt message is displayed, wherein the third prompt message is used to indicate that the charging power has reached the first target charging termination power, and the second visible power value is the target power value, and there is a preset corresponding relationship between the target power value and the actual power value.
[0177] In an exemplary embodiment, the processing module 503 is further configured to:
[0178] Determine a preset corresponding relationship between the actual power value and the target power value during the charging process and the discharging process according to the mapping relationship between the first target charge termination power and the full charge power;
[0179] In an exemplary embodiment, the processing module 503 is further configured to:
[0180] If the charging adjustment function is turned off and the charging connection is not disconnected, when the charging amount reaches the full charging amount, charging is stopped and a fourth prompt message is displayed, wherein the fourth prompt message is used to indicate that the charging amount reaches the full charging amount;
[0181] If the charging regulation function is turned off and the charging connection is disconnected, the difference between the second visible power value and the actual power value is eliminated during the discharge process based on the preset corresponding relationship.
[0182] In an exemplary embodiment, the processing module 503 is further configured to:
[0183] When the battery health state parameter is less than a health threshold, determining a second target charge termination power according to the first target charge termination power and a preset value;
[0184] Charging is performed based on the second target charge termination power.
[0185] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0186] Figure 6 is a block diagram of an electronic device 600 according to an exemplary embodiment.
[0187] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0188] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0189] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0190] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0191] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 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 may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0192] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0193] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0194] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0195] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 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 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0196] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0197] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0198] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a device, enables the device to perform a charging method, the method including any of the above methods.
[0199] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0200] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A charging method, characterized in that: The method comprises: Acquire historical charging information, where the historical charging information at least includes charging termination power of multiple historical effective charging behaviors; Determine a first target charging termination power based on a target charging state parameter of a current effective charging behavior and the historical charging information; Charging is performed based on the first target charge termination power.
2. The charging method according to claim 1, characterized in that: The method further comprises: Each of the historical effective charging behaviors complies with the charging rule of the target charging state parameter.
3. The charging method according to claim 1, characterized in that: The determining, based on the historical charging information, a first target charging termination power, includes: The first target charging termination power is determined based on the statistical values of the charging termination power of the plurality of historical effective charging behaviors.
4. The charging method according to claim 1, characterized in that: The determining, based on the historical charging information, a first target charging termination power, includes: Obtaining the power range to which the charging termination power of each of the historical effective charging behaviors belongs; Determine the power interval containing the largest amount of the charge termination power as the target power interval; Based on the target power range, the first target charging termination power is determined.
5. The charging method according to claim 1, characterized in that: The determining, based on the historical charging information, a first target charging termination power, includes: Obtaining the power range to which the charging start power of each of the historical effective charging behaviors belongs; Determine the power interval with the largest amount of the charging start power as the target power interval; The first target charging termination power is determined based on the statistical value of the charging termination power in the target power interval.
6. The charging method according to claim 1, characterized in that: Before acquiring the historical charging information, the method further includes: Make sure the charge regulation function is turned on.
7. The charging method according to claim 6, characterized in that: The charging based on the first target charging termination power includes: When the first visible power value reaches the first target charge termination power value, charging is stopped and a first prompt message is displayed, wherein the first prompt message is used to indicate that the charging power value reaches the first target charge termination power value, and the first visible power value is an actual power value.
8. The charging method according to claim 7, characterized in that: The method further comprises: If the charging adjustment function is turned off, when the first visible power value reaches the full charge, charging is stopped and a second prompt message is displayed, wherein the second prompt message is used to indicate that the charging power has reached the full charge.
9. The charging method according to claim 6, characterized in that: The charging based on the first target charging termination power includes: When the second visible power value reaches the full charge, charging is stopped and a third prompt message is displayed, wherein the third prompt message is used to indicate that the charging power has reached the first target charging termination power, and the second visible power value is the target power value, and there is a preset corresponding relationship between the target power value and the actual power value.
10. The charging method according to claim 9, characterized in that: The method further comprises: According to the mapping relationship between the first target charge termination capacity and the full charge capacity, a preset corresponding relationship between the actual capacity value and the target capacity value during the charging process and the discharging process is determined.
11. The charging method according to claim 9, characterized in that: The method further comprises: If the charging adjustment function is turned off and the charging connection is not disconnected, when the charging amount reaches the full charging amount, charging is stopped and a fourth prompt message is displayed, wherein the fourth prompt message is used to indicate that the charging amount reaches the full charging amount; If the charging regulation function is turned off and the charging connection is disconnected, the difference between the second visible power value and the actual power value is eliminated during the discharge process based on the preset corresponding relationship.
12. The charging method according to claim 1, characterized in that: The charging based on the first target charging termination power includes: When the battery health state parameter is less than a health threshold, determining a second target charge termination power according to the first target charge termination power and a preset value; Charging is performed based on the second target charge termination power.
13. A charging device, characterized in that: The device comprises: An acquisition module is configured to acquire historical charging information, wherein the historical charging information at least includes charging termination power of multiple historical effective charging behaviors; a determination module configured to determine a first target charging termination power based on a target charging state parameter of a current effective charging behavior and the historical charging information; The processing module is configured to charge based on the first target charging termination power.
14. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the charging method as described in any one of claims 1-12.
15. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the charging method as described in any one of claims 1 to 12.