Battery electric quantity display management method and device
By comparing the actual battery voltage level with the displayed level, the battery level display level was adjusted, solving the problem of inaccurate battery level display and achieving accuracy and stability in battery level display, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEAR ELECTRICAL APPLIANCE CO LTD
- Filing Date
- 2026-01-15
- Publication Date
- 2026-05-15
AI Technical Summary
The existing battery power display is inaccurate, especially due to the mismatch between voltage and actual power caused by battery aging and phantom charge issues, which affects the user experience. In addition, the existing BMS system is expensive and difficult to promote on a large scale.
By comparing the actual voltage level of the target battery with the power display level, the level adjustment control parameters are determined, and the power display level is adjusted to achieve accurate display, including lowering, maintaining, or raising the power display level, and adjusting it in combination with the target product functions and charging status.
While reducing costs, we have achieved greater accuracy and stability in battery level display, reducing anxiety caused by frequent jumps and constant changes in battery level display, and improving user experience.
Smart Images

Figure CN122043271A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery technology, and in particular to a battery power display and management method and apparatus. Background Technology
[0002] In today's world of widespread electronic devices, accurate battery level display is crucial, directly impacting user experience. However, current battery technology has significant shortcomings: because the actual remaining battery capacity is not linearly proportional to voltage, voltage and actual capacity often mismatch during charging and discharging. For example, with a single battery, when the voltage stabilizes at 3.7V, the actual capacity may fall within a wide range of 30%-80%, leading to inaccurate power level display. Furthermore, as usage time increases, battery aging and degradation accumulate, exacerbating the problem of inaccurate battery level readings and further interfering with users' accurate assessment of remaining battery capacity.
[0003] To address the aforementioned issues, most existing technologies employ Battery Management Systems (BMS). While BMS offers high detection accuracy, it requires numerous peripheral components, which not only increases the complexity of hardware design but also significantly raises the overall cost of the product, making it difficult to widely apply in cost-sensitive electronic product sectors.
[0004] Therefore, it is particularly important to propose a technical solution that can efficiently and accurately display battery power at a low cost, thereby improving the user experience of the battery power display function. Summary of the Invention
[0005] This invention provides a battery power display and management method and device, which can efficiently and accurately display battery power at a low cost, thereby improving the user experience of the battery power display function.
[0006] To address the aforementioned technical problems, the first aspect of this invention discloses a battery power display and management method, the method comprising: Determine the actual voltage level of the target battery and the current power display level of the target battery; wherein the power display level is determined based on the voltage of the target battery; The actual voltage level is compared with the power display level to obtain the level comparison result; Based on the gear comparison results, determine the gear adjustment control parameters for the target battery; Based on the gear adjustment control parameters, a gear adjustment operation is performed for the target battery to display the target battery's target power level.
[0007] As an optional implementation, in the first aspect of the present invention, determining the gear adjustment control parameters for the target battery based on the gear comparison result includes: When the comparison result indicates that the actual voltage level is lower than the power display level, the level adjustment control parameter for the target battery is determined as the first adjustment control parameter; wherein, the first adjustment control parameter is used to lower the power display level; When the comparison result indicates that the actual voltage level is equal to the power display level, the level adjustment control parameter for the target battery is determined as the second adjustment control parameter; wherein, the second adjustment control parameter is used to control the power display level to remain unchanged; When the comparison result indicates that the actual voltage level is greater than the power display level, the level adjustment control parameter for the target battery is determined to be either the second adjustment control parameter or the third adjustment control parameter; wherein, the third adjustment control parameter is used to increase the power display level.
[0008] As an optional implementation, in the first aspect of the present invention, the first adjustment control parameter includes the gear downshift interval duration and the gear downshift number; The first adjustment control parameter is determined in the following manner: Obtain the working specifications and parameters corresponding to the target product, as well as the product functions that the target product needs to implement; wherein, the target battery is applied to the target product; Based on the work specification parameters and the product functions, determine the shortest continuous running time corresponding to the target product; The gear downshift interval is determined based on the shortest continuous running time. Set the number of gear reductions corresponding to the specified gear reduction interval.
[0009] As an optional implementation, in the first aspect of the present invention, the third adjustment control parameter includes the gear shift interval duration and the gear shift number; The third adjustment control parameter is determined in the following manner: Obtain the total charging time required for the target battery and the total number of power display levels for the target battery; Based on the total charging time, determine the reference time for adjusting the target battery level accordingly. The interval for adjusting the gear level is determined based on the reference duration for adjusting the gear level and the total number of power display levels. Set the number of gear shifts corresponding to the specified gear shift interval.
[0010] As an optional implementation, in the first aspect of the present invention, determining the gear adjustment control parameter for the target battery as the second adjustment control parameter or the third adjustment control parameter includes: Determine whether the charging control unit corresponding to the target battery is in the target working state; When it is determined that the charging control unit corresponding to the target battery is not in the target working state, the gear adjustment control parameter for the target battery is determined as the second adjustment control parameter. When it is determined that the charging control unit corresponding to the target battery is in the target working state, the gear adjustment control parameter for the target battery is determined as the third adjustment control parameter.
[0011] As an optional implementation, in the first aspect of the present invention, determining whether the charging control unit corresponding to the target battery is in the target operating state includes: Based on the signal detection unit corresponding to the target battery, detect whether there is an operating status signal output by the charging control unit corresponding to the target battery; When the operating status signal output by the charging control unit is detected, it is determined whether the operating status signal is consistent with the target status signal; When it is determined that the working status signal is consistent with the target status signal, the charging control unit is determined to be in the target working state. When no operating status signal is detected from the charging control unit, or when it is determined that the operating status signal is inconsistent with the target status signal, the charging control unit is determined not to be in the target operating state.
[0012] As an optional implementation, in the first aspect of the present invention, determining the actual voltage level of the target battery includes: Read the actual voltage data of the target battery; Based on the obtained standard information of the voltage level corresponding to the target battery and the actual voltage data, the actual voltage level of the target battery is determined; wherein, the standard information of the voltage level includes the total number of voltage levels of the target battery and the voltage value range corresponding to each voltage level; The gear position standard information is determined in the following way: Determine the total number of voltage levels of the target battery based on the product functions corresponding to the target product; Based on the operating voltage range corresponding to the target battery and the total number of voltage levels, determine the voltage value range corresponding to each voltage level.
[0013] A second aspect of the present invention discloses a battery power display and management device, the device comprising: A determination module is used to determine the actual voltage level of the target battery and the current power display level of the target battery; wherein the power display level is determined based on the voltage of the target battery. The comparison module is used to compare the actual voltage level with the power display level to obtain the level comparison result; The determining module is further configured to determine the gear adjustment control parameters for the target battery based on the gear comparison result. The gear adjustment module is used to perform a gear adjustment operation for the target battery according to the gear adjustment control parameters, so as to display the target battery power display gear.
[0014] As an optional implementation, in a second aspect of the invention, the determining module determines the specific method for adjusting the gear level control parameters for the target battery based on the gear level comparison result, including: When the comparison result indicates that the actual voltage level is lower than the power display level, the level adjustment control parameter for the target battery is determined as the first adjustment control parameter; wherein, the first adjustment control parameter is used to lower the power display level; When the comparison result indicates that the actual voltage level is equal to the power display level, the level adjustment control parameter for the target battery is determined as the second adjustment control parameter; wherein, the second adjustment control parameter is used to control the power display level to remain unchanged; When the comparison result indicates that the actual voltage level is greater than the power display level, the level adjustment control parameter for the target battery is determined to be either the second adjustment control parameter or the third adjustment control parameter; wherein, the third adjustment control parameter is used to increase the power display level.
[0015] As an optional implementation, in a second aspect of the present invention, the first adjustment control parameter includes the gear downshift interval duration and the gear downshift number; The first adjustment control parameter is determined in the following manner: Obtain the working specifications and parameters corresponding to the target product, as well as the product functions that the target product needs to implement; wherein, the target battery is applied to the target product; Based on the work specification parameters and the product functions, determine the shortest continuous running time corresponding to the target product; The gear downshift interval is determined based on the shortest continuous running time. Set the number of gear reductions corresponding to the specified gear reduction interval.
[0016] As an optional implementation, in a second aspect of the present invention, the third adjustment control parameter includes the interval duration of gear shifting and the number of gear shifts. The third adjustment control parameter is determined in the following manner: Obtain the total charging time required for the target battery and the total number of power display levels for the target battery; Based on the total charging time, determine the reference time for adjusting the target battery level accordingly. The interval for adjusting the gear level is determined based on the reference duration for adjusting the gear level and the total number of power display levels. Set the number of gear shifts corresponding to the specified gear shift interval.
[0017] As an optional implementation, in a second aspect of the invention, the specific method by which the determining module determines the gear adjustment control parameter for the target battery as either the second adjustment control parameter or the third adjustment control parameter includes: Determine whether the charging control unit corresponding to the target battery is in the target working state; When it is determined that the charging control unit corresponding to the target battery is not in the target working state, the gear adjustment control parameter for the target battery is determined as the second adjustment control parameter. When it is determined that the charging control unit corresponding to the target battery is in the target working state, the gear adjustment control parameter for the target battery is determined as the third adjustment control parameter.
[0018] As an optional implementation, in the second aspect of the present invention, the specific method by which the determining module determines whether the charging control unit corresponding to the target battery is in the target operating state includes: Based on the signal detection unit corresponding to the target battery, detect whether there is an operating status signal output by the charging control unit corresponding to the target battery; When the operating status signal output by the charging control unit is detected, it is determined whether the operating status signal is consistent with the target status signal; When it is determined that the working status signal is consistent with the target status signal, the charging control unit is determined to be in the target working state. When no operating status signal is detected from the charging control unit, or when it is determined that the operating status signal is inconsistent with the target status signal, the charging control unit is determined not to be in the target operating state.
[0019] As an optional implementation, in a second aspect of the invention, the specific method by which the determining module determines the actual voltage level of the target battery includes: Read the actual voltage data of the target battery; Based on the obtained standard information of the voltage level corresponding to the target battery and the actual voltage data, the actual voltage level of the target battery is determined; wherein, the standard information of the voltage level includes the total number of voltage levels of the target battery and the voltage value range corresponding to each voltage level; The gear position standard information is determined in the following way: Determine the total number of voltage levels of the target battery based on the product functions corresponding to the target product; Based on the operating voltage range corresponding to the target battery and the total number of voltage levels, determine the voltage value range corresponding to each voltage level.
[0020] A third aspect of the present invention discloses another battery power display and management device, the device comprising: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute some or all of the steps of the battery power display management method disclosed in the first aspect of the present invention.
[0021] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute some or all of the steps of the battery power display management method disclosed in the first aspect of the present invention.
[0022] Compared with the prior art, the present invention has the following beneficial effects: In this invention, the actual voltage level of the target battery and the current power display level of the target battery are determined; the power display level is determined based on the voltage of the target battery; the actual voltage level and the power display level are compared to obtain a level comparison result; based on the level comparison result, the level adjustment control parameters for the target battery are determined; based on the level adjustment control parameters, the level adjustment operation for the target battery is executed to display the target power display level of the target battery. As can be seen, implementing this invention allows for the comparison of the actual voltage level of the target battery with the currently displayed power level, obtaining a level comparison result. Based on the level comparison result, the level adjustment control parameters are determined. These parameters are then used to adjust and display the corresponding power level of the target battery. This allows for efficient and accurate display of battery power at a relatively low cost by adjusting the power display level determined based on the battery voltage. This addresses the shortcomings of existing technologies where inaccurate power display levels are caused by battery "phantom charge," resulting in more stable battery power display changes. It effectively reduces frequent jumps in power display due to voltage fluctuations, alleviating user anxiety about frequent power fluctuations or unchanging power levels, and ultimately improving the user experience of the battery power display function. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a schematic flowchart of a battery power display and management method disclosed in an embodiment of the present invention; Figure 2 This is a schematic flowchart of another battery power display and management method disclosed in an embodiment of the present invention; Figure 3 This is a flowchart illustrating another battery power display and management method disclosed in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of a battery power display and management device disclosed in an embodiment of the present invention; Figure 5 This is a schematic diagram of another battery power display and management device disclosed in an embodiment of the present invention. Detailed Implementation
[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0026] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0027] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0028] This invention discloses a battery power display management method and device. It compares the actual voltage level of the target battery with the currently displayed power level to obtain a comparison result. Based on the comparison result, it determines power level adjustment control parameters. According to these parameters, it adjusts and displays the corresponding power level for the target battery. This method, implemented at a low cost, efficiently and accurately displays battery power by adjusting the power level determined based on battery voltage. It overcomes the shortcomings of existing technologies where inaccurate power level displays are caused by "phantom battery charge," resulting in more stable battery power display changes. This effectively reduces frequent jumps in power display due to voltage fluctuations, alleviating user anxiety caused by frequent power level fluctuations or persistently unchanged power levels, thus improving the user experience of the battery power display function. Detailed descriptions follow.
[0029] Example 1 Please see Figure 1 , Figure 1 This is a flowchart illustrating a battery power display and management method disclosed in an embodiment of the present invention. Wherein, Figure 1The described battery power display management method can be applied to a battery power display management device, which may include one of a smart device, a smart terminal, a smart system, and a server. The server can be a local server or a cloud server; this embodiment of the invention is not limited thereto. The method can also be applied to a target product, which is an electronic product that requires the use of a battery. For example, the electronic product can be a sterilization box product, or other products; this embodiment of the invention is not limited thereto. Figure 1 As shown, the battery power display management method may include the following operations: 101. Determine the actual voltage level of the target battery and the current power level displayed on the target battery.
[0030] In this embodiment of the invention, optionally, the target battery can be applied to the target product; optionally, the target battery may include at least one battery cell, and this embodiment of the invention does not impose any limitations.
[0031] In this embodiment of the invention, the power display level is determined based on the voltage of the target battery. It should be noted that since the actual remaining battery capacity is not linearly proportional to the voltage, this embodiment uses a power display level determined by the battery voltage instead of the traditional level based on the actual stored energy of the battery. This optimizes the inaccurate power display caused by the battery's apparent charge level, resulting in a more stable power display and effectively reducing frequent jumps in the power display due to voltage fluctuations. This alleviates user anxiety caused by frequent power display fluctuations or a persistently unchanged power display.
[0032] 102. Compare the actual voltage level with the power display level to obtain the level comparison result.
[0033] 103. Based on the gear comparison results, determine the gear adjustment control parameters for the target battery.
[0034] 104. Based on the gear adjustment control parameters, perform gear adjustment operation for the target battery to display the target battery's target power level.
[0035] In this embodiment of the invention, optionally, displaying the target battery level can include the following operations: The target battery level is displayed on the display unit corresponding to the target battery.
[0036] Optionally, the display unit corresponding to the target battery can be set on the target product using the target battery. Further, when the display unit is set on the target product, the display unit can be a display panel. Further, the display panel can be provided with multiple indicator lights and / or a display screen for displaying gear numbers. This embodiment of the invention does not limit the scope. Optionally, the display unit corresponding to the target battery can also be a display screen corresponding to a smart terminal associated with the target product. This embodiment of the invention does not limit the scope.
[0037] As can be seen, the method described in the embodiments of the present invention can compare the actual voltage level of the target battery with the currently displayed power level to obtain a level comparison result. Then, based on the level comparison result, the level adjustment control parameters are determined. According to the level adjustment control parameters, the power level corresponding to the target battery is adjusted and displayed. With low implementation cost, by adjusting the power display level determined based on the battery voltage, the battery power can be displayed efficiently and accurately. This optimizes the defects of inaccurate power display levels caused by battery "phantom charge" in the prior art, making the battery power display change more stable. This effectively reduces the frequent jumps in power display caused by voltage fluctuations, alleviates the user's anxiety about frequent power display fluctuations or long-term unchanged power display, and thus improves the user experience of the battery power display function.
[0038] In an optional embodiment, determining the actual voltage level of the target battery may include the following operations: Read the actual voltage data of the target battery; Based on the obtained standard information and actual voltage data of the target battery, the actual voltage level of the target battery is determined; the standard information includes the total number of voltage levels of the target battery and the voltage value range corresponding to each voltage level.
[0039] For example, the actual voltage data can be 3.7V, or it can be other voltage values. This embodiment of the invention does not limit the specific voltage data.
[0040] For example, the total number of gears can be 5, 4, or other numbers; this embodiment of the invention does not limit the number of gears.
[0041] Optionally, the actual voltage level of the target battery can be determined based on the obtained standard information and actual voltage data corresponding to the target battery. Specifically, this can be achieved as follows: Select the target value range that matches the actual voltage data from the voltage value ranges corresponding to all voltage levels, and determine the power level corresponding to the target value range as the actual voltage level of the target battery.
[0042] As can be seen, this optional embodiment can determine the actual voltage level of the target battery based on the acquired gear standard information and the read actual voltage data, which can determine the actual voltage level of the battery more efficiently and accurately, thereby facilitating more efficient and accurate comparison of voltage levels and power display levels in the future.
[0043] In this optional embodiment, the gear standard information can optionally be determined in the following way: Determine the total number of voltage levels for the target battery based on the product functions corresponding to the target product. Based on the target battery's operating voltage range and the total number of voltage levels, determine the voltage value range corresponding to each voltage level.
[0044] Optionally, the total number of voltage levels of the target battery can be determined based on the product function corresponding to the target product, which can be specifically as follows: Based on the product functions corresponding to the target product, determine the target power display for that target product; When the battery level display target is used to indicate that the user only needs to understand the product's rough estimated battery life, the total number of voltage levels of the target battery is determined to be the total number of the first level. When the battery level display target is used to indicate that the user needs to understand the product's detailed estimated battery life status, the total number of voltage levels of the target battery is determined to be the total number of the second level.
[0045] Among them, the total number of the first gear is within the first gear quantity range, and the total number of the second gear is within the second gear quantity range; among them, the maximum value of the first gear quantity range is less than or equal to the minimum value of the second gear quantity range.
[0046] For example, the first gear range can be 3-5 gears, and the second gear range can be 6-8 gears. This embodiment of the invention does not limit the number of gears.
[0047] Optionally, the voltage value range corresponding to each voltage level can be obtained by uniformly dividing the working voltage range, and this embodiment of the invention does not limit it; for example, assuming that the target battery is used in a disinfection box product and the working voltage range corresponding to the target battery is 3.2V-4.2V, the total number of levels can be set to 5, and the voltage value range corresponding to each level can be obtained by uniformly dividing the voltage range, and this embodiment of the invention does not limit it.
[0048] As can be seen, this optional embodiment can also determine the total number of voltage levels of the target battery based on the product function of the target product, and then determine the voltage value range corresponding to each voltage level based on the working voltage range of the target battery and the total number of voltage levels. This can improve the flexibility and accuracy of determining the level standard information, so that the determined level standard information is more compatible with the target product. This is beneficial to making the battery power display level more compatible with the functional requirements of the target product, thereby further improving the user experience of the battery power display function.
[0049] Example 2 Please see Figure 2 , Figure 2 This is a flowchart illustrating a battery power display and management method disclosed in an embodiment of the present invention. Wherein, Figure 2 The described battery power display management method can be applied to a battery power display management device, which may include one of a smart device, a smart terminal, a smart system, and a server. The server can be a local server or a cloud server; this embodiment of the invention is not limited thereto. The method can also be applied to a target product, which is an electronic product that requires the use of a battery. For example, the electronic product can be a sterilization box product, or other products; this embodiment of the invention is not limited thereto. Figure 2 As shown, the battery power display management method may include the following operations: 201. Determine the actual voltage level of the target battery and the current power level displayed on the target battery.
[0050] In this embodiment of the invention, the power display level is determined based on the voltage of the target battery.
[0051] 202. Compare the actual voltage level with the power display level to obtain the level comparison result.
[0052] 203. When the comparison result indicates that the actual voltage level is lower than the power display level, the level adjustment control parameter for the target battery is determined as the first adjustment control parameter.
[0053] In this embodiment of the invention, the first adjustment control parameter is used to lower the power display level.
[0054] 204. When the comparison result is used to indicate that the actual voltage level is equal to the power display level, the level adjustment control parameter for the target battery is determined as the second adjustment control parameter.
[0055] In this embodiment of the invention, the second adjustment control parameter is used to keep the power display level unchanged.
[0056] 205. When the comparison result indicates that the actual voltage level is greater than the power display level, the level adjustment control parameter for the target battery is determined to be either the second adjustment control parameter or the third adjustment control parameter.
[0057] In this embodiment of the invention, the third adjustment control parameter is used to increase the power display level.
[0058] 206. Based on the gear adjustment control parameters, perform gear adjustment operation for the target battery to display the target battery power level.
[0059] For further detailed descriptions of steps 201-202 and 206 in this embodiment of the invention, please refer to the detailed descriptions of steps 101-102 and 104 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.
[0060] As can be seen, the method described in the embodiments of the present invention can compare the actual voltage level of the target battery with the currently displayed power level to obtain a level comparison result. Then, based on the level comparison result, the level adjustment control parameters are determined. According to the level adjustment control parameters, the power level corresponding to the target battery is adjusted and displayed. With low implementation cost, by adjusting the power display level determined based on the battery voltage, the battery power can be displayed efficiently and accurately. This optimizes the defects of inaccurate power display levels caused by battery "phantom charge" in the prior art, making the battery power display change more stable. This effectively reduces the frequent jumps in power display caused by voltage fluctuations, alleviates the user's anxiety about frequent power display fluctuations or long-term unchanged power display, and thus improves the user experience of the battery power display function. Furthermore, it can determine the battery level adjustment control parameters to lower the power display level when the actual voltage level is lower than the power display level, maintain the power display level when the actual voltage level is equal to the power display level, and raise the power display level when the actual voltage level is higher than the power display level. This allows for flexible determination of adjustment control parameters based on different level comparison results, further improving the flexibility, efficiency, and accuracy of level adjustment control parameter determination. This, in turn, helps to improve the accuracy and efficiency of level adjustment, ultimately leading to more efficient and accurate display of battery power.
[0061] In an optional embodiment, the first adjustment control parameter may include the gear downshift interval duration and the number of gear downshifts.
[0062] Optionally, the first adjustment control parameter can be determined in the following way: Obtain the working specifications and parameters of the target product, as well as the product functions that the target product needs to implement; wherein, the target battery is used in the target product. Based on the working specifications and product functions, determine the shortest continuous runtime corresponding to the target product; Determine the interval for downshifting based on the shortest continuous running time; Set the number of gears to be downgraded corresponding to the interval between gear downgrades.
[0063] For example, the working specifications can be used to describe the working conditions required for the target product to achieve its functions throughout the entire process or any step in the entire process (such as the range of working voltage, etc.), and this embodiment of the invention does not limit this.
[0064] Optionally, the interval for downshifting gears can be determined based on the shortest continuous running time, which can be specifically as follows: The shortest continuous running time is determined as the gear down adjustment interval; or, the sum of the preset adjustment delay time and the shortest continuous running time is calculated to obtain the gear down adjustment interval; furthermore, each voltage gear can be set with the same or different adjustment delay times to optimize the user's experience when the power level decreases, wherein the value of the adjustment delay time can be greater than or equal to 0, and the embodiments of the present invention do not limit it.
[0065] For example, when the shortest continuous running time corresponding to the target product is determined to be 3 minutes, the interval for adjusting the power level can be set to 3 minutes, and the number of power levels can be 1. That is, the first adjustment control parameter can be expressed as: every 3 minutes, the power display level is adjusted down by 1 level. This embodiment of the invention does not limit this.
[0066] As can be seen, this optional embodiment can determine the shortest continuous operating time of the target product based on the working specifications and functions required by the target product. Based on this, it determines the gear downshift interval and sets the gear downshift number corresponding to the gear downshift interval. This can improve the efficiency and accuracy of determining the first adjustment control parameter when a gear downshift is required, so that the first adjustment control parameter is more compatible with the actual usage needs of the target product. This is beneficial to improving the accuracy and efficiency of gear adjustment, and further improving the user experience of the battery power display function.
[0067] In an optional embodiment, the third adjustment control parameter may include the gear shift interval duration and the number of gear shifts.
[0068] Optionally, the third adjustment control parameter can be determined in the following way: Obtain the total charging time required for the target battery and the total number of battery level display settings for the target battery; Based on the total charging time, determine the reference time for adjusting the corresponding level for the target battery. The interval for adjusting the gear level is determined based on the reference duration for adjusting the gear level and the total number of gear levels displayed on the battery level display. Set the number of gears to be shifted up according to the interval between gear shifts.
[0069] Optionally, the total number of power display levels of the target battery can be the same as the total number of voltage levels of the target battery; however, this embodiment of the invention does not impose any limitation on this.
[0070] Optionally, the reference time for adjusting the gear corresponding to the target battery is determined based on the total charging time. Specifically, the total charging time is determined as the reference time for adjusting the gear corresponding to the target battery. This embodiment of the invention does not limit this.
[0071] Optionally, the gear-up interval duration can be determined based on the gear-up reference duration and the total number of power display gears. Specifically, the gear-up reference duration can be divided equally based on the total number of power display gears to obtain the gear-up interval duration. This embodiment of the invention does not limit this.
[0072] For example, when the total charging time is 100 minutes, the reference time for adjusting the power level can be 100 minutes. Further, assuming that the total number of power display levels is 5, the interval for adjusting the power level can be set to 20 minutes, and the number of power levels that can be adjusted can be 1. That is, the third adjustment control parameter can be expressed as: every 20 minutes, the power display level is adjusted up by 1 level. This embodiment of the invention does not limit the scope of the invention.
[0073] As can be seen, this optional embodiment can determine the reference time for level adjustment corresponding to the target battery based on the total charging time required by the target battery, and then determine the level adjustment interval based on the reference time for level adjustment and the total number of level displays for the target battery, and set the number of level adjustments corresponding to the level adjustment interval. This can improve the efficiency and accuracy of determining the third adjustment control parameter used when level adjustment is required, so that the third adjustment control parameter is more compatible with the charging process of the target battery, thereby improving the accuracy and efficiency of level adjustment, and further improving the user experience of the battery power display function.
[0074] In an optional embodiment, determining the gear adjustment control parameter for the target battery as a second adjustment control parameter or a third adjustment control parameter may include the following operations: Determine whether the charging control unit corresponding to the target battery is in the target working state; When it is determined that the charging control unit corresponding to the target battery is not in the target working state, the gear adjustment control parameter for the target battery is determined as the second adjustment control parameter. When it is determined that the charging control unit corresponding to the target battery is in the target working state, the gear adjustment control parameter for the target battery is determined as the third adjustment control parameter.
[0075] Optionally, the charging control unit can be a charging chip, but this embodiment of the invention does not limit the specific implementation.
[0076] As can be seen, this optional embodiment can maintain the power display level unchanged when it is determined that the charging control unit corresponding to the target battery is not in the target working state. When it is determined that the charging control power supply is in the target working state, the level adjustment control parameter is determined to be the third adjustment control parameter, that is, the power display level needs to be increased. Thus, the battery power display level will only be increased when the battery charging chip is working. This makes the adjustment of the power display level more compatible with the actual power changes during the actual charging process, thereby helping to further improve the accuracy and efficiency of the level adjustment.
[0077] In this optional embodiment, determining whether the charging control unit corresponding to the target battery is in the target operating state may include the following operations: Based on the signal detection unit corresponding to the target battery, detect whether there is an operating status signal output by the charging control unit corresponding to the target battery; When the operating status signal output by the charging control unit is detected, it is determined whether the operating status signal is consistent with the target status signal. When it is determined that the working status signal is consistent with the target status signal, the charging control unit is determined to be in the target working state. When no operating status signal is detected from the charging control unit, or when it is determined that the operating status signal is inconsistent with the target status signal, it is determined that the charging control unit is not in the target operating state.
[0078] Optionally, the signal detection unit corresponding to the target battery can be an MCU (Microcontroller Unit), but this embodiment of the invention does not limit it.
[0079] Optionally, the operating status signal can be used to indicate one of the following states: charging, fully charged, and alarm. This embodiment of the invention does not impose any limitation on this. Further optionally, when the operating status signal is high, it can be used to indicate the charging state; when the operating status signal is low, it can be used to indicate the fully charged state; when the operating status signal is a square wave, it can be used to indicate the alarm state. This embodiment of the invention does not impose any limitation on this.
[0080] Optionally, the target state signal can be a signal corresponding to the charging state, but this embodiment of the invention does not limit it.
[0081] For example, the voltage of the charging port (e.g., USB port) corresponding to the target battery can be read first. When the charging port is connected to 5V or 12V voltage, one of the pins of the charging chip is responsible for outputting the charging status signal (i.e., the above-mentioned working status signal). The MCU can read the status of this pin to determine the current working status of the charging chip. For example, a high level indicates charging, a low level indicates fully charged, and a square wave level indicates an alarm.
[0082] As can be seen, this optional embodiment can also detect whether there is a working status signal output by the charging control unit corresponding to the target battery through the signal detection unit corresponding to the target battery. If the working status signal is detected and the working status signal is consistent with the target status signal, it is determined that the charging control unit is in the target working state; otherwise, it is determined that the charging control unit is not in the target working state. This can improve the detection efficiency and accuracy of the working state of the charging control unit, thereby improving the determination efficiency and accuracy of the subsequent gear adjustment control parameters, and facilitating more efficient and precise adjustment of the power display gear.
[0083] In this embodiment of the invention, since the battery voltage fluctuates when the battery is discharging (using electricity), but the overall power level tends to decrease, the battery power display does not increase when the battery is not charging. The battery power display level is only increased when the battery charging chip is working. The actual level increase can be adjusted according to the total charging time of the entire battery and the total number of power display levels. This can improve and optimize the problem of inaccurate power display caused by the battery's false charge, thereby improving the customer's product experience.
[0084] In an embodiment of the present invention, the flowchart of the battery power display management method can be found in [reference needed]. Figure 3 , Figure 3 This is a flowchart illustrating another battery power display and management method disclosed in an embodiment of the present invention; wherein, as... Figure 3 As shown, the method may include the following steps: The system reads the actual battery voltage level and compares it with the currently displayed battery level. Based on the comparison result, it adjusts the battery level display accordingly. Specifically: When the actual voltage level is lower than the power display level, the power display level will be adjusted down by one level every 3 minutes. When the actual voltage level is equal to the power display level, the power display level remains unchanged. When the actual voltage level is higher than the power display level, first determine whether the battery charging chip is currently working. If it is determined that the charging chip is not working, the power display level will remain unchanged. If it is determined that the charging chip is working, the power display level will be adjusted up by one level every 20 minutes. After completing the above adjustment steps, the step of reading the actual voltage level of the battery can be repeated, and this embodiment of the invention does not limit the scope of the invention.
[0085] Example 3 Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of a battery power display and management device disclosed in an embodiment of the present invention. Figure 4 The described battery power display and management device may include one of a smart device, a smart terminal, a smart system, and a server, wherein the server may be a local server or a cloud server, and this embodiment of the invention is not limited thereto; the method may also be applied to a target product, wherein the target product is an electronic product that requires the use of a battery, for example, the electronic product may be a sterilization box product, or other products, and this embodiment of the invention is not limited thereto. Figure 4 As shown, the battery power display and management device may include: The determining module 301 is used to determine the actual voltage level of the target battery and the current power display level of the target battery; wherein the power display level is determined based on the voltage of the target battery. The comparison module 302 is used to compare the actual voltage level with the power display level to obtain the level comparison result; The determining module 301 is also used to determine the gear adjustment control parameters for the target battery based on the gear comparison results; The gear adjustment module 303 is used to perform gear adjustment operation for the target battery according to the gear adjustment control parameters, so as to display the target battery power display gear.
[0086] As can be seen, the device described in the embodiments of the present invention can compare the actual voltage level of the target battery with the currently displayed power level to obtain a level comparison result. Based on the level comparison result, the level adjustment control parameters are determined. According to the level adjustment control parameters, the power level corresponding to the target battery is adjusted and displayed. With low implementation cost, by adjusting the power display level determined based on the battery voltage, the battery power can be displayed efficiently and accurately. This optimizes the defects of inaccurate power display levels caused by battery "phantom charge" in the prior art, making the battery power display change more stable. This effectively reduces the frequent jumps in power display caused by voltage fluctuations, alleviates the user's anxiety about frequent power display fluctuations or long-term unchanged power display, and thus improves the user experience of the battery power display function.
[0087] In an optional embodiment, the determining module 301 determines the specific method of the gear adjustment control parameters for the target battery based on the gear comparison result, which may include: When the comparison result indicates that the actual voltage level is lower than the power display level, the level adjustment control parameter for the target battery is determined as the first adjustment control parameter; wherein, the first adjustment control parameter is used to lower the power display level; When the comparison result indicates that the actual voltage level is equal to the power display level, the level adjustment control parameter for the target battery is determined as the second adjustment control parameter; wherein, the second adjustment control parameter is used to control the power display level to remain unchanged; When the comparison result indicates that the actual voltage level is greater than the power display level, the level adjustment control parameter for the target battery is determined to be either the second adjustment control parameter or the third adjustment control parameter; wherein, the third adjustment control parameter is used to increase the power display level.
[0088] As can be seen, the device described in this optional embodiment can determine the battery level adjustment control parameters to lower the power display level when the actual voltage level is lower than the power display level, to maintain the power display level unchanged when the actual voltage level is equal to the power display level, and to raise the power display level when the actual voltage level is higher than the power display level. It can flexibly determine the adjustment control parameters for different level adjustment trends based on different level comparison results, further improving the flexibility, efficiency, and accuracy of determining the level adjustment control parameters. This is beneficial for further improving the accuracy and efficiency of level adjustment, and consequently, for more efficient and accurate display of battery power.
[0089] In this optional embodiment, the first adjustment control parameter may optionally include the gear downshift interval duration and the gear downshift number; The first adjustment control parameter can be determined in the following way: Obtain the working specifications and parameters of the target product, as well as the product functions that the target product needs to implement; wherein, the target battery is used in the target product. Based on the working specifications and product functions, determine the shortest continuous runtime corresponding to the target product; Determine the interval for downshifting based on the shortest continuous running time; Set the number of gears to be downgraded corresponding to the interval between gear downgrades.
[0090] As can be seen, the apparatus described in this optional embodiment can also determine the shortest continuous operating time of the target product based on the working specification parameters of the target product and the product functions required by the target product. Based on this, it determines the gear downshift interval and sets the gear downshift number corresponding to the gear downshift interval. This can improve the efficiency and accuracy of determining the first adjustment control parameter when it is necessary to downshift, so that the first adjustment control parameter is more compatible with the actual use requirements of the target product. This is beneficial to improving the accuracy and efficiency of gear adjustment, and further improving the user's experience of the battery power display function.
[0091] In this optional embodiment, the third adjustment control parameter may optionally include the gear shift interval duration and the number of gear shifts. The third adjustment control parameter can be determined in the following way: Obtain the total charging time required for the target battery and the total number of battery level display settings for the target battery; Based on the total charging time, determine the reference time for adjusting the corresponding level for the target battery. The interval for adjusting the gear level is determined based on the reference duration for adjusting the gear level and the total number of gear levels displayed on the battery level display. Set the number of gears to be shifted up according to the interval between gear shifts.
[0092] As can be seen, the apparatus described in this optional embodiment can also determine the reference time for level adjustment corresponding to the target battery based on the total charging time required by the target battery, and then determine the level adjustment interval based on the reference time for level adjustment and the total number of power display levels of the target battery, and set the number of level adjustments corresponding to the level adjustment interval. This can improve the efficiency and accuracy of determining the third adjustment control parameter used when it is necessary to adjust the level, so that the third adjustment control parameter is more compatible with the charging process of the target battery, thereby improving the accuracy and efficiency of level adjustment, and further improving the user's experience of the battery power display function.
[0093] In this optional embodiment, the specific method by which the determining module 301 determines the gear adjustment control parameter for the target battery as the second adjustment control parameter or the third adjustment control parameter may include: Determine whether the charging control unit corresponding to the target battery is in the target working state; When it is determined that the charging control unit corresponding to the target battery is not in the target working state, the gear adjustment control parameter for the target battery is determined as the second adjustment control parameter. When it is determined that the charging control unit corresponding to the target battery is in the target working state, the gear adjustment control parameter for the target battery is determined as the third adjustment control parameter.
[0094] As can be seen, the device described in this optional embodiment can also maintain the power display level unchanged when it is determined that the charging control unit corresponding to the target battery is not in the target working state, and determine the level adjustment control parameter as the third adjustment control parameter when it is determined that the power display level needs to be increased. Thus, the battery power display level will only be increased when the battery charging chip is working, which can make the adjustment of the power display level more compatible with the actual power changes during the actual charging process, thereby helping to further improve the accuracy and efficiency of the level adjustment.
[0095] In this optional embodiment, the specific method by which the determining module 301 determines whether the charging control unit corresponding to the target battery is in the target working state may include: Based on the signal detection unit corresponding to the target battery, detect whether there is an operating status signal output by the charging control unit corresponding to the target battery; When the operating status signal output by the charging control unit is detected, it is determined whether the operating status signal is consistent with the target status signal. When it is determined that the working status signal is consistent with the target status signal, the charging control unit is determined to be in the target working state. When no operating status signal is detected from the charging control unit, or when it is determined that the operating status signal is inconsistent with the target status signal, it is determined that the charging control unit is not in the target operating state.
[0096] As can be seen, the device described in this optional embodiment can also detect whether there is an operating status signal output by the charging control unit corresponding to the target battery through the signal detection unit corresponding to the target battery. If the operating status signal is detected and the operating status signal is consistent with the target status signal, it is determined that the charging control unit is in the target operating state; otherwise, it is determined that the charging control unit is not in the target operating state. This can improve the detection efficiency and accuracy of the operating state of the charging control unit, thereby improving the determination efficiency and accuracy of the subsequent gear adjustment control parameters, and facilitating more efficient and precise adjustment of the power display gear.
[0097] In an optional embodiment, the specific method by which the determining module 301 determines the actual voltage level of the target battery may include: Read the actual voltage data of the target battery; Based on the obtained standard information and actual voltage data of the target battery, the actual voltage level of the target battery is determined; wherein, the standard information includes the total number of voltage levels of the target battery and the voltage value range corresponding to each voltage level. The gear selection information is determined in the following way: Determine the total number of voltage levels for the target battery based on the product functions corresponding to the target product. Based on the target battery's operating voltage range and the total number of voltage levels, determine the voltage value range corresponding to each voltage level.
[0098] As can be seen, the apparatus described in this optional embodiment can determine the actual voltage level of the target battery based on the acquired level standard information and the read actual voltage data. This allows for more efficient and accurate determination of the battery's actual voltage level, which is beneficial for subsequent more efficient and accurate comparison of voltage levels and power display levels. Furthermore, by determining the total number of voltage levels of the target battery based on the product functions of the target product, and then determining the voltage value range corresponding to each voltage level based on the operating voltage range of the target battery and the total number of voltage levels, the flexibility and accuracy of determining the level standard information can be improved. This makes the determined level standard information more compatible with the target product, which is beneficial for making the battery power display level more compatible with the functional requirements of the target product, thereby further improving the user experience of the battery power display function.
[0099] Example 4 Please see Figure 5 , Figure 5 This is a schematic diagram of another battery power display and management device disclosed in an embodiment of the present invention. Figure 5 As shown, the battery power display and management device may include: Memory 401 storing executable program code; Processor 402 coupled to memory 401; The processor 402 calls the executable program code stored in the memory 401 to execute some or all of the steps in the battery power display management method described in Embodiment 1 or Embodiment 2 of the present invention.
[0100] Example 5 This invention discloses a computer storage medium storing computer instructions. When these computer instructions are invoked, they are used to execute some or all of the steps in the battery power display management method described in Embodiment 1 or Embodiment 2 of this invention.
[0101] Example 6 This invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps in the battery power display management method described in Embodiment 1 or Embodiment 2.
[0102] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0103] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0104] Finally, it should be noted that the battery power display management method and device disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention, and are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for displaying and managing battery power, characterized in that, The method includes: Determine the actual voltage level of the target battery and the current power display level of the target battery; wherein the power display level is determined based on the voltage of the target battery; The actual voltage level is compared with the power display level to obtain the level comparison result; Based on the gear comparison results, determine the gear adjustment control parameters for the target battery; Based on the gear adjustment control parameters, a gear adjustment operation is performed for the target battery to display the target battery's target power level.
2. The battery power display and management method according to claim 1, characterized in that, The step of determining the gear adjustment control parameters for the target battery based on the gear comparison result includes: When the comparison result indicates that the actual voltage level is lower than the power display level, the level adjustment control parameter for the target battery is determined as the first adjustment control parameter; wherein, the first adjustment control parameter is used to lower the power display level; When the comparison result indicates that the actual voltage level is equal to the power display level, the level adjustment control parameter for the target battery is determined as the second adjustment control parameter; wherein, the second adjustment control parameter is used to control the power display level to remain unchanged; When the comparison result indicates that the actual voltage level is greater than the power display level, the level adjustment control parameter for the target battery is determined to be either the second adjustment control parameter or the third adjustment control parameter; wherein, the third adjustment control parameter is used to increase the power display level.
3. The battery power display and management method according to claim 2, characterized in that, The first adjustment control parameters include the gear downshift interval duration and the gear downshift number; The first adjustment control parameter is determined in the following manner: Obtain the working specifications and parameters corresponding to the target product, as well as the product functions that the target product needs to implement; wherein, the target battery is applied to the target product; Based on the work specification parameters and the product functions, determine the shortest continuous running time corresponding to the target product; The gear downshift interval is determined based on the shortest continuous running time. Set the number of gear reductions corresponding to the specified gear reduction interval.
4. The battery power display and management method according to claim 2, characterized in that, The third adjustment control parameter includes the interval duration for gear shifting up and the number of gear shifts; The third adjustment control parameter is determined in the following manner: Obtain the total charging time required for the target battery and the total number of power display levels for the target battery; Based on the total charging time, determine the reference time for adjusting the target battery level accordingly. The interval for adjusting the gear level is determined based on the reference duration for adjusting the gear level and the total number of power display levels. Set the number of gear shifts corresponding to the specified gear shift interval.
5. The battery power display and management method according to any one of claims 2-4, characterized in that, The step of determining the gear adjustment control parameter for the target battery as either the second adjustment control parameter or the third adjustment control parameter includes: Determine whether the charging control unit corresponding to the target battery is in the target working state; When it is determined that the charging control unit corresponding to the target battery is not in the target working state, the gear adjustment control parameter for the target battery is determined as the second adjustment control parameter. When it is determined that the charging control unit corresponding to the target battery is in the target working state, the gear adjustment control parameter for the target battery is determined as the third adjustment control parameter.
6. The battery power display and management method according to claim 5, characterized in that, The step of determining whether the charging control unit corresponding to the target battery is in the target working state includes: Based on the signal detection unit corresponding to the target battery, detect whether there is an operating status signal output by the charging control unit corresponding to the target battery; When the operating status signal output by the charging control unit is detected, it is determined whether the operating status signal is consistent with the target status signal; When it is determined that the working status signal is consistent with the target status signal, the charging control unit is determined to be in the target working state. When no operating status signal is detected from the charging control unit, or when it is determined that the operating status signal is inconsistent with the target status signal, the charging control unit is determined not to be in the target operating state.
7. The battery power display and management method according to any one of claims 1, 2, 3, 4, and 6, characterized in that, Determining the actual voltage level of the target battery includes: Read the actual voltage data of the target battery; Based on the obtained standard information of the voltage level corresponding to the target battery and the actual voltage data, the actual voltage level of the target battery is determined; wherein, the standard information of the voltage level includes the total number of voltage levels of the target battery and the voltage value range corresponding to each voltage level; The gear position standard information is determined in the following way: Determine the total number of voltage levels of the target battery based on the product functions corresponding to the target product; Based on the operating voltage range corresponding to the target battery and the total number of voltage levels, determine the voltage value range corresponding to each voltage level.
8. A battery power display and management device, characterized in that, The device includes: A determination module is used to determine the actual voltage level of the target battery and the current power display level of the target battery; wherein the power display level is determined based on the voltage of the target battery. The comparison module is used to compare the actual voltage level with the power display level to obtain the level comparison result; The determining module is further configured to determine the gear adjustment control parameters for the target battery based on the gear comparison result. The gear adjustment module is used to perform a gear adjustment operation for the target battery according to the gear adjustment control parameters, so as to display the target battery power display gear.
9. A battery power display and management device, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the battery power display management method as described in any one of claims 1-7.
10. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the battery power display management method as described in any one of claims 1-7.