Data transmission method and data transmission device

By setting up a direct link and a voltage conversion link in the data transmission device, and using the fast charging protocol chip to determine the transmission path based on feedback information from external devices, the problem of low charging efficiency caused by PD protocol switching is solved, and stable and efficient multi-device charging is achieved.

WO2025223280A1PCT designated stage Publication Date: 2025-10-30ANKER INNOVATIONS TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/089310
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-04-23
Filing Date
2025-04-16
Publication Date
2025-10-30

AI Technical Summary

Technical Problem

In existing technologies, switching PD protocols causes the PD chip to lose power, reducing the charging efficiency of other external devices.

Method used

By setting up direct links and voltage conversion links in the data transmission device, and using a fast charging protocol chip to determine the transmission path based on feedback information from external devices, protocol switching is avoided, and power is directly supplied to external devices.

Benefits of technology

It improves the charging efficiency of external devices, avoids charging interruptions caused by protocol switching, and ensures the stability and efficiency of charging multiple devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025089310_30102025_PF_FP_ABST
    Figure CN2025089310_30102025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a data transmission method and a data transmission apparatus. The method is applied to a Power Delivery chip in a data transmission device. The data transmission device further comprises a first interface and at least two second interfaces. The Power Delivery chip is connected to the first interface and each second interface, and the first interface is connected to each second interface. The method comprises: transmitting a Power Delivery signal to the first interface and each second interface, so as to, when a second interface is accessed by an external device, determine a transmission path between the first interface and the second interface accessed by the external device, and instruct a power adapter connected to the first interface to supply power to the external device by means of the transmission path.
Need to check novelty before this filing date? Find Prior Art

Description

Data transmission methods and data transmission devices

[0001] Cross-references

[0002] This application incorporates Chinese Patent Application No. 2024104940522, filed on April 23, 2024, entitled “Data Transmission Method and Data Transmission Device,” which is incorporated herein by reference in its entirety. Technical Field

[0003] This application relates to the field of charging adapter technology, and in particular to a data transmission method and a data transmission device. Background Technology

[0004] A fast charging protocol chip is a control chip that uses the USB fast charging protocol (Power Delivery, PD) to provide higher output power to terminal devices and achieve faster charging speeds.

[0005] In related technologies, the PD chip in data transmission devices (such as data transmission cables) needs to configure the PD protocol for different interfaces through protocol switching to enable the power adapter to fast charge external devices connected to the interface through the data transmission device. In practical applications, when the number of connected external devices changes, such as adding or removing them, the PD chip needs to be powered off to switch the PD protocol.

[0006] However, in related technologies, switching the PD protocol will cause the PD chip to lose power, resulting in the disconnection of charging for other connected external devices and reducing the charging efficiency for other external devices. Summary of the Invention

[0007] Based on this, this application provides a data transmission method and a data transmission device.

[0008] In a first aspect, this application provides a data transmission method applied to a fast charging protocol chip in a data transmission device. The data transmission device further includes a first interface and at least two second interfaces. The fast charging protocol chip is connected to the first interface and each of the second interfaces, and the first interface and each of the second interfaces are connected. The method includes:

[0009] Transmit fast charging protocol signals to the first interface and each of the second interfaces;

[0010] When an external device is connected to the second interface, a transmission path is determined between the first interface and the second interface connected to the external device, and the power adapter connected to the first interface is instructed to supply power to the external device through the transmission path.

[0011] In one embodiment, the accessed external device includes a first device; determining a transmission path between a first interface and a second interface of the accessed external device, and instructing a power adapter connected to the first interface to supply power to the external device through the transmission path, includes:

[0012] Establish a direct link between the first interface and the second interface connected to the first device, serving as the transmission path for the first device;

[0013] Obtain the power supply parameters required by the first device;

[0014] The power adapter is instructed to supply power to the first device through the transmission path of the first device according to the power supply parameters.

[0015] In one embodiment, the accessed external device further includes a second device accessed after the first device; determining a transmission path between the first interface and the second interface of the accessed external device, and instructing the power adapter connected to the first interface to supply power to the external device through the transmission path, further includes:

[0016] Obtain the power supply parameters required by the second device;

[0017] Based on the power supply parameters required by the first device and the power supply parameters required by the second device, determine the transmission path of the first device and the transmission path of the second device.

[0018] The power adapter is instructed to supply power to the first device through the transmission path of the first device, and to supply power to the second device through the transmission path of the second device.

[0019] In one embodiment, determining the transmission path of the first device and the transmission path of the second device based on the power supply parameters required by the first device and the power supply parameters required by the second device includes:

[0020] If the power supply parameters required by the first device are greater than or equal to the power supply parameters required by the second device, the direct link between the first interface and the second interface connected to the first device is maintained as the transmission path of the first device.

[0021] A voltage conversion link is established between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

[0022] In one embodiment, instructing the power adapter to supply power to the first device via the transmission path of the first device, and to supply power to the second device via the transmission path of the second device, includes:

[0023] When the power supply parameters required by the first device are greater than those required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the high output parameters, and to supply power to the second device through the transmission path of the second device according to the low output parameters.

[0024] When the power supply parameters required by the first device are equal to those required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the equally distributed output parameters, and to supply power to the second device through the transmission path of the second device according to the equally distributed output parameters.

[0025] In one embodiment, determining the transmission path of the first device and the transmission path of the second device based on the power supply parameters required by the first device and the power supply parameters required by the second device includes:

[0026] If the power supply parameters required by the first device are less than those required by the second device, the direct link between the first interface and the second interface connected to the first device is disconnected, and the voltage conversion link between the first interface and the second interface connected to the first device is connected as the transmission path of the first device.

[0027] Establish a direct link between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

[0028] In one embodiment, instructing the power adapter to supply power to the first device and the second device respectively through the transmission paths of the first device and the second device includes:

[0029] The power adapter is instructed to supply power to the first device according to the low output parameters through the transmission path of the first device, and to supply power to the second device according to the high output parameters through the transmission path of the second device.

[0030] In one embodiment, the method further includes:

[0031] After removing a target external device, determine the interrupted transmission path corresponding to the target external device;

[0032] Adjust the transmission paths of the remaining external devices according to the corresponding interrupted transmission path;

[0033] Obtain the target power supply parameters required by the remaining external devices to instruct the power adapter to supply power to the remaining external devices according to the target power supply parameters through the transmission path of the remaining external devices.

[0034] In one embodiment, adjusting the transmission path of the remaining external device according to the corresponding interrupted transmission path includes:

[0035] If the transmission path corresponding to the interruption is the voltage conversion link of the target external device, keep the direct link of the remaining external devices open as the transmission path of the remaining external devices;

[0036] If the transmission path corresponding to the interruption is a direct link to the target external device, disconnect the voltage conversion link of the remaining external devices and connect the direct link of the remaining external devices as the transmission path for the remaining external devices.

[0037] Secondly, this application also provides a data transmission device, comprising:

[0038] A fast charging protocol chip, and a first interface and at least two second interfaces connected to the fast charging protocol chip; the first interface and each of the second interfaces are connected.

[0039] The first interface is used to connect to a power adapter; the second interface is used to connect to an external device; the fast charging protocol chip is used to transmit fast charging protocol signals to the first interface and each of the second interfaces, and when an external device is connected to the second interface, it determines the transmission path between the first interface and the second interface connected to the external device, and instructs the power adapter connected to the first interface to supply power to the external device through the transmission path.

[0040] In one embodiment, the data transmission device further includes a voltage conversion circuit; a direct link and a voltage conversion link including the voltage conversion circuit are provided between the first interface and each of the second interfaces.

[0041] In one embodiment, the pass-through link includes a pass-through switch; the voltage conversion link includes a buck circuit and a buck switch connected to the buck circuit; and the fast charging protocol chip is connected to the pass-through switch, the buck circuit, and the buck switch respectively.

[0042] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application and should not be construed as limiting the present invention in any way. For those skilled in the art, other embodiments and corresponding drawings can be obtained based on these drawings.

[0044] Figure 1 is a structural block diagram of a data transmission device in one embodiment;

[0045] Figure 2 is a structural block diagram of a data transmission device in another embodiment;

[0046] Figure 3 is a schematic diagram of signal interaction inside the data transmission device in another embodiment;

[0047] Figure 4 is a structural block diagram of a data transmission device in another embodiment;

[0048] Figure 5 is a flowchart illustrating a data transmission method in one embodiment;

[0049] Figure 6 is a schematic diagram of the process of supplying power to the first device in one embodiment;

[0050] Figure 7 is a schematic diagram of the process of supplying power to the first device and the second device in one embodiment;

[0051] Figure 8 is a flowchart illustrating the process of determining the transmission path between the first device and the second device in one embodiment;

[0052] Figure 9 is a schematic diagram of the process of supplying power to the first device and the second device in another embodiment;

[0053] Figure 10 is a flowchart illustrating the process of determining the transmission path between the first device and the second device in another embodiment;

[0054] Figure 11 is a flowchart illustrating the data transmission method in another embodiment;

[0055] Figure 12 is a flowchart illustrating the process of adjusting the transmission path of the remaining external devices in one embodiment;

[0056] Figure 13 is a flowchart illustrating the data transmission method in another embodiment;

[0057] Figure 14 is a structural block diagram of a data transmission device in one embodiment;

[0058] Figure 15 is an internal structure diagram of a computer device in one embodiment.

[0059] Explanation of reference numerals in the attached diagram: 101—Fast charging protocol chip; 102—First interface; 103—Second interface; 104—Voltage conversion circuit; 105—Straight-through switch; 106—Step-down switch. Detailed Implementation

[0060] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of the technical solutions of this application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of this application, and are therefore merely examples, and should not be used to limit the scope of protection of this application.

[0061] Unless otherwise defined, 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 pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0062] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined. The reference to "embodiment" herein means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0063] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two).

[0064] This application provides a data transmission method applied to a data transmission device. Before describing the process of the data transmission method in detail, the data transmission device will be described first.

[0065] As shown in Figure 1, in one embodiment, this application provides a data transmission device, including: a fast charging protocol chip 101, and a first interface 102 and at least two second interfaces 103 connected to the fast charging protocol chip 101; the first interface 102 and each of the second interfaces 103 are connected.

[0066] The first interface 102 is used to connect to a power adapter; the second interface 103 is used to connect to an external device. The fast charging protocol chip 101 is used to transmit fast charging protocol signals to the first interface 102 and each of the second interfaces 103, and when an external device is connected to the second interface 103, it determines the transmission path between the first interface 102 and the second interface 103 connected to the external device, and instructs the power adapter connected to the first interface 102 to supply power to the external device through the transmission path.

[0067] The fast charging protocol chip 101 is an integrated circuit chip used to manage and control the current and voltage during the charging process to achieve fast charging functionality. For example, the fast charging protocol chip 101 may be a chip that supports at least one of the following fast charging protocols: Super Charge Protocol (SCP), Voltage Open Loop Multi-step constant-current Charging (VOOC), or Quick Charge (QC).

[0068] The data transmission device can take various forms, including box-shaped and wire-shaped. The first interface 102 and the second interface 103 are the functional interfaces used to implement data transmission within the data transmission device. The transmitted data includes, but is not limited to, various types of communication data and power levels. A fast charging protocol signal is used to enable fast charging of external devices.

[0069] Optionally, both the first interface 102 and each of the second interfaces 103 are USB Type-C interfaces. When the fast charging protocol chip 101 transmits fast charging protocol signals for the first interface 102 and each of the second interfaces 103, the power adapter can quickly charge external devices through the first interface 102 and the second interfaces 103.

[0070] Optionally, when any of the second interfaces 103 on the data transmission device is connected to an external device, the fast charging protocol chip 101 can receive feedback information sent by the second interface 103 connected to the external device, determine the transmission path between the first interface 102 and the second interface 103 connected to the external device based on the feedback information, and instruct the power adapter connected to the first interface 102 to supply power to the external device through the transmission path.

[0071] For example, the feedback information sent by the second interface 103 includes the power supply parameters (such as charging voltage) required by the connected external device and the interface identifier of the second interface 103 connected to the external device. When there is only one communication link between the first interface 102 and each of the second interfaces 103, the fast charging protocol chip 101 selects the communication link between the first interface 102 and the corresponding second interface 103 based on the interface identifier in the feedback information, using it as the transmission path for the connected external device. It then determines the required power supply based on the power supply parameters required by the external device, and supplies power to the external device through this transmission path according to the required power supply.

[0072] In this embodiment, the provided data transmission device includes a fast charging protocol chip, a first interface connected to the fast charging protocol chip, and at least two second interfaces; the first interface and each of the second interfaces are connected. The first interface is used to connect to a power adapter; the second interfaces are used to connect to external devices. The fast charging protocol chip transmits fast charging protocol signals to the first interface and each of the second interfaces. When an external device is connected to a second interface, it determines the transmission path between the first interface and the second interface connected to the external device, and instructs the power adapter connected to the first interface to supply power to the external device through the transmission path. In the above device, the fast charging protocol chip transmits fast charging protocol signals to both the first interface and each of the second interfaces. Even if the number of connected external devices changes, there is no need to switch protocols, avoiding charging interruptions caused by protocol switching. Therefore, it reduces the impact on other external devices and improves the charging efficiency for other external devices.

[0073] More than one communication link is provided between the first interface 102 and each of the second interfaces 103. In one embodiment, as shown in FIG2, the data transmission device further includes a voltage conversion circuit 104. A direct link and a voltage conversion link including the voltage conversion circuit 104 are provided between the first interface 102 and each of the second interfaces 103.

[0074] The voltage conversion circuit 104 is used to adjust and convert the voltage output from the first interface 102. In this embodiment, the voltage conversion circuit 104 is a buck circuit, used to step down the voltage output by the power adapter through the first interface 102.

[0075] It should be noted that for each second interface 103, there are two communication links between it and the first interface 102: a direct link directly connected to the first interface 102, and a voltage conversion link connected to the first interface 102 via a voltage conversion circuit 104. When the data transmission device includes an even number of second interfaces 103, two second interfaces 103 can share one voltage conversion circuit 104 to simplify the circuit structure and reduce costs.

[0076] For example, as shown in FIG3, the data transmission device includes a first interface Type-C1 and two second interfaces Type-C2 and Type-C3. Type-C1 and Type-C2 include a direct link and a voltage conversion link, and Type-C1 and Type-C3 include a direct link and a voltage conversion link, and Type-C2 and Type-C3 share a voltage conversion circuit 104.

[0077] Optionally, if there is a direct link and a voltage conversion link between the first interface 102 and each of the second interfaces 103, the fast charging protocol chip 101 determines the transmission path between the first interface 102 and the second interface 103 of the external device based on the feedback information sent by the second interface 103 connected to the external device, so as to instruct the power adapter connected to the first interface 102 to supply power to the external device through the transmission path.

[0078] In this embodiment, the provided data transmission device further includes a voltage conversion circuit. A direct link and a voltage conversion link including the voltage conversion circuit are provided between the first interface and each of the second interfaces. In the above device, a direct link and a voltage conversion link are provided between the first interface and the second interface to adapt to the actual situation of the connected external devices, select a transmission path that meets the actual needs of the external devices, and thus improve the charging efficiency of the external devices.

[0079] To enable the fast charging protocol chip 101 to select and control different communication links, each communication link is equipped with a switch connected to the fast charging protocol chip 101. The switch is opened or closed under the control of the fast charging protocol chip 101 to select different communication links.

[0080] As shown in Figure 4, the direct link between the first interface 102 and the second interface 103 includes a direct switch 105, and the voltage conversion link between the first interface 102 and the second interface 103 includes a voltage conversion circuit 104 and a step-down switch 106 connected to the voltage conversion circuit 104. The fast charging protocol chip 101 is connected to the direct switch 105, the voltage conversion circuit 104, and the step-down switch 106. The voltage conversion circuit 104 is a step-down circuit.

[0081] For example, continuing the example in Figure 3 above, a pass-through switch Q1 is provided on the direct link between Type-C1 and Type-C2, and a step-down circuit U1 and a step-down switch Q2 are provided on the voltage conversion link; a pass-through switch Q3 is provided on the direct link between Type-C1 and Type-C3, and a step-down circuit U1 and a step-down switch Q4 are provided on the voltage conversion link. Specifically, when the direct link between Type-C1 and Type-C2 is determined to be the transmission path for the external device connected to Type-C2, the fast charging protocol chip U2 controls Q1 to close and Q2 to open, thus selecting the direct link to power the external device. When the voltage conversion link between Type-C1 and Type-C2 is determined to be the transmission path for the external device connected to Type-C2, U2 controls Q2 to close and Q1 to open, thus selecting the voltage conversion link to power the external device. Similarly, U2 can also control Q3 and Q4 to select either the direct link or the voltage conversion link between Type-C1 and Type-C3.

[0082] In this embodiment, the data transmission device includes a pass-through switch for the pass-through link and a step-down switch connected to the step-down circuit for the voltage conversion link. The fast charging protocol chip is connected to the pass-through switch, the step-down circuit, and the step-down switch, respectively. In this device, switches connected to the fast charging protocol chip are provided for the path link between the first and second interfaces and the voltage conversion link. This enables the fast charging protocol chip to flexibly control the link selection, allowing it to select the appropriate transmission path based on the actual needs of the connected external device, thereby improving the charging efficiency of the external device.

[0083] Those skilled in the art will understand that the structures shown in Figures 1-4 are merely block diagrams of some structures related to the embodiments of this application, and do not constitute a limitation on the computer device to which the embodiments of this application are applied. Specific computer devices may include more or fewer components than those shown in the figures, or combine certain components, or have different component arrangements.

[0084] Next, the data transmission method provided in the embodiments of this application will be described in detail. In one embodiment, as shown in FIG5, taking the fast charging protocol chip applied in the data transmission device of FIG1 as an example, the method includes the following steps:

[0085] S510 transmits fast charging protocol signals to the first interface and each of the second interfaces.

[0086] As shown in Figure 1, the data transmission device includes a fast charging protocol chip, a first interface, and at least two second interfaces. The fast charging protocol chip is connected to the first interface and each of the second interfaces, and the first interface and each of the second interfaces are also connected. The fast charging protocol signal is used to enable fast charging of external devices.

[0087] Optionally, as shown in Figure 1, the fast charging protocol chip is connected to the first interface and each of the second interfaces to transmit fast charging protocol signals to the first interface and each of the second interfaces.

[0088] S520: When an external device is connected to the second interface, a transmission path is determined between the first interface and the second interface connected to the external device, and the power adapter connected to the first interface is instructed to supply power to the external device through the transmission path.

[0089] Optionally, when any second interface of the data transmission device is connected to an external device, the fast charging protocol chip can receive feedback information sent by the second interface connected to the external device, determine the transmission path between the first interface and the second interface connected to the external device based on the feedback information, and instruct the power adapter connected to the first interface to supply power to the external device through the transmission path.

[0090] For example, the feedback information sent by the second interface includes the power supply parameters (such as the required voltage) needed by the connected external device and the interface identifier of the second interface connected to the external device. When there is only one communication link between the first interface and each of the second interfaces, the fast charging protocol chip selects the communication link between the first interface and the corresponding second interface based on the interface identifier in the feedback information, using it as the transmission path for the connected external device. It then determines the required power supply based on the power supply parameters needed by the external device, and supplies power to the external device according to the required power supply through this transmission path.

[0091] In this embodiment, the provided data transmission method is applied to a fast charging protocol chip in a data transmission device. By transmitting fast charging protocol signals to a first interface and each of the second interfaces, a transmission path is determined between the first interface and the second interface connected to the external device when an external device is connected to the second interface. The power adapter connected to the first interface is then instructed to supply power to the external device through the transmission path. In this method, the fast charging protocol chip transmits fast charging protocol signals to both the first interface and each of the second interfaces. Even if the number of connected external devices changes, there is no need to switch protocols, avoiding charging interruptions caused by protocol switching. Therefore, this reduces the impact on other external devices and improves the charging efficiency for them.

[0092] A direct link and a voltage conversion link are provided between the first interface and the second interface. The selected link differs depending on the number of external devices connected. In one embodiment, as shown in FIG6, the process in S520 above, which determines the transmission path between the first interface and the second interface connected to the external device, and instructs the power adapter connected to the first interface to supply power to the external device through the transmission path, includes:

[0093] S610 establishes a direct link between the first interface and the second interface connected to the first device, serving as the transmission path for the first device.

[0094] Optionally, when an external device is connected to the second interface, the second interface can feed back its own interface identifier to the fast charging protocol chip. The fast charging protocol chip then uses the second interface corresponding to this interface identifier as the second interface for connecting to the first device. Specifically, if the fast charging protocol chip receives only one interface identifier, it indicates that the data transmission device has connected to an external device through the second interface, and the connected external device includes the first device (also known as the "single charging case"). In this case, the fast charging protocol chip establishes a direct link between the first interface and the second interface connected to the first device, serving as the transmission path for the first device.

[0095] S620: Obtain the power supply parameters required by the first device.

[0096] The power supply parameters required by the first device are used to characterize the charging requirements of the first device. For example, the power supply parameters may be the charging voltage.

[0097] Optionally, after the fast charging protocol chip obtains the second interface connected to the first device, it can read the charging voltage required by the first device through the second interface as the power supply parameter required by the first device.

[0098] S630, indicating that the power adapter supplies power to the first device through the transmission path of the first device according to the power supply parameters.

[0099] Optionally, after the transmission path of the first device is established and the power supply parameters required by the first device are obtained, the fast charging protocol chip can instruct the power adapter connected to the first interface to supply power to the first device through the transmission path of the first device according to the power supply parameters. Wherein, if the power supply parameter is the charging voltage, the fast charging protocol chip can determine the output power based on the charging voltage and use that output power to supply power to the first device.

[0100] For example, continuing the example in Figure 3 above, C1 is connected to a power adapter, which outputs a Power Delivery Object (PDO). U2 requests 5V from the power adapter's PDO via C1, and the power adapter outputs 5V accordingly. Taking C2 connected to a first device as an example, U2 closes Q1 to provide 5V to C2 and sends the power adapter's PDO to the first device connected to C2. The first device requests 15V from the PDO via C2 according to the required charging voltage, and the power adapter outputs the power corresponding to the 15V voltage, transmitting it to C2 through the direct link between C1 and C2 to power the first device connected to C2. In this case, the voltage of C1 will change with the voltage of C2, and the same applies to C3 connected to a single device. At this time, if the first device connected to C2 is removed, restoring the situation where no second device is connected to the data transmission device (neither C2 nor C3 is connected to any external device), the voltage requested by U2 will return to its initial state.

[0101] In this embodiment, when the connected external device includes a first device, a direct link between the first interface and the second interface connected to the first device is used as the transmission path for the first device. The power supply parameters required by the first device are then obtained, thereby instructing the power adapter to supply power to the first device through the transmission path according to the power supply parameters. In the above method, when the data transmission device connects to a single external device through the second interface, using the direct link between the first and second interfaces as the transmission path to provide on-demand power to the external device reduces power loss on the transmission path and improves charging efficiency in single-charge scenarios.

[0102] In one embodiment, as shown in FIG7, when the accessed external device includes not only the first device but also a second device accessed after the first device, the process of determining the transmission path between the first interface and the second interface accessing the external device in S520 and instructing the power adapter connected to the first interface to supply power to the external device through the transmission path further includes:

[0103] S710: Obtain the power supply parameters required by the second device.

[0104] The power supply parameters required by the second device are used to characterize the charging requirements of the second device. For example, the power supply parameter may be the charging voltage.

[0105] It should be noted that when the fast charging protocol chip receives one interface identifier and then receives another interface identifier, it indicates that the data transmission device has connected to two external devices through the second interface. The external devices connected include the first device that was connected first, as well as the second device that was connected after the first device (also known as the "multiple charging situation").

[0106] Optionally, after the fast charging protocol chip obtains the second interface for accessing the second device, it can read the charging voltage required by the second device through the second interface as the power supply parameter required by the second device.

[0107] S720. Based on the power supply parameters required by the first device and the power supply parameters required by the second device, determine the transmission path of the first device and the transmission path of the second device.

[0108] Optionally, after obtaining the power supply parameters required by the second device, the fast charging protocol chip can compare the power supply parameters required by the first device and the power supply parameters required by the second device to determine the transmission path of the first device and the transmission path of the second device respectively based on the comparison result.

[0109] S730, indicating that the power adapter supplies power to the first device through the transmission path of the first device, and supplies power to the second device through the transmission path of the second device.

[0110] Optionally, the fast charging protocol chip connects the transmission paths of the first device and the second device, and instructs the power adapter connected to the first interface to determine the output power for the first device and the second device according to a preset power allocation strategy, and supplies power to the first device according to the output power of the first device through the transmission path of the first device, and supplies power to the second device according to the output power of the second device through the transmission path of the second device.

[0111] In this embodiment, when the connected external devices include a second device connected after the first device, the power supply parameters required by the second device are obtained. Based on the power supply parameters required by the first and second devices, the transmission paths of the first and second devices are determined. This instructs the power adapter to supply power to the first device through the transmission path of the first device and to supply power to the second device through the transmission path of the second device. In this method, when the data transmission device connects to two external devices through a second interface, the transmission paths of the first and second devices are determined based on their respective power supply parameters. This achieves multi-device charging while selecting the appropriate transmission path based on the power supply parameters required by each external device, thereby improving the charging efficiency for each external device.

[0112] The power supply parameters required by the first device may be greater than, equal to, or less than the power supply parameters required by the second device. Based on this, in one embodiment, as shown in FIG8, the above-mentioned S720, determining the transmission path of the first device and the transmission path of the second device based on the power supply parameters required by the first and second devices, includes:

[0113] S810: If the power supply parameters required by the first device are greater than or equal to the power supply parameters required by the second device, the direct link between the first interface and the second interface connected to the first device is maintained as the transmission path of the first device.

[0114] Optionally, the fast charging protocol chip compares the power supply parameters required by the first device with those required by the second device. If the power supply parameters required by the first device are greater than or equal to those required by the second device, there is no need to change the transmission path of the first device. The direct link between the first interface and the second interface connected to the first device remains open and continues to serve as the transmission path of the first device.

[0115] S820 connects the voltage conversion link between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

[0116] Optionally, if the power supply parameters required by the first device are greater than or equal to the power supply parameters required by the second device, the fast charging protocol chip will connect the voltage conversion link between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

[0117] The power supply parameters required by the first device and the second device not only affect the transmission path between the first interface and the second interface, but also affect the output power of the power adapter to the first and second devices. Therefore, in an optional embodiment, when the power supply parameters required by the first device are greater than or equal to the power supply parameters required by the second device, as shown in FIG9, the above-mentioned S730, instructing the power adapter to supply power to the first device through the transmission path of the first device and to supply power to the second device through the transmission path of the second device, includes:

[0118] S910, if the power supply parameters required by the first device are greater than the power supply parameters required by the second device, instruct the power adapter to supply power to the first device according to the high output parameters through the transmission path of the first device, and to supply power to the second device according to the low output parameters through the transmission path of the second device.

[0119] In this context, when the power supply parameter is the charging voltage, the power supply parameter required by the first device is greater than that required by the second device, indicating that the output power required by the first device is greater than that required by the second device.

[0120] Optionally, if the power supply parameters required by the first device are greater than those required by the second device, the fast charging protocol chip instructs the power adapter through the first interface to divide the total output parameters unequally into high output parameters and low output parameters that are less than the high output parameters. Then, it supplies power to the first device through the transmission path of the first device according to the high output parameters, and supplies power to the second device through the transmission path of the second device according to the low output parameters.

[0121] For example, continuing the example in Figure 3 above, after C1 is connected to the power adapter and C2 is connected to the first device, the power adapter supplies power to the first device through the direct link between C1 and C2. After C2 is connected to the first device, C3 is connected to the second device. U2 recognizes the second device, and C1 exits the mode of following C2's voltage. U2 requests 5V PDO from the power adapter through C1 and closes Q4 to provide 5V to C3 through U1, so that the remaining output power of the power adapter (total output power minus the output power provided to C2) is output to C3 to power the second device. If the second device requests 10V PDO through C3 according to the required charging voltage (the charging voltage required by the first device is 15V, which is greater than the charging voltage required by the second device is 10V), U2 instructs through C1 to divide the total output power of the power adapter unequally, such as allocating it as 63W+27W, and uses the high output power of 63W to power the first device through the direct link between C1 and C2, and uses the low output power of 27W to power the second device through the voltage conversion link between C1 and C3.

[0122] S920, when the power supply parameters required by the first device are equal to the power supply parameters required by the second device, instructs the power adapter to supply power to the first device through the transmission path of the first device according to the equal output parameters, and to supply power to the second device through the transmission path of the second device according to the equal output parameters.

[0123] Wherein, when the power supply parameter is the charging voltage, the power supply parameter required by the first device is equal to the power supply parameter required by the second device, indicating that the output power required by the first device is equal to the output power required by the second device.

[0124] Optionally, if the power supply parameters required by the first device are equal to the power supply parameters required by the second device, the fast charging protocol chip instructs the power adapter to divide the total output parameters equally to obtain the average output parameters through the first interface, and supplies power to the first device according to the average output parameters through the transmission path of the first device, and supplies power to the second device according to the average output parameters through the transmission path of the second device.

[0125] For example, continuing the above example, if the second device requests PDO 15V through C3 according to the required charging voltage (the charging voltage 15V required by the first device is equal to the charging voltage 15V required by the second device), U2 instructs through C1 to evenly distribute the total output power of the power adapter, such as distributing it as 45+45, and uses the evenly distributed output power of 45W to power the first device through the direct link between C1 and C2, and uses the evenly distributed output power of 45W to power the second device through the voltage conversion link between C1 and C3.

[0126] In this embodiment, when the power supply parameters required by the first device are greater than or equal to the power supply parameters required by the second device, the direct link between the first interface and the second interface connected to the first device is maintained as the transmission path for the first device, and the voltage conversion link between the first interface and the second interface connected to the second device is also established as the transmission path for the second device. Specifically, when the power supply parameters required by the first device are greater than those required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the high output parameters, and to supply power to the second device through the transmission path of the second device according to the low output parameters; when the power supply parameters required by the first device are equal to those required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the evenly distributed output parameters, and to supply power to the second device through the transmission path of the second device according to the evenly distributed output parameters. In the above method, the transmission path is adaptively adjusted based on the power supply demand relationship between the first device and the second device to meet the power supply needs of each external device and improve the overall charging efficiency of multi-device charging.

[0127] In one embodiment, as shown in FIG10, for the case where the power supply parameters required by the first device are less than those required by the second device, S720, which determines the transmission path of the first device and the transmission path of the second device based on the power supply parameters required by the first device and the second device, includes:

[0128] S1010: If the power supply parameters required by the first device are less than those required by the second device, disconnect the direct link between the first interface and the second interface connected to the first device, and connect the voltage conversion link between the first interface and the second interface connected to the first device as the transmission path for the first device.

[0129] In this context, when the power supply parameter is the charging voltage, the power supply parameter required by the first device is less than that required by the second device, indicating that the output power required by the first device is less than that required by the second device.

[0130] Optionally, the fast charging protocol chip compares the power supply parameters required by the first device with those required by the second device. If the power supply parameters required by the first device are less than those required by the second device, and the transmission path of the first device needs to be changed, the direct link between the first interface and the second interface connected to the first device is disconnected, and the voltage conversion link between the first interface and the second interface connected to the first device is connected as the transmission path of the first device.

[0131] S1020: Establish a direct link between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

[0132] Optionally, if the power supply parameters required by the first device are less than those required by the second device, the fast charging protocol chip will establish a direct link between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

[0133] In an optional embodiment, when the power supply parameters required by the first device are less than those required by the second device, the above-described S730, which instructs the power adapter to supply power to the first device through the transmission path of the first device and to supply power to the second device through the transmission path of the second device, includes:

[0134] The power adapter is instructed to supply power to the first device according to the low output parameters through the transmission path of the first device, and to supply power to the second device according to the high output parameters through the transmission path of the second device.

[0135] In this context, when the power supply parameter is the charging voltage, the power supply parameter required by the first device is less than that required by the second device, indicating that the output power required by the first device is less than that required by the second device.

[0136] Optionally, if the power supply parameters required by the first device are less than those required by the second device, the fast charging protocol chip instructs the power adapter through the first interface to divide the total output parameters unequally into high output parameters and low output parameters that are less than the high output parameters. Then, it supplies power to the first device through the transmission path of the first device based on the low output parameters, and supplies power to the second device through the transmission path of the second device based on the high output parameters.

[0137] For example, continuing the above example, if the second device requests PDO 20V through C3 according to the required charging voltage (the charging voltage required by the first device is 15V, which is less than the charging voltage required by the second device is 20V), U2 instructs through C1 to unequally distribute the total output power of the power adapter, such as 63+27. U2 closes Q2 and Q3 and opens Q1 and Q4. The first device is powered with a low output power of 37W through the voltage conversion link between C1 and C2, and the second device is powered with a high output power of 63W through the direct link between C1 and C3.

[0138] In this embodiment, when the power supply parameters required by the first device are less than those required by the second device, the direct link between the first interface and the second interface connected to the first device is disconnected, and the voltage conversion link between the first interface and the second interface connected to the first device is established as the transmission path for the first device. Similarly, the direct link between the first interface and the second interface connected to the second device is established as the transmission path for the second device. Specifically, the power adapter is instructed to supply power to the first device through the transmission path of the first device based on low output parameters, and to supply power to the second device through the transmission path of the second device based on high output parameters. In this method, the transmission path is adaptively adjusted based on the power supply demand relationship between the first and second devices to meet the power supply needs of each external device, thereby improving the overall charging efficiency of multi-device charging.

[0139] The foregoing embodiments all describe the case where the data transmission device connects to an external device. The following describes the case where the data transmission device removes the external device. In one embodiment, as shown in Figure 11, the method further includes:

[0140] S1110. After removing a target external device, determine the interrupted transmission path corresponding to the target external device.

[0141] It should be noted that when the data transmission device connects to two external devices via a second interface, namely the first device and the second device, the removed target external device may be either the first device or the second device. Removing a target external device means removing the target external device from the second interface of the data transmission device. The transmission path of the target external device is interrupted accordingly. This transmission path may be a direct link between the first interface and the second interface, or it may be a voltage conversion link between the first interface and the second interface.

[0142] Optionally, after the user removes either the first device or the second device connected to the data transmission device, the fast charging protocol chip, upon detecting the removal of the external device, will take the removed external device as the target external device and detect the interruption status of the transmission path corresponding to the target external device to determine whether the interrupted transmission path corresponding to the target external device is a straight-through link or a voltage conversion link.

[0143] S1120. Adjust the transmission path of the remaining external devices according to the transmission path of the corresponding interruption.

[0144] In this context, the remaining external devices are those that remain connected to the second interface after the target external device is removed. For example, if two external devices, namely the first device and the second device, are connected to the data transmission device through the second interface, and the removed target external device is the first device, then the remaining external device is the second device; conversely, if the removed target external device is the second device, then the remaining external device is the first device.

[0145] Optionally, after the fast charging protocol chip obtains the interrupted transmission path corresponding to the removal of the target external device, it can adjust the transmission path of the remaining external devices according to the interrupted transmission path. Adjusting the transmission path of the remaining external devices can either maintain the transmission path of the remaining external devices or switch the transmission path of the remaining external devices.

[0146] S1130. Obtain the target power supply parameters required by the remaining external devices, so as to instruct the power adapter to supply power to the remaining external devices according to the target power supply parameters through the transmission path of the remaining external devices.

[0147] Optionally, after adjusting the transmission path of the remaining external devices, the fast charging protocol chip obtains the target power supply parameters required by the remaining external devices and determines the target output parameters based on the target power supply parameters, so as to instruct the power adapter to supply power to the remaining external devices through the transmission path of the remaining external devices using the target output parameters via the first interface.

[0148] After removing a target external device, the voltage conversion link of the target external device may be interrupted, or the pass-through link of the target external device may be interrupted. Therefore, in an optional embodiment, as shown in FIG12, the above-mentioned S1120, adjusting the transmission path of the remaining external devices according to the corresponding interrupted transmission path, includes:

[0149] S1210. If the transmission path corresponding to the interruption is the voltage conversion link of the target external device, keep the direct link of the remaining external devices open as the transmission path of the remaining external devices.

[0150] It should be noted that when powering both the first and second devices simultaneously, the fast charging protocol chip supplies power to one via a pass-through link and to the other via a voltage conversion link. The pass-through link reduces transmission loss and improves charging efficiency for external devices. Therefore, if either the first or second device is removed, leaving only one external device, to improve charging efficiency, the pass-through link must be controlled to supply power to the remaining external device.

[0151] In the case of simultaneously powering the first and second devices, after removing the target external device, the corresponding interrupted transmission path is the voltage conversion link of the target external device, indicating that the remaining external devices are powered through a direct link without switching.

[0152] Optionally, if the transmission path corresponding to the interruption is the voltage conversion link of the target external device, the fast charging protocol chip keeps the direct link of the remaining external devices open as the transmission path for the remaining external devices.

[0153] S1220. If the transmission path corresponding to the interruption is a direct link of the target external device, disconnect the voltage conversion link of the remaining external devices and connect the direct link of the remaining external devices as the transmission path of the remaining external devices.

[0154] In the case of simultaneously powering the first and second devices, after removing the target external device, the corresponding interrupted transmission path is the direct link of the target external device, indicating that the remaining external devices are powered through the voltage conversion link and need to be switched to the direct link power supply.

[0155] Optionally, if the transmission path corresponding to the interruption is a direct link to the target external device, the fast charging protocol chip disconnects the voltage conversion link of the remaining external devices and connects the direct link of the remaining external devices as the transmission path for the remaining external devices.

[0156] For example, continuing the above example, when the power adapter simultaneously powers both the first and second devices, let's take the case where the first device is powered via a direct link between C1 and C2, and the second device is powered via a voltage conversion link between C1 and C3. Specifically, if the first device is removed (i.e., the direct link to the target external device is interrupted), and only the second device is charging, U2 instructs the power adapter to reduce its output voltage to the required charging voltage of 15V for the second device via C1, and closes Q3 while opening Q1 and Q4, so that the second device is powered via the direct link between C1 and C3 using the output power corresponding to the charging voltage of 15V. If the second device is removed (i.e., the voltage conversion link to the target external device is interrupted), and only the first device is charging, the first device is still powered via the direct link between C1 and C2 using the output power corresponding to the charging voltage of 20V, and the power adapter's PDO is resent to C2 to activate the mode where the C1 voltage follows the C2 voltage change.

[0157] In this embodiment, after removing a target external device, the interrupted transmission path corresponding to the target external device is determined. The transmission paths of the remaining external devices are adjusted according to the interrupted transmission path, and the target power supply parameters required by the remaining external devices are obtained. This instructs the power adapter to supply power to the remaining external devices through their transmission paths according to the target power supply parameters. Specifically, when the interrupted transmission path is the voltage conversion link of the target external device, the direct link of the remaining external device is kept active, serving as the transmission path for the remaining external device. When the interrupted transmission path is the direct link of the target external device, the voltage conversion link of the remaining external device is disconnected, and the direct link of the remaining external device is activated, serving as the transmission path for the remaining external device. In this method, the transmission paths of the remaining external devices are adjusted based on the interrupted transmission path after removing the target external device, so that the direct link is used to supply power to the remaining external devices, thereby reducing transmission loss and improving charging efficiency.

[0158] To facilitate understanding by those skilled in the art, the data transmission method provided in this application is described in detail below. The data transmission method provided in this application is applied to a fast charging protocol chip in a data transmission device. The data transmission device further includes a first interface and at least two second interfaces. The fast charging protocol chip is connected to the first interface and each of the second interfaces, and the first interface is connected to each of the second interfaces. As shown in Figure 13, the method may include:

[0159] S1301, transmits fast charging protocol signals to the first interface and each of the second interfaces;

[0160] S1302. When the external device accessed includes a first device, a direct link is established between the first interface and the second interface accessed by the first device as the transmission path of the first device.

[0161] S1303, Obtain the power supply parameters required by the first device;

[0162] S1304, Indicates that the power adapter supplies power to the first device according to the power supply parameters through the transmission path of the first device;

[0163] S1305. In the case where the external devices connected include a second device connected after the first device, the power supply parameters required by the second device are obtained.

[0164] S1306. If the power supply parameters required by the first device are greater than or equal to the power supply parameters required by the second device, maintain the direct link between the first interface and the second interface connected to the first device as the transmission path of the first device; and establish the voltage conversion link between the first interface and the second interface connected to the second device as the transmission path of the second device.

[0165] S1307. When the power supply parameters required by the first device are greater than the power supply parameters required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the high output parameters, and to supply power to the second device through the transmission path of the second device according to the low output parameters.

[0166] S1308. When the power supply parameters required by the first device are equal to the power supply parameters required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the equally distributed output parameters, and to supply power to the second device through the transmission path of the second device according to the equally distributed output parameters.

[0167] S1309. If the power supply parameters required by the first device are less than the power supply parameters required by the second device, disconnect the direct link between the first interface and the second interface connected to the first device, and connect the voltage conversion link between the first interface and the second interface connected to the first device as the transmission path of the first device; connect the direct link between the first interface and the second interface connected to the second device as the transmission path of the second device.

[0168] S1310, Indicates that the power adapter supplies power to the first device according to the low output parameter through the transmission path of the first device, and supplies power to the second device according to the high output parameter through the transmission path of the second device;

[0169] S1311. After removing a target external device, determine the interrupted transmission path corresponding to the target external device.

[0170] S1312. If the transmission path corresponding to the interruption is the voltage conversion link of the target external device, keep the direct link of the remaining external devices open as the transmission path of the remaining external devices.

[0171] S1313. If the transmission path corresponding to the interruption is a direct link of the target external device, disconnect the voltage conversion link of the remaining external device and connect the direct link of the remaining external device as the transmission path of the remaining external device.

[0172] S1314. Obtain the target power supply parameters required by the remaining external devices, so as to instruct the power adapter to supply power to the remaining external devices according to the target power supply parameters through the transmission path of the remaining external devices.

[0173] It should be noted that the descriptions in S1301-S1314 above can be found in the relevant descriptions in the above embodiments, and their effects are similar, so they will not be repeated here.

[0174] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0175] Based on the same inventive concept, this application also provides a data transmission apparatus for implementing the data transmission method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, specific limitations in one or more data transmission apparatus embodiments provided below can be found in the limitations of the data transmission method described above, and will not be repeated here.

[0176] In one embodiment, as shown in FIG14, a data transmission device is provided, including: a protocol signal module 1401 and a power supply control module 1402, wherein:

[0177] Protocol signal module 1401 is used to transmit fast charging protocol signals for the first interface and each of the second interfaces;

[0178] The power supply control module 1402 is used to determine the transmission path between the first interface and the second interface connected to the external device when the second interface is connected to an external device, and to instruct the power adapter connected to the first interface to supply power to the external device through the transmission path.

[0179] Each module in the aforementioned data transmission device can implement any of the aforementioned data transmission methods, either entirely or partially, through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0180] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in Figure 15. The computer device includes a processor, memory, communication interface, display screen, and input device connected via a system bus. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for wired or wireless communication with external terminals. Wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a data transmission method. The display screen of the computer device may be a liquid crystal display (LCD) or an e-ink display. The input device of the computer device may be a touch layer covering the display screen, or buttons, a trackball, or a touchpad located on the casing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0181] Those skilled in the art will understand that the structure shown in Figure 15 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.

[0182] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in any of the above-described data transmission methods.

[0183] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in any of the above data transmission methods.

[0184] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in any of the above-described data transmission methods.

[0185] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0186] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0187] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A data transmission method, wherein, A fast charging protocol chip is used in a data transmission device, the data transmission device further including a first interface and at least two second interfaces, the fast charging protocol chip being connected to the first interface and each of the second interfaces, and the first interface and each of the second interfaces being connected, the method comprising: Transmit fast charging protocol signals to the first interface and each of the second interfaces; When an external device is connected to the second interface, a transmission path is determined between the first interface and the second interface connected to the external device, and the power adapter connected to the first interface is instructed to supply power to the external device through the transmission path.

2. The method according to claim 1, wherein, The external device accessed includes a first device; determining the transmission path between the first interface and the second interface accessing the external device, and instructing the power adapter connected to the first interface to supply power to the external device through the transmission path, includes: Establish a direct link between the first interface and the second interface connected to the first device, serving as the transmission path for the first device; Obtain the power supply parameters required by the first device; The power adapter is instructed to supply power to the first device according to the power supply parameters through the transmission path of the first device.

3. The method according to claim 2, wherein, The accessed external device also includes a second device accessed after the first device; the step of determining the transmission path between the first interface and the second interface accessing the external device, and instructing the power adapter connected to the first interface to supply power to the external device through the transmission path, further includes: Obtain the power supply parameters required by the second device; Based on the power supply parameters required by the first device and the power supply parameters required by the second device, determine the transmission path of the first device and the transmission path of the second device. The power adapter is instructed to supply power to the first device through the transmission path of the first device, and to supply power to the second device through the transmission path of the second device.

4. The method according to claim 3, wherein, The step of determining the transmission path of the first device and the transmission path of the second device based on the power supply parameters required by the first device and the power supply parameters required by the second device includes: If the power supply parameters required by the first device are greater than or equal to the power supply parameters required by the second device, the direct link between the first interface and the second interface connected to the first device is maintained as the transmission path of the first device. A voltage conversion link is established between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

5. The method according to claim 4, wherein, The instruction to power the power adapter to supply power to the first device through the transmission path of the first device, and to supply power to the second device through the transmission path of the second device, includes: If the power supply parameters required by the first device are greater than those required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the high output parameters, and to supply power to the second device through the transmission path of the second device according to the low output parameters. When the power supply parameters required by the first device are equal to those required by the second device, the power adapter is instructed to supply power to the first device through the transmission path of the first device according to the equally distributed output parameters, and to supply power to the second device through the transmission path of the second device according to the equally distributed output parameters.

6. The method according to claim 3, wherein, The step of determining the transmission path of the first device and the transmission path of the second device based on the power supply parameters required by the first device and the power supply parameters required by the second device includes: If the power supply parameters required by the first device are less than those required by the second device, disconnect the direct link between the first interface and the second interface connected to the first device, and connect the voltage conversion link between the first interface and the second interface connected to the first device as the transmission path for the first device. Establish a direct link between the first interface and the second interface connected to the second device, serving as the transmission path for the second device.

7. The method according to claim 6, wherein, The instruction to supply power to the first device and the second device respectively through the transmission paths of the first device and the second device includes: The power adapter is instructed to supply power to the first device according to low output parameters through the transmission path of the first device, and to supply power to the second device according to high output parameters through the transmission path of the second device.

8. The method according to any one of claims 4-7, wherein, The method further includes: After removing a target external device, determine the interrupted transmission path corresponding to the target external device; Adjust the transmission paths of the remaining external devices according to the corresponding interrupted transmission path; Obtain the target power supply parameters required by the remaining external devices, so as to instruct the power adapter to supply power to the remaining external devices according to the target power supply parameters through the transmission path of the remaining external devices.

9. The method according to claim 8, wherein, The step of adjusting the transmission paths of the remaining external devices according to the corresponding interrupted transmission path includes: In the case where the corresponding interrupted transmission path is the voltage conversion link of the target external device, the direct link of the remaining external device is kept open as the transmission path of the remaining external device; If the corresponding interrupted transmission path is a direct link of the target external device, disconnect the voltage conversion link of the remaining external device and connect the direct link of the remaining external device as the transmission path of the remaining external device.

10. A data transmission device, wherein, The data transmission device includes: a fast charging protocol chip, a first interface connected to the fast charging protocol chip, and at least two second interfaces; the first interface and each of the second interfaces are connected. The first interface is used to connect to a power adapter; the second interface is used to connect to an external device; the fast charging protocol chip is used to transmit fast charging protocol signals to the first interface and each of the second interfaces, and when an external device is connected to the second interface, to determine the transmission path between the first interface and the second interface connected to the external device, and to instruct the power adapter connected to the first interface to supply power to the external device through the transmission path.

11. The data transmission device according to claim 10, wherein, The data transmission device further includes a voltage conversion circuit; a direct link and a voltage conversion link including the voltage conversion circuit are provided between the first interface and each of the second interfaces.

12. The data transmission device according to claim 11, wherein, The pass-through link includes a pass-through switch; the voltage conversion link includes a step-down circuit and a step-down switch connected to the step-down circuit; the fast charging protocol chip is connected to the pass-through switch, the step-down circuit, and the step-down switch respectively.

Citation Information

Patent Citations

  • Multi-output USB charger and control method

    CN111245077A

  • Multi-port fast charging efficiency adjusting circuit and method, fast charging chip and fast charging power supply equipment

    CN111934400A

  • Charger and charging control method and device

    CN112202222A

  • Control circuit for improving multi-channel charging efficiency and charging equipment

    CN116455025A