Charging equipment, charging management method thereof and computer readable storage medium
By classifying equipment according to its level and formulating charging management strategies, the problem of battery life degradation in centralized charging has been solved, and efficient and safe charging management of the equipment has been achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-09
- Publication Date
- 2026-05-01
AI Technical Summary
In centralized charging scenarios, the uncertainty of charging time for mobile devices leads to a decrease in battery life, overcharging, over-discharging, and bulging problems. Furthermore, the differences between different devices make it difficult to achieve unified charging management.
Devices are categorized based on whether they have charging protection and battery information acquisition capabilities, and corresponding charging management strategies are developed, including hot standby protection, full charge storage timeout alarm prompts, and timed charging stop and recharge, to ensure that some devices maintain high battery levels for immediate use.
It improves battery life, ensures device availability at all times, reduces the risk of overcharging and over-discharging, and adapts to the differences between various devices.
Smart Images

Figure CN121965863A_ABST
Abstract
Description
A charging device and its charging management method, and a computer-readable storage medium. Technical Field
[0001] This application relates to the field of charging management technology, and in particular to a charging device and its charging management method, and a computer-readable storage medium. Background Technology
[0002] Mobile devices are now commonly equipped with batteries, such as lithium batteries. In application scenarios where a large number of mobile devices use centralized charging, a single charging device needs to manage the charging of multiple mobile devices connected simultaneously.
[0003] The unpredictable nature of mobile device usage leads to uncertain charging times. Repeated plugging and unplugging of charging cables or prolonged continuous charging can cause battery life degradation, overcharging, over-discharging, and bulging issues. Furthermore, the differences in mobile device types, models, and batches make it difficult to manage the charging of multiple mobile devices uniformly. Summary of the Invention
[0004] This application provides a charging device and its charging management method, as well as a computer-readable storage medium, which can ensure that some mobile devices are kept at high power levels so that they can be accessed at any time.
[0005] To address the aforementioned technical problems, this application provides a charging management method applied to a charging device. The charging management method includes: acquiring the device level of a mobile device to be charged; wherein the device level is determined based on whether the mobile device has charging protection functionality and / or battery information acquisition functionality; determining a corresponding charging management strategy based on the device level; and using the determined charging management strategy to manage the charging of the mobile device; wherein the charging management strategy includes at least hot standby protection, and the charging device is configured to: for multiple mobile devices employing hot standby protection, maintain the battery level of at least a set number of mobile devices greater than or equal to a first battery threshold.
[0006] The equipment levels are as follows: Level 0 equipment: does not have charging protection function and does not have battery information acquisition function; Level 1 equipment: does not have charging protection function but has battery information acquisition function; Level 2 equipment: has charging protection function and has battery information acquisition function.
[0007] Among them, the charging management strategy is determined according to the equipment level, including: determining the charging management strategy for level 0 equipment as at least one of the following: full charge storage timeout alarm prompt, hot standby protection, and timed stop charging and resume charging; determining the charging management strategy for level 1 equipment as at least one of the following: full charge storage timeout alarm prompt and hot standby protection; and determining the charging management strategy for level 2 equipment as: charging protection.
[0008] Among them, determining the corresponding charging management strategy based on the equipment level includes: determining whether the charging equipment supports hot standby protection mode, and determining the corresponding charging management strategy based on the determination result and the equipment level.
[0009] The charging management strategy is determined based on the judgment result and the equipment level, including: in response to the charging equipment supporting hot standby protection mode, the charging management strategy for level 0 equipment is determined to be at least one of full charge storage timeout alarm, hot standby protection and timed stop-and-recharge; the charging management strategy for level 1 equipment is determined to be full charge storage timeout alarm and hot standby protection; and the charging management strategy for level 2 equipment is determined to be charging protection led by the charging equipment.
[0010] The charging management strategy corresponding to Level 0 equipment is determined to be at least one of the following: full charge storage timeout alarm, hot standby protection, and timed charging stop and restart. Specifically, if the charging equipment supports on-line power-on / off control function, the charging management strategy corresponding to Level 0 equipment is determined to be: full charge storage timeout alarm, hot standby protection, and timed charging stop and restart; if the charging equipment does not support on-line power-on / off control function, the charging management strategy corresponding to Level 0 equipment is determined to be: full charge storage timeout alarm and hot standby protection.
[0011] The charging management strategy is determined based on the judgment results and the equipment level, including: in response to the charging equipment not supporting hot standby protection mode, the charging management strategy for level 0 equipment is determined to be: full charge storage timeout alarm and charging stop protection; the charging management strategy for level 1 equipment is determined to be: full charge storage timeout alarm; and the charging management strategy for level 2 equipment is determined to be: charging protection led by the mobile device.
[0012] The method employs a defined charging management strategy to manage the charging of mobile devices, including: acquiring the charging status of multiple mobile devices; wherein the charging status includes at least one of the following: hot standby, hibernation, standby, thermal dead, and apparent dead state; hot standby state is defined as: the mobile device's battery level is greater than a first battery threshold; hibernation state is defined as: the mobile device's battery level is less than a second battery threshold, and the second battery threshold is less than the first battery threshold; standby state is defined as: the mobile device has charging protection enabled; thermal dead state is defined as: the mobile device's battery level is less than the first battery threshold but greater than the second battery threshold; and apparent dead state is defined as: the mobile device has stopped charging; in response to the charging management strategy including hot standby protection, the charging status of the multiple mobile devices is switched to provide hot standby protection for the mobile devices.
[0013] The method of switching the charging status of multiple mobile devices to provide hot standby protection for mobile devices includes: obtaining the access duration of multiple mobile devices; and controlling all mobile devices to be in standby state in response to the fact that the access duration of all mobile devices is less than a set time threshold.
[0014] The method of switching the charging status of multiple mobile devices to provide hot standby protection for mobile devices includes: obtaining the access duration of multiple mobile devices; in response to the access duration of some mobile devices exceeding a set time threshold, obtaining the maximum dynamic access quantity of mobile devices in the current period, and obtaining the number of available mobile devices in the current period; wherein the number of available mobile devices is the sum of the number of mobile devices in hot standby, hot dead, and standby states, and the number of mobile devices in hot standby state is determined by the maximum dynamic access quantity of mobile devices in the previous period; in response to the maximum dynamic access quantity of mobile devices in the current period being less than the number of available mobile devices in the current period, switching at least some mobile devices in hot standby, hot dead, or standby states to sleep state; in response to the maximum dynamic access quantity of mobile devices in the current period being greater than the number of available mobile devices in the current period, switching at least some mobile devices in sleep state to hot standby state.
[0015] The method of switching the charging status of multiple mobile devices to provide hot standby protection for mobile devices includes: obtaining the access duration of multiple mobile devices; in response to the fact that the access duration of all mobile devices is greater than a set time threshold, obtaining the maximum dynamic number of mobile devices that can be accessed in the most recent period (non-zero); and maintaining the number of mobile devices in hot standby state as greater than or equal to the maximum dynamic number of mobile devices that can be accessed in the most recent period (non-zero).
[0016] To solve the above-mentioned technical problems, another technical solution adopted in this application is to provide a charging device, which includes a processor and a memory coupled to the processor; wherein the memory is used to store a computer program, and the processor is used to execute the computer program to implement the charging management method as described above.
[0017] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the charging management method as described above.
[0018] Unlike existing technologies, the charging management method of this application includes: obtaining the device level of the mobile device to be charged; wherein the device level is classified based on whether the mobile device has charging protection function and / or whether it has battery information acquisition function; determining a corresponding charging management strategy according to the device level; and performing charging management on the mobile device using the determined charging management strategy; wherein the charging management strategy includes at least hot standby protection, and the charging device is configured to: for multiple mobile devices using hot standby protection, maintain the power level of at least a set number of mobile devices greater than or equal to a first power threshold. Through the above method, different charging management strategies can be allocated according to whether the mobile device supports charging protection function and battery information acquisition function, allowing for targeted charging management of devices of different types, models, and battery conditions. In hot standby protection, the above charging management strategy is combined to maintain at least a set number of mobile devices at high power levels to ensure that users can access them at any time, while the remaining mobile devices do not need to remain in a high power state for extended periods, thereby improving battery life. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Specifically: Figure 1 is a flowchart of the first embodiment of the charging management method provided by this application; Figure 2 is a flowchart of the first embodiment of the charging management method provided by this application; Figure 3 is a schematic diagram of the charge and discharge curve of a mobile device supporting charging protection; Figure 4 is a schematic diagram of the charge and discharge curve of a mobile device not supporting charging protection; Figure 5 is a flowchart of the third embodiment of the charging management method provided by this application; Figure 6 is a structural schematic diagram of an embodiment of the charging device provided by this application; Figure 7 is a structural schematic diagram of an embodiment of the computer-readable storage medium provided by this application. Detailed Implementation
[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are only for explaining this application and not for limiting it. Furthermore, it should be noted that, for ease of description, only the parts related to this application are shown in the accompanying drawings, not all structures. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0021] 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 this application. 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 any embodiment described herein can be combined with associated technical features in other embodiments.
[0022] In applications where centralized charging is widely used for mobile devices, a single charging device needs to manage the charging of multiple simultaneously connected mobile devices. Examples include data collection stations and recorders. Data collection stations are used to collect data from a number of recorders, manage configuration parameters, and manage charging. With the increasing prevalence of recorders in various law enforcement scenarios, the types and manufacturers of recorders have also proliferated. Lithium batteries are widely used in these recorders, typically bundled with them. Due to their varying prices and performance specifications, diverse user groups, and flexible charging capabilities—allowing for charging at any time, such as through external power sources or connection to data collection stations—and the uncertain charging duration (e.g., repeated plugging and unplugging of the charging cable or prolonged continuous charging), battery lifespan may decline, leading to overcharging, over-discharging, or bulging. Therefore, while providing convenience, the safety and lifespan of these batteries are increasingly becoming a concern for users. In other application scenarios, recorders can also be used with other mobile devices, such as shared power banks and shared electric vehicles.
[0023] Referring to Figure 1, which is a flowchart of the first embodiment of the charging management method provided in this application, the method includes: Step 11: Obtaining the device level of the mobile device to be charged; wherein, the device level is classified based on whether the mobile device has a charging protection function and / or whether it has a battery information acquisition function.
[0024] Optionally, in one embodiment, mobile devices can be divided into three levels based on whether they have charging protection functions and battery information acquisition functions, as shown in the table below:
[0025] Here, the charging protection function refers to the function built into the mobile device. Optionally, the charging protection can include hardware-level protection or software-level protection. Hardware-level protection can include: overcharge protection: when the battery power reaches 100%, the charging current is automatically cut off to prevent excessive internal pressure, overheating, or even danger caused by continuous charging.
[0026] Over-discharge protection: When the battery level is too low (e.g., below 3%), the device will automatically shut down or enter hibernation mode to prevent permanent damage to the battery due to over-discharge.
[0027] Overcurrent / short circuit protection: When the charging current increases abnormally or a short circuit occurs, the circuit is quickly cut off to prevent components from burning out or causing a fire.
[0028] High / Low Temperature Protection: High Temperature: If the battery or phone temperature gets too high during charging, the charging power will be automatically reduced or charging will be paused until the temperature returns to normal. Low Temperature: In extremely cold environments, many devices will prohibit charging because charging at low temperatures can cause irreversible damage to lithium batteries.
[0029] Input voltage protection: Prevents damage to the equipment caused by high voltage surges due to poor quality chargers or charging cables.
[0030] Software-level protection can include: intelligent charging mode / adaptive charging: the device learns the user's usage habits (such as typically charging between 0:00 and 8:00). Charging will pause when it reaches around 80%, and will only reach 100% just before 8:00. This avoids the battery being under high voltage at 100% for extended periods, effectively slowing down battery aging.
[0031] Dynamic charging speed adjustment: When the system detects that the device is overheating, it automatically reduces the charging power (e.g., from 40W to 10W) to control the temperature and protect the battery and motherboard.
[0032] Battery health management: The system displays the battery's maximum capacity percentage and provides optimization suggestions. Some devices also allow users to manually set a "charging limit" (e.g., charging only up to 80% or 90%), which is a very battery-life-friendly protection method.
[0033] Battery information may include charging voltage, charging current, charging time, etc., and may also include SOC (State of Charge), SOH (State of Health), DOD (Depth of Discharge), SOE (State of Energy), OCV (Open Circuit Voltage), etc.
[0034] Step 12: Determine the corresponding charging management strategy based on the device level.
[0035] Charging management strategies may include full charge storage timeout alarm, hot standby protection, timed charging stop and restart, and charging protection.
[0036] Full charge storage timeout alarm: An alarm can be triggered when the mobile device is in a charging state for an extended period of time.
[0037] Hot standby protection: For multiple mobile devices with hot standby protection, maintain the power of at least a set number of mobile devices greater than or equal to a first power threshold to ensure that these mobile devices can be used at any time.
[0038] Scheduled charging stop and restart: Charges during the set time period and stops charging at other times.
[0039] Charging protection includes charging protection led by the mobile device and charging protection led by the charging device. Mobile device-led charging protection primarily involves the mobile device controlling various parameters during the charging process, with the charging device only providing power. Charging protection led by the charging device primarily involves the charging device controlling various parameters during the charging process. The specific process of charging protection can be found in step 11, and will not be detailed here.
[0040] Optionally, in one embodiment, the above-mentioned various charging management strategies can be arranged and combined to form a specific strategy, as shown in the table below:
[0041] The various strategies can be switched and integrated. That is, when the type or version of the connected mobile device changes, or when the user of the mobile device changes, the charging management strategy may be switched.
[0042] Step 13: Use a defined charging management strategy to manage the charging of mobile devices.
[0043] Optionally, in one embodiment, the charging management strategy for Level 0 devices is determined to be at least one of: full charge storage timeout alarm, hot standby protection, and timed charging stop and restart; the charging management strategy for Level 1 devices is determined to be at least one of: full charge storage timeout alarm and hot standby protection; and the charging management strategy for Level 2 devices is determined to be: charging protection. As shown in the table below:
[0044] Understandably, Level 0 devices lack charging protection and battery information acquisition capabilities, only providing full charge storage timeout alarms and timed charging stop / recharge. In some cases, they can also be included in hot standby protection. Level 1 devices lack charging protection but possess battery information acquisition capabilities. Since they can acquire battery information, they can manage charging and stopping based on the battery level, eliminating the need for timed charging stop / recharge. Therefore, they only need full charge storage timeout alarms and can also be included in hot standby protection in some cases. Level 2 devices possess charging protection capabilities and can directly perform charging protection.
[0045] Among them, hot standby protection is based on the management of all charging ports (slots) of the charging device. When the number of connected mobile devices changes, the charging device will adjust the charging management strategy for all mobile devices.
[0046] Optionally, in one embodiment, step 13 may include: acquiring the charging status of multiple mobile devices; and switching the charging status of the multiple mobile devices in response to a charging management strategy including hot standby protection, so as to provide hot standby protection for the mobile devices. The charging state includes at least one of the following: hot standby, hibernation, standby, thermal death, and apparent death, as follows: Hot standby: The mobile device's battery level is greater than a first battery threshold (the device, when woken from hibernation, will quickly charge to a high battery level, such as 100%, and can be used at any time); Hibernation: The mobile device's battery level is less than a second battery threshold, and the second battery threshold is less than the first battery threshold (the device enters a low battery protection mode, making it difficult for the user to remove and use); Standby: The mobile device has charging protection enabled (it starts charging after being connected and continues until it enters protection mode); Thermal death: The mobile device's battery level is less than the first battery threshold but greater than the second battery threshold (charging stops or the charging peak begins to decrease; the device is dropping power from standby or hot standby to hibernation, and is considered to have officially entered hibernation when it drops below a set threshold (such as 80%)); Apparent death: The mobile device stops charging (the mobile device is in a false offline state after stopping charging, and can also be switched to hot standby by waking it up).
[0047] In hot standby protection, each time a mobile device is removed, the charging device recalculates based on the daily dynamic maximum number of devices that can be used and the current number of mobile devices in each state to determine whether to wake up a device that is in sleep mode. The purpose is to ensure that at any given moment, a certain number of mobile devices (the daily dynamic maximum number of devices that can be used) are in a high-battery state for user use.
[0048] The charging management method of this embodiment includes: obtaining the device level of the mobile device to be charged; wherein the device level is classified based on whether the mobile device has charging protection function and / or whether it has battery information acquisition function; determining a corresponding charging management strategy according to the device level; and performing charging management on the mobile device using the determined charging management strategy; wherein the charging management strategy includes at least hot standby protection, and the charging device is configured to: for multiple mobile devices using hot standby protection, maintain the power level of at least a set number of mobile devices greater than or equal to a first power threshold. Through the above method, different charging management strategies can be allocated according to whether the mobile device supports charging protection function and battery information acquisition function, allowing for targeted charging management of devices of different types, models, and battery conditions. In hot standby protection, the above charging management strategy is combined to maintain at least a set number of mobile devices at high power levels to ensure that users can access them at any time, while the remaining mobile devices do not need to remain in a high power state for extended periods, thereby improving battery life.
[0049] Referring to Figure 2, which is a flowchart of the first embodiment of the charging management method provided in this application, the method includes: Step 21: Obtaining the device level of the mobile device to be charged; wherein, the device level is classified based on whether the mobile device has a charging protection function and / or whether it has a battery information acquisition function.
[0050] Optionally, in one embodiment, mobile devices can be divided into three levels based on whether they have charging protection functions and battery information acquisition functions, as shown in the table below:
[0051] Step 22: Determine whether the charging device supports hot standby protection mode, and determine the corresponding charging management strategy based on the determination result and device level.
[0052] Charging management strategies may include full charge storage timeout alarm, hot standby protection, timed charging stop and restart, and charging protection.
[0053] Full charge storage timeout alarm: An alarm can be triggered when the mobile device is in a charging state for an extended period of time.
[0054] Hot standby protection: For multiple mobile devices with hot standby protection, maintain the power of at least a set number of mobile devices greater than or equal to a first power threshold to ensure that these mobile devices can be used at any time.
[0055] Scheduled charging stop and restart: Charges during the set time period and stops charging at other times.
[0056] Charging protection includes charging protection led by the mobile device and charging protection led by the charging device. Mobile device-led charging protection primarily involves the mobile device controlling various parameters during the charging process, with the charging device only providing power. Charging protection led by the charging device primarily involves the charging device controlling various parameters during the charging process. The specific process of charging protection can be found in step 11, and will not be detailed here.
[0057] Optionally, in one embodiment, the above-mentioned various charging management strategies can be arranged and combined to form a specific strategy, as shown in the table below:
[0058] Unlike the first embodiment described above, the strategy here can be further divided based on whether hot standby protection is supported. For example, if hot standby protection is supported, the Level 0 strategy can be specifically divided into: alarm prompt only, timed charging stop and restart only, alarm prompt + hot standby protection, timed charging stop and restart + hot standby protection, and other strategies. As another example, the Level 2 strategy can be specifically divided into: charging protection led by the charging device if hot standby protection is supported, or charging protection led by the mobile device if hot standby protection is not supported.
[0059] Optionally, in one embodiment, in response to the charging device supporting a hot standby protection mode, the charging management strategy corresponding to Level 0 device is determined to be at least one of full charge storage timeout alarm, hot standby protection, and timed stop-and-recharge; the charging management strategy corresponding to Level 1 device is determined to be full charge storage timeout alarm and hot standby protection; and the charging management strategy corresponding to Level 2 device is determined to be charging protection led by the charging device.
[0060] Additionally, Class 0 devices can be further categorized based on whether they support power-on / off control. For charging devices that support power-on / off control, the corresponding charging management strategy is: full charge storage timeout alarm, hot standby protection, and timed charging stop and restart. For charging devices that do not support power-on / off control, the corresponding charging management strategy is: full charge storage timeout alarm and hot standby protection.
[0061] Optionally, in one embodiment, in response to the charging device not supporting hot standby protection mode, the charging management strategy corresponding to Level 0 device is determined to be: full charge storage timeout alarm and charging stop protection; the charging management strategy corresponding to Level 1 device is determined to be: full charge storage timeout alarm; and the charging management strategy corresponding to Level 2 device is determined to be: charging protection led by the mobile device.
[0062] With the addition of hot standby protection, various charging management strategies can be combined to form specific strategies, as shown in the table below:
[0063] You can refer to the table above to select the appropriate charging management strategy based on the mobile device's level and whether the charging device supports hot standby and power-on / off control.
[0064] Step 23: Use a defined charging management strategy to manage the charging of mobile devices.
[0065] Optionally, in one embodiment, certain triggering conditions can be set for different charging management strategies. The following example illustrates an application scenario: For a level 0-1 strategy, the device has been charged for more than 8 days and the time frame is 15:00-16:00; for a level 0-2 strategy, the device has been charged for more than 7 days; for a level 0-3 strategy, the device has been charged for more than 8 days and the time frame is 15:00-16:00, and the current mobile device is not in hot standby mode; for a level 1 strategy, the triggering condition for timed charging stop and restart is: the device has been charged for more than 7 days; the triggering condition for alarm notification is: the device has been charged for more than 8 days and the time frame is 15:00-16:00.
[0066] Refer to Figure 3 and the table below. Figure 3 is a schematic diagram of the charge and discharge curves of a mobile device that supports charging protection.
[0067]
[0068] Refer to Figure 4 and the table below. Figure 4 is a schematic diagram of the charge and discharge curves of a mobile device that does not support charging protection.
[0069]
[0070] For a single mobile device: (1) The charging management status will be reset after each use of the connected charging device.
[0071] (2) For level 0 and level 1 devices, the device will stop charging after being stored in the charging device for 7 days. The battery level will start to drop and will be recharged after dropping to 10%. The maximum recharged battery level is 70%. During this process, the device may be woken up at any time (switch to hot standby). The battery level will be directly recharged to 95% or more and maintained for a period of time (one day from the start of hot standby). If the user does not remove the device during the maintenance period, it will go into hibernation again. The logic here is that the charging management status of the corresponding slot will only be reset after the device is actually removed and used.
[0072] (3) Regarding the 95% power maintenance stage in Figure 3, since the charging device can only control power supply and charging stop, the power will inevitably fluctuate at this point. Therefore, this stage is only for mobile devices that support power maintenance (charging protection). Mobile devices that do not support power maintenance will be charged directly to 100%, as shown in Figure 4, and the power supply will be continuously maintained.
[0073] Referring to Figure 5, which is a flowchart of the third embodiment of the charging management method provided in this application, the method includes: Step 51: Obtaining the device level of the mobile device to be charged; wherein, the device level is classified based on whether the mobile device has a charging protection function and / or whether it has a battery information acquisition function.
[0074] Optionally, in one embodiment, mobile devices can be divided into three levels based on whether they have charging protection functions and battery information acquisition functions, as shown in the table below:
[0075] Step 52: Determine the corresponding charging management strategy based on the device level.
[0076] Charging management strategies may include full charge storage timeout alarm, hot standby protection, timed charging stop and restart, and charging protection.
[0077] Full charge storage timeout alarm: An alarm can be triggered when the mobile device is in a charging state for an extended period of time.
[0078] Hot standby protection: For multiple mobile devices with hot standby protection, maintain the power of at least a set number of mobile devices greater than or equal to a first power threshold to ensure that these mobile devices can be used at any time.
[0079] Scheduled charging stop and restart: Charges during the set time period and stops charging at other times.
[0080] Charging protection includes charging protection led by the mobile device and charging protection led by the charging device. Charging protection led by the mobile device mainly involves the mobile device controlling various parameters during the charging process, while the charging device only provides power. Charging protection led by the charging device mainly involves the charging device controlling various parameters during the charging process.
[0081] Step 53: Obtain the charging status of multiple mobile devices; wherein the charging status includes at least one of the following: hot standby, hibernation, standby, thermal death, and apparent death.
[0082] Specifically, the states are as follows: Hot standby state: The mobile device's battery level is greater than the first battery threshold (the device, when woken from sleep mode, will quickly charge to a high battery level, such as 100%, and can be used at any time); Sleep state: The mobile device's battery level is less than the second battery threshold, and the second battery threshold is less than the first battery threshold (the device enters low battery protection mode, making it difficult for the user to remove and use); Standby state: The mobile device has charging protection enabled (it starts charging after being connected and continues until it enters protection mode); Hot dead state: The mobile device's battery level is less than the first battery threshold but greater than the second battery threshold (charging stops or the charging peak begins to decrease; a device that is dropping power from standby or hot standby state to sleep state will be considered to have officially entered sleep state when its battery level drops below a set threshold (e.g., 80%)); False dead state: The mobile device stops charging (the mobile device is in a false offline state after charging stops, and can also be switched to hot standby state by waking it up).
[0083] Step 54: In response to charging management policies including hot standby protection, switch the charging status of multiple mobile devices to provide hot standby protection for the mobile devices.
[0084] In one application scenario, the access duration of multiple mobile devices is obtained; in response to the fact that the access duration of all mobile devices is less than a set time threshold, all mobile devices are controlled to be in a standby state.
[0085] Specifically, the access duration of all mobile devices is less than the set time threshold, such as 7 days. This means that all connected devices will be used frequently within 7 days, or each device will be used at least once. In this case, the charging device will keep all mobile devices in a standby state.
[0086] In one application scenario, the access duration of multiple mobile devices is obtained; in response to the access duration of some mobile devices exceeding a set time threshold, the maximum dynamic access quantity of mobile devices in the current period and the number of available mobile devices in the current period are obtained; wherein, the number of available mobile devices is the sum of the number of mobile devices in hot standby, hot dormant, and standby states, and the number of mobile devices in hot standby state is determined by the maximum dynamic access quantity of mobile devices in the previous period; in response to the maximum dynamic access quantity of mobile devices in the current period being less than the number of available mobile devices in the current period, at least some mobile devices in hot standby, hot dormant, or standby states are switched to hibernation state; in response to the maximum dynamic access quantity of mobile devices in the current period being greater than the number of available mobile devices in the current period, at least some mobile devices in hibernation state are switched to hot standby state.
[0087] Among them, the number of mobile devices that are dynamically used represents the number of devices that are simultaneously in use, and the maximum number of mobile devices that are dynamically used represents the maximum number of devices that are simultaneously in use within a period.
[0088] In one embodiment, the maximum dynamic number of mobile devices in use can be obtained as follows: Each period (e.g., 24 hours a day) is counted separately, with a default value of 0, and this value is applied to the next period. Specifically, within a period, there are actions of taking devices and actions of returning devices. Each take-up or return action generates a new element in the statistical sequence, used to mark the current dynamic number of mobile devices in use at the current moment corresponding to the current take-up or return action (adding 1 to the previous value for each device taken up, and subtracting 1 from the previous value for each device returned, thus calculating a new number, which is then appended to the sequence). For example, if the sequence is: take-up 1 device, take-up 1 device, return 1 device, take-up 1 device, and take-up 1 device again, the result of the five operations is: 1, 2, 1, 2, 3. Finally, based on this real-time sequence of device usage, the largest number, 3, is determined to be the maximum dynamic number of mobile devices in use within the current period. Therefore, although there are 4 actions of taking devices, the maximum dynamic number of devices in use is only 3, indicating that the maximum number of devices simultaneously in use within the current period is 3. At the start of the next cycle, the operation of taking or returning the equipment will be recalculated from 0.
[0089] It is worth noting that the data sequence will not contain negative numbers. That is, if a device is returned at the beginning of the cycle, the data sequence will be incremented by 0. For example, if one device is returned at the beginning of the cycle, then another device is returned, and then another device is taken away, the corresponding statistical sequence is: 0, 0, 1. In this case, the maximum number of mobile devices that can be dynamically used in the current cycle is 1.
[0090] Specifically, based on the first application scenario, some mobile devices gradually exceed 7 days of storage. These devices begin to enter a hot-dormant or hibernation state. At this time, these devices will temporarily lose priority access, but it can be guaranteed that at least the maximum number of mobile devices that can be dynamically accessed, N, will still be available. usedmax The device can maintain a high battery level (e.g., >=70%, with a high probability of 100%). Assume, a. The cumulative access time T for each mobile device. in (Recalculated each time access is granted); b. Maximum daily dynamic usage N of mobile devices usedmax (Take the maximum value) – as the number of hot standby devices for the next day; c. The current actual number of available devices N aveliableReal This includes equipment in hot standby or heat death states.
[0091] d. Total number of currently available devices N aveliableAllThis includes equipment in hot standby, hot death, and standby states.
[0092] So, 1) When the maximum number of devices that can dynamically access N is... usedmax Total number of currently available devices N aveliableAll When the number of devices exceeds the limit, they gradually go into sleep mode; 2) When the maximum number of devices N that can be accessed dynamically by the mobile device... usedmax Total number of currently available devices N aveliableAll At that time, the excess devices gradually wake up; 3) When the mobile device dynamically accesses the maximum number N... usedmax =Total number of currently available devices N aveliableAll At that time, the current critical state is maintained.
[0093] Specifically, based on the actual number of devices used, it is further subdivided into the following situations: If the actual number of devices used on that day = N usedmax Then maintain N usedmax .
[0094] If the actual number of devices used on that day <N usedmax At that time, after N usedmax Decrease.
[0095] If the actual number of devices used on that day > N usedmax At that time, after N usedmax Increase.
[0096] In one application scenario, the access duration of multiple mobile devices is obtained; in response to the fact that the access duration of all mobile devices is greater than a set time threshold, the maximum dynamic number of mobile devices that can be accessed in the most recent period is obtained; the number of mobile devices that are kept in hot standby state is greater than or equal to the maximum dynamic number of mobile devices that can be accessed in the most recent period.
[0097] Specifically, based on the previous application scenario, if all mobile devices have been stored for more than 7 days, the most recent non-zero dynamic maximum number of mobile devices that can be accessed, Nusedmax, is taken, and this number of devices is kept in hot standby status every day to ensure that users can access the devices in real time.
[0098] Optionally, in one embodiment, if the maximum number of devices accessed most recently is all devices, then an additional restriction is added. In this case, the maximum number of devices that can be accessed dynamically, Nusedmax, is halved or reduced by one to minimize the time all devices are in a charging state for a long time and improve battery life.
[0099] In the above embodiments, when dynamically switching the state of mobile devices, when it is necessary to convert a hibernating device to a hot standby state, the following formula can be used to score the device: S = (a * storage duration + b * current battery level) / (c * hot standby times + usage times) where a, b, and c can be weighting coefficients that can be set by the user. Then, the hibernating device with the highest score is switched to the hot standby state.
[0100] Understandably, the above solution can provide charging protection for mobile devices connected to the charging device when the mobile device itself has no charging protection or its charging protection mechanism fails, including situations such as frequent plugging and unplugging of the charging cable or being in a charging state for a long time, while also meeting the customer's usage and battery life requirements.
[0101] Referring to Figure 6, which is a schematic diagram of an embodiment of the charging device provided in this application, the charging device 600 includes a processor 61 and a memory 62 coupled to the processor 61.
[0102] The memory 62 is used to store computer programs, and the processor 61 is used to execute the computer programs to implement the following method: obtaining the device level of the mobile device to be charged; wherein the device level is divided based on whether the mobile device has charging protection function and / or whether it has battery information acquisition function; determining the corresponding charging management strategy according to the device level; and performing charging management on the mobile device using the determined charging management strategy; wherein the charging management strategy includes at least hot standby protection, and the charging device is configured to: for multiple mobile devices using hot standby protection, maintain the power of at least a set number of mobile devices greater than or equal to a first power threshold.
[0103] Referring to Figure 7, which is a schematic diagram of an embodiment of a computer-readable storage medium provided in this application, the computer-readable storage medium 700 stores a computer program 71. When executed by a processor, the computer program 71 implements the following method: obtaining the device level of a mobile device to be charged; wherein the device level is classified based on whether the mobile device has a charging protection function and / or whether it has a battery information acquisition function; determining a corresponding charging management strategy according to the device level; and performing charging management on the mobile device using the determined charging management strategy; wherein the charging management strategy includes at least hot standby protection, and the charging device is configured to: for multiple mobile devices using hot standby protection, maintain the power of at least a set number of mobile devices greater than or equal to a first power threshold.
[0104] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
[0105] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0106] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0107] If the integrated units in the other embodiments described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0108] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural transformations made based on the description and drawings of this application, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A charging management method, characterized in that, The charging management method, applied to a charging device, includes: obtaining the device level of a mobile device to be charged; wherein the device level is determined based on whether the mobile device has a charging protection function and / or whether it has a battery information acquisition function; determining a corresponding charging management strategy according to the device level; and performing charging management on the mobile device using the determined charging management strategy; wherein the charging management strategy includes at least hot standby protection, and the charging device is configured to: for multiple mobile devices using hot standby protection, maintain the battery level of at least a set number of mobile devices greater than or equal to a first battery threshold.
2. The charging management method according to claim 1, characterized in that, The device levels are as follows: Level 0 devices: do not have charging protection function and do not have battery information acquisition function; Level 1 devices: do not have charging protection function and have battery information acquisition function; Level 2 devices: have charging protection function and have battery information acquisition function.
3. The charging management method according to claim 2, characterized in that, The step of determining the corresponding charging management strategy based on the device level includes: determining that the charging management strategy corresponding to the level 0 device is at least one of the following: full charge storage timeout alarm prompt, hot standby protection, and timed stop-and-recharge; determining that the charging management strategy corresponding to the level 1 device is at least one of the following: full charge storage timeout alarm prompt and hot standby protection; and determining that the charging management strategy corresponding to the level 2 device is: charging protection.
4. The charging management method according to claim 2, characterized in that, The step of determining the corresponding charging management strategy based on the device level includes: determining whether the charging device supports hot standby protection mode, and determining the corresponding charging management strategy based on the determination result and the device level.
5. The charging management method according to claim 4, characterized in that, The step of determining the corresponding charging management strategy based on the judgment result and the device level includes: in response to the charging device supporting hot standby protection mode, determining the charging management strategy corresponding to the level 0 device as at least one of full charge storage timeout alarm, hot standby protection, and timed stop-and-recharge; determining the charging management strategy corresponding to the level 1 device as full charge storage timeout alarm and hot standby protection; and determining the charging management strategy corresponding to the level 2 device as charging protection led by the charging device.
6. The charging management method according to claim 5, characterized in that, The determination of the charging management strategy corresponding to the Level 0 device is at least one of the following: full charge storage timeout alarm, hot standby protection, and timed charging stop and restart, including: in response to the charging device supporting on-line power-on / off control function, determining the charging management strategy corresponding to the Level 0 device as: full charge storage timeout alarm, hot standby protection, and timed charging stop and restart; in response to the charging device not supporting on-line power-on / off control function, determining the charging management strategy corresponding to the Level 0 device as: full charge storage timeout alarm and hot standby protection.
7. The charging management method according to claim 4, characterized in that, The step of determining the corresponding charging management strategy based on the judgment result and the device level includes: in response to the charging device not supporting hot standby protection mode, determining the charging management strategy corresponding to the level 0 device as: full charge storage timeout alarm prompt and charging stop protection; determining the charging management strategy corresponding to the level 1 device as: full charge storage timeout alarm prompt; and determining the charging management strategy corresponding to the level 2 device as: charging protection led by the mobile device.
8. The charging management method according to claim 1, characterized in that, The step of managing the charging of the mobile device using the determined charging management strategy includes: acquiring the charging status of multiple mobile devices; wherein the charging status includes at least one of the following: hot standby state, hibernation state, standby state, thermal dead state, and apparent dead state; the hot standby state is when the battery level of the mobile device is greater than a first battery threshold; the hibernation state is when the battery level of the mobile device is less than a second battery threshold, and the second battery threshold is less than the first battery threshold; the standby state is when the mobile device has enabled charging protection; the thermal dead state is when the battery level of the mobile device is less than the first battery threshold and greater than the second battery threshold; and the apparent dead state is when the mobile device has stopped charging; in response to the charging management strategy including hot standby protection, switching the charging status of multiple mobile devices to provide hot standby protection for the mobile devices.
9. The charging management method according to claim 8, characterized in that, The step of switching the charging status of multiple mobile devices to provide hot standby protection for the mobile devices includes: obtaining the access duration of multiple mobile devices; and controlling all mobile devices to be in standby state in response to the fact that the access duration of all mobile devices is less than a set time threshold.
10. The charging management method according to claim 8, characterized in that, The step of switching the charging states of multiple mobile devices to provide hot standby protection for the mobile devices includes: obtaining the access duration of multiple mobile devices; in response to the access duration of some mobile devices exceeding a set time threshold, obtaining the maximum dynamic usage number of mobile devices in the current period and the number of available mobile devices in the current period; wherein the number of available mobile devices is the sum of the number of mobile devices in hot standby, hot dead, and standby states, and the number of mobile devices in hot standby is determined by the maximum dynamic usage number of mobile devices in the previous period; in response to the maximum dynamic usage number of mobile devices in the current period being less than the number of available mobile devices in the current period, switching at least some mobile devices in hot standby, hot dead, or standby states to a sleep state; in response to the maximum dynamic usage number of mobile devices in the current period being greater than the number of available mobile devices in the current period, switching at least some mobile devices in a sleep state to a hot standby state.
11. The charging management method according to claim 8, characterized in that, The step of switching the charging states of multiple mobile devices to provide hot standby protection for the mobile devices includes: obtaining the access duration of multiple mobile devices; in response to the fact that the access duration of all mobile devices is greater than a set time threshold, obtaining the maximum dynamic number of mobile devices that can be accessed in the most recent period (non-zero); and maintaining the number of mobile devices in hot standby state as greater than or equal to the maximum dynamic number of mobile devices that can be accessed in the most recent period (non-zero).
12. A charging device, characterized in that, The charging device includes a processor and a memory coupled to the processor; wherein the memory is used to store a computer program, and the processor is used to execute the computer program to implement the charging management method as described in any one of claims 1-11.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the charging management method as described in any one of claims 1-11.