# US 11,452,040 B2 · Method and apparatus for identifying electronic device, terminal device, and electronic device

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

- Number: US 11,452,040 B2
- Document ID: US11452040B2
- Status: Granted
- Kind: B2
- Application number: 16/833,520
- Filed: 2020-03-28
- Published: 2021-06-03
- Granted: 2022-09-20
- Earliest claimed: 2019-11-29
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Jianli Chen
- Web page: https://patentgrep.com/patent/US11452040B2

## CPC

- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- H04W 52/0229: {where the received signal is a wanted signal}
- G01R 27/2605: {Measuring capacitance (capacitive sensors G01D5/24)}
- G06F 11/221: {to test buses, lines or interfaces, e.g. stuck-at or open line faults}
- H04L 25/069: {by detecting edges or zero crossings}
- H03K 5/1534: Transition or edge detectors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A method for identifying electronic device is applied to a terminal device and includes: sending, in response to receiving a power-on signal of the electronic device, a detection signal to the electronic device; acquiring waveform information of the detection signal; and determining a type of the electronic device according to the waveform information.

## Claims

### Claim 1

A method for identifying an electronic device, applied to a terminal device, the method comprising:
sending, in response to receiving a power-on signal of the electronic device, a detection signal to the electronic device;
acquiring waveform information of the detection signal; and
determining a type of the electronic device according to the waveform information,
wherein the detection signal comprises a square wave signal, and acquiring the waveform information of the detection signal comprises;
acquiring at least one of the rising edge time or a falling edge time of the detection signal.

### Claim 2 (depends on 1)

The method of claim 1, wherein the electronic device comprises a first pin for receiving the detection signal, the first pin being connected to a characteristic capacitor,
determining the type of the electronic device according to the waveform information comprises:
determining a capacity of the characteristic capacitor according to at least one of the rising edge time or the falling edge time; and
determining the type of the electronic device according to the capacity of the characteristic capacitor.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the capacity of the characteristic capacitor according to at least one of the rising edge time or the falling edge time comprises:
determining whether at least one of the rising edge time or the falling edge time obtained within a preset time period is within a set threshold range; and
acquiring, when at least one of the rising edge time or the falling edge time obtained within the preset time period is within the set threshold range, the capacity of the characteristic capacitor corresponding to the set threshold range.

### Claim 4 (depends on 2)

The method of claim 2, wherein determining the type of the electronic device according to the capacity of the characteristic capacitor comprises:
determining, according to preset correspondences between capacities of characteristic capacitors and types of electronic devices, the type of the electronic device corresponding to the capacity.

### Claim 5 (depends on 1)

The method of claim 1, wherein the electronic device comprises a second pin connected to a power supply, and receiving the power-on signal of the electronic device comprises:
receiving the power-on signal of the electronic device through the second pin.

### Claim 6 (depends on 1)

A mobile terminal implementing the method of claim 1, wherein the mobile terminal is configured to identify types of electronic devices based on waveforms of detection signals from the electronic devices, thereby reducing circuit complexity of an interface chip in the mobile terminal.

### Claim 7 (depends on 6)

The mobile terminal of claim 6, wherein the mobile terminal is configured to identify whether the electronic device is securely connected to the mobile terminal to prevent the electronic device from being identified in a case that the electronic device and the terminal device are connected and disconnected momentarily, reduce unnecessary information transmission or information processing, and energy consumption.

### Claim 8 (depends on 7)

An electronic system comprising the mobile terminal of claim 7, further comprising a plurality of electronic devices including the electronic device.

### Claim 9 (depends on 8)

The electronic system of claim 8, wherein different characteristic capacitors are provided in different electronic devices.

### Claim 10 (depends on 9)

The electronic system of claim 9, wherein
the plurality of electronic devices include a charging back clip having a characteristic capacitor with a capacity of 1 μf, and a power bank having a characteristic capacitor with a capacity of 1 nF; and
the mobile terminal stores
a first correspondence table including correspondences between the waveform information and the types of plurality of electronic devices to facilitate the mobile terminal determining the types of the plurality of electronic devices according to the waveform information; and
a second correspondence table including correspondences between capacities of the characteristic capacitors and the types of electronic devices to facilitate the mobile terminal determining the types of the plurality of electronic devices according to the characteristic capacitors.

### Claim 11

An apparatus for identifying an electronic device, applied to a terminal device, the apparatus comprising:
a processor; and
memory storing instructions for execution by the processor to:
send, in response to receiving a power-on signal of the electronic device, a detection signal to the electronic device;
acquire waveform information of the detection signal; and
determine a type of the electronic device according to the waveform information;
wherein the detection signal comprises a square wave signal, and the processor is further configured to: acquire at least one of a rising edge time or a falling edge time of the detection signal.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the electronic device comprises a first pin for receiving the detection signal, the first pin comprises a characteristic capacitor, and the processor is further configured to:
determine a capacity of the characteristic capacitor according to at least one of the rising edge time or the falling edge time; and
determine the type of the electronic device according to the capacity of the characteristic capacitor.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the processor is further configured to:
determine whether at least one of the rising edge time or the falling edge time obtained within a preset time period is within a set threshold range; and acquire, when at least one of the rising edge time or the falling edge time obtained within the preset time period is within the set threshold range, the capacity of the characteristic capacitor corresponding to the set threshold range.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the processor is further configured to:
determine, according to preset correspondences between capacities of characteristic capacitors and types of electronic devices, the type of the electronic device corresponding to the capacity of the characteristic capacitor.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the electronic device comprises a second pin connected to a power supply, and the processor is further configured to:
send, in response to receiving the power-on signal of the electronic device through the second pin, the detection signal to the electronic device.

### Claim 16 (depends on 11)

An electronic device, cooperating with the terminal device of claim 11,
the electronic device comprising a characteristic capacitor and a first pin which is connected to the characteristic capacitor, the first pin being configured to receive the detection signal sent by the terminal device.

### Claim 17 (depends on 16)

The electronic device of claim 16, further comprising a pull-up resistor, and a second pin which is connected to the pull-up resistor, the terminal device receiving the power-on signal of the electronic device through the second pin.

### Claim 18 (depends on 16)

The electronic device of claim 16, wherein the electronic device is a charging device.
