Interface control method, control circuit, chip and electronic equipment

By splitting the pins and sub-pins in the Type-C interface and using control circuits and switching units to control the on/off state of the pins, the problem of not being able to perform USB 2.0 data communication simultaneously during fast charging is solved, enabling simultaneous USB 2.0 data transmission and fast charging protocol transmission during fast charging.

CN121770085APending Publication Date: 2026-03-31CHIPSEA TECH SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

During fast charging, the DP and DM pins of the Type-C interface are prioritized for fast charging protocol communication, which prevents simultaneous USB 2.0 data communication.

Method used

By dividing the interface into spaced pins and sub-pins and generating pin exchange commands based on charging protocol information, the pins are configured to perform either the first or second transmission function. The control circuit and switching unit control the on/off state of the pins, enabling simultaneous fast charging protocol transmission and USB 2.0 data transmission.

Benefits of technology

During fast charging, the function of simultaneously transmitting fast charging protocol and USB 2.0 data is realized, avoiding transmission conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121770085A_ABST
    Figure CN121770085A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of fast charging, in particular to an interface control method, a control circuit, a chip and electronic equipment. A first target pin in a first interface of first electronic equipment is segmented to form a first pin and a first target sub-pin which are arranged at an interval, and a second target pin is segmented to form a second pin and a second target sub-pin which are arranged at an interval. If it is determined that the current charging device supports a fast charging protocol according to the charging protocol information, the first pin and / or the second pin are / is configured to perform first transmission, or the first pin and / or the second pin are / is configured to perform second transmission, and in the above mode, the first transmission and the second transmission can be performed at the same time in the fast charging process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of fast charging technology, and in particular to an interface control method, control circuit, chip and electronic device. Background Technology

[0002] Currently, most fast charging protocols in related technologies rely on the DP and DM pins of the Type-C interface for fast charging communication, such as the Huawei protocol, Samsung protocol, and UFCS (Universal Fast Charging Specification) protocol. Since USB 2.0 data communication also relies on the DP and DM pins of the Type-C interface, USB 2.0 data communication cannot occur during fast charging. Summary of the Invention

[0003] In view of the above problems, embodiments of this application provide an interface control method, control circuit, chip, and electronic device to solve the technical problem that the first and second transmissions cannot be performed simultaneously during fast charging.

[0004] In a first aspect, embodiments of this application provide an interface control method applied to a first electronic device. The first electronic device includes a first interface, the first interface including a first pin and a first target sub-pin spaced apart by being divided by a first target pin, and a second pin and a second target sub-pin spaced apart by being divided by a second target pin. The interface control method includes: When the second electronic device is connected, it receives the charging protocol information of the current charging device; If the charging protocol information determines that the current charging device supports the fast charging protocol, a pin swap command is generated. The pin swap command is used to configure the first pin and / or the second pin to implement a first transmission function, or to configure the first pin and / or the second pin to implement a second transmission function.

[0005] Secondly, embodiments of this application provide a control circuit connected to a first interface. The first interface includes a first pin and a first target sub-pin spaced apart by dividing a first target pin, and a second pin and a second target sub-pin, a third target pin, and a fourth target pin spaced apart by dividing a second target pin. The control circuit includes a control module, a first switching unit, and a second switching unit. The first switching unit is used to control the connection and disconnection between the first output terminal of the control module and the first pin and the second pin, respectively, and the connection and disconnection between the first output terminal of the control module and the second switching unit. The second switching unit is used to control the connection and disconnection between the second output terminal of the control module and the third target pin and the fourth target pin, respectively, as well as the connection and disconnection between the first switching unit and the third target pin and the fourth target pin, respectively; The control module is used to implement the interface control method described above.

[0006] Thirdly, embodiments of this application provide a chip for implementing the above-described interface control method.

[0007] Fourthly, embodiments of this application provide an electronic device, including the chip or control circuit described above.

[0008] The interface control method, control circuit, chip, and electronic device provided in this application embodiment divide the first target pin in the first interface of the first electronic device into a first pin and a first target sub-pin with intervals, and divide the second target pin into a second pin and a second target sub-pin with intervals. When the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform a first transmission, or the first pin and / or the second pin are configured to perform a second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0009] These or other aspects of this application will become more apparent in the following description of the embodiments. Attached Figure Description

[0010] Figure 1 The diagram illustrates an application scenario of the interface control method provided in this application embodiment.

[0011] Figure 2 The diagram illustrates the structure of the second electronic device and cable in an application scenario of the interface control method provided in this embodiment.

[0012] Figure 3 The diagram illustrates the connection between the first electronic device and the second electronic device in an application scenario of the interface control method provided in this embodiment.

[0013] Figure 4 A flowchart illustrating the interface control method provided in an embodiment of this application is shown.

[0014] Figure 5 The diagram shows a schematic representation of the structure of a second electronic device in another application scenario of the interface control method provided in this application embodiment.

[0015] Figure 6 A schematic diagram of the control circuit provided in an embodiment of this application is shown.

[0016] Figure 7 It shows Figure 6 The diagram shows the structure of the first and second switching units in the control circuit.

[0017] Figure 8 A schematic diagram of the control circuit provided in another embodiment of this application is shown.

[0018] Figure 9 It shows Figure 8 The diagram shows the structure of the first and second switching units in the control circuit.

[0019] Figure 10 A schematic diagram of the chip structure provided in an embodiment of this application is shown.

[0020] Figure 11 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown.

[0021] Figure 12 A schematic diagram of the structure of an electronic device provided in another embodiment of this application is shown.

[0022] Figure 13 A schematic diagram of the structure of an electronic device provided in another embodiment of this application is shown. Detailed Implementation

[0023] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0024] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0025] In the embodiments of this application, it should be noted that, in this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0026] Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0027] In the description of the embodiments of this application, the words "example" or "for example" are used to indicate exemplification, illustration, or description. Any embodiment or design described as "example" or "for example" in the embodiments of this application is not to be construed as being more preferred or having more advantages than another embodiment or design. The use of the words "example" or "for example" is intended to present relative concepts in a clear manner.

[0028] Furthermore, in the embodiments of this application, "multiple" refers to two or more. Therefore, in the embodiments of this application, "multiple" can also be understood as "at least two". "At least one" can be understood as one or more, such as one, two, or more. For example, including at least one means including one, two, or more, and is not limited to which ones are included. For example, including at least one of A, B, and C, then it could include A, B, C, A and B, A and C, B and C, or A and B and C.

[0029] It should be noted that in the embodiments of this application, "and / or" describes the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after it are in an "or" relationship.

[0030] It should be noted that in the embodiments of this application, "connection" can be understood as electrical connection. The connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components.

[0031] In related technologies, when a power supply device performs fast charging for a powered device based on a proprietary fast charging protocol, it typically uses the DP and DM pins of the Type-C interface for fast charging protocol communication. However, since USB 2.0 data transmission also requires the DP and DM pins, in actual fast charging, these pins are prioritized for fast charging protocol communication, preventing USB 2.0 data transmission. Therefore, when a device is in fast charging mode, USB 2.0 data communication is usually not possible simultaneously, creating a functional mutual exclusion.

[0032] The interface control method provided in this application embodiment can be applied to... Figure 1 The first electronic device 100 shown includes a first interface 10. Please refer to [link / reference]. Figure 1 As shown, the first interface 10 includes a first pin 10a and a first target sub-pin 11a spaced apart by a first target pin 11, and a second pin 10b and a second target sub-pin 12a spaced apart by a second target pin 12. The first electronic device 100 can be an electronic device supporting a fast charging protocol.

[0033] And, as Figure 1 As shown, corresponding pads can be set for the first pin 10a, the first target sub-pin 11a, the second pin 10b, and the second target sub-pin 12a.

[0034] Please see Figure 2 As shown, the second electronic device 200 can be an electronic device supporting a fast charging protocol. The second electronic device 200 includes a second interface 20, which includes a first newly added pin 20a and a first connecting sub-pin 21a spaced apart by the first connecting pin 21, and a second newly added pin 20b and a second connecting sub-pin 22a spaced apart by the second connecting pin 22. Furthermore, corresponding pads can be provided for the first newly added pin 20a, the first connecting sub-pin 21a, the second newly added pin 20b, and the second connecting pin 22a.

[0035] The first electronic device 100 and the second electronic device 200 can be connected via a cable 300. The cable 300 has two connectors 30, one of which connects to the first interface 10 and the other connector 30 connects to the second interface 20. The cable 300 can be a cable that supports a fast charging protocol. Please refer to [link / reference]. Figure 3As shown, the connector 30 includes a first newly added connector pin 30a and a first connector sub-pin 31a spaced apart by the first connector pin 31, and corresponding pads can be provided for the first newly added connector pin 30a and the first connector sub-pin 31a respectively. When the connector 30 is inserted into the first interface 10, the first newly added connector pin 30a is connected to the first pin 10a or the second pin 10b, and the first connector sub-pin 31a is connected to the first target sub-pin 11a or the second target sub-pin 12a; when the connector 30 is inserted into the second interface 20, the first newly added connector pin 30a is connected to the first newly added pin 20a or the second newly added pin 20b, and the first connector sub-pin 31a is connected to the first connecting sub-pin 21a or the second connecting pin 22a.

[0036] Therefore, when the first electronic device 100 and the second electronic device 200 are connected, the first pin 10a is connected to the first newly added pin 20a, and the first target sub-pin 11a is connected to the first connection sub-pin 21a; or, the first pin 10a is connected to the second newly added pin 20b, and the first target sub-pin 11a is connected to the second connection sub-pin 22a; or, the second pin 10b is connected to the first newly added pin 20a, and the second target sub-pin 12a is connected to the first connection pin 21a; or, the second pin 10b is connected to the second newly added pin 20b, and the second target sub-pin 12a is connected to the second connection pin 22a. The first target sub-pin 11a is used to implement the function of the first target pin 11, and the second target sub-pin 12a can be used to implement the function of the second target pin 12. The first pin 10a or the second pin 10b can be configured to implement the function of the first transmission or the second transmission. For example, the pins in the first pin 10a and the second pin 10b that implement the connection between the first electronic device and the second electronic device can be configured to implement a first transmission or a second transmission, or the first pin 10a and the second pin 10b can be configured to implement a first transmission or a second transmission.

[0037] One embodiment of this application provides an interface control method; please refer to [link / reference]. Figure 4 As shown, the interface control method in this embodiment is applied to, for example, Figure 1 The first electronic device 100 shown includes the following steps: Step S11: When the second electronic device is connected, receive the charging protocol information of the current charging device.

[0038] The first electronic device and the second electronic device can be a power receiving device (Sink device) and a power supply device (Source device), respectively, or the first electronic device and the second electronic device can be a power supply device (Source device) and a power receiving device (Sink device), respectively; the second electronic device is connected to the first electronic device so that the Source device charges the Sink device.

[0039] The charging protocol information of the current charging device includes at least the charging protocol information of the second electronic device. For example, if the first electronic device is a mobile terminal and the second electronic device is a power bank without a cable, then the current charging device includes the second electronic device and a cable; or, if the first electronic device is a power bank without a cable and the second electronic device is a mobile terminal, then the current charging device includes the second electronic device and a cable; or, if the first electronic device is a mobile terminal and the second electronic device is a power bank with a cable, then the current electronic device includes the second electronic device; or, if the second electronic device is a mobile terminal and the first electronic device is a power bank with a cable, then the current electronic device includes the second electronic device.

[0040] As one implementation method, the second electronic device can be as follows: Figure 2 and Figure 3 The second electronic device 200 shown can be connected to the first electronic device 100 via a cable 300. The cable 300 has two connectors 30, one of which connects to the first interface 10 and the other to the second interface 20, as detailed above. In this case, the charging protocol information of the current charging device can include the charging protocol information of the second electronic device 200 and the charging protocol information of the cable 300. For example, the second electronic device 200 can be a power bank, and the first electronic device 100 can be a mobile terminal; or, the first electronic device 100 can be a power bank, and the second electronic device 200 can be a mobile terminal.

[0041] As one implementation method, the second electronic device can also be such as Figure 5 The second electronic device 400 shown includes a second connector 40, which comprises a second additional connector pin 40a and a second connector sub-pin 41a spaced apart by the second connector pin 41. When the first electronic device 100 and the second electronic device 400 are connected, the second connector 40 is inserted into the first interface 10, the second additional connector pin 40a is connected to the first pin 10a, and the second connector sub-pin 41a is connected to the first target sub-pin 11a; or, the second additional connector pin 40a is connected to the second pin 10b, and the second connector sub-pin 41a is connected to the second target sub-pin 12a. At this time, the charging protocol information of the current charging device may include the charging protocol information of the second electronic device 400. For example, the second electronic device 400 can be a power bank, specifically a power bank with a built-in connector; the first electronic device 100 is a mobile terminal.

[0042] Step S12: If it is determined from the charging protocol information that the current charging device supports the fast charging protocol, a pin swap command is generated. The pin swap command is used to configure the first pin and / or the second pin to implement the first transmission function, or to configure the first pin and / or the second pin to implement the second transmission function.

[0043] The first transmission function and the second transmission function are two different transmission functions. For example, the first transmission function is used to transmit the first data, and the second transmission function is used to transmit the second data.

[0044] For example, the pins in the first pin 10a and the second pin 10b that implement the connection between the first electronic device and the second electronic device can be configured to implement a first transmission or a second transmission, or the first pin 10a and the second pin 10b can be configured to implement a first transmission or a second transmission.

[0045] In one embodiment, by determining that the second electronic device 200 supports the fast charging protocol based on the charging protocol information of the second electronic device 200 and by determining that the cable 300 supports the fast charging protocol based on the charging protocol information of the cable 300, it can be determined that the current charging device supports the fast charging protocol.

[0046] In other embodiments, if the charging protocol information of the second electronic device 400 indicates that the second electronic device 400 supports the fast charging protocol, then the current charging device can be determined to support the fast charging protocol.

[0047] After determining that the current charging device supports the fast charging protocol, a pin swap command is generated. Based on this command, the first and / or second pins are configured to perform either a first transmission or a second transmission. Specifically, the pin connecting the first and second electronic devices can be configured for either the first or second transmission. Alternatively, both the first and second pins can be directly configured for either transmission. Furthermore, other pins originally used for the first and second transmissions can be configured to perform either transmission solely for the second transmission or solely for the first transmission. In subsequent steps, the first and second transmissions no longer conflict and can proceed simultaneously.

[0048] In this embodiment, the first target pin and the first target sub-pin are separated into intervals in the first interface of the first electronic device, and the second target pin and the second target sub-pin are separated into intervals. When the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform the first transmission, or the first pin and / or the second pin are configured to perform the second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0049] In one implementation, the first transmission function and the second transmission function include a fast charging protocol transmission function and a communication data transmission function. For example, the first transmission function is a fast charging protocol transmission function and the second transmission function is a communication data transmission function, or the first transmission function is a communication data transmission function and the second transmission function is a fast charging protocol transmission function.

[0050] In one implementation, the pin swap command is used to configure either the first pin or the second pin to perform a first transmission function. Following step S12, the following steps are also included: Step S131: Perform the first transmission via the first pin or the second pin.

[0051] The first transmission can be used to transmit first data. When the first transmission function is a fast charging protocol transmission function, the first data is fast charging protocol data; when the first transmission function is a communication data transmission function, the first data is communication data, such as USB communication data.

[0052] For example, the pins in the first pin 10a and the second pin 10b that implement the connection between the first electronic device and the second electronic device can be configured to implement a first transmission or a second transmission, or the first pin 10a and the second pin 10b can be configured to implement a first transmission or a second transmission.

[0053] In some implementations, please refer to [the relevant documentation]. Figure 1 As shown, the first interface 10 also includes a third target pin 13 and a fourth target pin 14 for implementing the second transmission function. Following step S12, the following steps are also included: Step S132: Perform a second transmission via the third target pin or the fourth target pin.

[0054] Specifically, during the first transmission via the first pin or the second pin, and during fast charging, the second transmission via the third target pin or the fourth target pin.

[0055] The second transmission can be used to transmit second data. When the second transmission function is a communication data transmission function, the second data is communication data, such as USB communication data; when the second transmission function is a fast charging protocol transmission function, the second data is fast charging protocol data.

[0056] For example, the pin that implements the connection between the first electronic device and the second electronic device in the third or fourth target pin can be configured to implement the second transmission, or the third and fourth target pins can be configured to implement the second transmission.

[0057] In this embodiment, the third target pin and / or the fourth target pin are configured to implement the second transmission function. During fast charging, the first pin or the second pin performs the first transmission, and the third target pin or the fourth target pin performs the second transmission, thus avoiding the conflict between the first transmission and the second transmission during fast charging.

[0058] In some implementations, please refer to [the relevant documentation]. Figure 2 and Figure 3As shown, the second interface 20 of the second electronic device 200 includes a third connection pin 23 and a fourth connection pin 24. The third connection pin 23 and the fourth connection pin 24 are respectively configured to correspond to the third target pin 13 and the fourth target pin 14. Accordingly, the second electronic device 200 configures the first newly added pin 20a and / or the second newly added pin 20b to implement the first transmission function, and configures the third connection pin 23 and / or the fourth connection pin 24 to implement the second transmission function. For example, the pins in the first newly added pin 20a and the second newly added pin 20b that implement the connection between the first electronic device and the second electronic device are configured to implement the first transmission function, and the pins in the third connection pin 23 and the fourth connection pin 24 that implement the connection between the first electronic device and the second electronic device are configured to implement the second transmission function. Alternatively, the first newly added pin 20a and the second newly added pin 20b are configured to implement the first transmission function, and the third connection pin 23 and the fourth connection pin 24 are configured to implement the second transmission function. The connector 30 of the cable 300 also includes a third cable connector pin 33 and a fourth cable connector pin 34, which are respectively configured to correspond to the third target pin 13 and the fourth target pin 14, or the third cable connector pin 33 and the fourth cable connector pin 34 are respectively configured to correspond to the third connection pin 23 and the fourth connection pin 24. For example, the first interface 10 and the second interface 20 can be Type-C interfaces respectively; the first target pin 11 and the second target pin 12 can be CC1 pin and CC2 pin respectively; the first target sub-pin 11a and the second target sub-pin 12a formed after the split can continue to be used as CC1 pin and CC2 pin respectively; the first pin 10a and the second pin 10b are used to implement the first transmission function; the third target pin 13 and the fourth target pin 14 can be DP pin and DM pin respectively; the first connection pin 21 and the second connection pin 22 can be CC1 pin and CC2 pin respectively; the first connection sub-pin 21a and the second connection sub-pin 22a formed after the split can continue to be used as CC1 pin and CC2 pin respectively; the first newly added pin 20a and the second newly added pin 20b are used to implement the first transmission function; the third connection pin 23 and the fourth connection pin 24 can be DP pin and DM pin respectively. The connector 30 of cable 300 can be a Type-C connector, the first connector pin 31 is a CC1 pin, the first connector sub-pin 31a formed by splitting can continue to be a CC1 pin, the first newly added connector pin 30a is used to realize the first transmission function, and the third cable connector pin 33 and the fourth cable connector pin 34 can be DP pin and DM pin respectively.

[0059] In some implementations, please refer to [the relevant documentation]. Figure 5As shown, the second connector 40 of the second electronic device 400 further includes a third connector pin 43 and a fourth connector pin 44. The third connector pin 43 and the fourth connector pin 44 are respectively configured to correspond to the third target pin 13 and the fourth target pin 14. Accordingly, the second electronic device 400 can configure the second newly added connector pin 40a to implement the first transmission function, and configure the third connector pin 43 and / or the fourth connector pin 44 to implement the second transmission function. For example, the pins in the third connector pin 43 and the fourth connector pin 44 that implement the connection between the first electronic device and the second electronic device can be configured to implement the second transmission function, or the third connector pin 43 and the fourth connector pin 44 can be configured to implement the second transmission function. For example, the first interface 10 is a Type-C interface, the second connector 40 is a Type-C connector, the second connector pin 41 can be a CC1 pin, the split second connector sub-pin 41a can continue to be a CC1 pin, the second newly added connector pin 40a is used to implement the first transmission function, and the third connector pin 43 and the fourth connector pin 44 can be a DP pin and a DM pin, respectively.

[0060] In one implementation, the charging protocol information of the current charging device includes a first communication protocol version number sent by the second electronic device 200 and a second communication protocol version number sent by the cable 300. Following step S11, the following step is also included: determining whether the current charging device supports a fast charging protocol based on the charging protocol information, specifically including the following steps: Step S11a: Determine whether the second electronic device supports the fast charging protocol based on the first communication protocol version number; If the first communication protocol version number is the same as the fast charging protocol version number, then the second electronic device is determined to support the fast charging protocol.

[0061] Step S11b: Determine whether the cable supports the fast charging protocol based on the second communication protocol version number; If the second communication protocol version number is the same as the fast charging protocol version number, then the cable is confirmed to support the fast charging protocol.

[0062] Step S11c: When the second electronic device and the cable both support the fast charging protocol, determine that the current charging device supports the fast charging protocol.

[0063] In this embodiment, the first electronic device, the second electronic device, and the cable all support the fast charging protocol, and the functions of the first pin and / or the second pin are configured by exchanging pin commands.

[0064] In some implementations, step S11 specifically includes the following steps: Step S111: When the second electronic device is connected, the charging protocol negotiation process is initiated; Step S112: Receive a negotiation message carrying the first communication protocol version number sent by the second electronic device; Step S113: Receive electronic tag information carrying the second communication protocol version number transmitted by the cable; Step S114: Obtain the first communication protocol version number based on the negotiation message, and obtain the second communication protocol version number based on the electronic tag information.

[0065] In this embodiment, the first communication protocol version number and the second communication protocol version number are obtained as the charging protocol information of the current charging device during the charging negotiation process.

[0066] For example, after the first electronic device and the second electronic device are connected, the first electronic device and the second electronic device perform a device handshake. For instance, the first electronic device sends a handshake pulse, and the second electronic device follows with a charging pulse. Subsequently, the first electronic device sends a handshake command (Ping message) to the second electronic device, and the second electronic device responds with an acknowledgment message (ACK message) to the first electronic device to complete UFCS identification. Specifically, the first electronic device can add the latest supported UFCS protocol version number to the header of the Ping message. After receiving the Ping message, the second electronic device extracts the UFCS protocol version number from the header of the Ping message, compares it with the latest supported UFCS protocol version number, and adds the corresponding first communication protocol version number to the header of the ACK message. Subsequently, the first electronic device and the second electronic device negotiate charging capabilities. Specifically, the first electronic device and the second electronic device exchange their respective voltage and current support ranges. The first electronic device can further adjust the voltage and current according to its battery capacity and charging scenario. Subsequently, the first electronic device and the second electronic device respectively obtain cable electronic tag information. Specifically, cables that support fast charging are usually equipped with USB electronic tags (Electrically Marked). The cable (eMarker) chip, the first electronic device, and the second electronic device determine that the cable supports the fast charging protocol through data interaction with the USB electronic tag chip. The USB electronic tag chip sends an SOP' message or an SOP" message to the first electronic device, writing the second communication protocol version number in the header of the SOP' message or SOP" message. Furthermore, after obtaining the cable electronic tag information, the first and second electronic devices can also execute authentication processes to determine whether they belong to the same brand; for example, both the first and second electronic devices are Apple devices, or both are Huawei devices.

[0067] In one implementation, the pin swap command is used to configure a first pin and / or a second pin to implement a first transmission function, and also to configure a first target sub-pin and / or a second target sub-pin to implement a second transmission function. Specifically, the pin swap command is used to configure the pin that implements the connection between the first electronic device and the second electronic device in the first pin and the second pin to implement the first transmission function, and also to configure the pin that implements the connection between the first electronic device and the second electronic device in the first target sub-pin and the second target sub-pin to implement the second transmission function. Alternatively, the pin swap command is used to configure the first pin and the second pin to implement the first transmission function, and also to configure the first target sub-pin and the second target sub-pin to implement the second transmission function.

[0068] For example, when the second electronic device is Figure 2 When the second electronic device 200 is shown, the first interface 10 and the second interface 20 can be Type-C interfaces respectively. The first target pin 11 and the second target pin 12 can be DP pins or DM pins respectively. The first target sub-pins 11a and 12a formed after splitting can continue to be used as DP pins or DM pins respectively. The first pin 10a and the second pin 10b are used to implement the first transmission function. The first connection pin 21 and the second connection pin 22 can be DP pins or DM pins respectively. The first connection sub-pins 21a and 22a formed after splitting can continue to be used as DP pins or DM pins respectively. The first newly added pins 20a and 20b are used to implement the first transmission function. The connector 30 of the cable 300 can be a Type-C connector. The first connector pin 31 is a DP pin or a DM pin. The first connector sub-pin 31a formed after splitting can continue to be used as a DP pin or a DM pin. The first newly added connector pin 30a is used to implement the first transmission function.

[0069] For example, when the second electronic device is Figure 5 When the second electronic device 400 is shown, the first interface 10 is a Type-C interface, the second connector 40 is a Type-C connector, the second connector pin 41 can be a DP pin or a DM pin, the split second connector sub-pin 41a can continue to be used as a DP pin or a DM pin, and the second newly added connector pin 40a is used to implement the first transmission function.

[0070] In some implementations, the interface control method further includes the following steps: Step S21: During fast charging, a first transmission is performed through the first pin or the second pin, and a second transmission is performed through the first target sub-pin or the second target sub-pin.

[0071] In some implementations, please refer to Figure 2and Figure 3 As shown, when the second electronic device 200 does not support the fast charging protocol, the first connection pin 21 and the second connection pin 22 of its second interface 20 are not split. When the first electronic device 100 and the second electronic device 200 are connected, the first pin 10a and the first target sub-pin 11a are shorted by the first connection pin 21, or the second pin 10b and the second target sub-pin 12a are shorted by the second connection pin 22. The first pin 10a or the second pin 10b cannot be configured independently.

[0072] In some implementations, please refer to Figure 2 and Figure 3 As shown, when the cable 300 does not support the fast charging protocol, the first connector pin 31 of its connector 30 is not split. When the first electronic device 100 is connected to the second electronic device 200 through the cable 300, the first pin 10a and the first target sub-pin 11a are shorted by the first connector pin 31, or the second pin 10b and the second target sub-pin 12a are shorted by the first connector pin 31. The first pin 10a or the second pin 10b cannot be configured independently.

[0073] In some implementations, please refer to Figure 5 As shown, when the second electronic device 400 does not support the fast charging protocol, the second connector pin 41 of its second connector 40 is not split. When the first electronic device 100 is connected to the second electronic device 400, the first pin 10a and the first target sub-pin 11a are shorted by the second connector pin 41, or the second pin 10b and the second target sub-pin 12a are shorted by the second connector pin 41. The first pin 10a or the second pin 10b cannot be configured independently.

[0074] Based on the above three implementation methods, the first electronic device in the interface control method of this application embodiment is also compatible with electronic devices or cables that do not support fast charging protocols.

[0075] This application provides a control circuit 50. Please refer to [link / reference]. Figure 1 , Figure 6 and Figure 7 As shown, the control circuit 50 is connected to the first interface 10. The first interface 10 includes a first pin 10a and a first target sub-pin 11a that are spaced apart by the first target pin 11, a second pin 10b and a second target sub-pin 12a that are spaced apart by the second target pin 12, a third target pin 13 and a fourth target pin 14.

[0076] The control circuit 50 includes a control module 53, a first switch unit 51, and a second switch unit 52. The first switch unit 51 is used to control the connection and disconnection between the first output terminal 531 of the control module 53 and the first pin 10a, the connection and disconnection between the first output terminal 531 of the control module 53 and the second pin 10b, and the connection and disconnection between the first output terminal 531 of the control module 53 and the second switch unit 52.

[0077] The second switching unit 52 is used to control the connection and disconnection between the second output terminal 532 of the control module 53 and the third target pin 13, the connection and disconnection between the second output terminal 532 of the control module 53 and the fourth target pin 14, and the connection and disconnection between the first switching unit 51 and the third target pin 13, and the connection and disconnection between the first switching unit 51 and the fourth target pin 14.

[0078] The control module 53 is used to implement the interface control method described above.

[0079] Specifically, the first pin 10a can be connected to the first output terminal 531 and the second pin 10b can be connected to the first output terminal 531 through the first switching unit 51, so that the first data can be transmitted to the control module 53 through the first pin 10a or the second pin 10b, and the first data sent by the control module 53 can be transmitted to the first pin 10a or the second pin 10b.

[0080] Specifically, the second switch unit 52 can be connected to the first output terminal 531 through the first switch unit 51, and the third target pin 13 and the fourth target pin 14 can be connected to the first switch unit 51 through the second switch unit 52, thereby connecting the first output terminal 531 to the third target pin 13 and the first output terminal 531 to the fourth target pin 14. The first data is transmitted to the control module 53 through the third target pin 13 or the fourth target pin 14, and the first data sent by the control module 53 is transmitted to the third target pin 13 or the fourth target pin 14.

[0081] Specifically, the third target pin 13 can be connected to the second output terminal 532 and the fourth target pin 14 can be connected to the second output terminal 532 through the second switching unit 52, the second data can be transmitted to the control module 53 through the third target pin 13 or the fourth target pin 14, and the second data sent by the control module 53 can be transmitted to the third target pin 13 or the fourth target pin 14.

[0082] For example, the first interface 10 can be a Type-C interface, the first target pin 11 and the second target pin 12 can be CC1 pin and CC2 pin respectively, the first target sub-pin 11a and the second target sub-pin 12a formed after splitting can continue to be CC1 pin and CC2 pin respectively, the first pin 10a and the second pin 10b are used to implement the first transmission function, and the third target pin 13 and the fourth target pin 14 can be DP pin and DM pin respectively.

[0083] In this embodiment, the first target pin and the first target sub-pin are separated into intervals in the first interface of the first electronic device, and the second target pin and the second target sub-pin are separated into intervals. When the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform the first transmission, or the first pin and / or the second pin are configured to perform the second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0084] As one implementation method, please refer to Figure 7 As shown, the first switching unit 51 includes a first switching element 5111 connected to the first output terminal 531, a first contact terminal 5121 corresponding to the first pin 10a, a second contact terminal 5122 corresponding to the second switching unit 52 (third target pin 13), a second switching element 5112, a third contact terminal 5123 corresponding to the second pin 10b, and a fourth contact terminal 5124 corresponding to the second switching unit 52 (fourth target pin 14). The first switching element 5111 can contact the first contact terminal 5121 or the second contact terminal 5122, and the second switching element 5112 can contact the third contact terminal 5123 or the fourth contact terminal 5124. When the first switching element 5111 contacts the first contact terminal 5121 and the second switching element 5112 contacts the third contact terminal 5123, the first pin 10a is connected to the first output terminal 531 and the second pin 10b is connected to the first output terminal 531. The first pin 10a and the second pin 10b can be used to transmit the first data. When the first switching element 5111 can contact the second contact terminal 5122 and the second switching element 5112 contacts the fourth contact terminal 5124, the second switching unit 52 is connected to the first output terminal 531. Then, the third target pin 13 and the fourth target pin 14 are connected to the first switching unit 51 through the second switching unit 52, thereby connecting the first output terminal 531 to the third target pin 13 and the first output terminal 531 to the fourth target pin 14. The third target pin 13 and the fourth target pin 14 can be used to transmit the first data.

[0085] In some implementations, please refer to [the relevant documentation]. Figure 7 As shown, the second switching unit 52 includes a third switching element 5211 corresponding to the third target pin 13, a fifth contact terminal 5221 corresponding to the second contact terminal 5122, a sixth contact terminal 5222 corresponding to the second output terminal 532, a fourth switching element 5212 corresponding to the fourth target pin 14, a seventh contact terminal 5223 corresponding to the fourth contact terminal 5124, and an eighth contact terminal 5224 corresponding to the second output terminal 532. When the first switching element 5111 can contact the second contact terminal 5122 and the second switching element 5112 is in contact with the fourth contact terminal 5124, the third switching element 5211 is in contact with the fifth contact terminal 5221 and the fourth switching element 5212 is in contact with the seventh contact terminal 5223. The first output terminal 531 is connected to the third target pin 13 and the fourth target pin 14. The third target pin 13 and the fourth target pin 14 can be used to transmit first data. When the third switching element 5211 is in contact with the sixth contact terminal 5222 and the fourth switching element 5212 is in contact with the eighth contact terminal 5224, the second output terminal 532 is connected to the third target pin 13 and the fourth target pin 14. The third target pin 13 and the fourth target pin 14 can be used to transmit the second data.

[0086] This application provides a control circuit 50a. Please refer to [link / reference]. Figure 1 , Figure 8 and Figure 9 As shown, the control circuit 50a is connected to the first interface 10. The first interface 10 includes a first pin 10a and a first target sub-pin 11a that are spaced apart by the first target pin 11, and a second pin 10b and a second target sub-pin 12a that are spaced apart by the second target pin 12.

[0087] The control circuit 50a includes a control module 53, a first switch unit 51, and a second switch unit 52. The first switch unit 51 is used to control the connection and disconnection between the first output terminal 531 of the control module 53 and the first pin 10a, the connection and disconnection between the first output terminal 531 of the control module 53 and the second pin 10b, and the connection and disconnection between the first output terminal 531 of the control module 53 and the second switch unit 52.

[0088] The second switch unit 52 is used to control the connection and disconnection between the second output terminal 532 of the control module 53 and the third target pin 13, the connection and disconnection between the second output terminal 532 of the control module 53 and the second target sub-pin 12a, the connection and disconnection between the first switch unit 51 and the first target sub-pin 11a, and the connection and disconnection between the first switch unit 51 and the second target sub-pin 12a.

[0089] The control module 53 is used to implement the interface control method described above.

[0090] Specifically, the first pin 10a can be connected to the first output terminal 531 and the second pin 10b can be connected to the first output terminal 531 through the first switching unit 51, so that the first data can be transmitted to the control module 53 through the first pin 10a or the second pin 10b, and the first data sent by the control module 53 can be transmitted to the first pin 10a or the second pin 10b.

[0091] Specifically, the first switch unit 51 can connect the second switch unit 52 to the first output terminal 531, and the second target sub-pin 11a and the second target sub-pin 12a can be connected to the first switch unit 51 through the second switch unit 52, thereby connecting the first output terminal 531 to the first target sub-pin 11a and the second target sub-pin 12a. The first data is transmitted to the control module 53 through the first target sub-pin 11a or the second target sub-pin 12a, and the first data sent by the control module 53 is transmitted to the first target sub-pin 11a or the second target sub-pin 12a.

[0092] Specifically, the second target sub-pin 11a can be connected to the second output terminal 532 and the second target sub-pin 12a can be connected to the second output terminal 532 through the second switch unit 52. The second data can be transmitted to the control module 53 through the first target sub-pin 11a or the second target sub-pin 12a, and the second data sent by the control module 53 can be transmitted to the first target sub-pin 11a or the second target sub-pin 12a.

[0093] For example, the first interface 10 can be a Type-C interface, the first target pin 11 and the second target pin 12 can be DP pins or DM pins respectively, the first target sub-pins 11a and the second target sub-pins 12a formed after the split can continue to be used as DP pins or DM pins respectively, and the first pin 10a and the second pin 10b are used to implement the first transmission function.

[0094] In this embodiment, the first target pin and the first target sub-pin are separated into intervals in the first interface of the first electronic device, and the second target pin and the second target sub-pin are separated into intervals. When the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform the first transmission, or the first pin and / or the second pin are configured to perform the second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0095] As one implementation method, please refer to Figure 9As shown, the first switching unit 51 includes a first switching element 5111 connected to the first output terminal 531, a first contact terminal 5121 corresponding to the first pin 10a, a second contact terminal 5122 corresponding to the second switching unit 52 (first target sub-pin 11a), a second switching element 5112, a third contact terminal 5123 corresponding to the second pin 10b, and a fourth contact terminal 5124 corresponding to the second switching unit 52 (second target sub-pin 12a). The first switching element 5111 can contact the first contact terminal 5121 or the second contact terminal 5122, and the second switching element 5112 can contact the third contact terminal 5123 or the fourth contact terminal 5124. When the first switching element 5111 contacts the first contact terminal 5121 and the second switching element 5112 contacts the third contact terminal 5123, the first pin 10a is connected to the first output terminal 531 and the second pin 10b is connected to the first output terminal 531. The first pin 10a and the second pin 10b can be used to transmit the first data. When the first switching element 5111 can contact the second contact terminal 5122 and the second switching element 5112 contacts the fourth contact terminal 5124, the second switching unit 52 is connected to the first output terminal 531. Then, the first target sub-pin 11a and the second target sub-pin 12a are connected to the first switching unit 51 through the second switching unit 52, thereby connecting the first output terminal 531 to the first target sub-pin 11a and the first output terminal 531 to the second target sub-pin 12a. The first target sub-pin 11a and the second target sub-pin 12a can be used to transmit the first data.

[0096] In some implementations, please refer to [the relevant documentation]. Figure 9As shown, the second switching unit 52 includes a third switching element 5211 corresponding to the first target sub-pin 11a, a fifth contact terminal 5221 corresponding to the second contact terminal 5122, a sixth contact terminal 5222 corresponding to the second output terminal 532, a fourth switching element 5212 corresponding to the second target sub-pin 12a, a seventh contact terminal 5223 corresponding to the fourth contact terminal 5124, and an eighth contact terminal 5224 corresponding to the second output terminal 532. When the first switching element 5111 can contact the second contact terminal 5122 and the second switching element 5112 is in contact with the fourth contact terminal 5124, the third switching element 5211 is in contact with the fifth contact terminal 5221 and the fourth switching element 5212 is in contact with the seventh contact terminal 5223. The first output terminal 531 is connected to the first target sub-pin 11a and the second target sub-pin 12a. The first target sub-pin 11a and the second target sub-pin 12a can be used to transmit first data. When the third switching element 5211 is in contact with the sixth contact terminal 5222 and the fourth switching element 5212 is in contact with the eighth contact terminal 5224, the second output terminal 532 is connected to the first target sub-pin 11a and the second output terminal 532 is connected to the second target sub-pin 12a. The first target sub-pin 11a and the second target sub-pin 12a can be used to transmit the second data.

[0097] One embodiment of this application provides a chip 600; please refer to [link / reference]. Figure 10 As shown, chip 600 is used to implement the interface control method described above. A chip (Integrated Circuit, IC) is also called a chip, and this chip can be, but is not limited to, a SOC (System on Chip) chip or a SIP (System in Package) chip.

[0098] In this embodiment, when the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform the first transmission, or the first pin and / or the second pin are configured to perform the second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0099] This application also provides an electronic device 700, please refer to... Figure 11As shown, the electronic device 700 includes a device body and a chip 600 as described above disposed within the device body. The electronic device can be, but is not limited to, a weight scale, body fat scale, nutrition scale, pulse oximeter, body composition analyzer, display, USB (Universal Serial Bus) docking station, automobile, smart wearable device, mobile terminal, and smart home device. Smart wearable devices include, but are not limited to, smartwatches, smart bracelets, and neck massagers. Mobile terminals include, but are not limited to, smartphones, laptops, tablets, and POS (point of sales terminal) machines. Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart robot vacuums, and smart lights.

[0100] In this embodiment, the electronic device has a first pin and a first target sub-pin that are spaced apart by dividing the first target pin in the first interface, and a second pin and a second target sub-pin that are spaced apart by dividing the second target pin. When the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform the first transmission, or the first pin and / or the second pin are configured to perform the second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0101] This application also provides an electronic device 700a, please refer to [link to relevant documentation]. Figure 12 As shown, the electronic device 700a includes a main body and a control circuit 50, as described above, disposed within the main body. The electronic device may be, but is not limited to, a weighing scale, body fat scale, nutritional scale, pulse oximeter, body composition analyzer, display, USB (Universal Serial Bus) docking station, automobile, smart wearable device, mobile terminal, and smart home device. Smart wearable devices include, but are not limited to, smartwatches, smart bracelets, and neck massagers. Mobile terminals include, but are not limited to, smartphones, laptops, tablets, and POS (point of sales terminal) machines. Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart robot vacuums, and smart lights.

[0102] In this embodiment, the electronic device has a first pin and a first target sub-pin that are spaced apart by dividing the first target pin in the first interface, and a second pin and a second target sub-pin that are spaced apart by dividing the second target pin. When the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform the first transmission, or the first pin and / or the second pin are configured to perform the second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0103] This application also provides an electronic device 700b, please refer to [link to relevant documentation]. Figure 13 As shown, the electronic device 700b includes a device body and a control circuit 50a, as described above, disposed within the device body. The electronic device may be, but is not limited to, a weighing scale, body fat scale, nutrition scale, pulse oximeter, body composition analyzer, display, USB (Universal Serial Bus) docking station, automobile, smart wearable device, mobile terminal, and smart home device. Smart wearable devices include, but are not limited to, smartwatches, smart bracelets, and neck massagers. Mobile terminals include, but are not limited to, smartphones, laptops, tablets, and POS (point of sales terminal) machines. Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart robot vacuums, and smart lights.

[0104] In this embodiment, the electronic device has a first pin and a first target sub-pin that are spaced apart by dividing the first target pin in the first interface, and a second pin and a second target sub-pin that are spaced apart by dividing the second target pin. When the second electronic device is connected to the first electronic device, if it is determined from the charging protocol information that the current charging device supports the fast charging protocol, the first pin and / or the second pin are configured to perform the first transmission, or the first pin and / or the second pin are configured to perform the second transmission. In this way, the first transmission and the second transmission can be performed simultaneously during the fast charging process.

[0105] The above description is merely an embodiment of this application. It should be noted that those skilled in the art can make improvements without departing from the inventive concept of this application, but these improvements all fall within the protection scope of this application.

Claims

1. An interface control method characterized by, The application is applied to a first electronic device, the first electronic device comprises a first interface, the first interface comprises first pins and first target sub-pins arranged at intervals formed by first target pin division and second pins and second target sub-pins arranged at intervals formed by second target pin division; the interface control method comprises: When the second electronic device is connected, receiving charging protocol information of the current charging device; If it is determined according to the charging protocol information that the current charging device supports fast charging protocol, generating a pin exchange command, the pin exchange command is used for configuring the first pin and / or the second pin to realize a first transmission function, or is used for configuring the first pin and / or the second pin to realize a second transmission function.

2. The interface control method according to claim 1, wherein, The pin exchange command is used for configuring the first pin and / or the second pin to realize a first transmission function; The interface control method further comprises: Performing first transmission through the first pin or the second pin.

3. The interface control method according to claim 2, wherein, The first interface further comprises third target pins and fourth target pins for realizing a second transmission function; The interface control method further comprises: Performing second transmission through the third target pin or the fourth target pin.

4. The interface control method according to claim 1, characterized by, The charging protocol information of the current charging device comprises a first communication protocol version number sent by the second electronic device and a second communication protocol version number sent by a cable; Determining whether the current charging device supports fast charging protocol according to the charging protocol information comprises: Determining whether the second electronic device supports fast charging protocol according to the first communication protocol version number; Determining whether the cable supports fast charging protocol according to the second communication protocol version number; When the second electronic device and the cable respectively support fast charging protocol, it is determined that the current charging device supports fast charging protocol.

5. The interface control method according to claim 4, wherein The receiving of the charging protocol information of the current charging device when the second electronic device is connected comprises: When the second electronic device is connected, starting a charging protocol negotiation process with the second electronic device; Receiving a negotiation message sent by the second electronic device and carrying the first communication protocol version number; Receiving electronic tag information sent by the cable and carrying the second communication protocol version number; Obtaining the first communication protocol version number according to the negotiation message and obtaining the second communication protocol version number according to the electronic tag information.

6. The interface control method according to claim 1, wherein The pin exchange command is used for configuring the first pin and / or the second pin to realize a first transmission function, and is also used for configuring the first target sub-pin and / or the second target sub-pin to realize a second transmission function.

7. The interface control method according to claim 6, wherein The interface control method further comprises: In the fast charging process, performing first transmission through the first pin or the second pin and performing second transmission through the first target sub-pin or the second target sub-pin.

8. A control circuit, characterized by The first interface is connected to the control circuit, and the first interface comprises first pins and first target sub-pins which are arranged at intervals and formed by first target pin division, and second pins and second target sub-pins which are arranged at intervals and formed by second target pin division, a third target pin and a fourth target pin, the control circuit comprises a control module, a first switch unit and a second switch unit, The first switch unit is configured to control the on-off between the first output end of the control module and the first pins and the second pins respectively, and the on-off between the first output end of the control module and the second switch unit, The second switch unit is configured to control the on-off between the second output end of the control module and the third target pin and the fourth target pin respectively, and the on-off between the first switch unit and the third target pin and the fourth target pin respectively. The control module is configured to implement the interface control method according to any one of claims 1-5.

9. The control circuit of claim 8, wherein, The first target pin is a CC1 pin, the second target pin is a CC2 pin, the third target pin is a DP pin, and the fourth target pin is a DM pin.

10. A control circuit, characterized by The first interface is connected to the control circuit, and the first interface comprises first pins and first target sub-pins which are arranged at intervals and formed by first target pin division, and second pins and second target sub-pins which are arranged at intervals and formed by second target pin division, the control circuit comprises a control module, a first switch unit and a second switch unit, The first switch unit is configured to control the on-off between the first output end of the control module and the first pins and the second pins respectively, and the on-off between the first output end of the control module and the second switch unit, The second switch unit is configured to control the on-off between the second output end of the control module and the first target sub-pin and the second target sub-pin respectively, and the on-off between the first switch unit and the first target sub-pin and the second target sub-pin respectively. The control module is configured to implement the interface control method according to any one of claims 1-2 or claims 4-7.

11. A control circuit according to claim 10, wherein, The first target pin is a first DP pin or a first DM pin, and the second target pin is a second DP pin or a second DM pin.

12. A chip, characterized by The interface control method according to any one of claims 1-7 is implemented.

13. An electronic device, comprising: The chip according to claim 12 or the control circuit according to any one of claims 8-11 is included.