Charging method, electronic device, system and computer storage medium

Through the combination of boost chip and charge pump chip, the charging voltage and current are dynamically adjusted, solving the problem of low wired reverse charging power, achieving high-power, high-speed charging, and improving user experience and charging efficiency.

WO2024188207A1PCT designated stage expired Publication Date: 2024-09-19HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/080917
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2024-03-11
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

The power of wired reverse charging in the existing technology is low, resulting in slow charging speed, inability to achieve fast charging, and affecting user experience.

Method used

Using a combination of boost chip and charge pump chip, the input voltage is boosted by the boost chip, and the output voltage is stepped down by M times by the charge pump chip to dynamically adjust the charging voltage and current to achieve high power and high speed. Wired reverse charging.

Benefits of technology

It improves the power and speed of wired reverse charging, solves the problem of slow charging speed, improves user experience, meets charging needs under different power conditions, and achieves flexibility and efficiency in the charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080917_19092024_PF_FP_ABST
    Figure CN2024080917_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A charging method, an electronic device, a system and a computer storage medium. The system comprises a first device (100) and a second device (200), the first device comprising a booster chip (730) and a first battery (740), and the second device comprising a charge pump chip (830) and a second battery (840), wherein the first battery is used for outputting a first voltage to the booster chip; the booster chip is used for receiving the first voltage and outputting a second voltage to the second device, the second voltage being greater than the first voltage; the charge pump chip is used for receiving the second voltage and outputting a third voltage to the second battery, the second voltage being M times of the third voltage, and M being a positive number greater than 1; and the second battery is used for receiving the third voltage and performing charging.
Need to check novelty before this filing date? Find Prior Art

Description

Charging method, electronic device, system and computer storage medium

[0001] This application claims priority to the Chinese patent application with application number 202310302219.6 filed with the State Intellectual Property Office of China on March 16, 2023, and priority to the Chinese patent application with the invention name “Charging method, electronic device, system and computer storage medium”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of circuit technology, and in particular to a charging method, electronic device, system and computer storage medium. Background Art

[0003] In recent years, mobile phone battery capacity has continued to increase, and the speed of wired forward charging has continued to improve, currently reaching charging powers as high as 200 watts (W). However, the power of wired reverse charging has remained relatively stable. Currently, the industry primarily uses on-the-go (OTG) technology to achieve wired reverse charging. Specifically, the buck chip in phone 1 uses its reverse boost function to output a voltage of approximately 5 volts (V) to phone 2. The buck chip in phone 2 then steps down the voltage and charges the phone. The charging power is approximately 6 W, resulting in a very low speed for wired reverse charging.

[0004] Summary of the Invention

[0005] The present application discloses a charging method, electronic device, system and computer storage medium, which can improve the power of wired reverse charging, thereby increasing the charging speed.

[0006] In a first aspect, the present application provides a charging system comprising a first device and a second device, the first device comprising a boost chip and a first battery, the second device comprising a charge pump chip and a second battery, wherein: the first battery is used to output a first voltage to the boost chip; the boost chip is used to receive the first voltage input by the first battery and output a second voltage to the second device, the second voltage being greater than the first voltage; the charge pump chip is used to receive the second voltage input by the first device and output a third voltage to the second battery, the second voltage being M times the third voltage, where M is a positive number greater than 1; the second battery is used to receive the third voltage input by the charge pump chip and to charge.

[0007] The charge pump chip is used to output a voltage that is 1 / M times the input voltage by stepping down the voltage by a factor of M. In this case, the ratio of the input voltage to the output voltage of the charge pump chip is M:1. The charge pump chip can also be used to output a voltage that is M times the input voltage by stepping up the voltage by a factor of M. In this case, the ratio of the input voltage to the output voltage of the charge pump chip is 1:M. The boost chip is used to output a voltage greater than the input voltage in a continuous linear regulation manner. That is, the output voltage of the boost chip can be any value greater than the input voltage.

[0008] In the above method, a first device, serving as a charging device, can use a boost chip to boost the voltage provided by a first battery and output the voltage to a second device. A second device, serving as a device to be charged, can use a charge pump chip to step down the voltage input by the first device by a factor of M and output the voltage to charge the second battery. Both the boost chip and the charge pump chip can provide relatively high output voltages, thereby increasing the power of wired reverse charging and, in turn, the charging speed. Furthermore, the voltage output by the boost chip of the charging device to the charge pump chip of the device to be charged can be continuously and linearly adjusted. Regardless of the voltage value required by the battery of the device to be charged, the boost chip can output M times that voltage value to the charge pump chip, so that the charge pump chip inputs that voltage value to charge the second battery. This avoids the situation where the voltage output by the first battery and the voltage output by the second battery do not match the fixed ratio M, resulting in a failure to charge normally (e.g., an error message and charging cessation). This allows for high-power, high-speed wired reverse charging in common scenarios.

[0009] In one possible implementation, the first device includes a first charging management chip, and the second device includes a second charging management chip, wherein: the second charging management chip is used to send a first request message to the first charging management chip through a fast charging protocol, and the first request message is used to request a voltage of a first voltage value; the first charging management chip is used to send a first indication message to the boost chip, and the first indication message is used to instruct the boost chip to output a voltage of the first voltage value; the boost chip is also used to receive the first voltage and output the second voltage of the first voltage value to the second device according to the first indication message.

[0010] In the above method, the second device, which is the device to be charged, can request a voltage of a specific first voltage value from the first device through the fast charging protocol. The first device can instruct the boost chip to output a voltage of the first voltage value to the second device based on the request. That is, the voltage provided by the charging device to the device to be charged is the real-time voltage required by the device to be charged through the fast charging protocol, which ensures that the voltage output by the charging device meets the real-time charging requirements of the device to be charged, and the charging process is more efficient and stable. The charging voltage of the entire charging process can be dynamically adjusted to achieve greater flexibility.

[0011] In one possible implementation, the first voltage value is determined by the charge pump chip based on the second voltage value and the ratio M corresponding to the charge pump chip, the second voltage value is the charging voltage value required by the second battery obtained by the charge pump chip, and the first voltage value is M times the second voltage value.

[0012] In the above method, the voltage value requested by the second device to the first device is determined based on the currently acquired charging voltage value required by the second battery and the fixed ratio M corresponding to the charge pump chip. This ensures that the voltage input from the first device to the second device is the charging voltage currently required by the second battery after being stepped down M times by the charge pump chip, and the charging process is more efficient and stable.

[0013] In one possible implementation, the second voltage value is the charging voltage value required by the second battery of the first power obtained; the second charging management chip is also used to send a second request information to the first charging management chip through the fast charging protocol after the second battery receives the third voltage input by the charge pump chip and charges, and the second request information is used to request the voltage of the third voltage value, the third voltage value is determined by the charge pump chip according to the fourth voltage value and the ratio M corresponding to the charge pump chip, the fourth voltage value is the charging voltage value required by the second battery of the second power obtained by the charge pump chip, and the third voltage value The first charging management chip is further used to send a second indication message to the boost chip, and the second indication message is used to instruct the boost chip to output a voltage of the third voltage value; the boost chip is further used to receive the first voltage input by the first battery and output a fourth voltage of the third voltage value to the second device according to the second indication message; the charge pump chip is further used to receive the fourth voltage input by the first device and output a fifth voltage to the second battery, and the fourth voltage is M times the fifth voltage; the second battery is further used to receive the fifth voltage input by the charge pump chip and charge.

[0014] In the above method, the required charging voltage varies depending on the charge level of the second battery. The second device can obtain the required charging voltage for the second battery in real time, determine the voltage to be input to the charge pump chip based on this charging voltage, and then request the voltage of this voltage from the first device. In other words, the device to be charged can request the required voltage from the charging device based on its real-time charging needs. This ensures that the voltage input from the first device to the second device, after being stepped down M times by the charge pump chip, is the current required charging voltage for the second battery. This can meet the charging needs of the second battery at different charge levels, making the charging process more efficient and stable. The charging voltage can be dynamically adjusted throughout the entire charging process, providing greater flexibility.

[0015] In a possible implementation, the second electrical quantity is greater than the first electrical quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

[0016] In the above method, as the charging process proceeds, the power of the second battery will increase, and the value of the required charging voltage will also increase. The second device can re-obtain the charging voltage value required for the second battery at the current power level, and determine the voltage value to be input to the charge pump chip based on the charging voltage value, and then request the voltage of the voltage value from the first device. In this way, the charging voltage input to the second battery can be gradually increased, further improving the charging speed of wired reverse charging and enhancing the user experience.

[0017] In a possible implementation, the fast charging protocol is a smart charging protocol SCP, a fused fast charging protocol UFCS, or a quick charging protocol QC.

[0018] In the above method, there are many fast charging protocols that can be used in this application, and the application scenarios are more extensive.

[0019] In one possible implementation, the first device includes a first charging management chip, and the second device includes a second charging management chip, wherein: the first charging management chip is used to handshake with the second charging management chip on the power transmission PD protocol, and identify the first device as a charging device and the second device as a device to be charged.

[0020] In one possible implementation, the first charging management chip is further used to identify the first device as a charging device and the second device as a device to be charged when the first device receives a first user operation, and the first user operation is used to set the connection mode between the first device and the second device to a reverse charging mode.

[0021] In the above method, the device to be charged and the charging device can be determined according to the user operation, so as to ensure the accuracy of the charging direction and thus ensure the normal progress of the charging process.

[0022] In one possible implementation, the first device includes a first charging management chip, and the second device includes a second charging management chip, wherein: the boost chip is also used to output the second voltage and the first current to the second device; the second charging management chip is used to send a third request message to the first charging management chip through the fast charging protocol, and the third request message is used to request a current of the first current value, and the first current value and the first current have different numerical values; the first charging management chip is used to send a third indication message to the boost chip, and the third indication message is used to instruct the boost chip to output a current of the first current value; the boost chip is also used to receive the voltage input by the first battery and output the second voltage and the second current of the first current value to the second device according to the third indication message.

[0023] For example, the first current value is greater than the numerical value of the first current.

[0024] In the above method, when the voltage provided by the charging device to the device to be charged remains unchanged, the device to be charged can request a smaller or larger current from the charging device, which can meet the real-time charging current demand of the device to be charged. Requesting a larger current can increase the charging power, further increase the charging speed, and improve the user experience. The charging current of the entire charging process can be dynamically adjusted to achieve greater flexibility.

[0025] In one possible implementation, the second device includes a display screen, and the display screen is used to display a first interface. The first interface includes fourth indication information, and the fourth indication information indicates that the charging mode is a super fast charging mode.

[0026] In some examples, the first interface also includes the charge level of the second battery.

[0027] In the above method, the second device can display the indication information of the super fast charging mode and the power level of the second battery, so that the user can intuitively perceive the current charging rate and charging effect (not the traditional non-fast charging mode), thereby improving the user experience.

[0028] In a second aspect, the present application provides a charging method, which is applied to a charging system, the charging system including a first device and a second device, the method including: the first battery of the first device outputs a first voltage to the boost chip of the first device; the boost chip receives the first voltage input by the first battery and outputs a second voltage to the second device, the second voltage being greater than the first voltage; the charge pump chip of the second device receives the second voltage input by the first device and outputs a third voltage to the second battery of the second device, the second voltage being M times the third voltage, where M is a positive number greater than 1; the second battery receives the third voltage input by the charge pump chip and is charged.

[0029] The charge pump chip is used to output a voltage that is 1 / M times the input voltage by stepping down the voltage by a factor of M. In this case, the ratio of the input voltage to the output voltage of the charge pump chip is M:1. The charge pump chip can also be used to output a voltage that is M times the input voltage by stepping up the voltage by a factor of M. In this case, the ratio of the input voltage to the output voltage of the charge pump chip is 1:M. The boost chip is used to output a voltage greater than the input voltage in a continuous linear regulation manner. That is, the output voltage of the boost chip can be any value greater than the input voltage.

[0030] In a possible implementation, the method also includes: the first charging management chip of the first device receives a first request message sent by the second charging management chip of the second device through a fast charging protocol, the first request message is used to request a voltage of a first voltage value; the first charging management chip sends a first indication message to the boost chip, the first indication message is used to instruct the boost chip to output a voltage of the first voltage value; the boost chip receives the first voltage input by the first battery and outputs a second voltage to the second device, including: the boost chip receives the first voltage and outputs the second voltage of the first voltage value to the second device according to the first indication message.

[0031] In one possible implementation, the first voltage value is determined by the charge pump chip based on the second voltage value and the ratio M corresponding to the charge pump chip, the second voltage value is the charging voltage value required by the second battery obtained by the charge pump chip, and the first voltage value is M times the second voltage value.

[0032] In one possible implementation, the second voltage value is the charging voltage value required by the second battery for the first power level obtained; after the second battery receives the third voltage input by the charge pump chip and charges, the method further includes: the first charging management chip receives a second request message sent by the second charging management chip through the fast charging protocol, the second request message is used to request a voltage of the third voltage value, the third voltage value is determined by the charge pump chip according to the fourth voltage value and a step-down ratio M corresponding to the charge pump chip, the fourth voltage value is the charging voltage value required by the second battery for the second power level obtained by the charge pump chip, and the third voltage value is M times the fourth voltage value; the first charging management chip sends second indication information to the boost chip, the second indication information is used to instruct the boost chip to output a voltage of the third voltage value; the boost chip receives the voltage input by the first battery and outputs a fourth voltage of the third voltage value to the second device according to the second indication information; the charge pump chip receives the fourth voltage input by the first device and outputs a fifth voltage to the second battery, the fourth voltage being M times the fifth voltage; the second battery receives the fifth voltage input by the charge pump chip and charges.

[0033] In a possible implementation, the second electrical quantity is greater than the first electrical quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

[0034] In a possible implementation, the fast charging protocol is a smart charging protocol SCP, a fused fast charging protocol UFCS, or a quick charging protocol QC.

[0035] In a possible implementation, the method further includes: a first charging management chip of the first device and a second charging management chip of the second device perform a handshake of a power transmission PD protocol, and identify the first device as a charging device and the second device as a device to be charged.

[0036] In one possible implementation, the first charging management chip of the first device and the second charging management chip of the second device perform a handshake of the power transmission PD protocol and identify the first device as a charging device and the second device as a device to be charged, including: the first device receives a first user operation, and the first user operation is used to set the connection mode of the first device and the second device to a reverse charging mode; the first charging management chip and the second charging management chip perform a handshake of the PD protocol and identify the first device as a charging device and the second device as a device to be charged.

[0037] In one possible implementation, the boost chip receives the first voltage input by the first battery and outputs the second voltage to the second device, including: the boost chip receives the first voltage, and outputs the second voltage and the first current to the second device; after the second battery receives the third voltage input by the charge pump chip and charges, the method also includes: the first charging management chip of the first device receives the third request information sent by the second charging management chip of the second device through the fast charging protocol, the third request information is used to request a current of the first current value, and the first current value and the first current value are different; the first charging management chip sends a third indication information to the boost chip, and the third indication information is used to instruct the boost chip to output a current of the first current value; the boost chip receives the voltage input by the first battery and outputs the second voltage and the second current of the first current value to the second device according to the third indication information.

[0038] In a possible implementation, the method further includes: the second device displays a first interface, the first interface includes fourth indication information, and the fourth indication information indicates that the charging mode is a super fast charging mode.

[0039] In a third aspect, the present application provides a first device, comprising a boost chip, a first battery and a first charging management chip, wherein: the first charging management chip is used to receive a first request message sent by a second device through a fast charging protocol, the first request message is used to request a voltage of a first voltage value, the first voltage value is determined by the second device based on the second voltage value and the ratio M corresponding to the charge pump chip of the second device, and the second voltage value is the charging voltage value required by the second battery of the second device obtained by the second device; the first charging management chip is used to send a first indication message to the boost chip, the first indication message is used to instruct the boost chip to output a voltage of the first voltage value; the first battery is used to output a first voltage to the boost chip; the boost chip is used to receive the first voltage input by the first battery and output a second voltage of the first voltage value to the second device according to the first indication message, the second voltage is used for the charge pump chip to receive the second voltage and output a third voltage, the third voltage is used to charge the second battery, the second voltage is M times the third voltage, and M is a positive number greater than 1.

[0040] The charge pump chip is used to output a voltage that is 1 / M times the input voltage by stepping down the voltage by a factor of M. In this case, the ratio of the input voltage to the output voltage of the charge pump chip is M:1. The charge pump chip can also be used to output a voltage that is M times the input voltage by stepping up the voltage by a factor of M. In this case, the ratio of the input voltage to the output voltage of the charge pump chip is 1:M. The boost chip is used to output a voltage greater than the input voltage in a continuous linear regulation manner. That is, the output voltage of the boost chip can be any value greater than the input voltage.

[0041] In the above method, the second device, which is the device to be charged, can request a voltage of a specific first voltage value from the first device through the fast charging protocol. The first device can instruct the boost chip to output a voltage of the first voltage value to the second device based on the request, and the first voltage value is determined based on the charging voltage value required by the second battery currently obtained and the fixed ratio M corresponding to the charge pump chip. This ensures that the voltage input by the first device to the second device is the charging voltage currently required by the second battery after being reduced by M times by the charge pump chip, thereby avoiding the situation where the voltage output by the charging device to the device to be charged does not meet the requirements of the device to be charged, resulting in inefficient charging process or even failure to charge normally. The charging process is more efficient and stable.

[0042] In a possible implementation, the first voltage value is M times the second voltage value.

[0043] In one possible implementation, the second voltage value is the charging voltage value required by the second battery with the obtained first power; the first charging management chip is further used to receive a second request information sent by the second device through the fast charging protocol after the boost chip receives the first voltage input by the first battery and outputs a second voltage of the first voltage value to the second device, the second request information is used to request a voltage of a third voltage value, the third voltage value is determined by the second device according to the fourth voltage value and the ratio M corresponding to the charge pump chip, the fourth voltage value is the charging voltage value required by the second battery with the obtained second power, and the third voltage value is M times the fourth voltage value; the first charging management chip is also used to send second indication information to the boost chip, the second indication information is used to instruct the boost chip to output a voltage of the third voltage value; the boost chip is also used to receive the first voltage input by the first battery and output a fourth voltage of the third voltage value to the second device according to the second indication information, the fourth voltage is used for the charge pump chip to receive the fourth voltage and output a fifth voltage, the fifth voltage is used to charge the second battery, and the fourth voltage is M times the fifth voltage.

[0044] In a possible implementation, the second electrical quantity is greater than the first electrical quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

[0045] In a possible implementation, the fast charging protocol is a smart charging protocol SCP, a fused fast charging protocol UFCS, or a quick charging protocol QC.

[0046] In a possible implementation, the first charging management chip is further configured to perform a handshake of the power transmission (PD) protocol with the second device, and identify the first device as a charging device and the second device as a device to be charged.

[0047] For example, after the first device receives the first user operation, the first charging management chip performs a handshake of the PD protocol with the second device, and identifies the first device as a charging device and the second device as a device to be charged. The first user operation is used to set the connection mode between the first device and the second device to a reverse charging mode.

[0048] In one possible implementation, the boost chip is further used to receive the first voltage input by the first battery according to the first indication information, and output the second voltage and the first current to the second device; the first charging management chip is further used to receive a third request information sent by the second device through the fast charging protocol, and the third request information is used to request a current of the first current value, and the first current value and the first current have different numerical values; the first charging management chip is also used to send a third indication information to the boost chip, and the third indication information is used to instruct the boost chip to output a current of the first current value; the boost chip is also used to receive the voltage input by the first battery and output the second voltage and the second current of the first current value to the second device according to the third indication information.

[0049] In the fourth aspect, the present application provides a second device, including a charge pump chip, a first battery and a first charging management chip, wherein: the first charging management chip is used to send a first request information to the first device through a fast charging protocol, the first request information is used to request a voltage of a first voltage value, the first voltage value is determined by the charge pump chip based on the second voltage value and the ratio M corresponding to the charge pump chip, and the second voltage value is the charging voltage value required by the first battery obtained by the charge pump chip; the charge pump chip is used to receive the first voltage input by the first device according to the first request information, and output a second voltage to the first battery, the first voltage is M times the second voltage, M is a positive integer greater than 1, and the value of the first voltage is the first voltage value; the first battery is used to receive the second voltage input by the charge pump chip and charge.

[0050] Among them, the charge pump chip is used to output a voltage with a value of 1 / M times the input voltage in an M-fold step-down manner. At this time, the ratio of the input voltage and the output voltage of the charge pump chip is M:1. The charge pump chip can also be used to output a voltage with a value of M times the input voltage in an M-fold step-up manner. At this time, the ratio of the input voltage and the output voltage of the charge pump chip is 1:M.

[0051] In the above method, the second device, which is the device to be charged, can request a voltage of a specific first voltage value from the first device through the fast charging protocol. The first device can output a voltage of the first voltage value to the second device according to the request, and the first voltage value is determined based on the charging voltage value required by the first battery currently obtained and the fixed ratio M corresponding to the charge pump chip. In this way, it can be ensured that the voltage input by the first device to the second device is the charging voltage currently required by the first battery after being reduced by M times by the charge pump chip, thereby avoiding the situation where the voltage output by the charging device to the device to be charged does not meet the requirements of the device to be charged, resulting in inefficient charging process or even failure to charge normally. The charging process is more efficient and stable.

[0052] In a possible implementation, the first voltage value is M times the second voltage value, the first voltage is output by a boost chip of the first device receiving a third voltage input from a second battery of the first device, and the first voltage is greater than the third voltage.

[0053] The boost chip is used to output a voltage greater than the input voltage in a continuous linear regulation manner, that is, the output voltage of the boost chip is any value greater than the input voltage.

[0054] In the above method, the first device, acting as the charging device, can use a boost chip to boost the voltage provided by the second battery and output the voltage to the second device. The second device, acting as the device to be charged, can use a charge pump chip to step down the voltage input from the first device by a factor of M and output the voltage to charge the first battery. Both the boost chip and the charge pump chip can provide relatively high output voltages, thereby increasing the power of wired reverse charging and, in turn, the charging speed. Furthermore, the voltage output by the boost chip of the charging device to the charge pump chip of the device to be charged can be continuously and linearly adjusted. Regardless of the voltage value required by the battery of the device to be charged, the boost chip can output M times that voltage value to the charge pump chip, so that the charge pump chip inputs that voltage value to charge the first battery. This avoids the situation where the voltage output by the first battery and the voltage output by the second battery do not match the fixed ratio M, resulting in a failure to charge normally (e.g., an error message and charging cessation). This allows for high-power, high-speed wired reverse charging in common scenarios.

[0055] In one possible implementation, the second voltage value is the charging voltage value required by the second battery of the first power obtained; the first charging management chip is also used to, after the first battery receives the second voltage input by the charge pump chip and charges, make a second request for information to the first device through the fast charging protocol, the second request information being used to request a third voltage value, the third voltage value being determined by the charge pump chip based on the fourth voltage value and the ratio M corresponding to the charge pump chip, the fourth voltage value being the charging voltage value required by the second battery of the second power obtained by the charge pump chip, the third voltage value being M times the fourth voltage value; the charge pump chip is also used to receive the fourth voltage input by the first device according to the second request information, and output a fifth voltage to the first battery, the fourth voltage being M times the fifth voltage, and the value of the fourth voltage being the third voltage value; the first battery is also used to receive the fifth voltage input by the charge pump chip and charge.

[0056] In a possible implementation, the second electrical quantity is greater than the first electrical quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

[0057] In a possible implementation, the fast charging protocol is a smart charging protocol SCP, a fused fast charging protocol UFCS, or a quick charging protocol QC.

[0058] In a possible implementation, the first charging management chip is further configured to perform a power transmission (PD) protocol handshake with the first device, and identify the first device as a charging device and the second device as a device to be charged.

[0059] In one possible implementation, the charge pump chip is also used to receive the first voltage and the first current input by the first device according to the first request information, and output the second voltage and the second current to the first battery, and the second current is related to the first current; the first battery is also used to receive the second voltage and the second current input by the charge pump chip and charge; the first charging management chip is also used to send a third request information to the first device through the fast charging protocol, and the third request information is used to request a current of the first current value, and the first current value is different from the first current value; the charge pump chip is also used to receive the first voltage and the third current input by the first device according to the third request information, and output the second voltage and the fourth current to the first battery, the value of the third current is the first current value, and the fourth current is related to the third current; the first battery is also used to receive the second voltage and the fourth current input by the charge pump chip and charge.

[0060] In one possible implementation, the second device includes a display screen, and the display screen is used to display a first interface. The first interface includes indication information, and the indication information indicates that the charging mode is a super fast charging mode.

[0061] In a fifth aspect, the present application provides a computer storage medium storing a computer program. When the computer program is executed by a processor, it implements the second aspect of the present application and the charging method provided by any implementation of the second aspect.

[0062] In a sixth aspect, the present application provides a computer program product, which, when running on an electronic device, enables the electronic device to implement the second aspect of the present application, as well as the charging method provided in any one of the implementations of the second aspect.

[0063] In a seventh aspect, an embodiment of the present application provides an electronic device, the electronic device including a method or apparatus for executing any implementation of the present application. The electronic device is, for example, a chip.

[0064] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single implementation. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one implementation. Therefore, the description of a technical feature, technical solution or beneficial effect in this specification does not necessarily refer to the same implementation. Furthermore, the technical features, technical solutions and beneficial effects described in this implementation can also be combined in any appropriate manner. Those skilled in the art will understand that this application can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific implementation. In other implementations, additional technical features and beneficial effects can also be identified in specific implementations that do not embody all implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] The following is an introduction to the drawings used in this application.

[0066] FIG1 is a schematic diagram of a wired reverse charging scenario provided by the present application;

[0067] FIG2 is a schematic diagram of the hardware structure of an electronic device provided by the present application;

[0068] FIG3 is a schematic diagram of the architecture of a wired reverse charging system provided by the present application;

[0069] FIG4 is a schematic diagram of another architecture of wired reverse charging provided by the present application;

[0070] FIG5 is a schematic diagram of another architecture of wired reverse charging provided by the present application;

[0071] FIG6 is a schematic diagram of the architecture of a charging system provided by the present application;

[0072] FIG7 is a schematic diagram of a user interface provided by the present application;

[0073] FIG8 is a schematic diagram of another user interface provided by the present application;

[0074] FIG9 is a flow chart of a charging method provided in the present application. DETAILED DESCRIPTION

[0075] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present application, not all of them. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of this application.

[0076] In the description of the embodiments of this application, unless otherwise specified, " / " means or. For example, A / B can mean A or B. The term "and / or" in this text is simply a description of an association relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "plurality" means two or more than two.

[0077] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0078] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or advantageous than other embodiments or designs.

[0079] An embodiment of the present application provides an electronic device, which may be, for example, a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), as well as smart home devices such as smart TVs and smart cameras, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices, or smart city devices. The embodiments of the present application do not impose any special restrictions on the specific type of electronic device.

[0080] The electronic device provided in the embodiment of the present application can not only be used to charge the battery in the electronic device, but also use the battery as a power source to power an external electronic device (which may be referred to as an external device). Among them, the process of charging the battery in the electronic device by wired or wireless means is forward charging. For example, wired forward charging is to charge the battery in the electronic device through a power adapter. For example, wireless forward charging is to charge the battery in the electronic device through a wireless charging base. The process of charging an external device by an electronic device using the electrical energy stored in its own battery by wired or wireless means is reverse charging. In this case, the electronic device can be called a charging device and the external device can be called a device to be charged. For example, wired reverse charging is to connect an external device to the device via a universal serial bus (USB) or an on-the-go (OTG) cable and charge it. For specific examples, see Figure 1 below. For example, wireless reverse charging is to charge other external devices that support wireless charging by transmitting a wireless charging signal through a wireless coil.

[0081] Please refer to FIG1 , which exemplarily shows a schematic diagram of a wired reverse charging scenario.

[0082] As shown in Figure 1, the interface 100-1 of the electronic device 100 is connected to the interface 200-1 of the electronic device 200 through the cable 300. The cable 300 can be, but is not limited to, a USB or OTG cable, and the interface 100-1 or the interface 200-1 can be, but is not limited to, a Mini USB interface, a Micro USB interface, a USB Type C interface, a Dock interface, or a Lightning interface. In some scenarios, the electronic device 100 can be used as a charging device to charge the electronic device 200 (the device to be charged). For example, the electronic device 100 can use the battery as a power source to output the charging voltage and current through the interface 100-1, and the electronic device 200 can receive the charging voltage and current transmitted through the cable 300 through the interface 200-1 and charge the battery in the electronic device 200. In other scenarios, the electronic device 200 can also be used as a charging device to charge the electronic device 100 (the device to be charged). The specific examples are similar to the above examples and will not be repeated here. It can be understood that the charging device and the device to be charged in wired reverse charging are relative role concepts, not physical concepts.

[0083] Please refer to FIG. 2 , which exemplarily shows a hardware structure diagram of an electronic device 100 .

[0084] It should be understood that the electronic device 100 shown in FIG2 is merely an example of an electronic device, and that the electronic device 100 may have more or fewer components than shown, may combine two or more components, or may have a different component configuration. The various components shown in FIG2 may be implemented in hardware, including one or more signal processing and / or application specific integrated circuits, software, or a combination of hardware and software.

[0085] As shown in Figure 2, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0086] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution.

[0087] Processor 110 may also include a memory for storing instructions and data. In one embodiment, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0088] In one embodiment, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0089] The USB interface 130 is an interface that complies with USB standards and specifications, and may be, but is not limited to, a Mini USB interface, a Micro USB interface, or a USB Type-C interface. The USB interface 130 can be used to connect a power adapter for forward charging of the electronic device 100, to connect a device to be charged for reverse charging, and to transfer data between the electronic device 100 and other devices. The processor 110 can be connected to the USB interface 130 and, based on signals from the USB interface 130, determine the type of device connected to the USB interface 130.

[0090] The charging management module 140 can be used to receive charging input from a charger to implement the forward charging process of the electronic device 100. The charger can be a wireless charger (such as the above-mentioned wireless charging base) or a wired charger (such as the above-mentioned power adapter). In some embodiments of wired forward charging, the charging management module 140 can receive charging input from the wired charger through the USB interface 130. In some embodiments of wireless forward charging, the charging management module 140 can receive wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also power the electronic device 100 through the power management module 141.

[0091] In the embodiment of the present application, the charging management module 140 can also be used to output power to the outside to reverse charge an external device. In this case, the electronic device 100 is the charging device and the external device is the device to be charged. In some embodiments of wired reverse charging, the processor 110 can control the charging management module 140 to convert the voltage provided by the battery 142 into a voltage for charging the device to be charged connected to the USB interface 130, thereby charging the device to be charged. The voltage and current output by the charging management module 140 to charge the device to be charged are adjustable.

[0092] The charging management module 140 can also be used to receive charging input from an external device, thereby implementing a charging process in which the external device acts as a charging device and the electronic device 100 acts as a device to be charged. In some wired charging implementations, the charging management module 140 can receive the charging voltage and current provided by the charging device through the USB interface 130.

[0093] In one embodiment, the charge management module 140 may include, but is not limited to, at least one of the following chips (e.g., an integrated circuit (IC)): a buck charger chip, a charge pump chip, and a boost chip. The buck charger chip can step down the input voltage to output a voltage lower than the input voltage, which is referred to as a forward buck function. The buck charger chip can also step up the input voltage to output a voltage higher than the input voltage, which is referred to as a reverse boost function. The charge pump chip can increase the input voltage by a factor of N (i.e., the input voltage and output voltage have a 1:N relationship), which is referred to as a boost function. The charge pump chip can also step down the input voltage by a factor of M (i.e., the input voltage and output voltage have an M:1 relationship), which is referred to as a buck function. Both N and M are positive numbers greater than 1, meaning that the input and output voltages of the charge pump chip are proportional. The boost chip can step up the input voltage to output a voltage higher than the input voltage, and the boost chip can continuously and linearly adjust the output voltage.

[0094] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In another embodiment, the power management module 141 can also be set in the processor 110. In another embodiment, the power management module 141 and the charging management module 140 can also be set in the same device.

[0095] The wireless communication function of the electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, and a baseband processor. In one embodiment, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.

[0096] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. The GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information. Display screen 194 is used to display images, videos, and the like.

[0097] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0098] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0099] The hardware structure example of the electronic device 200 is similar to the hardware structure of the electronic device 100 shown in FIG. 2 , and thus will not be described in detail.

[0100] For ease of explanation, the following embodiments illustrate the wired reverse charging process using electronic device 100 as the charging device and electronic device 200 as the device to be charged. Currently, the wired reverse charging process can be implemented using method 1 shown in FIG3 , method 2 shown in FIG4 , or method 3 shown in FIG5 .

[0101] Please refer to FIG3 , which exemplarily shows a schematic diagram of the architecture of wired reverse charging implemented by the first method.

[0102] As shown in Figure 3, the electronic device 100 may include a battery 410 and a buck charger chip 420, and the electronic device 200 may include a buck charger chip 430 and a battery 440. During wired reverse charging, the battery 410 of the electronic device 100 can provide a voltage 11 to the buck charger chip 420. The buck charger chip 420 can boost the input voltage 11 through a reverse boost function and output a voltage 12 greater than the voltage 11. The voltage 12 and the corresponding current output by the buck charger chip 420 can be transmitted to the electronic device 200 through the cable 300. The buck charger chip 430 of the electronic device 200 can buck the input voltage 12 through a forward buck function and output a voltage 13 less than the voltage 12. The voltage 13 output by the buck charger chip 430 can be provided to the battery 440 for charging.

[0103] Due to the limitations of the structure, working mode and power inductance of the buck charging chip itself, the voltage 12 output by the buck charging chip 420 through the reverse boost function is a small fixed value, such as approximately 5 volts (volt, V), and the voltage 13 output by the buck charging chip 430 for charging the battery 440 is also a small fixed value, resulting in a small reverse charging power, such as approximately 6 watts (watt, W). Therefore, the speed of wired reverse charging implemented by method one is very low, and fast charging cannot be achieved, which seriously affects the user experience.

[0104] Please refer to FIG4 , which exemplarily shows a schematic diagram of the architecture of wired reverse charging implemented by the second method.

[0105] As shown in Figure 4, the electronic device 100 may include a battery 510 and a boost chip 520, and the electronic device 200 may include a step-down charging chip 530 and a battery 540. When performing wired reverse charging, the electronic device 100 and the electronic device 200 can handshake and communicate through the battery charging (BC) protocol. The BC protocol can be a BC1.2 protocol. The output voltage of the BC1.2 protocol can be 5V, and the current value can be 1.5 amperes (A) or 2A. Based on the BC protocol, the battery 510 of the electronic device 100 can provide a voltage 21 to the boost chip 520. The boost chip 520 can boost the input voltage 21 and output a voltage 22 greater than the voltage 21. The voltage 22 and the corresponding current output by the boost chip 520 can be transmitted to the electronic device 200 through the cable 300. The buck charging chip 530 of the electronic device 200 can step down the input voltage 22 through the forward buck function and output a voltage 23 that is lower than the voltage 22 . The voltage 23 output by the buck charging chip 530 can be provided to the battery 540 for charging.

[0106] Due to the limitations of the structure, working mode and power inductance of the buck charging chip 530 of the other end (i.e., the electronic device 200), the charging protocol that can be used is generally a non-fast charging protocol such as the BC protocol. The voltage 22 provided by the boost chip 520 based on the BC protocol is also relatively small, for example, about 5V, and the corresponding current is also relatively small, for example, about 2A. The voltage 23 output by the buck charging chip 530 for charging the battery 540 is also a relatively small fixed value, resulting in a relatively small reverse charging power. Therefore, the speed of wired reverse charging implemented by method 2 is very low, and fast charging cannot be achieved, which seriously affects the user experience.

[0107] Please refer to FIG5 , which exemplarily shows a schematic diagram of the architecture of wired reverse charging implemented by the third method.

[0108] As shown in FIG5 , electronic device 100 may include a battery 610 and a charge pump chip 620, and electronic device 200 may include a charge pump chip 630 and a battery 640. During wired reverse charging, battery 610 of electronic device 100 may provide voltage 31 to charge pump chip 620. Charge pump chip 620 may boost input voltage 31 by a factor of N and output voltage 32, where voltage 32: voltage 31 = N:1. The voltage 32 and corresponding current output by charge pump chip 620 may be transmitted to electronic device 200 via cable 300. Charge pump chip 630 of electronic device 200 may step down input voltage 32 by a factor of M and output voltage 33, where voltage 33: voltage 32 = 1:M. The voltage 33 output by charge pump chip 630 may be provided to battery 640 for charging.

[0109] The structure and working mode of the charge pump chip itself enable the charge pump chip to provide a higher output voltage and withstand a higher input voltage. Therefore, the voltage 33 for charging the battery 640 can be larger, and the reverse charging power is also larger, which can achieve fast charging. However, the output voltage and input voltage of the charge pump chip are in a fixed ratio. If the voltage 31 that the battery 610 of the electronic device 100 can provide and the charging voltage 33 required by the battery 640 of the electronic device 200 cannot match the fixed ratio, for example, assuming that N is 2, M is 2, the voltage that the battery 610 can provide is 4V, and the charging voltage required by the battery 640 of the battery 200 is 3V, if the output voltage of the charge pump chip 630 is to be the charging voltage required by the battery 640 (3V), the input voltage needs to be M times the output voltage, that is, 6V. However, the output voltage obtained by the charge pump chip 620 after N-fold boosting of the input voltage (4V) is 8V, not 6V. If the charge pump chip 620 outputs a voltage of 8V to the charge pump chip 630, the voltage output by the charge pump chip 630 at this time is 4V, which is different from the charging voltage of 3V required by the battery 640, which may cause an abnormal error and fail to charge normally. Therefore, although the wired reverse charging implemented in method three can achieve a faster charging speed, it can only be applied when voltage 31 and voltage 33 match the fixed ratio corresponding to the charge pump chip, resulting in abnormal errors between many devices and failure to charge normally.

[0110] The present application provides a charging method, which is applied to a charging system and can solve the technical problems existing in the above-mentioned methods 1, 2 and 3. An example of a charging system can be seen in Figure 6 below.

[0111] Please refer to FIG6 , which is a schematic diagram of the architecture of a charging system 10 provided in this application.

[0112] As shown in Figure 6, the charging system 10 may include an electronic device 100 and an electronic device 200. The electronic device 100 as the charging device and the electronic device 200 as the charged device may be connected via a cable 300. The electronic device 100 may include a power delivery (PD) chip 710, a protocol chip 720, a boost chip 730, and a battery 740. The electronic device 200 may include a PD chip 810, a protocol chip 820, a charge pump chip 830, and a battery 840. Among them:

[0113] The PD chip 710 can be used to perform a handshake with the PD chip 810 of the other end through the PD protocol after the electronic device 100 and the electronic device 200 are connected through the cable 300 to identify the host / slave, for example, to determine whether the electronic device 100 is a charging device (i.e., a host) or a charged device (i.e., a slave), so as to be used for subsequent charging in the charging direction of the host supplying power to the slave. Figure 6 illustrates the electronic device 100 as the host and the electronic device 200 as the slave. In one embodiment, the PD chip 710 / PD chip 810 can also be used to implement switching of the charging direction, for example, determining the electronic device 100 that was originally the host as a slave, and determining the electronic device 200 that was originally the slave as the host. The PD chip 710 and the PD chip 810 can communicate through the configuration channel (CC) pin of the cable 300.

[0114] The protocol chip 720 can be used to handshake and communicate with the protocol chip 820 of the other end through the fast charging protocol, for example, to negotiate the voltage / current / power output by the electronic device 100 to the electronic device 200 through the fast charging protocol. The fast charging protocol may include, but is not limited to, the smart charger protocol (SCP), the universal fast charging specification (UFCS) and the quick charge (QC) protocol. The protocol chip 720 can also be used to notify the boost chip 730 of the charging voltage / current / power negotiated through the fast charging protocol, so that the boost chip 730 outputs the corresponding voltage and current. The protocol chip 720 and the protocol chip 820 can communicate through the CC pin of the cable 300.

[0115] The battery 740 can be connected to the boost chip 730, for example, through a dedicated pin (VBAT) for battery operating mode. The battery 740 can be used to output voltage and current to the boost chip 730. Optionally, the voltage and current output by the battery 740 are related to the power level of the battery 740. When the power level of the battery 740 is different, the output voltage and current are also different. The boost chip 730 can be used to boost the input voltage and output a higher voltage. For example, the boost chip 730 can be used to receive instructions from the protocol chip 720 and output a voltage corresponding to the communication content of the fast charging protocol. The boost chip 730 can output the boosted voltage and corresponding current to the charge pump chip 830 through the cable 300 (for example, the CC pin and / or the power supply pin (VBUS) therein).

[0116] The battery 840 can be connected to the charge pump chip 830, for example, through the VBAT pin. The charge pump chip 830 can obtain the charging voltage value required by the battery 840, and determine the charging voltage value required by the electronic device 200 based on the value and the fixed ratio M corresponding to the charge pump chip 830, that is, the value of the voltage to be input to the charge pump chip 830. The charge pump chip 830 can send the determined charging voltage value required by the electronic device 200 to the protocol chip 820, and the protocol chip 820 notifies the protocol chip 720 of the charging voltage value through the fast charging protocol. The charge pump chip 830 can be used to receive the output voltage of the boost chip 730 as input and perform M times the voltage reduction on the input voltage. The charge pump chip 830 can output the reduced voltage to the battery 840 to charge the battery 840. It can also be understood that the charge pump chip 830 is used to convert the charging power output by the opposite end (electronic device 100) and charge the battery 840.

[0117] In some embodiments of wired reverse charging, first, the PD chip 710 of the electronic device 100 and the PD chip 810 of the electronic device 200 perform a handshake of the PD protocol to determine that the electronic device 100 is the host and the electronic device 200 is the slave. Then, the charge pump chip 830 of the electronic device 200 can obtain the charging voltage required by the battery 840 (represented as V1) and the fixed ratio (i.e., M) when the charge pump chip 830 performs voltage reduction, and determines the charging voltage V2=MV1 required by the electronic device 200 based on the information obtained, and then sends V2 to the protocol chip 820. When the protocol chip 720 of the electronic device 100 and the protocol chip 820 of the electronic device 200 communicate through the fast charging protocol, the protocol chip 820 can send the charging voltage V2 required by the electronic device 200 to the protocol chip 720. Under the instruction of the protocol chip 720, the boost chip 730 of the electronic device 100 can boost the voltage input from the battery 740 and output the voltage V2 to the electronic device 200. The charge pump chip 830 of the electronic device 200 can step down the voltage V2 input by the electronic device 100 by M times, and output the voltage V1 to the battery 840 for charging. It can be understood that as the charging time increases, the power of the battery 840 of the electronic device 200 will gradually increase. Correspondingly, the charging voltage required by the battery 840 will also gradually increase. Therefore, the charging voltage required by the electronic device 200 will also gradually increase. The protocol chip 720 of the electronic device 100 can obtain the real-time charging voltage required by the electronic device 200 based on the fast charging protocol, and instruct the boost chip 730 to output the charging voltage to the electronic device 200. The charging voltage required by the battery 840 is continuously changing. The boost chip 730 can output a voltage related to the charging voltage and continuously changing to the electronic device 200, which well meets the charging needs of the electronic device 200.

[0118] In the architecture shown in FIG6 , the electronic device 100 as the charging device can boost the voltage provided by the battery 740 through the boost chip 730, and the electronic device 200 as the device to be charged can step down the output voltage of the boost chip 730 by M times through the charge pump chip 830 and use the output voltage to charge the battery 840. Both the boost chip 730 of the charging device and the charge pump chip 830 of the device to be charged can provide a higher output voltage, that is, a larger charging power, which can achieve fast charging, solving the technical problems existing in the above-mentioned methods 1 and 2. In addition, the voltage output by the boost chip 730 of the charging device to the charge pump chip 830 can be continuously and linearly adjusted. Regardless of the input voltage required by the battery 840 of the other end (electronic device 200), the boost chip 730 can output M times the input voltage required by the battery 840 to the charge pump chip 830, solving the problem that the above-mentioned method 3 can only be applied to specific situations, and realizes high-power (for example, greater than or equal to 22.5W) and high-speed wired reverse charging in a wide range of scenarios, thereby improving the user experience.

[0119] In addition, the charging parties can negotiate the charging power / voltage / current through the fast charging protocol, so that the charging device can output the charging voltage required by the device to be charged for charging. Moreover, as the charging process progresses, the charging voltage required by the device to be charged changes continuously. The device to be charged can notify the charging device of the new charging voltage through the fast charging protocol, so that the charging device outputs the corresponding, continuously changing charging voltage to the device to be charged, ensuring that the entire charging process can proceed normally and efficiently. In other words, the voltage and current in the entire charging process can be dynamically adjusted, which better realizes the control of the charging process and has strong flexibility.

[0120] It is understandable that any module included in the electronic device 100 shown in FIG6 may be a hardware module or a software module. Any of the above modules may be a separate module, or at least one of the above modules may be integrated together. For example, the protocol chip and the PD chip in the electronic device 100 and / or the electronic device 200 may be integrated together. The integrated chip may be referred to as a charging management chip, which is not limited in this application.

[0121] In some embodiments, the hardware structure of the electronic device 100 shown in Figure 6 is as shown in Figure 2, wherein at least one of the PD chip 710, protocol chip 720 and boost chip 730 shown in Figure 6 can belong to the charging management module 140, or the processor 110, or the power management module 141 shown in Figure 2.

[0122] In some embodiments, the hardware structure of the electronic device 200 shown in Figure 6 is as shown in Figure 2, wherein at least one of the PD chip 810, protocol chip 820 and charge pump chip 830 shown in Figure 6 can belong to the charging management module 140 shown in Figure 2, or the processor 110, or the power management module 141.

[0123] Next, the application scenarios involved in this application and the user interfaces in the application scenarios are introduced by way of example.

[0124] Please refer to FIG7 , which exemplarily shows a user interface diagram of a wired reverse charging scenario.

[0125] As shown in FIG7 , after electronic device 100 and electronic device 200 are connected via cable 300 (using a USB cable as an example), electronic device 100 may display user interface 1100. In one embodiment, user interface 1100 may be a desktop. User interface 1100 may include icons for multiple applications and a prompt box 1110. Prompt box 1110 may include a title 1111 ("USB connection mode") and multiple USB mode options. The multiple USB mode options may include, for example, option 1112 for "transfer file" mode, option 1113 for "charge only" mode, and option 1114 for "reverse charge" mode. When option 1112 is selected, electronic device 100 and electronic device 200 may transfer data such as text, images, and files via cable 300. Option 1113 may also be understood as an option for "forward charge" mode. When option 1113 is selected, electronic device 100 may receive voltage and current input from electronic device 200 to charge its own battery. Option 1114 may include a description of "Powering the connected device". When option 1114 is selected, the electronic device 100 may output voltage and current to the electronic device 200 to charge the electronic device 200. The prompt box 1110 also includes a cancel option 1115. The cancel option 1115 is used to cancel all USB modes, that is, the electronic device 100 and the electronic device 200 will not perform the transmission process through the cable 300. When option 1114 is selected in the user interface 1100, it can indicate that the currently selected USB connection mode is reverse charging. Therefore, the electronic device 100 can output voltage and corresponding current to the electronic device 200 through the boost chip, and the electronic device 200 can use the charge pump chip to step down the received voltage and charge the battery. At this time, the electronic device 200 can display the user interface 1200. In one embodiment, the user interface 1200 is a lock screen interface.

[0126] As shown in Figure 7, the user interface 1200 displayed by the electronic device 200 may include a status bar 1210 at the top, a prompt message of "Use fingerprint to unlock", a charging animation 1220, a charging prompt message 1230 and time information. Among them, the status bar 1210 may include an indicator of the mobile communication network, an indicator of the WLAN network, an indicator of the battery level (indicating that the current level is 48% of the total level) and an icon 1211 (indicating that the current charging mode is super fast charging mode). The charging animation 1220 may include an indicator 1221 of the charging progress and a prompt message 1222 (including the characters "super fast charging"). The indicator 1221 indicates that the current charge is to 48.2% of the total level and that the current charging mode is super fast charging mode. The prompt message 1230 includes the characters "Super fast charging 48%".

[0127] Figure 7 illustrates the selection of a USB connection mode on the electronic device 100 as an example. In another embodiment, the USB connection mode can also be selected on the electronic device 200. For example, after the electronic device 100 and the electronic device 200 are connected via the cable 300, the electronic device 200 can display the prompt box 1110 in the user interface 1100 shown in Figure 7. This application does not limit this.

[0128] Not limited to the embodiment shown in FIG7 , in another embodiment, the electronic device 200 may first display a prompt message, such as “Do you want to charge?” After the electronic device 200 receives the user operation, it charges based on the voltage and current provided by the electronic device 100. This can be understood as charging with the user's permission.

[0129] In one embodiment, after the embodiment shown in FIG7 , the electronic device 100 may switch the USB connection mode in response to a user operation, such as switching the USB connection mode through the notification bar of the electronic device 100 as shown in FIG8 below. This application does not limit the specific method for selecting the USB connection mode.

[0130] Please refer to FIG8 , which exemplarily shows a user interface diagram for switching USB connection modes.

[0131] As shown in FIG8(A), electronic device 100 may display user interface 1300. In one embodiment, user interface 1300 may be a notification interface displayed by electronic device 100 in response to a user swiping down from the top edge of the screen. User interface 1300 may include notification bar 1310, which may include application information 1311, notification information 1312, and prompt information 1313. Application information 1311 may include "Settings" and "Just Now," indicating that notification bar 1310 is used to display information related to the settings application and that the information in notification bar 1310 was displayed within one minute (i.e., "Just Now"). Notification information 1312 may include "USB Connected (Reverse Charging)," indicating that electronic device 100 is connected to another device (i.e., electronic device 200) via a USB interface and that the connection mode is reverse charging, i.e., a mode in which electronic device 100 outputs voltage and current to electronic device 200 to charge electronic device 200. Prompt information 1313 may include "Click to view more options," prompting the user to view more information, such as other USB connection modes, through notification bar 1310. The electronic device 100 can receive a user operation (such as a click operation) on the notification bar 1310, and in response to the user operation, display a setting interface for the USB connection mode. For a specific example, see the user interface 1400 shown in (B) of Figure 8.

[0132] As shown in FIG8(B), user interface 1400 may include a setting name 1410 (including "USB connection mode") and multiple USB mode options. The multiple USB mode options include, for example, a "file transfer" mode option 1420, a "charge only" mode option 1430, and a "reverse charge" mode option 1440. The specific description is similar to the description of the multiple USB mode options in prompt box 1110 included in user interface 1100 shown in FIG7 and will not be repeated here. Option 1440 in user interface 1400 is selected, indicating that the current USB connection mode is reverse charge. The user can also operate other options in the multiple USB mode options except the "reverse charge" mode option to switch the USB connection mode to another mode. In some examples, in response to a user operation (e.g., a click operation) on option 1430, electronic device 100 can switch the USB connection mode to "charge only", i.e., a mode in which electronic device 100 receives the voltage and current output by another device (i.e., electronic device 200) connected via the USB interface and charges the battery.

[0133] FIG8 illustrates switching the USB connection mode on the electronic device 100 as an example. In another embodiment, the USB connection mode may also be switched on the electronic device 200. The specific example is similar to that in FIG8 and will not be described in detail.

[0134] Based on the above embodiments, the charging method provided by the embodiments of the present application is introduced below.

[0135] Please refer to Figure 9, which is a flow chart of a charging method provided in an embodiment of the present application. The method can be applied to the scenario shown in Figure 1. The method can be applied to the charging system 10 shown in Figure 6. The method may include but is not limited to the following steps:

[0136] S101: The electronic device 100 and the electronic device 200 perform a handshake via the PD protocol to determine the charging device and the charged device.

[0137] In one embodiment, after electronic device 100 and electronic device 200 are connected via cable 300, they can perform a handshake using the PD protocol to determine the charging device and the charged device, and then charge according to the charging direction of the voltage and current sent by the charging device to the charged device. In some examples, electronic device 100 and electronic device 200 can determine the charging device and the charged device based on the level of the CC pin in the USB interface.

[0138] In one embodiment, the electronic device 100 and the electronic device 200 can determine the charging device and the charged device according to a preset rule, such as randomly selecting one of them as the charging device, or for example, the electronic device 100 or the electronic device defaults to the charging device. In another embodiment, the electronic device 100 and / or the electronic device 200 can determine the charging device and the charged device in response to user operations. For example, in the scenario shown in Figure 7, the electronic device 100 can display a prompt box 1110, then receive a user operation for option 1113 or option 1114, and determine the corresponding USB connection mode according to the option selected by the user operation, as well as the charging device and the charged device under the current USB connection mode.

[0139] In one embodiment, after the electronic device 100 and the electronic device 200 determine the charging device and the charged device, they can also switch roles / charge direction. For example, in the scenario shown in Figure 8, after the electronic device 100 and the electronic device 200 determine that the electronic device 100 is the charging device and the electronic device 200 is the charged device, the electronic device 100 can respond to the user operation and display the user interface 1400 shown in Figure 8, and then respond to the user operation on option 1430 in the user interface 1400 to determine that the electronic device 100 is the charged device and the electronic device 200 is the charging device.

[0140] FIG9 illustrates an example in which the electronic device 100 is a charging device and the electronic device 200 is a charged device.

[0141] S102: The electronic device 200 recognizes that the interface 200-1 is a dedicated charging port (DCP).

[0142] In one embodiment, after the electronic device 200 determines the charging device and the charged device, the electronic device 200 as the charged device can identify the type of the interface 200-1 connected to the electronic device 100 (which is also the interface 200-1 into which the cable 300 is inserted). When it is identified that the interface 200-1 is of the DCP type, the electronic device 200 that supports the first fast charging protocol can try the first fast charging protocol (for example, execute S104) to determine whether the electronic device 100 supports the first fast charging protocol. Among them, when the interface of the electronic device is of the DCP type, charging can only be performed through the interface without data transmission. The first fast charging protocol may be, but is not limited to, SCP or UFCS.

[0143] S103: The electronic device 100 controls the data positive signal pin (DP / D+) and the data negative signal pin (DM / D-) in the interface 100-1 to be short-circuited.

[0144] In one embodiment, after the electronic device 100 determines the charging device and the charged device, the electronic device 100 as the charging device can simulate the action of a charger, that is, control the D+ pin and D- pin in the interface 100-1 connected to the electronic device 200 (which is also the interface 200-1 into which the cable 300 is inserted) to be short-circuited.

[0145] The order of S102 and S103 is not limited, and they may be executed simultaneously, for example.

[0146] S104: The electronic device 200 sends a first level on the D+ pin in the interface 200-1.

[0147] In one embodiment, the electronic device 200, as the charged device, may attempt to perform a handshake of a first fast charging protocol with the charging device at the other end, i.e., send a first level on the D+ pin, for example, the first level is 0.6 V. In some examples, the first fast charging protocol is SCP, and S104 may be referred to as trying SCP.

[0148] S105 : When the electronic device 100 detects a first electrical level at the D+ pin, the D+ pin and the D− pin are disconnected after a first time period.

[0149] In one embodiment, when the D+ pin in the interface 100-1 detects the first level sent by the electronic device 200, the electronic device 100 disconnects the short circuit between the D+ pin and the D- pin in the interface 100-1 after a first time period (eg, 1 second).

[0150] S106: When the electronic device 200 detects that the level of the D-pin is the first level within the first time period and is not the first level after the first time period, it determines that the electronic device 100 supports the first fast charging protocol.

[0151] In one embodiment, after the electronic device 200 sends the first level on the D+ pin in the interface 200-1, it can continuously detect the level of the D- pin in the interface 200-1. When the electronic device 200 detects that the level of the D- pin is the first level within the first time period and is not the first level after the first time period, for example, the electronic device 200 detects that the level of the D- pin is 0.6V within 1 second and drops to 0 after 1 second, the electronic device 200 can determine that the electronic device 100 also supports the first fast charging protocol.

[0152] The order of S105 and S106 is not limited, and they may be executed simultaneously, for example.

[0153] S107 : The electronic device 200 sends first request information to the electronic device 100 .

[0154] In one embodiment, S107 is an optional step.

[0155] In one embodiment, after the electronic device 200 determines that the electronic device 100 supports the fast charging protocol, it can send a first request message to the electronic device 100 to perform a handshake of the first fast charging protocol. S107 can be understood as the beginning of the handshake. In some examples, the first fast charging protocol is SCP, and S107 can be specifically as follows: the electronic device 200 sends a ping signal on the D- pin in the interface 200-1, for example, sending a preset value (such as 0.6V).

[0156] S108 : The electronic device 100 sends first response information to the electronic device 200 .

[0157] In one embodiment, S108 is an optional step.

[0158] In one embodiment, after the electronic device 100 receives the first request information sent by the electronic device 100, it can send a first response information to the electronic device 200 to perform a handshake of the first fast charging protocol, and S108 can be understood as the end of the handshake. In some examples, the first fast charging protocol is SCP, and S108 can be specifically as follows: the electronic device 100 sends a response signal on the D- pin in the interface 100-1, for example, sending a preset value (such as 0.6V) level.

[0159] S109 : The electronic device 200 obtains information of the electronic device 100 .

[0160] In one embodiment, S109 is an optional step.

[0161] In one embodiment, after the electronic device 100 and the electronic device 200 perform a handshake of the first fast charging protocol (i.e., S107-S108), the "charger" information reading process can be performed, that is, the electronic device 200 as the charged device can obtain the information of the electronic device 100 as the charging device. The obtained information includes, for example, but not limited to: supported charging power, supported maximum output voltage, supported maximum output current, etc. In some examples, the electronic device 200 can send request information to the electronic device 100, and the electronic device 100 can send the information of the electronic device 200 to the electronic device 200 based on the received request information.

[0162] S110 : The electronic device 200 sends second request information (including a second voltage value) to the electronic device 100 .

[0163] In one embodiment, the electronic device 200 may include a charge pump chip and a battery. The charge pump chip can be used to reduce the input voltage by M times, that is, the input voltage of the charge pump chip is M times the output voltage, and M is a positive number greater than 1. For details, please refer to the description of the charge pump chip in Figures 1 and 6.

[0164] In one embodiment, the electronic device 200 can obtain the power level of the battery in the electronic device 200 (which can be referred to as the first power level) and determine the required charging voltage of the battery based on the first power level (which can be referred to as the first voltage value, represented as V1). The electronic device 200 can also obtain the fixed ratio corresponding to the charge pump chip in the electronic device 200 (i.e., the above-mentioned M). Then, the electronic device 200 can determine the voltage to be input to the charge pump chip based on the first voltage value and the fixed ratio corresponding to the charge pump chip (which can be referred to as the second voltage value, represented as V2). This can also be referred to as determining the required charging voltage of the electronic device 200, where V2 = MV1.

[0165] In one implementation, the second request information may be used to request the charging device to output a charging voltage and current, and the second request information may include a second voltage value.

[0166] S111 : The electronic device 100 boosts the voltage input from the battery through the boost chip, and outputs a voltage of a second voltage value to the electronic device 200 .

[0167] In one embodiment, the electronic device 100 may include a boost chip and a battery. The boost chip may be used to boost the input voltage. The boost chip may continuously and linearly adjust the output voltage. For details, please refer to the description of the boost chip in Figures 1 and 6.

[0168] In one embodiment, the battery in the electronic device 100 can input voltage to the boost chip, the boost chip can boost the input voltage and output a voltage of a second voltage value, and the electronic device 100 can send the voltage output by the boost chip to the electronic device 200 to charge the electronic device 200.

[0169] S112: The electronic device 200 steps down the input voltage through the charge pump chip and outputs the voltage to the battery to charge the battery.

[0170] In one embodiment, the electronic device 200 can receive a voltage of a second voltage value sent by the electronic device 100 and use the voltage as the input of a charge pump chip. The charge pump chip can step down the input voltage by M times and output a voltage of a first voltage value. The voltage output by the charge pump chip can be sent to the battery to charge the battery.

[0171] In some examples, when electronic device 100 charges electronic device 200, electronic device 200 may display user interface 1200 shown in Figure 7. User interface 1200 may include relevant information about the current "super fast charging" charging mode, such as icon 1211, charging animation 1220 and prompt information 1230.

[0172] In one embodiment, the method further comprises:

[0173] S113 : After the power level of the battery of the electronic device 200 increases, the electronic device 200 sends a third request message (including the fourth voltage value) to the electronic device 100 .

[0174] In one embodiment, as charging time increases, the charge level of the battery of the electronic device 200 increases. Assuming that the charge level increases from the first charge level to the second charge level, the electronic device 200 can redetermine the required charging voltage of the battery based on the second charge level (which can be referred to as a third voltage value, represented as V3), where V3>V1. Then, the electronic device 200 can redetermine the voltage to be input to the charge pump chip based on the third voltage value and a fixed ratio corresponding to the charge pump chip (which can be referred to as a fourth voltage value, represented as V4), where V4=MV3, where V4>V2. The third request information can include the fourth voltage value V4.

[0175] S114 : The electronic device 100 boosts the voltage input from the battery through the boost chip, and outputs a voltage of a fourth voltage value to the electronic device 200 .

[0176] The descriptions of S114 and S111 are similar and will not be repeated here.

[0177] S115: The electronic device 200 steps down the input voltage through the charge pump chip and outputs the voltage to the battery to charge the battery.

[0178] In one embodiment, the electronic device 200 can receive a voltage of a fourth voltage value sent by the electronic device 100 and use the voltage as the input of a charge pump chip. The charge pump chip can step down the input voltage by M times and output a voltage of a third voltage value. The voltage output by the charge pump chip can be sent to the battery to charge the battery.

[0179] It is understandable that as the charging process progresses, the charge level of the battery of the electronic device 200 will gradually increase and change continuously. Accordingly, the electronic device 200 will dynamically request a voltage of a corresponding voltage value from the electronic device 100. The boost chip of the electronic device 100 will output a voltage of the voltage value dynamically requested by the electronic device 200, that is, the output voltage also changes continuously. The charge pump chip of the electronic device 200 can output a corresponding voltage to the battery based on the dynamically changing input voltage to dynamically provide the battery with a voltage of the actual required voltage value. Each time the charge level of the battery of the electronic device 200 changes, steps similar to S113-S115 shown in Figure 9 can be executed and will not be repeated here.

[0180] In one embodiment, the electronic device 200 may request a higher charging power (e.g., request a larger charging current) from the electronic device 100, for example, by carrying a corresponding request indication in the request information shown in S110 or S113, or sending an additional request information in addition to S110 / S113. Assuming that the electronic device 100 originally provides a charging current of current value 1, after the electronic device 100 receives the request from the electronic device 200 (for requesting a charging current of current value 2, current value 2 is greater than current value 1), the charging current of current value 2 can be output through the boost chip, that is, a larger charging current, but the output voltage is still the voltage value requested by the electronic device 200. It can be understood that while keeping the output voltage unchanged, the charging device can provide a larger output current to increase the charging power, so that the charging speed of the electronic device 200 can be faster. Not limited to the above embodiment, in another embodiment, the electronic device 200 can also request a lower charging power from the electronic device 100, and the specific description is similar to the above description. That is to say, the electronic device 200 can request the required charging power according to its own status. For example, when the power of the electronic device 200 is low, it can request a higher charging power. When the power is high, it can request a lower charging power. This application does not limit this.

[0181] Not limited to the embodiment shown in FIG9 , in another embodiment, S103 may also be replaced by other actions of simulating a charger, which is not limited in this application. Not limited to the embodiment shown in FIG9 , in another embodiment, S104-S106 may also be replaced by other actions for determining whether the electronic device 100 supports the first fast charging protocol, which is not limited in this application.

[0182] In the method shown in Figure 9, the electronic device 100 and the electronic device 200 can dynamically negotiate the charging power / voltage / current based on the fast charging protocol. The electronic device 100 can output a continuously changing voltage that matches the negotiation result to the electronic device 200 through the boost chip. The electronic device 200 can step down the input voltage through the charge pump chip and output the charging voltage actually required by the battery to the battery. The boost chip and the charge pump chip can provide a higher charging voltage for the battery of the electronic device 200 and increase the charging power. For example, a charging power of 22.5W and above can be achieved. Moreover, the voltage and current of the entire charging process can be dynamically adjusted, and the required voltage can be provided to the battery of the electronic device 200 in real time. It can also provide a higher charging current while keeping the voltage unchanged, so that the entire charging process can proceed normally and efficiently, and the charging process is better realized.

[0183] The above embodiments are described by taking the example that after the electronic device 100 receives the request information from the electronic device 200 (for requesting a specific value of voltage and / or a specific value of current), it will provide the electronic device 200 with the above-mentioned specific value of charging voltage and / or charging current according to the request information. In other embodiments, the electronic device 100 will provide the charging voltage and / or charging current according to the situation of its own device. For example, assuming that the electronic device 200 requests a larger value of charging current, but the electronic device 100 has high power consumption, high temperature or low power, in order to ensure the operating status of the electronic device 100, the electronic device 100 may not adjust the size of the charging current, that is, it will not provide the above-mentioned larger value of charging current. This application is not limited to this.

[0184] The methods provided in the various embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, they may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a digital video disc (DWD), or a semiconductor medium (e.g., a solid state drive (SSD)). As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit the same. Although the present application has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments may be modified, or some of the technical features thereof may be replaced by equivalents. However, such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A charging system, characterized in that: The invention comprises a first device and a second device, wherein the first device comprises a boost chip and a first battery, and the second device comprises a charge pump chip and a second battery, wherein: The first battery is used to output a first voltage to the boost chip; The boost chip is used to receive the first voltage input by the first battery and output a second voltage to the second device, wherein the second voltage is greater than the first voltage; The charge pump chip is used to receive the second voltage input by the first device and output a third voltage to the second battery, wherein the second voltage is M times the third voltage, and M is a positive number greater than 1; The second battery is used to receive the third voltage input by the charge pump chip and to charge.

2. The system according to claim 1, characterized in that The first device includes a first charging management chip, and the second device includes a second charging management chip, wherein: The second charging management chip is used to send a first request message to the first charging management chip through a fast charging protocol, where the first request message is used to request a voltage of a first voltage value; The first charging management chip is used to send first indication information to the boost chip, where the first indication information is used to instruct the boost chip to output a voltage of the first voltage value; The boost chip is further configured to receive the first voltage and output the second voltage having the first voltage value to the second device according to the first indication information.

3. The system according to claim 2, characterized in that The first voltage value is determined by the charge pump chip according to the second voltage value and the ratio M corresponding to the charge pump chip. The second voltage value is the charging voltage value required by the second battery obtained by the charge pump chip. The first voltage value is M times the second voltage value.

4. The system according to claim 3, characterized in that The second voltage value is a charging voltage value required by the second battery of the acquired first power; The second charging management chip is further used to send a second request message to the first charging management chip through the fast charging protocol after the second battery receives the third voltage input by the charge pump chip and charges, the second request message is used to request a voltage of a third voltage value, the third voltage value is determined by the charge pump chip according to a fourth voltage value and a ratio M corresponding to the charge pump chip, the fourth voltage value is the charging voltage value required by the second battery of the second power obtained by the charge pump chip, and the third voltage value is M times the fourth voltage value; The first charging management chip is further used to send second indication information to the boost chip, where the second indication information is used to instruct the boost chip to output the voltage of the third voltage value; The boost chip is further used to receive the first voltage input by the first battery and output a fourth voltage of the third voltage value to the second device according to the second indication information; The charge pump chip is further used to receive the fourth voltage input by the first device and output a fifth voltage to the second battery, wherein the fourth voltage is M times the fifth voltage; The second battery is also used to receive the fifth voltage input by the charge pump chip and charge it.

5. The system according to claim 4, characterized in that The second electric quantity is greater than the first electric quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

6. The system according to any one of claims 2 to 5, characterized in that: The fast charging protocol is the smart charging protocol SCP, the fused fast charging protocol UFCS or the quick charging protocol QC.

7. The system according to any one of claims 1 to 6, characterized in that: The first device includes a first charging management chip, and the second device includes a second charging management chip, wherein: The first charging management chip is used to perform a handshake of the power transmission PD protocol with the second charging management chip, and identify the first device as a charging device and the second device as a device to be charged.

8. The system according to claim 7, characterized in that The first charging management chip is also used to identify the first device as a charging device and the second device as a device to be charged when the first device receives a first user operation, and the first user operation is used to set the connection mode between the first device and the second device to a reverse charging mode.

9. The system according to any one of claims 1 to 8, characterized in that: The first device includes a first charging management chip, and the second device includes a second charging management chip, wherein: The boost chip is further used to output the second voltage and the first current to the second device; The second charging management chip is used to send a third request message to the first charging management chip through a fast charging protocol, wherein the third request message is used to request a current of a first current value, and the first current value is different from a numerical value of the first current; The first charging management chip is used to send third indication information to the boost chip, where the third indication information is used to instruct the boost chip to output a current of the first current value; The boost chip is further configured to receive the voltage input by the first battery and output the second voltage and the second current of the first current value to the second device according to the third indication information.

10. The system according to any one of claims 1 to 9, characterized in that: The second device includes a display screen, and the display screen is used to display a first interface. The first interface includes fourth indication information, and the fourth indication information indicates that the charging mode is a super fast charging mode.

11. A charging method, characterized in that: Applied to a charging system, the charging system includes a first device and a second device, and the method includes: The first battery of the first device outputs a first voltage to the boost chip of the first device; The boost chip receives the first voltage input from the first battery and outputs a second voltage to the second device, wherein the second voltage is greater than the first voltage; The charge pump chip of the second device receives the second voltage input by the first device and outputs a third voltage to a second battery of the second device, wherein the second voltage is M times the third voltage, and M is a positive number greater than 1; The second battery receives the third voltage input by the charge pump chip and is charged.

12. The method according to claim 11, characterized in that The method further comprises: The first charging management chip of the first device receives first request information sent by the second charging management chip of the second device through a fast charging protocol, where the first request information is used to request a voltage of a first voltage value; The first charging management chip sends first indication information to the boost chip, where the first indication information is used to instruct the boost chip to output a voltage of the first voltage value; The boost chip receives the first voltage input from the first battery and outputs a second voltage to the second device, including: The boost chip receives the first voltage and outputs the second voltage having the first voltage value to the second device according to the first indication information.

13. The method according to claim 12, characterized in that The first voltage value is determined by the charge pump chip according to the second voltage value and the ratio M corresponding to the charge pump chip. The second voltage value is the charging voltage value required by the second battery obtained by the charge pump chip. The first voltage value is M times the second voltage value.

14. The method according to claim 13, characterized in that The second voltage value is a charging voltage value required by the second battery of the acquired first power; After the second battery receives the third voltage input by the charge pump chip and is charged, the method further includes: The first charging management chip receives a second request message sent by the second charging management chip through the fast charging protocol, wherein the second request message is used to request a voltage of a third voltage value, wherein the third voltage value is determined by the charge pump chip according to a fourth voltage value and a voltage reduction ratio M corresponding to the charge pump chip, wherein the fourth voltage value is a charging voltage value required by the second battery of the second power obtained by the charge pump chip, and the third voltage value is M times the fourth voltage value; The first charging management chip sends second indication information to the boost chip, where the second indication information is used to instruct the boost chip to output a voltage of the third voltage value; The boost chip receives the voltage input by the first battery and outputs a fourth voltage having the third voltage value according to the second indication information. Pressing to the second device; The charge pump chip receives the fourth voltage input by the first device and outputs a fifth voltage to the second battery, wherein the fourth voltage is M times the fifth voltage; The second battery receives the fifth voltage input by the charge pump chip and is charged.

15. The method according to claim 14, characterized in that The second electric quantity is greater than the first electric quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

16. The method according to any one of claims 12 to 15, characterized in that: The fast charging protocol is the smart charging protocol SCP, the fused fast charging protocol UFCS or the quick charging protocol QC.

17. The method according to any one of claims 11 to 16, characterized in that: The method further comprises: The first charging management chip of the first device and the second charging management chip of the second device perform a handshake of the power transmission PD protocol, and identify the first device as a charging device and the second device as a device to be charged.

18. The method according to claim 17, characterized in that The first charging management chip of the first device and the second charging management chip of the second device perform a handshake of the power transmission PD protocol, and identify the first device as a charging device and the second device as a device to be charged, including: The first device receives a first user operation, where the first user operation is used to set a connection mode between the first device and the second device to a reverse charging mode; The first charging management chip and the second charging management chip perform a handshake of the PD protocol, and identify the first device as a charging device and the second device as a device to be charged.

19. The method according to any one of claims 11 to 18, characterized in that: The boost chip receives the first voltage input from the first battery and outputs a second voltage to the second device, including: The boost chip receives the first voltage, and outputs the second voltage and the first current to the second device; After the second battery receives the third voltage input by the charge pump chip and is charged, the method further includes: The first charging management chip of the first device receives third request information sent by the second charging management chip of the second device through the fast charging protocol, where the third request information is used to request a current of a first current value, where the first current value is different from the first current value; The first charging management chip sends third indication information to the boost chip, where the third indication information is used to instruct the boost chip to output a current of the first current value; The boost chip receives the voltage input from the first battery and outputs the second voltage and the second current of the first current value to the second device according to the third indication information.

20. The method according to any one of claims 11 to 19, characterized in that: The method further comprises: The second device displays a first interface, the first interface includes fourth indication information, and the fourth indication information indicates that the charging mode is a super fast charging mode.

21. A first device, characterized in that: It includes a boost chip, a first battery and a first charging management chip, wherein: The first charging management chip is used to receive first request information sent by the second device through a fast charging protocol, the first request information is used to request a voltage of a first voltage value, the first voltage value is determined by the second device according to a ratio M corresponding to a second voltage value and a charge pump chip of the second device, and the second voltage value is a charging voltage value required by a second battery of the second device acquired by the second device; The first charging management chip is used to send first indication information to the boost chip, where the first indication information is used to instruct the boost chip to output a voltage of the first voltage value; The first battery is used to output a first voltage to the boost chip; The boost chip is used to receive the first voltage input by the first battery and output a second voltage of the first voltage value to the second device according to the first indication information. The second voltage is used for the charge pump chip to receive the second voltage and output a third voltage. The third voltage is used to charge the second battery. The second voltage is M times the third voltage, and M is a positive number greater than 1.

22. The first device according to claim 21, characterized in that The first voltage value is M times the second voltage value.

23. The first device according to claim 21 or 22, characterized in that The second voltage value is a charging voltage value required by the second battery of the acquired first power; The first charging management chip is further used to receive a second request information sent by the second device through a fast charging protocol after the boost chip receives the first voltage input by the first battery and outputs a second voltage of the first voltage value to the second device, wherein the second request information is used to request a voltage of a third voltage value, wherein the third voltage value is determined by the second device according to a fourth voltage value and a ratio M corresponding to the charge pump chip, wherein the fourth voltage value is a charging voltage value required by the second battery of the acquired second power, and the third voltage value is M times the fourth voltage value; The first charging management chip is further used to send second indication information to the boost chip, where the second indication information is used to instruct the boost chip to output the voltage of the third voltage value; The boost chip is also used to receive the first voltage input by the first battery and output a fourth voltage of the third voltage value to the second device according to the second indication information. The fourth voltage is used for the charge pump chip to receive the fourth voltage and output a fifth voltage. The fifth voltage is used to charge the second battery. The fourth voltage is M times the fifth voltage.

24. The first device according to claim 23, characterized in that The second electric quantity is greater than the first electric quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

25. The first device according to any one of claims 21 to 24, characterized in that: The fast charging protocol is the smart charging protocol SCP, the fused fast charging protocol UFCS or the quick charging protocol QC.

26. The first device according to any one of claims 21 to 25, characterized in that: The first charging management chip is further used to perform a handshake of the power transmission PD protocol with the second device, and identify the first device as a charging device and the second device as a device to be charged.

27. The first device according to any one of claims 21 to 26, characterized in that: The boost chip is further used to receive the first voltage input by the first battery according to the first indication information, and output the second voltage and the first current to the second device; The first charging management chip is further used to receive third request information sent by the second device through the fast charging protocol, wherein the third request information is used to request a current of a first current value, and the first current value is different from the numerical value of the first current; The first charging management chip is further used to send third indication information to the boost chip, where the third indication information is used to instruct the boost chip to output a current of the first current value; The boost chip is further configured to receive the voltage input by the first battery and output the second voltage and the second current of the first current value to the second device according to the third indication information.

28. A second device, characterized in that: It includes a charge pump chip, a first battery and a first charge management chip, wherein: The first charging management chip is used to send a first request message to the first device through a fast charging protocol, wherein the first request message is used to request a voltage of a first voltage value, wherein the first voltage value is determined by the charge pump chip according to a second voltage value and a ratio M corresponding to the charge pump chip, and the second voltage value is a charging voltage value required by the first battery acquired by the charge pump chip; The charge pump chip is used to receive a first voltage input by the first device according to the first request information, and output a second voltage to the first battery, wherein the first voltage is M times the second voltage, M is a positive integer greater than 1, and the value of the first voltage is the first voltage value; The first battery is used to receive the second voltage input by the charge pump chip and to charge.

29. The second device according to claim 28, characterized in that The first voltage value is M times the second voltage value, the first voltage is output by a boost chip of the first device receiving a third voltage input from a second battery of the first device, and the first voltage is greater than the third voltage.

30. The second device according to claim 28 or 29, characterized in that The second voltage value is a charging voltage value required by the second battery of the acquired first power; The first charging management chip is further used to, after the first battery receives the second voltage input by the charge pump chip and charges, send a second request information to the first device through a fast charging protocol, wherein the second request information is used to request a voltage of a third voltage value, wherein the third voltage value is determined by the charge pump chip according to a fourth voltage value and a ratio M corresponding to the charge pump chip, wherein the fourth voltage value is a charging voltage value required by the second battery of the second power obtained by the charge pump chip, and the third voltage value is M times the fourth voltage value; The charge pump chip is further used to receive a fourth voltage input by the first device according to the second request information, and output a fifth voltage to the first battery, wherein the fourth voltage is M times the fifth voltage, and the value of the fourth voltage is the third voltage value; The first battery is also used to receive the fifth voltage input by the charge pump chip and charge it.

31. The second device according to claim 30, characterized in that The second electric quantity is greater than the first electric quantity, the fourth voltage value is greater than the second voltage value, and the third voltage value is greater than the first voltage value.

32. The second device according to any one of claims 28 to 31, characterized in that: The fast charging protocol is the smart charging protocol SCP, the fused fast charging protocol UFCS or the quick charging protocol QC.

33. The second device according to any one of claims 28 to 32, characterized in that: The first charging management chip is further used to perform a handshake of the power transmission PD protocol with the first device, and identify the first device as a charging device and the second device as a device to be charged.

34. The second device according to any one of claims 28 to 33, characterized in that: The charge pump chip is further used to receive the first voltage and the first current input by the first device according to the first request information, and output the second voltage and the second current to the first battery, wherein the second current is related to the first current; The first battery is further used to receive the second voltage and the second current input by the charge pump chip and to charge; The first charging management chip is further used to send a third request message to the first device through a fast charging protocol, wherein the third request message is used to request a current of a first current value, and the first current value is different from a numerical value of the first current; The charge pump chip is further used to receive the first voltage and the third current input by the first device according to the third request information, and output the second voltage and the fourth current to the first battery, the value of the third current is the first current value, and the fourth current is related to the third current; The first battery is also used to receive the second voltage and the fourth current input by the charge pump chip and to charge.

35. The second device according to any one of claims 28 to 34, characterized in that: The second device includes a display screen, and the display screen is used to display a first interface. The first interface includes indication information, and the indication information indicates that the charging mode is a super fast charging mode.

36. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 11 to 20 is implemented.

Citation Information

Patent Citations

  • Charging method, electronic equipment, system and computer storage medium

    CN118677043A

  • Charging equipment, terminal equipment, charging method and charge monitoring method

    CN107196357A

  • Electronic equipment, electronic device and charging method

    CN113013934A

  • Charging device and electronic equipment

    CN113949167A

  • Voltage conversion circuit and method and electronic equipment

    CN114678908A