CN112653213B - Charging control method and device - Google Patents

Charging control method and device Download PDF

Info

Publication number
CN112653213B
CN112653213B CN202011498346.0A CN202011498346A CN112653213B CN 112653213 B CN112653213 B CN 112653213B CN 202011498346 A CN202011498346 A CN 202011498346A CN 112653213 B CN112653213 B CN 112653213B
Authority
CN
China
Prior art keywords
charging
voltage
power supply
control device
electric equipment
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.)
Active
Application number
CN202011498346.0A
Other languages
Chinese (zh)
Other versions
CN112653213A (en
Inventor
李达寰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011498346.0A priority Critical patent/CN112653213B/en
Publication of CN112653213A publication Critical patent/CN112653213A/en
Application granted granted Critical
Publication of CN112653213B publication Critical patent/CN112653213B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The application provides a charging control method and device, wherein the charging control device comprises a voltage conversion module, a control circuit, a storage module, a first port and a second port; the voltage conversion module is connected with the first port and is also connected with the second port; the first port is used for being connected with electric equipment, and the second port is used for being connected with power supply equipment; the storage module is used for storing a plurality of charging protocols; the control circuit is respectively connected with the first port, the second port and the storage module and is used for identifying a first target charging protocol supported by the electric equipment, wherein the first target charging protocol is one of the charging protocols; the voltage conversion module is used for adjusting the voltage output by the power supply equipment to the charging voltage corresponding to the first target charging protocol under the action of the control circuit, and outputting the charging voltage to the electric equipment. According to the embodiment of the application, the convenience of charging can be improved.

Description

Charging control method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a charging control method and apparatus.
Background
With the development of the quick charging technology of electronic equipment, the demand of the market for the quick charging function is increasingly increased, and the quick charging can fully charge the electronic equipment in a short time, so that better use experience is brought to users. At present, different chargers have different methods for realizing quick charging, and when a user needs to quickly charge electronic equipment, the user needs to use a charger matched with the electronic equipment to quickly charge the electronic equipment. When the charger marked with the electronic equipment does not exist around, the electronic equipment cannot be charged quickly, and the charging convenience is poor.
Disclosure of Invention
The embodiment of the application provides a charging control method and device, which can solve the problem of poor charging convenience in the prior art.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present application provides a charging control device, where the charging control device includes a voltage conversion module, a control circuit, a storage module, a first port and a second port;
the voltage conversion module is connected with the first port and is also connected with the second port;
the first port is used for being connected with electric equipment, and the second port is used for being connected with power supply equipment;
the storage module is used for storing a plurality of charging protocols;
the control circuit is respectively connected with the first port, the second port and the storage module and is used for identifying a first target charging protocol supported by the electric equipment, wherein the first target charging protocol is one of the charging protocols;
the voltage conversion module is used for adjusting the voltage output by the power supply equipment to the charging voltage corresponding to the first target charging protocol under the action of the control circuit, and outputting the charging voltage to the electric equipment.
In a second aspect, an embodiment of the present application provides a charging control method applied to a charging control device, where the charging control device is connected to an electric device and a power supply device, respectively, and the method includes:
acquiring a first target charging protocol supported by the electric equipment;
determining a charging voltage of the powered device based on the first target charging protocol;
adjusting the voltage output by the power supply equipment to be the charging voltage;
and outputting the regulated voltage to the electric equipment.
In a third aspect, an embodiment of the present application provides a charging control device, where the charging control device is connected to an electric device and a power supply device, respectively, and the charging control device includes:
the acquisition module is used for acquiring a first target charging protocol supported by the electric equipment;
the determining module is used for determining the charging voltage of the electric equipment based on the first target charging protocol;
the adjusting module is used for adjusting the voltage output by the power supply equipment into the charging voltage;
and the output module is used for outputting the regulated voltage to the electric equipment.
In a fourth aspect, embodiments of the present application provide an electronic device including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps in the charge control method according to the second aspect when executed by the processor.
In a fifth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps in the charge control method according to the second aspect.
In a sixth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the second aspect.
In this embodiment of the present application, the charging control device stores a plurality of charging protocols, and is capable of identifying a first target charging protocol supported by an electric device, adjusting a voltage output by the power supply device to a charging voltage corresponding to the first target charging protocol, and outputting the charging voltage to the electric device. Therefore, the charging control device is used as the intermediate communication equipment of the power supply equipment and the electric equipment, and for the non-standard charger, the non-standard charger can supply power to the electric equipment through the charging control device, so that the charging convenience can be improved.
Drawings
Fig. 1 is a schematic structural diagram of a charging control device according to an embodiment of the present application;
fig. 2 is a second schematic structural diagram of a charging control device according to an embodiment of the present disclosure;
FIG. 3 is a third schematic diagram of a charge control device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a charging control method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a charging control device according to an embodiment of the present disclosure;
fig. 6 is a fifth schematic structural diagram of a charging control device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a charging control device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The charging control device provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings by means of specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a charge control device according to an embodiment of the present application, and as shown in fig. 1, the charge control device includes a voltage conversion module 1, a control circuit 2, a storage module 3, a first port 4, and a second port 5;
the voltage conversion module 1 is connected with the first port 4, and the voltage conversion module 1 is also connected with the second port 5;
the first port 4 is used for being connected with electric equipment, and the second port 5 is used for being connected with power supply equipment;
the storage module 3 is used for storing a plurality of charging protocols; at least one parameter type is contained in each charging protocol, and the parameter values of the parameter types are different. The parameter types may include voltage, current, power, etc., which are not exactly the same for different charging protocols. For example, the voltage of the A charge protocol is higher than the voltage of the B charge protocol, and the current of the A charge protocol is higher than the current of the B charge protocol; or the voltage of the charging protocol A is the same as the voltage of the charging protocol B, and the current of the charging protocol A is higher than the current of the charging protocol B; or, the charging current of the charging protocol a is different under different residual amounts of the battery, and the charging current of the charging protocol B maintains a fixed value, and so on.
The control circuit 2 is respectively connected with the first port 4, the second port 5 and the storage module 3, and is used for identifying a first target charging protocol supported by the electric equipment, wherein the first target charging protocol is one of the charging protocols;
under the action of the control circuit 2, the voltage conversion module 1 is configured to adjust the voltage output by the power supply device to a charging voltage corresponding to the first target charging protocol, and output the charging voltage to the electric device.
Wherein the voltage conversion module 1 can be used for voltage conversion. The voltage conversion module 1 can convert a high-voltage signal into a low-voltage signal; or may convert the low voltage signal to a high voltage signal; or may have a function of converting a high voltage signal into a low voltage signal and converting a low voltage signal into a high voltage signal at the same time. Illustratively, the voltage conversion module 1 may convert a 9V voltage signal to a 5V voltage signal, and may also convert a 9V voltage signal to a 12V voltage signal. The control circuit 2 can be connected with the voltage conversion module 1 through a driving module, and the voltage conversion module 1 is driven to work through the driving module.
Through setting up voltage conversion module 1, when the voltage of power supply unit output and the charging voltage of consumer demand mismatch, can be through voltage conversion module 1 with the voltage of power supply unit output converts the charging voltage of consumer demand. Like this, to the charger of the charging voltage of power supply unit's power supply voltage range not including consumer demand, also can charge for the consumer through charge control device to can further improve the convenience of charging.
In addition, the control circuit 2 may be a micro control unit (Microcontroller Unit, MCU). The first port 4 may adopt a Type-c interface, or may adopt a Type-a interface, or may adopt a lightning (lightning) interface, etc., and the specific implementation manner of the first port 4 is not limited in this embodiment. The second port 5 may adopt a Type-c interface, or may adopt a Type-a interface, or may adopt a lightning (lightning) interface, etc., and the specific implementation manner of the second port 5 is not limited in this embodiment.
In addition, the power supply equipment can be equipment such as a charger, a computer and a sound box which can be used for supplying power, and the electric equipment can be electronic equipment with power requirements such as a mobile phone, an intelligent watch and a pedometer.
It should be noted that, when the first port 4 is connected with the electric device and the second port 5 is connected with the power supply device, the charging control device may detect a charging protocol of the power supply device, enter a waiting state after completing detection of the charging protocol of the power supply device, and output a default voltage; and if the charging control device receives the charging demand information of the electric equipment, outputting charging voltage corresponding to the charging demand information to the electric equipment.
In addition, the storage module 3 may be used to store information, and the storage module 3 may store a plurality of charging protocols, for example, existing charging protocols may be stored in the storage module 3, so that the charging control device may communicate with electric devices and power supply devices of any charging protocol. The control circuit 2 may control the storage module 3 to store information to be stored or read information to be read from the storage module 3. The memory module 3 may be a memory bank, for example. Through setting up storage module 3, can realize the storage function, when charging control device and consumer are connected, can expand the memory space of consumer, realize increasing the memory of consumer.
Further, as shown in fig. 2, the charging control device may further include a first communication module and a second communication module, the control circuit 2 may be connected to the first port 4 through the first communication module, and the control circuit 2 may be connected to the second port 5 through the second communication module. The first communication module can comprise a communication chip, and the communication chip can communicate with the electric equipment according to a communication protocol corresponding to the electric equipment. The second communication module may include a communication chip, and the communication chip may communicate with the power supply device according to a communication protocol corresponding to the power supply device. The control circuit 2 may be connected to the voltage conversion module 1 through a driving module.
In practical application, as shown in fig. 3, the charging control device is respectively connected with a power supply device and an electric device, where the power supply device may include a primary high-voltage module, a power output module, a third port and a protocol logic module, where the primary high-voltage module is connected with the third port through the power output module, and outputs a voltage outwards through the third port; the protocol logic module is respectively connected with the primary side high-voltage module, the power output module and a third port, and is used for controlling the power supply equipment to output voltage to the charging control device and communicate with the charging control device, and the third port is connected with the second port 5. The electric equipment can comprise a system and power consumption module group, a power management module, a fourth port, a battery module and a control system, wherein the fourth port is connected with the system and the power consumption module group through the power management module, and the voltage input through the fourth port supplies power for the system and the power consumption module group; the control system is respectively connected with the fourth port and the battery module, and the battery module is respectively connected with the battery management module, the system and the power consumption module group; the fourth port is connected with the first port 4, wherein the system and power consumption module group comprises modules with power consumption requirements in the electric equipment.
In this embodiment of the present application, the charging control device stores a plurality of charging protocols, and is capable of identifying a first target charging protocol supported by an electric device, adjusting a voltage output by the power supply device to a charging voltage corresponding to the first target charging protocol, and outputting the charging voltage to the electric device. Therefore, the charging control device is used as the intermediate communication equipment of the power supply equipment and the electric equipment, and for the non-standard charger, the non-standard charger can supply power to the electric equipment through the charging control device, so that the charging convenience can be improved.
Optionally, as shown in fig. 2, the charging control device further includes a power module 6, where the power module 6 is connected to the control circuit 2;
the power supply module 6 is used for supplying power to the control circuit 2;
the control circuit 2 is further configured to send a request message to the electric apparatus, where the request message requests the electric apparatus to supply power to the charging control device, when the power module 6 supplies power to the control circuit 2.
The power module 6 may store electric energy to supply power to each module of the charge control device. The power supply module 6 may be connected to the voltage conversion module 1.
It should be noted that, in the prior art, the storage device has no capability of actively initiating communication, and can only initiate a storage communication handshake after passively receiving the power supply of the electric device, and for the electric device with low voltage output by default by the output interface such as the mobile phone, the storage device cannot be connected with the electric device, so as to provide a storage function for the electric device. In this embodiment, by setting The power supply module 6 in The charging control device, the power supply module 6 can supply power to The control circuit 2, so that The charging control device can actively communicate with The electric equipment, and The portable (On-The-Go, OTG) function of The electric equipment is excited, so that The electric equipment supplies power to The charging control device.
In this embodiment, through setting up power module 6, can be through power module 6 for control circuit 2 power supply to when charge control device connects the consumer, for control circuit 2 power supply through power module 6, make control circuit 2 have the OTG function that can arouse the consumer, thereby charge control device can store the communication with the consumer, thereby can expand the memory of consumer.
Referring to fig. 4, fig. 4 is a flowchart of a charging control method provided in an embodiment of the present application, which is applied to a charging control device, where the charging control device is connected to an electric device and a power supply device, respectively, as shown in fig. 4, and includes the following steps:
step 101, acquiring a first target charging protocol supported by the electric equipment;
step 102, determining a charging voltage of the electric equipment based on the first target charging protocol;
step 103, adjusting the voltage output by the power supply equipment to be the charging voltage;
step 104, outputting the regulated voltage to the electric equipment;
the charge control method may be applied to the charge control device described in fig. 1. The charging control device may store a plurality of charging protocols, and the first target charging protocol may be one of the plurality of charging protocols. The charging control device can communicate with the electric equipment based on a first target charging protocol, and acquire charging demand information of the electric equipment, wherein the charging demand information can comprise charging voltage of the electric equipment; alternatively, the charging demand information may include a charging voltage and a charging current of the electric device; or may include the charging power of the powered device; etc., the present embodiment is not limited thereto. The charging voltage of the electric equipment can be directly determined from the charging voltage carried in the charging demand information, or the charging voltage of the electric equipment can be calculated through the charging power carried in the charging demand information, for example, the quotient of the charging power and the preset current can be used as the charging voltage of the electric equipment.
If the charging voltage of the electric device is not within the power supply voltage range of the power supply device, the charging control device may send first request information to the power supply device, where the first request information is used to request the power supply device to adjust the output voltage to a target voltage, where the target voltage may be a voltage value within the power supply voltage range of the power supply device, which is closer to the charging voltage, and for example, the target voltage may be a voltage with the smallest absolute value of a difference value between the target voltage and the charging voltage within the power supply voltage range, so that the charging control device may adjust the target voltage output by the power supply device to the charging voltage, and output the charging voltage to the electric device.
In practical application, the charging control device may start the control circuit after receiving the output voltage of the power supply device through the second port, and initiate a communication handshake with the power supply device through the first communication module. The charging control means may communicate with the power supply apparatus based on a plurality of charging protocols stored in advance, respectively, and determine a second target charging protocol of the power supply apparatus. After the charging control device is connected with the electric equipment, the charging control device can receive a communication handshake request of the electric equipment through the first port, can respectively communicate with the electric equipment based on a plurality of pre-stored charging protocols, determines a first target charging protocol of the electric equipment, and communicates with the electric equipment according to the first target charging protocol. The control circuit of the charging control device can judge whether the output voltage of the power supply equipment meets the charging voltage of the electric equipment according to the obtained charging demand information of the electric equipment, and if the output voltage of the power supply equipment meets the charging voltage of the electric equipment, the control circuit can control the first port and the second port to be conducted so as to directly output the output voltage of the power supply equipment to the electric equipment. For example, the voltage conversion module may be controlled to conduct directly.
Further, if the output voltage of the power supply device does not meet the charging voltage of the electric equipment, the power supply device can be requested to output the target voltage according to the power supply voltage range of the power supply device, the control circuit can control the voltage conversion module to perform voltage conversion on the target voltage output by the power supply device, and the voltage signal with the converted voltage being the charging voltage is output to the electric equipment. After the electric equipment is charged, an instruction can be sent to the charging control device, and the charging is stopped.
It should be noted that, the charging control device in this embodiment may supply power to the electronic device according to the maximum efficiency of the non-standard charger, so as to improve user experience; in addition, through the charging control device, the memory of the electronic equipment can be expanded, and the service life of the electronic equipment is prolonged; the charging control device integrates the functions of power expansion and storage expansion, and the power expansion and the storage expansion can share the modules such as a communication module, a power module, a control circuit and the like, so that the cost is reduced; the charging control device can integrate functions such as sound and illumination, and user experience is further improved.
In the embodiment of the application, a first target charging protocol supported by the electric equipment is obtained; determining a charging voltage of the powered device based on the first target charging protocol; adjusting the voltage output by the power supply equipment to be the charging voltage; and outputting the regulated voltage to the electric equipment. Therefore, the charging control device is used as the intermediate communication equipment of the power supply equipment and the electric equipment, and for the non-standard charger, the non-standard charger can supply power to the electric equipment through the charging control device, so that the charging convenience can be improved.
Optionally, the adjusting the voltage output by the power supply device to the charging voltage includes:
acquiring a second target charging protocol supported by the power supply equipment;
determining a supply voltage range of the power supply device based on the second target charging protocol;
if the charging voltage of the electric equipment is not in the power supply voltage range, sending first request information to the power supply equipment, wherein the first request information is used for requesting the power supply equipment to adjust the output voltage to a target voltage, and the target voltage is the voltage with the minimum absolute value of the difference value between the power supply voltage range and the charging voltage;
and adjusting the target voltage output by the power supply equipment to be the charging voltage.
Wherein the second target charging protocol supported by the power supply device may be determined based on a plurality of charging protocols stored in advance to communicate with the power supply device, respectively.
It should be noted that, the charging control device may start the control circuit after receiving the output voltage of the power supply device through the second port, initiate a communication handshake with the power supply device through the second communication module, and output a default voltage from the first port, where the default voltage may be 3.5V,4.5V, or 5V, and so on. The charge control device may store a plurality of charge protocols in advance, for example, charge protocol 1, charge protocol 2, and charge protocol 3. The charging control means may communicate with the power supply apparatus based on a plurality of charging protocols stored in advance, respectively, and determine a second target charging protocol supported by the power supply apparatus.
For example, the charging control device may communicate with the power supply device based on the charging protocol 1, and if the communication based on the charging protocol 1 is successful, may record that the second target charging protocol supported by the power supply device is the charging protocol 1; if the communication based on the charging protocol 1 fails, the communication with the power supply equipment can be performed based on the charging protocol 2, and if the communication based on the charging protocol 2 is successful, the second target charging protocol supported by the power supply equipment can be recorded as the charging protocol 2; if the communication based on the charging protocol 2 fails, the communication with the power supply equipment can be performed based on the charging protocol 3, and if the communication based on the charging protocol 3 is successful, the second target charging protocol supported by the power supply equipment can be recorded as the charging protocol 3.
In addition, in order to maximize the conversion efficiency of the voltage conversion module, the target voltage may be a voltage having the smallest absolute value of the difference from the charging voltage within the supply voltage range, for example, the supply voltage range of the power supply device is 5V to 12V, and the charging voltage is 15V, and the target voltage may be 12V.
In this embodiment, if the charging voltage of the electric device is not within the power supply voltage range, first request information is sent to the power supply device, where the first request information is used to request the power supply device to adjust the output voltage to a target voltage. Like this, to the charger of the charging voltage that supply voltage scope does not include the consumer demand, also can charge for the consumer through charge control device to can further improve the convenience of charging.
Optionally, after the second target charging protocol supported by the power supply device is acquired, the method further includes:
and if the charging voltage of the electric equipment is in the power supply voltage range, sending second request information to the power supply equipment, wherein the second request information is used for requesting the power supply equipment to adjust the output voltage to the charging voltage.
And when the default voltage output by the power supply equipment is not the charging voltage and the charging voltage of the electric equipment is within the power supply voltage range, sending second request information to the power supply equipment.
Taking the power supply voltage range of the power supply equipment as 5V to 12V, the charging voltage is 9V as an example, the charging control device can send second request information to the power supply equipment through the second port to request the power supply equipment to adjust the output voltage to 9V, the charging control device receives the voltage signal with the voltage of 9V output by the power supply equipment at the second port, and outputs the voltage signal with the voltage of 9V to the electric equipment at the first port to charge the electric equipment.
In this embodiment, if the charging voltage of the electric device is within the power supply voltage range, second request information is sent to the power supply device, where the second request information is used to request the power supply device to adjust the output voltage to the charging voltage. Like this, to the default voltage of output not satisfying the charger of the charging voltage of consumer demand, also can charge for the consumer through charge control device to can further improve the convenience of charging.
Optionally, the method further comprises:
and under the condition that the charging control device is disconnected with the power supply equipment, sending a third request message to the electric equipment, wherein the third request message is used for requesting the electric equipment to supply power for the charging control device.
The charging control device can monitor the connection condition with the power supply equipment in real time, and if the second port is detected to be disconnected with the power supply equipment, an OTG communication instruction can be sent to the electric equipment to request the electric equipment to supply power to the charging control device OTG.
In practical application, when the charging control device is not connected with the power supply equipment and is connected with the electric equipment, the power supply module of the charging control device supplies power to the control circuit, and the control circuit sends an OTG communication instruction to the electric equipment; after receiving the OTG communication instruction, the electric equipment starts a power supply switch, and supplies power to the charging control device through the first port. The charging control device can initiate storage handshake communication for the electric equipment, and wait for the electric equipment to store information or read information.
In this embodiment, when it is detected that the charging control device is disconnected from the power supply device, a third request message is sent to the electric device, so that the charging control device can excite an OTG function of the electric device, and the charging control device can perform storage communication with the electric device, so that a memory of the electric device can be expanded.
Optionally, after the sending the third request message to the electric device, the method further includes:
receiving fourth request information sent by the electric equipment based on a storage protocol, wherein the fourth request information is used for requesting to read information to be read stored by the charging control device or storing the information to be stored by the electric equipment to the charging control device;
and responding to the fourth request message, and sending the information to be read to the electric equipment, or storing the information to be stored.
In this embodiment, the communication is performed with the electric device according to a storage communication protocol, fourth request information sent by the electric device is received, and the information to be read is sent to the electric device or the information to be stored is stored in response to the fourth request information. Therefore, the charging control device can realize a storage function, and when the charging control device is connected with the electric equipment, the memory space of the electric equipment can be expanded, and the memory of the electric equipment can be increased.
It should be noted that, in the charge control method provided in the embodiment of the present application, the execution body may be a charge control device, or a control circuit in the charge control device for executing the loading charge control method. In the embodiment of the present application, a method for executing loading charge control by a charge control device is taken as an example, and the charge control device provided in the embodiment of the present application is described.
Referring to fig. 5, fig. 5 is a fourth schematic structural diagram of a charging control device according to an embodiment of the present application, where the charging control device is connected to an electric device and a power supply device, as shown in fig. 5, and the charging control device 200 includes:
an obtaining module 201, configured to obtain a first target charging protocol supported by the electric device;
a determining module 202, configured to determine a charging voltage of the powered device based on the first target charging protocol;
an adjustment module 203, configured to adjust a voltage output by the power supply device to the charging voltage;
and the output module 204 is used for outputting the regulated voltage to the electric equipment.
Optionally, the adjusting module 203 is specifically configured to:
acquiring a second target charging protocol supported by the power supply equipment;
determining a supply voltage range of the power supply device based on the second target charging protocol;
if the charging voltage of the electric equipment is not in the power supply voltage range, sending first request information to the power supply equipment, wherein the first request information is used for requesting the power supply equipment to adjust the output voltage to a target voltage, and the target voltage is the voltage with the minimum absolute value of the difference value between the power supply voltage range and the charging voltage;
and adjusting the target voltage output by the power supply equipment to be the charging voltage.
Optionally, the adjusting module 203 is specifically further configured to:
and if the charging voltage of the electric equipment is in the power supply voltage range, sending second request information to the power supply equipment, wherein the second request information is used for requesting the power supply equipment to adjust the output voltage to the charging voltage.
Optionally, as shown in fig. 6, the charging control device 200 further includes:
and the sending module 205 is configured to send a third request message to the electric device when it is detected that the charging control device is disconnected from the power supply device, where the third request message is used to request the electric device to supply power to the charging control device.
Optionally, as shown in fig. 7, the charging control device 200 further includes:
the receiving module 206 is configured to receive fourth request information sent by the electric device based on a storage protocol, where the fourth request information is used to request to read information to be read stored by the charging control device or store the information to be stored by the electric device to the charging control device;
and the processing module 207 is configured to send the information to be read to the electric device or store the information to be stored in response to the fourth request message.
The charging control device provided in this embodiment of the present application can implement each process implemented by the method embodiment of fig. 4, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 8, the embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction implements each process of the foregoing embodiment of the charge control method when executed by the processor 301, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the embodiment of the charging control method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the embodiment of the charging control method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (6)

1. A charging control method, characterized in that it is applied to a charging control device, the charging control device being connected to an electric device and a power supply device, respectively, the method comprising:
acquiring a first target charging protocol supported by the electric equipment;
determining a charging voltage of the powered device based on the first target charging protocol;
adjusting the voltage output by the power supply equipment to be the charging voltage;
outputting the regulated voltage to the electric equipment;
wherein the adjusting the voltage output by the power supply device to the charging voltage includes:
acquiring a second target charging protocol supported by the power supply equipment;
determining a supply voltage range of the power supply device based on the second target charging protocol;
if the charging voltage of the electric equipment is not in the power supply voltage range, sending first request information to the power supply equipment, wherein the first request information is used for requesting the power supply equipment to adjust the output voltage to a target voltage, and the target voltage is the voltage with the minimum absolute value of the difference value between the power supply voltage range and the charging voltage;
adjusting a target voltage output by the power supply equipment to be the charging voltage;
the method further comprises the steps of:
when the fact that the charging control device is disconnected with the power supply equipment is detected, a third request message is sent to the electric equipment, the third request message is used for requesting the electric equipment to supply power for the charging control device, and the third request message is an OTG communication instruction;
after the third request message is sent to the electric equipment, the method further comprises:
receiving fourth request information sent by the electric equipment based on a storage protocol, wherein the fourth request information is used for requesting to read information to be read stored by the charging control device or storing the information to be stored by the electric equipment to the charging control device;
and responding to the fourth request message, and sending the information to be read to the electric equipment, or storing the information to be stored.
2. The method of claim 1, wherein after the obtaining the second target charging protocol supported by the power supply device, the method further comprises:
and if the charging voltage of the electric equipment is in the power supply voltage range, sending second request information to the power supply equipment, wherein the second request information is used for requesting the power supply equipment to adjust the output voltage to the charging voltage.
3. The method of claim 1, wherein the charge control device comprises a voltage conversion module, a control circuit, a memory module, a first port, and a second port;
the voltage conversion module is connected with the first port and is also connected with the second port;
the first port is used for being connected with electric equipment, and the second port is used for being connected with power supply equipment;
the storage module is used for storing a plurality of charging protocols;
the control circuit is respectively connected with the first port, the second port and the storage module and is used for identifying a first target charging protocol supported by the electric equipment, wherein the first target charging protocol is one of the charging protocols;
the voltage conversion module is used for adjusting the voltage output by the power supply equipment to the charging voltage corresponding to the first target charging protocol under the action of the control circuit, and outputting the charging voltage to the electric equipment.
4. The method of claim 3, wherein the charge control device further comprises a power module, the power module being coupled to the control circuit;
the power supply module is used for supplying power to the control circuit;
the control circuit is also used for sending a request message for requesting the electric equipment to supply power for the charging control device to the electric equipment under the condition that the power supply module supplies power for the control circuit.
5. A charging control device, characterized in that the charging control device is connected with electric equipment and power supply equipment, respectively, the charging control device includes:
the acquisition module is used for acquiring a first target charging protocol supported by the electric equipment;
the determining module is used for determining the charging voltage of the electric equipment based on the first target charging protocol;
the adjusting module is used for adjusting the voltage output by the power supply equipment into the charging voltage;
the output module is used for outputting the regulated voltage to the electric equipment;
the adjusting module is specifically configured to:
acquiring a second target charging protocol supported by the power supply equipment;
determining a supply voltage range of the power supply device based on the second target charging protocol;
if the charging voltage of the electric equipment is not in the power supply voltage range, sending first request information to the power supply equipment, wherein the first request information is used for requesting the power supply equipment to adjust the output voltage to a target voltage, and the target voltage is the voltage with the minimum absolute value of the difference value between the power supply voltage range and the charging voltage;
adjusting a target voltage output by the power supply equipment to be the charging voltage;
the charge control device further includes:
the sending module is used for sending a third request message to the electric equipment when the charging control device is detected to be disconnected with the power supply equipment, wherein the third request message is used for requesting the electric equipment to supply power to the charging control device, and the third request message is an OTG communication instruction;
the charge control device further includes:
the receiving module is used for receiving fourth request information sent by the electric equipment based on a storage protocol, wherein the fourth request information is used for requesting to read information to be read stored by the charging control device or storing the information to be stored by the electric equipment to the charging control device;
and the processing module is used for responding to the fourth request message, sending the information to be read to the electric equipment, or storing the information to be stored.
6. The charge control device of claim 5, wherein the adjustment module is further specifically configured to:
and if the charging voltage of the electric equipment is in the power supply voltage range, sending second request information to the power supply equipment, wherein the second request information is used for requesting the power supply equipment to adjust the output voltage to the charging voltage.
CN202011498346.0A 2020-12-17 2020-12-17 Charging control method and device Active CN112653213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011498346.0A CN112653213B (en) 2020-12-17 2020-12-17 Charging control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011498346.0A CN112653213B (en) 2020-12-17 2020-12-17 Charging control method and device

Publications (2)

Publication Number Publication Date
CN112653213A CN112653213A (en) 2021-04-13
CN112653213B true CN112653213B (en) 2024-02-09

Family

ID=75354800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011498346.0A Active CN112653213B (en) 2020-12-17 2020-12-17 Charging control method and device

Country Status (1)

Country Link
CN (1) CN112653213B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106300565A (en) * 2016-10-26 2017-01-04 深圳市龙威盛电子科技有限公司 Conversion equipment and the method for realization charging conversion thereof for quick charger
CN108270262A (en) * 2017-12-15 2018-07-10 潍坊歌尔电子有限公司 Attachment device, method for transmitting signals and system
CN108390430A (en) * 2018-02-27 2018-08-10 维沃移动通信有限公司 A kind of charging converter and charging method
CN111628537A (en) * 2020-04-24 2020-09-04 杭州士兰微电子股份有限公司 Multi-path charging circuit and protocol control module and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106300565A (en) * 2016-10-26 2017-01-04 深圳市龙威盛电子科技有限公司 Conversion equipment and the method for realization charging conversion thereof for quick charger
CN108270262A (en) * 2017-12-15 2018-07-10 潍坊歌尔电子有限公司 Attachment device, method for transmitting signals and system
CN108390430A (en) * 2018-02-27 2018-08-10 维沃移动通信有限公司 A kind of charging converter and charging method
CN111628537A (en) * 2020-04-24 2020-09-04 杭州士兰微电子股份有限公司 Multi-path charging circuit and protocol control module and control method thereof

Also Published As

Publication number Publication date
CN112653213A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
EP3309924B1 (en) A terminal with two charging circuits
EP2892214B1 (en) Mobile terminal, master data communication device, and mobile terminal charging system and method
US10424954B2 (en) Power adaptor, terminal and charging system
US20060284595A1 (en) Charging mode control circuit and method
US20100264875A1 (en) Intelligent device and power source interaction
US20160268845A1 (en) Method and Device for Transmitting and Receiving Wireless Power
US9728999B2 (en) Wirelessly charging a second device from a first device
US20220329087A1 (en) Terminal device charging method and apparatus, and storage medium
US10164473B2 (en) System and method for device charging
CN104716750A (en) Low-energy-consumption wireless power supply method and relevant device and system
CN109217419B (en) Quick charging system and method
US11390183B2 (en) Charging scheduling systems and methods thereof for charging devices
CN112531830A (en) Robot charging method, device and storage medium
JP2010115064A (en) Charging system, power-supply apparatus, and charging apparatus
WO2012042749A1 (en) Power generator device, portable device, power generation method identification system, power generation method identification method
JP7036067B2 (en) Control methods and programs for photovoltaic power generation systems, photovoltaic power generation processing equipment, and photovoltaic power generation processing equipment
CN112653213B (en) Charging control method and device
JPWO2014097834A1 (en) Power supply control device, battery device, power supply system, and power supply control method
CN110445213B (en) Charging management system, method, device and storage medium
CN107040015B (en) A kind of monitoring method and system of energy storage device
WO2019023874A1 (en) Battery charging control method, charging device, user terminal device and system
CN112671062A (en) Charging control method and device
US20220311247A1 (en) Battery charging curve learning device and charger
JP2021503266A (en) Charging method, terminal and computer storage medium
WO2015189462A1 (en) Usb energy harvesting

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
GR01 Patent grant
GR01 Patent grant