A charging method, device, system, multi-battery device and storage medium

By obtaining the configuration and power information of multi-battery devices and controlling the charging situation, it solves the shortcomings of the multi-battery solution in the charging and switching process, achieves power supply for two batteries at the same time, and improves user experience and system stability.

CN114268154BActive Publication Date: 2024-08-27GEER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111616343.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-08-27
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

Existing multi-battery solutions have flaws in the charging and switching process, causing the system to mistakenly believe that the battery is low in power or in an over-discharge protection state, causing the system to shut down and unable to charge two batteries at the same time, affecting the user experience.

Method used

By obtaining the configuration and power information of the multi-battery device, the battery charging status is controlled, including the dual battery charging status, the first battery charging status and the second battery charging status, and the first battery and the second battery are charged respectively using external power supply. Ensure that power is supplied at the same time in a rechargeable state to reduce system shutdown.

Benefits of technology

It effectively solves the problems in the charging and switching process of the multi-battery solution, improves the user experience, realizes the commercial purpose of the multi-battery solution, and ensures stable operation of the system during the battery switching process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114268154B
    Figure CN114268154B
Patent Text Reader

Abstract

The present invention discloses a charging method, device, system, multi-battery device and computer-readable storage medium. The method is applied to a multi-battery device in which at least a first battery and a second battery can be placed, and comprises: obtaining the configuration of the multi-battery device; wherein the configuration comprises a charging configuration and a battery configuration; wherein power information comprises the power of a first battery or the power of the first battery and the power of a second battery; according to the configuration and the power information, controlling the battery charging of the multi-battery device; wherein the battery charging comprises a first battery charging state, a second battery charging state and a dual-battery charging state; the present invention utilizes the setting of the dual-battery charging state so that the multi-battery device can supply power to the first battery and the second battery at the same time, reduces the situation of system shutdown during battery switching, improves user experience, and thus achieves the purpose of commercializing the dual-battery solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging technology, and in particular to a charging method, device, system, multi-battery equipment and computer-readable storage medium. Background Art

[0002] At present, mobile terminal devices and wearable devices are gradually developing towards lightweight, intelligent and long battery life, which has led to the rapid development of multi-battery solutions such as dual-battery solutions. The multi-battery solution in the prior art still has defects in charging and switching. For example, when a dual-battery solution is adopted, when the charger is inserted for charging, when the power of battery 2 is low and cannot support the normal operation of the system, battery 1 is full at this time, and the system will switch to battery 2 for charging. Since battery 2 is the main battery of the system and the battery power is low, the system will mistakenly think that the battery is low, resulting in system shutdown; when battery 1 and battery 2 enter the over-discharge protection state at the same time, the charger is inserted for charging, and battery 2 is switched when battery 1 is full. Similarly, since battery 2 is still in the over-discharge protection state, the system will shut down at the moment of switching to battery 2; when the system is shut down and the charger is inserted for charging, only battery 1 can be charged, and battery 2 cannot be charged when battery 2 is present in the system, resulting in battery 2 being able to be charged only through an external charging base, which does not conform to the user's usage logic; and the above three usage scenarios are scenarios that will definitely exist in current mobile terminal devices and wearable uses. If these three problems are not solved, the dual-battery solution will be difficult to implement in actual products.

[0003] Therefore, how to solve the defects of multi-battery solutions during charging and switching, improve user experience, and achieve the commercialization of multi-battery solutions is an urgent problem that needs to be solved today. Summary of the invention

[0004] The purpose of the present invention is to provide a charging method, device, system, multi-battery device and computer-readable storage medium to solve the defects of multi-battery solutions during charging and switching, improve user experience, and achieve the purpose of commercializing multi-battery solutions.

[0005] In order to solve the above technical problems, the present invention provides a charging method, which is applied to a multi-battery device, wherein at least a first battery and a second battery can be placed in the multi-battery device, and the charging method comprises:

[0006] Obtaining the configuration of the multi-battery device; wherein the configuration includes a charging configuration and a battery configuration, the charging configuration includes a rechargeable state and a non-rechargeable state, and the battery configuration includes a dual-battery state and a single-battery state;

[0007] Acquire power information of the multi-battery device; wherein the power information includes the power of the first battery or the power of the first battery and the power of the second battery;

[0008] According to the configuration and the power information, the battery charging status of the multi-battery device is controlled; wherein the battery charging status includes a first battery charging state, a second battery charging state and a dual-battery charging state.

[0009] Optionally, controlling the battery charging status of the multi-battery device according to the configuration status and the power information includes:

[0010] When the charging configuration is in the chargeable state, determining whether the charging configuration is in the dual-battery state;

[0011] If so, when the first battery and the second battery are both not fully charged, controlling the battery charging state to the dual-battery charging state, and charging the first battery and the second battery using the external power supply of the multi-battery device;

[0012] If not, when the power level of the first battery is the partially full power level, the battery charging status is controlled to be the first battery charging status, and the first battery is charged by using the external power supply.

[0013] Optionally, controlling the battery charging status of the multi-battery device according to the configuration status and the power information includes:

[0014] The battery charging status of the multi-battery device is controlled according to the configuration status, the power information and the system power on / off status of the multi-battery device; wherein the system power on / off status includes a system power on state and a system power off state.

[0015] Optionally, controlling the battery charging status of the multi-battery device according to the configuration status, the power information and the system power on / off status of the multi-battery device includes:

[0016] When the system power on / off status is the system power on status, if the charging configuration status is the chargeable status, determining whether the charging configuration status is the dual battery status;

[0017] If not, when the power level of the first battery is the partially full power level, controlling the battery charging status to be the first battery charging status, and charging the first battery by using the external power supply of the multi-battery device;

[0018] If so, when the power level of the first battery is the partially full power level and the power level of the second battery is not greater than the switching power level threshold, the battery charging status is controlled to be the dual-battery charging status, and the first battery and the second battery are charged using the external power supply; wherein, the first battery is a power supply battery, and the power supply battery is a battery that provides system power to the multi-battery device.

[0019] Optionally, after determining whether the charging configuration is the dual-battery state, the method further includes:

[0020] If it is the dual battery state, when the power level of the first battery is the partially full power level and the power level of the second battery is greater than the switching power level threshold, the battery charging state is controlled to be the first battery charging state, and the first battery is charged by using the external power supply;

[0021] When the first battery is charged to the full charge and the second battery is at the partially full charge, the battery charging state is controlled to be the second battery charging state, and the second battery is charged by using the external power supply.

[0022] Optionally, controlling the battery charging state to be the dual-battery charging state, and charging the first battery and the second battery by using the external power supply, includes:

[0023] Using the external power supply to charge the first battery through a power management chip, and using the external power supply to charge the second battery through a battery management module;

[0024] The controlling the battery charging state to be the first battery charging state, and charging the first battery by using the external power supply, comprises:

[0025] Using the external power supply, the first battery is charged through the power management chip;

[0026] The controlling the battery charging state to be the second battery charging state, and charging the second battery by using the external power supply, comprises:

[0027] The second battery is charged by the external power supply through the power management chip.

[0028] The present invention further provides a charging device, which is applied to a multi-battery device, wherein at least a first battery and a second battery can be placed in the multi-battery device, and the charging device comprises:

[0029] A configuration acquisition unit, used to acquire the configuration of the multi-battery device; wherein the configuration includes a charging configuration and a battery configuration, the charging configuration includes a rechargeable state and a non-rechargeable state, and the battery configuration includes a dual-battery state and a single-battery state;

[0030] An information acquisition unit, configured to acquire power information of the multi-battery device; wherein the power information includes the power of the first battery or the power of the first battery and the power of the second battery;

[0031] A charging control unit is used to control the battery charging status of the multi-battery device according to the configuration status and the power information; wherein the battery charging status includes a first battery charging state, a second battery charging state and a dual battery charging state.

[0032] The present invention also provides a multi-battery device, comprising:

[0033] Memory for storing computer programs;

[0034] A processor is used to implement the steps of the charging method as described above when executing the computer program.

[0035] The present invention also provides a charging system, which is applied to a multi-battery device, wherein at least a first battery and a second battery can be placed in the multi-battery device, and the charging system includes: the first battery, a power interface, a power management chip, a main chip and a battery switching module, and also includes:

[0036] a battery management module, used to control the on and off of the power interface and the second battery, so as to charge the second battery by using the external power supply connected to the power interface when the battery charging state of the multi-battery device is the dual-battery charging state;

[0037] Among them, the power management chip is used to control the battery switching module to charge the first battery using the external power supply when the battery charging status of the multi-battery device is the dual-battery charging state or the first battery charging state; and control the battery switching module to charge the second battery using the external power supply when the battery charging status of the multi-battery device is the second battery charging state.

[0038] In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the charging method described above are implemented.

[0039] A charging method provided by the present invention is applied to a multi-battery device, in which at least a first battery and a second battery can be placed, and the charging method comprises: obtaining a configuration of the multi-battery device; wherein the configuration comprises a charging configuration and a battery configuration, wherein the charging configuration comprises a rechargeable state and a non-rechargeable state, and wherein the battery configuration comprises a dual-battery state and a single-battery state; obtaining power information of the multi-battery device; wherein the power information comprises the power of the first battery or the power of the first battery and the power of the second battery; and controlling the battery charging of the multi-battery device according to the configuration and the power information; wherein the battery charging comprises the first battery charging state, the second battery charging state and the dual-battery charging state;

[0040] It can be seen that the present invention controls the battery charging status of the multi-battery device according to the configuration status and power information, and uses the setting of the dual battery charging status to enable the multi-battery device to simultaneously power the first battery and the second battery, thereby reducing the system shutdown during the battery switching process, improving the user experience, and thus achieving the purpose of commercializing the multi-battery solution. In addition, the present invention also provides a charging device, system, multi-battery device and computer-readable storage medium, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0042] Figure 1 A flowchart of a charging method provided by an embodiment of the present invention;

[0043] Figure 2 A schematic diagram of a flow chart of another charging method provided by an embodiment of the present invention;

[0044] Figure 3 A schematic diagram of a flow chart of another charging method provided by an embodiment of the present invention;

[0045] Figure 4 A schematic diagram of the structure of a charging system provided by an embodiment of the present invention;

[0046] Figure 5 A schematic diagram of the structure of a battery management module of another charging system provided by an embodiment of the present invention;

[0047] Figure 6 This is a structural block diagram of a charging device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] Please refer to Figure 1 , Figure 1 This is a flow chart of a charging method provided by an embodiment of the present invention. The method is applied to a multi-battery device, in which at least a first battery and a second battery can be placed. The method may include:

[0050] Step 101: Obtain the configuration of a multi-battery device; wherein the configuration includes a charging configuration and a battery configuration, the charging configuration includes a rechargeable state and a non-rechargeable state, and the battery configuration includes a dual-battery state and a single-battery state.

[0051] It can be understood that the multi-battery device in this embodiment can be a device that can use multiple batteries (such as a first battery and a second battery) placed separately to power the system, such as a mobile terminal device and a wearable device. The multi-battery device in this embodiment can at least hold the first battery and the second battery, such as the multi-battery device can be a dual-battery device that can hold the first battery and the second battery; it can also be a device that can hold more than two batteries, such as a three-battery device that can hold the first battery, the second battery and the third battery. Specifically, the batteries that can be placed in the multi-battery device in this embodiment can include built-in fixed batteries and removable batteries that can be installed or removed, such as the first battery can be a fixed battery of the multi-battery device, and the second battery can be a removable battery of the multi-battery device, that is, the second battery can be detachably connected to the multi-battery device.

[0052] Among them, the configuration status of the multi-battery device in this step may include the charging configuration status of whether the charger (such as a wireless charger or a wired charger) is connected and the battery configuration status of whether the removable battery (such as a second battery) is inserted and installed, that is, when the power interface of the multi-battery device is connected to the charger, the charging configuration status may be a rechargeable state in which the connected charger can be used to supply power; when the power interface of the multi-battery device is not connected to the charger, the charging configuration status may be a non-rechargeable state in which the charger cannot be used to supply power; when the multi-battery device is inserted and installed with a removable battery, the battery configuration status may be a dual-battery state including a fixed battery and a removable battery; when the multi-battery device is not inserted and installed with a removable battery, the battery configuration status may be a single-battery state including only a fixed battery.

[0053] Specifically, the specific method for the processor (such as the power management chip and the battery management module) in this step to obtain the configuration status of the multi-battery device can be set by the designer according to practical scenarios and user needs. For example, it can be implemented in the same or similar manner as the charger detection method and the battery detection method in the prior art. This embodiment does not impose any restrictions on this.

[0054] Step 102: Acquire power information of a multi-battery device; wherein the power information includes the power of a first battery or the power of the first battery and the power of a second battery.

[0055] It should be noted that, in this embodiment, the power information of the multi-battery device may be the power information of the batteries configured in the multi-battery device. For example, when the second battery (i.e., a removable battery) is not inserted and installed in the multi-battery device, the power information may include the power of the first battery; when the second battery is inserted and installed in the multi-battery device, the power information may include the power of the first battery and the power of the second battery.

[0056] Correspondingly, the specific content of the power information of the multi-battery device in this embodiment can be set by the designer. For example, the power information can be specifically voltage information, that is, the processor can detect the voltage information of the battery (such as the first battery or the first battery and the second battery) configured in the multi-battery device; the power information can also be the battery power in percentage form. This embodiment does not impose any restrictions on this.

[0057] Specifically, the specific method for the processor to obtain the configuration status of the multi-battery device in this step can be set by the designer according to practical scenarios and user needs. For example, it can be implemented in the same or similar manner as the power detection method in the prior art. This embodiment does not impose any restrictions on this.

[0058] Step 103: Control the battery charging status of the multi-battery device according to the configuration status and power information; wherein the battery charging status includes a first battery charging status, a second battery charging status and a dual-battery charging status.

[0059] It can be understood that the battery charging status in this step can be the charging status of the battery configured in the multi-battery device. In this embodiment, by setting the dual battery charging state in the battery charging status, the multi-battery device can charge the first battery and the second battery at the same time when the first battery and the second battery are configured in the multi-battery device, thereby reducing the system shutdown during battery switching.

[0060] Specifically, the specific manner in which the processor controls the battery charging status of the multi-battery device according to the configuration status and power information in this step can be set by the designer according to practical scenarios and user needs. For example, the processor can control the battery charging status of the multi-battery device only by using the configuration status and power information. For example, when the multi-battery device is a dual-battery device, the processor can determine whether the charging configuration status is a dual-battery state when the charging configuration status is a rechargeable state; if so, when the power of the first battery and the second battery is not fully charged (that is, not fully charged), the battery charging status is controlled to be a dual-battery charging state, and the first battery and the second battery are charged using the external power supply of the multi-battery device (such as the power supply of a connected wired charger or a wireless charger); if not, when the power of the first battery is not fully charged, the battery charging status is controlled to be a first-battery charging state, and the first battery is charged using an external power supply. Correspondingly, after charging the first battery and the second battery, it can also include: when the power of any battery is fully charged, controlling the battery charging state to be the first battery charging state or the second battery charging state, and charging the battery that is not fully charged; that is, the multi-battery device can charge the first battery and the second battery at the same time when the charger is connected and the second battery is inserted, until any battery is fully charged, and charge the other battery that is not fully charged; when the charger is connected and the second battery is not inserted, charge the first battery until the first battery is fully charged.

[0061] Correspondingly, the processor can determine whether the charging configuration is a dual-battery state when the charging configuration is a rechargeable state; if so, when the power of the first battery and the second battery are both not fully charged, control the battery charging state to a dual-battery charging state, and use the external power supply of the multi-battery device to charge the first battery and the second battery; if not, when the first battery is a power supply battery, when the power of the first battery is not fully charged and the power of the second battery is not greater than the switching power threshold, control the battery charging state to a dual-battery charging state, and use the external power supply to charge the first battery and the second battery. Correspondingly, after charging the first battery and the second battery, it can also include: when the power of the second battery is greater than the switching power threshold, control the battery charging state to a first battery charging state, charge the first battery until the first battery is fully charged, and then continue to charge the second battery.

[0062] Furthermore, the processor of the multi-battery device can also control the battery charging status of the multi-battery device according to the configuration status, power information and the system power on / off status of the multi-battery device; wherein the system power on / off status includes the system power on status and the system power off status. For example, when the multi-battery device is a dual-battery device, the processor can, when the system power on status is the system power on status, determine whether the charging configuration status is a dual-battery status if the charging configuration status is a rechargeable status; if not, when the power of the first battery is not fully charged, control the battery charging status to the first battery charging status, and charge the first battery using the external power supply of the multi-battery device; if so, when the power of the first battery is not fully charged and the power of the second battery is not greater than the switching power threshold (such as Figure 2 ), the battery charging state is controlled to be a dual-battery charging state, and the first battery and the second battery are charged by using an external power supply; wherein the first battery is a power supply battery; the power supply battery is a battery for supplying system power to the multi-battery device, that is, a battery for supplying system power to the multi-battery device when the charging configuration state is a non-rechargeable state.

[0063] Accordingly, when the system power-on status is the system power-on status and the charging configuration status is the rechargeable status, if the charging configuration status is the dual battery status, the processor can control the battery charging status to the first battery charging status when the power of the first battery is not fully charged and the power of the second battery is greater than the switching power threshold, and use the external power supply to charge the first battery; when the power of the first battery is charged to full power and the power of the second battery is not fully charged, control the battery charging status to the second battery charging status, and use the external power supply to charge the second battery. Figure 2 and Figure 4As shown, when the system of the multi-battery device is turned on and the battery 1# (i.e., the first battery) is powering the system, if the charger (i.e., the wired charger) is inserted for charging, the processor can detect whether the battery 2# (i.e., the second battery) is inserted; if the battery 2# is not present, only the battery 1# is charged; when the battery 2# is present, while charging the battery 1# (such as charging through the power management chip), it is determined whether the power of the battery 2# meets the threshold (i.e., the switching power threshold), and the role of the threshold is to ensure that when the system switches from the battery 1# to the battery 2#, the battery 2# still has enough power to ensure that the system continues to work normally before the battery switching; if the power of the battery 2# reaches the threshold, only the battery 1# continues to be charged until the battery 1# is fully charged, and then the battery 2# is switched, and the power management chip charges the battery 2# until it is fully charged; if the power of the battery 2# is below the threshold, the battery 2# is charged through the battery management module (this charging behavior is performed synchronously with the charging of the battery 1#) until the power of the battery 2# reaches the threshold, the charging behavior is stopped, and the charging continues after the battery 1# is fully charged. Another function of the threshold setting is to ensure the normal operation of the system when battery 2 is switched, while minimizing the time for synchronous charging of the two batteries, reducing the power consumption pressure of the charger, and reducing safety hazards. In addition, it ensures that the two batteries are monitored only by the main chip and the power management chip when the system is turned on.

[0064] Correspondingly, the processor can determine whether the charging configuration is a dual-battery state, that is, whether the second battery is inserted and installed, when the system power-on and power-off state is the system shutdown state and the charging configuration is a rechargeable state; if so, when the power of the first battery and the second battery are both not fully charged, the battery charging state is controlled to be a dual-battery charging state, and the first battery and the second battery are charged using the external power supply of the multi-battery device; if not, when the power of the first battery is not fully charged, the battery charging state is controlled to be a first-battery charging state, and the first battery is charged using the external power supply. Figure 3 and Figure 4 As shown, when the system of a multi-battery device is turned off and a charger is inserted, the processor can detect whether battery 2# (i.e., the second battery) is inserted; if battery 2# does not exist, only battery 1# (i.e., the first battery) is charged. When battery 1# is fully charged, battery 2# can be inserted and then charged until it is fully charged. If battery 2# exists, battery 1# and battery 2# are charged synchronously, and the charging path is as follows: Figure 4 As shown by the dotted line, since the charging behavior occurs when the system is turned off, the charging of battery 2# is only controlled by the battery management module (such as Figure 5The control module in the battery management module in the power management module is controlled, but battery 1# is still controlled by the system's power management chip (common system platforms all support shutdown charging, but only support one battery). This process does not need to set a threshold, and only determines whether the two batteries are fully charged. Since the system does not have any working process in the shutdown state, the power consumption of the system is negligible. Compared with the power-on state, charging two batteries at the same time does not put much pressure on the power consumption of the charger.

[0065] It should be noted that the specific control method for the above-mentioned processor to control the battery charging status of a multi-battery device is demonstrated by taking the battery charging status control of a dual-battery device as an example. For the battery charging status control of a multi-battery device that can accommodate a first battery, a second battery and other batteries (such as a third battery), it can be implemented in the same or similar manner as the charging control corresponding to the first battery (i.e., a fixed battery) and the second battery (i.e., a removable battery) according to the configuration type of other batteries (such as a fixed battery or a removable battery). This embodiment does not impose any restrictions on this.

[0066] The charging method provided in this embodiment can be applied to a multi-battery device, that is, the processor of the multi-battery device can execute the method provided in this embodiment to realize the charging of the battery configured in the multi-battery device. This embodiment does not limit the specific number and type of processors in the multi-battery device that execute the method provided in this embodiment. Figure 4 As shown, the processor may include a power management chip, a battery management module and a main chip.

[0067] Specifically, the specific manner in which the multi-battery device in this embodiment charges the first battery and / or the second battery can be set by the designer. For example, when the multi-battery device charges the first battery or the second battery, the multi-battery device can charge the first battery or the second battery using the power supply of a charger (such as a wired charger or a wireless charger) through a power management chip. When the multi-battery device charges the first battery and the second battery, the multi-battery device can charge the first battery using the power supply of the charger through a power management chip, and charge the second battery using the power supply of the charger through a battery management module; Figure 4 As shown, the power supply of the charger connected to the power interface charges the first battery through the charging path of power interface → power management chip → battery switching module → battery 1# (i.e., the first battery), and at the same time charges the second battery through the charging path of power interface → battery management module → battery 2# (i.e., the second battery).

[0068] Correspondingly, such as Figure 5As shown, the battery management module may include a control module, a power switch, a charging module 1# (i.e., a first charging module) and a charging module 2# (i.e., a second charging module); wherein the power switch may be used to open and close the power path of the power interface and the charging module 2#, and is controlled by the control module; the charging module 2# is used to charge the battery 2# (i.e., the second battery), and to set charging-related parameters of the battery 2#, and is controlled by the control module to open and close the charging function; the charging module 1# is used for the battery 2# to charge the battery 1#, and is also controlled by the control module; the control module may include a judgment mechanism for the power on / off state, and the control module controls the peripheral modules through the internal logic in the power-off state, and may not be controlled by the main chip. When entering the power-on state, the internal logic of the control module is enabled, and may be controlled by the main chip, and at the same time, the battery 1 and the battery 2 communicate with the main chip to transmit battery information such as the power level.

[0069] In this embodiment, the embodiment of the present invention controls the battery charging status of the multi-battery device according to the configuration status and power information, and utilizes the setting of the dual battery charging status to enable the multi-battery device to power the first battery and the second battery at the same time, thereby reducing the system shutdown during the battery switching process, improving the user experience, and achieving the purpose of commercializing the multi-battery solution.

[0070] Corresponding to the above method embodiment, the embodiment of the present invention further provides a charging device. The charging device described below and the charging method described above can refer to each other.

[0071] Please refer to Figure 6 , Figure 6 This is a structural block diagram of a charging device provided by an embodiment of the present invention. The device is applied to a multi-battery device, in which at least a first battery and a second battery can be placed. The device may include:

[0072] The configuration acquisition unit 10 is used to acquire the configuration of the multi-battery device; wherein the configuration includes the charging configuration and the battery configuration, the charging configuration includes a rechargeable state and a non-rechargeable state, and the battery configuration includes a dual-battery state and a single-battery state;

[0073] The information acquisition unit 20 is used to acquire power information of a multi-battery device; wherein the power information includes the power of the first battery or the power of the first battery and the power of the second battery;

[0074] The charging control unit 30 is used to control the battery charging status of the multi-battery device according to the configuration status and power information; wherein the battery charging status includes a first battery charging state, a second battery charging state and a dual battery charging state.

[0075] Optionally, the charging control unit 30 may include:

[0076] A first judging subunit is used to judge whether the charging configuration state is a dual battery state when the charging configuration state is a chargeable state;

[0077] The first charging subunit is used for controlling the battery charging state to be a dual-battery charging state when both the first battery and the second battery are not fully charged, and charging the first battery and the second battery by using the external power supply of the multi-battery device;

[0078] The second charging subunit is used for controlling the battery charging state to be a first battery charging state when the power of the first battery is not fully charged, and charging the first battery by using external power supply if the battery is in a single battery state.

[0079] Optionally, the charging control unit 30 can be specifically used to control the battery charging status of the multi-battery device according to the configuration status, power information and the system power on / off status of the multi-battery device; wherein the system power on / off status includes the system power on state and the system power off state.

[0080] Optionally, the charging control unit 30 may include:

[0081] The second judgment subunit is used to judge whether the charging configuration state is a dual battery state when the system power-on state is in the system power-on state and the charging configuration state is in the chargeable state;

[0082] A third charging subunit is used for, if in a single battery state, when the power of the first battery is not fully charged, controlling the battery charging state to be a first battery charging state, and charging the first battery by using an external power supply of the multi-battery device;

[0083] The fourth charging subunit is used to control the battery charging state to be a dual-battery charging state if the power of the first battery is not fully charged and the power of the second battery is not greater than the switching power threshold, and use external power supply to charge the first battery and the second battery; wherein the first battery is a power supply battery, and the power supply battery is a battery for system power supply to a multi-battery device.

[0084] Optionally, the charging control unit 30 may further include:

[0085] a fifth charging subunit, for controlling the battery charging state to be a first battery charging state, and charging the first battery by using an external power supply when the power of the first battery is not fully charged and the power of the second battery is greater than a switching power threshold, if the dual battery state is in use;

[0086] The sixth charging subunit is used to control the battery charging state to the second battery charging state when the first battery is fully charged and the second battery is not fully charged if the dual battery state is in progress, and to charge the second battery using external power supply.

[0087] Optionally, the fourth charging subunit may be specifically used to charge the first battery using an external power supply through a power management chip, and to charge the second battery using an external power supply through a battery management module;

[0088] The fifth charging subunit may be specifically configured to charge the first battery using an external power supply through a power management chip;

[0089] The sixth charging subunit may be specifically configured to charge the second battery using an external power supply via a power management chip.

[0090] In this embodiment, the embodiment of the present invention controls the battery charging status of the multi-battery device according to the configuration status and power information through the charging control unit 30, and utilizes the setting of the dual battery charging status to enable the multi-battery device to power the first battery and the second battery at the same time, thereby reducing the system shutdown during the battery switching process, improving the user experience, and achieving the purpose of commercializing the multi-battery solution.

[0091] Corresponding to the above method embodiment, the embodiment of the present invention further provides a multi-battery device. The multi-battery device described below and the charging method described above can refer to each other.

[0092] A multi-battery device comprises: a memory and a processor; wherein the memory is used to store a computer program; and the processor is used to implement the steps of the charging method as described above when executing the computer program.

[0093] Among them, this embodiment does not limit the specific device type of the multi-battery device. For example, the multi-battery device provided in this embodiment can be specifically a mobile terminal device and a wearable device.

[0094] Corresponding to the above method embodiment, the embodiment of the present invention further provides a charging system. The charging system described below and the charging method described above can refer to each other.

[0095] A charging system is applied to a multi-battery device, in which at least a first battery and a second battery can be placed. The charging system includes: a first battery, a power interface, a power management chip, a main chip and a battery switching module, and also includes:

[0096] A battery management module, used to control the on and off of the power interface and the second battery, so that when the battery charging state of the multi-battery device is a dual-battery charging state, the second battery is charged using an external power supply (such as a wired charger or a wireless charger) connected to the power interface;

[0097] Among them, the power management chip is used to control the battery switching module to charge the first battery using external power supply when the battery charging status of the multi-battery device is a dual-battery charging state or a first battery charging state; when the battery charging status of the multi-battery device is a second battery charging state, control the battery switching module to charge the second battery using external power supply.

[0098] Optional, such as Figure 5 As shown, the battery management module may include a control module, a power switch, a first charging module (charging module 1#) and a second charging module (charging module 2#); wherein,

[0099] The control module is used to control the power switch, the first charging module and the second charging module, and the first battery is powered by the first charging module using the power supply of the second battery, and the second battery is powered by the power switch and the second charging module using the external power supply connected to the power interface.

[0100] Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium described below and the charging method described above can be referred to each other.

[0101] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the charging method provided in the above method embodiment.

[0102] The computer-readable storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or any other readable storage medium that can store program codes.

[0103] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the devices, systems, multi-battery devices, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0104] The above is a detailed introduction to a charging method, device, system, multi-battery device and computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A charging method, It is characterized in that Applied to a multi-battery device, in which at least a first battery and a second battery can be placed, the charging method comprises: Obtaining the configuration of the multi-battery device; wherein the configuration includes a charging configuration and a battery configuration, the charging configuration includes a rechargeable state and a non-rechargeable state, and the battery configuration includes a dual-battery state and a single-battery state; Acquire power information of the multi-battery device; wherein the power information includes the power of the first battery or the power of the first battery and the power of the second battery; Controlling the battery charging status of the multi-battery device according to the configuration status, the power information and the system power on / off status of the multi-battery device; wherein the battery charging status includes a first battery charging status, a second battery charging status and a dual battery charging status, and the system power on / off status includes a system power on status and a system power off status; Wherein, controlling the battery charging status of the multi-battery device according to the configuration status, the power information and the system power on / off status of the multi-battery device includes: When the system power on / off status is the system power on status, if the charging configuration status is the rechargeable status, determining whether the battery configuration status is the dual battery status; If not, when the power level of the first battery is not fully charged, controlling the battery charging state to be the first battery charging state, and charging the first battery by using the external power supply of the multi-battery device; If so, when the power level of the first battery is the partially full power level and the power level of the second battery is not greater than the switching power level threshold, the battery charging status is controlled to be the dual-battery charging status, and the first battery and the second battery are charged using the external power supply; when the power level of the first battery is the partially full power level and the power level of the second battery is greater than the switching power level threshold, the battery charging status is controlled to be the first battery charging status, and the first battery is charged using the external power supply; when the first battery is charged to the full power level and the power level of the second battery is the partially full power level, the battery charging status is controlled to be the second battery charging status, and the second battery is charged using the external power supply; wherein, the first battery is a power supply battery, and the power supply battery is a battery that provides system power to the multi-battery device.

2. The charging method according to claim 1, It is characterized in that The controlling the battery charging state to be the dual-battery charging state, and charging the first battery and the second battery by using the external power supply, comprises: Using the external power supply to charge the first battery through a power management chip, and using the external power supply to charge the second battery through a battery management module; The controlling the battery charging state to be the first battery charging state, and charging the first battery by using the external power supply, comprises: Using the external power supply, the first battery is charged through the power management chip; The controlling the battery charging state to be the second battery charging state, and charging the second battery by using the external power supply, comprises: The second battery is charged by the external power supply through the power management chip.

3. A charging device, It is characterized in that Applicable to a multi-battery device, in which at least a first battery and a second battery can be placed, the charging device comprises: A configuration acquisition unit, used to acquire the configuration of the multi-battery device; wherein the configuration includes a charging configuration and a battery configuration, the charging configuration includes a rechargeable state and a non-rechargeable state, and the battery configuration includes a dual-battery state and a single-battery state; An information acquisition unit, configured to acquire power information of the multi-battery device; wherein the power information includes the power of the first battery or the power of the first battery and the power of the second battery; a charging control unit, configured to control the battery charging status of the multi-battery device according to the configuration status, the power information and the system power on / off status of the multi-battery device; wherein the battery charging status includes a first battery charging status, a second battery charging status and a dual battery charging status, and the system power on / off status includes a system power on status and a system power off status; Wherein, the charging control unit comprises: A second judgment subunit is used for judging whether the battery configuration state is the dual battery state when the system power-on and power-off state is the system power-on state and the charging configuration state is the rechargeable state; a third charging subunit, configured to, if in the single battery state, control the battery charging state to be the first battery charging state when the power level of the first battery is not fully charged, and charge the first battery using the external power supply of the multi-battery device; a fourth charging subunit, configured to, if in the dual-battery state, control the battery charging state to be the dual-battery charging state, and charge the first battery and the second battery by using the external power supply when the power level of the first battery is the partially full power level and the power level of the second battery is not greater than the switching power level threshold; wherein the first battery is a power supply battery, and the power supply battery is a battery for providing system power to the multi-battery device; a fifth charging subunit, configured to, if in the dual-battery state, control the battery charging state to be the first battery charging state when the power level of the first battery is the partially full power level and the power level of the second battery is greater than the switching power level threshold, and charge the first battery using the external power supply; The sixth charging subunit is used for controlling the battery charging state to the second battery charging state when the first battery is charged to the full charge and the second battery is the partially charged state if the dual battery state is used, and charging the second battery by using the external power supply.

4. A multi-battery device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the charging method as claimed in claim 1 or 2 when executing the computer program.

5. A charging system, applied to a multi-battery device, wherein at least a first battery and a second battery can be placed in the multi-battery device, and the charging system include: The first battery, power interface, power management chip, main chip and battery switching module are characterized by further comprising: a battery management module, configured to control the on and off of the power interface and the second battery, so that when the battery charging state of the multi-battery device is a dual-battery charging state, the second battery is charged by using the external power supply connected to the power interface; when the system power on / off state of the multi-battery device is a system on state, the charging configuration state is a rechargeable state, the battery configuration state is a dual-battery state, and the power of the first battery is not fully charged and the power of the second battery is not greater than a switching power threshold, the battery charging state is the dual-battery charging state; The power management chip is used to control the battery switching module to charge the first battery using the external power supply when the battery charging status of the multi-battery device is the dual-battery charging status or the first battery charging status; control the battery switching module to charge the second battery using the external power supply when the battery charging status of the multi-battery device is the second battery charging status; when the system power-on / off status is the system power-on status, the charging configuration status is the rechargeable status, the battery configuration status is the single-battery status, and the power level of the first battery is the partially full power level, or when the system power-on / off status is the system power-on status, the charging configuration status is the rechargeable status, the battery configuration status is the dual-battery status, the power level of the first battery is the partially full power level, and the power level of the second battery is greater than the switching power level threshold, the battery charging status is the first battery charging status; when the system power-on / off status is the system power-on status, the charging configuration status is the rechargeable status, the battery configuration status is the dual-battery status, the power level of the first battery is the fully full power level, and the power level of the second battery is the partially full power level, the battery charging status is the second battery charging status.

6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the charging method according to claim 1 or 2 are implemented.