CN112671062A - Charging control method and device - Google Patents

Charging control method and device Download PDF

Info

Publication number
CN112671062A
CN112671062A CN202011493441.1A CN202011493441A CN112671062A CN 112671062 A CN112671062 A CN 112671062A CN 202011493441 A CN202011493441 A CN 202011493441A CN 112671062 A CN112671062 A CN 112671062A
Authority
CN
China
Prior art keywords
charging
power supply
voltage
target
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.)
Pending
Application number
CN202011493441.1A
Other languages
Chinese (zh)
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 CN202011493441.1A priority Critical patent/CN112671062A/en
Publication of CN112671062A publication Critical patent/CN112671062A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a charging control method and a charging control device, wherein the charging control device comprises a control circuit, a storage module, a first port, at least two second ports and voltage conversion modules which are in one-to-one correspondence with the second ports; the first ports are used for being connected with electric equipment, and each second port is used for being connected with different 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, each 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 a plurality of charging protocols; under the action of the control circuit, each voltage conversion module is used for adjusting the voltage output by the power supply equipment connected with the corresponding second port to the charging voltage corresponding to the first target charging protocol and outputting the charging voltage to the power utilization equipment. The embodiment of the application can improve the convenience of charging.

Description

Charging control method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a charging control method and apparatus.
Background
Along with the development of the rapid charging technology of the electronic equipment, the market increasingly strengthens the requirement on the rapid charging function, the rapid charging can fully charge the electronic equipment in a short time, and 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 standard with the electronic equipment to quickly charge the electronic equipment. When no charger which is standard matched with the electronic equipment exists 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 problem, 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 control circuit, a storage module, a first port, at least two second ports, and voltage conversion modules corresponding to the second ports one to one;
each voltage conversion module is connected with the first port, and each voltage conversion module is connected with the corresponding second port;
the first ports are used for being connected with electric equipment, and each second port is used for being connected with different 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, each second port and the storage module, and is configured to identify a first target charging protocol supported by the electric device, where the first target charging protocol is one of the plurality of charging protocols;
under the action of the control circuit, each voltage conversion module is used for adjusting the voltage output by the power supply device connected with the corresponding second port to the charging voltage corresponding to the first target charging protocol, and outputting the charging voltage to the power consumption device.
In a second aspect, an embodiment of the present application provides a charging control method, which is applied to a charging control apparatus, where the charging control apparatus is respectively connected to an electric device and at least two power supply devices, 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 voltages output by the at least two power supply devices to the charging voltages respectively;
and outputting the regulated voltage to the electric equipment.
In a third aspect, an embodiment of the present application provides a charging control apparatus, where the charging control apparatus is connected to an electrical device and at least two power supply devices, respectively, and the apparatus includes:
the acquisition module is used for acquiring a first target charging protocol supported by the electric equipment;
a determination module to determine a charging voltage of the powered device based on the first target charging protocol;
the adjusting module is used for adjusting the voltages output by the at least two power supply devices into the charging voltages respectively;
and the output module is used for outputting the adjusted voltage to the electric equipment.
In a fourth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when the program or instructions are executed by the processor, the steps in the charging control method according to the second aspect are implemented.
In a fifth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the program or instructions implement the steps in the charging control method according to the second aspect.
In a sixth aspect, the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the second aspect.
In the embodiment of the application, under the action of a control circuit of a charging control device, each voltage conversion module is used for adjusting the voltage output by the power supply equipment connected with the corresponding second port to the charging voltage corresponding to the first target charging protocol and outputting the charging voltage to the electric equipment, so that the charging control device can be used as intermediate communication equipment between the power supply equipment and the electric equipment, and therefore, for a non-standard charger, the non-standard charger can be used for supplying power to the electric equipment through the charging control device, and the charging convenience can be improved; and can supply power for consumer through a plurality of nonstandard chargers of joining in marriage simultaneously, can improve the efficiency of charging.
Drawings
Fig. 1 is a schematic structural diagram of a charging control device according to an embodiment of the present disclosure;
fig. 2 is a second schematic structural diagram of a charging control apparatus according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a charging control method according to an embodiment of the present application;
fig. 4 is a third schematic structural diagram of a charging control apparatus according to an embodiment of the present disclosure;
fig. 5 is a fourth schematic structural diagram of a charging control device according to an embodiment of the present application;
fig. 6 is a fifth schematic structural view of a charging control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The charging control device provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a charging control device according to an embodiment of the present disclosure, and as shown in fig. 1, the charging control device includes a control circuit 1, a storage module 2, a first port 3, at least two second ports 4, and voltage conversion modules 5 corresponding to the second ports 4 one to one;
each voltage conversion module 5 is connected with the first port 3, and each voltage conversion module 5 is connected with the corresponding second port 4;
the first ports 3 are used for being connected with electric equipment, and each second port 4 is used for being connected with different power supply equipment;
the storage module 2 is used for storing a plurality of charging protocols; and at least one parameter type contained in each charging protocol, wherein the parameter values of the parameter types are different. The parameter types may include voltage, current, power, etc., where the voltage, current, power of different charging protocols are not identical. For example, the voltage of the charging protocol A is higher than that of the charging protocol B, and the current of the charging protocol A is higher than that of the charging protocol B; or the voltage of the charging protocol A is the same as that of the charging protocol B, and the current of the charging protocol A is higher than that of the charging protocol B; alternatively, the charging current of the charging protocol a is different for different remaining capacities of the battery, the charging current of the charging protocol B is maintained at a fixed value, and so on.
The control circuit 1 is connected to the first port 3, each second port 4, and the storage module 2, and is configured to identify a first target charging protocol supported by the electric device, where the first target charging protocol is one of the plurality of charging protocols;
under the action of the control circuit 1, each voltage conversion module 5 is configured to adjust a voltage output by the power supply device connected to the corresponding second port to a charging voltage corresponding to the first target charging protocol, and output the charging voltage to the power consumption device.
The control circuit 1 may be a Micro Controller Unit (MCU). The first port 3 may adopt a Type-c interface, or may adopt a Type-a interface, or may adopt a lightning (lightning) interface, and the like, and the specific implementation manner of the first port 3 is not limited in this embodiment. The second port 4 may adopt a Type-c interface, or may adopt a Type-a interface, or may adopt a lightning interface, etc., and this embodiment does not limit a specific implementation manner of the second port 4. The control circuit 1 may also be connected to a voltage conversion module 5.
In addition, the power supply equipment can be used for supplying power such as a charger, a computer and a sound device, and the power utilization equipment can be used for electronic equipment with power requirements such as a mobile phone, an intelligent watch and a pedometer.
It should be noted that, under the condition that the first port 3 is connected to the electric equipment and the second port 4 is connected to the power supply equipment, the charging control device may detect the charging protocol of the power supply equipment, enter a waiting state after the detection of the charging protocol of the power supply equipment is completed, and output a default voltage; if the charging control device receives the charging demand information of the electric equipment, the charging control device outputs a charging voltage corresponding to the charging demand information to the electric equipment.
In addition, the storage module 2 may be configured to store information, the storage module 2 may store a plurality of charging protocols, and for example, existing charging protocols may be stored in the storage module 2, so that the charging control apparatus may communicate with the electric devices and the power supply devices of any charging protocol. The control circuit 1 may control the memory module 2 to store information to be stored, or read information to be read from the memory module 2. For example, the storage module 2 may be a memory bank. Through setting up storage module 2, can realize the memory function, when charge control device is connected with the consumer, can expand the memory space of consumer, realize increasing the memory of consumer.
Further, the voltage conversion module 5 may be used for voltage conversion. The voltage conversion module 5 can convert a high-voltage signal into a low-voltage signal; or the low-voltage signal can be converted into a high-voltage signal; or may have both the function of converting a high-voltage signal into a low-voltage signal and the function of converting a low-voltage signal into a high-voltage signal. For example, the voltage conversion module 5 may convert a 9V voltage signal into a 5V voltage signal, and may also convert a 9V voltage signal into a 12V voltage signal. The control circuit 1 can be connected with the voltage conversion module 5 through the driving module, and the voltage conversion module 5 is driven to work through the driving module.
In practical application, as shown in fig. 2, the charging control device is respectively connected to a plurality of power supply devices, each of the power supply devices may include a primary side high voltage module, a power output module, a third port and a protocol logic module, the primary side high voltage module is connected to the third port through the power output module, and voltage is output to the outside through the third port; the protocol logic module is respectively connected with the primary side high-voltage module, the power output module and the third port, and is used for controlling the power supply equipment to output voltage to the charging control device and communicating with the charging control device, and the third port is connected with the second port 4. The charging control device is also connected with the electric equipment. The electric equipment can comprise a system and power consumption module group, a power supply 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 supply management module, and the system and the power consumption module group are supplied with power through voltage input by the fourth port; 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 3, wherein the system and the power consumption module group comprise modules with power consumption requirements in the electric equipment.
For example, after the plurality of power supply devices are powered on, the corresponding default voltage is output to the charging control device. The charging control device may detect the charging protocol of each power supply apparatus one by one. The electric device may transmit charging demand information to the charging control apparatus according to the demand of the battery module, for example, the charging demand information may include a voltage V1 and a current I1. The control circuit 1 of the charging control apparatus can transmit a voltage output request to each power supply device through the second port 4 connected to each power supply device. For a first power supply device capable of providing a voltage V1, the charging control apparatus directly turns on a voltage conversion module 5 corresponding to the first power supply device, where the first power supply device is a power supply device of the plurality of power supply devices; for a second power supply apparatus that is unable to supply the voltage V1, the charging control device communicates with the second power supply apparatus based on a charging protocol of the second power supply apparatus, requesting the second power supply apparatus to output the voltage V2, the voltage V2 may be a voltage whose absolute value of a difference from the voltage V1 is the smallest within a power supply voltage range of the second power supply apparatus, the second power supply apparatus being one of the plurality of power supply apparatuses. The charging control device converts the voltage V2 output by the second power supply device into the voltage V1 through the voltage conversion module 5 corresponding to the second power supply device. The charging control device outputs the voltage V1 to the power supply equipment, and the sum of the currents of the voltage conversion modules 5 corresponding to the second ports 4 is the output current of the first port 3.
Through setting up voltage conversion module 5, when the voltage that power supply unit exported and the charging voltage of consumer demand did not match, can will through voltage conversion module 5 the voltage that power supply unit exported converts the charging voltage of consumer demand into. In this way, the charger, which does not include the charging voltage required by the electric equipment in the power supply voltage range of the power supply equipment, can also charge the electric equipment through the charging control device, so that the convenience of charging can be further improved.
Further, the charging control device may further include a first communication module and a second communication module, the control circuit 1 may be connected to the first port 3 through the first communication module, and the control circuit 1 may be connected to the second port 4 through the second communication module. The first communication module may include a communication chip, and the communication chip may communicate with the electric device according to a communication protocol corresponding to the electric device. 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 1 may be connected to the voltage conversion module 5 through the driving module.
In this embodiment of the application, under the action of the control circuit 1 of the charging control device, each voltage conversion module 5 is configured to adjust the voltage output by the power supply device connected to the corresponding second port to the charging voltage corresponding to the first target charging protocol, and output the voltage to the electric equipment, so that the charging control device can be used as an intermediate communication device between the power supply device and the electric equipment, and thus for a non-standard charger, the non-standard charger can supply power to the electric equipment through the charging control device, and charging convenience can be improved; and can supply power for consumer through a plurality of nonstandard chargers of joining in marriage simultaneously, can improve the efficiency of charging.
Optionally, the charging control device further includes a power module, and the power module is connected to the control circuit 1;
the power supply module is used for supplying power to the control circuit 1;
the control circuit 1 is further configured to send a request message requesting the electrical equipment to supply power to the charging control device when the power module supplies power to the control circuit 1.
The power module can store electric energy and supply power to each module of the charging control device. The power supply module may be connected to the voltage conversion module 5.
It should be noted that, in the prior art, the storage device does not have the capability to actively initiate communication, and only after passively receiving the power supply of the electric equipment, storage communication handshake can be initiated, and for the electric equipment with the default output low voltage of the output interface, such as a mobile phone, the storage device cannot be connected with the electric equipment, so as to provide a storage function for the electric equipment. In this embodiment, by setting The power module in The charging control device, The control circuit 1 can be powered by The power module, so that The charging control device can actively communicate with The electric equipment, and The On-The-Go (OTG) function of The electric equipment is activated, so that The electric equipment supplies power to The charging control device.
In this embodiment, through setting up power module, can be for control circuit 1 power supply through power module to when charging control device connects the consumer, supply power for control circuit 1 through power module, make control circuit 1 have the ability to arouse the OTG function of consumer, thereby charging control device can carry out storage communication with the consumer, thereby can expand the memory of consumer.
The embodiment of the application also provides a charging system, and the charging system comprises the charging control device in the embodiment of the application.
Optionally, the charging system further includes an electric device and at least two power supply devices, the electric device is connected to the first port, and each of the at least two power supply devices is connected to a different second port of the charging control apparatus.
In this embodiment, the charging control device can connect the output electric energy of a plurality of power supply devices in parallel, thereby obtaining a larger output power, and can realize that the power supply device with a larger volume is not carried and the charging requirement of the high-power utilization device can be met. Therefore, the power supply equipment which has lower power and can not meet the charging requirement of the current power utilization equipment can be continuously used, and the rejection rate of the power supply equipment is reduced.
Referring to fig. 3, fig. 3 is a flowchart of a charging control method provided in an embodiment of the present application, where the charging control method is applied to a charging control apparatus, and the charging control apparatus is respectively connected to an electric device and at least two power supply devices, as shown in fig. 3, and includes the following steps:
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;
103, adjusting the voltages output by the at least two power supply devices to the charging voltages respectively;
and 104, outputting the adjusted voltage to the electric equipment.
The charging control method may be applied to the charging control apparatus shown 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 may communicate with the electric equipment based on a first target charging protocol, and acquire charging demand information of the electric equipment, where the charging demand information may include a 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., which are not limited by the present embodiment. The charging voltage of the electric equipment may be directly determined from the charging voltage carried in the charging demand information, or the charging voltage of the electric equipment may also be calculated from the charging power carried in the charging demand information, for example, a quotient of the charging power and a preset current may be used as the charging voltage of the electric equipment.
In practical application, the charging control device may start the control circuit after receiving the output voltage of the target power supply device through the second port, and initiate communication handshake with the target power supply device through the first communication module. The charging control device may respectively communicate with the target power supply apparatus based on a plurality of charging protocols stored in advance, and determine a second target charging protocol of the target power supply apparatus. After being 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 target power supply equipment meets the charging voltage of the electric equipment or not according to the acquired charging demand information of the electric equipment, and if the output voltage of the target 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 that the output voltage of the target power supply equipment is directly output to the electric equipment. For example, the voltage conversion module corresponding to the target power supply device may be controlled to be directly turned on. The target power supply apparatus may be any one of the at least two power supply apparatuses.
Further, if the output voltage of the target power supply device does not satisfy the charging voltage of the power consumption device, the target power supply device may be requested to output the target voltage according to the power supply voltage range of the target power supply device, and the control circuit may control the voltage conversion module to perform voltage conversion on the target voltage output by the target power supply device, and output a voltage signal with the converted voltage being the charging voltage to the power consumption device. After the charging of the electric equipment is completed, an instruction can be sent to the charging control device to stop charging.
It should be noted that, the charging control apparatus in this embodiment may supply power to the electronic device according to the maximum efficiency of a non-standard charger, so as to improve user experience; moreover, the internal memory of the electronic equipment can be expanded through the charging control device, and the service life of the electronic equipment is prolonged; the charging control device integrates the functions of power supply expansion and storage expansion, and the power supply expansion and the storage expansion can share modules such as a communication module, a power supply module, a control circuit and the like, so that the cost is reduced; the charging control device can also integrate functions such as sound, illumination and the like, and the user experience is further improved.
In the embodiment of the application, a first target charging protocol supported by the electric equipment is acquired; determining a charging voltage of the powered device based on the first target charging protocol; adjusting the voltages output by the at least two power supply devices to the charging voltages respectively; and outputting the regulated voltage to the electric equipment. Therefore, the charging control device can be used as intermediate communication equipment between the power supply equipment and the electric equipment, so that for a non-standard charger, the non-standard charger can supply power to the electric equipment through the charging control device, and the charging convenience can be improved; and can supply power for consumer through a plurality of nonstandard chargers of joining in marriage simultaneously, can improve the efficiency of charging.
Optionally, the respectively adjusting the voltages output by the at least two power supply devices to the charging voltage includes:
respectively acquiring second target charging protocols supported by the at least two power supply devices;
determining a supply voltage range of each of the at least two power supply devices based on a second target charging protocol corresponding to each of the power supply devices;
if the charging voltage of the electric equipment is not within the range of the power supply voltage of target power supply equipment, sending first request information to the target power supply equipment, wherein the first request information is used for requesting the target power supply equipment to adjust the output voltage to be the target voltage, the target voltage is the voltage with the minimum absolute value of the difference value between the charging voltage and the power supply voltage within the range of the power supply voltage, and the target power supply equipment is any one of the at least two power supply equipment;
and adjusting the target voltage output by the target power supply equipment to the charging voltage.
The second target charging protocol supported by the target power supply equipment can be determined based on a plurality of pre-stored charging protocols to respectively communicate with the target power supply equipment.
It should be noted that, after receiving the output voltage of the target power supply device through the second port, the charging control apparatus may start the control circuit, initiate a communication handshake with the target 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 charging protocols, for example, a charging protocol 1, a charging protocol 2, and a charging protocol 3 in advance. The charging control device may respectively communicate with the target power supply apparatus based on a plurality of pre-stored charging protocols, and determine a second target charging protocol supported by the target power supply apparatus.
For example, the charging control apparatus may communicate with the target power supply device based on charging protocol 1, and if the communication based on charging protocol 1 is successful, may record that a second target charging protocol supported by the target power supply device is charging protocol 1; if the communication based on the charging protocol 1 fails, the communication with the target power supply equipment can be performed based on the charging protocol 2, and if the communication based on the charging protocol 2 succeeds, a second target charging protocol supported by the target 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 target power supply device based on the charging protocol 3 may be performed, and if the communication based on the charging protocol 3 succeeds, a second target charging protocol supported by the target power supply device may be recorded as the charging protocol 3.
In addition, in order to maximize the conversion efficiency of the voltage conversion module, the target voltage is a voltage with the smallest absolute value of the difference between the supply voltage range of the target power supply device and the charging voltage, for example, if the supply voltage range of the target power supply device is 5V to 12V and the charging voltage is 15V, the target voltage may be 12V.
In this embodiment, if the charging voltage of the power consumption device is not within the power supply voltage range, first request information for requesting the target power supply device to adjust the output voltage to the target voltage is transmitted to the target power supply device. In this way, for a charger whose supply voltage range does not include the charging voltage required by the electric equipment, the electric equipment can be charged by the charging control device, and the convenience of charging can be further improved.
Optionally, after the second target charging protocols supported by the at least two power supply devices are respectively obtained, the method further includes:
and if the charging voltage of the electric equipment is within the power supply voltage range of the target power supply equipment, sending second request information to the target power supply equipment, wherein the second request information is used for requesting the target power supply equipment to adjust the output voltage to the charging voltage.
When the default voltage output by the target power supply equipment is not the charging voltage and the charging voltage of the electric equipment is within the range of the power supply voltage of the target power supply equipment, second request information can be sent to the target power supply equipment.
Taking the power supply voltage range of the target power supply device as 5V to 12V, and the charging voltage as 9V as an example, the charging control device may send a second request message to the target power supply device through the second port to request the target power supply device to adjust the output voltage to 9V, receive a voltage signal with a voltage magnitude of 9V output by the target power supply device at the second port, output the voltage signal with the voltage magnitude of 9V to the electric equipment at the first port, and charge the electric equipment.
In this embodiment, if the charging voltage of the electrical device is within the power supply voltage range, second request information is sent to the target power supply device, where the second request information is used to request the target power supply device to adjust the output voltage to the charging voltage. In this way, the charger which outputs the default voltage not meeting the charging voltage required by the electric equipment can charge the electric equipment through the charging control device, so that the convenience of charging can be further improved.
Optionally, the method further includes:
and sending a third request message to the electric equipment when detecting that the charging control device is disconnected from the at least two pieces of power supply 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 from the at least two power supply equipment, the 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, under the condition that 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 the power supply switch, and supplies power to the charging control device through the first port. The charging control device can initiate storage handshake communication to 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 apparatus is disconnected from both of the at least two power supply devices, the third request message is sent to the electrical equipment, so that the charging control apparatus can activate the OTG function of the electrical equipment, and thus the charging control apparatus can perform storage communication with the electrical equipment, and thus the memory of the electrical equipment can be expanded.
Optionally, after the third request message is sent 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 of 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 with the electric device is performed according to a storage communication protocol, and the fourth request message 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 message. 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, so that the memory of the electric equipment is increased.
It should be noted that, in the charging control method provided in the embodiment of the present application, the execution main body may be the charging control device, or a control circuit in the charging control device for executing the loading charging control method. In the embodiment of the present application, a method for executing a load charging control by a charging control device is taken as an example, and the charging control device provided in the embodiment of the present application is described.
Referring to fig. 4, fig. 4 is a third schematic structural diagram of a charging control apparatus according to an embodiment of the present application, where the charging control apparatus is connected to an electric device and at least two power supply devices, and as shown in fig. 4, the charging control apparatus 200 further includes:
an obtaining module 201, configured to obtain a first target charging protocol supported by the electrical device;
a determining module 202 configured to determine a charging voltage of the powered device based on the first target charging protocol;
the adjusting module 203 is configured to adjust voltages output by the at least two power supply devices to the charging voltage respectively;
and an output module 204, configured to output the adjusted voltage to the electric device.
In the embodiment of the application, an obtaining module obtains a first target charging protocol supported by the electric equipment; a determination module determines a charging voltage of the powered device based on the first target charging protocol; the adjusting module respectively adjusts the voltages output by the at least two power supply devices into the charging voltages; the output module outputs the adjusted voltage to the electric equipment. Therefore, the charging control device can be used as intermediate communication equipment between the power supply equipment and the electric equipment, so that for a non-standard charger, the non-standard charger can supply power to the electric equipment through the charging control device, and the charging convenience can be improved; and can supply power for consumer through a plurality of nonstandard chargers of joining in marriage simultaneously, can improve the efficiency of charging.
Optionally, the adjusting module 203 is specifically configured to:
respectively acquiring second target charging protocols supported by the at least two power supply devices;
determining a supply voltage range of each of the at least two power supply devices based on a second target charging protocol corresponding to each of the power supply devices;
if the charging voltage of the electric equipment is not within the range of the power supply voltage of target power supply equipment, sending first request information to the target power supply equipment, wherein the first request information is used for requesting the target power supply equipment to adjust the output voltage to be the target voltage, the target voltage is the voltage with the minimum absolute value of the difference value between the charging voltage and the power supply voltage within the range of the power supply voltage, and the target power supply equipment is any one of the at least two power supply equipment;
and adjusting the target voltage output by the target power supply equipment to the charging voltage.
Optionally, the adjusting module 203 is further specifically configured to:
and if the charging voltage of the electric equipment is within the power supply voltage range of the target power supply equipment, sending second request information to the target power supply equipment, wherein the second request information is used for requesting the target power supply equipment to adjust the output voltage to the charging voltage.
Optionally, as shown in fig. 5, the apparatus 200 further includes:
a sending module 205, configured to send a third request message to the electrical equipment when it is detected that the charging control apparatus is disconnected from the at least two power supply devices, where the third request message is used to request the electrical equipment to supply power to the charging control apparatus.
Optionally, as shown in fig. 6, the apparatus 200 further includes:
a receiving module 206, configured to receive fourth request information sent by the electrical 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 apparatus or store information to be stored of the electrical device in the charging control apparatus;
the processing module 207 is configured to send the information to be read to the electric device in response to the fourth request message, or store the information to be stored.
The charging control device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of being executed on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the above charging control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above charging control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the 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 (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above charging control method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A charging control device is characterized by comprising a control circuit, a storage module, a first port, at least two second ports and voltage conversion modules in one-to-one correspondence with the second ports;
each voltage conversion module is connected with the first port, and each voltage conversion module is connected with the corresponding second port;
the first ports are used for being connected with electric equipment, and each second port is used for being connected with different 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, each second port and the storage module, and is configured to identify a first target charging protocol supported by the electric device, where the first target charging protocol is one of the plurality of charging protocols;
under the action of the control circuit, each voltage conversion module is used for adjusting the voltage output by the power supply device connected with the corresponding second port to the charging voltage corresponding to the first target charging protocol, and outputting the charging voltage to the power consumption device.
2. The charge control device according to claim 1, further comprising a power supply module connected to the control circuit;
the power supply module is used for supplying power to the control circuit;
the control circuit is further configured to send a request message to the electrical equipment to request the electrical equipment to supply power to the charging control device when the power module supplies power to the control circuit.
3. A charging control method is applied to a charging control device, the charging control device is respectively connected with electric equipment and at least two power supply equipment, and the method comprises the following steps:
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 voltages output by the at least two power supply devices to the charging voltages respectively;
and outputting the regulated voltage to the electric equipment.
4. The method of claim 3, wherein the adjusting the voltages output by the at least two power supply devices to the charging voltage respectively comprises:
respectively acquiring second target charging protocols supported by the at least two power supply devices;
determining a supply voltage range of each of the at least two power supply devices based on a second target charging protocol corresponding to each of the power supply devices;
if the charging voltage of the electric equipment is not within the range of the power supply voltage of target power supply equipment, sending first request information to the target power supply equipment, wherein the first request information is used for requesting the target power supply equipment to adjust the output voltage to be the target voltage, the target voltage is the voltage with the minimum absolute value of the difference value between the charging voltage and the power supply voltage within the range of the power supply voltage, and the target power supply equipment is any one of the at least two power supply equipment;
and adjusting the target voltage output by the target power supply equipment to the charging voltage.
5. The method of claim 4, wherein after the obtaining the second target charging protocols supported by the at least two power supply devices respectively, the method further comprises:
and if the charging voltage of the electric equipment is within the power supply voltage range of the target power supply equipment, sending second request information to the target power supply equipment, wherein the second request information is used for requesting the target power supply equipment to adjust the output voltage to the charging voltage.
6. The method of claim 3, further comprising:
and sending a third request message to the electric equipment when detecting that the charging control device is disconnected from the at least two pieces of power supply equipment, wherein the third request message is used for requesting the electric equipment to supply power for the charging control device.
7. The method of claim 6, wherein after sending the third request message to the powered device, 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 of 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.
8. A charging control device, characterized in that, charging control device is connected with consumer and at least two power supply unit respectively, the device includes:
the acquisition module is used for acquiring a first target charging protocol supported by the electric equipment;
a determination module to determine a charging voltage of the powered device based on the first target charging protocol;
the adjusting module is used for adjusting the voltages output by the at least two power supply devices into the charging voltages respectively;
and the output module is used for outputting the adjusted voltage to the electric equipment.
9. The apparatus of claim 8, wherein the adjustment module is specifically configured to:
respectively acquiring second target charging protocols supported by the at least two power supply devices;
determining a supply voltage range of each of the at least two power supply devices based on a second target charging protocol corresponding to each of the power supply devices;
if the charging voltage of the electric equipment is not within the range of the power supply voltage of target power supply equipment, sending first request information to the target power supply equipment, wherein the first request information is used for requesting the target power supply equipment to adjust the output voltage to be the target voltage, the target voltage is the voltage with the minimum absolute value of the difference value between the charging voltage and the power supply voltage within the range of the power supply voltage, and the target power supply equipment is any one of the at least two power supply equipment;
and adjusting the target voltage output by the target power supply equipment to the charging voltage.
10. The apparatus of claim 9, wherein the adjustment module is further specifically configured to:
and if the charging voltage of the electric equipment is within the power supply voltage range of the target power supply equipment, sending second request information to the target power supply equipment, wherein the second request information is used for requesting the target power supply equipment to adjust the output voltage to the charging voltage.
11. The apparatus of claim 8, further comprising:
the sending module is configured to send a third request message to the electrical equipment when it is detected that the charging control apparatus is disconnected from the at least two power supply devices, where the third request message is used to request the electrical equipment to supply power to the charging control apparatus.
12. The apparatus of claim 11, further comprising:
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 of the electric equipment to the charging control device;
and the processing module is used for responding to the fourth request message, and sending the information to be read to the electric equipment, or storing the information to be stored.
CN202011493441.1A 2020-12-17 2020-12-17 Charging control method and device Pending CN112671062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011493441.1A CN112671062A (en) 2020-12-17 2020-12-17 Charging control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011493441.1A CN112671062A (en) 2020-12-17 2020-12-17 Charging control method and device

Publications (1)

Publication Number Publication Date
CN112671062A true CN112671062A (en) 2021-04-16

Family

ID=75404560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011493441.1A Pending CN112671062A (en) 2020-12-17 2020-12-17 Charging control method and device

Country Status (1)

Country Link
CN (1) CN112671062A (en)

Similar Documents

Publication Publication Date Title
EP3309924B1 (en) A terminal with two charging circuits
US10424954B2 (en) Power adaptor, terminal and charging system
EP3525312B1 (en) Charging method, terminal and charging adapter
EP2892214B1 (en) Mobile terminal, master data communication device, and mobile terminal charging system and method
CN112202222A (en) Charger, charging control method and device
US10164473B2 (en) System and method for device charging
CN104716750A (en) Low-energy-consumption wireless power supply method and relevant device and system
WO2017197736A1 (en) Charging method, charger and terminal
CN104158251A (en) Terminal, charger and charging method
CN102231769A (en) Method for turning on mobile phone with over-discharged cell and mobile phone
CN105552973B (en) Electric energy transmission system and power supply system and charging combination thereof
CN109861038B (en) USB connection port capable of automatically switching connection mode and control method thereof
CN105226754A (en) Battery charge/discharge control circuit and control method thereof
WO2021027882A1 (en) Charging management system, method, and apparatus, and storage medium
CN111509816B (en) Charger, data line and charging equipment
WO2019023874A1 (en) Battery charging control method, charging device, user terminal device and system
CN205039588U (en) Battery measurement control circuit
CN112671062A (en) Charging control method and device
CN112653213B (en) Charging control method and device
US9685808B2 (en) USB energy harvesting
CN115378057A (en) Wireless charging method, device and storage medium
CN109792156A (en) A kind of method and apparatus of the real-time monitoring of the case where charging link
CN112119566A (en) Power supply method, device, system and storage medium
CN109787303B (en) Overcurrent protection method, device and storage medium
CN217415494U (en) Power integration system

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