Communication method and related device
AssigneeHuawei Technologies Co., Ltd.
InventorsGuangpeng Li, Sheng Jiang, Zhe Chen, Taixin Li
Life of this patent
Estimating the term…
Abstract
This application discloses a communication method and a related device. The communication method includes: A first in-domain device determines an address length, where the “in-domain” refers to being in a local area network. Then, the first in-domain device receives a data packet, and extracts an address from the data packet based on the address length. Further, the first in-domain device forwards the data packet based on the address.
Claims26
A communication method, wherein the method comprises:
- determining, by a first in-domain device, an address length;
- receiving, by the first in-domain device, a data packet;
- extracting, by the first in-domain device, an address from the data packet based on the address length and a start location of a field of the address, wherein the start location of the field of the address is determined based on a flexible header encoding (FHE) field of the data packet, and wherein the FHE field comprises a plurality of bits, each of the plurality of bits corresponding to one of a plurality of header fields of the data packet and indicating whether a corresponding header field is carried in the data packet;
- and
- forwarding, by the first in-domain device, the data packet based on the address.
A communication method, wherein the method comprises:
- determining, by a gateway device, an address length;
- receiving, by the gateway device, a first packet from a first in-domain device;
- extracting, by the gateway device, a first address from the first packet based on the address length and a start location of a field of the first address, wherein the start location of the field of the first address is determined based on a flexible header encoding (FHE) field of the first packet, and wherein the FHE field comprises a plurality of bits, each of the plurality of bits corresponding to one of a plurality of header fields of the first packet and indicating whether a corresponding header field is carried in the first packet;
- converting, by the gateway device, the first address into a second address, and generating a second packet;
- and
- sending, by the gateway device, the second packet to a server corresponding to the second packet.
A first in-domain device comprising:
- at least one transceiver;
- at least one processor;
- and
- one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to:
- receive, by the transceiver a data packet;
- determine, an address length;
- extract an address from the data packet based on the address length and a start location of a field of the address, wherein the start location of the field of the address is determined based on a flexible header encoding (FHE) field of the data packet, and wherein the FHE field comprises a plurality of bits, each of the plurality of bits corresponding to one of a plurality of header fields of the data packet and indicating whether a corresponding header field is carried in the data packet;
- and
- forward, by the transceiver, the data packet based on the address.
A gateway device, comprising:
- one or more processors;
- at least one transceiver;
- and
- one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to:
- receive, by the transceiver, a first packet from a first in-domain device, wherein
- extract a first address from the first packet based on the address length and a start location of a field of the first address, wherein the start location of the field of the first address is determined based on a flexible header encoding (FHE) field of the first packet, and wherein the FHE field comprises a plurality of bits, each of the plurality of bits corresponding to one of a plurality of header fields of the first packet and indicating whether a corresponding header field is carried in the first packet;
- convert the first address into a second address, and generate a second packet;
- and
- send, by the transceiver, the second packet to a server corresponding to the second packet.
Dependencies are inferred from the claim text.