# US 2025/0148069 A1 · Electronic device, device identification method, and charging system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148069 A1
- Document ID: US20250148069A1
- Status: Published application
- Kind: A1
- Application number: 18/559,926
- Filed: 2023-04-23
- Published: 2025-05-08
- Earliest claimed: 2022-07-27
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Tingwei ZHANG; Feng WANG
- Web page: https://patentgrep.com/patent/US20250148069A1

## CPC

- G06F 1/266: {Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips}
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 13/4068: {Electrical coupling}
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- H02J 7/00: Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
- H02J 7/42: with electronic devices having internal batteries, e.g. mobile phones
- H02J 7/44: between battery management systems and power sources
- H02J 7/47: Arrangements for checking compatibility or authentication between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
- G06F 2213/0042: Universal serial bus [USB]
- G06F 2213/3812: USB port controller
- H02J 2207/30: Charge provided using DC bus or data bus of a computer
- Y02E 60/10: Energy storage using batteries
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H02J: ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- Y02E: REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION

## Abstract

This application provides an electronic device, a device identification method, and a charging system. The electronic device includes a processor, a controller, a charging protocol chip, an external interface, and a switch circuit. The processor, the charging protocol chip, and the external interface each include a data pin unit. The data pin unit of the processor, the data pin unit of the charging protocol chip, the data pin unit of the external interface, and the controller are separately electrically connected to the switch circuit. The controller is configured to control the switch circuit, so that the data pin unit of the external interface is connected to one of the data pin unit of the processor and the data pin unit of the charging protocol chip and is disconnected from the other of the data pin unit of the processor and the data pin unit of the charging protocol chip.

## Claims

### Claim 1

An electronic device, comprising a processor, a controller, a charging protocol chip, an external interface, and a switch circuit, wherein
the processor, the charging protocol chip, and the external interface each comprise a data pin unit;
the data pin unit of the processor, the data pin unit of the charging protocol chip, the data pin unit of the external interface, and the controller are separately electrically connected to the switch circuit; and
the controller is configured to control the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the charging protocol chip and is disconnected from the data pin unit of the processor;
the charging protocol chip is configured to perform second protocol identification on the external device when the external interface is connected to the external device;
the controller is configured to: after receiving an indication that is sent by the charging protocol chip and that indicates that the second protocol identification fails, so that the data pin unit of the external interface is disconnected from the data pin unit of the charging protocol chip and is connected to the data pin unit of the processor;
the processor is configured to perform first protocol identification on the external device when the external interface is connected to the external device and the data pin unit of the processor is connected to the pin unit of the external interface.

### Claim 2 (depends on 1)

The electronic device according to claim 1, wherein
the controller is configured to: after receiving an indication that is sent by the processor and that indicates that the first protocol identification succeeds, continue to control the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the processor and is disconnected from the data pin unit of the charging protocol chip; and control the switch circuit after receiving an indication that is sent by the processor and that indicates that the first protocol identification fails, so that the data pin unit of the external interface is disconnected from the data pin unit of the processor and is connected to the data pin unit of the charging protocol chip; and
the controller is configured to: after receiving an indication that is sent by the charging protocol chip and that indicates that the second protocol identification succeeds, continue to control the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the charging protocol chip and is disconnected from the data pin unit of the processor.

### Claim 3

(canceled)

### Claim 4 (depends on 1)

The electronic device according to claim 1, further comprising a voltage conversion circuit and a battery;
the external interface further comprises a power-supply pin;
the battery is electrically connected to the power-supply pin of the external interface by using the voltage conversion circuit; and
the charging protocol chip is connected to the voltage conversion circuit, and is configured to send an enable signal to the voltage conversion circuit after the charging protocol chip succeeds in the protocol identification, so that the voltage conversion circuit provides a specified voltage to the power-supply pin of the external interface.

### Claim 5 (depends on 4)

The electronic device according to claim 4, wherein the controller is further configured to: after receiving the indication that is sent by the charging protocol chip and that indicates that the second protocol identification succeeds, obtain power information of the battery, and send, to the charging protocol chip based on the power information of the battery, an indication indicating to enable fast charging or not to enable fast charging.

### Claim 6 (depends on 5)

The electronic device according to claim 5, wherein when power of the battery is greater than a specified threshold, the controller sends an indication indicating to enable fast charging to the charging protocol chip; and when the power of the battery is less than or equal to the specified threshold, the controller sends an indication indicating not to enable fast charging to the charging protocol chip.

### Claim 7 (depends on 2)

The electronic device according to claim 2, wherein when the external device is a device supporting a first protocol, and after the external device is removed from the external interface, the processor is further configured to send, to the controller after the external device is removed, an indication indicating that the external device is removed; and the controller controls the switch circuit based on the indication indicating that the external device is removed, so that the data pin unit of the external interface is disconnected from the data pin unit of the processor and is connected to the data pin unit of the charging protocol chip.

### Claim 8 (depends on 1)

The electronic device according to claim 1, wherein the switch circuit comprises a switch chip, and the data pin unit of the processor, the data pin unit of the charging protocol chip, the data pin unit of the external interface, and the controller are separately electrically connected to the switch chip.

### Claim 9 (depends on 1)

The electronic device according to claim 1, wherein the switch circuit comprises a first switch unit and a second switch unit;
the data pin unit of the processor, the data pin unit of the external interface, and the controller are separately electrically connected to the first switch unit, and the controller is configured to control the first switch unit, so that the data pin unit of the external interface is connected to or disconnected from the data pin unit of the processor; and
the data pin unit of the charging protocol chip, the data pin unit of the external interface, and the controller are separately electrically connected to the second switch unit, and the controller is configured to control the second switch unit, so that the data pin unit of the external interface is connected to or disconnected from the data pin unit of the charging protocol chip.

### Claim 10 (depends on 9)

The electronic device according to claim 9, wherein the first switch unit and the second switch unit each comprise a switch chip.

### Claim 11 (depends on 1)

The electronic device according to claim 1, wherein the data pin unit comprises a first data pin and a second data pin;
the switch circuit comprises a first switch unit to a fourth switch unit;
the first data pin of the processor, the first data pin of the external interface, and the controller are separately electrically connected to the first switch unit, and the controller is configured to control the first switch unit, so that the first data pin of the external interface is connected to or disconnected from the first data pin of the processor;
the second data pin of the processor, the second data pin of the external interface, and the controller are separately electrically connected to the second switch unit, and the controller is configured to control the second switch unit, so that the second data pin of the external interface is connected to or disconnected from the second data pin of the processor;
the first data pin of the charging protocol chip, the first data pin of the external interface, and the controller are separately electrically connected to the third switch unit, and the controller is configured to control the third switch unit, so that the first data pin of the external interface is connected to or disconnected from the first data pin of the charging protocol chip; and
the second data pin of the charging protocol chip, the second data pin of the external interface, and the controller are separately electrically connected to the fourth switch unit, and the controller is configured to control the fourth switch unit, so that the second data pin of the external interface is connected to or disconnected from the second data pin of the charging protocol chip.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the first switch unit to the fourth switch unit each comprise a switch chip or a MOS transistor.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein the first switch unit comprises a PMOS transistor, the second switch unit comprises a PMOS transistor, the third switch unit comprises an NMOS transistor, and the fourth switch unit comprises an NMOS transistor.

### Claim 14 (depends on 1)

The electronic device according to claim 1, wherein the first protocol comprises a USB 2.0 protocol, and the second protocol comprises an SCP/FCP fast charging protocol.

### Claim 15 (depends on 1)

The electronic device according to claim 1, wherein the data pin unit comprises a DP pin or a DM pin.

### Claim 16 (depends on 1)

A device identification method, applied to the electronic device according to claim 1, wherein the method comprises:
controlling, by the controller, the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the charging protocol chip and is disconnected from the data pin unit of the processor;
identifying, the charging protocol chip, a type of an external device connected to the external interface;
after the charging protocol chip fails in the identification, controlling, by the controller, the switch circuit, so that the data pin unit of the external interface is disconnected from the data pin unit of the charging protocol chip and is connected to the data pin unit of the processor; and
identifying, by the processor the type of the external device connected to the external interface.

### Claim 17

(canceled)

### Claim 18 (depends on 16)

The device identification method according to claim 16, wherein when the external device connected to the external interface is of a type corresponding to the processor, the method further comprises:
sending, by the processor to the controller after the external device is removed, an indication indicating that the external device is removed; and
after receiving the indication indicating that the external device is removed, controlling, by the controller, the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the charging protocol chip and is disconnected from the data pin unit of the processor.

### Claim 19 (depends on 1)

A charging system, comprising the electronic device according to claim 1 and a terminal, wherein
the terminal comprises a charging interface and a battery;
the charging interface is electrically connected to the external interface; and
the electronic device charges the battery in the terminal through the external interface and the charging interface.

### Claim 20

An electronic device, comprising a processor, a controller, a charging protocol chip, an external interface, and a switch circuit, wherein
the processor, the charging protocol chip, and the external interface each comprise a data pin unit;
the data pin unit of the processor, the data pin unit of the charging protocol chip, the data pin unit of the external interface, and the controller are separately electrically connected to the switch circuit; and
the controller is configured to control the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the charging protocol chip and is disconnected from the data pin unit of the processor;
the charging protocol chip is configured to perform second protocol identification on an external device when the external interface is connected to the external device;
the controller is configured to control the switch circuit after receiving an indication that is sent by the charging protocol chip and that indicates that the second protocol identification fails, so that the data pin unit of the external interface is disconnected from the data pin unit of the charging protocol chip and is connected to the data pin unit of the processor;
the processor is configured to perform first protocol identification on the external device when the external interface is connected to the external device and the data pin unit of the processor is connected to the pin unit of the external interface; and
the first protocol comprises a data transmission protocol, and the second protocol comprises a fast charging protocol.

### Claim 21 (depends on 20)

The electronic device according to claim 20, wherein
the controller is configured to: after receiving an indication that is sent by the processor and that indicates that the first protocol identification succeeds, continue to control the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the processor and is disconnected from the data pin unit of the charging protocol chip; and control the switch circuit after receiving an indication that is sent by the processor and that indicates that the first protocol identification fails, so that the data pin unit of the external interface is disconnected from the data pin unit of the processor and is connected to the data pin unit of the charging protocol chip; and
the controller is configured to: after receiving an indication that is sent by the charging protocol chip and that indicates that the second protocol identification succeeds, continue to control the switch circuit, so that the data pin unit of the external interface is connected to the data pin unit of the charging protocol chip and is disconnected from the data pin unit of the processor.

### Claim 22 (depends on 20)

The electronic device according to claim 20, further comprising a voltage conversion circuit and a battery;
the external interface further comprises a power-supply pin;
the battery is electrically connected to the power-supply pin of the external interface by using the voltage conversion circuit; and
the charging protocol chip is connected to the voltage conversion circuit, and is configured to send an enable signal to the voltage conversion circuit after the charging protocol chip succeeds in the protocol identification, so that the voltage conversion circuit provides a specified voltage to the power-supply pin of the external interface.

### Claim at position 23

23-33. (canceled)
