Charging management method of terminal equipment and terminal equipment
By analyzing the information of the terminal device's battery in multiple statistical cycles, if specific conditions are met, the full voltage during charging is reduced, and the problem of battery damage and bulging risks in high temperature and high voltage conditions is solved, and the effect of delaying battery bulging and improving battery life is achieved.
Patent Information
- Application Number
- CN202311337598.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-16
- Publication Date
- 2025-04-18
AI Technical Summary
Terminal equipment is prone to battery damage under high temperature and high voltage conditions, reducing battery safety and increasing the risk of bulging, especially in long-term use by users in special industries and in high temperature environments.
By acquiring battery information of the terminal device over multiple statistical cycles, analyzing the operating state and duration of the battery, if specific conditions are met, the full voltage of the battery when charging is reduced to delay battery bulge and extend battery life.
Effectively delay battery bulge, improve battery life, reduce battery safety risks caused by bulge, and take into account the battery life.
Smart Images

Figure CN119853196A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a charging management method for a terminal device and a terminal device. Background Art
[0002] For terminal equipment, when the power is 0%, the battery voltage is the lowest; when the power is 100%, the battery voltage is the highest (called high voltage or full-charge voltage). Under high temperature and high voltage conditions, terminal equipment is very likely to cause battery damage, resulting in reduced battery safety and triggering the risk of swelling, which affects battery life.
[0003] For users in special industries, such as railway workers, coal mine workers, and police officers on duty, these users have the habit of using terminal devices for a long time. When not in use, the terminal devices need to be charged to maintain power; or the temperature in the terminal device usage environment is high, causing a great safety risk of bulging.
[0004] Therefore, a method for delaying battery swelling is proposed to improve battery life. Summary of the invention
[0005] In an exemplary embodiment of the present application, a charging management method for a terminal device and a terminal device are provided to delay battery swelling and improve battery life.
[0006] According to a first aspect of an exemplary embodiment, a charging management method for a terminal device is provided, including:
[0007] Obtain battery information of the terminal device in multiple statistical periods; the battery information includes charging status, power level and battery temperature;
[0008] For each statistical period within multiple statistical periods, perform the following operations:
[0009] Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life;
[0010] In a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, the full-charge voltage of the battery during charging is reduced.
[0011] According to a second aspect of an exemplary embodiment, another charging management method for a terminal device is provided, including:
[0012] Obtain the battery information of the terminal device in real time, where the battery information includes charging status, power and temperature information;
[0013] Determine the working status of the battery of the terminal device according to the battery information;
[0014] Determine how long the battery lasts in working condition;
[0015] If the duration is greater than the duration threshold, the full-charge voltage of the battery during charging is reduced.
[0016] According to a third aspect of an exemplary implementation, a charging management device of a terminal device is provided, which is used to execute the method of the first aspect, including:
[0017] The first information acquisition unit is used to: acquire battery information of the terminal device in multiple statistical periods; wherein the battery information includes charging status, power level and battery temperature;
[0018] The statistical cycle analysis unit is used to perform the following operations for each statistical cycle within multiple statistical cycles:
[0019] Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life;
[0020] The first voltage regulating unit is used to: in a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, reduce the full-charge voltage of the battery during charging.
[0021] According to a fourth aspect of an exemplary implementation, a charging management device of a terminal device is provided, which is used to execute the method of the second aspect, including:
[0022] The second information acquisition unit is used to: acquire battery information of the terminal device in real time, wherein the battery information includes charging status, power level and temperature information;
[0023] The processing unit is used to: determine the working state of the battery of the terminal device according to the battery information;
[0024] The processing unit is further used to: determine the duration of the battery in the working state;
[0025] The second voltage regulating unit is used to reduce the full-charge voltage of the battery during charging if the duration is greater than a duration threshold.
[0026] According to a fifth aspect of the exemplary implementation, there is provided a terminal device, including a battery and a processor;
[0027] The processor is configured to execute:
[0028] Obtain battery information of the terminal device in multiple statistical periods; the battery information includes charging status, power level and battery temperature;
[0029] For each statistical period within multiple statistical periods, perform the following operations:
[0030] Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life;
[0031] In a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, the full-charge voltage of the battery during charging is reduced.
[0032] According to a sixth aspect of the exemplary implementation, there is provided a terminal device, including a battery and a processor;
[0033] The processor is configured to execute:
[0034] Obtain the battery information of the terminal device in real time, where the battery information includes charging status, power and temperature information;
[0035] Determine the working status of the battery of the terminal device according to the battery information;
[0036] Determine how long the battery lasts in working condition;
[0037] If the duration is greater than the duration threshold, the full-charge voltage of the battery is reduced during charging
[0038] According to a seventh aspect of an exemplary implementation, a computer storage medium is provided, in which computer program instructions are stored. When the instructions are executed on a computer, the computer executes the charging management method for a terminal device as in the first aspect.
[0039] In an embodiment of the present application, the battery information of the terminal device in multiple statistical periods is obtained in order to obtain the user's battery usage habits, and the battery information is analyzed to determine whether the battery has a risk of bulging, that is, whether the battery life is affected. In the case of a risk of bulging, the bulging is delayed by reducing the full-charge voltage of the battery during charging to extend the battery life. In the process of analyzing whether the battery has a risk of bulging, for each statistical period in multiple statistical periods, an operation is performed: according to the battery information in the statistical period, at least one working state of the battery of the terminal device in the statistical period is determined, and the duration information of at least one working state is determined; if the duration information meets the duration condition, the statistical period is used as the target statistical period. Since the working state is related to the battery life, the battery life has been affected in the selected target statistical period. In addition, since reducing the full-charge voltage of the battery during charging can increase the battery life, therefore, in multiple statistical periods, if the number of target statistical periods meets the quantity threshold, the battery life is extended by reducing the full-charge voltage of the battery during charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0041] Figure 1 A schematic diagram exemplarily shows the relationship between high temperature and high pressure of a mobile phone battery and battery bulging provided in an embodiment of the present application;
[0042] Figure 2 A flowchart of a charging management method for a terminal device provided in an embodiment of the present application is exemplarily shown;
[0043] Figure 3 A schematic diagram of an initialization battery information monitoring service provided by an embodiment of the present application is exemplarily shown;
[0044] Figure 4 A flowchart of a method for determining a statistical period as a target statistical period provided in an embodiment of the present application is exemplarily shown;
[0045] Figure 5 A flowchart of a method for determining a weighted sum of durations of multiple working states provided in an embodiment of the present application is exemplarily shown;
[0046] Figure 6 A flowchart of a method for determining the duration of a stage provided in an embodiment of the present application is exemplarily shown;
[0047] Figure 7 The flowchart of monitoring battery status change broadcast provided by an embodiment of the present application is exemplarily shown;
[0048] Figure 8 A schematic diagram exemplarily shows a charging management method for a terminal device provided in an embodiment of the present application;
[0049] Fig. 9 A flowchart of another charging management method for a terminal device provided in an embodiment of the present application is exemplified;
[0050] Fig.10 The following is a schematic diagram showing the structure of a battery management device for a terminal device provided in an embodiment of the present application;
[0051] Fig.11 The structure diagram of another battery management device of a terminal device provided by an embodiment of the present application is exemplarily shown;
[0052] Fig.12 The following is a schematic diagram showing the structure of a terminal device provided by an embodiment of the present application;
[0053] Fig.13 The schematic diagram of the structure of another terminal device provided in an embodiment of the present application is exemplified. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0055] For ease of understanding, the terms involved in the embodiments of the present application are explained below:
[0056] (1) Floating charge: A power supply (discharge) mode of a battery pack. The system connects the battery pack to the load circuit in parallel with the power line. Its voltage is generally constant, only slightly higher than the terminal voltage of the battery pack. The small amount of current supplied by the power line compensates for the local loss of the battery pack, so that it can always maintain a fully charged state without overcharging.
[0057] For terminal equipment, when the power is 0%, the battery voltage is the lowest; when the power is 100%, the battery voltage is the highest (called high voltage or full-charge voltage). Under high temperature and high voltage conditions, terminal equipment is very likely to cause battery damage, resulting in reduced battery safety and triggering the risk of bulging.
[0058] For users in special industries, such as railway workers, coal mine workers, and police officers on duty, their usage habits are different from those of ordinary people. In addition, terminal devices can refer to different devices in different industries, such as mobile phones or law enforcement recorders. For example, workers in coal mines need to conduct safety inspections 24 hours a day, so terminal devices need to be inspected every 1-2 hours, and each inspection lasts for dozens of minutes. After the inspection, the terminal device will be plugged into the charger to charge. In other words, the mobile phone is charged all day and the battery is always in a high-voltage state. Another example is the law enforcement recorder. When the police go out on duty in the high temperature environment in summer, the working temperature of the law enforcement recorder is very high, and the mobile phone battery is always used in a high temperature environment. When it is not in use, the law enforcement recorder is always plugged into the charger to charge.
[0059] Therefore, when the terminal device is used for a long time, it needs to be charged to maintain the power during non-use. Or, the temperature in the environment where the terminal device is used is high, which also causes a greater safety risk of swelling. In addition, long-term floating charge of the battery may also cause swelling.
[0060] Figure 1 The relationship between high temperature and high pressure and battery bulging of a mobile phone battery provided in the embodiment of the present application. The comparison is based on 75 days, the first 4 groups of data are actual measured data, and the last 2 groups of data are predicted data based on the measured data. Figure 1 It can be seen that if the battery temperature is 40℃ and the battery fully charged voltage is 4.35V, the battery will swell after 75 days of use; if the battery temperature is 40℃ and the battery fully charged voltage is 4.4V, the battery will swell after 45 days of use; if the battery temperature is further increased to 45℃ and the battery fully charged voltage is 4.4V, the battery will swell in only 35 days.
[0061] pass Figure 1 It can be seen that the temperature of the battery during use and the voltage of the battery at full charge have a great impact on whether the battery bulges. Once the battery bulges, the battery life will be affected. If the mobile phone is used normally, the mobile phone temperature is rarely greater than 40℃, and the mobile phone is rarely fully charged. However, for users in special industries, high temperature and high pressure are often used.
[0062] To this end, an embodiment of the present application provides a charging management method for a terminal device, which can delay battery bulging and improve battery life. During the use of the terminal device, the battery information (charging state, power and battery temperature) of the terminal device in multiple statistical periods is obtained, and then for each statistical period, the battery information in the statistical period is used to determine at least one working state of the battery in the statistical period, and when the duration information of the at least one working state meets the duration condition, the statistical period is determined to be the target statistical period. Since the working state is related to the battery life, the life of the battery under the target statistical period has been affected. In multiple statistical periods, if the number of target statistical periods meets the quantity threshold, the risk of bulging can be reduced by reducing the full-charge voltage of the battery during charging, and the battery life can be extended. In addition, the full-charge voltage of the battery during charging is directly related to the battery's endurance. Therefore, the embodiment of the present application takes into account the endurance compared to directly setting the full-charge voltage of the battery during charging to be lower.
[0063] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided in the embodiment of the present application.
[0064] The swelling of the battery is a slow process. Therefore, the battery usage in the historical statistical period can be judged through historical battery information to adjust the full-charge voltage of the battery during charging and extend the battery life. The battery full-charge voltage during charging can also be adjusted according to real-time battery information to extend the battery life.
[0065] Combine the following Figure 1 The application scenario shown in the figure illustrates the above two situations respectively.
[0066] The first case: using historical battery information to adjust the full-charge voltage of the battery during charging.
[0067] Figure 2 A flowchart of a charging management method for a terminal device provided in an embodiment of the present application.
[0068] S201: Obtain battery information of a terminal device in multiple statistical periods.
[0069] S202: For each statistical period in the multiple statistical periods, perform the following operations:
[0070] Based on the battery information within the statistical period, determine at least one working state of the battery of the terminal device within the statistical period; determine the duration information of at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life.
[0071] S203: In a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, reducing the full-charge voltage of the battery during charging.
[0072] In an embodiment of the present application, the battery information of the terminal device in multiple statistical cycles is obtained in order to obtain the user's battery usage habits, and the battery information is analyzed to determine whether there is a risk of bulging, that is, whether the battery life is affected. In the case of a risk of bulging, the bulging is delayed by reducing the full-charge voltage of the battery during charging to extend the battery life. In the process of analyzing whether the battery has a risk of bulging, for each statistical cycle in multiple statistical cycles, an operation is performed: according to the battery information in the statistical cycle, at least one working state of the battery of the terminal device in the statistical cycle is determined, and the duration information of at least one working state is determined; if the duration information meets the duration condition, the statistical cycle is used as the target statistical cycle. Since the working state is related to the battery life, the battery life has been affected in the selected target statistical cycle. In addition, since reducing the full-charge voltage of the battery during charging can increase the battery life, therefore, in multiple statistical cycles, if the number of target statistical cycles meets the quantity threshold, the battery life is extended by reducing the full-charge voltage of the battery during charging.
[0073] In S201, the terminal device includes a battery management module, and the battery management module has a battery information monitoring service. The service is a system service, running in the background of the terminal device, and is used to monitor the broadcast of battery status changes.
[0074] In the embodiment of the present application, the battery information of the terminal device in multiple statistical periods is obtained, wherein one statistical period can be one week, and the battery information includes the charging state (charging, not charging), the power (percentage) and the battery temperature (temperature value), and the battery temperature can be detected by a temperature sensor. The battery state change here refers to any one of the charging state, power and battery temperature changing.
[0075] Figure 3 A schematic diagram of an initialization battery information monitoring service provided in an embodiment of the present application.
[0076] S301: Start up.
[0077] S302: Initialize the battery information monitoring service.
[0078] S303: Determine whether the battery information file exists, if so, execute S304, otherwise execute S305.
[0079] S304: Parse the battery information file, and save the parsed battery information into the battery information monitoring service.
[0080] S305: Create a new battery information file.
[0081] S306: Add a monitoring function for battery status change broadcast.
[0082] S307: The power-on initialization is completed.
[0083] After the terminal device is turned on, the battery information monitoring service is initialized. If the battery information file does not exist, a new battery information file is created; if the battery information file exists, the battery information stored in the battery information file can be parsed, and the battery information monitoring service is started at the same time, so as to obtain the battery information of the terminal device in real time. Exemplarily, the battery information includes the charging status, the power level and the battery temperature, wherein the charging status includes charging and not charging.
[0084] In S202, it is determined whether a statistical period has a risk of battery swelling, and the statistical period with the risk of battery swelling is marked as a target statistical period.
[0085] Figure 4 A flow chart of a method for determining a statistical period as a target statistical period provided in an embodiment of the present application, Figure 4 At least includes steps S202-1 to S202-3.
[0086] S202-1: Determine at least one working state of a battery of the terminal device within the statistical period according to the battery information within the statistical period.
[0087] During normal use of the terminal device, the working state of the battery is determined by the battery usage state (whether it is charging, whether it is at high voltage, whether it is at high temperature). According to the analysis of the battery usage characteristics, reaching a certain temperature or voltage usage state may cause the battery to swell, thereby affecting the battery life. Therefore, in the embodiment of the present application, eight working states are set, and these eight working states may affect the battery life.
[0088] According to the test, the high temperature state only needs to count the two conditions of 40℃ to 45℃ and above 45℃, and the high voltage state only needs to count the two conditions of 80% to 95% and above 95%, plus whether it is charging. The following is an example of eight working states:
[0089] Working status 1. Charging, battery power is above 95%, and battery temperature is above 45°C.
[0090] Working status 2: Charging, battery power is above 95%, and battery temperature is between 40℃ and 45℃.
[0091] Working status 3: Charging, battery power is between 80% and 95%, and battery temperature is above 45°C.
[0092] Working status 4: Charging, battery power is between 80% and 95%, and battery temperature is between 40℃ and 45℃.
[0093] Working status 5: Not charging, battery power is above 95%, and battery temperature is above 45°C.
[0094] Working status 6: Not charging, the battery power is above 95%, and the battery temperature is between 40℃ and 45℃.
[0095] Working status 7: Not charging, the battery power is between 80% and 95%, and the battery temperature is above 45°C.
[0096] Working status 8: Not charging, battery power is between 80% and 95%, and battery temperature is between 40℃ and 45℃.
[0097] Optionally, when each working state runs for a corresponding time threshold, it indicates that there is a risk of battery swelling.
[0098] For example, the duration threshold of work status 1 is 2 hours; the duration threshold of work status 2 is 2.7 hours; the duration threshold of work status 3 is 3.2 hours; the duration threshold of work status 4 is 3.7 hours; the duration threshold of work status 5 is 2.5 hours; the duration threshold of work status 6 is 3 hours; the duration threshold of work status 7 is 3.5 hours; the duration threshold of work status 8 is 2 hours
[0099] Taking a statistical period as an example, the battery information obtained during the statistical period is compared with the pre-set working state to determine at least one working state of the battery during the statistical period. For example, the statistical period can be in weeks, so it can be determined how many working states have appeared in these 7 days, and whether there are eight set working states among the statistical states that have appeared. In actual application, other working states have little effect on battery life. Therefore, in the embodiment of the present application, only these eight working states are considered.
[0100] Involving S202-2, determining duration information of at least one working state.
[0101] In S202-3, if the duration information meets the duration condition, the statistical period is taken as the target statistical period.
[0102] Since the number of determined working states is different, the duration information is different, and the duration conditions are different, the following situations are described for explanation.
[0103] 1. The number of at least one working state is one, the duration information is the duration of this working state, and the duration condition is: the duration of the working state is greater than the first duration threshold.
[0104] For example, if the determined working state is working state 2, the duration information is the duration t2 of the working state in the statistical period, and the first duration threshold here is the duration threshold 2.7h corresponding to working state 2.
[0105] 2. There are multiple working states, and the duration information is the duration corresponding to each of the multiple working states; the duration condition is: the duration of any working state is greater than the second duration threshold.
[0106] Exemplarily, there are four working states determined, namely working state 2, working state 4, working state 5 and working state 8, and the corresponding durations are t2, t4, t5 and t8 respectively. Accordingly, the duration condition is that the duration of any working state is greater than the duration threshold of the working state. In this case, the second duration threshold is the duration of the working state.
[0107] For example, in a statistical period, the battery involves three working states, working states 1, 2 and 4. Among them, the duration of working state 1 is 2.5 hours, the duration of working state 2 is 0.5 hours, and the duration of working state 3 is 1 hour.
[0108] This example shows that the duration of working state 1, 2.5 hours, is greater than the duration threshold of 2 hours, indicating a bulge risk.
[0109] 3. There are multiple working states, and the duration information is the weighted duration sum of the multiple working states; the duration condition is: the weighted duration sum is greater than the third duration threshold.
[0110] In actual use, there is a situation where the duration of each working state does not reach the corresponding duration threshold. For example, in a statistical period, the duration of working state 1 is 1.8 hours, and the duration of working state 2 is 2.5 hours. Although these two working states have not reached their respective duration thresholds, they are both in critical situations, and working state 1 is more damaging to the battery than working state 2. Therefore, if converted to working state 2, the sum of the two is 4.3 hours, which obviously exceeds the duration threshold of working state 2, and there is a risk of battery bulging.
[0111] For example, four working states are determined, namely working state 2, working state 4, working state 5 and working state 8, and the corresponding durations are t2, t4, t5 and t8 respectively. Figure 5 A flow chart of a method for determining the weighted duration of multiple working states provided in an embodiment of the present application, Figure 5 The process includes at least the following steps:
[0112] S501: Select any one working state from among multiple working states as a reference working state.
[0113] For example, a working state is selected as a reference working state, and it is assumed that working state 8 is the reference state.
[0114] S502: For each working state except the reference working state among the multiple working states, determine a weight of each working state relative to the reference working state.
[0115] Among them, the weight can be the ratio of the duration threshold of each working state to the benchmark working state. For example, the weight of working state 1 is 2 / 2=1; the weight of working state 2 is 2.7 / 2=1.35; the weight of working state 3 is 3.2 / 2=1.6; the weight of working state 4 is 3.7 / 2=1.85; the weight of working state 5 is 2.5 / 2=1.25; the weight of working state 6 is 3 / 2=1.5; the weight of working state 7 is 3.5 / 2=1.75.
[0116] S503: Determine a weighted sum of the durations of the multiple working states according to the durations of the various working states except the reference working state and their corresponding weights.
[0117] For example, in a statistical period, the duration of work status 8 is 2.8 hours, the duration of work status 7 is 2 hours, and the duration of work status 4 is 1 hour. After all of them are converted into work status 8, the weighted total duration is: 2.8+4÷3.5×2+4÷3.7×1=6.16 hours, which has met the duration threshold of work status 8, and it can be determined that there is a risk of bulging.
[0118] In this example, the third duration threshold may be a duration threshold corresponding to the reference working state.
[0119] This design can determine whether a statistical cycle can be used as a target statistical cycle. Using the same method, the battery information of multiple statistical cycles can be analyzed respectively, and then determine which statistical cycle among the multiple statistical cycles can be used as the target statistical cycle.
[0120] Optionally, in a statistical period, for each working state, the duration of the working state is the sum of the durations of multiple stages. For example, within 7 days, working state 1 appears 5 times, each time is called a stage, and the duration of each stage is calculated and then summed up to obtain the duration of working state 1 in the statistical period.
[0121] Exemplarily, the duration of each stage of each working state may be determined in the following manner: Figure 6 A flow chart of a method for determining the duration of a stage provided in an embodiment of the present application, the method comprising at least the following steps:
[0122] S601: If it is detected that the working state of the battery belongs to a first working state among the preset working states, the current time is determined as the starting time of the first working state.
[0123] The battery information monitoring service can monitor the broadcast of battery status changes. If at least one of the battery information is monitored to change, it indicates that the working state may change. At this time, the working state of the battery is monitored to see if it is a first working state in the pre-set working states, and the first working state is any one of the pre-set working states.
[0124] For example, if it is detected that the battery is charging, the power is 98%, and the battery temperature is 48°C, that is, it satisfies working state 1, then it is recorded that the current triggering is working state 1. That is, the first working state in the embodiment of the present application is working state 1, and at this time, the current time (for example, 9:30) can be determined as the starting time of the first working state.
[0125] S602: After the start time, if it is detected at the first time that the working state of the battery is not the first working state, the first time is determined as the end time of the first working state.
[0126] In this example, the broadcast of battery status change is continuously monitored. If the working state 1 is still satisfied, the monitoring is continued without processing. If the working state of the battery is detected to have changed at the first moment, that is, it is not the first working state, the first moment can be determined as the end moment of the first working state. For example, if the battery information is found to be that the battery is charging and the power is 98%, but the battery temperature drops to 44°C, that is, the working state 1 is exited, the current time is recorded, for example, 10:30.
[0127] S603: Determine a stage duration of the first working state according to the start time and the end time.
[0128] The difference between the end time and the start time is the duration of a stage of the first working state. In this example, the duration of this stage is 1 hour. This duration is added to the duration of working state 1 in the current statistical period and saved in the battery information file.
[0129] By applying this method, the duration of each stage of the first working state can be obtained, and the duration of the first working state can be obtained by adding up the duration of each stage. Then, by applying the same method, the duration of other working states within a statistical period can be obtained.
[0130] Figure 7 A flowchart of monitoring battery status change broadcasts provided in an embodiment of the present application.
[0131] S700: Receive a broadcast of a battery status change.
[0132] S701: Determine whether the battery status is one of the preset working statuses. If so, execute S702.
[0133] S702: Record the current time as the trigger time of the working state.
[0134] S703: Continue to monitor the broadcast of battery status changes.
[0135] S704: Determine whether the battery status is one of the preset working statuses. If so, execute S705.
[0136] S705: Determine whether the obtained working status is the same as the working status obtained last time, if not, execute S706.
[0137] S706: Record the current time as the end time of the last working state.
[0138] S707: Calculate the usage time of the working state according to the trigger time and the end time, and save it in the corresponding battery information file.
[0139] In the embodiment of the present application, the function of monitoring the battery status change is performed in real time. Figure 7 The judgment process in the example is only an example and does not constitute a specific limitation.
[0140] As described above, according to the method in step S202, at least one working state of the battery and the corresponding duration in a statistical period can be obtained.
[0141] In S203, in a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, the full-charge voltage of the battery during charging is reduced.
[0142] The number of statistical periods may be, for example, 4, and the quantity threshold may be 3. Then, the number threshold may be satisfied for 3 consecutive times or for a cumulative total of 3 times.
[0143] When the number of target statistical cycles meets the number threshold, battery swelling is delayed by reducing the full-charge voltage of the battery during charging, thereby extending the battery life.
[0144] Among them, the first number can be 2, and the second number can be 3. That is, if the battery has a risk of swelling for two consecutive weeks or accumulatively for 3 weeks, it is determined that the battery really has a risk of swelling, and at this time, the full-charge voltage of the battery during charging is reduced.
[0145] Since the full-charge voltage is directly related to the battery life, the battery life should be taken into consideration when reducing the full-charge voltage of the battery during charging. Table 1 shows the change of battery capacity after each 0.05V reduction when the full-charge voltage of a battery during charging is 4.40V; Table 2 shows the change of battery capacity after each 0.05V reduction when the full-charge voltage of a battery during charging is 4.45V.
[0146] Table 1 Battery capacity reduction when the full-charge voltage is 4.40V
[0147] Full power voltage change (V) Battery capacity reduction (%) 4.40V ----- 4.35V About 4.2% 4.30V About 8.4% 4.25V About 12.6%
[0148] Table 2 Battery capacity reduction when full charge voltage is 4.45V
[0149] Full power voltage change (V) Battery capacity reduction (%) 4.45V ----- 4.40V About 6% 4.35V About 10% 4.30V About 12%
[0150] Therefore, in the embodiment of the present application, the full-charge voltage is reduced by taking the initial value of the full-charge voltage as a reference and the set voltage value (eg, 0.05V) as an adjustment gradient, wherein the set voltage value is determined according to the default configuration of the battery.
[0151] In order to take into account the battery life, if it is detected that the number of times the full-charge voltage of the battery is reduced during charging is greater than the number threshold, the full-charge voltage of the battery during charging is maintained at the last time. For example, the number threshold is 3 times, that is, under normal circumstances, if the number of times the full-charge voltage is reduced is greater than 3 times, the battery life will be affected.
[0152] Figure 8 A schematic diagram of a charging management method for a terminal device provided in an embodiment of the present application.
[0153] S801: Receive a broadcast of a battery status change.
[0154] S802: Determine whether the battery information has been analyzed in the current statistical period. If not, execute S803. If yes, end.
[0155] S803: Analyze the battery information of the current statistical period.
[0156] S804: Determine whether there are two consecutive statistical periods that exceed their respective corresponding duration thresholds. If not, execute S805; if so, execute S806.
[0157] S805: Determine whether the accumulated three statistical periods exceed the corresponding duration thresholds. If so, execute S806, otherwise end.
[0158] S806: Determine whether the total number of voltage reductions is greater than the number threshold. If not, execute S807. If yes, end.
[0159] S807: Lowering the full-charge voltage of the battery during charging.
[0160] S808: Initialize the battery information in the battery information file.
[0161] In the embodiment of the present application, the stored battery information is analyzed every week, and usually only once a week. If it is found that the condition for reducing the full-charge voltage is met, the full-charge voltage of the battery is reduced. After reducing the full-charge voltage of the battery during charging, the previously counted battery information will be discarded and will no longer be used in the next judgment.
[0162] The embodiments of the present application are aimed at mobile phones customized for the industry. Due to special usage habits and usage environment, batteries are easily scrapped and bulged. It can predict in advance whether the battery has a risk of bulging, and take measures in advance if there is a risk. Specifically, the user's battery usage data is counted and analyzed. If the user has high temperature and high pressure usage data, it is determined whether there is a risk of battery bulging. If so, the full-charge voltage of the battery during charging is reduced to achieve the purpose of extending the battery life. If the user's usage habits are not clear, the full-charge voltage of the battery during charging is directly reduced, and the battery capacity will be reduced, resulting in poor battery life. The embodiments of the present application take into account battery life.
[0163] The embodiments of the present application can be applied not only to mobile terminals, but also to other wearable devices, vehicle-mounted devices, etc. All battery products that can collect battery usage data can use this application. In addition, this application can also be applied to the process of predicting battery life or battery health index.
[0164] The second situation: through real-time battery information, the full-charge voltage of the battery during charging is adjusted in real time.
[0165] Fig. 9 Another charging management method for a terminal device provided in an embodiment of the present application comprises at least the following steps:
[0166] S901: Obtain battery information of the terminal device in real time.
[0167] Among them, battery information includes charging status, power and temperature information.
[0168] The implementation method of this step can refer to step S201 and will not be repeated here.
[0169] S902: Determine the working status of the battery of the terminal device according to the battery information.
[0170] The implementation method of this step can refer to step S202, which will not be repeated here.
[0171] S903: Determine the duration of the battery in the working state.
[0172] The implementation method of this step can refer to step S202, which will not be repeated here.
[0173] S904: If the duration is greater than the duration threshold, lower the full-charge voltage of the battery during charging.
[0174] The implementation method of this step can refer to step S203, which will not be repeated here.
[0175] As mentioned above, in the first case, the possibility of battery swelling caused by accidental factors can be avoided. Through the analysis of multiple statistical cycles, the battery life can be taken into account while avoiding the risk of swelling. In the second case, timely intervention can be made to extend the battery life.
[0176] like Fig.10 As shown, based on the same inventive concept, an embodiment of the present application provides a battery management device for a terminal device, including a first information acquisition unit 101, a statistical cycle analysis unit 102 and a first voltage adjustment unit 103.
[0177] The first information acquisition unit 101 is used to: acquire battery information of the terminal device in multiple statistical periods; wherein the battery information includes charging state, power level and battery temperature;
[0178] The statistical cycle analysis unit 102 is used to perform the following operations for each statistical cycle in the plurality of statistical cycles:
[0179] Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life;
[0180] The first voltage regulating unit 103 is configured to: in a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, reduce the full-charge voltage of the battery during charging.
[0181] In an optional implementation manner, the first voltage regulating unit 103 is specifically configured to:
[0182] Taking the initial value of the full-charge voltage as a reference and the set voltage value as an adjustment gradient, the full-charge voltage of the battery during charging is reduced;
[0183] The set voltage value is determined according to the default configuration of the battery.
[0184] In an optional implementation, the first voltage regulating unit 103 is further configured to:
[0185] If it is detected that the number of times the full-charge voltage of the battery during charging is reduced is greater than the number threshold, it is determined that the full-charge voltage of the battery during charging is maintained unchanged at the last time.
[0186] In an optional implementation, if the number of at least one working state is one, the duration information is the duration of one working state, and the duration condition is:
[0187] The duration of the working state is greater than the first duration threshold.
[0188] In an optional implementation, if there are multiple working states, the duration information is the duration corresponding to each of the multiple working states, and the duration condition is:
[0189] The duration of any working state is greater than the second duration threshold.
[0190] In an optional implementation, if the number of at least one working state is multiple, the duration information is the weighted duration sum of the multiple working states, and the duration condition is:
[0191] The weighted duration sum is greater than the third duration threshold.
[0192] In an optional implementation, the statistical cycle analysis unit 102 calculates the weighted duration sum of multiple working states in the following manner:
[0193] Among multiple working states, select any one working state as a reference working state;
[0194] For each working state except the reference working state among the plurality of working states, determining a weight of each working state relative to the reference working state;
[0195] The weighted duration sum of the multiple working states is determined according to the duration of each working state except the reference working state among the multiple working states and their corresponding weights.
[0196] Since the device is the device in the method in the embodiment of the present application, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0197] like Fig.11 As shown, based on the same inventive concept, an embodiment of the present application provides a battery management device for a terminal device, including a second information acquisition unit 111 , a processing unit 112 and a second voltage adjustment unit 113 .
[0198] The second information acquisition unit 111 is used to: acquire battery information of the terminal device in real time, wherein the battery information includes charging status, power level and temperature information;
[0199] The processing unit 112 is used to determine the working state of the battery of the terminal device according to the battery information;
[0200] The processing unit 112 is further used to: determine the duration of the battery in the working state;
[0201] The second voltage regulating unit 113 is configured to reduce the full-charge voltage of the battery during charging if the duration is greater than a duration threshold.
[0202] Since the device is the device in the method in the embodiment of the present application, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0203] like Fig.12 As shown, based on the same inventive concept, an embodiment of the present application provides a terminal device including a battery 121 and a processor 122 .
[0204] The processor 122 is configured to execute:
[0205] Obtain battery information of the terminal device in multiple statistical periods; the battery information includes charging status, power level and battery temperature;
[0206] For each statistical period within multiple statistical periods, perform the following operations:
[0207] Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life;
[0208] In a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, the full-charge voltage of the battery during charging is reduced.
[0209] In an optional implementation, the processor 122 is specifically configured to execute:
[0210] Taking the initial value of the full-charge voltage as a reference and the set voltage value as an adjustment gradient, the full-charge voltage of the battery during charging is reduced;
[0211] The set voltage value is determined according to the default configuration of the battery.
[0212] In an optional implementation, the processor 122 is further configured to execute:
[0213] If it is detected that the number of times the full-charge voltage of the battery during charging is reduced is greater than the number threshold, it is determined that the full-charge voltage of the battery during charging is maintained unchanged at the last time.
[0214] In an optional implementation, if the number of at least one working state is one, the duration information is the duration of one working state, and the duration condition is:
[0215] The duration of the working state is greater than the first duration threshold.
[0216] In an optional implementation, if there are multiple working states, the duration information is the duration corresponding to each of the multiple working states, and the duration condition is:
[0217] The duration of any working state is greater than the second duration threshold.
[0218] In an optional implementation, if the number of at least one working state is multiple, the duration information is the weighted duration sum of the multiple working states, and the duration condition is:
[0219] The weighted duration sum is greater than the third duration threshold.
[0220] In an optional implementation, the processor 122 is specifically configured to execute, and calculate the weighted duration sum of multiple working states in the following manner:
[0221] Among multiple working states, select any one working state as a reference working state;
[0222] For each working state except the reference working state among the plurality of working states, determining a weight of each working state relative to the reference working state;
[0223] The weighted duration sum of the multiple working states is determined according to the duration of each working state except the reference working state among the multiple working states and their corresponding weights.
[0224] like Fig.13 As shown, based on the same inventive concept, an embodiment of the present application provides a terminal device including a battery 131 and a processor 132 .
[0225] The processor 132 is configured to execute:
[0226] Obtain battery information of the terminal device in multiple statistical periods; the battery information includes charging status, power level and battery temperature;
[0227] For each statistical period within multiple statistical periods, perform the following operations:
[0228] Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life;
[0229] In a plurality of statistical cycles, if the number of target statistical cycles meets a number threshold, the full-charge voltage of the battery during charging is reduced.
[0230] An embodiment of the present application also provides a computer storage medium, in which computer program instructions are stored. When the instructions are executed on a computer, the computer executes the steps of the charging management method for the terminal device.
[0231] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0232] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0233] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0234] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0235] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A charging management method for a terminal device, characterized in that: include: Obtaining battery information of the terminal device in multiple statistical periods; wherein the battery information includes charging status, power level and battery temperature; For each statistical period in the multiple statistical periods, perform the following operations: Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of the at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life; In the multiple statistical cycles, if the number of the target statistical cycles meets the number threshold, the full-charge voltage of the battery during charging is reduced.
2. The method according to claim 1, characterized in that: The step of reducing the full-charge voltage of the battery during charging includes: Taking the initial value of the full-charge voltage as a reference and the set voltage value as an adjustment gradient, the full-charge voltage of the battery during charging is reduced; The set voltage value is determined according to the default configuration of the battery.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: If it is detected that the number of times the full-charge voltage of the battery during charging is reduced is greater than a number threshold, it is determined that the full-charge voltage of the battery during charging is maintained unchanged at the last time.
4. The method according to claim 1, characterized in that If the number of the at least one working state is one, the duration information is the duration of the one working state, and the duration condition is: The duration of the working state is greater than a first duration threshold.
5. The method according to claim 1, characterized in that If the number of the at least one working state is multiple, the duration information is the duration corresponding to each working state in the multiple working states, and the duration condition is: The duration of any working state is greater than the second duration threshold.
6. The method according to claim 1, characterized in that If the number of the at least one working state is multiple, the duration information is the weighted duration sum of the multiple working states, and the duration condition is: The weighted duration sum is greater than a third duration threshold.
7. The method according to claim 6, characterized in that The weighted duration sum of the multiple working states is calculated in the following manner: Among the multiple working states, select any one working state as a reference working state; For each working state among the plurality of working states except the reference working state, determining a weight of each working state relative to the reference working state; The weighted duration sum of the multiple working states is determined according to the duration of each working state among the multiple working states except the reference working state and the corresponding weights thereof.
8. A charging management method for a terminal device, characterized in that: include: Acquire battery information of the terminal device in real time, wherein the battery information includes charging status, power level and temperature information; Determining the working status of the battery of the terminal device according to the battery information; Determining how long the battery lasts in the working state; If the duration is greater than the duration threshold, the full-charge voltage of the battery during charging is reduced.
9. A terminal device, characterized in that: Includes battery and processor; The processor is configured to perform: Obtaining battery information of the terminal device in multiple statistical periods; wherein the battery information includes charging status, power level and battery temperature; For each statistical period in the multiple statistical periods, perform the following operations: Determine at least one working state of the battery of the terminal device within the statistical period according to the battery information within the statistical period; determine the duration information of the at least one working state; if the duration information meets the duration condition, take the statistical period as the target statistical period; wherein the working state is related to the battery life; In the multiple statistical cycles, if the number of the target statistical cycles meets the number threshold, the full-charge voltage of the battery during charging is reduced.
10. A terminal device, characterized in that: Includes battery and processor; The processor is configured to perform: Acquire battery information of the terminal device in real time, wherein the battery information includes charging status, power level and temperature information; Determining the working status of the battery of the terminal device according to the battery information; Determining how long the battery lasts in the working state; If the duration is greater than the duration threshold, the full-charge voltage of the battery during charging is reduced.