CN117748631A - Charging method, charging device, terminal device, adapter, and storage medium - Google Patents
Charging method, charging device, terminal device, adapter, and storage medium Download PDFInfo
- Publication number
- CN117748631A CN117748631A CN202211120057.6A CN202211120057A CN117748631A CN 117748631 A CN117748631 A CN 117748631A CN 202211120057 A CN202211120057 A CN 202211120057A CN 117748631 A CN117748631 A CN 117748631A
- Authority
- CN
- China
- Prior art keywords
- current
- charging
- adapter
- demand
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000004044 response Effects 0.000 claims abstract description 33
- 238000012790 confirmation Methods 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 16
- 238000012545 processing Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 238000004904 shortening Methods 0.000 description 4
- 230000011664 signaling Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 108700025151 PD protocol Proteins 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present disclosure relates to the field of charging, and in particular, to a charging method, a charging device, a terminal device, an adapter, and a storage medium. The charging method comprises the following steps: determining whether the adapter has a charging capability to provide a target charging power that is greater than a default charging power provided by the adapter by default; in response to determining that the adapter has a charging capability to provide the target charging power, a first demand current command for indicating a current demand current with a first number of bits is sent to the adapter to cause the adapter to charge the terminal device according to the first demand current command, the first number of bits being greater than a second number of bits indicating a default use of the current demand current, the second number of bits being capable of indicating a maximum current that is less than the current demand current indicated by the first demand current command. Therefore, the adapter can charge the terminal equipment according to the current required current indicated by the expanded bit number, so that the charging power is improved, the charging time is shortened, and the use experience of a user is improved.
Description
Technical Field
The present disclosure relates to the field of charging, and in particular, to a charging method, a charging device, a terminal device, an adapter, and a storage medium.
Background
With the continuous development of intelligent devices, rapid charging has become one of the necessary functions of mobile phones. Through the quick charging technology, the mobile phone electric quantity can be quickly filled in a short time. With the development of the fast charging technology, many intelligent devices reach 120W of charging power, but how to further realize a technology of charging with a larger power (such as charging with a power of 200W) is still a concern.
Disclosure of Invention
In order to achieve higher power charging techniques, the present disclosure improves a charging method, a charging apparatus, a terminal device, an adapter, and a storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a charging method, applied to a terminal device, including:
determining whether an adapter has a charging capability that provides a target charging power, wherein the target charging power is greater than a default charging power that the adapter provides by default;
in response to determining that the adapter has a charging capability to provide the target charging power, a first demand current instruction for indicating a current demand current with a first number of bits is sent to the adapter to cause the adapter to charge the terminal device according to the first demand current instruction, wherein the first number of bits is greater than a second number of bits indicating a current demand current default use, and the second number of bits is capable of indicating a maximum current that is less than the current demand current indicated by the first demand current instruction.
According to a second aspect of embodiments of the present disclosure, there is provided a charging method, applied to an adapter, including:
receiving a charging capacity identification instruction sent by a terminal device, wherein the charging capacity identification instruction indicates a target charging current corresponding to target charging power, and the target charging power is larger than default charging power provided by the adapter by default;
in response to determining that the target charging current is not greater than a maximum current that the adapter is capable of providing, sending a first charging capability confirmation instruction to the terminal device, wherein the first charging capability confirmation instruction characterizes the target charging current as not greater than the maximum current that the adapter is capable of providing;
receiving a first demand current instruction sent by the terminal equipment, wherein the first demand current instruction is used for indicating the current demand current of the terminal equipment by a first bit number, the first bit number is larger than a second bit number used for indicating the current demand current by default, and the maximum current which can be indicated by the second bit number is smaller than the current demand current indicated by the first demand current instruction;
and charging the terminal equipment according to the first demand current instruction.
According to a third aspect of the embodiments of the present disclosure, there is provided a charging apparatus applied to a terminal device, including:
a first determining module, configured to determine whether an adapter has a charging capability that provides a target charging power, where the target charging power is greater than a default charging power provided by the adapter by default;
and a first sending module, configured to send, to the adapter, a first demand current instruction for indicating a current demand current by a first number of bits in response to determining that the adapter has a charging capability of providing the target charging power, so that the adapter charges the terminal device according to the first demand current instruction, where the first number of bits is greater than a second number of bits indicating a default use of the current demand current, and the second number of bits is capable of indicating a maximum current that is smaller than the current demand current indicated by the first demand current instruction.
According to a fourth aspect of embodiments of the present disclosure, there is provided a charging device, applied to an adapter, including:
the first receiving module is used for receiving a charging capacity identification instruction sent by the terminal equipment, wherein the charging capacity identification instruction indicates a target charging current corresponding to target charging power, and the target charging power is larger than default charging power provided by the adapter by default;
A second sending module, configured to send a first charging capability confirmation instruction to the terminal device in response to determining that the target charging current is not greater than a maximum current that the adapter can provide, where the first charging capability confirmation instruction characterizes that the target charging current is not greater than the maximum current that the adapter can provide;
a second receiving module, configured to receive a first demand current instruction sent by the terminal device, where the first demand current instruction is configured to indicate a current demand current of the terminal device with a first number of bits, where the first number of bits is greater than a second number of bits that indicates a current demand current to be used by default, and the second number of bits is capable of indicating a maximum current that is less than the current demand current indicated by the first demand current instruction;
and the control module is used for charging the terminal equipment according to the first demand current instruction.
According to a fifth aspect of embodiments of the present disclosure, there is provided a terminal device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the charging method provided in the first aspect of the present disclosure.
According to a sixth aspect of embodiments of the present disclosure, there is provided an adapter comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the charging method provided in the second aspect of the present disclosure.
According to a seventh aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the charging method provided in the first aspect of the present disclosure or in the second aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the case that it is determined that the adapter has a charging capability to provide the target charging power, the adapter may be caused to charge the terminal device according to the first demand current command by a first demand current command indicating a current demand current with a first number of bits that is greater than a second number of bits that indicates a current demand current to be used by default, the second number of bits being capable of indicating a maximum current that is less than the current demand current indicated by the first demand current command. In this way, when the terminal device has a charging requirement for a higher target charging power and the adapter has a charging capability for providing the target charging power, the higher current demand current is indicated by the extended bit number, so that the adapter can charge the terminal device according to the current demand current indicated by the extended bit number, thereby improving the charging power, shortening the charging time, and improving the use experience of the user. In addition, fast charging can be achieved by modifying the protocol (i.e., indicating a higher current demand current by an extended number of bits), and for existing adapters that support less charging power, high power fast charging can be achieved without hardware-related modifications to the adapter as long as the adapter has a charging capability that provides the target charging power.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is an application scenario diagram of a charging method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of charging provided in an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart of a method of charging provided in an exemplary embodiment of the present disclosure;
fig. 4 shows a signaling interaction diagram between a terminal device and an adapter when implementing the charging method provided by the present disclosure, according to an embodiment;
fig. 5 is a block diagram of a charging device provided by an exemplary embodiment of the present disclosure;
fig. 6 is a block diagram of a charging device provided by an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram of a terminal device provided in an exemplary embodiment of the present disclosure;
fig. 8 is a block diagram of an adapter provided by an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, all actions for acquiring signals, information or data in the present application are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
Fig. 1 is an application scenario diagram of a charging method according to an exemplary embodiment of the present disclosure. The adapter 110 may establish a communication connection with the terminal device 120 to enable information interaction, signaling control, etc. between the two. The terminal device 120 may be any terminal device such as a mobile phone, a tablet computer, and an intelligent wearable device. The adapter 110 and the terminal device 120 may be communicatively coupled to enable transmission of signals and data between the adapter 110 and the terminal device 120 and to enable charging of the terminal device 120 via the adapter 110.
Fig. 2 is a flowchart of a charging method provided in an exemplary embodiment of the present disclosure. The method may be applied to the terminal device 120 as shown in fig. 1, and the method may be applied to a controller in the terminal device 120, for example. As shown in fig. 2, the method may include S201 to S202.
S201, it is determined whether the adapter has a charging capability to supply the target charging power.
Wherein the target charging power is greater than a default charging power provided by the adapter by default.
Illustratively, the default charging power provided by the adapter by default may be preset before the adapter leaves the factory, for example, may be set to 120W. And the target charging power is the charging power that the terminal device supports and is currently required, for example, the target charging power is 200W. With the continuous updating of the terminal device, the charging power that the terminal device can support is also increasing, however, the adapter connected to the terminal device does not necessarily have a charging capability to provide the target charging power. For example, the target charging power of the terminal device has reached 200W, and the maximum current that the adapter connected to the adapter can provide is smaller than the target current corresponding to the target charging power, and in the case that the voltage is certain, the output power of the adapter is smaller than the target charging power of the terminal device, it may be determined that the adapter does not have the charging capability of providing the target charging power; if the maximum current that the adapter can provide is greater than the target current corresponding to the target charging power, and the output power of the adapter can reach the target charging power of the terminal equipment under the condition of a certain voltage, the adapter can be determined to have the charging capability of providing the target charging power.
S202, in response to determining that the adapter has the charging capability for providing the target charging power, a first demand current instruction for indicating the current demand current with a first bit number is sent to the adapter, so that the adapter charges the terminal device according to the first demand current instruction.
The first bit number is larger than the second bit number indicating the current required current to be used by default, and the maximum current indicated by the second bit number is smaller than the current required current indicated by the first required current instruction.
Illustratively, the second number of bits indicating the current demand current mode usage typically includes 7 bits, e.g., 000 0001, indicating a current of 200mA. The maximum current that the second number of bits can indicate may be 6.35A. In the case where it is determined that the adapter has a charging capability to provide the target charging power, the allowable value of the current demand current is made larger than the maximum current that can be indicated by the second number of bits used by default by expanding the bits used to indicate the current demand current, for example, expanding 1 bit so that the first number of bits is 1 bit more than the second number of bits. For example, the second number of bits includes 7 bits, the maximum current that can be indicated may be 6.35A, and the first number of bits includes 8 bits, the maximum current that can be indicated may be 12.75A. The terminal device may send a first current demand instruction to the adapter in a form of a broadcast packet in a PD protocol (Power Delivery protocol).
The maximum current that the second number of bits can indicate is less than the current demand current indicated by the first demand current command, i.e., the current demand current indicated by the first number of bits is greater than the maximum current that the second number of bits can indicate (e.g., 6.35A). If it is determined that the adapter has a charging capability to provide the target charging power and the current demand current of the terminal device is 10A, the terminal device may send a first demand current instruction for indicating the current demand current (i.e., 10A) with a first number of bits to the adapter, so that the adapter charges the terminal device according to the first demand current instruction. Thus, under the condition that the voltage is unchanged, the charging power can be improved and the charging time can be shortened through the increase of the current.
Fig. 3 is a flowchart of a charging method provided in an exemplary embodiment of the present disclosure. The method may be applied to the adapter 110 as shown in fig. 3, and the method may be applied to a controller in the adapter 110, for example. As shown in fig. 3, the method may include S301 to S304.
S301, receiving a charging capability identification instruction sent by the terminal equipment.
The charging capability identification instruction indicates a target charging current corresponding to a target charging power, and the target charging power is larger than a default charging power provided by the adapter by default.
For example, if the target charging power is 200W and the charging voltage is 20V, the corresponding target charging current is 10A, and the charging capability identification instruction may indicate that the target charging current is 10A. The adapter may determine whether the adapter has a charging capability that provides the target charging power based on the received charging capability identification instruction.
S302, in response to determining that the target charging current is not greater than the maximum current that the adapter can provide, a first charging capability confirmation instruction is sent to the terminal device.
Wherein the first charge capacity confirmation instruction characterizes the target charge current as not being greater than a maximum current that the adapter is capable of providing.
As an example, the maximum current that the adapter can provide may be preset, for example, may be set to 12.75A, and if the target charging current is 10A, that is, the target charging current is not greater than the maximum current that the adapter can provide, it may be determined that the adapter has a charging capability to provide the target charging power, and a first charging capability confirmation instruction is sent to the terminal device so that the terminal device knows whether the adapter has the charging capability to provide the target charging power.
S303, receiving a first demand current instruction sent by the terminal equipment.
The first demand current instruction is used for indicating the current demand current of the terminal equipment by using a first bit number, the first bit number is larger than a second bit number used for indicating the current demand current by default, and the maximum current indicated by the second bit number is smaller than the current demand current indicated by the first demand current instruction.
S304, charging the terminal equipment according to the first demand current instruction.
The first demand current command is used to indicate the current demand current of the terminal device with a first bit number, and if the current demand current is 10A, the adapter can control the current of the output 10A according to the first demand current command so as to charge the terminal device.
In the case that it is determined that the adapter has a charging capability to provide the target charging power, the adapter may be caused to charge the terminal device according to the first demand current command by a first demand current command indicating a current demand current with a first number of bits that is greater than a second number of bits that indicates a current demand current to be used by default, the second number of bits being capable of indicating a maximum current that is less than the current demand current indicated by the first demand current command. In this way, when the terminal device has a charging requirement for a higher target charging power and the adapter has a charging capability for providing the target charging power, the higher current demand current is indicated by the extended bit number, so that the adapter can charge the terminal device according to the current demand current indicated by the extended bit number, thereby improving the charging power, shortening the charging time, and improving the use experience of the user. In addition, fast charging can be achieved by modifying the protocol (i.e., indicating a higher current demand current by an extended number of bits), and for existing adapters that support less charging power, high power fast charging can be achieved without hardware-related modifications to the adapter as long as the adapter has a charging capability that provides the target charging power.
Fig. 4 shows a signaling interaction diagram between a terminal device and an adapter when implementing the charging method provided by the present disclosure, and the signaling interaction procedure between the terminal device and the adapter may be more clearly shown by fig. 4. As shown in fig. 4:
in step S401, the terminal device transmits a charging capability identification instruction to the adapter.
The charging capability identification instruction indicates a target charging current corresponding to a target charging power, and the target charging power is larger than a default charging power provided by the adapter by default.
In step S402, the adapter determines whether there is a charging capability to provide the target charging power in response to the charging capability identification instruction.
For example, the adapter may determine whether itself has a charging capability to provide the target charging power by comparing the maximum current that itself can provide with the target charging current. Wherein, in the case where the target charging current is not greater than the maximum current that the adapter can provide, it is determined that the adapter has a charging capability to provide the target charging power, step S403 is performed. Otherwise, in the case where the target charging current is greater than the maximum current that the adapter can provide, it is determined that the adapter does not have the charging capability to provide the target charging power, step S404 is performed.
In step S403, in response to determining that the target charging current is not greater than the maximum current that the adapter can provide, the adapter transmits a first charging capability confirmation instruction to the terminal device.
Wherein the first charging capability confirmation instruction characterizes that the target charging current is not greater than the maximum current that the adapter can provide, i.e. that the adapter has a charging capability that provides the target charging power.
In step S404, in response to determining that the target charging current is greater than the maximum current that the adapter can provide, the adapter sends a second charging capability confirmation instruction to the terminal device.
Wherein the second charging capability confirmation instruction characterizes that the target charging current is greater than the maximum current that the adapter is capable of providing, i.e. characterizes that the adapter does not have a charging capability to provide the target charging power.
In step S405, in response to receiving the first charging capability confirmation instruction sent by the adapter, the terminal device determines that the adapter has a charging capability that provides the target charging power. After that, step S407 is performed.
In step S406, in response to receiving the second charging capability confirmation instruction sent by the adapter, the terminal device determines that the adapter does not have the charging capability to provide the target charging power. After that, step S409 is performed.
In step S407, in response to determining that the adapter has a charging capability to provide the target charging power, the terminal device transmits a first demand current instruction for indicating the present demand current in a first number of bits to the adapter.
The first bit number is larger than the second bit number indicating the current required current to be used by default, and the maximum current indicated by the second bit number is smaller than the current required current indicated by the first required current instruction.
In step S408, the adapter charges the terminal device according to the first demand current instruction.
In step S409, in response to determining that the adapter does not have the charging capability to provide the target charging power, the terminal device transmits a second demand current instruction for indicating the present demand current in a second number of bits to the adapter.
Wherein the present demand current indicated by the second demand current command is not greater than the maximum current that the second number of bits can indicate.
For example, if the target charging power is 200W, the corresponding target charging current is 10A, and the maximum current that the adapter can provide is 6.35A, the adapter does not have the charging capability to provide the target charging power, and cannot output a current of 10A. At this time, in order to adapt the terminal device to the power of the adapter, the terminal device may send a second demand current instruction for indicating the current demand current by a second number of bits to the adapter so that the adapter charges the terminal device according to the second demand current instruction, for example, the terminal device may send a second demand current instruction for indicating the current demand current (e.g., 6A) by the second number of bits to the adapter so that the adapter outputs the current of 6A to charge the terminal device.
Further, the second charging capability confirmation instruction sent by the adapter may further include the maximum power that the adapter can provide, or the maximum current that the adapter can provide. Therefore, the terminal equipment can adjust the working state of the internal charging pump according to the received maximum power or maximum current, so that the second demand current instruction which is determined and sent by the terminal equipment is more accurate.
Illustratively, to enable a terminal device to achieve fast charging, multiple charge pumps may be provided inside the terminal device, e.g., 3 charge pumps may support 200W charging, 2 charge pumps may support 120W charging, and 1 charge pump may support 67W charging. If the target charging power is 200W and the adapter does not have the charging capability for providing the target charging power, the number of charging pumps started in the terminal device can be determined according to the maximum power or the maximum current which can be provided by the adapter and is carried in the returned second charging capability confirmation instruction, so that charging is achieved. For example, if the maximum power that the adapter carried in the second charging capability confirmation instruction can provide is 67W, the terminal device can be charged by starting 1 charging pump.
In step S410, the terminal device is charged according to the second demand current instruction.
In this way, in the case where the adapter does not have a charging capability to supply the target charging power, the terminal device can adapt to the adapter to realize charging with a smaller charging power.
By means of the charging mode, when the terminal equipment has a charging requirement for a higher target charging power and the adapter has a charging capability for providing the target charging power, the higher current required current is indicated through the expanded bit number, and the adapter can charge the terminal equipment according to the current required current indicated by the expanded bit number, so that the charging power is improved, the charging time is shortened, and the use experience of a user is improved. In the case where the adapter does not have a charging capability to supply the target charging power, the terminal device can adapt to the adapter to realize charging with a smaller charging power.
Optionally, in step S201, determining whether the adapter has a charging capability to provide the target charging power may include:
determining whether the terminal device has a charging capability to charge at a target charging power;
in response to determining that the terminal device has a charging capability to charge at the target charging power, it is determined whether the adapter has a charging capability to provide the target charging power.
Wherein determining whether the terminal device has charging capability to charge at the target charging power may include:
determining the number of charge pumps in the terminal equipment;
in response to the number of charge pumps being greater than a preset threshold, it is determined that the terminal device has a charging capability to charge at a target charging power.
Wherein the preset threshold is determined based on the target charging power and the maximum charging power that can be allowed by the single charge pump.
The charging capability of the terminal device is illustratively determined by its own hardware structure. For example, the more charge pumps in a terminal device, the more charging capacity it has. The target charging power may be set in advance, for example, may be set to 200W. For example, as described above, 3 charge pumps may support 200W charging, 2 charge pumps may support 120W charging, 1 charge pump may support 67W charging, and if the number of charge pumps in the terminal device is 2, the terminal device itself cannot support the target charging power of 200W.
The preset threshold is preset based on the target charging power and the maximum charging power that can be allowed by the single charge pump. For example, if the target charging power is 200W and the maximum charging power that a single charge pump can allow is 70W, the preset threshold may be set to 2. If it is determined that the number of charge pumps in the terminal device is 3 and the maximum charge power allowable by the combined action of the 3 charge pumps is 210W, it may be determined that the terminal device has a charging capability to charge at the target charge power. If it is determined that the number of charge pumps in the terminal device is 2 or less, the maximum charge power that the charge pump assembly can allow cannot reach 200W, and it may be determined that the terminal device does not have the charging capability to charge at the target charge power.
Therefore, before determining whether the adapter has the charging capability for providing the target charging power, determining whether the terminal equipment has the charging capability for charging with the target charging power, so as to avoid that the power output by the adapter is larger than the maximum power which can be born by the terminal equipment due to mismatching of the set target charging power and hardware in the terminal equipment, and further ensure the operation safety of the terminal equipment.
Based on the same inventive concept, the present disclosure also provides a charging device applied to a terminal device. Fig. 5 is a block diagram of a charging device provided in an exemplary embodiment of the present disclosure. Referring to fig. 5, the charging device 600 may include:
a first determining module 601, configured to determine whether an adapter has a charging capability that provides a target charging power, where the target charging power is greater than a default charging power provided by the adapter by default;
a first sending module 602, configured to send, to the adapter, a first demand current instruction for indicating a current demand current by a first number of bits in response to determining that the adapter has a charging capability of providing the target charging power, so that the adapter charges the terminal device according to the first demand current instruction, where the first number of bits is greater than a second number of bits indicating a default use of the current demand current, and the second number of bits is capable of indicating a maximum current that is smaller than the current demand current indicated by the first demand current instruction.
In the case that it is determined that the adapter has a charging capability to provide the target charging power, the adapter may be caused to charge the terminal device according to the first demand current command by a first demand current command indicating a current demand current with a first number of bits that is greater than a second number of bits that indicates a current demand current to be used by default, the second number of bits being capable of indicating a maximum current that is less than the current demand current indicated by the first demand current command. In this way, when the terminal device has a charging requirement for a higher target charging power and the adapter has a charging capability for providing the target charging power, the higher current demand current is indicated by the extended bit number, so that the adapter can charge the terminal device according to the current demand current indicated by the extended bit number, thereby improving the charging power, shortening the charging time, and improving the use experience of the user. In addition, fast charging can be achieved by modifying the protocol (i.e., indicating a higher current demand current by an extended number of bits), and for existing adapters that support less charging power, high power fast charging can be achieved without hardware-related modifications to the adapter as long as the adapter has a charging capability that provides the target charging power.
Optionally, the first determining module 601 includes:
a first sending submodule, configured to send a charging capability identification instruction to the adapter, where the charging capability identification instruction indicates a target charging current corresponding to the target charging power;
a second determining submodule, configured to determine that the adapter has a charging capability to provide the target charging power in response to receiving a first charging capability confirmation instruction sent by the adapter, or determine that the adapter does not have a charging capability to provide the target charging power in response to receiving a second charging capability confirmation instruction sent by the adapter, where the first charging capability confirmation instruction characterizes that the target charging current is not greater than a maximum current that the adapter can provide; the second charge capacity confirmation instruction characterizes the target charge current as being greater than a maximum current that the adapter is capable of providing.
Optionally, the first sending module 602 is further configured to send, to the adapter, a second demand current instruction for indicating a current demand current by the second bit number in response to determining that the adapter does not have a charging capability for providing the target charging power, so that the adapter charges the terminal device according to the second demand current instruction, where the current demand current indicated by the second demand current instruction is not greater than a maximum current that can be indicated by the second bit number.
Optionally, the first determining module 601 includes:
a second determining submodule for determining whether the terminal equipment has a charging capability of charging with the target charging power;
and a third determination sub-module for determining whether the adapter has a charging capability to provide a target charging power in response to determining that the terminal device has a charging capability to charge at the target charging power.
Based on the same inventive concept, the present disclosure also provides a charging device applied to the adapter. Fig. 6 is a block diagram of a charging device provided in an exemplary embodiment of the present disclosure. Referring to fig. 6, the charging device 700 may include:
a first receiving module 701, configured to receive a charging capability identification instruction sent by a terminal device, where the charging capability identification instruction indicates a target charging current corresponding to a target charging power, where the target charging power is greater than a default charging power provided by the adapter by default;
a second sending module 702 configured to send, in response to determining that the target charging current is not greater than a maximum current that the adapter can provide, a first charging capability confirmation instruction to the terminal device, where the first charging capability confirmation instruction characterizes that the target charging current is not greater than the maximum current that the adapter can provide;
A second receiving module 703, configured to receive a first demand current instruction sent by the terminal device, where the first demand current instruction is used to indicate a current demand current of the terminal device with a first number of bits, where the first number of bits is greater than a second number of bits that indicates that the current demand current is used by default, and the second number of bits is capable of indicating a maximum current that is less than the current demand current indicated by the first demand current instruction;
and the control module 704 is configured to charge the terminal device according to the first demand current instruction.
In the case that it is determined that the adapter has a charging capability to provide the target charging power, the adapter may be caused to charge the terminal device according to the first demand current command by a first demand current command indicating a current demand current with a first number of bits that is greater than a second number of bits that indicates a current demand current to be used by default, the second number of bits being capable of indicating a maximum current that is less than the current demand current indicated by the first demand current command. In this way, when the terminal device has a charging requirement for a higher target charging power and the adapter has a charging capability for providing the target charging power, the higher current demand current is indicated by the extended bit number, so that the adapter can charge the terminal device according to the current demand current indicated by the extended bit number, thereby improving the charging power, shortening the charging time, and improving the use experience of the user. In addition, fast charging can be achieved by modifying the protocol (i.e., indicating a higher current demand current by an extended number of bits), and for existing adapters that support less charging power, high power fast charging can be achieved without hardware-related modifications to the adapter as long as the adapter has a charging capability that provides the target charging power.
Optionally, the second sending module 702 is further configured to send a second charging capability confirmation instruction to the terminal device in response to determining that the target charging current is greater than the maximum current that can be provided by the adapter, where the second charging capability confirmation instruction characterizes that the target charging current is greater than the maximum current that can be provided by the adapter.
Optionally, the second receiving module 703 is further configured to receive a second demand current instruction sent by the terminal device, where the second demand current instruction is used to indicate, by the second number of bits, a current demand current of the terminal device, where the current demand current indicated by the second demand current instruction is not greater than a maximum current that can be indicated by the second number of bits;
the control module 704 is further configured to charge the terminal device according to the second demand current instruction.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 7 is a block diagram of a terminal device 120 provided in an exemplary embodiment of the present disclosure. For example, the terminal device 120 may be a mobile phone, a tablet device, or the like. Referring to fig. 7, the terminal device 120 may include one or more of the following components: a first processing component 802, a first memory 804, a first power component 806, a multimedia component 808, an audio component 810, a first input/output interface 812, a sensor component 814, and a first communication component 816.
The first processing component 802 generally controls overall operation of the terminal device 120, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The first processing component 802 may include one or more first processors 820 to execute instructions to perform all or part of the steps of the charging method described above as being applied to a terminal device. Further, the first processing component 802 may include one or more modules that facilitate interactions between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the first processing component 802.
The first memory 804 is configured to store various types of data to support operations at the terminal device 120. Examples of such data include instructions for any application or method operating on terminal device 120, contact data, phonebook data, messages, pictures, video, and the like. The first memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices, such as static random access first memory (SRAM), electrically erasable programmable read-only first memory (EEPROM), erasable programmable read-only first memory (EPROM), programmable read-only first memory (PROM), read-only first memory (ROM), magnetic first memory, flash first memory, magnetic disk, or optical disk.
The first power supply component 806 provides power to the various components of the terminal device 120. The first power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device 120.
The multimedia component 808 comprises a screen between the terminal device 120 and the user providing an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the terminal device 120 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal device 120 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the first memory 804 or transmitted via the first communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The first input/output interface 812 provides an interface between the first processing component 802 and a peripheral interface module, which may be a keyboard, click wheel, button, or the like. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects for the terminal device 120. For example, the sensor assembly 814 may detect an on/off state of the terminal device 120, a relative positioning of the components, such as a display and keypad of the terminal device 120, the sensor assembly 814 may also detect a change in position of the terminal device 120 or a component of the terminal device 120, the presence or absence of a user's contact with the terminal device 120, an orientation or acceleration/deceleration of the terminal device 120, and a change in temperature of the terminal device 120. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The first communication component 816 is configured to facilitate communication between the terminal device 120 and other devices, either wired or wireless. The terminal device 120 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the first communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the first communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device 120 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the above-described charging methods applied to terminal devices.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as first memory 804, comprising instructions executable by first processor 820 of terminal device 120 to perform the above-described charging method applied to the terminal device. For example, the non-transitory computer readable storage medium may be ROM, random access first memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 8 is a block diagram of an adapter 110 provided by an exemplary embodiment of the present disclosure. Referring to fig. 8, the adapter 110 may include one or more of the following components: a second processing component 902, a second memory 904, a second power component 906, a second input/output interface 912, and a second communication component 916.
The second processing component 902 generally controls the overall operation of the adapter 110. The second processing component 902 may include one or more second processors 920 to execute instructions to perform all or part of the steps of the charging method described above as being applied to the adapter. Further, the second processing component 902 may include one or more modules that facilitate interactions between the second processing component 902 and other components.
The second memory 904 is configured to store various types of data to support operations at the adapter 110. Examples of such data include instructions for any application or method operating on adapter 110. The second memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices, such as static random access first memory (SRAM), electrically erasable programmable read-only first memory (EEPROM), erasable programmable read-only first memory (EPROM), programmable read-only first memory (PROM), read-only first memory (ROM), magnetic first memory, flash first memory, magnetic disk, or optical disk.
The second power component 906 provides power to the various components of the adapter 110. The second power component 906 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the adapter 110.
The second input/output interface 912 provides an interface between the second processing component 902 and the peripheral interface module.
The second communication component 916 is configured to facilitate communication between the adapter 110 and other devices, either wired or wireless. The adapter 110 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the second communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel.
In an exemplary embodiment, the adapter 110 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the above-described charging methods applied to adapters.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as a second memory 904, comprising instructions executable by the second processor 920 of the adapter 110 to perform the above-described charging method applied to the adapter. For example, the non-transitory computer readable storage medium may be ROM, random access first memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described charging method applied to a terminal device or the charging method applied to an adapter when being executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
1. A charging method, applied to a terminal device, comprising:
Determining whether an adapter has a charging capability that provides a target charging power, wherein the target charging power is greater than a default charging power that the adapter provides by default;
in response to determining that the adapter has a charging capability to provide the target charging power, a first demand current instruction for indicating a current demand current with a first number of bits is sent to the adapter to cause the adapter to charge the terminal device according to the first demand current instruction, wherein the first number of bits is greater than a second number of bits indicating a current demand current default use, and the second number of bits is capable of indicating a maximum current that is less than the current demand current indicated by the first demand current instruction.
2. The charging method of claim 1, wherein the determining whether the adapter has a charging capability that provides the target charging power comprises:
sending a charging capacity identification instruction to the adapter, wherein the charging capacity identification instruction indicates a target charging current corresponding to the target charging power;
determining that the adapter has a charging capability to provide the target charging power in response to receiving a first charging capability confirmation instruction sent by the adapter, or determining that the adapter does not have a charging capability to provide the target charging power in response to receiving a second charging capability confirmation instruction sent by the adapter, wherein the first charging capability confirmation instruction characterizes that the target charging current is not greater than a maximum current that the adapter can provide; the second charge capacity confirmation instruction characterizes the target charge current as being greater than a maximum current that the adapter is capable of providing.
3. The charging method according to claim 1, characterized in that the charging method further comprises:
in response to determining that the adapter does not have the charging capability to provide the target charging power, sending a second demand current instruction to the adapter to indicate a current demand current by the second number of bits, so that the adapter charges the terminal device according to the second demand current instruction, wherein the current demand current indicated by the second demand current instruction is not greater than a maximum current that the second number of bits can indicate.
4. The charging method of claim 1, wherein the determining whether the adapter has a charging capability that provides the target charging power comprises:
determining whether the terminal device has a charging capability to charge at the target charging power;
in response to determining that the terminal device has a charging capability to charge at the target charging power, determining whether the adapter has a charging capability to provide the target charging power.
5. The charging method according to claim 4, wherein the determining whether the terminal device has a charging capability to charge at the target charging power comprises:
Determining the number of charge pumps in the terminal equipment;
and determining that the terminal equipment has a charging capability of charging at the target charging power in response to the number of charge pumps being greater than a preset threshold, wherein the preset threshold is determined based on the target charging power and a maximum charging power allowable by a single charge pump.
6. A charging method, applied to an adapter, comprising:
receiving a charging capacity identification instruction sent by a terminal device, wherein the charging capacity identification instruction indicates a target charging current corresponding to target charging power, and the target charging power is larger than default charging power provided by the adapter by default;
in response to determining that the target charging current is not greater than a maximum current that the adapter is capable of providing, sending a first charging capability confirmation instruction to the terminal device, wherein the first charging capability confirmation instruction characterizes the target charging current as not greater than the maximum current that the adapter is capable of providing;
receiving a first demand current instruction sent by the terminal equipment, wherein the first demand current instruction is used for indicating the current demand current of the terminal equipment by a first bit number, the first bit number is larger than a second bit number used for indicating the current demand current by default, and the maximum current which can be indicated by the second bit number is smaller than the current demand current indicated by the first demand current instruction;
And charging the terminal equipment according to the first demand current instruction.
7. The charging method according to claim 6, characterized in that the charging method further comprises:
in response to determining that the target charging current is greater than the maximum current that the adapter is capable of providing, a second charging capability confirmation instruction is sent to the terminal device, wherein the second charging capability confirmation instruction characterizes the target charging current as being greater than the maximum current that the adapter is capable of providing.
8. The charging method according to claim 7, characterized in that the charging method further comprises:
receiving a second demand current instruction sent by the terminal equipment, wherein the second demand current instruction is used for indicating the current demand current of the terminal equipment by the second bit number, and the current demand current indicated by the second demand current instruction is not greater than the maximum current which can be indicated by the second bit number;
and charging the terminal equipment according to the second demand current instruction.
9. A charging device, characterized by being applied to a terminal device, comprising:
a first determining module, configured to determine whether an adapter has a charging capability that provides a target charging power, where the target charging power is greater than a default charging power provided by the adapter by default;
And a first sending module, configured to send, to the adapter, a first demand current instruction for indicating a current demand current by a first number of bits in response to determining that the adapter has a charging capability of providing the target charging power, so that the adapter charges the terminal device according to the first demand current instruction, where the first number of bits is greater than a second number of bits indicating a default use of the current demand current, and the second number of bits is capable of indicating a maximum current that is smaller than the current demand current indicated by the first demand current instruction.
10. A charging device, characterized by being applied to an adapter, comprising:
the first receiving module is used for receiving a charging capacity identification instruction sent by the terminal equipment, wherein the charging capacity identification instruction indicates a target charging current corresponding to target charging power, and the target charging power is larger than default charging power provided by the adapter by default;
a second sending module, configured to send a first charging capability confirmation instruction to the terminal device in response to determining that the target charging current is not greater than a maximum current that the adapter can provide, where the first charging capability confirmation instruction characterizes that the target charging current is not greater than the maximum current that the adapter can provide;
A second receiving module, configured to receive a first demand current instruction sent by the terminal device, where the first demand current instruction is configured to indicate a current demand current of the terminal device with a first number of bits, where the first number of bits is greater than a second number of bits that indicates a current demand current to be used by default, and the second number of bits is capable of indicating a maximum current that is less than the current demand current indicated by the first demand current instruction;
and the control module is used for charging the terminal equipment according to the first demand current instruction.
11. A terminal device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any of claims 1-5.
12. An adapter, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any of claims 6-8.
13. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1 to 5 or the steps of the method of any of claims 6 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211120057.6A CN117748631A (en) | 2022-09-14 | 2022-09-14 | Charging method, charging device, terminal device, adapter, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211120057.6A CN117748631A (en) | 2022-09-14 | 2022-09-14 | Charging method, charging device, terminal device, adapter, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117748631A true CN117748631A (en) | 2024-03-22 |
Family
ID=90255026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211120057.6A Pending CN117748631A (en) | 2022-09-14 | 2022-09-14 | Charging method, charging device, terminal device, adapter, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117748631A (en) |
-
2022
- 2022-09-14 CN CN202211120057.6A patent/CN117748631A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170025874A1 (en) | Charging method | |
US11457479B2 (en) | Method and apparatus for configuring random access occasion, method and apparatus for random access | |
CN108110854B (en) | Charging method, charging device and computer-readable storage medium | |
CN107071862B (en) | Account number binding method and device and intelligent equipment | |
CN108091808B (en) | Battery, equipment, charging control method and device | |
CN108011191B (en) | Antenna, terminal, and method and device for controlling antenna | |
CN107666660B (en) | Interphone configuration method and device | |
CN107329520B (en) | USB interface connection method, device and system of mobile terminal | |
CN112821508B (en) | Charging method, device and storage medium | |
CN106990984B (en) | Method and device for updating system | |
CN105490332B (en) | Charging method, apparatus and system | |
CN107733021B (en) | Control method and device of electronic equipment | |
CN107295462B (en) | Wireless connection control method and device | |
EP3751884A1 (en) | System message receiving method and device, and system message transmitting method and device | |
CN112821515B (en) | Charging method, device and system | |
CN114994570A (en) | Disconnection detection method and device, electronic device, storage medium, and detection circuit | |
CN117748631A (en) | Charging method, charging device, terminal device, adapter, and storage medium | |
CN112448052B (en) | Battery charging control method and device | |
CN108539823B (en) | Charging method and device | |
CN112019681B (en) | Control method of mobile terminal, mobile terminal and storage medium | |
CN108897553B (en) | Chip programming tool, system, chip programming method and device | |
CN109450032B (en) | Wireless charging processing method, device and equipment | |
CN109194639B (en) | Message receiving and processing method, device, terminal and readable storage medium | |
CN107708106B (en) | User identification card management method and user identification card management device | |
CN111130223B (en) | Wireless charging display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |