# US 2023/0069398 A1 · Method for Implementing Wi-Fi Peer-To-Peer Service and Related Device

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

- Number: US 2023/0069398 A1
- Document ID: US20230069398A1
- Status: Published application
- Kind: A1
- Application number: 17/976,256
- Filed: 2022-10-28
- Published: 2023-03-02
- Earliest claimed: 2020-04-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Li Yi; Kexiong Yu
- Web page: https://patentgrep.com/patent/US20230069398A1

## CPC

- H04W 72/0453: Resources in frequency domain, e.g. a carrier in FDMA
- H04W 76/14: Direct-mode setup
- H04W 72/04: Wireless resource allocation
- H04W 74/0808: using carrier sensing, e.g. carrier sense multiple access [CSMA]
- H04W 74/0816: with collision avoidance
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04W 84/18: Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W 92/18: between terminal devices
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

This application discloses a method for implementing a Wi-Fi peer-to-peer service and a related device. The method may be applied to the field of Wi-Fi communication. The method includes: A first device sends a first action frame to a second device through a first channel, where the first action frame carries a channel switching parameter. Then, both the first device and the second device switch to a same channel indicated by the channel switching parameter to perform Wi-Fi peer-to-peer service communication.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method applied to a Wi-Fi communications system, the Wi-Fi communications system comprising a first device and a second device, and the method comprising:
sending, by the first device, a first action frame to the second device through a first channel, the first action frame indicating switching to a second channel, wherein the first action frame carries a channel switching parameter, and the channel switching parameter comprises one or a combination of following: channel information of the second channel, switching mode information, or dual band adaptive concurrent (DBAC) mode information;
receiving, by the second device, the first action frame, and switching to the second channel based on the channel switching parameter comprised in the first action frame;
switching, by the first device, to the second channel based on the channel switching parameter; and
performing, by the first device, Wi-Fi peer-to-peer service communication with the second device through the second channel.

### Claim 22 (depends on 21)

The method according to claim 21, wherein the Wi-Fi communications system further comprises an access point (AP), and the AP, the first device, and the second device communicate with each other through the first channel.

### Claim 23 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises an immediate switching mode, and the immediate switching mode indicates the second device to switch to the second channel in response to the first action frame.

### Claim 24 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises a delayed switching mode and an extension time corresponding to the delayed switching mode, and the delayed switching mode and the extension time indicate the second device to switch to the second channel after a delay of the extension time.

### Claim 25 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises a permanent switching mode, and the permanent switching mode indicates the second device to continuously listen to the second channel and the first channel; and
the method further comprises:
sending, by the first device, a second action frame to the second device through the second channel, wherein the second action frame indicates the second device to switch back to the first channel; and
receiving, by the second device, the second action frame, and switching to the first channel based on the second action frame.

### Claim 26 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises a fixed-duration switching mode and switching duration corresponding to the fixed-duration switching mode, and the fixed-duration switching mode and the switching duration indicate the second device to switch back to the first channel after the switching duration starting from the second device switching to the second channel.

### Claim 27 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises a DBAC slot allocation ratio and a scheduling periodicity, the DBAC slot allocation ratio indicates a ratio of first duration in which the second device listens to the first channel to second duration in which the second device listens to the second channel in the scheduling periodicity, and the scheduling periodicity indicates a sum of the first duration and the second duration that are consecutive; and
the method further comprises:
listening to, by the second device, the first channel and the second channel based on the DBAC slot allocation ratio and the scheduling periodicity.

### Claim 28 (depends on 21)

The method according to claim 21, wherein the channel information of the second channel comprises a channel identifier and a frequency bandwidth of the second channel, and the frequency bandwidth is less than 20 M.

### Claim 29 (depends on 21)

The method according to claim 21, wherein sending, by the first device, the first action frame to the second device through the first channel comprises:
broadcasting, by the first device, the first action frame on the first channel.

### Claim 30 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises a channel identifier and a frequency bandwidth of the second channel, and the method further comprises:
determining, by the first device, used communication channels in an environment in which the first device is currently located; and
determining, by the first device, the channel identifier and the frequency bandwidth of the second channel based on the used communication channels, wherein there is no overlapping frequency band between the second channel and the used communication channels.

### Claim 31 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises a channel identifier and a frequency bandwidth of the second channel, and the method further comprises:
determining, by the first device, used communication channels in an environment in which the first device is currently located; and
determining, by the first device, the channel identifier and the frequency bandwidth of the second channel based on the used communication channels, wherein the second channel is a least loaded channel in the used communication channels.

### Claim 32 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises a channel identifier and a frequency bandwidth of the second channel, and the method further comprises:
determining, by the first device, used communication channels in an environment in which the first device is currently located; and
determining, by the first device, the channel identifier and the frequency bandwidth of the second channel based on the used communication channels, wherein the second channel is a channel with best communication quality in the used communication channels.

### Claim 33 (depends on 21)

The method according to claim 21, wherein the channel switching parameter comprises the switching mode information and the DBAC mode information, the switching mode information comprises a switching manner or switching duration for the second device to switch to the second channel, and the DBAC mode information comprises a DBAC slot allocation ratio or a scheduling periodicity, the DBAC slot allocation ratio indicating a ratio of first duration in which the second device listens to the first channel to second duration in which the second device listens to the second channel in the scheduling periodicity; and
the method further comprises:
determining, by the first device, the switching mode information and the DBAC mode information based on a requirement of a Wi-Fi peer-to-peer service.

### Claim 34 (depends on 21)

The method according to claim 21, wherein the first device prestores a key corresponding to the second device, and the first action frame is encrypted using the key corresponding to the second device.

### Claim 35 (depends on 34)

The method according to claim 34, wherein after receiving, by the second device, the first action frame, the method further comprises:
parsing, by the second device, the first action frame based on the key corresponding to the second device, to determine the channel switching parameter;
sending, by the second device, an acknowledgement (ACK) to the first device, wherein the ACK is a response to the first action frame, and the ACK indicates that the second device has successfully received and obtained the first action frame; and
receiving, by the first device, the ACK sent by the second device; and
wherein switching, by the first device, to the second channel based on the channel switching parameter comprises:
switching, by the first device, to the second channel based on the channel switching parameter and the ACK.

### Claim 36 (depends on 21)

The method according to claim 21, wherein before sending, by the first device, the first action frame to the second device through the first channel, the method further comprises:
determining, by the first device, used communication channels in an environment in which the first device is currently located; and
when the first device determines that there is a third channel in the used communication channels, sending, by the first device, a self-clear to send (CTS) packet through the third channel, the third channel and the second channel having an overlapping frequency band, and the self-CTS packet indicating a receiving device that receives the self-CTS packet to remain silent within a channel occupancy time declared by the self-CTS packet.

### Claim 37 (depends on 36)

The method according to claim 36, wherein before sending, by the first device, the self-CTS packet through the third channel, the method further comprises:
determining, by the first device, that a Wi-Fi peer-to-peer service implemented by the method is a high-priority service.

### Claim 38 (depends on 36)

The method according to claim 36, wherein the first device stores historical information of access points (APs) that have been successfully accessed by the first device, and information about an AP that provides the third channel is comprised in the historical information.

### Claim 39

A method comprising:
receiving, by a second device through a first channel, a first action frame sent by a first device, the first action frame indicating switching to a second channel, wherein the first action frame carries a channel switching parameter, and the channel switching parameter comprises one or a combination of following: channel information of the second channel, switching mode information, or dual band adaptive concurrent (DBAC) mode information;
switching, by the second device, to the second channel based on the channel switching parameter; and
performing, by the second device, Wi-Fi peer-to-peer service communication with the first device through the second channel.

### Claim 40

A communications device, wherein the communications device comprises one or more processors and a non-transitory memory, the memory is coupled to the one or more processors, the memory is configured to store a program code, and the one or more processors invoke the program code to cause the communications device to perform following operations:
receiving, through a first channel, a first action frame sent by a first device, the first action frame indicating switching to a second channel, wherein the first action frame carries a channel switching parameter, and the channel switching parameter comprises one or a combination of following: channel information of the second channel, switching mode information, or dual band adaptive concurrent (DBAC) mode information;
switching to the second channel based on the channel switching parameter; and
performing Wi-Fi peer-to-peer service communication with the first device through the second channel.
