# US 11,310,848 B2 · Pairing method, unpairing method, terminal device, and externally-connected device

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

- Number: US 11,310,848 B2
- Document ID: US11310848B2
- Status: Granted
- Kind: B2
- Application number: 16/643,412
- Filed: 2017-08-31
- Published: 2020-11-26
- Granted: 2022-04-19
- Earliest claimed: 2017-08-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yong Chen; Chiengchang Lee; Liping Wang
- Web page: https://patentgrep.com/patent/US11310848B2

## CPC

- H04W 76/14: Direct-mode setup
- G06F 3/01: Input arrangements or combined input and output arrangements for interaction between user and computer (G06F3/16 takes precedence)
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 8/005: {Discovery of network devices, e.g. terminals}
- H04W 12/50: Secure pairing of devices
- H04W 84/18: Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A terminal device includes or connects to an external Hall device. The terminal device enters a to-be-connected state based on a Hall event generated by the Hall device, where terminal device is configured for connection to an externally device using a wireless communication protocol. The terminal device sends a trigger signal to enable the externally device to enter the to-be-connected state based on the trigger signal, and establishes the connection to the externally device using the wireless communication protocol.

## Claims

### Claim 1

A pairing method implemented by a terminal device, wherein the terminal device is configured for connecting to a Hall device, and wherein the pairing method comprises:
entering a to-be-connected state based on a Hall event of the Hall device, wherein the terminal device is configured for connecting to an external device;
receiving mark information of the external device;
determining whether the mark information is the same as prestored mark information;
determining that the external device is the security device when the mark information is the same as the prestored mark information;
determining that the external device is not the security device when the mark information is different from the prestored mark information;
sending-a trigger signal to enable the external device to enter the to-be-connected state based on the trigger signal; and
establishing a connection to the external device using a wireless communication protocol.

### Claim 2 (depends on 1)

The pairing method of claim 1, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein before establishing the connection, the pairing method further comprises:
identifying that the external device is a security device; and
requesting, in response to the identifying, a connection key from the external device using just works pairing.

### Claim 3 (depends on 1)

The pairing method of claim 1, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein before establishing the connection, the pairing method further comprises:
identifying that the external device is not a security device; and
requesting a connection key from the external device in a Link Key connection manner.

### Claim 4 (depends on 1)

The pairing method of claim 1, wherein after establishing the connection, the pairing method further comprises breaking the connection to the externally-connected device based on a Hall disconnection event of the Hall device.

### Claim 5 (depends on 4)

The pairing method of claim 4, wherein after breaking the connection, the pairing method further comprises deleting pairing information that is stored when the terminal device connects to the externally-connected device, and wherein the pairing information comprises at least one of address information of the externally-connected device, a service type of the externally-connected device, or a connection key used when the terminal device couples to the externally-connected device.

### Claim 6 (depends on 1)

The pairing method of claim 1, wherein the trigger signal is a Hall signal.

### Claim 7 (depends on 1)

The pairing method of claim 1, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein the pairing method further comprises:
turning on a BLUETOOTH switch and entering a BLUETOOTH discoverable state based on the Hall event;
entering the BLUETOOTH discoverable state based on the Hall event; or
turning on the BLUETOOTH switch based on the Hall event.

### Claim 8

A terminal device comprising:
a memory configured to store a computer program; and
a processor coupled to the memory, wherein when executed by the processor, the computer program causes the terminal device to:
enter a to-be-connected state based on a Hall event of a Hall device, wherein the terminal device is configured to establish a connection to an external device;
receive mark information of the external device;
determine whether the mark information is the same as prestored mark information;
determine that the external device is the security device when the mark information is the same as the prestored mark information;
determine that the external device is not the security device when the mark information is different from the prestored mark information;
send a trigger signal to enable the external device to enter the to-be-connected state based on the trigger signal; and
establish the connection to the external device using a wireless communication protocol.

### Claim 9 (depends on 8)

The terminal device of claim 8, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein before establishing the connection, the computer program further causes the terminal device to:
identify that the external device is a security device; and
request, in response to the identifying, a connection key from the external device in a using just works pairing.

### Claim 10 (depends on 8)

The terminal device of claim 8, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein before establishing the connection, the computer program further causes the terminal device to:
identify that the external device is not a security device; and
request, in response to the identifying, a connection key from the external device in a Link Key connection manner.

### Claim 11 (depends on 8)

The terminal device of claim 8, wherein after establishing the connection, the method further comprises breaking the connection to the externally-connected device based on a Hall disconnection event of the Hall device.

### Claim 12 (depends on 11)

The terminal device of claim 11, wherein after breaking the connection, the computer program further causes the terminal device to delete pairing information that is stored when the terminal device connects to the externally-connected device, and wherein the pairing information comprises at least one of address information of the externally-connected device, a service type of the externally-connected device, or a connection key used when the terminal device connects to the externally-connected device.

### Claim 13 (depends on 8)

The terminal device of claim 8, wherein the trigger signal is a Hall signal.

### Claim 14 (depends on 8)

The terminal device of claim 8, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein the computer program further causes the terminal device to:
turn on a BLUETOOTH switch and enter a BLUETOOTH discoverable state based on the Hall event;
enter the BLUETOOTH discoverable state based on the Hall event; or
turn on the BLUETOOTH switch based on the Hall event.

### Claim 15

A pairing method implemented by a terminal device, wherein the terminal device comprises a Hall device, and wherein the pairing method comprises:
entering a to-be-connected state based on a Hall event of the Hall device;
receiving mark information of the external device;
determining whether the mark information is the same as prestored mark information;
determining that the external device is a security device when the mark information is the same as the prestored mark information;
determining that the external device is not a security device when the mark information is different from the prestored mark information;
sending a trigger signal to enable the external device to enter the to-be-connected state based on the trigger signal; and
establishing the coupling to the external device using a wireless communication protocol.

### Claim 16 (depends on 15)

The pairing method of claim 15, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein before establishing the connection, the pairing method further comprises:
identifying that the external device is a security device; and
requesting, in response to the identifying, a connection key from the external device in a just works manner.

### Claim 17 (depends on 15)

The pairing method of claim 15, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein before establishing the connection, the pairing method further comprises:
identifying that the external device is not a security device; and
requesting a connection key from the external device in a Link Key connection manner.

### Claim 18 (depends on 15)

The pairing method of claim 15, wherein after establishing the connection, the pairing method further comprises breaking the connection to the externally-connected device based on a Hall disconnection event of the Hall device.

### Claim 19 (depends on 18)

The pairing method of claim 18, wherein after breaking the connection, the pairing method further comprises deleting pairing information that is stored when the terminal device connects to the externally-connected device, and wherein the pairing information comprises at least one of address information of the externally-connected device, a service type of the externally-connected device, or a connection key used when the terminal device couples to the externally-connected device.

### Claim 20 (depends on 15)

The pairing method of claim 15, wherein the wireless communication protocol is a BLUETOOTH protocol, and wherein the pairing method further comprises:
turning on a BLUETOOTH switch and entering a BLUETOOTH discoverable state based on the Hall event;
entering the BLUETOOTH discoverable state based on the Hall event; or
turning on the BLUETOOTH switch based on the Hall event.
