# US 2023/0067470 A1 · Network coding method and apparatus

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

- Number: US 2023/0067470 A1
- Document ID: US20230067470A1
- Status: Published application
- Kind: A1
- Application number: 17/976,012
- Filed: 2022-10-28
- Published: 2023-03-02
- Earliest claimed: 2020-04-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Huan SUN
- Web page: https://patentgrep.com/patent/US20230067470A1

## CPC

- H04L 1/0076: {Distributed coding, e.g. network coding, involving channel coding (coding in both space and time H04L1/0618; cooperative diversity H04B7/022)}
- H04W 48/20: Selecting an access point
- H04B 7/04013: {Intelligent reflective surfaces}
- H04L 5/0048: {Allocation of pilot signals, i.e. of signals known to the receiver (allocation of control signalling H04L5/0053; use of control signalling H04L5/0091)}
- H04W 48/16: Discovering, processing access restriction or access information
- H04W 72/0446: Resources in time domain, e.g. slots or frames
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04B: TRANSMISSION

## Abstract

This application discloses a network coding method and an apparatus. The network coding method includes: A first terminal device determines first indication information, where the first indication information indicates whether to preprocess a phase of first to-be-coded data to be sent by the first terminal device; and transmits data to a second terminal device in a same slot of a same transmission resource through an electromagnetic hypersurface array antenna, where the transmitting includes: sending third to-be-coded data to the electromagnetic hypersurface array antenna in a first slot of a second transmission resource, and receiving first network coded data from the electromagnetic hypersurface array antenna in the first slot, where the third to-be-coded data is obtained based on the first indication information and the first to-be-coded data; and obtaining second to-be-coded data from the second terminal device based on the third to-be-coded data and the first network coded data.

## Claims

### Claim 1

A network coding method, comprising:
determining, by a first terminal device, first indication information, wherein the first indication information indicates whether to preprocess a phase of first to-be-coded data to be sent by the first terminal device; and
transmitting, by the first terminal device, data to a second terminal device in a same slot of a same transmission resource through an electromagnetic hypersurface array antenna, wherein the transmitting comprises:
sending, by the first terminal device, third to-be-coded data to the electromagnetic hypersurface array antenna in a first slot of a second transmission resource, and receiving first network coded data from the electromagnetic hypersurface array antenna in the first slot, wherein the third to-be-coded data is obtained based on the first indication information and the first to-be-coded data; and
obtaining, by the first terminal device, second to-be-coded data from the second terminal device based on the third to-be-coded data and the first network coded data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining, by a first terminal device, first indication information comprises:
receiving, by the first terminal device, the first indication information from a network device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein before the receiving, by the first terminal device, the first indication information from a network device, the method further comprises:
sending, by the first terminal device, first information to the network device, wherein the first information comprises at least one piece of the following information: first request information, an interference level of the first terminal device, or a processing capability of the first terminal device, wherein the first request information is used to request whether to preprocess the phase of the first to-be-coded data, and the first information is used to determine the first indication information.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining, by a first terminal device, first indication information comprises:
receiving, by the first terminal device, third indication information from a network device, wherein the third indication information indicates the first terminal device to negotiate a first transmission resource of the first indication information with the second terminal device; and
determining, by the first terminal device, the first indication information based on a result of the negotiation with the second terminal device on the first transmission resource.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
receiving, by the first terminal device, fourth indication information from the network device, wherein the fourth indication information indicates the second transmission resource.

### Claim 6 (depends on 5)

The method according to claim 5, wherein before the receiving, by the first terminal device, fourth indication information from the network device, the method further comprises:
sending, by the first terminal device to the network device, first communication quality of a downlink data channel between the network device, the electromagnetic hypersurface array antenna, and the first terminal device, wherein the first communication quality is used to determine the second transmission resource.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the obtaining, by the first terminal device, second to-be-coded data from the second terminal device based on the third to-be-coded data and the first network coded data comprises:
performing, by the first terminal device, an exclusive OR operation on the third to-be-coded data and the first network coded data to obtain the second to-be-coded data.

### Claim 8

A network coding method, comprising:
sending, by a network device, first indication information to a first terminal device; or
sending, by the network device, third indication information to the first terminal device and a second terminal device, wherein the third indication information indicates the first terminal device to negotiate a first transmission resource of the first indication information or second indication information with the second terminal device, wherein
the first indication information indicates to preprocess a phase of first to-be-coded data to be sent by the first terminal device, and the second indication information indicates not to preprocess a phase of second to-be-coded data to be sent by the second terminal device; or the first indication information indicates not to preprocess a phase of first to-be-coded data to be sent by the first terminal device, and the second indication information indicates to preprocess a phase of second to-be-coded data to be sent by the second terminal device.

### Claim 9 (depends on 8)

The method according to claim 8, wherein for the sending, by a network device, first indication information to a first terminal device, the method further comprises:
sending, by the network device, the second indication information to the second terminal device.

### Claim 10 (depends on 8)

The method according to claim 8, further comprising:
sending, by the network device, fourth indication information to the first terminal device and the second terminal device, wherein the fourth indication information indicates a second transmission resource that carries data transmitted between the first terminal device and the second terminal device through an electromagnetic hypersurface array antenna.

### Claim 11 (depends on 10)

The method according to claim 10, further comprising:
obtaining, by the network device, first communication quality of a data channel between the electromagnetic hypersurface array antenna and the first terminal device, and second communication quality of a data channel between the electromagnetic hypersurface array antenna and the second terminal device.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the obtaining, by the network device, first communication quality of a data channel between the electromagnetic hypersurface array antenna and the first terminal device, and second communication quality of a data channel between the electromagnetic hypersurface array antenna and the second terminal device comprises:
obtaining, by the network device, first communication quality of an uplink data channel between the electromagnetic hypersurface array antenna and the first terminal device from the electromagnetic hypersurface array antenna; and
obtaining, by the network device, second communication quality of an uplink data channel between the electromagnetic hypersurface array antenna and the second terminal device from the electromagnetic hypersurface array antenna.

### Claim 13 (depends on 11)

The method according to claim 11, wherein the obtaining, by the network device, first communication quality of a data channel between the electromagnetic hypersurface array antenna and the first terminal device, and second communication quality of a data channel between the electromagnetic hypersurface array antenna and the second terminal device comprises:
obtaining, by the network device, first communication quality of a downlink data channel between the network device, the electromagnetic hypersurface array antenna, and the first terminal device from the first terminal device; and
obtaining, by the network device, second communication quality of a downlink data channel between the network device, the electromagnetic hypersurface array antenna, and the second terminal device from the second terminal device.

### Claim 14

A communication apparatus, comprising a processor, wherein the processor is coupled to a memory, the memory is configured to store a computer program, which when executed by the processor, cause the apparatus to:
determine first indication information, wherein the first indication information indicates whether to preprocess a phase of first to-be-coded data to be sent by the apparatus; and
transmit data to a second terminal device in a same slot of a same transmission resource through an electromagnetic hypersurface array antenna, wherein the transmitting comprises:
send third to-be-coded data to the electromagnetic hypersurface array antenna in a first slot of a second transmission resource, and receiving first network coded data from the electromagnetic hypersurface array antenna in the first slot, wherein the third to-be-coded data is obtained based on the first indication information and the first to-be-coded data; and
obtain second to-be-coded data from the second terminal device based on the third to-be-coded data and the first network coded data.

### Claim 15 (depends on 14)

The apparatus according to claim 14, when the computer program is executed by the processor, cause the apparatus to:
receive the first indication information from a network device.

### Claim 16 (depends on 14)

The apparatus according to claim 14, when the computer program is executed by the processor, cause the apparatus to:
send first information to the network device, wherein the first information comprises at least one piece of the following information: first request information, an interference level of the apparatus, or a processing capability of the apparatus, wherein the first request information is used to request whether to preprocess the phase of the first to-be-coded data, and the first information is used to determine the first indication information.

### Claim 17 (depends on 14)

The apparatus according to claim 14, when the computer program is executed by the processor, cause the apparatus to:
receive third indication information from a network device, wherein the third indication information indicates the apparatus to negotiate a first transmission resource of the first indication information with the second terminal device; and
determine the first indication information based on a result of the negotiation with the second terminal device on the first transmission resource.

### Claim 18 (depends on 14)

The apparatus according to claim 14, when the computer program is executed by the processor, cause the apparatus to:
receive fourth indication information from the network device, wherein the fourth indication information indicates the second transmission resource.

### Claim 19 (depends on 18)

The apparatus according to claim 18, when the computer program is executed by the processor, cause the apparatus to:
wherein the apparatus further comprises:
send, to the network device, before receiving the fourth indication information from the network device, first communication quality of a downlink data channel between the network device, the electromagnetic hypersurface array antenna, and the apparatus, wherein the first communication quality is used to determine the second transmission resource.

### Claim 20 (depends on 14)

The apparatus according to claim 14, when the computer program is executed by the processor, cause the apparatus to:
perform an exclusive OR operation on the third to-be-coded data and the first network coded data to obtain the second to-be-coded data.
