Charging method, electronic device and computer-readable medium
By sending messages containing basic and working charging parameters between the charger and the terminal, and adjusting the charging voltage and current, the problem that 48V ultra-high voltage charging is difficult to achieve in the existing technology is solved, the charging power range is expanded, and the charging efficiency is improved.
Patent Information
- Application Number
- PCT/CN2024/080466
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-18
- Filing Date
- 2024-03-07
- Publication Date
- 2024-10-24
AI Technical Summary
It is difficult to achieve 48V ultra-high voltage charging with existing technology, which limits the charging power of terminal products such as mobile phones and PADs. In particular, due to the low battery voltage, it is difficult to effectively utilize the charging voltage and current of the USB PD 3.1 fast charging standard protocol.
By sending messages containing basic charging parameters and working charging parameters to the charger, the charging voltage and current are adjusted to exceed the threshold of the fast charging standard protocol and achieve higher charging power. The specific method includes detecting whether the charger and terminal support the fast charging standard and extended protocol, and expanding the base of the charging voltage and current according to the parameters requested by the terminal until the battery is fully charged.
The value range of charging power is expanded, charging efficiency is improved, higher fast charging requirements are met, and the charging performance of the terminal is improved.
Smart Images

Figure CN2024080466_24102024_PF_FP_ABST
Abstract
Description
Charging method, electronic device, and computer-readable medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to patent application No. 202310454931.8 filed with the China Patent Office on April 18, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The embodiments of the present application relate to, but are not limited to, the field of charging technology. Background Art
[0004] To meet user demands for fast charging and gain a competitive advantage, mobile phone manufacturers are striving to increase their phones' charging power. To meet this growing demand, the Universal Serial Bus Implementers Forum (USB-IF) has released the latest USB Power Delivery (USB PD) 3.1 fast-charging standard. This standard allows for super-fast charging at up to 240 watts (W) at 48 volts (V), 5 amperes (A). However, for end products like mobile phones and PADs, the battery voltage is only around 4.45V, making ultra-high-voltage charging at 48V difficult to achieve. All mobile phones using the USB PD 3.1 fast-charging protocol typically charge at a voltage of around 11V, a maximum current of 5A, and a maximum charging power of around 55W (11V 5A). Some mobile phone manufacturers use a dual-cell solution in series, achieving a battery voltage of around 9V, but this, due to current limitations, only allows for a charging power of around 100W (20V 5A).
[0005] Summary of the Invention
[0006] Embodiments of the present application provide a charging method, an electronic device, and a computer-readable medium.
[0007] In a first aspect, an embodiment of the present application provides a charging method, comprising: sending a first message to a charger; wherein the first message comprises a first basic charging parameter and a second basic charging parameter, the first basic charging parameter being determined according to a first working charging parameter requested by a terminal; the second basic charging parameter being determined according to a second working charging parameter requested by the terminal; the maximum value of the first working charging parameter being greater than a first preset threshold, and / or the maximum value of the second working charging parameter being greater than a second preset threshold; charging with the first working charging parameter and the second working charging parameter until the battery is fully charged.
[0008] In a second aspect, an embodiment of the present application provides a charging method, including: receiving a first message sent by a terminal; wherein the first message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter is determined according to a first working charging parameter requested by the terminal; the second basic charging parameter is determined according to a second working charging parameter requested by the terminal; the maximum value of the first working charging parameter is greater than a first preset threshold, and / or the maximum value of the second working charging parameter is greater than a second preset threshold; adjusting the power supply capacity according to the first basic charging parameter and the second basic charging parameter.
[0009] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; a memory, wherein at least one program is stored in the memory, and when the at least one program is executed by the at least one processor, any one of the charging methods described herein is implemented.
[0010] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, any one of the charging methods described herein is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a schematic diagram of the hardware structure of an embodiment of the present application;
[0012] FIG2 is a flow chart of a charging method provided by one embodiment of the present application;
[0013] FIG3 is a flow chart of a charging method provided by another embodiment of the present application;
[0014] FIG4 is a flowchart of a charging method provided in a first example of an embodiment of the present application;
[0015] FIG5 is a block diagram of an electronic device according to another embodiment of the present application;
[0016] FIG6 is a block diagram of a charging system according to another embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to enable those skilled in the art to better understand the technical solution of the present application, the charging method, electronic device, and computer-readable medium provided in the present application are described in detail below with reference to the accompanying drawings.
[0018] Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete and will fully convey the scope of this application to those skilled in the art.
[0019] In the absence of conflict, the various embodiments of the present application and the various features therein may be combined with each other.
[0020] As used herein, the term "and / or" includes any and all combinations of at least one of the associated listed items.
[0021] The terms used herein are used only to describe specific embodiments and are not intended to limit this application. As used herein, the singular forms "a," "an," and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements, and / or components is specified, but the presence or addition of at least one other feature, whole, step, operation, element, component, and / or group thereof is not excluded.
[0022] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined as such herein.
[0023] Figure 1 is a schematic diagram of the hardware structure of an embodiment of the present application. As shown in Figure 1, the charging method of the embodiment of the present application involves a charger and a terminal. The charger includes a charging head and a charging cable. The charging cable can be connected to the terminal and the charging head, and the charging head can be connected to a power source.
[0024] After the charging head is connected to the power supply and the charging cable is connected to the terminal and the charging head, the charging method provided in the embodiment of the present application can be implemented.
[0025] FIG2 is a flow chart of a charging method provided in one embodiment of the present application.
[0026] In a first aspect, referring to FIG. 2 , an embodiment of the present application provides a charging method that can be applied to a terminal. The method may include steps 200 and 201 .
[0027] In step 200, a first message is sent to the charger; wherein the first message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter is determined according to the first working charging parameter requested by the terminal; the second basic charging parameter is determined according to the second working charging parameter requested by the terminal; the maximum value of the first working charging parameter is greater than a first preset threshold, and / or the maximum value of the second working charging parameter is greater than a second preset threshold.
[0028] In some exemplary embodiments, the first preset threshold may be a maximum value of a first working charging parameter in a fast charging standard protocol.
[0029] In some exemplary embodiments, the first basic charging parameter is a ratio of the first operating charging parameter to a product of the first charging parameter base and the first charging parameter base extension value.
[0030] In some exemplary embodiments, the second basic charging parameter may be determined according to a method in a standard protocol.
[0031] In some exemplary embodiments, the second preset threshold may be a maximum value of a second working charging parameter in a fast charging standard protocol.
[0032] In some exemplary embodiments, the second basic charging parameter is a ratio of the second operating charging parameter to a product of a second charging parameter base and an extension value of the second charging parameter base.
[0033] In some exemplary embodiments, the first basic charging parameter is the basic charging voltage, the first operating charging parameter is the operating charging voltage, the second basic charging parameter is the basic charging current, and the second operating charging parameter is the operating charging current; or, the first basic charging parameter is the basic charging current, the first operating charging parameter is the operating charging current, the second basic charging parameter is the basic charging voltage, and the second operating charging parameter is the operating charging voltage.
[0034] That is, the first message includes at least one of the basic charging voltage and the basic charging current.
[0035] In some exemplary embodiments, the first charging parameter base is a charging voltage base, and the second charging parameter base is a charging current base; or, the first charging parameter base is a charging current base, and the second charging parameter base is a charging voltage base.
[0036] In some exemplary embodiments, the first charging parameter cardinality extension value is a charging voltage cardinality extension value, and the second charging parameter cardinality extension value is a charging current cardinality extension value; or, the first charging parameter cardinality extension value is a charging current cardinality extension value, and the second charging parameter cardinality extension value is a charging voltage cardinality extension value.
[0037] In some exemplary embodiments, the basic charging voltage V1 is the sum of the working charging voltage V requested by the terminal and the charging voltage base V base and the first charging voltage base extension value k V1 The ratio of the product of .
[0038] In some exemplary embodiments, the basic charging current I1 is the sum of the working charging current I requested by the terminal and the charging current base I base and the first charging current base extension value k I1 The ratio of the product of .
[0039] In some exemplary embodiments, the first message may be a vendor-defined message (VDM).
[0040] In an embodiment of the present application, the value of the voltage and / or current may be indicated in a field of the message, that is, may be indicated by a field value of the field. Therefore, including the voltage and / or current in the message may mean that the field value of the field in the message indicates the voltage and / or current.
[0041] In some exemplary embodiments, Here we expand the charging voltage base value in the standard protocol from V Base Expand to k V1 ×V Base .
[0042] In some exemplary embodiments, Here, the charging current base value in the standard protocol is expanded from I Base Expand to k I1 ×I Base .
[0043] In some exemplary embodiments, k is generally V1 Greater than 1, if you need to be compatible with the fast charging standard protocol, you can set k V1 Greater than 0 and less than or equal to 1.
[0044] In some exemplary embodiments, k is generally I1 Greater than 1, if you need to be compatible with the fast charging standard protocol, you can set k I1 Greater than 0 and less than or equal to 1.
[0045] In some exemplary embodiments, the number of bytes of the basic charging voltage V1 and the basic charging current I1 in the fast charging standard protocol is fixed. For example, the basic charging voltage in the programmable power supply (PPS) protocol has 11 bytes and the basic charging current has 7 bytes. Therefore, the maximum basic charging voltage and maximum basic charging current that can be represented are limited.
[0046] In step 201 , charging is performed with first operating charging parameters and second operating charging parameters until the battery is fully charged.
[0047] In some exemplary embodiments, before sending the first message to the charger, the method further includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of sending the first message to the charger.
[0048] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol includes: detecting whether both the charger and the terminal support the fast charging standard protocol; if both the charger and the terminal support the fast charging standard protocol, detecting whether both the charger and the terminal support the fast charging extended protocol; if both the charger and the terminal support the fast charging extended protocol, determining that both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol.
[0049] In some exemplary embodiments, the fast charging standard protocol may be a USB PD standard protocol, such as a USB PD 3.1 standard protocol.
[0050] In some exemplary embodiments, the fast charging extension protocol may be a USB PD extension protocol, such as a USB PD 3.1 extension protocol.
[0051] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol includes: when the terminal supports the fast charging standard protocol, sending information to the charger indicating that the terminal supports the fast charging standard protocol; when receiving information sent by the charger indicating that the charger supports the fast charging standard protocol, determining that both the charger and the terminal support the fast charging standard protocol; when receiving information sent by the charger indicating that the charger does not support the fast charging standard protocol, determining that the terminal supports the fast charging standard protocol and determining that the charger does not support the fast charging standard protocol.
[0052] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol includes: when the terminal does not support the fast charging standard protocol, sending information to the charger indicating that the terminal does not support the fast charging standard protocol; when receiving information sent by the charger indicating that the charger supports the fast charging standard protocol, determining that the terminal does not support the fast charging standard protocol and determining that the charger supports the fast charging standard protocol; when receiving information sent by the charger indicating that the charger does not support the fast charging standard protocol, determining that both the terminal and the charger do not support the fast charging standard protocol.
[0053] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol includes: when receiving information from the charger indicating that the charger supports the fast charging standard protocol and the terminal supports the fast charging standard protocol, sending information to the charger indicating that the terminal supports the fast charging standard protocol to determine that both the charger and the terminal support the fast charging standard protocol; when receiving information from the charger indicating that the charger supports the fast charging standard protocol and the terminal does not support the fast charging standard protocol, sending information to the charger indicating that the terminal does not support the fast charging standard protocol to determine that the charger supports the fast charging standard protocol and that the terminal does not support the fast charging standard protocol; when receiving information from the charger indicating that the charger does not support the fast charging standard protocol and the terminal supports the fast charging standard protocol, sending information to the charger indicating that the terminal supports the fast charging standard protocol to determine that the charger does not support the fast charging standard protocol and that the terminal supports the fast charging standard protocol; when receiving information from the charger indicating that the charger does not support the fast charging standard protocol and the terminal does support the fast charging standard protocol, sending information to the charger indicating that the terminal does not support the fast charging standard protocol to determine that both the charger and the terminal do not support the fast charging standard protocol.
[0054] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging extended protocol includes: if the terminal supports the fast charging extended protocol, sending information to the charger indicating that the terminal supports the fast charging extended protocol; if the information sent by the charger indicating that the charger supports the fast charging extended protocol is received, determining that both the charger and the terminal support the fast charging extended protocol; if the information sent by the charger indicating that the charger does not support the fast charging extended protocol is received, determining that the terminal supports the fast charging extended protocol and determining that the charger does not support the fast charging extended protocol.
[0055] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging extended protocol includes: when the terminal does not support the fast charging extended protocol, sending information to the charger indicating that the terminal does not support the fast charging extended protocol; when receiving information sent by the charger indicating that the charger supports the fast charging extended protocol, determining that the terminal does not support the fast charging extended protocol and determining that the charger supports the fast charging extended protocol; when receiving information sent by the charger indicating that the charger does not support the fast charging extended protocol, determining that both the terminal and the charger do not support the fast charging extended protocol.
[0056] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging extended protocol includes: when receiving information from the charger indicating that the charger supports the fast charging extended protocol and the terminal supports the fast charging extended protocol, sending information to the charger indicating that the terminal supports the fast charging extended protocol to determine that both the charger and the terminal support the fast charging extended protocol; when receiving information from the charger indicating that the charger supports the fast charging extended protocol and the terminal does not support the fast charging extended protocol, sending information to the charger indicating that the terminal does not support the fast charging extended protocol to determine that the charger supports the fast charging extended protocol and that the terminal does not support the fast charging extended protocol; when receiving information from the charger indicating that the charger does not support the fast charging extended protocol and the terminal supports the fast charging extended protocol, sending information to the charger indicating that the terminal supports the fast charging extended protocol to determine that the charger does not support the fast charging extended protocol and that the terminal supports the fast charging extended protocol; when receiving information from the charger indicating that the charger does not support the fast charging extended protocol and the terminal does support the fast charging extended protocol, sending information to the charger indicating that the terminal does not support the fast charging extended protocol to determine that both the charger and the terminal do not support the fast charging extended protocol.
[0057] In some exemplary embodiments, when the charger or the terminal does not support the fast charging standard protocol, the method further includes: charging using a normal charging process.
[0058] In some exemplary embodiments, when both the charger and the terminal support the fast charging standard protocol, and the charger or the terminal does not support the fast charging extended protocol, the method further includes: sending a sixth message to the charger; wherein the sixth message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter being the ratio of the first working charging parameter requested by the terminal to the first charging parameter base; the second basic charging parameter being the ratio of the second working charging parameter requested by the terminal to the second charging parameter base; charging is performed with the first working charging parameter and the second working charging parameter until the battery is fully charged.
[0059] In some exemplary embodiments, the sixth message includes a basic charging voltage and a basic charging current, wherein the basic charging voltage V2 is the sum of the working charging voltage V requested by the terminal and the voltage base V base The basic charging current I2 is the ratio of the working charging current I requested by the terminal and the current base I base ratio.
[0060] In some exemplary embodiments, the sixth message is a VDM.
[0061] In some exemplary embodiments,
[0062] In some exemplary embodiments,
[0063] In some exemplary embodiments, before sending the first message to the charger, the method further includes: receiving a second message sent by the charger; wherein the second message includes: a first charging parameter base extension value.
[0064] In some exemplary embodiments, the second message further includes: a second charging parameter base extension value.
[0065] In some exemplary embodiments, the second message includes: a first voltage base extension value k V1 and / or the first current base extension value k I1 .
[0066] In some exemplary embodiments, the second message is a VDM.
[0067] In some exemplary embodiments, before receiving the second message sent by the charger, the method further includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of receiving the second message sent by the charger.
[0068] In some exemplary embodiments, after receiving the second message sent by the charger, the method further includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of sending the first message to the charger.
[0069] In some exemplary embodiments, before sending the first message to the charger, the method further includes: receiving a third message sent by the charger; wherein the third message includes: a third charging parameter cardinality extension value; determining the first charging parameter cardinality extension value based on the third charging parameter cardinality extension value; wherein the first charging parameter cardinality extension value is less than or equal to the third charging parameter cardinality extension value; and sending a fourth message to the charger; wherein the fourth message includes: the first charging parameter cardinality extension value.
[0070] In some exemplary embodiments, the third message also includes: a fourth charging parameter cardinality extension value; the fourth message also includes: a second charging parameter cardinality extension value; before sending the fourth message to the charger, the method further includes: determining the second charging parameter cardinality extension value based on the fourth charging parameter cardinality extension value; wherein the second charging parameter cardinality extension value is less than or equal to the fourth charging parameter cardinality extension value.
[0071] In some exemplary embodiments, the third message is a VDM.
[0072] In some exemplary embodiments, the fourth message is a VDM.
[0073] In some embodiments, the third charging parameter cardinality extension value is a charging voltage cardinality extension value, and the fourth charging parameter cardinality extension value is a charging current cardinality extension value, or the third charging parameter cardinality extension value is a charging current cardinality extension value, and the fourth charging parameter cardinality extension value is a charging voltage cardinality extension value.
[0074] In some exemplary embodiments, the third message includes: a second voltage base extension value K V2 and / or the second current base extension value K I2 .
[0075] In some exemplary embodiments, the second voltage base expansion value k V2 Determine the first voltage base extension value k V1 ; Among them, the first voltage base expansion value k V1 Less than or equal to the second voltage base extension value k V2 .
[0076] In some exemplary embodiments, the second current base expansion value k I2 Determine the first current base expansion value k I1 ; Among them, the first current base expansion value k I1 Less than or equal to the second current base extension value k I2 .
[0077] In some exemplary embodiments, the fourth message includes: the first voltage base extension value k V1 and / or the first current base extension value k I1 .
[0078] In some exemplary embodiments, before receiving the third message sent by the charger, the method also includes: detecting whether the charger and the terminal both support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of receiving the third message sent by the charger.
[0079] In some exemplary embodiments, after receiving the third message sent by the charger, the method further includes: detecting whether both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of determining the first charging parameter base extension value based on the third charging parameter base extension value.
[0080] In some exemplary embodiments, when determining the first charging parameter cardinality extension value based on the third charging parameter cardinality extension value, it can be determined according to actual needs, as long as the first charging parameter cardinality extension value is less than or equal to the third charging parameter cardinality extension value.
[0081] In some exemplary embodiments, the second voltage base expansion value k V2 Determine the first voltage base extension value k V1 When the voltage base expansion value k is satisfied, it can be determined according to actual needs. V1 Less than or equal to the second voltage base extension value k V2 That's it.
[0082] In some exemplary embodiments, when determining the second charging parameter cardinality extension value based on the fourth charging parameter cardinality extension value, it can be determined according to actual needs, as long as the second charging parameter cardinality extension value is less than or equal to the fourth charging parameter cardinality extension value.
[0083] In some exemplary embodiments, the second current base expansion value k I2 Determine the first current base expansion value k I1 When the current base expansion value k is satisfied, it can be determined according to actual needs. I1 Less than or equal to the second current base extension value k I2 That's it.
[0084] In some exemplary embodiments, before sending the first message to the charger, the method further includes: receiving a fifth message sent by the charger; wherein the fifth message includes: a product of the first charging parameter base and an extended value of the first charging parameter base.
[0085] In some exemplary embodiments, the fifth message further includes: a product of the second charging parameter base and the second charging parameter base extension value.
[0086] In some exemplary embodiments, the fifth message is a VDM.
[0087] In some exemplary embodiments, the fifth message includes: a product of a voltage base and a voltage base extension value and / or a product of a current base and a current base extension value.
[0088] In some exemplary embodiments, before receiving the fifth message sent by the charger, the method also includes: detecting whether the charger and the terminal both support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of receiving the fifth message sent by the charger.
[0089] In some exemplary embodiments, after receiving the fifth message sent by the charger, the method further includes: detecting whether both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of sending the first message to the charger.
[0090] The charging method provided in the embodiment of the present application expands the value range of the first charging parameter in the fast charging standard protocol, thereby expanding the value range of the charging power.
[0091] In some exemplary embodiments, the value range of the second charging parameter in the fast charging standard protocol is also expanded, thereby further expanding the value range of the charging power.
[0092] FIG3 is a flow chart of a charging method provided in another embodiment of the present application.
[0093] In a second aspect, referring to FIG. 3 , another embodiment of the present application provides a charging method that can be applied to a charger. The method may include steps 300 and 301 .
[0094] In step 300, a first message sent by a terminal is received; wherein the first message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter is determined according to a first working charging parameter requested by the terminal; the second basic charging parameter is determined according to a second working charging parameter requested by the terminal; the maximum value of the first working charging parameter is greater than a first preset threshold, and / or the maximum value of the second working charging parameter is greater than a second preset threshold.
[0095] In some exemplary embodiments, the first preset threshold may be a maximum value of a first working charging parameter in a fast charging standard protocol.
[0096] In some exemplary embodiments, the first basic charging parameter is a ratio of the first operating charging parameter requested by the terminal to a product of the first charging parameter base and an extended value of the first charging parameter base.
[0097] In some exemplary embodiments, the second basic charging parameter may be determined according to a method in a standard protocol.
[0098] In some exemplary embodiments, the second preset threshold may be a maximum value of a second working charging parameter in a fast charging standard protocol.
[0099] In some exemplary embodiments, the second basic charging parameter is a ratio of the second operating charging parameter requested by the terminal to a product of the second charging parameter base and the second charging parameter base extension value.
[0100] In some exemplary embodiments, the first basic charging parameter is the basic charging voltage, the first operating charging parameter is the operating charging voltage, the second basic charging parameter is the basic charging current, and the second operating charging parameter is the operating charging current; or, the first basic charging parameter is the basic charging current, the first operating charging parameter is the operating charging current, the second basic charging parameter is the basic charging voltage, and the second operating charging parameter is the operating charging voltage.
[0101] That is, the first message includes at least one of the basic charging voltage and the basic charging current.
[0102] In some exemplary embodiments, the first charging parameter base is a charging voltage base, and the second charging parameter base is a charging current base; or, the first charging parameter base is a charging current base, and the second charging parameter base is a charging voltage base.
[0103] In some exemplary embodiments, the first charging parameter cardinality extension value is a charging voltage cardinality extension value, and the second charging parameter cardinality extension value is a charging current cardinality extension value; or, the first charging parameter cardinality extension value is a charging current cardinality extension value, and the second charging parameter cardinality extension value is a charging voltage cardinality extension value.
[0104] In some exemplary embodiments, the basic charging voltage V1 is the sum of the working charging voltage V requested by the terminal and the charging voltage base V base and the first charging voltage base extension value k V1 The ratio of the product of .
[0105] In some exemplary embodiments, the basic charging current I1 is the sum of the working charging current I requested by the terminal and the charging current base I base and the first charging current base extension value k I1 The ratio of the product of .
[0106] In some exemplary embodiments, the first message may be a VDM.
[0107] In some exemplary embodiments, Here we expand the charging voltage base value in the standard protocol from V Base Expand to k V1 ×V Base .
[0108] In some exemplary embodiments, Here, the charging current base value in the standard protocol is expanded from I Base Expand to k I1 ×I Base .
[0109] In some exemplary embodiments, k is generally V1 Greater than 1, if you need to be compatible with the fast charging standard protocol, you can set k V1 Greater than 0 and less than or equal to 1.
[0110] In some exemplary embodiments, k is generally I1 Greater than 1, if you need to be compatible with the fast charging standard protocol, you can set k I1 Greater than 0 and less than or equal to 1.
[0111] In some exemplary embodiments, the number of bytes of the basic charging voltage V1 and the basic charging current I1 in the fast charging standard protocol is fixed. For example, the basic charging voltage in the PPS protocol has 11 bytes and the basic charging current has 7 bytes. Therefore, the maximum basic charging voltage and the maximum basic charging current that can be represented are limited.
[0112] In step 301 , the power supply capability is adjusted according to the first basic charging parameter and the second basic charging parameter.
[0113] In some exemplary embodiments, adjusting the power supply capability according to the first basic charging parameter and the second basic charging parameter includes: determining the first working charging parameter requested by the terminal according to the first basic charging parameter; determining the second working charging parameter requested by the terminal according to the second basic charging parameter; and adjusting the power supply capability according to the first working charging parameter requested by the terminal and the second working charging parameter requested by the terminal.
[0114] In some exemplary embodiments, determining the first operating charging parameter requested by the terminal according to the first basic charging parameter includes: determining the first operating charging parameter requested by the terminal as a product of the first basic charging parameter, a first charging parameter base, and an extended value of the first charging parameter base.
[0115] In some exemplary embodiments, determining the second operating charging parameter requested by the terminal based on the second basic charging parameter includes: determining the second operating charging parameter requested by the terminal as a product of the second basic charging parameter, a second charging parameter base, and a second charging parameter base extension value.
[0116] In some exemplary embodiments, the power supply capability is adjusted according to a basic charging voltage and a basic charging current.
[0117] In some exemplary embodiments, adjusting the power supply capacity according to the basic charging voltage and the basic charging current includes: determining the working charging voltage requested by the terminal according to the basic charging voltage; determining the working charging current requested by the terminal according to the basic charging current; and adjusting the power supply capacity according to the working charging voltage requested by the terminal and the working charging current requested by the terminal.
[0118] In some exemplary embodiments, according to the formula V=V1×k V1 ×V base Determine the operating charging voltage V requested by the terminal.
[0119] In some exemplary embodiments, according to the formula I=I1×k I1 ×I base Determine the operating charging current I requested by the terminal.
[0120] In some exemplary embodiments, before receiving the first message sent by the terminal, the method also includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of receiving the first message sent by the terminal.
[0121] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol includes: detecting whether the charger and the terminal support the fast charging standard protocol; if both the charger and the terminal support the fast charging standard protocol, detecting whether both the charger and the terminal support the fast charging extended protocol; if both the charger and the terminal support the fast charging extended protocol, determining that both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol.
[0122] In some exemplary embodiments, the fast charging standard protocol may be a USB PD standard protocol, such as a USB PD 3.1 standard protocol.
[0123] In some exemplary embodiments, the fast charging extension protocol may be a USB PD extension protocol, such as a USB PD 3.1 extension protocol.
[0124] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol includes: when the charger supports the fast charging standard protocol, sending information to the terminal indicating that the terminal supports the fast charging standard protocol; when receiving the information sent by the terminal indicating that the terminal supports the fast charging standard protocol, determining that both the charger and the terminal support the fast charging standard protocol; when receiving the information sent by the terminal indicating that the terminal does not support the fast charging standard protocol, determining that the charger supports the fast charging standard protocol and determining that the terminal does not support the fast charging standard protocol.
[0125] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol includes: when the charger does not support the fast charging standard protocol, sending information to the terminal indicating that the charger does not support the fast charging standard protocol; when receiving the information sent by the terminal indicating that the terminal supports the fast charging standard protocol, determining that the charger does not support the fast charging standard protocol and determining that the terminal supports the fast charging standard protocol; when receiving the information sent by the terminal indicating that the terminal does not support the fast charging standard protocol, determining that both the terminal and the charger do not support the fast charging standard protocol.
[0126] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging standard protocol includes: when receiving information sent by the terminal indicating that the terminal supports the fast charging standard protocol and the charger supports the fast charging standard protocol, sending information to the terminal indicating that the charger supports the fast charging standard protocol to determine that both the charger and the terminal support the fast charging standard protocol; when receiving information sent by the terminal indicating that the terminal supports the fast charging standard protocol and the charger does not support the fast charging standard protocol, sending information to the terminal indicating that the charger does not support the fast charging standard protocol to determine that the terminal supports the fast charging standard protocol and that the charger does not support the fast charging standard protocol; when receiving information sent by the terminal indicating that the terminal does not support the fast charging standard protocol and the charger supports the fast charging standard protocol, sending information to the terminal indicating that the charger supports the fast charging standard protocol to determine that the terminal does not support the fast charging standard protocol and that the charger supports the fast charging standard protocol; when receiving information sent by the terminal indicating that the terminal does not support the fast charging standard protocol and the charger does support the fast charging standard protocol, sending information to the terminal indicating that the charger does not support the fast charging standard protocol to determine that both the charger and the terminal do not support the fast charging standard protocol.
[0127] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging extended protocol includes: when the charger supports the fast charging extended protocol, sending information to the terminal indicating that the charger supports the fast charging extended protocol; when receiving information sent by the terminal indicating that the terminal supports the fast charging extended protocol, determining that both the charger and the terminal support the fast charging extended protocol; when receiving information sent by the terminal indicating that the terminal does not support the fast charging extended protocol, determining that the charger supports the fast charging extended protocol and determining that the terminal does not support the fast charging extended protocol.
[0128] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging extended protocol includes: when the charger does not support the fast charging extended protocol, sending information to the terminal indicating that the charger does not support the fast charging extended protocol; when receiving the information sent by the terminal indicating that the terminal supports the fast charging extended protocol, determining that the charger does not support the fast charging extended protocol and determining that the terminal supports the fast charging extended protocol; when receiving the information sent by the terminal indicating that the terminal does not support the fast charging extended protocol, determining that both the terminal and the charger do not support the fast charging extended protocol.
[0129] In some exemplary embodiments, detecting whether the charger and the terminal support the fast charging extended protocol includes: when receiving information sent by the terminal indicating that the terminal supports the fast charging extended protocol, and the charger supports the fast charging extended protocol, sending information to the terminal indicating that the charger supports the fast charging extended protocol to determine that both the charger and the terminal support the fast charging extended protocol; when receiving information sent by the terminal indicating that the terminal supports the fast charging extended protocol, and the charger does not support the fast charging extended protocol, sending information to the terminal indicating that the charger does not support the fast charging extended protocol to determine that the terminal supports the fast charging extended protocol and that the charger does not support the fast charging extended protocol; when receiving information sent by the terminal indicating that the terminal does not support the fast charging extended protocol, and the charger supports the fast charging extended protocol, sending information to the terminal indicating that the charger supports the fast charging extended protocol to determine that the terminal does not support the fast charging extended protocol and that the charger supports the fast charging extended protocol; when receiving information sent by the terminal indicating that the terminal does not support the fast charging extended protocol, and the charger does support the fast charging extended protocol, sending information to the terminal indicating that the charger does not support the fast charging extended protocol to determine that both the charger and the terminal do not support the fast charging extended protocol.
[0130] In some exemplary embodiments, when both the charger and the terminal support the fast charging standard protocol, and the charger or the terminal does not support the fast charging extended protocol, the method further includes: receiving a sixth message sent by the terminal; wherein the sixth message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter being the ratio of the first working charging parameter requested by the terminal to the first charging parameter base; the second basic charging parameter being the ratio of the second working charging parameter requested by the terminal to the second charging parameter base.
[0131] In some exemplary embodiments, the sixth message includes a basic charging voltage and a basic charging current, wherein the basic charging voltage V2 is the sum of the working charging voltage V requested by the terminal and the voltage base V base The basic charging current I2 is the ratio of the working charging current I requested by the terminal and the current base I base ratio.
[0132] In some embodiments, the power supply capability is adjusted according to a basic charging voltage and a basic charging current.
[0133] In an embodiment of the present application, the value of the voltage and / or current may be indicated in a field of the message, that is, may be indicated by a field value of the field. Therefore, including the voltage and / or current in the message may mean that the field value of the field in the message indicates the voltage and / or current.
[0134] In some exemplary embodiments, the sixth message is a VDM.
[0135] In some exemplary embodiments, when both the charger and the terminal support the fast charging standard protocol, and the charger or the terminal does not support the fast charging extended protocol, the method also includes: receiving the sixth VDM sent by the terminal; wherein the sixth VDM includes an operating voltage field and an operating current field, and the field value V2 of the operating voltage field is the ratio of the charging voltage requested by the terminal to the voltage base; the field value I2 of the operating current field is the ratio of the charging current requested by the terminal to the current base; and adjusting the power supply capacity according to the field value of the operating voltage field and the field value of the operating current field.
[0136] In some exemplary embodiments, adjusting the power supply capacity according to the basic charging voltage and the basic charging current includes: determining the working charging voltage requested by the terminal according to the basic charging voltage; determining the working charging current requested by the terminal according to the basic working current; and adjusting the power supply capacity according to the working charging voltage requested by the terminal and the working charging current requested by the terminal.
[0137] In some exemplary embodiments, according to the formula V=V2×V base Determine the operating charging voltage V requested by the terminal.
[0138] In some exemplary embodiments, according to the formula I=I2×I base Determine the operating charging current I requested by the terminal.
[0139] In some exemplary embodiments, before receiving the first message sent by the terminal, the method further includes: sending a second message to the terminal; wherein the second message includes: a first charging parameter base extension value.
[0140] In some exemplary embodiments, the second message further includes: a second charging parameter base extension value.
[0141] In some exemplary embodiments, the second message is a VDM.
[0142] In some exemplary embodiments, the second message includes: a first voltage base extension value k V1 and / or the first current base extension value k I1 .
[0143] In some exemplary embodiments, before sending the second message to the terminal, the method further includes: detecting whether the charger and the terminal both support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of sending the second message to the terminal.
[0144] In some exemplary embodiments, after sending the second message to the terminal, the method further includes: detecting whether both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of receiving the first message sent by the terminal.
[0145] In some exemplary embodiments, before receiving the first message sent by the terminal, the method further includes: sending a third message to the terminal; wherein the third message includes: a third charging parameter base extension value; receiving a fourth message sent by the terminal; wherein the fourth message includes: the first charging parameter base extension value.
[0146] In some exemplary embodiments, the third message further includes: a fourth charging parameter base extension value.
[0147] In some exemplary embodiments, the fourth message further includes: a second charging parameter base extension value.
[0148] In some exemplary embodiments, the third message is a VDM.
[0149] In some exemplary embodiments, the fourth message is a VDM.
[0150] In some exemplary embodiments, the third message includes: a second voltage base extension value K V2 and / or the second current base extension value K I2 .
[0151] In some exemplary embodiments, the fourth message includes: the first voltage base extension value k V1 and / or the first current base extension value k I1 .
[0152] In some exemplary embodiments, before sending the third message to the terminal, the method further includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of sending the third message to the terminal.
[0153] In some exemplary embodiments, after sending the third message to the terminal, the method further includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of receiving the fourth message sent by the terminal.
[0154] In some exemplary embodiments, before receiving the first message sent by the terminal, the method further includes: sending a fifth message to the terminal; wherein the fifth message includes: the product of the first charging parameter base and the first charging parameter base extension value.
[0155] In some exemplary embodiments, the fifth message further includes: a product of the second charging parameter base and the second charging parameter base extension value.
[0156] In some exemplary embodiments, the fifth message is a VDM.
[0157] In some exemplary embodiments, the fifth message includes: a product of a voltage base and a voltage base extension value and / or a product of a current base and a current base extension value.
[0158] In some exemplary embodiments, before sending the fifth message to the terminal, the method also includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of sending the fifth message to the terminal.
[0159] In some exemplary embodiments, after sending the fifth message to the terminal, the method further includes: detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continuing to execute the step of receiving the first message sent by the terminal.
[0160] The charging method provided in the embodiment of the present application expands the maximum value of the first charging parameter in the fast charging standard protocol, thereby expanding the maximum value of the charging power.
[0161] In some exemplary embodiments, the maximum value of the second charging parameter in the fast charging standard protocol is also extended, thereby further extending the maximum value of the charging power.
[0162] In order to present the implementation process of the charging method of the embodiment of the present application more completely and intuitively, several examples are listed below for illustration. The examples listed are only for convenience of explanation and are not used to limit the scope of protection of the charging method of the embodiment of the present application.
[0163] First example
[0164] This example describes a charging method. As shown in FIG4 , the charging method includes steps 400 to 409 .
[0165] In step 400, the charger is connected to the terminal, and the charger and the terminal detect whether they support the USB PD 3.1 standard protocol. If both the charger and the terminal support the USB PD 3.1 standard protocol, the process proceeds to step 401; if either the charger or the terminal does not support the USB PD 3.1 standard protocol, the process proceeds to step 409.
[0166] In step 401, the charger and the terminal detect whether they support the USB PD 3.1 extended protocol. If both the charger and the terminal support the USB PD 3.1 extended protocol, steps 402-405 are continued; if the charger or the terminal does not support the USB PD 3.1 extended protocol, steps 406-408 are continued.
[0167] In step 402 , the charger sends a first voltage base extension value and a first current base extension value to the terminal.
[0168] In step 403, the terminal sends a first VDM to the charger; wherein the first VDM includes a basic charging voltage and a basic charging current. The basic charging voltage V1 is the ratio of the working charging voltage V requested by the terminal to the voltage extension base, and the voltage extension base is the voltage base V. base and the first voltage base extension value k V1 The basic charging current I1 is the ratio of the working charging current I requested by the terminal to the current expansion base, and the current expansion base is the current base I base and the first current cardinality expansion value k I1 The product of .
[0169] In step 404, the charger uses the formula V=V1×k V1 ×V base Determine the terminal's requested operating charging voltage V, according to the formula I = I1 × k I1 ×I base Determine the working charging current I requested by the terminal; and adjust the power supply capacity according to the working charging voltage requested by the terminal and the working charging current requested by the terminal.
[0170] In step 405 , the terminal charges at the requested working charging voltage and working charging current until the battery is fully charged.
[0171] In step 406, the terminal sends a sixth VDM to the charger; wherein the sixth VDM includes a basic charging voltage and a basic charging current, and the basic charging voltage V2 is the sum of the working charging voltage V requested by the terminal and the voltage base V base The basic charging current I2 is the ratio of the working charging current I requested by the terminal and the current base I base ratio.
[0172] In step 407, the charger uses the formula V=V2×V base Determine the terminal's requested operating charging voltage V, according to the formula I = I2 × I base Determine the working charging current I requested by the terminal; and adjust the power supply capacity according to the working charging voltage and the working charging current.
[0173] In step 408 , the terminal charges at the requested working charging voltage and working charging current until the battery is fully charged.
[0174] In step 409 , the charger and the terminal are charged using a normal charging process.
[0175] Second example
[0176] This example describes the charging method for a charger that supports the USB PD 3.1 extended protocol and a terminal that does not support the USB PD 3.1 extended protocol but supports the USB PD 3.1 standard protocol, as described below.
[0177] The charger is connected to the terminal, and the charger sends the first voltage base expansion value k to the terminal. V1 and the first current cardinality expansion value k I1 However, the terminal does not support the USB PD 3.1 extended protocol and will not respond to the charger, so it enters the USB PD 3.1 standard fast charging process.
[0178] The terminal requires a working charging voltage V = 10.4V, and the terminal needs to set the basic charging voltage V1 = V / V base =(10.4V) / (0.02V)=520 is written to the sixth VDM; wherein, the voltage base V base =0.02V.
[0179] The terminal requires a working charging current of I = 2.5A, and the terminal needs to set the basic charging current I1 = I / I base =(2.5A) / (0.05A)=50 is written to the sixth VDM; wherein, the current base I base =0.05A.
[0180] The terminal sends the sixth VDM to the charger to request an operating charging voltage and an operating charging current.
[0181] The charger receives the basic charging voltage V1=520 and the basic charging current I1=50 in the sixth VDM sent by the terminal, and adjusts the power supply capacity to the working charging voltage V=V1×V base =10.4V, working charging current I = I1×I base =2.5A.
[0182] The terminal is charged at the requested working charging voltage and working charging current until the terminal is fully charged.
[0183] Third example
[0184] This example describes the charging method for a charger that does not support the USB PD 3.1 standard protocol and a terminal that supports the USB PD 3.1 extended protocol, as described below.
[0185] When the charger is connected to the terminal, the two cannot establish USB PD 3.1 standard protocol communication and enter the normal charging process.
[0186] Fourth Example
[0187] This example describes the charging method for a charger that supports the USB PD 3.1 extended protocol and a terminal that supports the USB PD 3.1 extended protocol, as described below.
[0188] The charger is connected to the terminal, and the charger sends the first voltage base expansion value k to the terminal. V1 and the first current cardinality expansion value k I1 , the terminal responds to the charger and enters the USB PD 3.1 extended fast charging process.
[0189] The terminal requires a working charging voltage V = 20V, and the terminal needs to set the basic charging voltage V1 = V / (k V1 ×V base )=(20V) / (2×0.02V)=500 is written to the first VDM; wherein, the voltage base V base =0.02V, the first voltage base extension value k V1 =2.
[0190] The terminal requires a working charging current of I = 6A, and the terminal needs to set the basic charging current I1 = I / (k I1 ×I base )=(6A) / (4×0.05A)=30 is written to the first VDM; wherein, the current base I_base=0.05A, the first current base extension value k I1 =4.
[0191] The terminal sends the first VDM to the charger to request an operating charging voltage and an operating charging current.
[0192] The charger receives the basic charging voltage V1=500 and the basic charging current I1=30 in the first VDM sent by the terminal, and adjusts the power supply capacity to the working charging voltage V=V1×k I1 ×V base =20V, working charging current I=I1×k I1 ×I base =6A.
[0193] The terminal is charged at the requested working charging voltage and working charging current until the terminal is fully charged.
[0194] In a third aspect, referring to FIG5 , another embodiment of the present application provides an electronic device, comprising: at least one processor 501 ; a memory 502 , wherein the memory 502 stores at least one program, and when the at least one program is executed by the at least one processor 501 , any one of the above-mentioned charging methods is implemented.
[0195] In some exemplary embodiments, the electronic device further includes: one or more I / O interfaces 503 connected between the processor 501 and the memory 502 , and configured to implement information interaction between the processor 501 and the memory 502 .
[0196] Among them, the processor 501 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 502 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read-write interface) 503 is connected between the processor 501 and the memory 502, and can realize information interaction between the processor 501 and the memory 502, including but not limited to a data bus (Bus), etc.
[0197] In some embodiments, the processor 501 , the memory 502 , and the I / O interface 503 are connected to each other via a bus 504 , and further connected to other components of the computing device.
[0198] In a fourth aspect, another embodiment of the present application provides a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, any one of the above-mentioned charging methods is implemented.
[0199] FIG6 is a block diagram of a charging system according to another embodiment of the present application.
[0200] In the fifth aspect, referring to Figure 6 , another embodiment of the present application provides a charging system, including: a charger 601 and a terminal 602 .
[0201] In some exemplary embodiments, the terminal 602 is configured to send a first message to the charger; wherein the first message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter is determined according to the first working charging parameter requested by the terminal; the second basic charging parameter is determined according to the second working charging parameter requested by the terminal; the maximum value of the first working charging parameter is greater than a first preset threshold, and / or the maximum value of the second working charging parameter is greater than a second preset threshold; charging is performed with the first working charging parameter and the second working charging parameter requested by the terminal until the battery is fully charged.
[0202] The charger 601 is configured to receive a first message sent by the terminal; wherein the first message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter is determined according to the first working charging parameter requested by the terminal; the second basic charging parameter is determined according to the second working charging parameter requested by the terminal; the maximum value of the first working charging parameter is greater than a first preset threshold, and / or the maximum value of the second working charging parameter is greater than a second preset threshold; and the power supply capacity is adjusted according to the first basic charging parameter and the second basic charging parameter.
[0203] In some exemplary embodiments, the terminal 602 is further configured to: detect whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continue to execute the step of sending the first message to the charger.
[0204] The charger 601 is also configured to: detect whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; if both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continue to execute the step of receiving the first message sent by the terminal.
[0205] In some exemplary embodiments, the terminal 602 is further configured to receive a second message sent by the charger; wherein the second message includes: a first charging parameter base extension value.
[0206] The charger 601 is further configured to send a second message to the terminal; wherein the second message includes: a first charging parameter base extension value.
[0207] In some exemplary embodiments, the terminal 602 is further configured to receive a third message sent by the charger; wherein the third message includes: a third charging parameter base extension value; determine the first charging parameter base extension value based on the third charging parameter base extension value; wherein the first charging parameter base extension value is less than or equal to the third charging parameter base extension value; and send a fourth message to the charger; wherein the fourth message includes: the first charging parameter base extension value.
[0208] The charger 601 is further configured to send a third message to the terminal, wherein the third message includes: a third charging parameter base extension value; and receive a fourth message sent by the terminal, wherein the fourth message includes: the first charging parameter base extension value.
[0209] In some exemplary embodiments, the terminal 602 is further configured to receive a fifth message sent by the charger; wherein the fifth message includes: a product of the first charging parameter base and the first charging parameter base extension value.
[0210] The charger 601 is further configured to send a fifth message to the terminal; wherein the fifth message includes: the product of the first charging parameter base and the first charging parameter base extension value.
[0211] In some exemplary embodiments, the charger 601 is configured to adjust the power supply capacity according to the first basic charging parameter and the second basic charging parameter in the following manner: determine the first working charging parameter requested by the terminal according to the first basic charging parameter; determine the second working charging parameter requested by the terminal according to the second basic charging parameter; and adjust the power supply capacity according to the first working charging parameter requested by the terminal and the second working charging parameter requested by the terminal.
[0212] The implementation process of the above charging system is the same as the implementation process of the charging method in the above embodiment, and will not be repeated here.
[0213] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0214] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly indicated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.
Claims
1. A charging method, comprising: Sending a first message to the charger; wherein the first message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter is determined according to a first working charging parameter requested by the terminal, and the second basic charging parameter is determined according to a second working charging parameter requested by the terminal; a maximum value of the first working charging parameter is greater than a first preset threshold, and / or a maximum value of the second working charging parameter is greater than a second preset threshold; Charging is performed with the first working charging parameter and the second working charging parameter until the battery is fully charged.
2. The charging method according to claim 1, wherein: Before sending the first message to the charger, the method further includes: Detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; When both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continue to execute the step of sending the first message to the charger.
3. The charging method according to any one of claims 1 to 2, wherein: The first basic charging parameter is a ratio of the first working charging parameter to a product of a first charging parameter base and an extended value of the first charging parameter base; And / or, the second basic charging parameter is a ratio of the second working charging parameter to the product of a second charging parameter base and an extended value of the second charging parameter base.
4. The charging method according to claim 3, wherein: Before sending the first message to the charger, the method further includes: receiving a second message sent by the charger; wherein the second message includes: the first charging parameter base extension value; Alternatively, receiving a third message sent by the charger; wherein the third message includes: a third charging parameter cardinality extension value; determining the first charging parameter cardinality extension value according to the third charging parameter cardinality extension value; wherein the first charging parameter cardinality extension value is less than or equal to the third charging parameter cardinality extension value; sending a fourth message to the charger; wherein the fourth message includes: the first charging parameter cardinality extension value; Alternatively, a fifth message sent by the charger is received; wherein the fifth message includes: the product of the first charging parameter base and the first charging parameter base extension value.
5. The charging method according to any one of claims 1 to 2, wherein: The first basic charging parameter is a basic charging voltage, the first working charging parameter is a working charging voltage, the second basic charging parameter is a basic charging current, and the second working charging parameter is a working charging current.
6. A charging method, comprising: receiving a first message sent by a terminal; wherein the first message includes a first basic charging parameter and a second basic charging parameter, the first basic charging parameter is determined according to a first working charging parameter requested by the terminal, and the second basic charging parameter is determined according to a second working charging parameter requested by the terminal; a maximum value of the first working charging parameter is greater than a first preset threshold, and / or a maximum value of the second working charging parameter is greater than a second preset threshold; The power supply capability is adjusted according to the first basic charging parameter and the second basic charging parameter.
7. The charging method according to claim 6, wherein: Before receiving the first message sent by the terminal, the method further includes: Detecting whether the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol; When both the charger and the terminal support the fast charging standard protocol and the fast charging extended protocol, continue to execute the step of receiving the first message sent by the terminal.
8. The charging method according to any one of claims 6 to 7, wherein: The first basic charging parameter is a ratio of the first working charging parameter to a product of a first charging parameter base and an extended value of the first charging parameter base; And / or, the second basic charging parameter is a ratio of the second working charging parameter to the product of a second charging parameter base and an extended value of the second charging parameter base.
9. The charging method according to claim 8, wherein: Before receiving the first message sent by the terminal, the method further includes: Sending a second message to the terminal; wherein the second message includes: the first charging parameter base extension value; Alternatively, a third message is sent to the terminal; wherein the third message includes: a third charging parameter base extension value; receiving a fourth message sent by the terminal; wherein the The fourth message includes: the first charging parameter base extension value; Alternatively, a fifth message is sent to the terminal; wherein the fifth message includes: the product of the first charging parameter base and the first charging parameter base extension value.
10. The charging method according to any one of claims 6 to 7, wherein: The adjusting the power supply capability according to the first basic charging parameter and the second basic charging parameter comprises: Determining the first working charging parameter according to the first basic charging parameter; Determine the second working charging parameter according to the second basic charging parameter; The power supply capability is adjusted according to the first working charging parameter and the second working charging parameter.
11. An electronic device, comprising: at least one processor; A memory having at least one program stored therein, wherein when the at least one program is executed by the at least one processor, the charging method according to any one of claims 1 to 10 is implemented.
12. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the charging method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Rapid charging method and system, terminal and charger
CN107231012A
Charging method, device and system, terminal and storage medium
CN110460130A
Charging method and electronic equipment
CN114744693A
Charging Protection Method, Terminal, and Charger
US20190245362A1
