# US 12,114,243 B2 · Method and system for networking

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

- Number: US 12,114,243 B2
- Document ID: US12114243B2
- Status: Granted
- Kind: B2
- Application number: 17/852,095
- Filed: 2022-06-28
- Published: 2023-08-17
- Granted: 2024-10-08
- Earliest claimed: 2022-02-15
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Tao Yang
- Web page: https://patentgrep.com/patent/US12114243B2

## CPC

- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/0471: Key exchange
- H04B 5/77: for interrogation
- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 63/18: {using different networks or channels, e.g. using out of band channels (cryptographic mechanisms or cryptographic arrangements for key distribution involving distinctive intermediate devices or communication paths H04L9/0827; cryptographic mechanisms or cryptographic arrangements for authentication using a plurality of channels H04L9/3215)}
- H04W 12/041: Key generation or derivation
- H04W 40/02: Communication route or path selection, e.g. power-based or shortest path routing
- H04W 48/16: Discovering, processing access restriction or access information
- H04L 2209/805: Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor
- H04W 40/24: Connectivity information management, e.g. connectivity discovery or connectivity update
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04B: TRANSMISSION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for networking, including: in response to the terminal entering an effective communication range of a first NFC sensing device in a first router, interacting with the first NFC sensing device, so that the first router or the terminal obtains key information, in which the key information is configured for networking the first router and a second router; and in response to the terminal entering an effective communication range of a second NFC sensing device in the second router, writing the key information into the second NFC sensing device.

## Claims

### Claim 1

A method for networking, performed by a terminal, comprising:
in response to the terminal entering an effective communication range of a first Near Field Communication (NFC) sensing device in a first router, interacting with the first NFC sensing device, so that the first router or the terminal obtains key information, wherein the key information is configured for networking the first router and a second router; and
in response to the terminal entering an effective communication range of a second NFC sensing device in the second router, writing the key information into the second NFC sensing device;
wherein the key information is configured for the first router to: encrypt networking information; broadcast the encrypted networking information; in response to receiving a networking request sent by the second router, determine whether key information included in the networking request passes verification; in response to determining the key information included in the networking request passes verification, perform networking connection to the second router, wherein the networking request is triggered in response that the networking information is successfully decrypted by the another router based on the key information.

### Claim 2 (depends on 1)

The method of claim 1, wherein when the key information is generated by the terminal, interacting with the first NFC sensing device comprises:
writing the key information generated by the terminal into the first NFC sensing device, so that the first router obtains the key information.

### Claim 3 (depends on 1)

The method of claim 1, wherein when the key information is written by the first router into the first NFC sensing device, interacting with the first NFC sensing device comprises:
reading the key information written into the first NFC sensing device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the key information is generated by numerical values through a random algorithm.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first NFC sensing device and the second NFC sensing device are NFC tags.

### Claim 6

A method for networking, performed by a router, comprising:
performing communication detecting by a NFC sensing device in the router; and
in response to detecting that a terminal enters an effective communication range of the NFC sensing device, interacting with the terminal via the NFC sensing device, so that the router or the terminal obtains key information, wherein the key information is configured for networking the router and another router;
wherein the method further comprises:
encrypting networking information based on the key information;
broadcasting the encrypted networking information;
in response to receiving a networking request sent by the another router, determining whether key information included in the networking request passes verification; and
in response to determining the key information included in the networking request passes verification, performing networking connection to the another router, wherein the networking request is triggered in response that the networking information is successfully decrypted by the another router based on the key information.

### Claim 7 (depends on 6)

The method of claim 6, wherein when the key information is written by the router into the NFC sensing device, interacting with the terminal via the NFC sensing device comprises:
transmitting the key information written into the NFC sensing device to the terminal.

### Claim 8 (depends on 6)

The method of claim 6, wherein when the key information is generated by the terminal, interacting with the terminal via the NFC sensing device comprises:
reading the key information written by the terminal into the NFC sensing device.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
in response to receiving networking information encrypted based on key information, decrypting the networking information based on the key information, wherein the key information is obtained by the terminal performing interactions with the another router, and
in response to successful decryption of the networking information, sending a networking request.

### Claim 10 (depends on 6)

The method of claim 6, wherein broadcasting the encrypted networking information comprises:
setting the encrypted networking information in a management frame, and broadcasting the management frame.

### Claim 11

A system for networking, comprising:
a first router with a first NFC sensing device, wherein the first NFC sensing device is configured to sense whether a terminal enters a first effective communication range of the first NFC sensing device;
a second router with a second NFC sensing device, wherein the second NFC sensing device is configured to sense whether the terminal enters a second effective communication range of the second NFC sensing device;
the terminal, configured to in response to entering the first effective communication range, interact with the first NFC sensing device, so that the first router or the terminal obtains key information; and in response to entering the second effective communication range, writing the key information into the second NFC sensing device;
wherein the first router and the second router are networked by using the key information;
wherein the first router is configured to:
encrypt networking information based on the key information;
broadcast the encrypted networking information;
in response to receiving a networking request sent by the second router, determine whether key information included in the networking request passes verification; and
in response to determining the key information included in the networking request passes verification, perform networking connection to the second router, wherein the networking request is triggered in response that the networking information is successfully decrypted by the second router based on the key information.

### Claim 12 (depends on 11)

The system of claim 11, wherein when the key information is generated by the terminal, the terminal is further configured to write the key information generated by the terminal into the first NFC sensing device, so that the first router obtains the key information.

### Claim 13 (depends on 11)

The system of claim 11, wherein when the key information is written by the first router into the first NFC sensing device, the terminal is further configured to read the key information written into the first NFC sensing device.

### Claim 14 (depends on 11)

The system of claim 11, wherein the first router is further configured to:
set the encrypted networking information in a management frame, and broadcast the management frame.

### Claim 15 (depends on 11)

The system of claim 11, wherein the second router is configured to:
receive the encrypted networking information, decrypt the networking information based on key information, wherein the key information is obtained by the terminal performing interactions with the first router, and
in response to successful decryption of the networking information, send a networking request to the first router.

### Claim 16 (depends on 11)

The system of claim 11, wherein the key information is generated by numerical values through a random algorithm.

### Claim 17 (depends on 11)

The system of claim 11, wherein the first NFC sensing device and second NFC sensing device are NFC tags.
