# US 2022/0295240 A1 · System and method for implementing relay nodes in a wireless network

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

- Number: US 2022/0295240 A1
- Document ID: US20220295240A1
- Status: Published application
- Kind: A1
- Application number: 17/690,798
- Filed: 2022-03-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Alibaba (China) Co., Ltd.
- Applicants: Alibaba (China) Co., Ltd.
- Inventors: Qing An; Wenbing Chen
- Web page: https://patentgrep.com/patent/US20220295240A1

## CPC

- H04W 4/12: Messaging; Mailboxes; Announcements
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 24/02: Arrangements for optimising operational condition
- H04W 8/005: {Discovery of network devices, e.g. terminals}
- H04W 84/18: Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W 88/04: adapted for relaying to or from another terminal or user
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

One embodiment described herein provides a system and method for adjusting the relay state of nodes in a wireless network. During operation, the system can obtain relay-state information associated with a plurality of neighboring nodes of a respective node in the wireless network. The system can identify, among the plurality of neighboring nodes, a set of relay neighbors capable of relaying messages based on the obtained relay-state information and determine a connectivity status of the set of relay neighbors. The system can then determine an expected relay state of the respective node based on a count and the connectivity status of the set of relay neighbors and can adjust a relay state of the respective node based on the expected relay state.

## Claims

### Claim 1

A computer-implemented method, comprising:
obtaining relay-state information associated with a plurality of neighboring nodes of a respective node in a wireless network;
identifying, among the plurality of neighboring nodes, a set of relay neighbors capable of relaying messages based on the obtained relay-state information;
determining a connectivity status of the set of relay neighbors;
determining an expected relay state of the respective node based on a count and the connectivity status of the set of relay neighbors; and
adjusting a relay state of the respective node based on the expected relay state.

### Claim 2 (depends on 1)

The method of claim 1,
wherein obtaining the relay-state information comprises receiving a relay-state message from a respective neighboring node, and
wherein the relay-state message comprises address information, a relay-state indicator, and neighbor information associated with the respective neighboring node.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
in response to determining that the respective neighboring node is a relay neighbor based on the relay-state information, storing an entry corresponding to the respective neighboring node in a neighbor list maintained by the respective node; and
updating the entry in response to receiving a subsequent relay-state message from the respective neighboring node.

### Claim 4 (depends on 3)

The method of claim 3, wherein the entry comprises a timestamp associated with the relay-state message, and wherein the method further comprises:
in response to determining, based on the timestamp, that an entry in the neighbor list expires, deleting the expired entry; and
in response to determining, based on the timestamp, that an entry in the neighbor list needs to be updated, sending a state-request message to a corresponding neighboring node.

### Claim 5 (depends on 3)

The method of claim 3, wherein updating the entry comprises deleting the entry from the neighbor list in response to determining, based on the relay-state indicator included in the subsequent relay-state message, that the relay state of the respective neighboring node is “off.”

### Claim 6 (depends on 1)

The method of claim 1, wherein determining the expected relay state comprises:
determining that the expected relay state is “on,” in response to determining that the count of the set of relay neighbors equals or exceeds a predetermined neighbor threshold and that the set of relay neighbors are all relay neighbors of each other.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
in response to detecting frequent flooding events in the wireless network, decrementing the neighbor threshold.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
periodically sending relay-state messages; and
adjusting a period for sending the relay-state messages based on a number of previously sent relay-state messages.

### Claim 9 (depends on 1)

The method of claim 1,
wherein determining the expected relay state comprises periodically executing a relay-decision operation, and
wherein a period for executing the relay-decision operation is adjusted based on a number of previously executed relay-decision operations.

### Claim 10 (depends on 1)

The method of claim 1, wherein adjusting the relay state comprises sending a relay-configuration message from a centralized controller to the respective node to instruct the respective node to adjust the relay state.

### Claim 11

A computer system, comprising:
a processor; and
a storage device coupled to the processor and storing instructions, which when executed by the processor cause the processor to perform a method, the method comprising:
obtaining relay-state information associated with a plurality of neighboring nodes of a respective node in a wireless network;
identifying, among the plurality of neighboring nodes, a set of relay neighbors capable of relaying messages based on the obtained relay-state information;
determining a connectivity status of the set of relay neighbors;
determining an expected relay state of the respective node based on a count and the connectivity status of the set of relay neighbors; and
adjusting a relay state of the respective node based on the expected relay state.

### Claim 12 (depends on 11)

The computer system of claim 11,
wherein obtaining the relay-state information comprises receiving a relay-state message from a respective neighboring node, and
wherein the relay-state message comprises address information, a relay-state indicator, and neighbor information associated with the respective neighboring node.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the method further comprises:
in response to determining that the respective neighboring node is a relay neighbor based on the relay-state information, storing an entry corresponding to the respective neighboring node in a neighbor list associated with the respective node; and
updating the entry in response to receiving a subsequent relay-state message from the respective neighboring node.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein the entry comprises a timestamp associated with the relay-state message, and wherein the method further comprises:
in response to determining, based on the timestamp, that an entry in the neighbor list expires, deleting the expired entry; and
in response to determining, based on the timestamp, that an entry in the neighbor list needs to be updated, sending a state-request message to a corresponding neighboring node.

### Claim 15 (depends on 13)

The computer system of claim 13, wherein updating the entry comprises deleting the entry from the neighbor list in response to determining, based on the relay-state indicator included in the subsequent relay-state message, that the relay state of the respective neighboring node is “off.”

### Claim 16 (depends on 11)

The computer system of claim 11, wherein determining the expected relay state comprises:
determining that the expected relay state is “on,” in response to determining that the count of the set of relay neighbors equals or exceeds a predetermined neighbor threshold and that the set of relay neighbors are all relay neighbors of each other.

### Claim 17 (depends on 16)

The computer system of claim 16, wherein the method further comprises:
in response to detecting frequent flooding events in the wireless network, decrementing the neighbor threshold.

### Claim 18 (depends on 11)

The computer system of claim 11, wherein the method further comprises:
periodically sending relay-state messages; and
adjusting a period for sending the relay-state messages based on a number of previously sent relay-state messages.

### Claim 19 (depends on 11)

The computer system of claim 11,
wherein determining the expected relay state comprises periodically executing a relay-decision operation, and
wherein a period for executing a relay-decision operation is adjusted based on a number of previously executed relay-decision operations.

### Claim 20 (depends on 11)

The computer system of claim 11, wherein adjusting the relay state comprises sending a relay-configuration message from a centralized controller to the respective node to instruct the respective node to adjust the relay state.
