CN117767487A - Charging control method, device, equipment and storage medium - Google Patents

Charging control method, device, equipment and storage medium Download PDF

Info

Publication number
CN117767487A
CN117767487A CN202311803172.8A CN202311803172A CN117767487A CN 117767487 A CN117767487 A CN 117767487A CN 202311803172 A CN202311803172 A CN 202311803172A CN 117767487 A CN117767487 A CN 117767487A
Authority
CN
China
Prior art keywords
charging
power supply
equipment
devices
communication frame
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
CN202311803172.8A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202311803172.8A priority Critical patent/CN117767487A/en
Publication of CN117767487A publication Critical patent/CN117767487A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a charging control method, a device, equipment and a storage medium, wherein the method comprises the following steps: detecting connection states of a plurality of output ports of the line concentration equipment when the input ports of the line concentration equipment are connected with the power supply equipment; when detecting that the connection state of the plurality of output ports changes and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode; when the power supply equipment is determined to enter a quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to at least two charging equipment; based on the charging communication frame, when it is determined that the at least two charging devices are both allowed to execute the quick charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device is quickly charged by the first charging path for the at least two charging devices. Therefore, the line concentration equipment can realize the rapid charging of a plurality of charging equipment, and the charging efficiency is improved.

Description

Charging control method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to a charging control method, device, apparatus, and storage medium.
Background
With the improvement of the Charging efficiency requirements of mobile phones, smart watches, tablet computers and other devices, a large number of fast Charging technologies such as voltage open loop multi-stage Constant Current Charging (VOOC), super flash Charging (SVOOC) and the like are emerging.
In the related art, there is only one output port of the fast-charging adapter, so that only one mobile phone can be adapted for charging at a time. When multiple handsets need to be charged simultaneously, hubs (hub) need to be added. Although a plurality of output ports of the hub can be connected with a plurality of mobile phones, the battery voltages of different mobile phones are different, and the output voltages of the required adapters are different, so that the hub cannot support a plurality of mobile phones to enter a fast charging mode at the same time, the problem of low charging speed exists, and the charging efficiency is reduced.
Disclosure of Invention
The application provides a charge control method, a device, equipment and a storage medium, which can realize the rapid charge of a plurality of charging equipment, can improve the charge speed and further improve the charge efficiency.
In order to achieve the above purpose, the technical scheme of the application is realized as follows:
In a first aspect, an embodiment of the present application provides a charging control method, which is applied to a hub device, where the method includes:
detecting connection states of a plurality of output ports of the line concentration equipment when the input ports of the line concentration equipment are connected with the power supply equipment;
when detecting that the connection state of the plurality of output ports changes and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode;
when the power supply equipment is determined to enter a quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to at least two charging equipment;
based on the charging communication frame, when it is determined that the at least two charging devices are both allowed to execute the quick charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device is quickly charged by the first charging path for the at least two charging devices.
In a second aspect, an embodiment of the present application provides a charging control device, which is applied to a line concentration device, where the charging control device includes a detection unit, a determination unit, a transceiver unit, and a charging unit, where:
a detection unit configured to detect connection states of a plurality of output ports of the line concentration device when the input port of the line concentration device is connected with the power supply device;
A determining unit configured to determine whether the power supply device enters a quick charge mode when it is detected that a connection state of the plurality of output ports is changed and at least two charging devices are connected to the plurality of output ports;
the receiving and transmitting unit is configured to receive a charging communication frame sent by the power supply equipment and send the charging communication frame to at least two charging equipment when the power supply equipment is determined to enter a quick charging mode;
and a charging unit configured to establish a first charging path between the power supply device and the at least two charging devices when it is determined that the at least two charging devices are both permitted to perform the quick charging mode based on the charging communication frame, so that the power supply device is quickly charged by the first charging path for the at least two charging devices.
In a third aspect, an embodiment of the present application provides a hub device, where the hub device includes a memory and a processor; wherein,
a memory for storing a computer program capable of running on the processor;
a processor for performing the method as described in the first aspect when the computer program is run.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program which, when executed by at least one processor, implements a method according to the first aspect.
The embodiment of the application provides a charging control method, a device, equipment and a storage medium, wherein when an input port of line concentration equipment is connected with power supply equipment, connection states of a plurality of output ports of the line concentration equipment are detected; when detecting that the connection state of the plurality of output ports changes and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode; when the power supply equipment is determined to enter a quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to at least two charging equipment; based on the charging communication frame, when it is determined that the at least two charging devices are both allowed to execute the quick charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device is quickly charged by the first charging path for the at least two charging devices. In this way, according to the provided line concentration device, the corresponding charging path can be selected by detecting the number of the connected charging devices. Specifically, when detecting that the line concentration device is connected with a plurality of charging devices, if the power supply device enters a quick charging mode, the line concentration device can receive a charging communication frame sent by the power supply device and forward the charging communication frame to the plurality of charging devices so as to enable charging between the power supply device and the plurality of charging devices in the quick charging treasured mode; therefore, the line concentration equipment realizes the rapid charging of a plurality of charging equipment, so that the charging speed is obviously improved, and the charging efficiency is further improved.
Drawings
FIG. 1 is a schematic diagram of a charging system;
fig. 2 is a schematic flow chart of a charging control method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a pin interface of a TYPEC protocol according to an embodiment of the present application;
fig. 4 is a schematic diagram of a working principle of a CC pin according to an embodiment of the present application;
fig. 5 is a second schematic flow chart of a charging control method according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a third embodiment of a charging control method according to the present disclosure;
fig. 7 is a detailed flowchart of a charging control method according to an embodiment of the present application;
fig. 8 is a detailed flow chart of a charging control method according to the embodiment of the present application;
fig. 9 is a schematic diagram of a composition structure of a charging control device according to an embodiment of the present application;
fig. 10 is a schematic diagram of a specific hardware structure of a charging device according to an embodiment of the present application;
fig. 11 is a schematic diagram of a composition structure of a charging system according to an embodiment of the present application.
Detailed Description
For a more complete understanding of the features and technical content of the embodiments of the present application, reference should be made to the following detailed description of the embodiments of the present application, taken in conjunction with the accompanying drawings, which are for purposes of illustration only and not intended to limit the embodiments of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
It should also be noted that the term "first/second/third" in reference to the embodiments of the present application is used merely to distinguish similar objects and does not represent a specific ordering for the objects, it being understood that the "first/second/third" may be interchanged with a specific order or sequence, if allowed, to enable the embodiments of the present application described herein to be implemented in an order other than that illustrated or described herein.
With the development of the fast charge technology, the fast charge power of the fast charge protocols of VOOC, SVOOC and the like has been developed from the initial 20W to 100W. At present, only one output port (an A port or a C port) of the quick-charging adapter is supported, so that the quick-charging adapter can only perform quick-charging on one device such as a mobile phone, a smart watch, a tablet personal computer and the like at a time. If the mobile phones are required to be charged at the same time, a line concentration device needs to be added, an adapter is connected with an input port of the line concentration device, and a plurality of output ports of the line concentration device are connected with the mobile phones.
Illustratively, fig. 1 is a schematic diagram of a configuration of a charging system, where, as shown in fig. 1, an input port (i.e., a port D) of a hub device 102 is connected to an adapter 101, and a plurality of output ports of the hub device 102 may include a port a, a port B, and a port C, which are respectively connected to three charging devices (e.g., the charging device a, the charging device B, and the charging device C), so that the adapter 101 charges the three charging devices at the same time.
In the related art, a charging device supporting the SVOOC protocol adopts a direct charging mode in the SVOOC protocol. In this direct charge mode, it is understood that the adapter is directly connected to the battery of the charging device, the adapter outputs a vbus voltage, i.e. a voltage difference that is higher than the battery voltage of the charging device by the required current, i.e. vbus = vbatt + R x i_expect, where vbus is the adapter output voltage, vbatt is the battery voltage of the charging device, R is the path impedance of the adapter to the battery of the charging device, and i_expect is the charging current desired by the battery of the charging device. Since the battery voltage of the charging device is stepped up during charging, the output voltage of the adapter is stepped up, so that 99% of the fast charge instructions of the charging device in the steady fast charge phase in the direct charge mode in the SVOOC protocol are the battery voltage vbatt, and the voltage output is adjusted according to the battery voltage and the required charging current. However, the mechanism causes that the general line concentration equipment cannot support the quick charging of the SVOOC protocol of the multi-mobile phone, and the direct charging mode of the SVOOC protocol of the multi-mobile phone cannot be simultaneously supported because the output voltages of the adapters required by the different mobile phones are different due to different battery voltages of the different mobile phones. However, the direct charging mode supporting the SVOOC protocol of the charging devices is widely applied, for example, the current of the charging devices is too low when the charging devices go out, the charging devices need to be found to charge, a plurality of output ports are arranged on the charging devices, the charging devices can charge a plurality of mobile phones, and for the charging devices supporting the SVOOC protocol, the charging devices are connected into the charging devices together due to the limitation of the direct charging mode, only the common charging can be carried out, so that the problem of slow charging exists.
In short, although the quick-charging adapter charges the plurality of mobile phones by using the line concentration device in the related art, the plurality of mobile phones can be charged only by ordinary charging and cannot be charged quickly based on the SVOOC quick-charging protocol, so that the problem of slow charging exists, and particularly, the problem of slow charging speed is remarkably amplified in a scene that a plurality of outdoor mobile phones do not want to be charged quickly at the same time.
Based on the above, the embodiment of the application provides a charging control method, in particular to a design scheme for realizing quick charging based on multi-port expandability. Detecting connection states of a plurality of output ports of the line concentration equipment when the input ports of the line concentration equipment are connected with the power supply equipment; when detecting that the connection state of the plurality of output ports changes and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode; when the power supply equipment is determined to enter a quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to at least two charging equipment; based on the charging communication frame, when it is determined that the at least two charging devices are both allowed to execute the quick charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device is quickly charged by the first charging path for the at least two charging devices. In this way, according to the provided line concentration device, the corresponding charging path can be selected by detecting the number of the connected charging devices. Specifically, when detecting that the line concentration device is connected with a plurality of charging devices, if the power supply device enters a quick charging mode, the line concentration device can receive a charging communication frame sent by the power supply device and forward the charging communication frame to the plurality of charging devices so as to enable charging between the power supply device and the plurality of charging devices in the quick charging treasured mode; therefore, the line concentration equipment realizes the rapid charging of a plurality of charging equipment, so that the charging speed is obviously improved, and the charging efficiency is further improved.
Various embodiments of the present application are described in detail below with reference to the accompanying drawings.
In an embodiment of the present application, fig. 2 is a schematic flow chart of a charging control method provided in the embodiment of the present application. As shown in fig. 2, the method may include:
s201: when the input port of the line concentration device is connected with the power supply device, the connection states of a plurality of output ports of the line concentration device are detected.
It should be noted that, the charging control method of the embodiment of the present application may be applied to a charging control device, or a hub device integrated with the device. The charging device may be a device such as a mobile phone, a tablet computer, a palm computer, a smart watch, a charging earphone, a mobile power supply, a charging device, and the like, which is not limited herein.
It should be further noted that, in this embodiment of the present application, when the hub device is connected to the power supply device, the power supply device may supply power to the hub device, and the hub device may monitor whether a plurality of output ports of the hub device have external charging devices inserted, specifically, the CC pins of the TYPEC protocol are implemented.
The pin definition of the TYPEC protocol is shown in FIG. 3. As shown in fig. 3, a schematic diagram of a pin interface of the TYPEC protocol is provided, where the pins are symmetrical so as to support both forward and reverse insertion. TYPEC supports protocols such as universal serial bus (Universal Serial Bus, USB), power Delivery (PD), etc., and the CC pins may include CC1 and CC2 pins, the symmetrical CC1 and CC2 pins of which can be used to identify the connected device.
It should be further noted that, in the embodiment of the present application, as shown in fig. 4, the CC pins need to have pull-up resistors inside the downstream port (Downstream Facing Port, DFP) and the upstream port (Upstream Facing Port, UFP), respectively, to identify the respective functions. Where Rp represents a pull-up resistor and Rd represents a pull-down resistor. As shown in fig. 4, the connection states of the plurality of output ports of the hub device can be determined by detecting different pull-up and pull-down resistors. The power is pulled up to the power supply through different resistors Rp in the DFP, the power is pulled down to the Ground (GND) through 5.1kΩ resistor in the UFP in the CC, the line concentration device is connected with the pull-up resistor Rp as the DFP device, and the charging device is now represented as the UFP connected with the pull-down resistor Rd. Illustratively, if a low level at the left port of fig. 4 is detected, then accessing the charging device is illustrated; if the left port of fig. 4 is detected to be high, i.e., the left port of fig. 4 is in a floating state, it indicates that no charging device is connected.
S202: and when detecting that the connection state of the plurality of output ports is changed and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode.
It should be noted that, in the embodiment of the present application, for the hub device, the connection state of the output port may be represented by a variable device_connect. The device_connect can fix a certain bit map to a certain output port, for example, bit1 represents a connection state of the output port 1, bit2 represents a connection state of the output port 2, and so on, bit n represents a connection state of the output port n. Specifically, when a certain bit is 1, connection is indicated; when a bit is 0, a disconnection is indicated.
It should be further noted that, in the embodiment of the present application, in order to record the state before the output port changes, the variable pre_device_connect may be used herein to indicate that the initial pre_device_connect is equal to the device_connect. And then detecting the connection states of a plurality of output ports of the line concentration equipment, and triggering interrupt notification software to process if the connection states of the output ports change. If the connection state of the output port does not change, the current state of charge is maintained.
It should be further noted that, in this embodiment of the present application, when it is detected that a plurality of output ports of the line concentration device are connected to at least two charging devices, it is required to determine whether the power supply device is capable of performing the fast charging mode, and when it is determined that the power supply device is capable of entering the fast charging mode, then fast charging can be performed for the at least two charging devices.
S203: and when the power supply equipment is determined to enter the quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to at least two charging equipment.
It should be noted that, in the embodiment of the present application, when it is determined that the power supply apparatus enters the fast charging mode, it is necessary to receive a charging communication frame transmitted by the power supply apparatus and then transmit the charging communication frame to at least two charging apparatuses, so as to determine whether the at least two charging apparatuses allow the fast charging mode to be performed.
It should also be noted that, in the embodiment of the present application, the charging communication frame is used to instruct the charging device to execute the charging control response corresponding to the charging communication frame. After the power supply equipment enters the quick charging mode, all charging communication frames are sent by the power supply equipment, and at least two charging equipment passively reply to a charging control response corresponding to the charging communication frames. In addition, the power supply device may transmit charging communication frames at intervals to enable communication between the power supply device and at least two charging devices.
S204: based on the charging communication frame, when it is determined that the at least two charging devices are both allowed to execute the quick charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device is quickly charged by the first charging path for the at least two charging devices.
It should be noted that, in the embodiment of the present application, when the power supply device enters the fast charging mode, it is necessary to determine whether the two previous charging devices can both execute the fast charging mode, so as to determine a charging path established between the power supply device and the at least two charging devices, and further charge the at least two charging devices.
In some embodiments, the method further comprises:
when the power supply equipment does not enter the quick charging mode or at least one of the at least two charging equipment is not allowed to execute the quick charging mode, a second charging path is established between the power supply equipment and the at least two charging equipment, so that the power supply equipment is subjected to ordinary charging by the second charging path; wherein the charging speed of the normal charge is smaller than the charging speed of the quick charge.
It should be noted that, in the embodiment of the present application, when the power supply device does not enter the fast charging mode or at least one of the at least two charging devices is not allowed to perform the fast charging mode, the power supply device only performs normal charging for the at least two charging devices, and cannot perform fast charging.
In some embodiments, determining whether the power supply device enters a fast charge mode may include:
If the first pulse strings sent by the at least two charging devices are not all received within the first preset time, determining that the power supply device does not enter a quick charging mode;
and if the first pulse strings sent by the at least two charging devices are all received within the first preset time, sending a second pulse string to the power supply device, wherein the second pulse string is used for activating the power supply device to enter a quick charging mode.
In the embodiment of the present application, since the conditions for transmitting the bursts by different charging devices are different, it is only necessary to provide that the first bursts transmitted by at least two electronic devices can be received within a first preset time, where the first preset time may be 2 seconds or 3 seconds, and no limitation is made here.
It should be further noted that, in the embodiment of the present application, when a plurality of bursts in the first bursts received by the hub device reach a preset number, a second burst is sent to the power supply device, so as to activate the power supply device to enter the fast charging mode. The preset number may be 29 or 30, and is not limited in any way.
It should be further noted that, in the embodiment of the present application, the first pulse strings sent by the at least two charging devices are not received in the first preset time, which means that at least one of the at least two charging devices does not support the fast charging mode, the second pulse strings are not sent to the power supply device, and at this time, the power supply device performs normal charging for the at least two charging devices.
In a specific embodiment, before determining whether the power supply device enters the fast charge mode, the method may further include: disconnecting the path between the line concentration device and the power supply device, and reestablishing the path between the line concentration device and the power supply device after a second preset time; and receiving a first pulse string sent by the at least two charging devices when the at least two charging devices recognize that the power supply device is a power supply of a preset type based on communication between the line concentration device and the at least two charging devices.
It should be noted that, in the embodiment of the present application, after the path between the line concentration device and the power supply device is disconnected, there is no connection between the power supply device and the at least two charging devices, and at this time, the power supply device and the at least two charging devices may be automatically disconnected and reset.
It should be further noted that, in the embodiment of the present application, after the second preset time, the path between the hub device and the power supply device is reestablished, so as to perform the subsequent charging communication frame. The second preset time may be 1 second or 1.5 seconds, and is not limited in any way.
It should be further noted that, in this embodiment of the present application, the hub device is connected to a Power Management Integrated Circuit (PMIC) of at least two electronic devices, and uses the bc1.2 protocol to identify whether the Power supply device is a preset type voltage through d+ and D- (i.e., DPDM) in pins of the typeec protocol, and when the Power supply is of the preset type, the hub device receives a first pulse string sent by at least two charging devices, and when the Power supply device is not of the preset type voltage, it is not necessary that the Power supply device does not send a subsequent charging communication frame to communicate with at least two charging devices. The power supply of the preset type is an external power supply and has a charging function. Here, the preset type power supply may be a dedicated charging port (Dedicated Charging Port, DCP), and is not limited at all.
In some embodiments, before determining that at least two charging devices are each permitted to perform the fast charge mode, the method further comprises: when the charging communication frame indicates to carry out identity verification on the power supply equipment, based on communication between the line concentration equipment and the power supply equipment and communication between the line concentration equipment and at least two charging equipment, when the identity verification of the power supply equipment is determined to be successful, the next charging communication frame sent by the power supply equipment is received.
It should be noted that, in the related art, for the power supply device and the charging device, the power supply device may send an identity verification communication frame, after the charging device receives the frame, scramble the data with the random number through a shift operation, then the power supply device restores the data according to the same shift reverse operation after receiving the data, and then the power supply device compares whether the two data are equal, if so, it indicates that the identity of the power supply device is successfully identified. However, in the embodiment of the present application, since the power supply device is indirectly connected to the plurality of charging devices, authentication encryption cannot be directly performed with all the charging devices, and thus separate authentication is required, for example, the line concentration device performs authentication encryption with the power supply device, and the line concentration device performs authentication encryption with all the connected charging devices.
It should be further noted that, in this embodiment of the present application, after the hub device receives the identity verification communication frame, the hub device actively performs communication of identity identification with the power supply device, and meanwhile, the hub device performs communication frame interaction for multiple charging devices connected to the output port synchronously, that is, the power supply device only interacts with the hub device, and the hub device interacts with multiple mobile phones synchronously. If the line concentration device interacts with the power supply device, and the power supply device is identified to be not a special power supply device (for example, not an adapter of OPPO), the authentication failure of the power supply device is determined, the subsequent line concentration device does not reply to a charging communication frame of the power supply device, and the power supply device provides a general charging mode for carrying out common charging on at least two electronic devices.
The power supply equipment and the line concentration equipment carry out authentication encryption, the line concentration equipment and at least two charging equipment carry out authentication encryption, and when the authentication encryption of the line concentration equipment and the charging equipment is successful, the whole authentication encryption is completed, so that the power supply equipment sends a subsequent charging communication frame.
In some embodiments, before determining that at least two charging devices are each permitted to perform the fast charge mode, the method further comprises: when the charging communication frame indicates the identity information of the power supply equipment, the charging communication frame is sent to at least two charging equipment, the first information is fed back to the power supply equipment, and the next charging communication frame sent by the power supply equipment is received.
It should be noted that, in the embodiment of the present application, the identity information (Identity Document, ID) of the power supply device is a User Interface (UI) animation of the charging device, and different animations will be displayed according to different IDs, after the line concentration device receives the communication frame, the line concentration device forwards the frame to at least two electronic devices, and then the line concentration device feeds back the first information to the power supply device, so as to avoid communication interruption, thereby the power supply device sends a subsequent charging communication frame. The first information may be specific data or specific characters (for example @), which can enable the power supply device to receive a charging communication frame in which the hub device receives identity information of the power supply device.
In some embodiments, before determining that at least two charging devices are each permitted to perform the fast charge mode, the method further comprises: when the charging communication frame indicates to inquire the charging curves of at least two charging devices and is the first inquiry, sending the maximum number of the charging curves to the power supply device, and sending the charging communication frame to the at least two charging devices; and receiving the number of charging curves fed back by the at least two charging devices, storing the number of charging curves fed back by the at least two charging devices into a preset sequence, and receiving the next charging communication frame sent by the power supply device.
It should be noted that, after the power supply apparatus enters the fast charging mode, the number of charging curves of the charging apparatus is generally queried. The power supply device then always inquires about the voltage of the charging device, and adjusts the charging current by means of the charging curve. However, in the embodiment of the present application, when the power supply device first inquires about the charging curves of at least two charging devices, at least two charging devices must reply to the charging communication frame within 5 milliseconds, and because the number of charging curves of at least two charging devices is different, at least two charging devices can reply to the default number of charging curves first, and in turn, in order to ensure that the charging communication frames of at least two charging devices are synchronous, that is, the hub device sends the maximum number of charging curves to the power supply device. Here, the maximum number may be 10 or 20, and the value for the maximum number may be greater than or equal to the maximum number of charging curves in the at least two charging devices.
In the embodiment of the present application, because the number of charging curves of each charging device is different, the hub device sends the communication frame to each charging device, each charging device receives the communication frame, sends the maximum number of charging curves to the hub device, and after the hub device receives the maximum number of charging curves, the hub device stores the maximum number of charging curves in a preset sequence, and receives the next charging communication frame sent by the power supply device. The preset sequence may be referred to herein as an n-sequence.
In some embodiments, the method further comprises: and when the charging communication frame indicates that the charging curves of the at least two charging devices are inquired and the charging curves are not inquired for the first time, transmitting transitional charging curves to the power supply device, and determining whether the charging curves of the first charging device in the at least two charging devices are transmitted completely or not based on a preset sequence.
It should be noted that, in the embodiment of the present application, the first charging device is any one of at least two charging devices. Taking the first charging device as an example, in a specific embodiment, for determining whether the transmission of the charging curve of the first charging device of the at least two charging devices is completed, the method further includes: when the transmission of the charging curve of the first charging equipment is completed, transmitting a transition communication frame to the first charging equipment; and when the charging curve of the first charging device is not sent to be completed, sending the charging communication frame to the first charging device.
It should also be noted that, in the embodiment of the present application, the transition communication frame is different from the charging communication frame. Wherein the transitional communication frame is a communication frame for indicating that the charging profile of the charging device has been transmitted completely while being transmitted in order to avoid interruption of communication.
It should be further noted that, in the embodiment of the present application, when the charging curves of at least two charging devices are not queried for the first time, the hub device sends the transitional charging curve to the power supply device, so as to avoid communication interruption, where the transitional charging curve may not be the actual charging curve of the at least two charging devices, and therefore the transitional charging curve may also be referred to as a fake charging curve. In addition, whether the charging curves of the first charging equipment are all sent out or not is judged every time, namely, the judgment is carried out through an n-sequence. When the transmission of the charging curve at the first charging device is completed, a transition communication frame needs to be transmitted to the first charging device, so that communication interruption is avoided.
It should be further noted that, in the embodiment of the present application, after the maximum number of charging curves is sent to the power supply device, the number of times the power supply device queries the charging curves of at least two charging devices must be a value of the maximum number, and after all the queries are completed, the next charging communication frame can be sent.
In some embodiments, before determining that at least two charging devices are each permitted to perform the fast charge mode, the method further comprises: when the charging communication frame indicates to inquire whether at least two charging devices allow quick charging, the charging communication frame is sent to the at least two charging devices, and permission identification information sent by the at least two charging devices is received; and determining that the at least two charging devices are allowed to execute the rapid charging mode when the permission identification information sent by the at least two charging devices is all of the first value.
It should be noted that, in the embodiment of the present application, under certain environmental conditions, for example, the temperature of the charging device is too high and the charging current is too high, so that the charging device does not support the fast charging mode, so the power supply device needs to query whether the at least two charging devices allow the fast charging, and when the permission identification information sent by the at least two charging devices is all the first value, it is determined that the at least two charging devices allow the fast charging mode to be executed. Here, the first value may be 1 or another value, and is not limited in any way.
It should also be noted that, in the embodiment of the present application, the method further includes: when the permission identification information transmitted by the at least two charging devices is not the first value, it is determined that at least one of the at least two charging devices is not permitted to execute the fast charging mode. In this case, a second charging path may be established between the power supply device and the at least two charging devices at this time, so that the power supply device normally charges the at least two charging devices by the second charging path.
The embodiment of the application provides a charging control method, which is used for detecting the connection states of a plurality of output ports of line concentration equipment when the input ports of the line concentration equipment are connected with power supply equipment; when detecting that the connection state of the plurality of output ports changes and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode; when the power supply equipment is determined to enter a quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to at least two charging equipment; based on the charging communication frame, when it is determined that the at least two charging devices are both allowed to execute the quick charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device is quickly charged by the first charging path for the at least two charging devices. In this way, according to the provided line concentration device, the corresponding charging path can be selected by detecting the number of the connected charging devices. Specifically, when detecting that the line concentration device is connected with a plurality of charging devices, if the power supply device enters a quick charging mode, the line concentration device can receive a charging communication frame sent by the power supply device and forward the charging communication frame to the plurality of charging devices so as to enable charging between the power supply device and the plurality of charging devices in the quick charging treasured mode; therefore, the line concentration equipment realizes the rapid charging of a plurality of charging equipment, so that the charging speed is obviously improved, and the charging efficiency is further improved.
In another embodiment of the present application, based on the charge control method described in the foregoing embodiment, fig. 5 is a second schematic flow chart of a charge control method provided in the embodiment of the present application. As shown in fig. 5, the method may include:
s501: and receiving a charging mode selection frame sent by the power supply equipment, and sending the charging mode selection frame to at least two charging equipment.
S502: and after receiving the direct charging modes fed back by at least two charging devices, sending second information to the power supply device, wherein the second information is used for representing that the rapid charging mode is selected to be a rapid charging treasured mode.
It should be noted that, in the embodiment of the present application, the power supply device sends the query charging mode selection frame, and since the current charging device supports the SVOOC protocol and returns to the direct charging mode, when the power supply device queries the communication frame, at least two charging devices return to the direct charging mode, but at this time, a quick charging bank (powerbank) mode is required to be walked, so the line concentration device sends second information representing selection of the quick charging bank mode to the power supply device, and meanwhile, the line concentration device forwards the communication frame to the charging devices of each output port, and the charging devices discard the information of the direct charging mode returned by the at least two charging devices.
In some embodiments, after sending the second information to the power supply device, the method further comprises:
if current query information sent by the power supply equipment for the first time is received, a preset current value is sent to the power supply equipment, and the current query information is sent to at least two charging equipment;
and if the current query information sent by the power supply equipment for the non-first time is received, sending the current calculation value of the last time to the power supply equipment, and sending the current query information to at least two charging equipment.
In the embodiment of the present application, the current query information sent by the power supply device needs to be replied to faster instructions, but the time for obtaining the current of at least two electronic devices is slower, so that the line concentration device sends a preset current value to the power supply device first to perform subsequent communication, thereby avoiding interruption of communication. The preset current may be 4 amps (a), or may be another value, which is not specifically limited.
It should be noted that, in the embodiment of the present application, if the current query information sent by the power supply device for the non-first time is received, the current calculation value of the last time is sent to the power supply device, and the current query information is sent to at least two charging devices, so that the charging current can be adjusted in real time.
In a specific embodiment, after sending the current query information to the at least two charging devices, the method further comprises:
receiving charging current values fed back by at least two charging devices;
adding the charging current values fed back by at least two charging devices to determine a current calculation value; the current calculation value is used for feeding back to the power supply equipment when current inquiry information sent by the power supply equipment next time is received.
It should be noted that, in this embodiment of the present application, when the charging current is first queried, the hub device forwards the communication frame to at least two charging devices, each charging device replies the required fast charging current (current), and after receiving the information, the hub device sums all the currents to obtain a current calculation value (current_total), so as to send the current_total to the power supply device when the current is next queried. If the charging current is not queried for the first time, the line concentration device replies the current calculation value of the power supply device, then the line concentration device sends the communication frame to at least two charging devices, each charging device replies the needed current, and after receiving the information, the line concentration device sums all the currents to obtain a new current_total.
The embodiment of the application provides a charging control method, which comprises the steps of receiving a charging mode selection frame sent by power supply equipment and sending the charging mode selection frame to at least two charging equipment; and after receiving the direct charging modes fed back by at least two charging devices, sending second information to the power supply device, wherein the second information is used for representing that the rapid charging mode is selected to be a rapid charging treasured mode. Thus, the power supply equipment and the plurality of charging equipment can be charged in a quick charging treasured mode; therefore, the line concentration equipment realizes the rapid charging of a plurality of charging equipment, so that the charging speed is obviously improved, and the charging efficiency is further improved.
In yet another embodiment of the present application, fig. 6 is a schematic flow chart III of a charging control method according to an embodiment of the present application based on the charging control method described in the foregoing embodiment. As shown in fig. 6, the method may include:
s601: and when detecting that the connection state of the plurality of output ports is changed and only one output port of the plurality of output ports is connected with the charging equipment, determining that the charging equipment enters a direct charging mode.
It should be noted that, in the embodiment of the present application, when only one charging device is connected, the line concentration device does not perform protocol forwarding, and directly makes the power supply device and the charging device perform autonomous coordinated communication, that is, determines that the charging device enters the direct charging mode.
S602: a direct charging path is established between the power supply equipment and the charging equipment, so that the power supply equipment charges the charging equipment through the charging path.
In the embodiment of the present application, a direct charging path is established between the power supply device and the charging device, so that the power supply device and the charging device can perform autonomous cooperative communication.
In some embodiments, a direct charge charging path is established between a power supply device and a charging device, the method comprising: based on the communication between the power supply equipment and the charging equipment, when the power supply equipment and the charging equipment are determined to support a quick charging mode, a third charging path is established between the power supply equipment and the charging equipment, so that the power supply equipment is quickly charged by the third charging path for the charging equipment; and when at least one of the power supply equipment and the charging equipment does not support the rapid charging mode, a fourth charging path is established between the power supply equipment and the charging equipment, so that the power supply equipment can perform ordinary charging on the charging equipment through the fourth charging path.
Note that, in the embodiment of the present application, the charging speed of the normal charging is smaller than the charging speed of the quick charging.
It should be further noted that, in the embodiment of the present application, when a direct charging path is established between the power supply device and the charging device, it is necessary to determine whether the power supply device supports the fast charging mode, so as to determine whether the power supply device performs fast charging or normal charging for the charging device.
In some embodiments, determining that the charging device enters the direct charge mode includes: determining initial connection states of a plurality of output ports before the connection states change; if the initial connection state indicates that the plurality of output ports are not connected with the charging equipment, controlling the power supply equipment to be directly connected with the charging equipment so as to enable the charging equipment to enter a direct charging mode; if the initial connection state indicates that the plurality of output ports are connected with at least two charging devices, disconnecting a passage between the line concentration device and the power supply device, reestablishing the passage between the line concentration device and the power supply device after a third preset time, and controlling the power supply device to be directly connected with the charging devices so as to enable the charging devices to enter a direct charging mode.
It should be noted that, in the embodiment of the present application, when only one output port is connected to the charging device, it is necessary to determine whether the pre_device_connection is 0; if pre_device_connect=0, it indicates that all output ports of hub have a connection state change from no insertion to only one of the output ports being connected to the charging device, and at this time, the hub device controls the connected output port to be directly connected to the power supply device, and the charging device enters a direct charging mode. If pre_device_connect not equal to 0, the output port connection state of the hub Device is changed from a plurality of output port connections to only one output port connection, at which time the path between the hub Device and the power supply Device is disconnected, and after a second preset time, the path between the hub Device and the power supply Device is re-established, so that the power supply Device exits the powerbank mode, and the charging Device enters the direct charging mode.
The embodiment of the application provides a charging control method, which is used for determining that charging equipment enters a direct charging mode when detecting that the connection state of a plurality of output ports changes and only one output port of the plurality of output ports is connected with the charging equipment; a direct charging path is established between the power supply equipment and the charging equipment, so that the power supply equipment charges the charging equipment through the charging path. In this way, according to the provided line concentration device, the corresponding charging path can be selected by detecting the number of the connected charging devices. Specifically, when detecting that the line concentration device is connected with one charging device, a direct charging path is established between the power supply device and the charging device, so that charging can be performed by a direct stamping die; thereby improving the charging efficiency.
In yet another embodiment of the present application, fig. 7 is a detailed flowchart of a charging control method provided in the embodiment of the present application, based on the charging control method of the foregoing embodiment. The power supply equipment can be an adapter, the hub equipment can be hub, and the charging equipment can be a mobile phone; in addition, the line concentration equipment comprises a main control chip. As shown in fig. 7, the detailed flow may include:
S701: hub connects the adapter.
S702: the adapter supplies power to the hub.
S703: the output port connected by the current hub is obtained, and the connection state of the output port can be represented by a variable device_connect. Wherein device_connect can fix a bit to map to an output port. Illustratively, bit1 represents the connection state of output port 1 and bit2 represents the connection state of output port 2. Specifically, when a certain bit is 1, connection is indicated; when a bit is 0, a disconnection is indicated. To record the state before the output port connection change, the variable pre_device_connect may be used to indicate that the initial pre_device_connect=device_connect is set.
S704: is the interrupt monitoring changed output port connection status?
S705: the entire charging system maintains the current state of charge.
S706: and acquiring the connection states of all output ports of the current hub, and recording by using a variable device_connect.
S707:device_connect=0?
Note that when S707 indicates device_connect=0, S708 is executed, and when S707 indicates device_connect+.0, S7010 is executed.
S708: indicating that all output ports of the hub are not connected with equipment, the program state of the hub active on-chip running needs to be restored to the initial state.
S709: update pre_device_connect=device_connect.
S7010: only a bit of the device_connect is 1?
Note that, when S7010 indicates that only one bit in the device_connect is 1, S7011 is executed, and when S7010 indicates that at least two bits in the device_connect are 1, S7021 is executed.
S7011: indicating that only one of the output ports of the hub has a connected device. S7012: pre device connection=0?
S7013: indicating that the connection state change of the hub output ports is from no insertion to only one of the output ports having a connection.
S7014: indicating that the connection state change of the output ports of hub is from multiple output port connections to only one output port connection.
S7015: the main control chip can disconnect the access of the hub and the adapter, then the adapter and the mobile phone are reset, and the main control chip is reconnected with the access of the hub and the adapter after 1 second.
S7016: the main control chip controls the mobile phone connected with the output port to be directly connected with the adapter. It should be noted that, in the embodiment of the present application, when the main control chip controls the mobile phone connected to the output port and the adapter to be directly connected, the main control chip does not perform protocol forwarding, and directly enables the mobile phones of the adapter and the connection port to perform autonomous coordinated communication
S7017: is both the adapter and handset supporting the SVOOC protocol?
S7018: the adapter establishes SVOOC connection with the handset.
S7019: the adapter establishes a common connection with the mobile phone.
S7020: update pre_device_connect=device_connect.
S7021: the number of bits 1 in the device_connect is equal to or greater than 2, which means that there are new or fewer connection devices on the hub output ports at this time, but the number of connected handsets of all output ports is equal to or greater than 2.
S7022: the main control chip can disconnect the access of the hub and the adapter, then the adapter and all connected mobile phones are reset, and after 1 second, the main control chip is reconnected to the access of the hub and the adapter.
S7023: and the PMICs and the main control chips in all the mobile phones use bc1.2 protocols through DPDM, and all the mobile phones recognize that the connected power supply is DCP.
S7024: is all connected ports' handsets transmitting the first burst within 3 seconds?
S7025: indicating that some connected mobile phones do not support SVOOC protocol, the main control chip does not send a second pulse train to deactivate the adapter, so that the adapter continues to maintain the normal charging mode.
S7026: update pre_device_connect=device_connect.
S7027: indicating that some of the connected handsets support the SVOOC protocol. The main control chip actively transmits a second pulse string to deactivate the adapter to enter a fast charging mode.
Fig. 8 is a detailed flow chart of a charging control method according to an embodiment of the present application. As shown in fig. 8, the detailed flow may include:
s801: is the adapter in the fast-charging communication frame?
S802: indicating that the hub connected adapter does not support the SVOOC protocol, the hub continues to maintain its normal mode.
S803: update pre_device_connect=device_connect.
S804: is the adapter transmitting an identification communication frame?
S805: and after receiving the charging communication frame, the main control chip performs authentication encryption on the power supply equipment and the hub and performs authentication encryption on the hub and the plurality of mobile phones.
It should be noted that, in this embodiment of the present application, after the main control chip receives the charging communication frame, the main control chip actively performs communication of identity identification with the adapter, and meanwhile, the main control chip synchronously performs interaction of the communication frame for the handsets connected to the output ports, that is, the adapter only interacts with the hub, and the hub synchronously interacts with the handsets.
S806: is hub interactively identified with the adapter as an adapter of OPPO?
S807: if the adapter authentication fails, the subsequent main control chip does not reply to the adapter charging communication frame, and the adapter maintains the normal charging mode.
S808: and carrying out communication of the subsequent charging communication frame.
S809: is the adapter sending an ID communication frame?
S8010: after receiving the charging communication frame, the main control chip forwards the communication frame to the mobile phones connected with the output ports, and the hub replies specific data to the adapter, so that communication interruption is avoided.
S8011: is the adapter sending a charge curve communication frame?
S8012: is the adapter asked for the first time?
S8013: the hub replies the maximum number m supported by the default of the adapter to the adapter, then the hub sends the communication frame to each mobile phone, each mobile phone receives the communication frame, sends the charging curve to the hub, and each output port stores the number of the received charging curves in an n sequence.
S8014: the hub replies a fake charging curve to the adapter, the hub polls the sent charging curve communication frames of all the output ports to the mobile phone in sequence, and whether the number of the charging curves sent by the mobile phone reaches the maximum in the n sequence is judged.
S8015: is the number of charging curves sent already?
S8016: the hub continues to ask the handset charge curve for a communication frame.
S8017: because the charging curve of the mobile phone is already sent, in order to avoid communication interruption, the hub needs to send some transitional communication frames to the mobile phone to avoid communication interruption.
S8018: is the adapter sending a query to allow a fast charge communication frame?
S8019: the hub needs to forward the communication frame to each mobile phone, the mobile phone sends a mark of whether the mobile phone allows quick charging to the hub, and the hub counts whether the mark allowing quick charging is the first value.
When it is needed, the hub needs to forward the communication frame to each handset first, because it is possible that a certain handset will not agree to the fast charge. Here the first value may be 1, indicating that the handset allows for fast charging.
S8020: all allow fast fill?
S8021: if a certain mobile phone does not allow quick charging, the subsequent main control chip does not reply to the adapter charging communication frame, and the adapter maintains the normal charging mode.
S8022: is the adapter sending a select communication frame asking for fast charge mode?
S8023: the hub sends information representing the selected powerbank mode to the adapter, and meanwhile, the hub forwards the communication frame to the mobile phones connected with all output ports, and the hub discards the information of the selected direct charging mode replied by the mobile phones.
S8024: the adapter sends current information asking for powerbank mode.
S8025: ending the communication between the hub and the adapter.
S8026: is the adapter first interrogated?
S8027: the hub replies the adapter with the current 4A in the middle, then the hub sends the communication frame to the mobile phones, each mobile phone replies the current needed, and after receiving the information, the hub sums all the current to obtain the current_total.
It should be noted that, in the embodiment of the present application, all current is summed to obtain current_total, so that the current_total is sent to the adapter when the current is next asked.
S8028: the hub replies the adapter current_total, then the hub sends the communication frame to the mobile phones, each mobile phone replies the needed current, and after receiving the information, the hub sums all the current to obtain the new current_total.
With reference to fig. 7 and fig. 8, the detailed flow of the technical solution for the embodiment of the present application is as follows:
in step 1, when the hub is connected with the adapter, the adapter supplies power to the hub, the main control chip loads a program to run, a program code obtains an output port connected with the current hub, and the connection state of the output port can be represented by using a variable device_connection. The device_connect can fix that a certain bit maps a certain output port, for example, bit1 represents a connection state of the output port 1, bit2 represents a connection state of the output port 2, and specifically, when a certain bit is 1, connection is represented; when a bit is 0, a disconnection is indicated. To record the state before the output port connection changes, a variable pre_device_connect representation is used. Initial pre_device_connect=device_connect is set. Then the main control chip monitors the connection state change of the output port, and if the connection state of the output port changes, the interrupt notification software is triggered to process. If the connection state of the output port does not change, the whole charging system maintains the current charger state.
And 2, when the connection state of the output ports is changed, firstly acquiring the connection states of all the current hub output ports, recording by using a variable device_connect, and then judging the bit state of the device_connect to judge the connection state of the current output ports. If the value of device_connect is equal to 0, indicating that all output ports of the hub are not connected to devices, it is necessary to restore the program state of the hub active on-chip run to the initial state and update pre_device_connect=device_connect.
Step 3, when only one bit in the device_connect is 1, it indicates that only one of all the output ports of the hub is connected to the mobile phone device, and at this time, it is to be determined whether from multiple to 1 or from 0 to 1, that is, it is determined that pre_device_connect=0? If pre_device_connect=0, it indicates that the connection state of the hub output ports is changed from no insertion to connection of only one of the output ports, at this time, the main control chip controls the connected output port to be directly connected with the adapter, and the main control chip does not perform protocol forwarding, so that the mobile phone connected with the adapter and the output port directly performs autonomous coordination communication. Is it determined in coordination with communication that both the adapter and the handset support SVOOC protocol? If both support, the adapter establishes SVOOC protocol connection with the mobile phone; if not, the adapter establishes a pervasive mode connection with the handset and updates pre_device_connect = device_connect. If pre_device_connect is not equal to 0, the connection state change of the hub output ports is changed from the connection of a plurality of output ports to the connection of only one output port, the main control chip disconnects the connection path between the hub and the adapter, namely, the adapter is led to exit the powerbank mode, so that the subsequent single-connection output port and the adapter perform SVOOC protocol direct charging, then the adapter and the mobile phone are reset, and the main control chip reconnects the connection path between the hub and the adapter after 1 second.
And 4, when a plurality of bits in the device_connect are 1, indicating that the number of bits in the device_connect is greater than or equal to 2, indicating that new or fewer connection devices are arranged on the hub output ports at this time, wherein the number of the connection mobile phones connected with all the output ports is greater than or equal to 2. In order to facilitate the restarting of communication, the main control chip disconnects the path of the hub connected with the adapter, then the adapter and all connected handsets are reset, after 1 second, the main control chip reconnects the path of the hub connected with the adapter, PMIC and the main control chip in the handsets with connected output ports use bc1.2 protocol through DPDM, and all handsets recognize that the connected power supply is DCP. To enter the SVOOC protocol mode, the mobile phone end needs to send the first pulse string to deactivate the adapter, but different conditions exist for sending the first pulse string by different mobile phones, generally, the mobile phone recognizes that the DCP power source is connected, and then the first pulse string is immediately Ma Fasong, so that the hub reserves 3 seconds, and checks whether all connected mobile phones with output ports send the first pulse string within 3 seconds. If not, indicating that some connected mobile phones do not support SVOOC protocol, and not sending a second pulse train to deactivate the adapter on the DPDM to enter a fast charging mode, and then the main control chip does not send the second pulse train to deactivate the adapter, so that the adapter continues to maintain the normal charging mode. If the first burst is sent, it indicates that some of the connected handsets support SVOOC protocol. The main control chip actively transmits a second pulse string to deactivate the adapter to enter a fast charging mode.
And 5, judging whether the adapter sends a quick-charging communication frame or not, if the adapter connected with the hub does not support the SVOOC protocol, continuously maintaining the normal charging mode of the adapter, and updating pre_device_connection=device_connection. If there are charging communication frames, it is determined which communication frame. When the type of the charging communication frame is that the adapter and the identity check communication frame, in the related technology, the adapter asks for the communication frame, the mobile phone breaks up data through shift operation, then the adapter receives the data and restores the data according to the same shift reverse operation, then the adapter compares whether the two data are equal or not, if the two data are equal, the adapter indicates that the identity recognition of the adapter is successful, but because the adapter is indirectly connected with a plurality of mobile phones, the adapter cannot directly carry out authentication encryption with all the mobile phones, so a compromise scheme is adopted, hub carries out authentication encryption with the adapter, and hub carries out authentication encryption with all the connected mobile phones. After receiving the communication frame, the main control chip actively carries out communication of identity identification with the adapter, and synchronously carries out communication frame interaction for the mobile phones connected with the output ports by the main control chip, namely the adapter only interacts with the hub, the hub synchronously interacts with the mobile phones, if the hub interacts with the adapter to identify the adapter which is not OPPO, the adapter authentication fails, the follow-up main control chip does not reply to the adapter communication frame, and the adapter maintains the general charging mode. Otherwise, the communication of the subsequent charging communication frame is carried out.
And 6, the adapter transmits an ID communication frame (the ID is the ID of the adapter, the UI animation of the mobile phone can display different animations according to different IDs), and after receiving the communication frame, the main control chip forwards the frame to a plurality of mobile phones connected with the output ports, and the hub replies specific data to the adapter so as to avoid communication interruption.
And 7, the adapter sends a communication frame of the inter-charging curve, wherein the adapter actively initiates the charging communication frame due to different numbers of charging curves of different mobile phones, the mobile phones need to reply to the communication frame within 5 milliseconds after the adapter initiates the charging communication frame, so that the mobile phones can reply to the default number of the charging curves in advance, and the maximum number m of the charging curves of each mobile phone is sequentially recovered to the adapter in order to keep the frame synchronization among the mobile phones due to different numbers of the charging curves of each mobile phone, namely, the hub replies the maximum number m supported by the adapter by default, then the hub sends the communication frame to each mobile phone, each mobile phone receives the communication frame, sends the charging curve to the hub, and the number of the curves received by each output port is stored in an n sequence. When the charging curve frame is the second frame, the hub replies a fake charging curve to the adapter, the hub sequentially polls the mobile phone for the sent charging curve communication frame of a certain output port, and whether the number of the charging curves sent by the mobile phone reaches the maximum in the n sequence is judged. If the charging curve of the mobile phone is not up to the maximum, indicating that the charging curve of the mobile phone is not up, and continuously asking the mobile phone for the charging curve by the hub; if the maximum is reached, but the number is less than m, in order to avoid communication interruption of the handset, the hub and the adapter are still communicating the charging curve frame, because the charging curve of the handset is already sent, and in order to avoid communication interruption, the hub needs to send some transition communication frame to the handset to avoid communication interruption.
And 8, the adapter transmits a query to allow quick charge communication frame, and because a certain mobile phone can not agree with quick charge, the hub needs to forward the communication frame to each mobile phone, the mobile phone transmits a mark of whether the mobile phone allows quick charge to the hub, the hub counts whether the marks allow quick charge or not to be all the first values, when the marks are not all the first values, the fact that the certain mobile phone does not allow quick charge is indicated, the follow-up main control chip does not reply to the adapter charge communication frame, and the adapter maintains the general charge mode.
Step 9, the adapter sends a selected communication frame inquiring the fast charging mode, because the SVOOC is supported by the mobile phone at present to be in the direct charging mode, when the adapter asks for the communication frame, the mobile phone is in the return direct charging mode, but the powerbank mode is needed to be taken at the moment, so that the hub sends information representing the selected powerbank mode to the adapter, meanwhile, the hub forwards the communication frame to the mobile phones of all ports, and the hub discards the information of the selected direct charging mode returned by the mobile phone.
Step 10, the adapter sends current information of the query powerbank mode, if the query is the first query, because the hub does not interact with each mobile phone at this time and does not know the charging current applied by each mobile phone, the hub replies the adapter with the central current 4A, so that the subsequent rapid reduction or adjustment is facilitated, then the hub sends the communication frame to the mobile phone, each mobile phone replies the needed current, after receiving the information, the hub sums all the current to obtain the current_total, so that the current_total is sent to the adapter when the charging current is next queried. If the information is not first asked, the hub replies the current_total of the adapter, then the hub sends the communication frame to the mobile phone, each mobile phone replies the needed current, and after receiving the information, the hub sums all the current to obtain the new current_total.
The embodiment of the application provides a charging control method, and details of specific implementation of the foregoing embodiment are described through the foregoing embodiment, so that it can be seen that according to the technical solution of the foregoing embodiment, by using a customized hub, whether a direct charging mode of SVOOC or a powerbank mode of SVOOC is selected by checking the number of connected handsets. In the case of connecting a plurality of mobile phone devices, through forwarding and processing of each quick charging protocol by hub, the adapter is maintained to communicate with all mobile phones in a powerbank mode, so that SVOOC quick charging of the plurality of mobile phones is realized, and the charging speed is further improved.
In still another embodiment of the present application, fig. 9 is a schematic diagram of a composition structure of a charging control device according to an embodiment of the present application, based on the same inventive concept as that of the previous embodiment. As shown in fig. 9, the charge control device 90 may include a detection unit 901, a determination unit 902, a transceiving unit 903, and a charging unit 904, wherein:
a detection unit 901 configured to detect connection states of a plurality of output ports of the line concentration device when the input port of the line concentration device is connected with the power supply device;
a determining unit 902 configured to determine whether the power supply device enters a fast charging mode when it is detected that a connection state of the plurality of output ports is changed and at least two charging devices are connected to the plurality of output ports;
The transceiver 903 is configured to receive a charging communication frame sent by the power supply device and send the charging communication frame to at least two charging devices when it is determined that the power supply device enters the fast charging mode;
and a charging unit 904 configured to establish a first charging path between the power supply device and the at least two charging devices when it is determined that the at least two charging devices are both permitted to perform the quick charging mode based on the charging communication frame, so that the power supply device is quickly charged by the first charging path for the at least two charging devices.
In some embodiments, the charging unit 904 is further configured to establish a second charging path between the power supply device and the at least two charging devices when it is determined that the power supply device does not enter the fast charging mode or at least one of the at least two charging devices does not allow the fast charging mode to be performed, such that the power supply device is normally charged by the second charging path for the at least two charging devices; wherein the charging speed of the normal charge is smaller than the charging speed of the quick charge.
In some embodiments, the determining unit 902 is further configured to determine that the power supply device does not enter the fast charging mode if the first pulse trains sent by the at least two charging devices are not all received within a first preset time; the transceiver 903 is further configured to send a second pulse train to the power supply device if the first pulse trains sent by the at least two charging devices are all received within the first preset time, where the second pulse train is used to activate the power supply device to enter the fast charging mode.
In some embodiments, the detection unit 901 is further configured to disconnect the path between the line concentration device and the power supply device, and reestablish the path between the line concentration device and the power supply device after a second preset time; and receiving a first pulse train sent by the at least two charging devices when the at least two charging devices recognize that the power supply device is a power supply of a preset type based on communication between the line concentration device and the at least two charging devices.
In some embodiments, the determining unit 902 is further configured to, when the charging communication frame indicates identity verification of the power supply device, receive a next charging communication frame sent by the power supply device when it is determined that the identity verification of the power supply device is successful, based on communication between the hub device and the power supply device and communication between the hub device and the at least two charging devices.
In some embodiments, the determining unit 902 is further configured to send the charging communication frame to at least two charging devices when the charging communication frame indicates identity information of the power supply device, and feed back the first information to the power supply device, and receive a next charging communication frame sent by the power supply device.
In some embodiments, the transceiver unit 903 is further configured to send the maximum number of charging curves to the power supply device and send the charging communication frame to the at least two charging devices when the charging communication frame indicates that the charging curves of the at least two charging devices are queried and is the first query; and receiving the number of charging curves fed back by the at least two charging devices, storing the number of charging curves fed back by the at least two charging devices into a preset sequence, and receiving the next charging communication frame sent by the power supply device.
In some embodiments, the transceiver 903 is further configured to send a transitional charging profile to the power supply device when the charging communication frame indicates that the charging profile of the at least two charging devices is queried and is not the first query, and determine, based on the preset sequence, whether the transmission of the charging profile of the first charging device of the at least two charging devices is complete; when the transmission of the charging curve of the first charging equipment is completed, transmitting a transition communication frame to the first charging equipment; and transmitting the charging communication frame to the first charging device when the charging curve of the first charging device is not transmitted; the first charging device is any one of at least two charging devices, and the transition communication frame is different from the charging communication frame.
In some embodiments, the transceiver 903 is further configured to, when the charging communication frame indicates to query whether the at least two charging devices allow the fast charging, send the charging communication frame to the at least two charging devices, and receive the permission identification information sent by the at least two charging devices; and determining that the at least two charging devices are both allowed to execute the fast charging mode when the permission identification information transmitted by the at least two charging devices is all of the first value.
In some embodiments, the transceiver 903 is further configured to receive a charging mode selection frame sent by the power supply device, and send the charging mode selection frame to at least two charging devices; and after receiving the direct charging modes fed back by the at least two charging devices, sending second information to the power supply device, wherein the second information is used for representing that the rapid charging mode is selected to be the rapid charging treasured mode.
In some embodiments, the transceiver 903 is further configured to send a preset current value to the power supply device if current query information sent by the power supply device for the first time is received, and send the current query information to at least two charging devices; and if the current query information sent by the power supply equipment for the first time is received, sending the current calculation value of the last time to the power supply equipment, and sending the current query information to at least two charging equipment.
In some embodiments, the determining unit 902 is further configured to receive a charging current value fed back by at least two charging devices; and carrying out addition operation on charging current values fed back by at least two charging devices to determine a current calculation value; the current calculation value is used for feeding back to the power supply equipment when current inquiry information sent by the power supply equipment next time is received.
In some embodiments, the detecting unit 901 is further configured to determine that the charging device enters the direct charging mode when it is detected that the connection states of the plurality of output ports change and only one output port of the plurality of output ports is connected with the charging device; the charging unit 904 is further configured to establish a direct charging path between the power supply device and the charging device, so that the power supply device charges the charging device through the direct charging path.
In some embodiments, the determining unit 902 is further configured to determine an initial connection state of the plurality of output ports before the connection state changes; the charging unit 904 is further configured to control the power supply device to be directly connected with the charging device so as to enable the charging device to enter a direct charging mode if the initial connection state indicates that the plurality of output ports are not connected with the charging device; and if the initial connection state indicates that the plurality of output ports are connected with at least two charging devices, disconnecting the passage between the line concentration device and the power supply device, reestablishing the passage between the line concentration device and the power supply device after a third preset time, and controlling the power supply device to be directly connected with the charging devices so as to enable the charging devices to enter a direct charging mode.
It will be appreciated that in this embodiment, the "unit" may be a part of a circuit, a part of a processor, a part of a program or software, etc., and may of course be a module, or may be non-modular. Furthermore, the components in the present embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional modules.
The integrated units, if implemented in the form of software functional modules, may be stored in a computer-readable storage medium, if not sold or used as separate products, and based on such understanding, the technical solution of the present embodiment may be embodied essentially or partly in the form of a software product, which is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or processor to perform all or part of the steps of the method described in the present embodiment. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Accordingly, the present embodiment provides a computer readable storage medium storing a computer program which, when executed by at least one processor, implements the steps of the method of any of the preceding embodiments.
Based on the above-mentioned composition of the charge control device 90 and the computer readable storage medium, fig. 10 is a schematic diagram of a specific hardware structure of a hub device according to an embodiment of the present application. As shown in fig. 10, the hub device 100 may include: a communication interface 1001, a memory 1002, and a processor 1003; the various components are coupled together by a bus system 1004. It is to be appreciated that the bus system 1004 serves to facilitate connective communication between these components. The bus system 1004 includes a power bus, a control bus, and a status signal bus in addition to the data bus. The various buses are labeled in fig. 10 as bus system 1004 for clarity of illustration. The communication interface 1001 is configured to receive and send signals during the process of receiving and sending information with other external network elements;
a memory 1002 for storing a computer program capable of running on the processor 1003;
processor 1003, when executing the computer program, performs:
detecting connection states of a plurality of output ports of the line concentration equipment when the input ports of the line concentration equipment are connected with the power supply equipment; when detecting that the connection state of the plurality of output ports changes and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode; when the power supply equipment is determined to enter a quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to at least two charging equipment; based on the charging communication frame, when it is determined that the at least two charging devices are both allowed to execute the quick charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device is quickly charged by the first charging path for the at least two charging devices.
It is to be appreciated that the memory 1002 in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (Double Data Rate SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct memory bus RAM (DRRAM). The memory 1002 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
While processor 1003 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry of hardware in the processor 1003 or instructions in the form of software. The processor 1003 may be a general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 1002, and the processor 1003 reads the information in the memory 1002, and in combination with the hardware, performs the steps of the above method.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the processing units may be implemented within one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP devices, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, as another embodiment, the processor 1003 is further configured to perform the steps of the method of any of the previous embodiments when running the computer program.
In some embodiments, the present disclosure further provides a hub device 100, where the hub device 100 may at least include the charge control device 90 according to any one of the foregoing embodiments.
In the embodiment of the present application, for the hub device 100, according to the provided hub device, the corresponding charging paths may be selected by detecting the number of connected charging devices. Specifically, when detecting that the line concentration device is connected with a plurality of charging devices, if the power supply device enters a quick charging mode, the line concentration device can receive a charging communication frame sent by the power supply device and forward the charging communication frame to the plurality of charging devices so as to enable charging between the power supply device and the plurality of charging devices in the quick charging treasured mode; therefore, the line concentration equipment realizes the rapid charging of a plurality of charging equipment, so that the charging speed is obviously improved, and the charging efficiency is further improved.
In yet another embodiment of the present application, fig. 11 is a schematic diagram of a composition structure of a charging system according to an embodiment of the present application. As shown in fig. 11, the charging system may include a power supply device 1101, a hub device 1102, and three charging devices. The hub device 1102 may be the hub device 100 described in the foregoing embodiment.
As shown in fig. 11, the input port (i.e., port D) of the hub device 1102 is connected to the power supply device 1101, and the plurality of output ports of the hub device 1102 may include port a, port B, and port C. The port a is connected to the charging device a, the port B is connected to the charging device B, and the port C is connected to the charging device C, so that the power supply device 1101 charges three charging devices simultaneously. Here, the number of output ports of hub device 1102 is an integer of 2 or more.
As shown in fig. 11, hub device 1102 may also include a master control chip for protocol forwarding functions. Specifically, the transmitted charging communication frame of the power supply device 1101 is forwarded to the charging device and the charging communication frame is processed, while detecting whether or not the respective output ports of the hub device 1102 are connected to the charging device and controlling the output disconnection of the power supply device 1101. When the hub device 1102 is connected to the power supply device 1101, the power supply device 1101 supplies power to the hub device 1102, and the hub device 1102 monitors whether a charging device is connected or not.
In the embodiment of the application, a design scheme for realizing quick charging based on multi-port expandability is provided. Specifically, according to the customized line concentration device, the corresponding charging path can be selected by detecting the number of the connected charging devices. Specifically, when detecting that the line concentration device is connected with a plurality of charging devices, if the power supply device enters a quick charging mode, the line concentration device can receive a charging communication frame sent by the power supply device and forward the charging communication frame to the plurality of charging devices so as to enable charging between the power supply device and the plurality of charging devices in the quick charging treasured mode; therefore, the line concentration equipment realizes the rapid charging of a plurality of charging equipment, so that the charging speed is obviously improved, and the charging efficiency is further improved.
It should be noted that, in this application, 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.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The methods disclosed in the several method embodiments provided in the present application may be arbitrarily combined without collision to obtain a new method embodiment.
The features disclosed in the several product embodiments provided in the present application may be combined arbitrarily without conflict to obtain new product embodiments.
The features disclosed in the several method or apparatus embodiments provided in the present application may be arbitrarily combined without conflict to obtain new method embodiments or apparatus embodiments.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A charging control method, applied to a line concentration device, the method comprising:
detecting connection states of a plurality of output ports of the line concentration equipment when the input ports of the line concentration equipment are connected with power supply equipment;
when detecting that the connection state of the plurality of output ports changes and at least two charging devices are connected to the plurality of output ports, determining whether the power supply device enters a quick charging mode;
when the power supply equipment is determined to enter a quick charging mode, receiving a charging communication frame sent by the power supply equipment, and sending the charging communication frame to the at least two charging equipment;
and based on the charging communication frame, when the at least two charging devices are determined to be allowed to execute the rapid charging mode, a first charging path is established between the power supply device and the at least two charging devices, so that the power supply device rapidly charges the at least two charging devices through the first charging path.
2. The charge control method according to claim 1, characterized in that the method further comprises:
when the power supply equipment does not enter a quick charging mode or at least one of the at least two charging equipment is not allowed to execute the quick charging mode, a second charging path is established between the power supply equipment and the at least two charging equipment, so that the power supply equipment performs ordinary charging on the at least two charging equipment through the second charging path;
wherein the charging speed of the normal charge is smaller than the charging speed of the quick charge.
3. The charge control method according to claim 1, wherein the determining whether the power supply apparatus enters a quick charge mode includes:
if the first pulse strings sent by the at least two charging devices are not all received within a first preset time, determining that the power supply device does not enter a quick charging mode;
and if the first pulse strings sent by the at least two charging devices are all received within the first preset time, sending a second pulse string to the power supply device, wherein the second pulse string is used for activating the power supply device to enter a quick charging mode.
4. The charge control method according to claim 3, characterized in that before determining whether the power supply apparatus enters a quick charge mode, the method further comprises:
disconnecting the access between the line concentration device and the power supply device, and reestablishing the access between the line concentration device and the power supply device after a second preset time;
and receiving a first pulse string sent by the at least two charging devices when the at least two charging devices recognize that the power supply device is a power supply of a preset type based on communication between the line concentration device and the at least two charging devices.
5. The charge control method according to claim 1, characterized in that before determining that the at least two charging devices each allow the quick charge mode to be performed, the method further comprises:
and when the charging communication frame indicates to carry out identity verification on the power supply equipment, based on communication between the line concentration equipment and the power supply equipment and communication between the line concentration equipment and the at least two charging equipment, when the identity verification of the power supply equipment is determined to be successful, receiving the next charging communication frame sent by the power supply equipment.
6. The charge control method according to claim 1, characterized in that before determining that the at least two charging devices each allow the quick charge mode to be performed, the method further comprises:
and when the charging communication frame indicates the identity information of the power supply equipment, the charging communication frame is sent to the at least two charging equipment, first information is fed back to the power supply equipment, and the next charging communication frame sent by the power supply equipment is received.
7. The charge control method according to claim 1, characterized in that before determining that the at least two charging devices each allow the quick charge mode to be performed, the method further comprises:
transmitting a maximum number of charging profiles to the power supply device and transmitting the charging communication frame to the at least two charging devices when the charging communication frame indicates that the charging profiles of the at least two charging devices are queried and is a first query;
and receiving the number of charging curves fed back by the at least two charging devices, storing the number of charging curves fed back by the at least two charging devices into a preset sequence, and receiving the next charging communication frame sent by the power supply device.
8. The charge control method according to claim 7, characterized in that the method further comprises:
when the charging communication frame indicates to inquire the charging curves of the at least two charging devices and is not the first inquiry, transmitting transitional charging curves to the power supply device, and determining whether the transmission of the charging curve of the first charging device in the at least two charging devices is completed or not based on the preset sequence;
when the transmission of the charging curve of the first charging equipment is completed, transmitting a transition communication frame to the first charging equipment;
transmitting the charging communication frame to the first charging device when the charging curve of the first charging device is not transmitted;
wherein the first charging device is any one of the at least two charging devices, and the transition communication frame is different from the charging communication frame.
9. The charge control method according to claim 1, characterized in that before determining that the at least two charging devices each allow the quick charge mode to be performed, the method further comprises:
when the charging communication frame indicates to inquire whether the at least two charging devices allow quick charging, the charging communication frame is sent to the at least two charging devices, and permission identification information sent by the at least two charging devices is received;
And when the permission identification information sent by the at least two charging devices is all the first value, determining that the at least two charging devices are permitted to execute the rapid charging mode.
10. The charge control method according to any one of claims 1 to 9, characterized in that, after determining that the at least two charging devices each permit execution of the quick charge mode, the method further comprises:
receiving a charging mode selection frame sent by the power supply equipment, and sending the charging mode selection frame to the at least two charging equipment;
and after receiving the direct charging modes fed back by the at least two charging devices, sending second information to the power supply device, wherein the second information is used for representing that the rapid charging mode is selected to be a rapid charging treasured mode.
11. The charge control method according to claim 10, characterized in that after transmitting second information to the power supply apparatus, the method further comprises:
if current query information sent by the power supply equipment for the first time is received, a preset current value is sent to the power supply equipment, and the current query information is sent to the at least two charging equipment;
And if the current query information which is not sent for the first time by the power supply equipment is received, sending the current calculation value of the last time to the power supply equipment, and sending the current query information to the at least two charging equipment.
12. The charge control method according to claim 11, characterized in that after transmitting the current query information to the at least two charging apparatuses, the method further comprises:
receiving charging current values fed back by the at least two charging devices;
adding the charging current values fed back by the at least two charging devices to determine a current calculation value; the current calculation value is used for feeding back to the power supply equipment when current query information sent by the power supply equipment next time is received.
13. The charge control method according to claim 1, characterized in that the method further comprises:
when the connection state of the plurality of output ports is detected to change and only one output port of the plurality of output ports is connected with charging equipment, determining that the charging equipment enters a direct charging mode;
and establishing a direct charging path between the power supply equipment and the charging equipment so that the power supply equipment charges the charging equipment through the direct charging path.
14. The charge control method according to claim 13, wherein the determining that the charging apparatus enters a direct charging mode includes:
determining an initial connection state of the plurality of output ports before the connection state changes;
if the initial connection state indicates that the plurality of output ports are not connected with the charging equipment, controlling the power supply equipment to be directly connected with the charging equipment so as to enable the charging equipment to enter a direct charging mode;
if the initial connection state indicates that the plurality of output ports are connected with at least two charging devices, disconnecting a passage between the line concentration device and the power supply device, reestablishing the passage between the line concentration device and the power supply device after a third preset time, and controlling the power supply device to be directly connected with the charging devices so that the charging devices enter a direct charging mode.
15. The utility model provides a charging control device, its characterized in that is applied to line concentration equipment, charging control device includes detecting element, determining element, receiving and dispatching unit and charging element, wherein:
the detection unit is configured to detect connection states of a plurality of output ports of the line concentration device when the input ports of the line concentration device are connected with the power supply device;
The determining unit is configured to determine whether the power supply device enters a quick charging mode when detecting that the connection state of the plurality of output ports changes and that the plurality of output ports are connected with at least two charging devices;
the receiving and transmitting unit is configured to receive a charging communication frame sent by the power supply equipment and send the charging communication frame to the at least two charging equipment when the power supply equipment is determined to enter a quick charging mode;
the charging unit is configured to establish a first charging path between the power supply device and the at least two charging devices when it is determined that the at least two charging devices are both permitted to execute the quick charging mode based on the charging communication frame, so that the power supply device is quickly charged for the at least two charging devices by the first charging path.
16. A hub device, comprising a memory and a processor, wherein:
the memory is used for storing a computer program capable of running on the processor;
the processor for performing the method of any of claims 1 to 14 when the computer program is run.
17. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by at least one processor, implements the method of any one of claims 1 to 14.
CN202311803172.8A 2023-12-25 2023-12-25 Charging control method, device, equipment and storage medium Pending CN117767487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311803172.8A CN117767487A (en) 2023-12-25 2023-12-25 Charging control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311803172.8A CN117767487A (en) 2023-12-25 2023-12-25 Charging control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117767487A true CN117767487A (en) 2024-03-26

Family

ID=90323477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311803172.8A Pending CN117767487A (en) 2023-12-25 2023-12-25 Charging control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117767487A (en)

Similar Documents

Publication Publication Date Title
US10673261B2 (en) Power adapter and mobile terminal
US8055810B2 (en) Mobile terminal and switching method for controlling data transmission via GPIO interface based on preset threshold
US11791651B2 (en) Quick charging method, mobile terminal, and power adapter
US7076269B2 (en) Radio communication system for notifying incommunicable state, and device and method used for the system
EP3152666B1 (en) Super hub system and method thereof
KR20200010427A (en) Active charging through peripheral devices
US10389153B2 (en) Charging control method and mobile terminal
US20190036351A1 (en) Charging Method, Terminal Device, and Power Supply Device
CN111817382B (en) Charger, data line and charging equipment
CN112350393B (en) Charging method, terminal and storage medium
CN117767487A (en) Charging control method, device, equipment and storage medium
EP4290731A1 (en) Charging control method, electronic device, and charging control system
KR20200042471A (en) Charging method, terminal and computer storage medium
US20120129465A1 (en) Communication terminal and communication control method
CN108009110B (en) Equipment identification method and device
CN115580322B (en) Method and apparatus for detecting failure, near field communication apparatus, and storage medium
CN117335510A (en) Communication detection method, device, equipment, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination